/* ==========================================================================
   Grandeur - Top page
   モバイルファースト（min-width によるブレイクポイント）で構築しています。
   ========================================================================== */

:root {
  --color-white: #ffffff;
  --color-text: #535353;
  --color-sub: #878787;
  --color-accent: #ef8796;
  --color-main: #44938f;
  --color-main-dark: #52a393;
  --color-base: #f1f7f7;
  --color-line: #11c85a;

  --font-mincho: "Shippori Mincho", serif;
  --font-mincho2: "Zen Old Mincho", serif;
  --font-kaku: "Zen Kaku Gothic New", sans-serif;
  --font-noto: "Noto Sans JP", sans-serif;
  --font-en: "Marcellus", serif;
  --font-roboto: "Roboto", sans-serif;

  --container: 1240px;
}

/* --------------------------------------------------------------------------
   reset / base
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-noto);
  line-height: 1.6;
  background: var(--color-base);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover,
a:visited,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   共通パーツ：表示切り替え
   -------------------------------------------------------------------------- */
.only-sp {
  display: inline;
}

@media (min-width: 426px) {
  .only-sp {
    display: none;
  }
}

.section-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   共通パーツ：見出し
   -------------------------------------------------------------------------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head__ttl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-head__en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--color-accent);
  margin: 0;
}

.section-head__ja {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
  white-space: nowrap;
}

.section-head--white .section-head__en,
.section-head--white .section-head__ja {
  color: var(--color-white);
}

@media (max-width: 425px) {
  .section-head__en {
    font-size: 16px;
  }

  .section-head__ja {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   共通パーツ：ボタン
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--color-main);
  border: 1px solid var(--color-main);
  color: var(--color-white);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 2.2;
  border-radius: 999px;
  padding: 8px 52px 8px 28px;
  min-width: 275px;
  max-width: 275px;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url("/system_panel/uploads/images/chevron-right.svg") center / contain no-repeat;
}

.btn--center {
  align-self: center;
}

.btn--wide {
  min-width: 340px;
  max-width: 340px;
}

.btn--sm {
  font-size: 14px;
  padding: 8px 44px 8px 16px;
  border-radius: 999px;
}

.btn:hover,
.btn:visited,
.btn:active,
.btn:focus {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   グローバルナビ
   -------------------------------------------------------------------------- */
.gnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #e5f0f0;
}

.gnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.gnav__logo img {
  height: 55px;
  width: auto;
}

.gnav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.gnav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gnav__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #e5f0f0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: #311303;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.gnav__list__item {
  width: 100%;
}

.gnav__list a {
  display: block;
  padding: 14px 24px;
  white-space: nowrap;
}

.gnav.is-open .gnav__list {
  max-height: 500px;
}

.gnav.is-open .gnav__toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.gnav.is-open .gnav__toggle span:nth-child(2) {
  opacity: 0;
}

.gnav.is-open .gnav__toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #e5f0f0;
}

.hero__bg {
  position: absolute;
  inset: 0 16px;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  position: relative;
  z-index: 1;
  color: #44938f;
  padding: 32px 24px 80px;
}

.hero__title {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0 0 20px;
}

.hero__lead {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin: 0;
}

.hero__marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  color: var(--color-white);
  font-family: "Cormorant Infant", serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__marquee-track {
  display: flex;
  width: max-content;
  animation: hero-marquee 70s linear infinite;
}

.hero__marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 30px;
  padding-right: 30px;
}

@keyframes hero-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__marquee-track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   お知らせ / お客様の声（共通リスト）
   -------------------------------------------------------------------------- */
.news,
.access,
.feature,
.concept {
  padding: 60px 0;
}

.news {
  background: #fbfbfb;
}

.list-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.list-card__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 20px 24px;
}

.list-card--alt .list-card__item {
  background: var(--color-base);
}

.list-card__date {
  color: var(--color-sub);
}

.list-card__text {
  color: var(--color-text);
}

/* お知らせ（CMS出力: webgene-blog）を list-card と同じ見た目にする */
.webgene-blog {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.webgene-item .news_inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 20px 24px;
}

.news--alt .webgene-item .news_inner {
  background: var(--color-base);
}

.webgene-item .news_inner .col-12:first-child p {
  margin: 0;
  color: var(--color-sub);
}

.webgene-item .news_inner .col-12:last-child p {
  margin: 0;
  color: var(--color-text);
}

.webgene-item .news_inner a {
  color: inherit;
  text-decoration: none;
}

/* お知らせ・お客様の声（トップ）Figma デザイン */
.news .section-head__en {
  font-family: "Cormorant Infant", serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #44938f;
}

.news .section-head__ja {
  color: #311303;
}

.news .webgene-blog {
  gap: 0;
  font-family: var(--font-kaku);
  font-size: 16px;
  line-height: 2.2;
}

.news .webgene-item .news_inner {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 0;
  border-bottom: 1px solid #77b9af;
  padding: 16px 24px;
}

.news .webgene-item .news_inner .col-12 {
  width: auto;
  max-width: none;
  padding: 0;
}

.news .webgene-item .news_inner .col-12:first-child {
  flex: 0 0 auto;
}

.news .webgene-item .news_inner .col-12:last-child {
  flex: 1 1 0;
  min-width: 0;
}

.news .webgene-item .news_inner .col-12:first-child p {
  color: #44938f;
}

.news .webgene-item .news_inner .col-12:last-child p {
  color: #311303;
}

@media (min-width: 769px) {
  .news .section-head {
    margin-bottom: 40px;
  }

  .news .webgene-item .news_inner {
    gap: 50px;
    padding: 16px 24px;
  }

  .news .btn {
    min-width: 260px;
    max-width: 260px;
  }
}

@media (min-width: 1440px) {
  .news .section-head__ja {
    font-size: 60px;
  }
}

/* --------------------------------------------------------------------------
   お悩みセクション
   -------------------------------------------------------------------------- */
.worries {
  position: relative;
  overflow: hidden;
  background: #52988e;
  color: var(--color-white);
}

.worries::before,
.worries::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 72px;
  aspect-ratio: 400 / 440;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.worries::before {
  top: 10px;
  left: 10px;
  background-image: url("/system_panel/uploads/images/deco001.png");
  background-position: left top;
}

.worries::after {
  top: 15px;
  right: 20px;
  background-image: url("/system_panel/uploads/images/deco002.png");
  background-position: right top;
}

.worries__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.worries__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worries__inner {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.worries__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.worries__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.worries__title {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: clamp(18px, 5.6vw, 34px);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.worries__lead {
  font-family: var(--font-kaku);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.worries__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  justify-items: start;
}

.worries__items img {
  width: 76%;
  max-width: 338px;
  height: auto;
}

.worries__items img:nth-child(2) {
  justify-self: end;
  margin-top: -14px;
}

.worries__illust {
  width: 200px;
  height: auto;
}

@media (min-width: 426px) {
  .worries__items {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    justify-items: center;
  }

  .worries__items img {
    width: 100%;
  }

  .worries__items img:nth-child(2) {
    justify-self: center;
    margin-top: 48px;
  }

  .worries__illust {
    width: 260px;
  }
}

/* --------------------------------------------------------------------------
   コンセプト（選ばれる理由）
   -------------------------------------------------------------------------- */
.concept {
  position: relative;
  background: #f8fffe;
  overflow: hidden;
}

/* 背景画像は上下の葉の部分だけを幅いっぱいで敷き、縦に切れないようにする */
.concept::before,
.concept::after {
  content: "";
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  aspect-ratio: 2880 / 1020;
  background: url("/system_panel/uploads/images/top_concept_bg.jpg") no-repeat;
  background-size: 100% auto;
  pointer-events: none;
}

.concept::before {
  top: 0;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

.concept::after {
  bottom: 0;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(to top, #000 70%, transparent);
  mask-image: linear-gradient(to top, #000 70%, transparent);
}

.concept .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1365px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.concept .section-head {
  margin-bottom: 48px;
}

.concept .section-head__en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #44938f;
}

.concept .section-head__ja {
  font-size: clamp(24px, 4.2vw, 60px);
  color: #311303;
}

.concept__grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
  margin-bottom: 56px;
}

.concept-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.concept-card__media {
  order: 1;
}

.concept-card__body {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.concept-card__media img {
  width: 100%;
  height: auto;
}

.concept-card__num {
  font-family: "Old Standard TT", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  color: #44938f;
  margin: 0 0 8px;
}

.concept-card__ttl {
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: #311303;
  margin: 0;
}

.concept-card__en {
  font-family: "Parisienne", cursive;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: capitalize;
  color: #c29e6a;
  margin: 0 0 16px;
}

.concept-card__txt {
  font-family: var(--font-kaku);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 2.2;
  color: #311303;
  margin: 0;
}

@media (max-width: 768px) {
  .concept-card__txt br {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   メニュー / スクール（画像 + テキスト）
   -------------------------------------------------------------------------- */
.feature__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature__media {
  order: 2;
}

.feature__body {
  order: 1;
}

.feature__media img {
  width: 100%;
  height: auto;
  border-radius: 0 60px 0 0;
  object-fit: cover;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature__body .section-head {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 0;
}

.feature__txt {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 2.2;
}

@media (max-width: 425px) {
  .feature__txt br {
    display: none;
  }
}

/* メニュー・料金（Figma デザイン） */
#menu {
  position: relative;
  background: #52988e url("/system_panel/uploads/images/top_worries_bg.jpg") center / cover no-repeat;
  color: var(--color-white);
}

#menu::after {
  content: "";
  position: absolute;
  left: clamp(8px, 5.5vw, 106px);
  bottom: -50px;
  z-index: 2;
  width: clamp(120px, 18vw, 345px);
  aspect-ratio: 518 / 390;
  background: url("/system_panel/uploads/images/deco003.png") center / contain no-repeat;
  pointer-events: none;
}

#menu .section-inner {
  max-width: 1542px;
}

#menu .feature__media {
  position: relative;
  margin-bottom: 40px;
}

#menu .feature__media img {
  border-radius: 0;
}

/* メイン画像は少し小さくして左寄せ（追加写真を重ねる余白をつくる） */
#menu .feature__media img:not(.feature__sub) {
  width: 80%;
}

/* 施術写真：メイン画像の右下に重ねる */
#menu .feature__media .feature__sub {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 36%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12%;
}

#menu .section-head__en {
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 1.4;
  background: linear-gradient(90deg, #dfb884 0%, #ecd0ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#menu .section-head__ja {
  font-size: clamp(28px, 4.2vw, 60px);
  color: var(--color-white);
}

#menu .feature__txt {
  font-family: var(--font-kaku);
  color: var(--color-white);
}

#menu .btn {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-main);
}

#menu .btn::after {
  filter: brightness(0) saturate(100%) invert(51%) sepia(18%) saturate(900%) hue-rotate(126deg) brightness(88%);
}

@media (min-width: 769px) {
  #menu::after {
    bottom: -130px;
  }

  #menu .feature__inner {
    gap: clamp(48px, 5.2vw, 100px);
  }

  #menu .feature__media {
    flex: 0 0 56%;
  }

  #menu .section-head__en {
    font-size: 30px;
  }

  #menu .feature__txt {
    font-size: 16px;
  }
}

/* スクール（Figma デザイン） */
#school {
  background: #52988e url("/system_panel/uploads/images/top_school_bg.jpg") left center / cover no-repeat;
  color: var(--color-white);
}

#school .section-inner {
  max-width: 1616px;
}

#school .feature__media img {
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

#school .section-head__en {
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 1.4;
  background: linear-gradient(90deg, #dfb884 0%, #ecd0ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#school .section-head__ja {
  font-size: clamp(24px, 3.5vw, 60px);
  color: var(--color-white);
}

#school .feature__txt {
  font-family: var(--font-kaku);
  color: var(--color-white);
}

#school .btn {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-main);
}

#school .btn::after {
  filter: brightness(0) saturate(100%) invert(51%) sepia(18%) saturate(900%) hue-rotate(126deg) brightness(88%);
}

@media (min-width: 769px) {
  #school {
    background-position: center;
  }

  #school .feature__inner {
    gap: 20px;
  }

  #school .feature__body {
    flex: 1 1 0;
  }

  #school .feature__media {
    flex: 0 0 53%;
  }

  #school .section-head__en {
    font-size: 30px;
  }

  #school .feature__txt {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  #school {
    padding: 80px 0;
  }
}

/* --------------------------------------------------------------------------
   よくあるご質問
   -------------------------------------------------------------------------- */
.faq {
  padding: 24px;
}

.faq__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 24px;
  max-width: 1000px;
  /* 背景画像（外側の面 + グラデーションの線）を、線の外側 19px を固定して伸縮させる */
  border: 19px solid transparent;
  border-image: url("/system_panel/uploads/images/back-line.png") 19 fill / 19px stretch;
}

/* .section-inner の padding（1024px以上）に上書きされないよう .faq を付けて詳細度を上げる */
.faq .faq__inner {
  padding: 25px 21px;
}

.faq__inner .section-head {
  grid-column: 1;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 16px;
}

.faq__inner .section-head__en {
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 1.4;
  color: #44938f;
}

.faq__inner .section-head__ja {
  font-size: clamp(22px, 4.2vw, 60px);
  color: #311303;
}

.faq__txt {
  grid-column: 1;
  font-family: var(--font-kaku);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 2.2;
  color: #311303;
}

/* 「よくあるご質問を見る」ボタンは矢印アイコンとして表示（文字は読み上げ用に残す） */
.faq__inner .btn {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 48px;
  min-width: 0;
  max-width: none;
  height: 48px;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  background: url("/system_panel/uploads/images/arrow_right_alt.svg") center / contain no-repeat;
  border: 0;
  border-radius: 0;
}

.faq__inner .btn::after {
  display: none;
}

@media (max-width: 768px) {
  .faq__txt br {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   店舗情報
   -------------------------------------------------------------------------- */
.access {
  background: #e5f0f0;
}

.access .section-head {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.access .section-head__en {
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #44938f;
}

.access .section-head__ja {
  font-size: clamp(28px, 4.2vw, 60px);
  color: #311303;
}

.access__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.store {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.store__table {
  display: flex;
  flex-direction: column;
}

.store__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #44938f;
  padding: 24px 0;
  font-family: var(--font-kaku);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 2.2;
}

.store__row__dt {
  color: #311303;
  font-weight: 500;
}

.store__row__dd {
  color: #311303;
  margin: 0;
}

.store .btn--sm {
  font-family: var(--font-kaku);
  font-weight: 700;
}

.store__map {
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  background: #d9d9d9;
}

@media (max-width: 768px) {
  .store__map {
    width: auto;
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
  }
}

.store__map iframe,
.store__map div[src] {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   お問い合わせ（CTA）
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--color-white);
}

.contact .section-head__en {
  color: var(--color-white);
}

.contact .section-head__ja {
  font-size: clamp(22px, 4.2vw, 60px);
  color: var(--color-white);
}

.contact__txt {
  font-family: var(--font-kaku);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 2.2;
}

.contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #c29e6a;
  color: var(--color-white);
  padding: 24px 16px;
  font-family: var(--font-kaku);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.contact-btn img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.contact-btn:hover,
.contact-btn:visited,
.contact-btn:active,
.contact-btn:focus {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  padding: 16px 24px;
  font-family: var(--font-kaku);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: #311303;
  text-align: center;
}

.site-footer__nav a {
  padding: 8px 0;
}

.site-footer__copy {
  background: #311303;
  color: var(--color-white);
  text-align: center;
  padding: 20px 16px;
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   追尾サイドナビ
   -------------------------------------------------------------------------- */
.side-nav {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 150;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.side-nav__item {
  display: flex;
  flex: 1;
  height: 56px;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  text-decoration: none;
  transition: background-color 0.3s, filter 0.3s, transform 0.3s;
}

.side-nav__item:hover,
.side-nav__item:visited,
.side-nav__item:active,
.side-nav__item:focus {
  color: var(--color-white);
}

.side-nav__badge {
  display: none;
}

.side-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.side-nav__icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.side-nav__ttl {
  display: none;
}

.side-nav__item--line {
  background: var(--color-line);
}

.side-nav__item--line:hover {
  filter: brightness(0.92);
}

.side-nav__item--reserve {
  background: var(--color-main);
}

.side-nav__item--reserve:hover {
  background: var(--color-main-dark);
}

.side-nav__item--reserve2 {
  background: #311303;
}

.side-nav__item--reserve2:hover {
  filter: brightness(0.92);
}

/* ==========================================================================
   ブレイクポイント： min-width 426px（大きめスマホ）
   ========================================================================== */

/* ==========================================================================
   ブレイクポイント： 426px〜768px（大きめスマホ〜タブレット）
   ========================================================================== */
@media (min-width: 426px) and (max-width: 768px) {
  .feature__media img {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   ブレイクポイント： min-width 768px（タブレット）
   ========================================================================== */
@media (min-width: 768px) {
  .gnav__inner {
    padding: 20px 64px;
  }

  .worries__title {
    white-space: nowrap;
  }
}

@media (min-width: 769px) {
  .access__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, auto);
  }

  .store {
    display: grid;
    grid-row: span 8;
    grid-template-rows: subgrid;
    gap: 0px;
  }

  .store .btn {
    margin-top: 24px;
  }

  .store__map {
    margin-top: 24px;
  }

  .store__table {
    display: contents;
  }

  .store__row {
    justify-content: center;
    font-size: 16px;
  }

  .store .btn--sm {
    font-size: 16px;
  }

  .gnav__toggle {
    display: none;
  }

  .gnav__list {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 32px;
    max-height: none;
    overflow: visible;
    background: none;
    font-size: 16px;
  }

  .gnav__list__item {
    width: auto;
  }

  .gnav__list a {
    padding: 8px 0;
  }

  .hero {
    min-height: 54vw;
    align-items: center;
  }

  .hero__bg {
    inset: 0 24px;
  }

  .hero__copy {
    padding: 48px 60px;
  }

  .hero__title {
    margin-bottom: 32px;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .section-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
  }

  .section-head--center {
    flex-direction: column;
  }

  .section-head__en {
    font-size: 24px;
  }

  .section-head__ja {
    font-size: 36px;
  }

  .news, .access, .feature, .concept {
    padding: 90px 0;
  }

  .faq {
    padding: 24px 40px;
  }

  .faq .faq__inner {
    padding: 41px 64px;
  }

  .faq__inner {
    column-gap: 32px;
  }

  .faq__inner .section-head {
    margin-bottom: 24px;
  }

  .faq__inner .section-head__en {
    font-size: 30px;
  }

  .faq__inner .btn {
    width: 100px;
    height: 100px;
  }

  .faq__txt {
    font-size: 16px;
  }

  .list-card {
    font-size: 16px;
  }

  .list-card__item {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 28px 32px;
  }

  .webgene-blog {
    font-size: 16px;
  }

  .webgene-item .news_inner {
    flex-direction: row;
    align-items: center;
    padding: 28px 32px;
  }

  .worries::before,
  .worries::after {
    width: clamp(90px, 14vw, 270px);
  }

  .worries__inner {
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .worries__head {
    text-align: left;
  }

  .worries__items {
    justify-items: start;
  }

  .worries__items img:nth-child(2) {
    margin-top: 0;
    justify-self: start;
  }

  .worries__title {
    font-size: 36px;
  }

  .concept .section-head {
    margin-bottom: 80px;
  }

  .concept__grid {
    gap: 80px;
    margin-bottom: 80px;
  }

  .concept-card {
    flex-direction: row;
    align-items: center;
    gap: clamp(32px, 4vw, 80px);
  }

  .concept-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .concept-card__body {
    flex: 1 1 0;
    min-width: 0;
    order: 0;
  }

  .concept-card__media {
    flex: 0 0 51%;
    order: 0;
  }

  .concept .section-head__en {
    font-size: 30px;
  }

  .concept-card__ttl {
    font-size: 32px;
  }

  .concept-card__num {
    font-size: 56px;
  }

  .concept-card__en {
    font-size: 24px;
  }

  .feature__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .feature--reverse .feature__inner {
    flex-direction: row-reverse;
  }

  .feature__media,
  .feature__body {
    flex: 1 1 0;
    min-width: 0;
    order: 0;
  }

  .feature__body {
    gap: 20px;
  }

  .contact__buttons {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    max-width: none;
  }

  .contact-btn {
    flex: 0 1 400px;
  }

  .site-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 16px 40px;
  }
}

/* ==========================================================================
   ブレイクポイント： min-width 1024px（デスクトップ）
   ========================================================================== */
@media (min-width: 1024px) {
  .side-nav {
    flex-direction: column;
    align-items: flex-end;
    left: auto;
    bottom: auto;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: auto;
    gap: 6px;
  }

  .side-nav__item {
    position: relative;
    flex: none;
    width: 94px;
    height: 80px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    justify-content: flex-start;
    padding-left: 32px;
    transition: background-color 0.3s, filter 0.3s, width 0.3s ease, padding-left 0.3s ease, transform 0.3s;
  }

  .side-nav__item:hover {
    width: 220px;
    padding-left: 22px;
  }

  .side-nav__badge {
    display: flex;
    position: absolute;
    top: 0;
    left: -10px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid currentColor;
    font-family: var(--font-roboto);
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .side-nav__item--line .side-nav__badge {
    color: var(--color-line);
  }

  .side-nav__item--reserve .side-nav__badge {
    color: var(--color-main);
  }

  .side-nav__item--reserve2 .side-nav__badge {
    color: #311303;
  }

  .side-nav__icon img {
    width: 30px;
    height: 30px;
  }

  .side-nav__ttl {
    display: block;
    margin-left: 0;
    font-family: var(--font-noto);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease, transform 0.3s ease;
  }

  .side-nav__item:hover .side-nav__ttl {
    opacity: 1;
    max-width: 140px;
    margin-left: 12px;
    transform: translateX(0);
  }

  .section-inner {
    padding: 0 40px;
  }

  .gnav__list {
    gap: 32px;
  }

  .hero__bg {
    inset: 0 35px;
  }

  .hero__copy {
    padding: 64px 130px;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__lead {
    font-size: 24px;
  }

  .hero__lead br {
    display: none;
  }

  .hero__marquee {
    font-size: 60px;
  }

  .btn {
    font-size: 16px;
    padding: 8px 46px 8px 20px;
  }

  .section-head__ja {
    font-size: 32px;
  }

  .news, .access, .feature, .concept {
    padding: 64px 0;
  }

  .faq {
    padding: 120px 40px;
  }


  .concept {
    padding: 96px 0;
  }

  .concept-card__ttl {
    font-size: 40px;
  }

  .concept-card__num {
    font-size: 64px;
  }

  .concept-card__txt {
    font-size: 16px;
  }

  .worries__inner {
    flex-direction: row;
    justify-content: center;
    gap: 64px;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .worries__body {
    flex: 1 1 0;
    min-width: 0;
  }

  .worries__illust {
    flex: 0 0 auto;
    width: clamp(280px, 30vw, 413px);
  }

  .worries__title {
    font-size: clamp(32px, calc((70vw - 144px) / 13.6), 60px);
  }

  .worries__lead {
    font-size: 20px;
  }

  .feature__txt {
    font-size: 16px;
  }

  .contact__inner {
    padding: 80px 40px;
    gap: 32px;
  }

  .contact__txt {
    font-size: 20px;
  }

  .contact-btn {
    height: 100px;
    font-size: 26px;
  }

  .contact-btn span {
    width: 270px;
    text-align: center;
  }

  .contact-btn img {
    width: 35px;
    height: 35px;
  }

}

/* ==========================================================================
   ブレイクポイント： min-width 1280px（大画面）
   ========================================================================== */
@media (min-width: 1280px) {
  .section-head__en {
    font-size: 30px;
  }

  .store__row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }

  .store__row__dt {
    width: 120px;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   ブレイクポイント： min-width 1440px（大画面）
   ========================================================================== */
@media (min-width: 1440px) {
  .hero__title {
    font-size: 90px;
  }

  .worries__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .worries__title {
    font-size: 60px;
  }

  .worries__lead {
    font-size: 26px;
  }

  .section-head__ja {
    font-size: 48px;
  }

  .concept-card__ttl {
    font-size: 48px;
  }

  .concept-card__num {
    font-size: 80px;
  }
}

/* --------------------------------------------------------------------------
   スクロール表示アニメーション（トップページのみ / reveal.js）
   -------------------------------------------------------------------------- */
.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero__title .char,
.hero__lead .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero__title .char.is-inview,
.hero__lead .char.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
