/* ==========================================================================
   THE GENTRY LAB — style.css
   モバイルファースト / 落ち着き・知的・上質・シンプル・清潔感
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f6f5f1;
  --color-text: #1c1c1a;
  --color-text-soft: #55534c;
  --color-navy: #10213c;
  --color-navy-soft: #1c3357;
  --color-gold: #ad8a4a;
  --color-border: #e1ddd2;
  --color-placeholder-bg: #e7e3d9;
  --color-placeholder-text: #9b9585;

  --font-heading: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --header-height: 64px;
  --max-width: 1080px;

  --shadow-card: 0 4px 20px rgba(16, 33, 60, 0.08);
  --radius-card: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  color: var(--color-navy);
}

p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 12px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 20px;
}

/* テキスト中心のセクションは上下の余白をさらに広めにとり、写真セクションとの呼吸感を出す */
#about .section-inner,
#services .section-inner,
#reasons .section-inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.65rem;
  margin-bottom: 20px;
}

.section-lead {
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  border: 1px solid transparent;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.85; }

.btn--line {
  background: var(--color-navy);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--large { padding: 16px 32px; font-size: 1rem; width: 100%; }

.btn--block { width: 100%; }

.section-cta { margin-top: 28px; text-align: center; }

/* ---------- Placeholder image frames ---------- */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-placeholder-bg);
  width: 100%;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame__placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-placeholder-text);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border: 1px dashed var(--color-border);
}
.img-frame--missing img { display: none; }
.img-frame--missing .img-frame__placeholder { display: flex; }

.img-frame--logo { width: 160px; height: 48px; background: transparent; }
.img-frame--logo img { object-fit: contain; object-position: left center; }
.img-frame--logo .img-frame__placeholder {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  justify-content: flex-start;
}

.img-frame--hero { aspect-ratio: 4 / 5; }
.img-frame--16x9 { aspect-ratio: 16 / 9; margin-top: 24px; }
.img-frame--1x1 { aspect-ratio: 1 / 1; flex: 1; }
.img-frame--3x4 { aspect-ratio: 3 / 4; }
.img-frame--2x3 { aspect-ratio: 2 / 3; margin-top: 24px; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.img-frame--2x3 img { object-fit: contain; }
.img-frame--about { aspect-ratio: 3 / 4; border-radius: var(--radius-card); box-shadow: var(--shadow-card); margin-bottom: 24px; }
.img-frame--first-visit { aspect-ratio: 3 / 4; max-width: 220px; margin: 0 auto 28px; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 16px;
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-nav.is-open { transform: translateY(0); opacity: 1; }
.site-nav ul { display: flex; flex-direction: column; gap: 4px; }
.site-nav a { display: block; padding: 12px 8px; font-weight: 500; }
.site-nav a:hover { color: var(--color-navy); }
.site-nav__cta { margin-top: 12px; width: 100%; }

.nav-toggle {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.img-frame--hero { position: relative; }
.img-frame--hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--color-bg) 96%);
  pointer-events: none;
}
.hero__content {
  padding: 20px 20px 40px;
  text-align: center;
}
.hero__title {
  font-size: 2.3rem;
  line-height: 1.4;
  margin-bottom: 14px;
}
.hero__lead {
  color: var(--color-text-soft);
  margin-bottom: 14px;
  /* 「男性専門サロン」等の単語途中で改行されないようにする */
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--color-text-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}
.hero__actions .btn { width: 100%; }

/* ---------- Coupons ---------- */
.coupons { background: var(--color-navy); color: #fff; }
.coupons .section-eyebrow { color: var(--color-gold); }
.coupons .section-title { color: #fff; }
.coupons .section-lead { color: #cfd6e2; }

.coupon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.coupon-card {
  position: relative;
  min-width: 0;
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-card);
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.img-frame--coupon {
  aspect-ratio: 5 / 2;
  width: calc(100% + 40px);
  margin: -28px -20px 20px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

/* 写真付きカードのみ、上下の余白・文字まわりを詰めて縦の圧迫感を減らす */
.coupon-card--photo {
  padding-top: 20px;
  padding-bottom: 18px;
}
.coupon-card--photo .img-frame--coupon {
  margin-top: -20px;
  margin-bottom: 16px;
}
.coupon-card--photo .coupon-card__title {
  margin-bottom: 4px;
}
.coupon-card--photo .coupon-card__desc {
  margin-bottom: 10px;
}
.coupon-card--photo .coupon-card__price {
  margin-bottom: 14px;
}
.coupon-card--photo .coupon-card__price-label {
  margin-bottom: 2px;
}
.coupon-card--photo .btn {
  min-height: 42px;
  padding: 10px 24px;
}
.coupon-card__badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}
.coupon-card__title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.coupon-card__desc {
  color: var(--color-text-soft);
  margin-bottom: 16px;
}
.coupon-card__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-navy);
  font-weight: 700;
  margin-bottom: 20px;
}
.coupon-card__price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 4px;
}
.coupon-card__price-unit { font-size: 1rem; margin-left: 2px; }
.coupon-card .btn { width: 100%; }

/* ---------- Concerns ---------- */
.concerns { background: var(--color-bg-soft); }
.concern-list { display: grid; gap: 12px; }
.concern-list li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  padding: 16px 18px;
  border-radius: 4px;
}

/* ---------- About ---------- */
.about__lead {
  max-width: 640px;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.6;
  margin-bottom: 18px;
  /* 「男性専門サロン」が途中で改行されないようにする */
  word-break: keep-all;
  overflow-wrap: break-word;
}
.about__body {
  max-width: 640px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-soft);
}

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 4px 32px; }
.service-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}
.service-card:last-child { border-bottom: none; padding-bottom: 0; }
.service-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.service-card__desc { color: var(--color-text-soft); }

.card-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gold);
  opacity: 0.85;
  margin-bottom: 10px;
  line-height: 1;
}

/* ---------- Before / After スライダー ---------- */
/* before-after-01.jpg 等は「上半分 = Before / 下半分 = After」を縦に1枚へ
   まとめた既存の合成済み写真のため、新しい画像を作らずに同じ画像を2つの枠へ
   配置し、object-position の top / bottom で上下半分だけを切り出して
   左右比較として表示する。 */
.ba-slider { position: relative; margin: 0 -20px; }

.ba-slider__viewport {
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.ba-slider__viewport:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.ba-slider__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.ba-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 4px;
  box-sizing: border-box;
}

.ba-slide__pair {
  display: flex;
  gap: 8px;
}

.ba-photo { flex: 1 1 0; min-width: 0; margin: 0; }

.ba-photo__tag {
  display: block;
  margin-bottom: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
}
.ba-photo--after .ba-photo__tag { color: var(--color-gold); }

/* object-fit:cover は <img> に読み込まれた「合成済み1枚の全体」を基準に
   拡大縮小するため、枠のアスペクト比が対応していないと BEFORE/AFTER の
   境界からはみ出して隣側が帯状に混ざる。
   元画像は4枚とも幅:高さ = 3:4 (0.75) で統一されているため、
   歪みなく・混ざりなく上下50%ずつを切り出せる枠比率は
   「2 × 0.75 = 1.5」= 3:2 のみ。この値だけを使用すること。 */
.img-frame--ba { aspect-ratio: 3 / 2; border-radius: 4px; }
.ba-photo--before .img-frame--ba img { object-position: top; }
.ba-photo--after .img-frame--ba img { object-position: bottom; }

.before-after-item__caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-text-soft);
  opacity: 0.8;
}

.ba-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.ba-slider__dot {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ba-slider__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.2s ease, transform 0.2s ease;
}
.ba-slider__dot.is-active::after {
  background: var(--color-navy);
  transform: scale(1.35);
}
.ba-slider__dot:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.ba-slider__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin-top: 4px;
}
.ba-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-navy);
  background: #fff;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.ba-slider__arrow:hover { background: var(--color-navy); color: #fff; }
.ba-slider__arrow:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ba-slider__track { transition: none; }
}

/* タブレット以上ではフルブリードをやめ、中央寄せで持て余しすぎない幅に収める */
@media (min-width: 600px) {
  .ba-slider { margin: 0 auto; max-width: 520px; }
  .ba-slide__pair { gap: 16px; }
}
@media (min-width: 960px) {
  .ba-slider { max-width: 620px; }
}

/* 「選ばれる」が単語途中で改行されないようにする。<br class="reasons-title__break"> と
   併用し、375pxでは「選ばれる」の直後、それ以外の折り返しなしで改行させる */
#reasons .section-title {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---------- Results ---------- */
.results { background: var(--color-navy); color: #fff; text-align: center; }
.results .section-title { color: #fff; }
.stat-grid { display: grid; gap: 24px; }
.stat-block__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-gold);
  font-weight: 700;
  line-height: 1;
}
.stat-block__unit { font-size: 1.2rem; margin-left: 4px; }
.stat-block__label { margin-top: 8px; color: #cfd6e2; }

/* ---------- Reasons ---------- */
.reason-list { display: grid; gap: 4px 32px; }
.reason-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  /* grid item のデフォルト min-width:auto のままだと、keep-all で
     増加したテキストの最小内容幅がグリッド列を押し広げてしまうため */
  min-width: 0;
}
.reason-item:last-child { border-bottom: none; padding-bottom: 0; }
.reason-item__title { font-size: 1.2rem; margin-bottom: 8px; }
.reason-item__desc {
  color: var(--color-text-soft);
  /* 「施術実績」等の熟語が途中で改行されないようにする */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---------- First visit ---------- */
.first-visit__body { max-width: 640px; color: var(--color-text-soft); margin-bottom: 32px; }
.flow-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.flow-step__num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.first-visit__note { color: var(--color-text-soft); font-size: 0.9rem; }

/* ---------- Menu / Price ---------- */
.menu { background: var(--color-bg-soft); }
.menu-category {
  position: relative;
  margin-bottom: 24px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
}
.menu-category--featured {
  border-top: 3px solid var(--color-gold);
}
.menu-category__badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: #fff;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 999px;
}
.menu-category__title {
  font-size: 1.05rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-gold);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 12px 4px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  line-height: 1.5;
  /* メニュー名・価格とも、単語やカタカナ語・数字と単位の途中で
     不自然に改行されないよう、CJKの折り返しは意味の区切り(空白等)
     でのみ行う。収まらない場合のみ overflow-wrap で最終防御する。 */
  word-break: keep-all;
  overflow-wrap: break-word;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table th { color: var(--color-text-soft); font-weight: 500; white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { width: 58%; }
.price-table th:last-child, .price-table td:last-child { width: 42%; }

/* 歯のセルフホワイトニングはメニュー名が短く(美容/医療)価格帯の文字数が
   多いため、この表だけ価格側の列幅を広げて折り返しを減らす */
.price-table--wide-price th:first-child, .price-table--wide-price td:first-child { width: 30%; }
.price-table--wide-price th:last-child, .price-table--wide-price td:last-child { width: 70%; }
.price-table td:last-child { color: var(--color-navy); font-weight: 700; }
.menu-category__note { margin-top: 16px; font-size: 0.9rem; }
.menu-category__note a { color: var(--color-navy); font-weight: 700; text-decoration: underline; }
.menu-category--featured .price-table td:last-child { font-size: 1.05rem; }
/* セットメニューはメニュー名が長文(説明の括弧書きを含む)な一方、
   価格は短い(〜12,580円)ため、名前側の列幅を広げて折り返しを減らす */
.menu-category--featured .price-table th:first-child,
.menu-category--featured .price-table td:first-child { width: 72%; }
.menu-category--featured .price-table th:last-child,
.menu-category--featured .price-table td:last-child { width: 28%; }
.menu__note {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin: 20px 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.menu__line-note { color: var(--color-text-soft); font-size: 0.9rem; margin: 0 0 14px; }

/* ---------- Voice ---------- */
.voice-list { display: grid; gap: 20px; }
.voice-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
  background: #fff;
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.voice-card::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--color-bg-soft);
  line-height: 1;
  z-index: 0;
}
.voice-card__stars, .voice-card__age, .voice-card__text { position: relative; z-index: 1; }
.voice-card__stars { color: var(--color-gold); font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 6px; }
.voice-card__age { font-size: 0.8rem; color: var(--color-text-soft); margin-bottom: 8px; }
.voice-card__text { line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 4px 20px;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: 0 8px 28px rgba(16, 33, 60, 0.12); }
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--color-gold);
  display: inline-block;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--color-text-soft); padding-bottom: 18px; }

/* ---------- Access ---------- */
.access-list { display: grid; gap: 14px; margin-bottom: 20px; }
.access-list__row {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}
.access-list__row dt { font-size: 0.8rem; color: var(--color-text-soft); }
.access-list__row dd { margin: 0; font-weight: 500; }
.access-list__row a { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--color-navy); color: #fff; text-align: center; }
.final-cta__title { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.final-cta__lead { color: #cfd6e2; margin-bottom: 24px; }
.final-cta .btn { max-width: 320px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1729; color: #cfd6e2; padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
.site-footer .section-inner { padding: 40px 20px; text-align: center; }
.site-footer__name {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.site-footer__address, .site-footer__tel { margin-bottom: 6px; font-size: 0.85rem; }
.site-footer__tel a { text-decoration: underline; }
.site-footer__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
  font-size: 0.85rem;
}
.site-footer__nav a { text-decoration: underline; }

/* ---------- Floating LINE bar (mobile) ---------- */
.floating-line {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -4px 16px rgba(16, 33, 60, 0.10);
}
.floating-line .btn {
  min-height: 44px;
  border-radius: var(--radius-card);
}

/* スマートフォン（599px以下）は必ず1列表示にする */
@media (max-width: 599px) {
  .coupon-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */
@media (min-width: 600px) {
  .coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); max-width: 480px; margin: 0 auto; }
  .reason-list { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: row; }
}

/* タブレット幅（960px未満）では、フルブリードの4:5写真が縦に長くなりすぎるため
   高さを抑えたアスペクト比に切り替える */
@media (min-width: 600px) and (max-width: 959px) {
  .img-frame--hero { aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   Desktop and up
   ========================================================================== */
@media (min-width: 960px) {
  :root { --header-height: 76px; }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    transform: none;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .site-nav ul { flex-direction: row; gap: 8px; }
  .site-nav a { padding: 8px; font-size: 0.9rem; }
  .site-nav__cta { margin-top: 0; width: auto; }

  .hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    max-width: var(--max-width);
    margin: 40px auto;
    gap: 48px;
  }
  .hero__content { text-align: left; padding: 40px 0; display: flex; flex-direction: column; justify-content: center; }
  .hero__title { font-size: 2.6rem; }
  .hero__actions { max-width: none; }
  .hero__actions .btn { width: auto; }
  .img-frame--hero { aspect-ratio: 4 / 5; border-radius: 6px; }
  .img-frame--hero::after { display: none; }

  .coupon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .floating-line { display: none; }

  .site-footer { padding-bottom: 0; }

  .section-title { font-size: 1.9rem; }
}
