/* メインスタイル。アニメーションは .js-animated 等のクラスと main.js で制御してください。 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

@media screen and (min-width: 768px) {
  html {
    font-size: calc(100vw / 1440 * 10);
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: calc(100vw / 390 * 10);
  }
}

@media screen and (min-width: 768px) {
  .sp_only {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .pc_only {
    display: none !important;
  }
}

body {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 3%;
  color: #333333;
  background-color: #222222;
}

.roboto {
  font-family: 'Roboto', sans-serif;
  font-optical-sizing: auto;
}

h1,
h2,
h3,
p {
  margin: 0;
}

fieldset {
  padding: 0;
  border: none;
  margin: 0;
}

picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.site-header__logo {
  display: block;
  height: auto;
  transition: opacity 0.3s ease;
}

.site-header__logo:hover,
.site-header__logo:focus {
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .site-header {
    padding: 5rem 6rem;
  }

  .site-header__logo {
    width: 17.2rem;
  }
}
@media screen and (max-width: 767px) {
  .site-header {
    padding: 3rem;
  }

  .site-header__logo {
    width: 13rem;
  }
}

.floating-btn {
  position: fixed;
  z-index: 1000;
  font-weight: 500;
  color: white;
  text-align: center;
  text-decoration: none;
  background: black;
  transition: opacity 0.4s ease;
}

.floating-btn:hover {
  opacity: 0.8;
}

@media screen and (min-width: 768px) {
  .floating-btn {
    bottom: 6rem;
    right: 6rem;
    font-size: 1.4rem;
    padding-block: 2.5rem;
    width: 22rem;
  }
}
@media screen and (max-width: 767px) {
  .floating-btn {
    bottom: 0;
    right: 0;
    font-size: 1.2rem;
    padding-block: 1.6rem;
    width: 13rem;
  }
}

.mv {
  position: relative;
  height: 100lvh;
  overflow: hidden;
}

.mv__bg {
  position: relative;
  width: 100%;
  height: auto;
}

.mv__bg::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

.mv__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  z-index: 10;
}

.mv__inner__title {
  color: white;
  font-weight: 500;
  opacity: 0.5;
}

.mv__inner__text {
  color: white;
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  .mv__inner__title {
    font-size: 14rem;
  }

  .mv__inner__text {
    font-size: 2.4rem;
    margin-top: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .mv__inner__title {
    font-size: 5rem;
  }

  .mv__inner__text {
    font-size: 2rem;
    margin-top: 3rem;
  }
}

.message {
  position: relative;
  z-index: 10;
}

.message__inner__item__jp {
  font-weight: 700;
  color: white;
  text-align: right;
}

.message__inner__item__en {
  font-weight: 600;
  color: #999999;
  text-align: right;
  margin-top: 2rem;
}

.message__image {
  height: auto;
}

@media screen and (min-width: 768px) {
  .message {
    padding: 20rem 0 12rem 10rem;
    background: url('/wp/wp-content/uploads/2026/05/by-happo-en-message-bg-scaled.jpg')
      no-repeat center/cover;
  }

  .message__inner {
    width: 50.4rem;
  }

  .message__inner__item:not(:first-child) {
    margin-top: 10rem;
  }

  .message__inner__item__jp {
    font-size: 4rem;
  }

  .message__inner__item__en {
    font-size: 2rem;
  }

  .message__image {
    position: absolute;
    top: 30rem;
    right: 0;
    width: 91rem;
    z-index: -1;
  }
}
@media screen and (max-width: 767px) {
  .message {
    padding: 12rem 0;
    background: url('/wp/wp-content/uploads/2026/05/by-happo-en-message-bg-SP.jpg')
      no-repeat center/cover;
  }

  .message__inner {
    padding-inline: 4rem;
  }

  .message__inner__item:not(:first-child) {
    margin-top: 4rem;
  }

  .message__inner__item__jp {
    font-size: 2.4rem;
  }

  .message__inner__item__en {
    font-size: 1.6rem;
  }

  .message__image {
    width: 100%;
    height: auto;
    margin-top: 4rem;
    display: block;
  }
}

.experience__texts {
  text-align: center;
}

.experience__texts__sub {
  font-weight: 500;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.experience__texts__main {
  font-weight: 500;
  color: white;
}

.experience__collage {
  position: relative;
}

.experience__collage__photo {
  height: auto;
}

.experience__collage__photo.visible {
  opacity: 1;
}

/* Experience：順序アニメーション用（main.js が --delay とクラスを付与） */
.js-experience .experience__texts__main {
  opacity: 0;
  transform: translateY(1.2rem);
  transition:
    opacity 0.6s ease,
    transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.js-experience .experience__texts__main.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 5ワード：JSが走ったら「span制御」へ切替 */
.js-experience.is-prepared .experience__texts__sub p {
  opacity: 1;
  transform: none;
  color: transparent;
}

.js-experience.is-prepared .experience__texts__sub p .exp-char {
  display: inline-block;
  opacity: 0;
  color: #888888;
  transition:
    opacity 0.6s ease,
    transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.js-experience.is-prepared .experience__texts__sub p .exp-char:first-of-type {
  color: white;
}

.js-experience.is-animating .experience__texts__sub p .exp-char {
  opacity: 1;
}

.js-experience.is-animating .experience__texts__sub p {
  color: white;
}

.js-experience .experience__collage__photo {
  opacity: 0;
  transform: translateY(1rem) scale(0.985);
  transition:
    opacity 0.6s ease,
    transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.js-experience .experience__collage__photo.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media screen and (min-width: 768px) {
  .experience {
    padding-block: 41rem 20rem;
    background: url('/wp/wp-content/uploads/2026/05/by-happo-en-experience-bg-scaled.jpg')
      no-repeat center/cover;
  }

  .experience__texts__sub {
    font-size: 6.8rem;
    gap: 8rem;
  }

  .experience__texts__main {
    font-size: 8rem;
    margin-block: 8rem;
  }

  .experience__collage {
    margin: 20rem auto 0;
    width: 134rem;
    height: 85rem;
  }

  .experience__collage__photo {
    position: absolute;
  }

  .experience__collage__photo.photo1 {
    top: 0;
    left: 36rem;
    width: 56rem;
  }

  .experience__collage__photo.photo2 {
    top: 7.4rem;
    left: 0;
    width: 34rem;
  }

  .experience__collage__photo.photo3 {
    top: 20rem;
    right: 7.8rem;
    width: 28rem;
  }

  .experience__collage__photo.photo4 {
    bottom: 7rem;
    right: 0;
    width: 56rem;
  }

  .experience__collage__photo.photo5 {
    bottom: 23rem;
    left: 48rem;
    width: 28rem;
  }

  .experience__collage__photo.photo6 {
    bottom: 0;
    left: 6.8rem;
    width: 39rem;
  }
}
@media screen and (max-width: 767px) {
  .experience {
    padding-block: 12rem;
    background: url('/wp/wp-content/uploads/2026/05/by-happo-en-experience-bg-SP-scaled.jpg')
      no-repeat center/cover;
  }

  .experience__texts {
    padding-inline: 4rem;
  }

  .experience__texts__sub {
    font-size: 3.2rem;
    gap: 2rem;
  }

  .experience__texts__main {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-block: 6rem;
  }

  .experience__collage {
    margin: 12rem auto 0;
  }

  .experience__collage__photo {
    display: block;
  }

  .experience__collage__photo.photo1 {
    width: 35rem;
    margin-inline: auto 0;
  }

  .experience__collage__photo.photo2 {
    display: inline-block;
    width: 20rem;
    margin: 2rem 2rem 0 0;
  }

  .experience__collage__photo.photo3 {
    display: inline-block;
    width: 15.4rem;
  }

  .experience__collage__photo.photo4 {
    margin: 2rem 0 0 auto;
    width: 25.2rem;
  }

  .experience__collage__photo.photo5 {
    width: 19.6rem;
    margin: 2rem 0 0 2rem;
  }

  .experience__collage__photo.photo6 {
    width: 25.2rem;
    margin: 2rem 4rem 0 auto;
  }
}

.creators {
  background: #f0f0f0;
}

.creators__title {
  position: relative;
  z-index: 10;
}

.creators__title::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  left: 0;
  background: #999999;
  z-index: -1;
}

.creators__title h2 {
  font-weight: 500;
}

.creators__title p {
  color: #999999;
}

.creators__list {
  display: grid;
  gap: 1px;
}

.creators__list__soon {
  color: #999999;
  font-weight: 400;
}

.creators__list__item {
  position: relative;
  overflow: hidden;
}

.creators__list__item:hover .creators__list__item__bg img {
  scale: 1.1;
}

.creators__list__item__bg {
  width: 100%;
}

.creators__list__item__bg img {
  transition: scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.creators__list__item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 4rem;
  color: white;
  background: linear-gradient(to bottom, #33333300, #33333380);
}

.creators__list__item__content__official {
  font-size: 2rem;
  font-weight: 500;
}

.creators__list__item__content__name {
  font-size: 2.8rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

.creators__list__item__content__link {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  text-decoration: none;
}

.creators__list__item__content__link__icon {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 100%;
}

.creators__list__item__content__link__insta {
  width: 1.8rem;
  height: 1.8rem;
}

.creators__list__item__content__link__url {
  font-size: 1rem;
  margin-top: 0.5rem;
}

@media screen and (min-width: 768px) {
  .creators {
    padding-block: 15rem 20rem;
  }

  .creators__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 12rem;
  }

  .creators__title::before {
    top: 50%;
  }

  .creators__title h2 {
    font-size: 7.6rem;
    padding-right: 4rem;
    background: #f0f0f0;
  }

  .creators__title p {
    font-size: 2.4rem;
    padding-left: 4rem;
    background: #f0f0f0;
  }

  .creators__list {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 15rem;
  }

  .creators__list__soon {
    font-size: 2rem;
    text-align: right;
    padding-right: 3.8rem;
    align-content: end;
    height: 30rem;
  }
}
@media screen and (max-width: 767px) {
  .creators {
    padding-block: 12rem;
  }

  .creators__title {
    margin-inline: 4rem;
  }

  .creators__title::before {
    top: 60%;
  }

  .creators__title h2 {
    font-size: 4rem;
  }

  .creators__title p {
    font-size: 1.4rem;
    text-align: right;
    margin-top: 3rem;
  }

  .creators__list {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 6rem;
  }

  .creators__list__soon {
    font-size: 1.4rem;
    text-align: center;
    padding-top: 8rem;
  }
}

.venue__title {
  position: relative;
  z-index: 10;
}

.venue__title::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  left: 0;
  background: #999999;
  z-index: -1;
}

.venue__title h2 {
  font-weight: 500;
  color: white;
}

.venue__title p {
  color: #999999;
}

.venue__floor {
  display: flex;
  align-items: center;
}

.venue__floor__inner {
  color: white;
}

.splide__pagination {
  padding-left: 1rem;
  margin-top: 1rem;
  gap: 0.5rem;
  justify-content: flex-start;
}

.splide__pagination__page {
  display: block;
  width: 3rem;
  height: 0.5rem;
  border: none;
  background: #999999;
  opacity: 0.3;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.splide__pagination__page:not(.is-active) {
  cursor: pointer;
}

.splide__pagination__page.is-active {
  width: 6rem;
  opacity: 1;
}

.venue__floor__inner__title {
  font-weight: 500;
}

.venue__floor__inner__text {
  line-height: 1.5;
}

.venue__column {
  display: grid;
}

.venue__column__item__inner {
  padding: 4rem;
  color: white;
}

.venue__column__item__inner__text {
  line-height: 1.5;
  margin-top: 4rem;
}

@media screen and (min-width: 768px) {
  .venue {
    padding-block: 15rem;
  }

  .venue__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 12rem;
  }

  .venue__title::before {
    top: 50%;
  }

  .venue__title h2 {
    font-size: 7.6rem;
    padding-right: 4rem;
    background: #222222;
  }

  .venue__title p {
    font-size: 2.4rem;
    padding-left: 4rem;
    background: #222222;
  }

  .venue__floor {
    margin-top: 15rem;
    justify-content: flex-start;
    gap: 8rem;
  }

  .venue__floor__slider {
    width: 84rem;
  }

  .venue__floor__inner__title {
    font-size: 5rem;
  }

  .venue__floor__inner__text {
    font-size: 2rem;
    margin-top: 8rem;
    padding-left: 6rem;
  }

  .venue__column {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 12rem;
    margin-top: 10rem;
  }

  .venue__column__item__inner__title {
    font-size: 4rem;
  }

  .venue__column__item__inner__text {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 767px) {
  .venue {
    padding-block: 12rem;
  }

  .venue__title {
    margin-inline: 4rem;
  }

  .venue__title::before {
    top: 60%;
  }

  .venue__title h2 {
    font-size: 4rem;
  }

  .venue__title p {
    font-size: 1.4rem;
    text-align: right;
    margin-top: 3rem;
  }

  .venue__floor {
    margin-top: 6rem;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
  }

  .venue__floor__slider {
    width: 100%;
  }

  .venue__floor__inner {
    padding-left: 4rem;
    width: 100%;
  }

  .venue__floor__inner__title {
    font-size: 3.2rem;
  }

  .venue__floor__inner__text {
    font-size: 1.4rem;
    margin-top: 4rem;
  }

  .venue__column {
    grid-template-columns: 1fr;
    gap: 6rem;
    margin-top: 6rem;
  }

  .venue__column__item__inner__title {
    font-size: 3.2rem;
  }

  .venue__column__item__inner__text {
    font-size: 1.4rem;
  }
}

.contact {
  background: #f8f8f8;
}

.contact__title {
  font-weight: 500;
}

.contact__form__caution {
  font-size: 1rem;
  font-weight: 400;
}

.contact__form__item {
  display: grid;
}

.contact__form__item:not(:first-of-type) {
  margin-top: 4rem;
}

.contact__form__item__title {
  font-weight: 400;
}

.contact__form__item__title span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #999999;
}

.contact__form__item__input {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 5%;
  padding: 2.6rem 2rem;
  border: 1px solid #dcdcdc;
}

.contact__form__item__input::placeholder {
  color: #333333;
  opacity: 0.3;
}

.contact__form__item__textarea {
  min-height: 30rem;
}

.contact__form__button {
  display: block;
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 700;
  color: white;
  text-align: center;
  border: none;
  background: #000000;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact__form__button:hover {
  opacity: 0.8;
}

.contact__form__privacy label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.contact__form__privacy label input {
  cursor: pointer;
}

.contact__form__privacy label a {
  color: #333333;
}

.contact__form__privacy a:hover {
  color: #000000;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .contact {
    padding-block: 15rem;
  }

  .contact__title {
    font-size: 7.6rem;
    padding-left: 12rem;
  }

  .contact__form {
    margin-top: 10rem;
    padding-inline: 22rem;
  }

  .contact__form__caution {
    margin: 0 0 4rem 20rem;
  }

  .contact__form__item {
    grid-template-columns: auto 80rem;
    align-items: center;
  }

  .contact__form__item__title {
    font-size: 1.6rem;
  }

  .contact__form__item__title span {
    margin-top: 1rem;
    display: block;
  }

  .contact__form__privacy label {
    font-size: 1.6rem;
    margin: 4rem 0 0 20rem;
  }

  .contact__form__button {
    width: 36rem;
    padding-block: 3.4rem;
    margin: 8rem auto 0;
  }
}
@media screen and (max-width: 767px) {
  .contact {
    padding: 12rem 4rem;
  }

  .contact__title {
    font-size: 4rem;
  }

  .contact__form {
    margin-top: 8rem;
  }

  .contact__form__caution {
    font-size: 1rem;
    font-weight: 400;
    margin-block: 4rem;
  }

  .contact__form__item {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .contact__form__item__title {
    font-size: 1.4rem;
  }

  .contact__form__item__title span {
    margin-left: 2rem;
  }

  .contact__form__button {
    width: 100%;
    padding-block: 2.4rem;
    margin: 6rem auto 0;
  }
}

.site-footer {
  display: flex;
  align-items: center;
}

.site-footer__content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4rem;
}

.site-footer__content__insta {
  transition: opacity 0.3s ease-in-out;
}

.site-footer__content__insta img {
  width: 1.8rem;
}

.site-footer__content__insta:hover {
  opacity: 0.5;
}

.site-footer__content__company__wrapper {
  display: flex;
}

.site-footer__content__company__wrapper a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-footer__content__company__wrapper a:hover {
  opacity: 0.5;
}

.site-footer__content__company {
  font-size: 1rem;
  font-weight: 400;
  color: white;
}

.site-footer__copy {
  font-size: 1rem;
  font-weight: 700;
  color: #999999;
}

@media screen and (min-width: 768px) {
  .site-footer {
    justify-content: space-between;
    padding: 4rem 12rem;
  }

  .site-footer__content__company__wrapper {
    gap: 4rem;
  }
}
@media screen and (max-width: 767px) {
  .site-footer {
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 7rem;
  }

  .site-footer__content__company__wrapper {
    flex-direction: column;
    gap: 1rem;
  }
}

/* 簡単なフェードイン用フック（main.js で is-visible を付与） */
.js-reveal {
  opacity: 0;
  transform: translateY(2.2rem);
  transition:
    opacity 0.6s linear,
    transform 1.4s cubic-bezier(0.25, 1, 0.5, 1),
    -webkit-transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
