/* ===========================
   YOHAKU LP — base styles
   =========================== */

:root {
  --bg-base:     #FFFFFF;
  --bg-surface:  #F7F7F7;
  --border:      #F2F2F2;
  --text-main:   #666666;
  --text-sub:    #B1B1B1;
  --gold:        #BAA05F;
  --gold-light:  #CCB887;
  --gold-dark:   #A98A3E;

  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  /* hidden はスクロールコンテナ化して position:sticky を壊すうえ、
     body だけに指定しても iOS Safari の横パンを止められない。
     html と body の両方に clip を指定する */
  overflow-x: clip;
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  /* width/height 属性（CLS対策の領域確保）を付けても縦横比が崩れないように。
     CSS側で height を明示している箇所（.service-item-photo img など）はそちらが優先される */
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

h2 { font-size: 26px; }
h3 { font-size: 19px; }

p { margin: 0; }

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

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.inner.narrow {
  max-width: 720px;
}

.section {
  padding: 88px 0;
}

.section-surface {
  background: var(--bg-surface);
}

/* reasons セクションだけ、背景グレーの開始位置を "Reasons" ラベルの縦中央に合わせる */
#reasons {
  position: relative;
  background: var(--bg-base);
}

#reasons::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 118px;
  bottom: 0;
  background: var(--bg-surface);
  z-index: 0;
}

#reasons > .inner {
  position: relative;
  z-index: 1;
}

#scenes {
  padding-top: 160px;
}

#faq {
  padding-top: 160px;
}

#pricing {
  padding-top: 160px;
  padding-bottom: 168px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 104px;
}

.section-head h2 {
  font-size: 36px;
  margin-top: 24px;
  margin-bottom: 70px;
}

/* ---------- 英日2段見出し ---------- */
.section-heading {
  position: relative;
  text-align: center;
  margin-bottom: 16px;
}

.en-label {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin: 0 0 4px;
}

.ja-label {
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

.lead-text {
  font-size: 15.5px;
  color: #555;
  line-height: 2.2;
}

.lead-serif {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
}

.body-text {
  font-size: 16px;
  margin-bottom: 18px;
}

.body-text:last-child { margin-bottom: 0; }

.emphasis {
  font-weight: 700;
  color: var(--gold);
}

.section-closing {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
  font-size: 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--gold);
  line-height: 1.95;
}

#empathy .section-closing {
  color: var(--text-main);
  margin-top: 104px;
}

#empathy .section-closing .gold-text {
  color: var(--gold);
}

#reasons .section-closing {
  color: var(--text-main);
}

#reasons .section-closing .gold-text {
  color: var(--gold);
}

#scenes .section-closing {
  color: var(--text-main);
  margin-top: 120px;
}

#scenes .section-closing .gold-text {
  color: var(--gold);
}

.brand-closing {
  position: relative;
  max-width: 640px;
  margin: 64px auto 0;
  padding: 64px 56px;
  text-align: center;
}

.brand-closing-leaf {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 36px;
  margin: 0 auto 24px;
  display: block;
}

.brand-closing-leaf path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.brand-closing-text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-main);
  line-height: 2.05;
}

.brand-closing-text .emphasis {
  font-weight: 700;
  color: var(--gold);
}

.brand-closing-divider {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 10px;
  margin: 32px auto 0;
  display: block;
}

.brand-closing-divider line {
  stroke: var(--gold-light);
  stroke-width: 1;
}

.brand-closing-divider rect {
  fill: var(--gold-light);
}

@media (max-width: 860px) {
  .brand-closing {
    padding: 48px 28px;
  }
}

.brand-block {
  max-width: 720px;
  margin: 48px auto 0;
}

.brand-block h3 {
  margin-bottom: 16px;
  color: var(--gold);
}

#brand .brand-block {
  text-align: center;
}

#brand .brand-block h3 {
  font-size: 26px;
}

#compare .brand-block h3 {
  text-align: center;
}

/* ---------- フェードイン ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}

.logo-group {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-img {
  display: block;
  align-self: flex-start;
  margin-bottom: 4px;
  /* 高さ固定だと、親幅で max-width に頭打ちされたとき横だけ潰れる。
     幅基準＋height:auto なら狭い画面でも比率を保ったまま縮む */
  width: min(100%, 189px);
  height: auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.logo-yohaku {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--gold);
  margin-left: 8px;
  letter-spacing: 0.1em;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-size: 13.5px;
  color: var(--text-main);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-nav a:hover { color: var(--gold); }

.mobile-menu-links {
  display: none;
}

/* コンセプトのホバードロップダウン（デスクトップ） */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  min-width: 168px;
  background: #fff;
  border: 1px solid rgba(186, 160, 95, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
  z-index: 20;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  white-space: nowrap;
  text-align: left;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-cta {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: 2px;
  background: var(--gold);
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.header-cta:hover { background: var(--gold-dark); }

.header-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(185, 153, 88, 0.45);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  cursor: pointer;
}

.header-menu-button span {
  width: 18px;
  height: 1px;
  background: var(--text-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-menu-open .header-menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .header-menu-button span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .header-menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main { padding-top: 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 52px;
  padding: 0 16px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-align: center;
}

.btn-primary {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
  background: #fff;
  color: var(--gold);
}

.btn-large {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 18px 52px;
  font-size: 14px;
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

#founder .founder-body .btn-outline {
  background: var(--gold);
  color: #fff;
}

#founder .founder-body .btn-outline:hover {
  background: transparent;
  color: var(--gold);
}

.link-sub {
  display: inline-block;
  margin-top: 30px;
  font-size: 13px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* トップページのみ: ヒーローを画面上部に留め、下のセクションが上に重なってくる演出。
   fixed ではなく sticky を使う。fixed は横スクロールに追従しないため、
   横に少しでもズレるとヒーローが横から露出してしまう（スマホでの「左右のブレ」の原因）。
   sticky は横方向は通常フローと一緒に動くので、この露出が起きない。 */
#hero {
  position: sticky;
  top: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* 下層ページ用: hero-bg 直下の素のimgにも全面カバーを適用 */
.hero-bg > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 2s ease, transform 7.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-01,
.hero-slide-03,
.hero-slide-04,
.hero-slide-05 {
  object-position: center center;
}

.hero-slide-02 {
  object-position: left center;
  transform: scale(1.025) scaleX(-1);
}

.hero-slide-02.is-active {
  transform: scale(1) scaleX(-1);
}

/* 601〜700pxでは、右側にある人物や主役を見切れにくくするため全FV写真を大きく左へ寄せる */
@media (min-width: 601px) and (max-width: 700px) {
  .hero-slide {
    object-position: 72% center;
  }

  /* 2枚目は左右反転しているため、同じ基準点にすると人物が画面外へ出る */
  .hero-slide-02 {
    object-position: left center;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(252, 248, 239, 0.18) 0%, rgba(252, 248, 239, 0.08) 36%, rgba(252, 248, 239, 0) 72%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 640px;
  margin: 0 0 0 120px;
  padding: 32px 40px 64px;
  background: rgba(255, 255, 255, 0.55);
}

/* 中間幅(861〜1300px)だけ、ヘッダーの詰まりとヒーロー右側の欠けを緩和 */
@media (min-width: 861px) and (max-width: 1300px) {
  .site-header .inner {
    padding-left: 20px;
    padding-right: 20px;
    gap: 16px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a {
    font-size: 12.5px;
  }

  .logo-sub {
    display: none;
  }

  .hero-inner {
    margin-left: max(24px, calc((100vw - 1080px) / 2));
  }
}

@media (max-width: 1100px) {
  .site-header {
    background: rgba(255, 255, 255, 0.72);
  }

  .site-header.is-menu-open {
    background: rgba(255, 255, 255, 0.94);
    height: 100vh;
  }

  .site-header .inner {
    position: relative;
    z-index: 2;
    gap: 12px;
    height: 72px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-group {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo-sub {
    display: none;
  }

  .header-nav {
    position: absolute;
    top: 0;
    /* 100vw はスクロールバー幅を含み横溢れの原因になる。
       閉じている時（visibility:hidden）もレイアウト幅は残るため、
       基準を .site-header（position:fixed / left:0 / right:0）側に寄せる */
    left: 0;
    right: 0;
    width: auto;
    height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 36vw) minmax(0, 1fr);
    align-content: stretch;
    gap: clamp(32px, 4vw, 64px);
    padding: 72px clamp(28px, 5vw, 72px) 0 0;
    background: #f7f4ee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-22px) scale(0.975);
    transform-origin: top center;
    pointer-events: none;
    transition:
      opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.72s;
    overflow-y: auto;
    z-index: 1;
  }

  .header-nav::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    min-height: calc(100vh - 72px);
    background:
      linear-gradient(rgba(255, 248, 236, 0.1), rgba(255, 248, 236, 0.1)),
      url("assets/generated/hero-fv-gold/hero-yohaku-01.webp") 72% center / cover no-repeat;
    opacity: 0;
    transform: translateX(-28px) scale(1.06);
    transition:
      opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
      transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  }

  .site-header.is-menu-open .header-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.is-menu-open .header-nav::before {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  .header-nav a {
    width: 100%;
    min-height: 86px;
    padding: 22px 0 16px;
    text-align: left;
    font-family: var(--font-serif);
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0.08em;
    border-top: 1px solid rgba(92, 82, 67, 0.42);
    border-bottom: 0;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s ease;
  }

  /* PC用ナビは閉じ、モーダル用に整理したリンクだけを表示する */
  .header-nav > a,
  .header-nav > .nav-dropdown {
    display: none;
  }

  .mobile-menu-links {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    column-gap: clamp(24px, 3.5vw, 52px);
    row-gap: 0;
    padding: clamp(34px, 7vh, 92px) 0 clamp(40px, 7vh, 76px);
  }

  .header-nav .mobile-menu-links a {
    display: block;
    min-height: 74px;
    padding: 15px 0 13px;
    font-family: var(--font-serif);
    font-size: clamp(17px, 1.75vw, 22px);
    letter-spacing: 0.08em;
    text-align: left;
    border-top: 1px solid rgba(92, 82, 67, 0.42);
    color: var(--text-main);
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s ease;
  }

  .header-nav .mobile-menu-links a span {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--gold);
  }

  /* 以前は1行目に並ぶコンセプト系2件（コンセプト・想い／選ばれる理由）を
     区切るための余白を入れていたが、「選ばれる理由」ページの削除により
     1行目が「コンセプト・想い＋サービス」となり区切る意味がなくなったため撤去。
     現在は全項目を均等な間隔で並べる */

  .header-nav .mobile-menu-links a::before {
    content: none;
    display: none;
  }

  .site-header.is-menu-open .header-nav .mobile-menu-links a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(1) { transition-delay: 0.08s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(2) { transition-delay: 0.12s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(3) { transition-delay: 0.16s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(4) { transition-delay: 0.20s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(5) { transition-delay: 0.24s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(6) { transition-delay: 0.28s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(7) { transition-delay: 0.32s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(8) { transition-delay: 0.36s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(9) { transition-delay: 0.40s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(10) { transition-delay: 0.44s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(11) { transition-delay: 0.48s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(12) { transition-delay: 0.52s; }
  .site-header.is-menu-open .header-nav .mobile-menu-links a:nth-child(13) { transition-delay: 0.56s; }

  .site-header.is-menu-open .header-nav a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-menu-open .header-nav a:nth-child(3) { transition-delay: 0.24s; }
  .site-header.is-menu-open .header-nav a:nth-child(4) { transition-delay: 0.28s; }
  .site-header.is-menu-open .header-nav a:nth-child(5) { transition-delay: 0.32s; }
  .site-header.is-menu-open .header-nav a:nth-child(6) { transition-delay: 0.36s; }
  .site-header.is-menu-open .header-nav a:nth-child(7) { transition-delay: 0.4s; }
  .site-header.is-menu-open .header-nav a:nth-child(8) { transition-delay: 0.44s; }

  .site-header:not(.is-menu-open) .header-nav a {
    transition-delay: 0s;
  }

  .header-nav a:last-child {
    border-bottom: 0;
  }

  .header-nav a::before {
    content: "";
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--text-sub);
  }

  .header-nav a:nth-child(3)::before { content: "Voice"; }
  .header-nav a:nth-child(4)::before { content: "Flow"; }
  .header-nav a:nth-child(5)::before { content: "Price"; }
  .header-nav a:nth-child(6)::before { content: "Story"; }
  .header-nav a:nth-child(7)::before { content: "Gift"; }
  .header-nav a:nth-child(8)::before { content: "FAQ"; }

  /* コンセプト／サービスのドロップダウンはモバイルではフラット化して各2項目を表示 */
  .nav-dropdown,
  .nav-dropdown-menu {
    display: contents;
  }

  .nav-dropdown-trigger {
    display: none;
  }

  .nav-dropdown--concept .nav-dropdown-menu a:nth-child(1)::before { content: "Concept"; }
  .nav-dropdown--concept .nav-dropdown-menu a:nth-child(2)::before { content: "Reasons"; }
  .nav-dropdown--service .nav-dropdown-menu a:nth-child(1)::before { content: "Service"; }
  .nav-dropdown--service .nav-dropdown-menu a:nth-child(2)::before { content: "Scene"; }
  .nav-dropdown--service .nav-dropdown-menu a:nth-child(3)::before { content: "Case"; }
  .nav-dropdown--service .nav-dropdown-menu a:nth-child(4)::before { content: "Compare"; }
  .nav-dropdown--service .nav-dropdown-menu a:nth-child(5)::before { content: "Area"; }

  .site-header.is-menu-open .nav-dropdown--concept .nav-dropdown-menu a:nth-child(1) { transition-delay: 0.08s; }
  .site-header.is-menu-open .nav-dropdown--concept .nav-dropdown-menu a:nth-child(2) { transition-delay: 0.12s; }
  .site-header.is-menu-open .nav-dropdown--service .nav-dropdown-menu a:nth-child(1) { transition-delay: 0.16s; }
  .site-header.is-menu-open .nav-dropdown--service .nav-dropdown-menu a:nth-child(2) { transition-delay: 0.2s; }
  .site-header.is-menu-open .nav-dropdown--service .nav-dropdown-menu a:nth-child(3) { transition-delay: 0.24s; }
  .site-header.is-menu-open .nav-dropdown--service .nav-dropdown-menu a:nth-child(4) { transition-delay: 0.28s; }
  .site-header.is-menu-open .nav-dropdown--service .nav-dropdown-menu a:nth-child(5) { transition-delay: 0.32s; }

  /* 指で押す領域を44px確保する（Apple/Google とも44px以上を推奨）。
     文字も13pxを下限に揃える */
  .header-cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .header-menu-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
  }

  @media (prefers-reduced-motion: reduce) {
    .header-nav,
    .header-nav::before,
    .header-nav a {
      transition: none;
      transform: none;
    }
  }
}

@media (max-width: 700px) {
  .site-header .inner {
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-yohaku {
    margin-left: 6px;
  }

  .logo-img {
    width: min(100%, 161px);
    margin-bottom: 0;
  }

  .header-cta {
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: 0.01em;
  }

  .header-menu-button {
    width: 44px;
    height: 44px;
  }

  .header-nav {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
    /* left の負値はビューポート幅を超えて横溢れの原因になるため 0 に揃える */
    left: 0;
    padding: 88px 28px 40px;
  }

  .header-nav::before {
    display: none;
  }

  .mobile-menu-links {
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    padding: 0;
  }

  .header-nav .mobile-menu-links a {
    min-height: 0;
    padding: 14px 0 12px;
    text-align: center;
    font-size: 19px;
  }

  .header-nav .mobile-menu-links a span {
    margin-bottom: 5px;
    font-size: 13px;
  }

  .header-nav a {
    min-height: 0;
    padding: 18px 0 14px;
    text-align: center;
    font-size: 20px;
  }
}

@media (max-width: 860px) {
  .hero-inner {
    margin-left: 0;
  }
}

/* 下層ページ（ギフト）ヒーローのコンテンツ */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 640px;
  margin: 0 0 0 120px;
  padding-bottom: 64px;
}

.hero-content .section-heading {
  text-align: left;
}

.hero-content .gold-line {
  margin: 0;
}

.hero-content .hero-copy {
  font-size: 34px;
  margin-bottom: 20px;
}

.hero-content .hero-cta {
  margin-top: 8px;
}

.hero-inner .section-heading {
  text-align: left;
}

.hero-inner .ja-label {
  color: var(--text-main);
}

.hero-inner .gold-line {
  margin: 0;
}

/* 狭い画面ではヒーローのコピーを画面中央に置く。
   .hero-inner .section-heading / .gold-line の左寄せ指定を上書きする必要があるため、
   それらより後ろ（＝カスケードで勝つ位置）にこのブロックを置いている */
@media (max-width: 860px) {
  /* .hero は justify-content: flex-start なので margin auto で中央に寄せる */
  .hero-inner {
    margin: 0 auto;
    text-align: center;
  }

  .hero-inner .section-heading {
    text-align: center;
  }

  .hero-inner .gold-line {
    margin: 0 auto;
  }

  /* display: block のため text-align では中央にならない */
  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 22px;
}

.hero-copy-wrap {
  position: relative;
}

.hero-line {
  position: absolute;
  top: -14px;
  left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 28px);
  pointer-events: none;
  z-index: 1;
}

.hero-line path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.8s ease 0.3s;
}

.fade-in.is-visible .hero-line path {
  stroke-dashoffset: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-main);
}

.hero-logo {
  display: block;
  margin-top: 16px;
  width: min(100%, 454px);
  height: auto;
}

/* ファーストビュー: 共感→「全部、まかせてください。」の常設メッセージ */
.hero-fv-message {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text-main);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.8s ease 1.3s, transform 1.8s ease 1.3s;
}

.fade-in.is-visible .hero-fv-message {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  .hero-fv-message {
    font-size: 13.5px;
  }
  .hero-fv-message .fv-break {
    display: block;
  }
}

/* ---------- オープニング ---------- */
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.9s ease;
}

.opening.is-done {
  opacity: 0;
  pointer-events: none;
}

body.opening-lock {
  overflow: hidden;
}

.opening-inner {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 0 24px;
}

/* ①〜③: 縦に積み重なって順に現れ、2.5秒まで全員残る */
.opening-lines {
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.8s ease;
}

.opening-lines.is-off {
  opacity: 0;
}

.opening-line {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--text-main);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

/* ④: ①〜③が消えたあと中央にふわっと */
.opening-final {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(calc(-50% + 14px));
  opacity: 0;
  transition: opacity 1.6s ease, transform 1.6s ease;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--text-main);
  line-height: 2.1;
  pointer-events: none;
}

.opening-final span {
  display: inline-block;
  margin-top: 6px;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-dark, var(--gold));
}

.opening-line.is-on {
  opacity: 1;
  transform: none;
}

.opening-final.is-on {
  opacity: 1;
  transform: translateY(-50%);
}

@media (max-width: 600px) {
  .opening-line { font-size: 16px; }
  .opening-final { font-size: 14.5px; }
  .opening-final span { font-size: 20px; }
}

.hero-sub {
  font-size: 15px;
  color: #4a4a4a;
  max-width: 560px;
  margin: 0 0 24px;
  line-height: 2.4;
}

.hero-sub-lead {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: #333;
  line-height: 1.7;
  margin-top: 24px;
  margin-bottom: 70px;
}

.hero-sub-lead .gold-text {
  color: var(--gold);
}

.about-mobile-break {
  display: none;
}

.hero-sub-detail {
  display: block;
  font-size: 15px;
  color: #4a4a4a;
  line-height: 2.1;
}

@media (max-width: 700px) {
  .hero-sub-lead {
    font-size: 24px;
  }
}

/* Aboutの主見出しだけが601pxで急に小さくならないよう、中間幅では他の見出しに合わせて保つ */
@media (min-width: 601px) and (max-width: 700px) {
  .hero-sub-lead {
    font-size: 32px;
  }
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 20px;
  margin-bottom: 26px;
  max-width: 480px;
  transition: border-color 0.2s ease;
}

.hero-highlight:hover { border-color: var(--gold); }

.hero-highlight-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.hero-highlight-note {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
  flex: 1;
}

.hero-highlight-arrow {
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.approach-scatter {
  position: relative;
  width: 100%;
  max-width: 610px;
  height: 1400px;
  margin: 8px 0 32px;
}

.approach-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.approach-line path {
  fill: none;
  stroke: var(--gold);
  stroke-opacity: 0.6;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 8s ease 0.2s;
}

.fade-in.is-visible .approach-line path {
  stroke-dashoffset: 0;
}

.approach-item {
  position: absolute;
  width: 520px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  z-index: 1;
  opacity: 0;
  transform: scale(0.92) translateY(14px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.approach-item-1 { left: 15px; top: 15px; width: 580px; }
.approach-item-2 { left: 75px; top: 355px; flex-direction: row-reverse; }
.approach-item-3 { left: 15px; top: 695px; }
.approach-item-4 { left: 75px; top: 1035px; flex-direction: row-reverse; }

.approach-text { text-align: left; }

.fade-in.is-visible .approach-item-1 { opacity: 1; transform: none; transition-delay: 0s; }
.fade-in.is-visible .approach-item-2 { opacity: 1; transform: none; transition-delay: 2.6s; }
.fade-in.is-visible .approach-item-3 { opacity: 1; transform: none; transition-delay: 3.6s; }
.fade-in.is-visible .approach-item-4 { opacity: 1; transform: none; transition-delay: 4.6s; }

.approach-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 0;
  flex-shrink: 0;
}

.approach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.approach-text {
  position: relative;
  z-index: 2;
  flex: 1;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.8;
  white-space: nowrap;
}

/* 701-860px は散らしレイアウトを維持しつつ、写真を280→240pxに絞って横幅を確保する。
   横並びに必要な幅 = 左15px + 写真 + 余白28px + nowrapテキスト284px。
   写真280pxのままだと701pxで約12px足りずテキストが右に見切れる */
@media (min-width: 701px) and (max-width: 860px) {
  /* 親（.hero-message-intro）は画面中央に置かれるが、親の幅は左カラム幅のまま。
     散らしは設計上の610pxキャンバスを保ったまま親の中央に置くことで、
     中身（左15px〜右595px）がそのまま画面中央に来る */
  .approach-scatter {
    width: 610px;
    max-width: none;
    margin-left: calc((100% - 610px) / 2);
    margin-right: 0;
  }

  .approach-line {
    left: 50%;
    width: 610px;
    max-width: 100%;
    transform: translateX(-50%);
  }

  .approach-photo {
    width: 240px;
    height: 240px;
  }

  .approach-item-1,
  .approach-item-3 {
    left: 15px;
  }

  .approach-item-2,
  .approach-item-4 {
    left: 75px;
  }
}

/* 601-700px は写真を絞っても横並びに必要な幅が取れない
   （実測: 使えるカラム幅は601pxで413px、700pxで490px）。
   600px以下と同じ縦積みにして中央に寄せる */
@media (min-width: 601px) and (max-width: 700px) {
  .approach-scatter {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
    max-width: min(100%, 420px);
    margin: 8px auto 32px;
  }

  .approach-item,
  .approach-item-2,
  .approach-item-4 {
    position: static;
    width: auto;
    flex-direction: column;
    gap: 14px;
  }

  .approach-photo {
    margin: 0 auto;
  }

  .approach-item .approach-text {
    text-align: center;
  }

  /* 散らし配置を前提にした接続線は縦積みでは成立しない */
  .approach-line {
    display: none;
  }
}

@media (max-width: 600px) {
  .approach-scatter {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 320px;
    margin: 8px auto 32px;
  }
  .approach-item,
  .approach-item-2,
  .approach-item-4 {
    position: static;
    width: auto;
    flex-direction: column;
    gap: 12px;
  }
  .approach-photo {
    margin: 0 auto;
  }
  .approach-item-1 .approach-text,
  .approach-item-2 .approach-text,
  .approach-item-3 .approach-text,
  .approach-item-4 .approach-text {
    text-align: center;
  }
  .approach-line {
    display: none;
  }
}

.hero-cta-note {
  font-size: 13px;
  color: #6a6a6a;
  margin-top: 28px;
  line-height: 1.8;
}

/* ---------- ステートメント（写真コラージュ＋縦書き） ---------- */
.statement {
  position: relative;
  padding: 100px 0 80px;
  background: var(--bg-base);
  /* statement-blobの右はみ出しがタブレット幅で水平オーバーフローになるのを遮断。
     hidden はスクロールコンテナ化して sticky を壊すため clip を使う */
  overflow-x: clip;
}

/* #hero が sticky になり自身の 80vh がフローの余白になるため、margin-top は不要 */
.page-content {
  position: relative;
  z-index: 1;
  background: var(--bg-base);
}

/* お客様の声＋ご利用の流れセクションで、固定背景の写真をごく薄く覗かせる */
/* 2セクションにまたがる継ぎ目の線を防ぐため、背景画像は.voices-flow-bg-wrap側で1枚だけ描画する */
.voices-flow-bg-wrap {
  position: relative;
  /* 中の要素の重なり順をこの中に閉じ込める */
  isolation: isolate;
  /* sticky な背景は margin の相殺により、セクション下端から最大1画面ぶん
     はみ出して次のセクションにかぶる。ここで断ち切る。
     hidden はスクロールコンテナ化して sticky を壊すため clip を使う */
  overflow: clip;
}

/* 背景写真。以前は親に background-attachment: fixed を指定していたが、
   iOS Safari は非対応、Chrome for Android は性能上の理由で意図的に無効化しており、
   どちらも scroll 相当に落ちる。すると背景の基準が画面から要素（高さ約2,945px）に変わり、
   background-size: cover が画像を3.27倍に拡大するため、横の7%しか映らず白一色に見えていた。
   画面の高さぶんの要素を sticky で貼り付けることで、全端末で fixed と同じ見え方にする。
   margin-bottom の負値でレイアウト上の高さを打ち消している */
.voices-flow-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-bottom: -100vh;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url('assets/generated/hero-fv-gold/hero-yohaku-01.webp');
  background-size: cover;
  background-position: center;
}

/* 背景より前に出す */
.voices-flow-bg-wrap > section {
  position: relative;
  z-index: 1;
}

/* 小型幅では背景写真の右側にいる赤ちゃんの顔を見せる */
@media (max-width: 700px) {
  .voices-flow-bg {
    background-position: right center;
  }
}

@media (max-width: 600px) {
  .voices-flow-bg {
    /* 見出し付近に赤ちゃんの顔が出るよう、写真だけを上へ移動する */
    top: 0;
    height: 100vh;
    margin-bottom: -100vh;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
      url('assets/generated/hero-fv-gold/hero-yohaku-01.webp');
    background-size: cover, auto 85%;
    background-position: center, right center;
    background-repeat: no-repeat;
    background-color: #fbf8f2;
  }

  /* 見出しとカードの間に写真が見える余白を確保する */
  #voices .voice-list {
    margin-top: 144px;
  }
}

#voices {
  position: relative;
  padding-top: 160px;
}

.statement-grid {
  display: grid;
  grid-template-columns: 4fr 1fr;
  align-items: stretch;
  gap: 24px;
}

.statement-main {
  min-width: 0;
}

.statement-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 56px;
}

.statement-blob {
  position: absolute;
  top: 40%;
  right: -60px;
  width: 340px;
  height: 340px;
  background: var(--bg-surface);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.statement-photo {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.statement-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.statement-photo-1 {
  grid-column: 1;
  aspect-ratio: 4 / 5;
  margin-top: 70px;
  transform: translateY(40px);
}

.statement-photo-2 {
  grid-column: 2;
  aspect-ratio: 3 / 4;
}

.statement-photo-3 {
  grid-column: 1 / span 2;
  width: 62%;
  margin-left: 34%;
  margin-top: -8px;
  aspect-ratio: 5 / 4;
}

.statement-sticky {
  position: relative;
}

.statement-text {
  position: sticky;
  top: 112px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.statement-cta {
  display: inline-block;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  margin-bottom: 40px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.statement-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.statement-copy {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.statement-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-block-end: 18px;
}

.statement-ja {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.9;
  color: var(--text-main);
}

@media (max-width: 860px) {
  .statement {
    padding: 72px 0 64px;
  }
  .statement-grid {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.28fr);
    align-items: start;
    gap: 24px;
  }
  .statement-visual {
    grid-template-columns: 0.9fr 0.72fr;
    gap: 18px;
    margin-bottom: 0;
    padding-top: 10px;
  }
  .statement-blob {
    width: 210px;
    height: 210px;
    top: 48%;
    right: -24px;
    opacity: 0.72;
  }
  .statement-photo {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  }
  .statement-photo-1 {
    aspect-ratio: 4 / 5;
    margin-top: 96px;
    transform: none;
  }
  .statement-photo-2 {
    aspect-ratio: 1 / 1.18;
    width: 82%;
    justify-self: end;
  }
  .statement-photo-3 {
    grid-column: 1 / span 2;
    width: 68%;
    margin-left: 25%;
    margin-top: -28px;
    aspect-ratio: 5 / 3.6;
  }
  .statement-text {
    position: static;
    top: auto;
    align-items: flex-start;
  }
  .statement-copy {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: left;
  }
  .statement-en {
    font-size: 12px;
    margin-block-end: 12px;
  }
  .statement-ja {
    font-size: 28px;
    line-height: 1.75;
    letter-spacing: 0.06em;
  }
  .statement-ja br { display: block; }
  /* About / サービスの特徴 のブロックはグリッド左カラム（.statement-main）の中にあり、
     そのままだとカラム内中央＝画面中央より左になる（実測: 701pxで60px、700pxで81px左）。
     自身の中心を画面中心に合わせる。50% は自身の幅、24px は .inner の左padding。
     600px以下は下のブロックで改めて translateX を指定し直している */
  .hero-message-intro {
    transform: translateX(calc(50vw - 24px - 50%));
  }
}

@media (max-width: 600px) {
  .statement { padding: 60px 0 52px; }
  .statement-grid {
    grid-template-columns: minmax(0, 1fr) minmax(72px, 0.25fr);
    gap: 16px;
  }
  .statement-visual {
    gap: 12px;
    padding-top: 0;
  }
  .statement-photo-1 {
    margin-top: 76px;
    transform: translate(-12px, 12px);
  }
  .statement-photo-2 {
    width: 110%;
  }
  .statement-photo-3 {
    width: 72%;
    margin-left: 18%;
    margin-top: -18px;
    transform: translate(-12px, 12px);
  }
  .statement-blob {
    width: 170px;
    height: 170px;
    right: -42px;
  }
  .statement-ja {
    font-size: 24px;
    line-height: 1.65;
  }
  .statement-en {
    display: none;
  }
  .hero-message-intro {
    width: calc(100vw - 32px);
    transform: translateX(calc(50vw - 16px - 50%));
  }

}

/* ---------- Hero直下メッセージ ---------- */
.hero-message-intro {
  text-align: center;
  margin-top: 240px;
  margin-bottom: 56px;
}

.hero-message-intro .hero-sub {
  width: 100%;
  max-width: 810px;
  margin-left: auto;
  margin-right: auto;
  white-space: normal;
  text-align: center;
}

.hero-message-intro .hero-sub-lead,
.hero-message-intro .hero-sub-detail {
  width: 100%;
  text-align: center;
}

@media (max-width: 700px) {
  .hero-message-intro .hero-sub {
    max-width: 560px;
  }
}

.hero-message-intro .approach-heading {
  margin-top: 160px;
  margin-bottom: 70px;
  text-align: center;
}

.approach-heading .ja-label {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--text-main);
  margin: 24px 0 0;
}

.approach-heading .gold-line {
  width: 40px;
  height: 1px;
  margin: 0 auto;
}

.hero-message-intro .hero-cta {
  text-align: center;
  margin-top: 60px;
}

/* ---------- Care: 赤ちゃんとお母さんへのメッセージ ---------- */
.care-section {
  padding: 40px 0 490px;
  background: var(--bg-base);
}

.care-visual {
  position: relative;
  width: 100%;
}

.care-photo-main {
  width: 100%;
  aspect-ratio: 16 / 5.85;
  overflow: hidden;
}

.care-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.care-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.care-overlay > * {
  pointer-events: auto;
}

.care-photo-sub {
  position: absolute;
  right: 0;
  top: calc(100% + 20px);
  width: 32%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.15);
  z-index: 4;
}

.care-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.care-card {
  position: absolute;
  left: -76px;
  bottom: -55%;
  width: 680px;
  max-width: 92%;
  background: rgba(250, 248, 244, 0.94);
  padding: 48px 44px;
  z-index: 3;
}

.care-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}

.care-card .lead-serif {
  text-align: left;
  font-size: 24px;
}

.care-card .body-text {
  font-size: 15px;
  color: var(--text-main);
}

/* 中間幅(861〜1300px)だけ、固定サイズのCONCEPTカードが赤ちゃんの顔に重なるのを回避 */
@media (min-width: 861px) and (max-width: 1300px) {
  .care-photo-main {
    aspect-ratio: 16 / 6;
  }

  .care-card {
    width: 560px;
    padding: 36px 32px;
    bottom: -62%;
    transform: translate(calc(108px - max(0px, (100vw - 1080px) / 2)), clamp(-16px, calc(-16px + (1300px - 100vw) * 0.16), 54px));
  }

  .care-card .lead-serif {
    font-size: 20px;
  }

  .care-card .body-text {
    font-size: 13.5px;
  }
}

@media (max-width: 860px) {
  .care-section { padding: 32px 0 64px; }
  .care-photo-main { aspect-ratio: 2.05 / 1; }
  .care-overlay {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
  .care-photo-sub {
    position: static;
    width: 42%;
    aspect-ratio: 4 / 5;
    margin: -72px 0 0 24px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }
  .care-card {
    position: static;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-top: 40px;
    padding: 32px 24px;
  }
}

/* ---------- 共感セクション ---------- */
#empathy .inner {
  max-width: 1160px;
}

.empathy-grid {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 8px;
}

.empathy-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
  min-width: 0;
}

.empathy-col-offset {
  margin-top: 236px;
}

.empathy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 36px 0 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.empathy-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 10px;
  min-height: 63px;
}

.empathy-text {
  font-size: 14.5px;
  color: #4f4f4f;
  line-height: 2.1;
  min-height: 153px;
}

.empathy-photo {
  position: relative;
  margin: 18px -36px 0 -36px;
  flex: 1 1 auto;
  min-height: 140px;
}

.empathy-photo::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 132px;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.85) 30%, rgba(255, 255, 255, 0.45) 60%, rgba(255, 255, 255, 0.12) 85%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.empathy-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- ブランド紹介 ---------- */
.brand-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 500px;
  margin-bottom: 16px;
}

.brand-panel-photo {
  position: relative;
  align-self: center;
  height: 460px;
}

.brand-panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: linear-gradient(to right, transparent, black 12%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%);
}

.brand-panel-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px max(64px, calc((100vw - 1080px) / 2 + 24px));
}

.brand-panel-title h2 {
  margin-bottom: 22px;
  line-height: 1.9;
}

.brand-panel-title .section-heading {
  text-align: left;
}

.brand-panel-title .gold-line {
  margin: 0;
}

.brand-panel-copy .body-text {
  max-width: 440px;
  line-height: 2.1;
}

.brand-panel-leaf {
  width: 150px;
  height: 62px;
  margin-top: 32px;
  display: block;
}

.brand-panel-leaf path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
}

/* 1100px以下は、ミッション本文まで上に置く（左揃えは維持） */
@media (min-width: 861px) and (max-width: 1100px) {
  .brand-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "copy"
      "photo";
    row-gap: 28px;
    align-items: center;
    min-height: 0;
    padding: 48px max(48px, calc((100vw - 1080px) / 2 + 24px));
    text-align: left;
  }
  .brand-panel-text {
    display: contents;
    padding: 0;
  }
  .brand-panel-title {
    grid-area: text;
  }
  .brand-panel-title .section-heading {
    text-align: left;
  }
  .brand-panel-title .gold-line {
    margin: 0;
  }
  .brand-panel-title h2 {
    margin-bottom: 0;
  }
  .brand-panel-copy {
    grid-area: copy;
    width: min(100%, 620px);
    margin: 0;
  }
  .brand-panel-photo {
    grid-area: photo;
    width: min(100%, 760px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
  }
  .brand-panel-photo img {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .brand-panel-copy .body-text {
    max-width: none;
    line-height: 2;
    text-align: left;
  }
  .brand-panel-leaf {
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 860px) {
  .brand-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .brand-panel-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .brand-panel-photo img {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .brand-panel-text {
    padding: 40px 28px;
    text-align: left;
  }
  .brand-panel-copy {
    width: min(100%, 620px);
    margin-left: 0;
    margin-right: auto;
  }
  .brand-panel-copy .body-text {
    margin-left: 0;
    margin-right: auto;
  }
  .brand-panel-title .section-heading,
  .brand-panel-title h2,
  .brand-panel-copy .body-text {
    text-align: left;
  }
  .brand-panel-title .gold-line,
  .brand-panel-leaf {
    margin-left: 0;
    margin-right: auto;
  }
}

/* ---------- 選ばれる理由 ---------- */
#reasons .inner {
  max-width: 1240px;
}

#reasons .section-closing {
  margin-top: 92px;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reason-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 0 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.reason-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
}

.reason-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reason-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 32px;
  margin-bottom: 14px;
}

.reason-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.reason-item h3 {
  margin-bottom: 0;
  font-size: 16px;
  color: var(--gold);
}

.reason-item .body-text {
  padding: 0 32px;
  font-size: 13.5px;
  flex: 1 0 auto;
}

/* ---------- 利用シーン ---------- */
.scene-rows {
  display: flex;
  flex-direction: column;
  gap: 128px;
  margin-bottom: 56px;
}

.scene-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.scene-row-reverse .scene-row-photo {
  order: 2;
}

.scene-row-reverse .scene-row-text {
  order: 1;
}

.scene-row-photo {
  position: relative;
  height: 428px;
  width: calc(100% + 60px);
  overflow: hidden;
}

.scene-row:not(.scene-row-reverse) .scene-row-photo {
  margin-right: -60px;
}

.scene-row-reverse .scene-row-photo {
  margin-left: -60px;
}

.scene-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scene-row-text {
  padding: 0 40px 0 clamp(96px, calc(8vw + 48px), 148px);
}

.scene-row-reverse .scene-row-text {
  padding: 0 clamp(48px, 8vw, 100px) 0 40px;
}

.scene-row-text h2,
.scene-row-text h3 {
  /* 下限を18pxのままにすると、900px未満でclampが下限に張り付き、
     861-899pxだけ下の @media (max-width:860px) の固定22px指定より
     小さくなる谷ができる（実測866pxで18px）。下限を22pxに上げて解消 */
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.6;
  margin-bottom: 22px;
}

.scene-row-text .body-text {
  color: #6a6a6a;
  font-size: clamp(13px, 1.3vw, 15px);
}

@media (max-width: 860px) {
  .scene-rows {
    gap: 48px;
  }
  .scene-row,
  .scene-row-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .scene-row-reverse .scene-row-photo,
  .scene-row-reverse .scene-row-text {
    order: 0;
  }
  .scene-row-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    width: 88%;
    margin: 0 auto 0 0;
  }
  .scene-row-reverse .scene-row-photo {
    margin: 0 0 0 auto;
  }
  /* この写真は左右どちらにも属さない単独カットなので中央寄せ、
     縦積みで顔が切れないよう、上寄りに構図も合わせる */
  #founder-mother-photo {
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
  #founder-mother-photo img {
    object-position: center 20%;
  }
  .scene-row-text,
  .scene-row-reverse .scene-row-text {
    padding: 0 24px;
  }
  .scene-row-reverse .scene-row-text {
    padding-left: 12%;
  }
  .scene-row-text h3 {
    font-size: 22px;
  }
  .scene-row-text .body-text {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  #scenes {
    padding-top: 64px;
  }

  /* モバイルでは利用シーンの写真を横長にし、顔が切れないよう構図ごとに位置を調整 */
  .scene-row-photo {
    aspect-ratio: 16 / 9;
  }

  #scene-home .scene-row:nth-child(1) .scene-row-photo img {
    object-position: 28% 36%;
  }

  #scene-home .scene-row:nth-child(2) .scene-row-photo img {
    object-position: 50% 28%;
  }

  #scene-out .scene-row:nth-child(1) .scene-row-photo img {
    object-position: 55% 34%;
  }

  #scene-out .scene-row:nth-child(2) .scene-row-photo img {
    object-position: 54% 36%;
  }

  #founder-mother-photo {
    aspect-ratio: 4 / 5;
  }
  #founder-mother-photo img {
    object-position: center 12%;
  }

  .scene-row-text h3 {
    font-size: 18px;
  }
  .scene-row-text .body-text {
    font-size: 14px;
  }
}

/* ---------- サービス紹介 ---------- */
.service-section {
  background: #fff;
  padding-top: 160px;
  padding-bottom: 0;
}

.service-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
  margin: 0 0 56px;
}

.service-head-text {
  text-align: left;
}

.service-head-text h2 {
  font-size: 36px;
  margin-bottom: 70px;
}

.service-head-text .lead-text {
  text-align: left;
}

.service-head-vertical {
  display: flex;
  align-items: center;
  gap: 14px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-top: 4px;
}

.service-head-vertical .en-label {
  margin: 0;
}

.service-head-vertical .ja-label {
  margin: 0;
}

.service-head-vertical .gold-line {
  width: 1px;
  height: 72px;
  margin: -140px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
}

.service-card h3 {
  font-size: 17px;
  color: var(--gold);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--gold);
}

.service-card .body-text {
  font-size: 14px;
  color: #4f4f4f;
  line-height: 1.9;
}

.service-photo-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.9fr 1.15fr;
  gap: 32px;
  align-items: center;
  margin-top: 72px;
  padding: 0 0 40px;
}

.service-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-photo:nth-child(even) {
  aspect-ratio: 3 / 2;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-section .brand-block {
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

/* 他セクションの締めテキスト（.section-closing）と書体を揃える */
.service-section .brand-block .body-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
}

/* ---------- あなたの家の「答え」 ---------- */
.service-answer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  max-width: 1080px;
  margin: 88px auto 64px;
}

.service-answer-visual {
  position: relative;
  height: clamp(360px, 38vw, 500px);
}

.service-answer-photo {
  position: absolute;
  display: block;
  object-fit: cover;
}

.service-answer-photo-main {
  top: 0;
  left: 0;
  width: 76%;
  height: calc(100% - 40px);
}

.service-answer-photo-small {
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 47%;
  aspect-ratio: 1 / 1;
}

@media (min-width: 861px) {
  .service-answer-copy {
    transform: translateY(96px);
  }

  .service-answer-photo-small {
    right: -24px;
    bottom: -36px;
  }
}

.service-answer-copy h3 {
  margin-bottom: 20px;
  color: var(--gold);
  /* 下限を24pxに。サイト内の他の見出し（.flow-content h3など）は24px基準で、
     22pxだとこの見出しだけ小さく見えるため揃える */
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.65;
}

.service-answer-copy .body-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
}

.service-medical-note {
  /* .inner の外に置かれていて左右パディングがないため、
     760px を下回る幅では文字が画面端まで届いてしまう（実測: 701pxで端から4px）。
     .inner と同じ左右余白を持たせる。max-width は余白込みで効かせたいので
     ボックス幅も合わせて広げる */
  max-width: 808px;
  margin: 140px auto 64px;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

@media (max-width: 860px) {
  .service-answer-layout {
    grid-template-columns: 1fr;
    /* 小写真が下にはみ出すぶん、下のコピーと重ならないよう広げる */
    gap: 160px;
    margin-top: 64px;
    margin-bottom: 48px;
  }

  .service-answer-visual {
    width: min(100%, 580px);
    height: clamp(320px, 86vw, 480px);
    margin: 0 auto;
  }

  /* 小写真を右下に大きくずらす。
     右方向は 50vw - 302px（写真の右端から画面端までの余白）で頭打ちにして、
     狭い画面では 0 に戻す。そうしないと画面右で切れる */
  .service-answer-photo-small {
    right: calc(-1 * clamp(0px, calc(50vw - 302px), 48px));
    bottom: calc(-1 * (clamp(28px, 8vw, 56px) + 64px));
  }

  .service-answer-copy {
    max-width: 640px;
    margin: 0 auto;
  }

  /* リード文の最長行は536px必要だが、2カラムだと703pxで左カラムが506pxしか
     取れず「す。」だけが次行に落ちる。縦書きラベル（y位置はh2の高さの範囲、
     x位置は右端61px）はリード文と縦にも横にも重ならないため、
     テキスト側を全幅に広げてラベルを同じ行に重ねる。
     600px以下は1カラムになるので下のブロックの指定が優先される */
  .service-head-text {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .service-head-vertical {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 600px) {
  /* 旧 480px ブロックから統合 */
  .service-answer-layout {
    /* 36px だと下にずらした小写真がコピーに重なる */
    gap: 136px;
    margin-top: 48px;
  }

  .service-answer-visual {
    height: 340px;
  }

  .service-answer-copy h3 {
    font-size: 21px;
  }

  .service-answer-copy .body-text {
    font-size: 14.5px;
  }

  .service-photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-head-text,
  .service-head-vertical {
    grid-column: auto;
    grid-row: auto;
  }
  .service-head-text h2 {
    font-size: 24px;
  }
  .service-head-vertical {
    order: -1;
    writing-mode: horizontal-tb;
    flex-direction: row;
    gap: 10px;
  }
  .service-head-vertical .gold-line {
    width: 24px;
    height: 1px;
    margin: 0;
  }
}

/* ---------- 対応エリア ---------- */
.area-section {
  overflow: hidden;
}

.area-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
}

.area-text {
  position: relative;
  z-index: 2;
  box-sizing: content-box;
  max-width: 420px;
  padding-left: max(64px, calc((100vw - 1080px) / 2 - 36px));
  padding-right: 40px;
}

.area-map {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  overflow: visible;
}

.area-map-visual {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -40px;
  margin-top: 128px;
  flex-shrink: 0;
}

.area-text h2 {
  margin-bottom: 70px;
}

.area-text .section-heading {
  text-align: left;
}

.area-text .gold-line {
  margin: 0;
}

.area-lead {
  margin-bottom: 14px;
}

.area-boxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.area-box {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 22px 26px;
}

.area-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
}

.area-box-list {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.9;
  margin: 0;
}

.area-note {
  font-size: 13px;
  color: #8a8a8a;
  margin: 16px 0 0;
}

.area-online {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 22px 16px;
  background: var(--bg-surface);
  border-radius: 4px;
}

.area-online p {
  flex: 1;
}

.area-online-mark {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.area-online p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0;
}

.area-map-img {
  width: 100%;
  height: auto;
  display: block;
  mask-image: linear-gradient(to right, transparent 0%, black 22%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%);
}

.area-map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #6b6f60;
  white-space: nowrap;
  pointer-events: none;
}

.area-map-label--tokyo {
  font-size: 14px;
  font-weight: 700;
  color: #2f3a2e;
}

/* ---------- 比較テーブル ---------- */
.table-wrap {
  position: relative;
  overflow-x: auto;
  margin-bottom: 48px;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-hint {
  display: none;
  font-size: 13px;
  color: #8a8a8a;
  text-align: right;
  margin-bottom: 8px;
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  font-size: 13.5px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.compare-table thead th {
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-main);
}

.compare-table tbody th {
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 500;
  color: #4f4f4f;
  background: var(--bg-base);
}

.compare-table .highlight {
  background: rgba(186, 160, 95, 0.1);
  color: var(--gold);
  font-weight: 700;
}

.compare-table thead th.highlight {
  background: var(--gold);
  color: #fff;
}

.check-list {
  list-style: none;
  margin: 18px auto 0;
  padding: 0;
  display: grid;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  transform: translateX(64px);
}

.check-list li {
  font-size: 14.5px;
  padding-left: 26px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 代表ストーリー ---------- */
.founder-section {
  padding-top: 0;
  background: #fff;
}

.founder-pin {
  position: relative;
  height: calc(100vh + 45vh);
  margin-bottom: 120px;
}

.founder-visual {
  --fp-fade: 0;
  --fp-scale: 0;
  --fp-overlay: 0;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow: hidden;
}

.founder-visual-media {
  position: absolute;
  inset: 0;
  opacity: var(--fp-fade);
  transform: scale(calc(0.55 + 0.45 * var(--fp-scale)));
  transform-origin: center center;
  will-change: transform, opacity;
}

.founder-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-overlay {
  position: absolute;
  left: 64px;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 88px;
  background: rgba(24, 22, 18, 0.58);
  padding: 44px max(24px, calc((100vw - 1080px) / 2 + 24px)) 48px;
  opacity: var(--fp-overlay);
  transform: translateY(calc((1 - var(--fp-overlay)) * 36px));
}

.founder-overlay-label {
  flex-shrink: 0;
  padding-top: 6px;
}

.founder-overlay-body {
  flex: 1;
  min-width: 0;
}

.founder-overlay .section-heading {
  text-align: left;
  margin-bottom: 0;
}

.founder-overlay .en-label {
  color: var(--gold-light);
}

.founder-overlay .ja-label {
  color: rgba(255, 255, 255, 0.75);
}

.founder-overlay .gold-line {
  margin: 0;
}

.founder-overlay h2 {
  font-size: 36px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 18px;
}

.founder-overlay .lead-text {
  color: rgba(255, 255, 255, 0.88);
  max-width: none;
}

.founder-body {
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .founder-body .body-text {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

/* ---------- 代表プロフィールページ ---------- */
.founder-story-section {
  padding-top: 32px;
  padding-bottom: 180px;
}

.founder-story-stack {
  /* 900pxだと本文が1行45文字になり、日本語の読みやすい上限（約40文字）を超える */
  max-width: 800px;
  margin: 0 auto;
}

.founder-story-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* 全カードを同じ高さに揃えるため、文章の少ないカードでは
     下に大きく余白が余る。中身を上下中央に置いて偏りをなくす */
  align-content: center;
  gap: 24px;
  min-height: 330px;
  margin-bottom: 72px;
  padding: 56px 64px 60px;
  background: #fff;
  border-top: 1px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(70, 60, 45, 0.12);
  box-sizing: border-box;
  transform-origin: center top;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 600ms ease;
}

.founder-story-card:nth-child(1) { z-index: 1; }
.founder-story-card:nth-child(2) { z-index: 2; }
.founder-story-card:nth-child(3) { z-index: 3; }
.founder-story-card:nth-child(4) { z-index: 4; }
.founder-story-card:nth-child(5) { z-index: 5; }
.founder-story-card:nth-child(6) { z-index: 6; }


.founder-story-content h2 {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main);
}

.founder-profile-page .founder-story-card .body-text {
  font-size: 17px;
  /* 行間2.15は広すぎて次の行へ視線が戻りにくい。段落の間はその分広げる */
  line-height: 1.95;
  margin: 0 0 1.7em;
  word-break: auto-phrase;
}

.founder-profile-page .founder-story-card .body-text:last-child {
  margin-bottom: 0;
}

/* この下のscene-row-textは他ページの利用シーン一覧用に文字が小さめなので、
   このページの他の本文（17px）に合わせて上書きする */
.founder-profile-page .scene-row-text .body-text {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-main);
}

@media (min-width: 861px) {
  .founder-story-card {
    position: sticky;
    top: 104px;
    transform: none;
  }

  .founder-story-card.is-covered {
    transform: scale(0.9);
    box-shadow: 0 10px 24px rgba(70, 60, 45, 0.08);
  }
}

@media (max-width: 860px) {
  .founder-story-section {
    padding-top: 16px;
    padding-bottom: 112px;
  }

  .founder-story-card {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    margin-bottom: 48px;
    padding: 48px 40px 52px;
  }


  .founder-story-content h2 {
    font-size: 25px;
  }
}

.founder-profile-page .founder-body {
  max-width: 780px;
}

.founder-profile-page .founder-body .body-text {
  font-size: 17px;
  line-height: 2.15;
  margin-bottom: 48px;
}

.founder-profile-page .section-surface {
  padding-top: 88px;
  padding-bottom: 88px;
}

/* 見出し: 写真とは重ねず、独立したブロックとして先に表示する */
section.founder-profile-heading {
  padding: 168px 0 32px;
  text-align: center;
}

.founder-profile-heading .section-heading {
  text-align: center;
  justify-content: center;
  margin-bottom: 0;
}

.founder-profile-heading .en-label {
  color: var(--gold);
  font-size: 32px;
}

.founder-profile-heading .gold-line {
  margin: 0 auto;
}

.founder-profile-heading .ja-label {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  color: #4f4f4f;
  margin-top: 12px;
}

/* 見出しの下に続く、テキストなしの写真帯 */
.founder-profile-photo-band {
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.founder-profile-photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

@media (min-width: 861px) {
  section.founder-profile-heading {
    padding: 208px 0 40px;
    background: #fbfaf7;
  }

  .founder-profile-photo-band {
    height: 560px;
  }

  .founder-profile-photo-band img {
    object-position: center 32%;
  }
}

@media (max-width: 600px) {
  section.founder-profile-heading {
    padding: 128px 0 24px;
  }

  .founder-profile-heading .en-label {
    font-size: 24px;
  }

  .founder-profile-heading .ja-label {
    font-size: 30px;
  }

  .founder-profile-photo-band {
    height: 260px;
  }

  .founder-profile-photo-band img {
    object-position: center 40%;
  }
}

.founder-profile-intro {
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}

/* 見出し自体がこのセクションの中身なので、
   セクション見出し用の下マージン（104px）は使わない */
.founder-profile-intro .section-head {
  margin-bottom: 0;
}

.founder-profile-intro h1 {
  font-size: 26px;
  line-height: 1.6;
  color: #4f4f4f;
  margin: 0;
}

@media (max-width: 600px) {
  .founder-story-section {
    padding-top: 8px;
    padding-bottom: 80px;
  }
  .founder-story-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    margin-bottom: 32px;
    padding: 36px 24px 40px;
    box-shadow: 0 12px 28px rgba(70, 60, 45, 0.1);
  }
  .founder-story-content h2 {
    margin-bottom: 20px;
    font-size: 23px;
  }
  .founder-profile-page .founder-story-card .body-text {
    font-size: 15.5px;
    line-height: 1.95;
    margin-bottom: 1.7em;
  }

  .founder-profile-page .scene-row-text .body-text {
    font-size: 15.5px;
    line-height: 1.95;
  }

  .founder-profile-page .founder-body .body-text {
    font-size: 15.5px;
    line-height: 2.1;
    margin-bottom: 40px;
  }
  .founder-profile-page .section-surface {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .founder-profile-intro {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .founder-profile-intro h1 {
    font-size: 22px;
  }
}

/* ---------- お客様の声 ---------- */
.voice-list {
  display: grid;
  /* お客様の声は2枚構成。3枚のときの名残で3カラムにすると
     1枚あたりが細くなりすぎるため2カラムにし、横に間延びしないよう上限を設ける */
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

/* リピート実績。声を読んだあと、締めとして事実を置く */
.voices-lead {
  text-align: center;
  margin: 56px 0 0;
  /* .lead-text の #555 は本文より濃く浮くため、サイト標準の本文色に揃える */
  color: var(--text-main);
}

.voices-lead-narrow-break {
  display: none;
}

@media (max-width: 434px) {
  .voices-lead-narrow-break {
    display: block;
  }
}

.voices-lead-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-sub);
}

.voice-card {
  background: var(--bg-base);
  border-radius: 4px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.voice-text {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 18px;
  line-height: 1.95;
}

.voice-attr {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  text-align: right;
}

/* ---------- ご利用の流れ ---------- */
.flow-section {
  position: relative;
}

#flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 174px;
  bottom: 0;
  background: var(--bg-surface);
  z-index: 0;
}

#flow .flow-surface {
  position: relative;
  z-index: 1;
  background: transparent;
}

.flow-surface,
.service-surface {
  width: 70%;
  max-width: 1300px;
  margin: 0 auto 0 0;
  background: var(--bg-surface);
  padding: 56px 0;
}

.service-surface-wrap {
  position: relative;
}

.service-surface-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 70%;
  max-width: 1300px;
  background: var(--bg-surface);
  z-index: 0;
}

.service-surface-wrap > * {
  position: relative;
  z-index: 1;
}

.flow-surface .inner,
.service-surface .inner {
  /* 親のグレーボックスは左寄せ70%幅のため、コンテンツはビューポート基準で中央に置く */
  margin: 0;
  margin-left: max(24px, calc((100vw - 1080px) / 2));
  width: min(1080px, calc(100vw - 48px));
  max-width: none;
}

@media (max-width: 860px) {
  .flow-surface,
  .service-surface {
    width: 100%;
    margin: 0 auto 0 0;
    padding: 40px 0;
  }

  /* 上の .flow-surface の上パディングが 56→40px になるぶん「Flow」が16px上がるため、
     グレーの開始位置も同じだけ上げないと、861px以上では文字の中央から始まるグレーが
     ここでは文字の下寄りから始まってしまう */
  #flow::before {
    top: 158px;
  }
  /* グレーの帯を従来（100% - 48px）の80%幅まで右から詰める。
     861px以上と同じく、中身は帯より右にはみ出す見せ方になる */
  .service-surface {
    width: calc((100% - 48px) * 0.8);
  }
  .flow-surface .inner,
  .service-surface .inner {
    margin-left: 0;
  }
  /* 背景帯の幅は保ちつつ、左端を動かさず中身の横幅だけ右へ広げる */
  .service-surface .inner {
    margin-left: 0;
    width: min(1080px, calc(100vw - 12px));
  }
  .flow-surface .inner {
    width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
  }
  .service-surface-wrap::before {
    width: calc((100% - 48px) * 0.8);
  }
}

/* 600px以下はセクション上パディングが88→64px、英字見出しが32→24pxになるため、
   グレーの開始位置を合わせて上げ、Flowの文字中央付近から背景を始める */
@media (max-width: 600px) {
  #flow::before {
    top: 126px;
  }

  .flow-surface .inner {
    width: calc(100% - 48px);
  }
}

/* 番号行 / 見出し / 本文 の3段をカード間で共有し、見出しが何行になっても
   （861px前後で3行になる）下の段の位置がずれないようにする。
   grid-auto-flow: column なので、4ステップのページ（ギフト・ご利用例）でも
   枚数に合わせて自動で列が増える。subgrid 非対応ブラウザでは
   下の min-height による従来の揃え方にフォールバックする */
.flow-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: stretch;
  margin-bottom: 8px;
}

.flow-item {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-width: 0;
  padding: 0 14px;
}

.flow-content {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.flow-num-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.flow-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.flow-num-line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--gold-light);
}

.flow-content h3 {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 77px;
}

.flow-content .body-text {
  font-size: 13px;
  line-height: 1.8;
  min-height: 148px;
}

/* 860px以下は5列だと1列あたり約110pxしかなく、見出しが1文字ずつ折り返して
   極端に縦長になる。縦積みにする。
   1カラムでは段を揃える必要がないので subgrid を解除する
   （grid のまま縦積みにすると gap が見出しと本文の間にも入ってしまう） */
@media (max-width: 860px) {
  .flow-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .flow-item {
    display: block;
    padding: 0;
  }

  .flow-content {
    display: block;
  }

  .flow-content h3 {
    min-height: 0;
  }

  .flow-content .body-text {
    min-height: 0;
  }
}

/* ---------- 料金 ---------- */
#g-pricing {
  background: #fbf9f5;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 861px) {
  #g-pricing .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px 28px;
  text-align: center;
}

.price-main {
  background: var(--gold);
  color: #fff;
  border: none;
}

.price-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gold);
}

.price-main .price-label { color: rgba(255,255,255,0.85); }

.price-value {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  white-space: nowrap;
}

.price-value span {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  margin-left: 6px;
  white-space: nowrap;
}

.price-note {
  font-size: 13px;
  color: #6a6a6a;
  margin-top: 12px;
}

.price-main .price-note { color: rgba(255,255,255,0.85); }

.option-block {
  background: var(--bg-surface);
  border-radius: 4px;
  padding: 28px 30px;
  margin-bottom: 16px;
}

.option-list {
  list-style: none;
  margin: 14px 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.option-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 8px;
}

.option-list li span:first-child {
  word-break: keep-all;
}

.option-list li span:last-child {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-cta {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
  background: var(--bg-surface);
  border-radius: 4px;
  padding: 44px 36px;
}

.pricing-cta h3 { margin-bottom: 32px; }

/* 対応エリアページの「トップページへ戻る」がこの見出しへ直接リンクするため、
   固定ヘッダーの下に見出しが隠れないよう余白を確保する */
#area { scroll-margin-top: 96px; }
.pricing-cta .body-text { margin-bottom: 50px; }

.pricing-info-row {
  display: flex;
  align-items: stretch;
  gap: 32px;
  max-width: 980px;
  margin: 56px auto 0;
}

.pricing-info-row .pricing-cta {
  flex: 1;
  max-width: none;
  margin: 0;
  /* 左右で本文の行数が違ってもボタンの位置を揃えるため、
     縦フレックスにしてボタンを下端に寄せる */
  display: flex;
  flex-direction: column;
}

.pricing-info-row .pricing-cta .btn {
  margin-top: auto;
  align-self: center;
}

@media (max-width: 860px) {
  .pricing-info-row {
    flex-direction: column;
  }
}

/* ---------- 料金プラン（新レイアウト） ---------- */
.pricing-head {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.pricing-intro {
  margin-left: clamp(-60px, calc(40px - (100vw - 1080px) / 2), 40px);
}

.pricing-intro .en-label {
  margin-bottom: 6px;
}

.pricing-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.pricing-intro .lead-text {
  text-align: left;
  font-size: 14.5px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card-main,
.price-card-option {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 32px 30px;
  text-align: left;
}

.price-card-main .price-label-sub {
  margin-top: 20px;
}

.price-card-option .price-label {
  margin-bottom: 16px;
}

.price-card-option .option-list {
  margin: 0;
}

.pricing-support {
  border-radius: 16px;
  padding: 40px 36px;
  margin-bottom: 136px;
}

.pricing-support-title {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.pricing-support-title .line {
  flex: 1 1 auto;
  max-width: 120px;
  height: 1px;
  background: var(--gold);
}

.support-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 16px;
}

.support-icon-item {
  text-align: center;
}

.support-icon-item svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
  display: block;
  color: var(--gold);
}

.support-icon-item svg path,
.support-icon-item svg circle,
.support-icon-item svg rect,
.support-icon-item svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-icon-item p {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.7;
}

/* 中間幅(861〜1100px)だけ、料金カードが窮屈になって価格がはみ出すのを防ぐ */
@media (min-width: 861px) and (max-width: 1100px) {
  /* 旧 861-980px ブロックから統合（ご利用の流れカードの下線を揃える）。
     min-height は足すだけなので範囲を広げても揃いは崩れない */
  .flow-content h3 {
    min-height: 77px;
  }

  .pricing-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (min-width: 701px) and (max-width: 860px) {
  .pricing-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .support-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .pricing-head,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .pricing-head {
    gap: 32px;
  }

  .support-icon-grid {
    grid-template-columns: 1fr;
  }
}

/* 601〜700pxは8項目を横4・縦2で見せる */
@media (min-width: 601px) and (max-width: 700px) {
  .support-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 600px以下はサポート内容を横2列・縦4列で表示 */
@media (max-width: 600px) {
  .support-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 26px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .body-text {
  padding-bottom: 22px;
  font-size: 14.5px;
  color: #4f4f4f;
}

/* 開閉をふわっと見せる。高さのアニメーションは対応ブラウザのみ(Chrome 131+)、
   それ以外は回答のフェードインのみ効く */
.faq-item {
  interpolate-size: allow-keywords;
}

.faq-item::details-content {
  opacity: 0;
  height: 0;
  overflow: clip;
  transition: height 0.35s ease, opacity 0.35s ease, content-visibility 0.35s allow-discrete;
}

.faq-item[open]::details-content {
  opacity: 1;
  height: auto;
}

.faq-item[open] .body-text {
  animation: faqFadeIn 0.45s ease both;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- CTA セクション ---------- */
.cta-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

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

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

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 白を薄くしすぎると本文（#555）とのコントラストが落ちるので 0.86 まで */
  background: rgba(255, 255, 255, 0.86);
}

.cta-section .inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.cta-section .lead-text {
  margin-bottom: 26px;
}

.cta-section .body-text {
  margin-bottom: 0;
}

.cta-button-wrap {
  margin: 36px 0 8px;
}

/* ---------- フッター ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--text-main);
  color: #e8e6e1;
  padding: 64px 0 0;
  text-align: center;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo-img {
  display: inline-block;
  margin-bottom: 10px;
  width: min(100%, 246px);
  height: auto;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.footer-logo span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  margin-left: 8px;
  color: var(--gold-light);
}

.footer-copy {
  font-size: 13px;
  color: #b9b6b0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 40px;
}

.footer-nav a {
  font-size: 13.5px;
  color: #e8e6e1;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-contact-bar {
  display: block;
  max-width: 1080px;
  margin: 0 auto 56px;
  padding: 18px 24px;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.15em;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-contact-bar:hover {
  background: #fff;
  color: var(--gold);
  border-color: var(--gold);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.footer-rights {
  font-size: 13px;
  color: #8a8782;
}

.footer-policy-link {
  font-size: 13px;
  color: #b9b6b0;
  transition: color 0.2s ease;
}

.footer-policy-link:hover {
  color: var(--gold-light);
}

@media (max-width: 600px) {
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-nav a {
    text-align: center;
  }

  .footer-nav a:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===========================
   レスポンシブ
   =========================== */
@media (max-width: 860px) {
  .brand-layout,
  .area-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .founder-overlay {
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 52px 40px 56px;
    background: rgba(24, 22, 18, 0.64);
  }

  .founder-overlay-label {
    padding-top: 0;
  }

  .founder-overlay-body {
    flex: 0 1 auto;
    max-width: 680px;
  }

  .founder-overlay h2 {
    font-size: clamp(28px, 4.7vw, 34px);
    margin-bottom: 20px;
  }

  .founder-overlay .lead-text {
    max-width: none;
  }

  .reason-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-text {
    max-width: 720px;
    width: min(100%, calc(100vw - 48px));
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    text-align: center;
  }

  .area-text .section-heading {
    text-align: center;
  }

  .area-text .gold-line {
    margin-left: auto;
    margin-right: auto;
  }

  .area-boxes {
    align-items: center;
  }

  .area-box {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .area-map {
    max-width: 360px;
    margin: 0 auto;
    display: block;
  }

  .area-map-visual {
    width: 100%;
    margin-top: 64px;
    /* 地図画像の透明な余白で見た目が左に寄るため、さらに24px右へ補正 */
    transform: translateX(clamp(48px, calc(6vw + 24px), 72px));
  }

  .area-map-img {
    width: 100%;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .brand-image img {
    aspect-ratio: 16/10;
  }

  .empathy-grid {
    flex-direction: column;
  }

  .empathy-col-offset {
    margin-top: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .voice-list {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 701px) and (max-width: 860px) {
  .founder-overlay-label .section-heading {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 20px;
    align-items: baseline;
  }

  .founder-overlay-label .en-label,
  .founder-overlay-label .ja-label {
    margin: 0;
  }

  .founder-overlay-label .gold-line {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  /* ギフトの流れから料金へ、白い余白を挟まず背景をつなげる */
  #g-flow {
    padding-bottom: 0;
  }

  /* ご利用の流れの項目内側余白と料金プランの左端を揃える */
  .pricing-intro {
    margin-left: 14px;
  }

  /* 見出し基準とカード内の料金・オプションの左端を揃える */
  .price-card-main,
  .price-card-option {
    padding-left: 14px;
  }

  h2 { font-size: 22px; }
  /* .section-head h2 は 36px 指定の詳細度が上の h2 指定に勝ってしまい、
     スマホでもセクション見出しが36pxのままだったため明示的に下げる */
  .section-head h2 { font-size: 28px; margin-bottom: 36px; }

  /* モバイルでは主要セクションタイトルを28pxに統一 */
  .hero-sub-lead,
  .approach-heading .ja-label,
  .service-head-text h2 {
    font-size: 28px;
  }

  .section-heading .en-label,
  .section-head .en-label,
  .pricing-intro .en-label,
  .service-head-vertical .en-label {
    font-size: 24px;
  }

  .about-mobile-break {
    display: block;
  }

  .hero { min-height: 70vh; }
  .hero-copy { font-size: 26px; }
  /* モバイルでは写真ごとの主役が中央に来るよう個別にトリミング位置を調整 */
  .hero-slide-01 { object-position: 78% center; }
  .hero-slide-02 { object-position: 25% center; }
  .hero-slide-03 { object-position: 78% center; }
  .hero-slide-04 { object-position: 64% center; }
  .hero-slide-05 { object-position: 68% center; }
  .hero-slide-05 {
    top: -72px;
    bottom: auto;
    height: calc(100% + 72px);
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .reason-list { grid-template-columns: 1fr; }

  .compare-table { font-size: 13px; min-width: 560px; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .table-scroll-hint { display: block; }

  .cta-section h2 { font-size: 23px; }

  .founder-overlay {
    gap: 16px;
    padding: 32px 24px 40px;
  }

  .founder-overlay h2 {
    font-size: 26px;
    line-height: 1.55;
  }

  .founder-overlay .lead-text {
    font-size: 14px;
    line-height: 1.85;
  }
}

@media (max-width: 420px) {
  .inner { padding: 0 18px; }
  .area-text {
    width: min(100%, calc(100vw - 36px));
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-copy { font-size: 23px; }
}

/* ---------- ギフトバナー（LP内） ---------- */
.gift-banner {
  position: relative;
  width: 100%;
  padding: 104px 0 120px;
  overflow: hidden;
}

.gift-banner .section-head {
  margin-bottom: 64px;
}

/* 帯 + 写真の重ねレイアウト */
.gift-band {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px 56px 17%;
}

.gift-band__row {
  position: relative;
  display: grid;
  grid-template-columns: 432px 1fr;
  gap: 64px;
  align-items: center;
}

/* 右端まで抜ける淡い帯 */
.gift-band__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 66px;
  /* 50vw はスクロールバー幅を含み横溢れの原因になるため使わない。
     親の .gift-banner が overflow:hidden なので、大きめの負値で右端まで伸ばして切り取らせる */
  right: -1000px;
  z-index: 0;
  background: linear-gradient(135deg, #FAF8F4 0%, #F4F2ED 55%, #F7F5F0 100%);
}

.gift-band__photo {
  position: relative;
  z-index: 1;
  /* 行の高さは右のテキスト列が決めるため、写真を高さ固定にすると
     テキストが増えたぶんがそのまま写真の上の空白になってしまう
     （実測: 画面幅1227px以下でテキストが折り返し、空白が160→251→344pxと増える）。
     帯の上端から88px下げた位置から行の下端まで伸ばし、空白を常に88pxで一定にする */
  align-self: stretch;
  margin-top: 88px;
  margin-bottom: -52px;
}

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

.gift-band__text {
  position: relative;
  z-index: 1;
  padding: 88px 40px 88px 0;
}

.gift-band__heading {
  font-size: 26px;
  font-weight: 600;
  color: #4f4f4f;
  line-height: 1.8;
  margin-bottom: 28px;
}

.gift-band__body {
  font-size: 15px;
  line-height: 2.2;
  color: #555;
}

.gift-band__note {
  font-size: 13px;
  line-height: 2;
  color: var(--text-sub);
  margin-top: 20px;
}

.gift-band__cta {
  margin-top: 36px;
}

@media (max-width: 1100px) {
  /* ギフト帯の1カラム化。861-900px で2カラムのままだと
     テキスト列が300pxまで狭まり見出しが4行に割れるため、1100px以下で1カラムにする */
  /* 1カラム時は帯をセクション下端まで届かせる。帯の外側に余白を持たせると
     帯の下と次セクション（FAQ）の間に白い帯が残ってしまうため、
     下方向の余白は帯の内側（.gift-band__text の padding-bottom）に寄せる */
  .gift-banner {
    padding: 80px 0 0;
  }
  .gift-band {
    padding: 0 24px;
  }
  .gift-band__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .gift-band__bg {
    top: 120px;
    left: -1000px;
    right: -1000px;
  }
  .gift-band__photo {
    margin: 0 auto;
    max-width: 500px;
  }
  /* 1カラム時は行の高さに合わせる必要がないので、横長の切り抜きに戻す */
  .gift-band__photo img {
    height: auto;
    aspect-ratio: 4 / 3.6;
  }
  .gift-band__text {
    /* 下は 56px（旧 .gift-band）+ 88px（旧 .gift-banner）= 144px を引き継ぐ */
    padding: 40px 0 144px;
    text-align: center;
  }
  .gift-band__heading {
    font-size: 22px;
  }
}

/* ---------- CONCEPT バナー（トップ→想いページ誘導） ---------- */
.concept-banner {
  position: relative;
  width: 100%;
  /* 高さを固定すると、幅が狭まって見出しが3行になったときに
     中身が帯からあふれ、ボタンの下の余白がなくなる。
     min-height + 上下padding にして、必要なときだけ帯が伸びるようにする */
  min-height: 300px;
  padding: 28px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.concept-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(28, 24, 20, 0.5);
}

.concept-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.concept-banner__en {
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.25em;
  color: #fff;
  margin-bottom: 8px;
}

.concept-banner__line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.concept-banner__heading {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.concept-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 52px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 0 24px;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}

.concept-banner__cta:hover {
  background: #fff;
  color: var(--gold);
}

@media (max-width: 600px) {
  .concept-banner {
    min-height: 260px;
    padding: 36px 0;
  }
}

/* ---------- ギフトページ：カード4枚（できること） ---------- */
.gift-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gift-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  text-align: center;
}

.gift-card__icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 18px;
  color: var(--gold);
}

.gift-card__icon svg { width: 100%; height: 100%; }

.gift-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

@media (max-width: 860px) {
  .gift-card-grid { grid-template-columns: 1fr; }
}

/* ---------- ギフトページ：バッジ ---------- */
/* ギフトページ: ヒーローはテキスト側（左）を白く沈めて視認性を確保 */
#g-hero .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(252, 248, 239, 0.94) 0%,
    rgba(252, 248, 239, 0.86) 34%,
    rgba(252, 248, 239, 0.45) 60%,
    rgba(252, 248, 239, 0) 88%
  );
}

/* ギフトページ: 特徴3つ（写真つきの帯） */
#g-reasons .reason-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ID指定（詳細度 1,1,0）のため、汎用 .reason-list の @media 指定（0,1,0）に勝ってしまい
   390pxでも3カラムのままだった（実測: カード幅102px・本文幅38px・高さ1200px）。
   カード類を1カラムにするトップページと同じ 860px を境にする */
@media (max-width: 860px) {
  #g-reasons .reason-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.gift-hero-badge {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 22px;
  background: transparent;
}

/* ==========================================================
   2つの過ごし方（choice-card）／3本柱（pillar）／
   サービス5項目（service-item）／代表実績（founder-creds）
   ========================================================== */

/* ---------- 2つの過ごし方（選択ボタン＋シーングループ） ---------- */
.choice-buttons {
  display: flex;
  justify-content: center;
  gap: 88px;
  margin: 32px 0 40px;
}

.choice-btn {
  display: inline-block;
  min-width: 220px;
  padding: 14px 32px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}

.choice-btn:hover {
  background: var(--bg-base);
  color: var(--gold-dark);
}

.scene-group {
  scroll-margin-top: 96px;
  margin-top: 160px;
}

#scene-home {
  margin-top: 96px;
}

.scene-group-head {
  text-align: left;
  margin-bottom: 64px;
}

.scene-group-heading-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
}

.scene-group-num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

.scene-group-jp {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.scene-group-title-line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--gold);
}

.scene-group-lead {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-main);
}

/* ---------- 3本柱タブ ---------- */
.pillar-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #d9d9d9;
}

.pillar-tab {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 16px 8px 14px;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.pillar-tab.is-active {
  border-bottom: 2px solid var(--gold);
}

.pillar-num {
  display: block;
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 6px;
}

.pillar-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: #b1b1b1;
  transition: color 0.3s ease;
}

.pillar-tab:hover .pillar-title {
  color: #8a8a8a;
}

.pillar-tab.is-active .pillar-title {
  color: #4f4f4f;
}

.pillar-text {
  display: none;
}

.pillar-panel[hidden] {
  display: none;
}

/* ---------- サービス項目（写真上・テキスト下のカード3枚横並び） ---------- */
.service-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto; /* 写真 / 見出し / 本文 の3段を3枚で共有する */
  gap: 28px;
  align-items: stretch;
}

/* 見出しの行数がカードごとに変わっても（1122px前後で3行になる）金線と本文の位置が
   ずれないよう、写真・見出し・本文の各段の高さを3枚で揃える。
   subgrid 非対応ブラウザでは下の min-height による従来の揃え方にフォールバックする */
.service-item {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.service-item-text {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.service-item-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 18px;
}

.service-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-item-text h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.6;
  min-height: 90px; /* 見出し2行分（24px×line-height1.6×2行＋padding-bottom12px＋border1px、border-box）。1行/2行が混在しても金線の位置が揃うように */
  color: var(--gold);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}

.service-item-text .body-text {
  font-size: 13.5px;
  line-height: 1.9;
  color: #4f4f4f;
}

/* ---------- ちょっとした家事も対応（3タブ共通の帯） ---------- */
.housework-band {
  margin-top: 112px;
  padding: 0 32px;
  text-align: center;
}
.housework-plus { color: var(--gold); margin-right: 10px; font-weight: 600; }
.housework-nowrap { white-space: nowrap; }
.housework-band-title {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--gold);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gold);
}
.housework-band-text { font-size: 13.5px; line-height: 2; color: var(--text-main); }

/* ---------- 代表実績 ---------- */
.founder-creds {
  list-style: none;
  width: fit-content;
  margin: 40px auto 0;
  padding: 28px 36px;
  border: 1px solid var(--border);
  background: var(--bg-base);
  text-align: left;
}

.founder-creds li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--text-main);
}

.founder-creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---------- 中間幅・モバイル ---------- */
@media (max-width: 860px) {
  .choice-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
  }
  .choice-btn {
    min-width: 0;
    flex: 1 1 150px;
    padding: 12px 16px;
    font-size: 14.5px;
  }
  .scene-group {
    scroll-margin-top: 80px;
    margin-top: 96px;
  }
  #scene-home {
    margin-top: 56px;
  }
  .scene-group-head {
    margin-bottom: 40px;
    padding: 0 24px;
  }
  .scene-group-heading-row {
    gap: 14px;
    margin-bottom: 16px;
  }
  .scene-group-num {
    font-size: 26px;
  }
  .scene-group-jp {
    font-size: 13px;
  }
  .scene-group-lead {
    font-size: 13.5px;
    text-align: left;
  }
  /* タブ: 番号＋柱名だけの横並びコンパクトバー。スクロール中も画面上部に追従。
     背景は常時敷かず、実際に固定されている間だけ .is-stuck で出す。
     常時敷くと、タブ（.inner基準）がグレー帯（.service-surface = 80%幅）より
     右に長いぶん、背景だけが帯からはみ出して変な形に見えるため。
     padding-bottom は 0。8px あると .pillar-tab の margin-bottom:-1px で
     グレー線に重ねる前提が崩れ、ゴールド線が8px上にずれる */
  .pillar-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 40px;
    position: sticky;
    top: 72px;
    z-index: 10;
    padding: 10px 0 0;
  }

  /* 固定中の背景。左右に大きく広げて画面全幅に見せる（半端な幅で切れると
     グレー帯との境界が目立つため）。はみ出しは html/body の overflow-x: clip が吸収する。
     ::before ならレイアウトに影響せず、タブ下線の位置も動かない */
  .pillar-tabs.is-stuck::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1000px;
    right: -1000px;
    z-index: -1;
    background: var(--bg-surface);
  }
  .pillar-tab {
    padding: 10px 2px 8px;
    text-align: center;
  }
  .pillar-num {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .pillar-title {
    font-size: 13.5px;
    margin-bottom: 0;
  }
  .pillar-text {
    display: none;
  }
  /* カード3枚を縦に積み、各カードの中は写真を左・テキストを右に並べる。
     縦積みなのでカード間で段を揃える必要がなく、subgrid は解除する */
  .service-items {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 36px;
  }
  .service-item {
    grid-row: auto;
    grid-template-rows: none;
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
    column-gap: 24px;
    align-items: start;
  }
  .service-item-text {
    display: block;
    grid-row: auto;
  }
  .service-item-photo {
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
  }
  .service-item-text h3 {
    min-height: 0;
    /* 見出しの箱の上端は写真の上端と一致しているが、line-height 1.6 の
       半行間（0.3em）とフォント内部の余白（約0.37em）のぶん文字が下がって見える。
       合計 0.67em ぶん引き上げて、文字の上端を写真の上端に揃える */
    margin-top: -0.67em;
  }
  .housework-band {
    padding: 0 18px;
  }
  /* この見出しはサービスカードのタイトル（.service-item-text h3）と同じ階層。
     カード側は全幅で24px固定なので、こちらも基準の24pxのまま縮めない。
     以前の 15.5px 固定は折り返し防止が狙いと思われるが、390pxでは
     15.5pxでも2行になっており効果がなく、サイズ差だけが残っていた */
  .founder-creds {
    max-width: 100%;
    padding: 24px 24px;
  }
  .founder-creds li {
    font-size: 13px;
  }
}

/* サービス紹介: 小型モバイルでは写真と本文を縦に積み、可読幅を確保する */
@media (max-width: 600px) {
  .service-surface,
  .service-surface-wrap::before {
    width: 100%;
    max-width: none;
  }

  .service-surface .inner {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .pillar-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
  }

  .pillar-tabs.is-stuck::before {
    left: -16px;
    right: -16px;
  }

  .pillar-tab {
    min-width: 0;
    min-height: 78px;
    padding: 10px 4px 12px;
  }

  .pillar-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 3em;
    font-size: 13px;
    line-height: 1.5;
  }

  .service-items {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    column-gap: 0;
    row-gap: 0;
  }

  .service-item-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0 0 20px;
  }

  .service-item-text h3 {
    min-height: 0;
    margin-top: 0;
  }
}

/* ---------- ご利用例ページ（usecase.html） ---------- */

/* よくあるご利用例: 各ケースをひとまとまりとして見せる間隔 */
#uc-cases .scene-rows {
  gap: 160px;
}

@media (max-width: 860px) {
  #uc-cases .scene-rows {
    gap: 72px;
  }
}

/* 流れ03の入れ子リスト */
.uc-inline-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.uc-inline-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 2.1;
  color: #555;
}

.uc-inline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* 追加料金なしの帯 */
.uc-note-band {
  margin: 64px auto 0;
  max-width: 720px;
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.uc-note-band-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.uc-note-band-main {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  color: #4f4f4f;
}

/* ケースカードのメタ情報（番号＋時間バッジ） */
.case-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.case-num {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.case-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 14px;
  white-space: nowrap;
}

/* ケースの当日の流れ */
.case-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--border);
}

.case-steps li {
  position: relative;
  padding: 0 0 14px 0;
  font-size: 14.5px;
  line-height: 2;
  color: #555;
}

.case-steps li:last-child {
  padding-bottom: 0;
}

.case-steps li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
}

.case-step-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  line-height: 1.6;
}

.case-closing {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: #4f4f4f;
}

.uc-cases-note {
  margin-top: 64px;
  text-align: center;
  font-size: 13px;
  line-height: 2.1;
  color: var(--text-sub);
}

@media (max-width: 700px) {
  .uc-note-band { margin-top: 48px; padding: 26px 18px; }
  .uc-note-band-main { font-size: 17px; }
  .uc-cases-note { margin-top: 48px; text-align: left; }
}

/* ご利用時間セクションはラベルを持たないリード見出しのため、
   セクション見出しより1段下げる。共通ルールの「中見出し」に合わせる */
#uc-hours .section-head h2 {
  font-size: 28px;
  margin-bottom: 56px;
}

@media (max-width: 600px) {
  #uc-hours .section-head h2 { font-size: 23px; }
}

/* ご利用時間セクション: リード文が数px足りず末尾2文字だけ折り返すため、
   強制改行ではなくコンテナ幅で吸収する */
#uc-hours .inner.narrow {
  max-width: 880px;
}

#uc-hours .body-text {
  text-align: center;
}

/* ご利用例セクション: リード文が数px足りず末尾だけ折り返すため、
   強制改行ではなく見出しブロックの幅で吸収する */
#uc-cases .section-head {
  max-width: 800px;
}

/* スマホでは中央揃えの本文が行末に2〜3文字の切れ端を残して目立つため、
   左揃えに戻す（見出しは中央揃えのまま） */
@media (max-width: 700px) {
  #uc-hours .body-text,
  #uc-cases .section-head .lead-text {
    text-align: left;
  }
}

/* シーンセクション末尾: ご利用例ページへの導線 */
.scenes-usecase-cta {
  margin-top: 112px;
  text-align: center;
}

.scenes-usecase-cta-note {
  font-size: 13.5px;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 36px;
}

.scene-lead-mobile-break {
  display: none;
}

.flow-lead-mobile-break {
  display: none;
}

.closing-mobile-break {
  display: none;
}

/* 代表プロフィール「本当に支えが必要なのは、退院してからでした。」の改行位置。
   36px時の全文は815pxで容器672pxに収まらないため、「必要なのは、」の後ろは常に改行する。
   さらに28pxになる幅では1行目が349px必要で、400px以下だと入らないため
   「本当に支えが」でもう一度折る */
.intro-narrow-break {
  display: none;
}

@media (max-width: 400px) {
  .intro-narrow-break {
    display: block;
  }
}

/* 320px級では最終行（28px時288px）も入らず「た。」だけが落ちるため、
   「退院してから」で折る */
.intro-narrow-break2 {
  display: none;
}

@media (max-width: 340px) {
  .intro-narrow-break2 {
    display: block;
  }
}

@media (max-width: 700px) {
  /* 狭い画面では 64px のずらしがそのまま右へのはみ出しになるため解除する
     （実測: 700px で余裕159px、600px で59px しかなく64pxずらすと溢れる） */
  .check-list {
    transform: none;
  }

  .scenes-usecase-cta { margin-top: 36px; }
}

@media (max-width: 600px) {
  .scene-lead-mobile-break {
    display: block;
  }

  .flow-lead-mobile-break {
    display: block;
  }

  .closing-mobile-break {
    display: block;
  }
}

/* ---------- 特定商取引法に基づく表記 ---------- */
.tokusho {
  margin: 0;
  border-top: 1px solid var(--border);
}

.tokusho-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
}

.tokusho dt {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.9;
}

.tokusho dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-main);
}

.tokusho dd a {
  color: var(--gold);
  text-decoration: underline;
}

/* 記入用のメモ。内容を埋めたら HTML 側ごと削除する */
.tokusho-hint {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #8a8a8a;
}

@media (max-width: 700px) {
  .tokusho-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 4px;
  }
  .tokusho dt {
    color: var(--gold);
  }
}

/* 600px以下のFVは写真を大きく見せ、テキストを下端にまとめる */
@media (max-width: 600px) {
  .hero {
    align-items: flex-end;
  }

  .hero-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 18px 26px;
    background: rgba(255, 255, 255, 0.68);
  }
}

@media (max-width: 600px) {
  .mobile-hidden-breastcare {
    display: none;
  }

  .mobile-hidden-feeding-note {
    display: none;
  }

  .mobile-hidden-early-care-note {
    display: none;
  }

  .mobile-hidden-family-support-note {
    display: none;
  }
}

/* OS側で「視差効果を減らす」を有効にしている方には動きを出さない。
   産後の体調が不安定な時期に見るサイトのため、酔いやすい状態への配慮 */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.is-visible,
  .scene-row-photo,
  .scene-row-photo img,
  .scene-row-text,
  .statement-text,
  .statement-photo img,
  .service-answer-photo,
  .service-answer-copy h3,
  .answer-line,
  .hero-message-intro,
  .approach-item,
  .hero-fv-message {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }

  /* 写真の外枠はレイアウト用の transform を持つため、
     ここでは transform に触れず、表示だけ確定させる */
  .statement-photo {
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }

  .approach-line path,
  .hero-line path {
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ===========================
   登場アニメーション（セクション別）
   =========================== */

/* --- 05 利用シーン：写真の真ん中から、窓が縦に開くように --- */
/* 中央の横一本線から上辺・下辺が同時に離れていく。
   .scene-row-photo は影も角丸もない overflow: hidden の箱なので、
   clip-path で切っても見た目に支障が出ない */
.scene-row .scene-row-photo {
  clip-path: inset(50% 0 50% 0);
  transition: clip-path 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scene-row.is-visible .scene-row-photo {
  clip-path: inset(0 0 0 0);
}

/* 中の写真。上下対称に開くので、寄せずに拡大とぼかしだけを戻す。
   枠より少し長い時間をかけて、開ききったあとにピタッと止める。
   拡大を 1.08 にしてあるのは、ぼかしで柔らかくなる写真の縁（最大6px）が
   枠の外に隠れる余白（短辺で約4%）を確保するため */
.scene-row .scene-row-photo img {
  transform: scale(1.08);
  filter: blur(6px);
  transition:
    transform 1.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1.3s ease-out;
}

.scene-row.is-visible .scene-row-photo img {
  transform: none;
  filter: none;
}

.scene-row .scene-row-text {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s ease 0.25s,
              transform 1.1s cubic-bezier(0.39, 0.575, 0.565, 1) 0.25s;
}

.scene-row.is-visible .scene-row-text {
  opacity: 1;
  transform: none;
}

/* --- 02 ステートメント：上の写真から順にふわっと --- */
/* 親（.statement-grid）は発火のきっかけだけにして、中の要素を順番に出す。
   写真の外枠には .statement-photo-1 の translateY(40px) などレイアウト用の
   transform が入っているため、動かすのは opacity だけにして衝突を避ける。
   並び順は 縦書き → 赤ちゃん → 手のアップ → かご。1枚ずつはっきり間を空けて出す。
   装飾の円はアニメーションに加えず、最初から表示したままにする */
.statement .statement-grid.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.statement-photo,
.statement-text,
.hero-message-intro {
  opacity: 0;
  transition: opacity 1.9s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.fade-in.is-visible .statement-photo,
.fade-in.is-visible .statement-text,
.fade-in.is-visible .hero-message-intro {
  opacity: 1;
}

/* 写真の外枠は動かせないので、中の img を動かして「ふわっ」を作る。
   外枠は overflow: hidden なので、少し拡大しておけば動かしても隙間は出ない */
.statement-photo img {
  /* ずらす量は px ではなく % にする。拡大 1.1 で上下に確保できる余白は 5% ぶんなので、
     3.5%（拡大後 3.85%）なら写真の小さいカードでも隙間が出ない */
  transform: scale(1.1) translateY(3.5%);
  filter: blur(7px);
  transition:
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.6s ease-out;
}

.fade-in.is-visible .statement-photo img {
  transform: none;
  filter: none;
}

/* 縦書きテキストは外枠に transform が無いので、そのまま持ち上げる */
.statement-text {
  transform: translateY(28px);
  transition:
    opacity 1.9s cubic-bezier(0.39, 0.575, 0.565, 1),
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.is-visible .statement-text {
  transform: none;
}

/* .statement-photo-2 が赤ちゃん、-1 が手のアップ、-3 がかご */
.fade-in.is-visible .statement-text    { transition-delay: 0s; }
.fade-in.is-visible .statement-photo-2,
.fade-in.is-visible .statement-photo-2 img { transition-delay: 0.5s; }
.fade-in.is-visible .statement-photo-1,
.fade-in.is-visible .statement-photo-1 img { transition-delay: 1s; }
.fade-in.is-visible .statement-photo-3,
.fade-in.is-visible .statement-photo-3 img { transition-delay: 1.5s; }

/* 親を止めたぶん、About / サービスの特徴のかたまりは最後に */
.fade-in.is-visible .hero-message-intro { transition-delay: 2s; }

/* --- 04 サービスの答え（写真＋コピー）：写真がふわっと、本文は読む順に1行ずつ --- */
/* 親は発火のきっかけだけ。861px以上では .service-answer-copy が
   translateY(96px) のレイアウト用 transform を持つので、コピー側は
   中の見出し・行を動かして衝突を避ける */
.service-answer-layout.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.service-answer-photo {
  opacity: 0;
  transform: scale(1.05) translateY(14px);
  filter: blur(7px);
  transition:
    opacity 1.6s cubic-bezier(0.39, 0.575, 0.565, 1),
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.6s ease-out;
}

.service-answer-copy h3 {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.4s cubic-bezier(0.39, 0.575, 0.565, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 本文の各行はインライン要素なので transform が効かない。
   代わりに ぼけ→くっきり で「ふわっ」を作る */
.service-answer-copy .answer-line {
  opacity: 0;
  filter: blur(5px);
  transition:
    opacity 1.1s ease-out,
    filter 1.1s ease-out;
}

.fade-in.is-visible .service-answer-photo {
  opacity: 1;
  transform: none;
  filter: none;
}

.fade-in.is-visible .service-answer-copy h3 {
  opacity: 1;
  transform: none;
}

.fade-in.is-visible .service-answer-copy .answer-line {
  opacity: 1;
  filter: none;
}

/* 写真2枚 → 見出し → 本文を上から1行ずつ */
.fade-in.is-visible .service-answer-photo-main  { transition-delay: 0s; }
.fade-in.is-visible .service-answer-photo-small { transition-delay: 0.3s; }
.fade-in.is-visible .service-answer-copy h3     { transition-delay: 0.6s; }
.fade-in.is-visible .answer-line:nth-of-type(1) { transition-delay: 0.9s; }
.fade-in.is-visible .answer-line:nth-of-type(2) { transition-delay: 1.15s; }
.fade-in.is-visible .answer-line:nth-of-type(3) { transition-delay: 1.4s; }
.fade-in.is-visible .answer-line:nth-of-type(4) { transition-delay: 1.65s; }
.fade-in.is-visible .answer-line:nth-of-type(5) { transition-delay: 1.9s; }

/* --- 04 サービスカード / 07 お客様の声：横並びの時だけ順番に出す --- */
/* 1カラムになる幅では、スクロールで自然に1枚ずつ現れるため遅延は不要 */
@media (min-width: 861px) {
  .service-items .service-item:nth-child(2),
  .voice-list .voice-card:nth-child(2) {
    transition-delay: 0.12s;
  }

  .service-items .service-item:nth-child(3) {
    transition-delay: 0.24s;
  }
}

/* --- 08 ご利用の流れ：5ステップを順番に --- */
@media (min-width: 861px) {
  .flow-list .flow-item:nth-child(2) { transition-delay: 0.1s; }
  .flow-list .flow-item:nth-child(3) { transition-delay: 0.2s; }
  .flow-list .flow-item:nth-child(4) { transition-delay: 0.3s; }
  .flow-list .flow-item:nth-child(5) { transition-delay: 0.4s; }
}

/* --- 11.5 ギフト：見出しがベルのように振れながら現れる --- */
/* 上端を支点にして、斜めのゆれ＋回転を少しずつ小さくしていく。
   幅いっぱいのブロックのままだと支点が文字の外に出るので、
   inline-block にして文字の幅に合わせる（見え方は変わらない） */
.gift-banner .en-label {
  display: inline-block;
  transform-origin: 50% 0;
}

@keyframes gift-bell-ring {
  0%   { transform: translate(-7px, -6px) rotate(-12deg); }
  15%  { transform: translate(5px, 4px) rotate(9.5deg); }
  30%  { transform: translate(-3.5px, -3px) rotate(-7deg); }
  45%  { transform: translate(2.5px, 2px) rotate(5deg); }
  60%  { transform: translate(-1.6px, -1.4px) rotate(-3.2deg); }
  75%  { transform: translate(1px, 0.9px) rotate(1.9deg); }
  88%  { transform: translate(-0.5px, -0.4px) rotate(-0.9deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.gift-banner.is-visible .en-label {
  animation: gift-bell-ring 1.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
  .gift-banner.is-visible .en-label {
    animation: none !important;
    transform: none !important;
  }
}

/* 360px以下では、ヘッダーCTAの44px確保でロゴが痩せすぎるため、
   CTA側の余白と字間を詰めてロゴに幅を返す */
@media (max-width: 360px) {
  .site-header .inner {
    gap: 6px;
  }

  .header-cta {
    padding: 0 8px;
    letter-spacing: 0;
  }
}

/* --- モバイルのFVを高く --- */
/* 80vh → 88vh。ただし vh はスマホのアドレスバーが隠れた状態の高さなので、
   そのまま伸ばすと初回表示（バーが出ている状態）で下のテキスト帯が画面から切れる。
   svh（バーが出ている時の高さ）で上限を掛けて、どの状態でも収まるようにする。
   svh 未対応のブラウザは1行目の 88vh を使う */
@media (max-width: 860px) {
  .hero {
    height: 88vh;
    height: min(88vh, 96svh);
  }
}

/* --- ページを開いた直後のFVテキストは、通常のフェードよりゆっくり --- */
.hero-inner.fade-in {
  transition:
    opacity 1.9s ease,
    transform 1.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 代表プロフィール: 携帯ではカードが下からせりあがって定位置に収まる --- */
/* PCのような重ね合わせ（sticky）は、画面の小さい端末でカード1枚が画面に
   収まりきらず本文の下端が読めなくなるため使わない（375x667で109pxはみ出す）。
   代わりに、スクロールで1枚ずつ持ち上がる動きにする */
@media (max-width: 860px) {
  /* カード1枚が画面に収まる端末では、PCと同じように積み重ねる。
     固定位置(--story-stack-top)は、いちばん高いカードが画面に収まる値を
     JSが実測して入れる。収まらない端末には html.story-stack-off が付き、
     下のせりあがりアニメーションに切り替わる */
  html:not(.story-stack-off) .founder-story-card.fade-in {
    position: sticky;
    top: var(--story-stack-top, 72px);
    opacity: 0;
    transform: none;
    transition:
      opacity 0.8s ease,
      transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 600ms ease;
  }

  html:not(.story-stack-off) .founder-story-card.fade-in.is-visible {
    opacity: 1;
  }

  html:not(.story-stack-off) .founder-story-card.fade-in.is-covered {
    transform: scale(0.92);
    box-shadow: 0 10px 24px rgba(70, 60, 45, 0.08);
  }

  /* 積み重ねが使えない小さい画面: 1枚ずつ下からせりあがる */
  html.story-stack-off .founder-story-card.fade-in {
    opacity: 0;
    transform: translateY(72px) scale(0.965);
    transition:
      opacity 0.9s ease,
      transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 1.15s ease;
    box-shadow: 0 6px 16px rgba(70, 60, 45, 0.06);
  }

  html.story-stack-off .founder-story-card.fade-in.is-visible {
    opacity: 1;
    transform: none;
    box-shadow: 0 18px 44px rgba(70, 60, 45, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-story-card.fade-in,
  .founder-story-card.fade-in.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- 代表プロフィール: 経歴などの箇条書きの折り返しを自然にする --- */
/* 中央揃えのままだと折り返し位置が語の途中に来て、「し」1文字だけが
   次の行に落ちるような切れ方になる。箇条書きなので左揃えに戻し、
   対応ブラウザでは日本語の文節単位で折り返させる */
@media (max-width: 860px) {
  .founder-profile-page .area-box {
    text-align: left;
  }

  .founder-profile-page .area-box-list {
    word-break: auto-phrase;
  }
}

/* 2文字だけが次行に落ちる箇所を、語のまとまりごと送るための指定 */
.nobr {
  white-space: nowrap;
}

/* ==========================================================
   見出しサイズの共通ルール（全ページ共通）
   ページ見出し 40/30 → セクション見出し 36/28 → 中見出し 28/23
   → カード見出し 24/20 → 小見出し 19/17（PC / 600px以下）
   ファーストビュー（.hero-copy）は別格として対象外。
   ページごとの個別指定より後に置いて、ここを唯一の基準にする
   ========================================================== */

/* ページ見出し（404はページ固有の指定を持たないためここで拾う） */
.story-hero h1 {
  font-size: 40px;
}

/* セクション見出し */
.section-head h2,
.section-head h1,
.service-head-text h2,
.founder-overlay-body h2,
/* 料金プランは .section-head を使っていないが、英字ラベル PRICE を直接持つ
   セクションの顔なので、セクション見出しとして扱う */
.pricing-title {
  font-size: 36px;
}

/* 中見出し */
.concept-banner__heading,
.founder-story-content h2,
.gift-band__heading,
.brand-panel-title h2,
.service-answer-copy h3,
.scene-row-text h2,
.scene-row-text h3,
.cta-section h2 {
  font-size: 28px;
}

/* カード見出し */
.service-item-text h3,
.flow-content h3,
.gift-card h3,
.reason-item h3,
/* 対応エリア / 初めての方へ も箱に入ったカードなので同じ扱い */
.pricing-cta h3 {
  font-size: 24px;
}

/* 小見出し */
.brand-block h3,
#brand .brand-block h3,
#compare .brand-block h3,
.area-box-title {
  font-size: 19px;
}

@media (max-width: 600px) {
  .story-hero h1 {
    font-size: 30px;
  }

  .section-head h2,
  .section-head h1,
  .service-head-text h2,
  .founder-overlay-body h2,
  .pricing-title {
    font-size: 28px;
  }

  .concept-banner__heading,
  .founder-story-content h2,
  .gift-band__heading,
  .brand-panel-title h2,
  .service-answer-copy h3,
  .scene-row-text h2,
  .scene-row-text h3,
  .cta-section h2 {
    font-size: 23px;
  }

  .service-item-text h3,
  .flow-content h3,
  .gift-card h3,
  .reason-item h3,
  .pricing-cta h3 {
    font-size: 20px;
  }

  .brand-block h3,
  #brand .brand-block h3,
  #compare .brand-block h3,
  .area-box-title {
    font-size: 17px;
  }

  /* 上で個別に指定していない h3（プライバシーポリシーの各項目など）も
     小見出しとして揃える。個別指定のほうが詳細度が高いので影響しない */
  h3 {
    font-size: 17px;
  }
}

/* 代表プロフィール「助産師として10年、…」の改行位置 */
/* 36px時の実測幅: 助産師として10年、=336px / 1,500組以上の母子のケアに=467px /
   携わってきました。=333px。容器の内寸672pxに対し3行とも収まる。
   ただし28pxになる幅では2行目が363px必要で、420px以下だと入らないため
   「1,500組以上の」でもう一度折る */
.profile-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .profile-narrow-break {
    display: block;
  }
}

.scene-heading-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .scene-heading-narrow-break {
    display: block;
  }
}

/* ボタン幅が狭いと「家で、ひと息つき」「たい日」のように
   おかしな位置で折れるため、600px以下では前置きの言葉を外す */
@media (max-width: 600px) {
  .choice-btn-prefix {
    display: none;
  }
}

.chat-heading-narrow-break {
  display: none;
}

@media (max-width: 600px) {
  .chat-heading-narrow-break {
    display: block;
  }
}

@media (min-width: 861px) and (max-width: 1259px) {
  .chat-heading-narrow-break {
    display: block;
  }
}

.salon-heading-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .salon-heading-narrow-break {
    display: block;
  }
}

@media (min-width: 861px) and (max-width: 1235px) {
  .salon-heading-narrow-break {
    display: block;
  }
}

.oldest-heading-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .oldest-heading-narrow-break {
    display: block;
  }
}

@media (min-width: 861px) and (max-width: 1260px) {
  .oldest-heading-narrow-break {
    display: block;
  }
}

.flow-heading-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .flow-heading-narrow-break {
    display: block;
  }
}

.firsttime-heading-narrow-break {
  display: none;
}

@media (max-width: 600px) {
  .firsttime-heading-narrow-break {
    display: block;
  }
}

.founder-overlay-narrow-break {
  display: none;
}

@media (max-width: 600px) {
  .founder-overlay-narrow-break {
    display: block;
  }
}

.gift-band-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .gift-band-narrow-break {
    display: block;
  }
}

.medical-note-mobile-break {
  display: none;
}

@media (max-width: 600px) {
  .medical-note-mobile-break {
    display: block;
  }
}

.compare-lead-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .compare-lead-narrow-break {
    display: block;
  }
}

/* --- ストーリーカードに写真を敷く（白すかし / 黒すかし） --- */
.founder-story-card--photo {
  overflow: hidden;
  isolation: isolate;
}

.founder-story-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.founder-story-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* 黒すかし: 写真を暗く沈めて文字を白にする（.founder-story-card--photo-dark を付けたカードのみ）。
   画像全体にかける膜なので、こちらは::afterのまま */
.founder-story-card--photo-dark .founder-story-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(38, 33, 27, 0.6);
}

/* 中身は写真より前面へ */
.founder-story-card--photo .founder-story-content {
  position: relative;
  z-index: 1;
}

/* 白すかし: 画像全体ではなく、文章が乗る部分だけを白く沈める。
   四隅や行間は写真がそのまま見える。
   はみ出す量はカード自体の内側余白（64px→40px→24px）に合わせて
   ブレイクポイントごとに変え、どの幅でも左右に写真の帯が残るようにする */
.founder-story-card--photo:not(.founder-story-card--photo-dark) .founder-story-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  margin: -20px -32px;
  padding: 20px 32px;
}

@media (max-width: 860px) {
  .founder-story-card--photo:not(.founder-story-card--photo-dark) .founder-story-content {
    margin: -16px -18px;
    padding: 16px 18px;
  }
}

@media (max-width: 600px) {
  .founder-story-card--photo:not(.founder-story-card--photo-dark) .founder-story-content {
    margin: -14px -10px;
    padding: 14px 10px;
  }
}

.founder-story-card--photo-dark .founder-story-content h2,
.founder-story-card--photo-dark .founder-story-content .body-text {
  color: #fff;
}

/* このカードだけ写真ではなく、背景をグレー系にする */
.founder-story-card--gray {
  background: #F2F1EE;
  border-top-color: #C9C4B8;
}

/* 青空の写真は空を主役にしたいので、既定より上寄りに見せる */
.founder-story-card__bg--sky img {
  object-position: center 22%;
}

.flow-item-heading-narrow-break {
  display: none;
}

@media (max-width: 392px) {
  .flow-item-heading-narrow-break {
    display: block;
  }
}

.case02-heading-narrow-break {
  display: none;
}

@media (max-width: 431px) {
  .case02-heading-narrow-break {
    display: block;
  }
}

.case04-heading-narrow-break {
  display: none;
}

@media (max-width: 377px) {
  .case04-heading-narrow-break {
    display: block;
  }
}

.cta-heading-narrow-break {
  display: none;
}

@media (max-width: 426px) {
  .cta-heading-narrow-break {
    display: block;
  }
}

.cta-lead-narrow-break {
  display: none;
}

@media (max-width: 581px) {
  .cta-lead-narrow-break {
    display: block;
  }
}

.area-slash-hide-narrow {
  display: inline;
}

.area-break-show-narrow {
  display: none;
}

.area-slash-show-narrow {
  display: none;
}

@media (max-width: 420px) {
  .area-slash-hide-narrow {
    display: none;
  }

  .area-break-show-narrow {
    display: block;
  }

  .area-break-hide-narrow {
    display: none;
  }

  .area-slash-show-narrow {
    display: inline;
  }
}

.gift-line-heading-narrow-break {
  display: none;
}

@media (max-width: 473px) {
  .gift-line-heading-narrow-break {
    display: block;
  }
}

.gift-flow-lead-narrow-break {
  display: none;
}

@media (max-width: 569px) {
  .gift-flow-lead-narrow-break {
    display: block;
  }
}

.gift-cta-note-narrow-break {
  display: none;
}

@media (max-width: 525px) {
  .gift-cta-note-narrow-break {
    display: block;
  }
}

.footer-copy-narrow-break {
  display: none;
}

@media (max-width: 420px) {
  .footer-copy-narrow-break {
    display: block;
  }
}

.sleep-heading-narrow-break {
  display: none;
}

@media (min-width: 861px) and (max-width: 1102px) {
  .sleep-heading-narrow-break {
    display: block;
  }
}

.concept-banner-heading-narrow-break {
  display: none;
}

@media (max-width: 454px) {
  .concept-banner-heading-narrow-break {
    display: block;
  }
}

/* 2カラムで並ぶ間は本文が3文・複数行になるため、左揃えのほうが読みやすい。
   見出しとボタンは中央のまま。1カラムになる860px以下は中央揃えに戻す
   （行が短くなり、左揃えだと右端のガタつきが目立つため） */
@media (min-width: 861px) {
  .pricing-info-row .pricing-cta .body-text {
    text-align: left;
  }
}
