@charset "utf-8";

/* -----------------------------------------
font
-------------------------------------------*/
:root {
  /* フォントファミリーの定義 */
  --font-en-main: "Belleza", sans-serif;
  --font-en-accent: "Ephesis", cursive;
  --font-jp: "Noto Serif JP", serif;

  /* フォントウェイト（太さ）の定義 */
  --fw-light: 200;
  --fw-regular: 400;
  --fw-bold: 700;

  /* カラーの定義 -font- */
  --color-font-white: #fff;
  --color-font-gray: #d5dfe7;
  --color-font-black: #4f545a;
  /* カラーの定義 -背景- */
  --color-bg-white: #fff;
  --color-bg-yellow: #fffdf6;
  --color-bg-gray: #d5dfe7;
  --color-bg-black: #4f545a;
}
html {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--color-font-black);
}
p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem); /* 16px〜20px */
  letter-spacing: 0.1em;
  line-height: 1.8;
}

/* :::::::::::::::: SP ::::::::::::::::: */

/* -----------------------------------------
レイアウト
-------------------------------------------*/
img {
  width: 100%;
}
.l-section__container {
  max-width: 80%;
  padding: 160px 20px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.l-pc-none {
  display: none;
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .l-section__container {
    max-width: 100%;
  }
  .l-sp-none {
    display: none;
  }
}

/* -----------------------------------------
header
-------------------------------------------*/
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-header__wrapper {
  font-family: var(--font-en-main);
  position: absolute;
  top: 30px;
  right: 80px;
}
.main-header__label {
  font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  line-height: 2.4rem;
  display: flex;
  align-items: center;
}
.main-header__label::before {
  background-color: var(--color-bg-black);
  border-radius: 50%;
  content: "";
  width: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
  height: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
  margin-right: 5px;
}
.main-header__list {
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  letter-spacing: 0.02em;
  padding-left: 2rem;
  margin-top: 8px;
}

/* リストにホバーしたら下線表示 */
.main-header__list--item {
  background-image: linear-gradient(#4f545a, #4f545a);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
  margin-bottom: 8px;
}

.main-header__list--item:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}
/* メニューリストの初期状態と隠す時のアニメーション */
.main-header__nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.6s;
}

/* JavaScriptでこのクラスがついたら隠す */
.main-header__nav.is-hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px); /* 少し上に浮きながら消える演出 */
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;
}
/* 背景が黒い時に文字を白くする */
.main-header.is-white .main-header__label {
  color: var(--color-font-white);
}
.main-header.is-white .main-header__list--item a {
  color: var(--color-font-white);
}
/* 疑似要素（MENUの横の丸）の色も変更する */
.main-header.is-white .main-header__label::before {
  background-color: var(--color-font-white);
}
/* ホバー時の下線アニメーションの色も白に変更 */
.main-header.is-white .main-header__list--item {
  background-image: linear-gradient(
    var(--color-font-white),
    var(--color-font-white)
  );
}

/* 下層ページのheader的な部分 */
.subpage-heading {
  height: 260px;
  font-family: var(--font-en-main);
  font-size: clamp(2.625rem, 1.95rem + 3.38vw, 6rem);
  letter-spacing: 0.2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .main-header__wrapper {
    right: 20px;
  }
  .main-header__list {
    padding-left: 1.8rem;
    margin-top: 4px;
  }
  .main-header__list--item {
    margin-bottom: 4px;
  }
}

/* -----------------------------------------
全ページ共通コンポーネントパーツ
-------------------------------------------*/
/* TOP-PAGEセクションのタイトル */
.c-section__title-group {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.c-section-title {
  font-family: var(--font-en-main);
  font-size: clamp(2.125rem, 1.943rem + 0.91vw, 2.625rem);
}
.c-section-title::after {
  content: "";
  width: 1px;
  height: 47px;
  display: inline-block;
  background-color: var(--color-bg-black);
  transform: translateY(5px) rotate(45deg);
  vertical-align: middle;
  margin-left: 20px;
}
.c-section-subtitle {
  font-size: 16px;
  transform: translateY(13px);
}

/* MORE-button */
.c-button {
  width: 150px;
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  font-family: var(--font-en-main);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--color-font-white);
  background-color: var(--color-bg-black);
  border-radius: 100vh;
  transition: background-color 0.3s;
  padding-left: 28px;
  margin-left: auto;
}
.c-button::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}
.c-button::before {
  content: "";
  display: block;
  width: 6px;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center; /*矢印の先端が棒の右端からズレないように、回転の軸を右側に固定 */
}
.c-button:hover {
  opacity: 0.7;
  transform: translateY(2px);
}
.c-button:hover::after {
  transform: translateY(-50%) translateX(5px); /* 右に5px動く */
}
.c-button:hover::before {
  transform: translateY(-50%) translateX(5px) rotate(45deg);
}

/* 下層ページ セクションのタイトル */
.c-lowerLayer__section-title {
  font-family: var(--font-en-main);
  font-size: clamp(1.75rem, 1.575rem + 0.88vw, 2.625rem);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
}
.c-lowerLayer__section-subtitle {
  font-family: var(--font-jp);
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem); /*14px,16px*/
  margin-left: 20px;
}
.c-lowerLayer__section-title::after {
  background-color: var(--color-bg-gray);
  content: " ";
  height: 2px;
  flex-grow: 1;
  align-self: flex-end;
  margin: 0 0 8px -86px;
  transform: translateY(2px) scaleX(0);
  transform-origin: left;
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 1s;
}
.c-lowerLayer__section-title.is-active::after {
  transform: translateY(2px) scaleX(1);
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  /* TOP-PAGE セクションのタイトル */
  .c-section__title-group {
    display: flex;
    align-items: baseline;
    gap: 20px;
  }
  .c-section-title::after {
    height: 42px;
    transform: translateY(7px) rotate(45deg);
    margin-left: 16px;
  }
  .c-section-subtitle {
    transform: translateY(14px);
    margin-left: -4px;
  }
  /* 下層ページ section-title */
  .c-lowerLayer__section-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .c-lowerLayer__section-subtitle {
    margin-left: 0;
    margin-top: 4px;
  }
  .c-lowerLayer__section-title::after {
    width: 100%;
    height: 1px;
    flex-grow: 0;
    margin: 6px 0 0;
    transform: scaleX(0);
    transform-origin: left;
  }
  .c-lowerLayer__section-title.is-active::after {
    transform: scaleX(1);
  }
}

/* -----------------------------------------
CTA
-------------------------------------------*/
.cta {
  width: 100%;
  background-color: var(--color-bg-black);
  padding: 40px 40px 120px;
}

.cta__wrapper {
  background-color: var(--color-bg-gray);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 38px;
  border-radius: 10px;
  padding: 80px;
}
.cta__title {
  position: relative;
  font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem); /*20px,24px*/
  line-height: 1.6;
  margin-top: -35px;
}
.cta__title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -62px;
  max-width: 200px;
  width: 100%;
  height: 50px;
  background-image: url(../images/cta/cta-decoration.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.cta__list {
  position: relative;
}
.cta__list::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 24px;
  height: 24px;
  background-image: url(../images/cta/check-mark.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.cta__action {
  padding-left: 20px;
  border-left: solid 1px var(--color-bg-black);
}
.cta__button {
  overflow: hidden;
  width: 170px;
  margin-top: 24px;

  background: linear-gradient(
    120deg,
    var(--color-bg-black) 0%,
    var(--color-bg-black) 30%,
    rgba(255, 255, 255, 0.1) 50%,
    /* 光の色（白） */ var(--color-bg-black) 70%,
    var(--color-bg-black) 100%
  );
  background-size: 200% 100%; /* 背景を横に2倍に伸ばす */
  background-position: 150% 0; /* 初期位置は光を右側（あるいは左側）に隠す */
  animation: shine 4s infinite ease-in-out; /* 4秒周期で常時ループ */
}

@keyframes shine {
  0% {
    background-position: 150% 0; /* 開始位置（右側に隠れている状態） */
  }
  30% {
    background-position: -50% 0; /* 左側へ通り抜ける */
  }
  100% {
    background-position: -50% 0; /* 残りの時間は光らせず待機（メリハリをつける） */
  }
}

/* :::::::::::::::: CTA-SP ::::::::::::::::: */
@media (max-width: 768px) {
  .cta {
    padding: 60px 20px 120px;
  }

  .cta__wrapper {
    flex-direction: column;
    gap: 76px;
    padding: 80px 20px;
  }
  .cta__title {
    margin-top: 0;
  }
  .cta__title::after {
    width: 100%;
    max-width: 172px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -34px;
  }
  .cta__list {
    margin-left: 40px;
  }
  .cta__list::before {
    left: -30px;
    top: 7px;
    width: 18px;
    height: 18px;
  }
  .cta__action {
    width: 100%;
    border-left: none;
    padding-left: 0;
  }
  .cta__button {
    margin: 40px auto 0;
  }
}
/* -----------------------------------------
footer
-------------------------------------------*/
.footer__container {
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 94px;
}
.main-footer__nav {
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  display: flex;
  justify-content: center;
}
.main-footer__list {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-footer__list-item:last-child {
  width: 150px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-en-main);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--color-font-white);
  background-color: var(--color-bg-black);
  border-radius: 100vh;
  transition: background-color 0.3s;
}
.main-footer__list-item:hover {
  opacity: 0.7;
}
.main-footer__copy {
  font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
  display: flex;
  justify-content: center;
  letter-spacing: 0.1em;
  padding-bottom: 20px;
}

/* :::::::::::::::: SP ::::::::::::::::: */
@media (max-width: 768px) {
  .footer__container {
    justify-content: center;
    row-gap: 64px;
  }
  .main-footer__list {
    flex-direction: column;
    gap: 20px;
  }
}
