/* トップと料金ページの区画。切り抜きの人物と不定形の色面で「それぞれの毎日」を描き、特長は色が切り替わる全幅の帯で見せる。共通部分は styles.css */
:root {
  --primary-ink: #7A1F9C;
  --soft-line: #E4DFE8;
  --c-purple: #8E3AB8;   /* 白文字を載せる紫の帯 */
  --c-mustard: #F2C35B;  /* 濃い文字を載せる黄の帯 */
  --c-sage: #4E8C6A;     /* 白文字を載せる緑の帯 */
  --c-coral: #E58A6B;
  --p-purple: #EADAF6; --p-mustard: #FCEBC4; --p-sage: #DCEFE3; --p-coral: #FBE1D6;
  --shadow-soft: 0 10px 30px -12px rgb(92 16 96 / .22);
  --shadow-soft-lg: 0 24px 60px -20px rgb(92 16 96 / .30);
  --wrap-gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(64px, 7vw, 96px);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V24C1250 60 1040 4 820 30C600 56 380 8 190 30C110 40 50 40 0 34Z'/%3E%3C/svg%3E");
}
@media (min-width: 960px) { .page-home { font-size: 16px; } }
.sec { padding-block: var(--sec-y); }
.blob { position: absolute; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
.blob--2 { border-radius: 42% 58% 38% 62% / 55% 40% 60% 45%; }
.blob--3 { border-radius: 63% 37% 54% 46% / 38% 62% 38% 62%; }
.dots-line { display: block; width: 28px; margin: 8px auto 0; border-top: 3px dotted currentColor; opacity: .6; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--primary-ink); font-weight: 700; }
.link::after { content: '→'; font-family: var(--en); transition: transform .2s; }
.link:hover::after { transform: translateX(3px); }

/* 区画の見出し（中央・英字の小見出し付き） */
.c-head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.c-head span { display: block; color: var(--primary); font: 600 14px/1 var(--en); letter-spacing: .18em; }
.c-head h2 { margin-top: 12px; color: var(--heading); font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: .06em; }
.c-head p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.row-head h2 { color: var(--heading); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; }

/* スマホ画面の枠。スクリーンショットは上部だけを見せ、縦に長くしない */
.phone { position: relative; width: var(--pw, 220px); aspect-ratio: 1206 / 2622; border-radius: calc(var(--pw, 220px) * .16); background: #1F1A24; padding: calc(var(--pw, 220px) * .035); box-shadow: var(--shadow-soft-lg); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--pw, 220px) * .13); }
.phone--crop { aspect-ratio: auto; height: var(--ph, 300px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; overflow: hidden; }
.phone--crop img { height: auto; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* 最初の画面: 中央の見出しと、色面の上のシッターと子ども1組・アプリ画面1台 */
.hero { position: relative; overflow: hidden; padding-top: calc(72px + clamp(28px, 4vw, 56px)); text-align: center; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-en { color: var(--primary); font: 600 15px/1 var(--en); letter-spacing: .16em; }
.hero h1 { margin-top: 16px; color: var(--heading); font-size: clamp(30px, 4vw, 56px); font-weight: 700; line-height: 1.45; letter-spacing: .06em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-lead { margin-top: 18px; font-size: clamp(15px, 1.25vw, 17px); line-height: 2; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 28px; }
.hero-note { color: var(--heading); font-size: 15px; font-weight: 700; }
.hero-note strong { margin-right: 3px; font: 700 36px/1 var(--en); }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.hero-tags li { padding: 6px 14px; border-radius: 999px; background: var(--background); box-shadow: inset 0 0 0 1px var(--soft-line); font-size: 13.5px; font-weight: 700; color: var(--heading); }
/* 背景の丸い模様。ほかの区画と同じ不定形の淡い色面を、文字にかからない端に置く */
.hero .hb { z-index: 0; }
.hero .hb1 { left: -5%; top: 8%; width: clamp(140px, 17vw, 260px); aspect-ratio: 1; background: var(--p-purple); opacity: .7; }
.hero .hb2 { right: -4%; top: 3%; width: clamp(110px, 13vw, 200px); aspect-ratio: 1; background: var(--p-mustard); opacity: .8; }
.hero .hb3 { right: 12%; top: 34%; width: clamp(18px, 2vw, 30px); aspect-ratio: 1; background: var(--c-coral); opacity: .7; }
.hero .hb4 { left: 10%; top: 48%; width: clamp(14px, 1.4vw, 22px); aspect-ratio: 1; background: var(--c-sage); opacity: .6; }
.stage { position: relative; height: clamp(300px, 32vw, 440px); margin-top: clamp(24px, 3vw, 40px); }
.stage .ground { position: absolute; left: 50%; bottom: 0; width: min(660px, 90%); height: 64%; transform: translateX(-50%); border-radius: 52% 48% 46% 54% / 58% 54% 46% 42%; background: var(--p-purple); }
.stage .b3 { right: 8%; top: 6%; width: clamp(40px, 6vw, 84px); aspect-ratio: 1; background: var(--p-sage); }
.stage .b4 { right: 22%; top: 46%; width: clamp(14px, 1.6vw, 22px); aspect-ratio: 1; background: var(--c-coral); }
.stage .pair { position: absolute; left: 50%; bottom: 3%; width: min(460px, 76%); transform: translateX(-58%); filter: drop-shadow(0 18px 14px rgb(42 0 64 / .12)); }
.stage .phone { position: absolute; left: 50%; bottom: 8%; --pw: clamp(96px, 11vw, 150px); margin-left: clamp(80px, 14vw, 190px); transform: rotate(6deg); }
.trail--hero { inset: 6% 0 0 0; --fc: var(--primary); --fo: .28; --fw: 15px; }
@media (max-width: 899px) {
  /* スマホ: 中央寄せの見出し → 料金 → 中央の予約ボタン → 特長を小さな1行 → 写真 */
  .hero { display: flex; flex-direction: column; padding-top: 64px; text-align: center; }
  .hero > .wrap { display: contents; }
  .hero > .wrap > * { position: relative; z-index: 2; margin-inline: 16px; }
  .hero-en, .hero-lead-2 { display: none; }
  .hero-lead { margin-top: 12px; font-size: 14px; line-height: 1.8; }
  .hero h1 { order: 0; margin-top: 24px; font-size: min(33px, calc((100vw - 32px) / 12.8)); }
  .hero-cta { order: 1; flex-direction: column-reverse; align-items: center; gap: 14px; margin-top: 12px; }
  .hero-cta .pill { align-self: center; min-width: 220px; min-height: 54px; padding: 0 32px; font-size: 16px; }
  .hero-note { font-size: 14px; line-height: 1.4; white-space: nowrap; }
  .hero-note strong { margin-right: 2px; font-size: 28px; }
  .hero-tags { order: 2; justify-content: center; gap: 2px 12px; margin-top: 16px; }
  .hero-tags li { padding: 0; background: none; box-shadow: none; color: var(--muted); font-size: 12px; font-weight: 500; }
  .hero-tags li::before { content: '✓'; margin-right: 4px; color: var(--primary); font-weight: 700; }
  .hero .hb1 { left: -18%; top: 60px; width: 150px; }
  .hero .hb2 { right: -12%; top: 120px; width: 110px; }
  .hero .hb3 { right: 8%; top: 300px; }
  .hero .hb4 { display: none; }
  /* 写真は文字の下に、頭が特長の行にかからない高さで置く */
  .stage { order: 3; height: clamp(300px, 76vw, 340px); margin-top: 16px; }
  .stage .ground { width: 94%; height: 60%; }
  .stage .pair { width: min(76%, 330px); transform: translateX(-62%); }
  .stage .phone { --pw: 100px; margin-left: min(17vw, 110px); bottom: 10%; }
  .trail--hero { display: none; }
}

/* 想い: 真ん中の1文だけを大きく。前後は小さく薄くして、読む量を軽く見せる */
.statement { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 96px) 0; text-align: center; }
.statement .blob { opacity: .9; }
.statement .s1 { left: -6%; top: 10%; width: 18vw; max-width: 240px; aspect-ratio: 1; background: var(--p-mustard); }
.statement .s2 { right: -4%; bottom: 8%; width: 22vw; max-width: 300px; aspect-ratio: 1; background: var(--p-purple); }
.statement .s3 { right: 14%; top: 6%; width: 5vw; max-width: 64px; aspect-ratio: 1; background: var(--c-sage); }
.statement p { position: relative; color: var(--muted); font-size: clamp(14px, 1.15vw, 16px); line-height: 2; letter-spacing: .04em; }
.statement .big { margin: 14px 0; color: var(--heading); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.7; letter-spacing: .06em; }
.nw { display: inline-block; }
@media (max-width: 640px) { .statement p { font-size: 14px; line-height: 1.9; } .statement .big { font-size: 18px; letter-spacing: .04em; } }

/* 特長: 番号ごとに帯の色が変わる。帯の上端10pxは前の帯の色で塗り、その内側から波を描いて境目に線を出さない */
.feat { position: relative; overflow: hidden; padding: clamp(72px, 7.5vw, 112px) 0; background: linear-gradient(var(--prev) 0 10px, var(--self) 10px); }
.feat--1 { --prev: #fff; --self: var(--c-purple); color: #fff; }
.feat--2 { --prev: var(--c-purple); --self: var(--c-mustard); color: #3A2400; }
.feat--3 { --prev: var(--c-mustard); --self: var(--c-sage); color: #fff; background: linear-gradient(var(--prev) 0 10px, var(--self) 10px calc(100% - 10px), #fff calc(100% - 10px)); }
.feat + .feat { margin-top: -1px; }
.feat::before, .feat--3::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; height: calc(clamp(22px, 3.2vw, 46px) + 6px); -webkit-mask: linear-gradient(#000 0 0) top / 100% 8px no-repeat, var(--wave) 0 6px / 100% calc(100% - 6px) no-repeat; mask: linear-gradient(#000 0 0) top / 100% 8px no-repeat, var(--wave) 0 6px / 100% calc(100% - 6px) no-repeat; }
.feat::before { top: 0; background: var(--prev); }
.feat--3::after { bottom: 0; background: #fff; transform: scaleY(-1); }
.feat .deco { position: absolute; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; background: rgb(255 255 255 / .12); }
.feat .d1 { right: -8%; top: 6%; width: 40vw; max-width: 520px; aspect-ratio: 1; }
.feat .d2 { left: -10%; bottom: -20%; width: 30vw; max-width: 380px; aspect-ratio: 1; }
.feat-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feat--2 .feat-in { grid-template-columns: .95fr 1.05fr; }
.feat--2 .feat-media { order: 2; }
.feat-media { position: relative; display: grid; place-items: end center; aspect-ratio: 1 / .7; border-radius: 36px; overflow: hidden; background: rgb(255 255 255 / .92); }
.feat-media .cutimg { width: 82%; }
/* 01: 人物と画面を重ねる。03: 生活写真にレポート画面を重ねる */
.feat-media--combo { background: #FBF6FE; }
.feat-media--combo .person { position: absolute; left: -6%; bottom: -6%; width: 70%; filter: drop-shadow(0 16px 12px rgb(42 0 64 / .12)); }
.feat-media--combo .phone, .feat-media--photo .phone { position: absolute; }
.feat-media--combo .phone { --pw: 200px; right: 9%; top: 12%; transform: rotate(4deg); }
.feat-media--photo .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.feat-media--photo .phone { --pw: 150px; right: 5%; top: 52%; transform: rotate(-5deg); }
.feat-num { font: 700 18px/1 var(--en); letter-spacing: .14em; text-align: left; }
.feat-num .dots-line { margin-left: 0; }
.feat h2 { margin-top: 18px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.55; letter-spacing: .04em; }
.feat p { margin-top: 18px; font-size: 16px; line-height: 2; }
.feat .pts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.feat .pts li { padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .18); font-size: 14px; font-weight: 700; }
.feat--2 .pts li { background: rgb(255 255 255 / .55); }
.feat .feat-note { margin-top: 12px; font-size: 12px; line-height: 1.7; }
.feat .btn-ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 24px; padding: 0 24px; border-radius: 999px; background: #fff; color: var(--heading); font-weight: 700; }
@media (max-width: 899px) {
  .feat-in, .feat--2 .feat-in { grid-template-columns: 1fr; gap: 0; }
  .feat-media { aspect-ratio: 1 / .78; border-radius: 28px; }
  .feat-media--combo .phone { --pw: 140px; right: 7%; top: 14%; }
  .feat-media--photo .phone { --pw: 104px; right: 4%; top: 56%; }
  .feat-num, .feat h2 { text-align: center; }
  .feat-num .dots-line { margin-left: auto; }
  /* スマホは「番号 → 見出し → 写真 → 本文 → タグ」の順にして、いきなり写真から始まらないようにする */
  .feat-in > div:not(.feat-media) { display: contents; }
  .feat-num { order: 0; }
  .feat h2 { order: 1; margin-top: 14px; }
  .feat-in > .feat-media, .feat--2 .feat-in > .feat-media { order: 2; margin-top: 24px; }
  .feat-in p:not(.feat-num) { order: 3; margin-top: 22px; }
  .feat .pts { order: 4; justify-content: center; }
  .feat-in p.feat-note { order: 5; margin-top: 12px; text-align: center; }
  .feat .btn-ghost { order: 5; display: flex; width: fit-content; margin-inline: auto; }
}

/* 使い方: 画面の画像は使わず、色付きの丸いアイコンと短い文で4ステップを並べる。PCは横に、スマホは縦の線でつなぐ */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 48px; border-top: 3px dotted var(--p-purple); }
.step { position: relative; text-align: center; }
.step-ic { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin-inline: auto; border-radius: 50%; }
.step-ic svg { width: 42px; height: 42px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-ic b { position: absolute; left: -4px; top: -4px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font: 700 15px/1 var(--en); box-shadow: 0 0 0 4px #fff; }
.step--1 .step-ic { background: var(--p-purple); } .step--1 svg { stroke: var(--primary); } .step--1 b { background: var(--primary); }
.step--2 .step-ic { background: var(--p-mustard); } .step--2 svg { stroke: #B07A0C; } .step--2 b { background: #B07A0C; }
.step--3 .step-ic { background: var(--p-sage); } .step--3 svg { stroke: var(--c-sage); } .step--3 b { background: var(--c-sage); }
.step--4 .step-ic { background: var(--p-coral); } .step--4 svg { stroke: #C2603F; } .step--4 b { background: #C2603F; }
.step h3 { margin-top: 18px; color: var(--heading); font-size: 18px; line-height: 1.5; }
.step p { margin-top: 6px; font-size: 14.5px; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin-inline: auto; }
  .steps::before { left: 35px; right: auto; top: 36px; bottom: 36px; border-top: 0; border-left: 3px dotted var(--p-purple); }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; align-items: center; padding-bottom: 22px; text-align: left; }
  .step:last-child { padding-bottom: 0; }
  .step-ic { grid-row: span 2; width: 72px; height: 72px; margin: 0; }
  .step-ic svg { width: 32px; height: 32px; }
  .step-ic b { width: 26px; height: 26px; font-size: 13px; }
  .step h3 { margin-top: 0; font-size: 16px; align-self: end; }
  .step p { margin-top: 2px; font-size: 14px; align-self: start; }
}

/* 会話例: スマホの画面の中に、シッターとのチャットを入れる */
.talk { background: var(--background); }
.talk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.talk-copy h2 { color: var(--heading); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.55; letter-spacing: .04em; }
.talk-copy p { margin-top: 16px; }
.chat { justify-self: center; width: 300px; padding: 10px; border-radius: 46px; background: #1F1A24; box-shadow: var(--shadow-soft-lg); }
.chat-screen { display: flex; flex-direction: column; height: 560px; overflow: hidden; border-radius: 37px; background: #F7F4FA; }
.chat-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 26px 6px; background: #fff; color: var(--heading); font: 600 12px/1 var(--en); }
.chat-status i { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid var(--heading); background: linear-gradient(90deg, var(--heading) 70%, transparent 70%) 1px 1px / calc(100% - 2px) calc(100% - 2px) no-repeat; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 6px 14px 10px; background: #fff; border-bottom: 1px solid var(--soft-line); }
.chat-head .back { color: var(--primary); font-size: 24px; line-height: 1; }
.chat-head i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--p-purple); color: var(--primary-ink); font-style: normal; font-size: 13px; font-weight: 700; }
.chat-head b { display: block; color: var(--heading); font-size: 14px; line-height: 1.3; }
.chat-head small { color: var(--muted); font-size: 12px; }
/* 実機の画面と同じ高さに収め、会話の全文は画面の中をスクロールして読む */
.bubbles { flex: 1; display: grid; align-content: start; gap: 8px; min-height: 0; padding: 12px 12px 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.bubbles:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.chat-day { justify-self: center; padding: 2px 10px; border-radius: 999px; background: rgb(42 0 64 / .06); color: var(--muted); font-size: 12px; }
.bub { max-width: 80%; padding: 8px 12px; border-radius: 16px; font-size: 13px; line-height: 1.6; }
.bub--p { justify-self: end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.bub--s { justify-self: start; background: #fff; color: var(--text); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgb(42 0 64 / .08); }
.chat-input { display: flex; align-items: center; gap: 8px; margin: 0 10px 14px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; }
.chat-input i { display: grid; place-items: center; width: 28px; height: 28px; margin-left: auto; border-radius: 50%; background: var(--primary); color: #fff; font-style: normal; font-size: 13px; }
@media (max-width: 899px) { .talk-grid { grid-template-columns: 1fr; gap: 24px; } .talk-copy { text-align: center; } }

/* 料金ページは料金に特化しているため、オプションとキャンセル料を最初から開いて見せ、開閉させない */
.price-sec--page .acc summary { cursor: default; pointer-events: none; }
.price-sec--page .acc summary::after { display: none; }
.price-sec--page .fee-details { margin-top: 48px; }
/* 見出しの「＋800円/時〜」などのまとめは、開いた一覧と重なるため料金ページでは出さない */
.price-sec--page .acc summary .sum-sub { display: none; }
/* ページ見出しのすぐ下から料金を始め、間を空けない */
.price-sec--page { padding-top: 0; }

/* 料金: 2つの基本プランを主役にし、オプションとキャンセル料は閉じたアコーディオンにまとめる（料金ページと同じ部品） */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 40px); border-radius: 36px; }
.plan--a { background: var(--p-purple); }
.plan--b { background: var(--p-coral); }
.plan .deco { position: absolute; right: -40px; bottom: -40px; width: 160px; aspect-ratio: 1; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; background: rgb(255 255 255 / .5); }
.plan-when { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--heading); font-size: 13px; font-weight: 700; }
.plan h3 { margin-top: 14px; color: var(--heading); font-size: 19px; }
.plan-num { position: relative; margin-top: 6px; color: var(--heading); }
.plan-num strong { font: 700 clamp(48px, 5vw, 64px)/1.05 var(--en); }
.transport-note { margin-left: 10px; color: var(--heading); font-size: 13px; }
.plan ul { position: relative; display: grid; gap: 6px; margin-top: 18px; font-size: 15px; }
.plan li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; vertical-align: middle; background: var(--primary); }
.plan--b li::before { background: #C2603F; }
.price-lead { margin-bottom: 20px; text-align: center; color: var(--muted); }
.price-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.fee-details { max-width: 860px; margin: 56px auto 0; }
.fee-details > h3 { margin-bottom: 6px; color: var(--heading); font-size: 19px; }
.fee-notes { display: grid; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.fee-notes a, .acc-body a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.acc { border-top: 1px solid var(--soft-line); }
.acc details { border-bottom: 1px solid var(--soft-line); }
.acc summary { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; color: var(--heading); font-weight: 700; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .sum-sub { margin-left: auto; color: var(--primary-ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.acc summary::after { content: ''; flex: 0 0 28px; height: 28px; margin-left: auto; border-radius: 50%; background: var(--lilac-pale) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%237A1F9C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .3s; }
.acc summary:has(.sum-sub)::after { margin-left: 0; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0 22px; }
.acc .ic { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac-pale); }
.acc .ic svg { width: 18px; height: 18px; fill: none; stroke: var(--primary-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fee-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--soft-line); }
.fee-list div:last-child { border-bottom: 0; }
.fee-list dt small { display: block; color: var(--muted); font-size: 13px; }
.fee-list dd { margin: 0; color: var(--heading); font-weight: 700; text-align: right; white-space: nowrap; }
.fee-list dd small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.fee-note { margin-top: 10px; color: var(--muted); font-size: 14px; }
.cxl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cxl-table th, .cxl-table td { padding: 8px 0; border-bottom: 1px dashed var(--soft-line); text-align: left; font-weight: 400; }
.cxl-table td { text-align: right; color: var(--heading); white-space: nowrap; }
.cxl-table tr:last-child th, .cxl-table tr:last-child td { border-bottom: 0; }
.more-btn { display: flex; justify-content: center; padding-bottom: var(--sec-y); }
@media (max-width: 899px) { .plans { grid-template-columns: 1fr; } .plan { border-radius: 28px; } }
@media (max-width: 480px) {
  .fee-details .acc summary { flex-wrap: wrap; row-gap: 0; }
  .fee-details .acc summary .sum-sub { order: 3; flex-basis: 100%; margin: 0 0 0 50px; font-size: 13.5px; }
  .fee-details .acc summary::after { margin-left: auto; }
}

/* こんな日にも: 色面の上に切り抜きの人物。横にめくり、前後ボタンと現在位置の点を付ける */
.rail { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--wrap-gutter); padding: 4px var(--wrap-gutter) 8px; margin-inline: calc(-1 * var(--wrap-gutter)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; }
.dots { display: flex; gap: 2px; }
.dots button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots button::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--soft-line); transition: width .3s, background-color .3s; }
.dots button[aria-current="true"]::before { width: 22px; background: var(--primary); }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--soft-line); background: #fff; color: var(--heading); font: 600 18px/1 var(--en); cursor: pointer; transition: border-color .2s, opacity .2s; }
.arrows button:hover { border-color: var(--primary); }
.arrows button:disabled { opacity: .35; cursor: default; }
.scene { width: 280px; border-radius: 32px; overflow: hidden; }
.scene-fig { position: relative; display: grid; grid-template-rows: 100%; place-items: end center; height: 230px; overflow: hidden; }
.scene-fig img { width: auto; height: 100%; }
.scene:nth-child(5n+1) { background: var(--p-purple); }
.scene:nth-child(5n+2) { background: var(--p-mustard); }
.scene:nth-child(5n+3) { background: var(--p-sage); }
.scene:nth-child(5n+4) { background: var(--p-coral); }
.scene:nth-child(5n+5) { background: var(--p-purple); }
.scene .t { padding: 18px 22px 24px; background: rgb(255 255 255 / .55); }
.scene h3 { color: var(--heading); font-size: 16px; line-height: 1.6; }
.scene p { margin-top: 6px; color: var(--muted); font-size: 13px; }
@media (max-width: 899px) { .scene { width: 74vw; } .scene-fig { height: 200px; } }

/* よくある質問 */
.faq .acc { max-width: 860px; margin-inline: auto; }
.faq .acc summary .q { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font: 700 13px/1 var(--en); }
.faq .more-btn { margin-top: 32px; padding-bottom: 0; }

/* お知らせ */
.news-list a { display: grid; grid-template-columns: 110px 1fr 20px; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--soft-line); }
.news-list time { color: var(--primary-ink); font: 600 14px/1 var(--en); }
.news-list a::after { content: '›'; color: var(--primary); font-size: 22px; }
@media (max-width: 640px) { .news-list a { grid-template-columns: 1fr 20px; gap: 4px 12px; } .news-list time, .news-list span { grid-column: 1; } .news-list a::after { grid-column: 2; grid-row: 1 / 3; } }

/* 動き: 色面がゆっくり揺れ、要素がふわっと現れる。動きを減らす設定では止める */
@media (prefers-reduced-motion: no-preference) {
  .hero .hb, .statement .blob, .feat .deco { animation: drift 9s ease-in-out infinite alternate; }
  .hero .hb:nth-child(2n), .statement .blob:nth-child(2n), .feat .deco:nth-child(2n) { animation-duration: 12s; animation-direction: alternate-reverse; }
  .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .rv.is-in { opacity: 1; transform: none; }
}

/* ===== 法人向けサービス（corporate.html） ===== */
.corp-label { color: var(--primary); font: 600 14px/1 var(--en); letter-spacing: .18em; text-transform: uppercase; }
.corp-intro { padding: clamp(24px, 4vw, 56px) 0 0; }
.corp-intro-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.corp-photo { margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 3; }
.corp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.corp-intro h2 { margin-top: 14px; color: var(--heading); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.55; }
.corp-intro p:not(.corp-label) { margin: 16px 0 26px; }
/* サービスの種類: 番号付きの色分けカード（写真は使わない） */
.corporate-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.corporate-services article.svc { border: 0; border-radius: 32px; }
.corporate-services article.svc--1 { background: var(--p-purple); }
.corporate-services article.svc--2 { background: var(--p-mustard); }
.corporate-services article.svc--3 { background: var(--p-sage); }
.corporate-services .svc > div { padding: clamp(24px, 3vw, 34px); }
.corporate-services .service-number { margin-bottom: 18px; color: var(--primary-ink); font: 700 30px/1 var(--en); }
.corporate-services h3 { color: var(--heading); font-size: 19px; }
.corporate-services p { margin-top: 10px; font-size: 15px; line-height: 1.9; }
/* 導入で支えられること: アイコン付きの一覧（PC 3列×2、スマホ 1列） */
.benefit-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.benefit-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.ben-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lilac-pale); }
.ben-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--primary-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit-list h3 { color: var(--heading); font-size: 17px; line-height: 1.5; }
.benefit-list p { margin-top: 4px; color: var(--muted); font-size: 14px; }
/* お見積り: 紫の帯に3ステップと白いボタン（法人向けは LINE 予約ではなく問い合わせで締める） */
.corp-estimate { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0; background: #8E3AB8; color: #fff; text-align: center; }
.corp-estimate .deco { position: absolute; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; background: rgb(255 255 255 / .1); }
.corp-estimate .d1 { left: -6%; top: -30%; width: 380px; aspect-ratio: 1; }
.corp-estimate .d2 { right: -4%; bottom: -40%; width: 320px; aspect-ratio: 1; background: rgb(242 195 91 / .85); }
.corp-estimate-in { position: relative; max-width: 820px; }
.corp-estimate .corp-label { color: #F3E3FA; }
.corp-estimate h2 { margin-top: 14px; font-size: clamp(24px, 3vw, 36px); line-height: 1.55; }
.corp-estimate p:not(.corp-label) { margin-top: 14px; font-size: 15px; }
.est-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; counter-reset: none; }
.est-steps li { display: grid; justify-items: center; gap: 10px; padding: 20px 14px; border-radius: 24px; background: rgb(255 255 255 / .12); font-weight: 700; }
.est-steps b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--primary-ink); font: 700 16px/1 var(--en); }
body:has(main > .corp-estimate:last-child) .ft { margin-top: 0; }
@media (max-width: 899px) {
  .corp-intro-in, .corporate-services, .benefit-list { grid-template-columns: 1fr; }
  .corp-intro { text-align: center; }
  .est-steps { grid-template-columns: 1fr; }
  .est-steps li { grid-template-columns: 36px 1fr; justify-items: start; align-items: center; text-align: left; }
  .corp-estimate .pill { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .corp-estimate .deco { animation: drift 9s ease-in-out infinite alternate; }
}
@media (max-width: 640px) {
  /* スマホで見出しの最後の1文字だけが改行されないよう、少し小さくする */
  .c-head h2 { font-size: 23px; letter-spacing: .02em; }
  .corp-estimate h2 { font-size: 21px; }
}

/* ===== 会社概要（about.html）: 元の文章だけを使い、見せる量と順番で読みやすくする ===== */
.ab-h { margin-bottom: clamp(20px, 3vw, 32px); color: var(--heading); font-size: clamp(23px, 2.6vw, 32px); font-weight: 700; letter-spacing: .04em; text-align: center; }
/* ミッション・ビジョン: 2枚のカードで、それぞれの文を大きく見せる */
.ab-mv { padding-top: clamp(16px, 3vw, 40px); }
.ab-mv-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.mv-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px; }
.mv-card--mission { background: var(--p-purple); }
.mv-card--vision { background: var(--p-mustard); }
.mv-label { display: inline-block; align-self: flex-start; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--primary-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.mv-card h2 { margin-top: 16px; color: var(--heading); font-size: clamp(21px, 2.3vw, 29px); line-height: 1.6; letter-spacing: .03em; }
.mv-card p:not(.mv-label) { margin-top: 14px; color: var(--text); font-size: 15px; }
/* 色の帯: トップの特長と同じく、上端を波形にして前の区画の色からつなぐ */
.ab-band { position: relative; overflow: clip; background: linear-gradient(var(--prev) 0 10px, var(--self) 10px); }
.ab-band::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: calc(clamp(22px, 3.2vw, 46px) + 6px); background: var(--prev); -webkit-mask: linear-gradient(#000 0 0) top / 100% 8px no-repeat, var(--wave) 0 6px / 100% calc(100% - 6px) no-repeat; mask: linear-gradient(#000 0 0) top / 100% 8px no-repeat, var(--wave) 0 6px / 100% calc(100% - 6px) no-repeat; }
.ab-band > .wrap { position: relative; z-index: 2; }
.ab-band .deco { position: absolute; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; background: rgb(255 255 255 / .55); }
.ab-band .b1 { right: -8%; top: 12%; width: 34vw; max-width: 420px; aspect-ratio: 1; }
.ab-band .b2 { left: -10%; bottom: 6%; width: 28vw; max-width: 340px; aspect-ratio: 1; }
/* 創業ストーリー: 淡い紫の帯の上に箱を置かず、読みやすい幅の1列で全文を見せる。強調は元のサイトと同じ太字 */
.ab-story { --prev: #fff; --self: #F4E9FB; padding-top: calc(var(--sec-y) + 24px); }
.ab-story-in { max-width: 680px; }
.ab-story-lead { color: var(--primary-ink); font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.7; text-align: center; }
.ab-story-body { margin-top: clamp(28px, 4vw, 44px); color: var(--heading); font-size: 15px; line-height: 2.05; }
.ab-story-body p + p { margin-top: 1.5em; }
.ab-story-body strong { color: inherit; font-weight: 700; }
/* 代表プロフィール: 淡い黄の帯の上に、箱なしで写真と経歴を並べる */
.ab-profile { --prev: #F4E9FB; --self: #FFF5DC; padding-top: calc(var(--sec-y) + 24px); }
.ab-profile-grid { display: grid; grid-template-columns: 240px minmax(0, 600px); justify-content: center; gap: clamp(28px, 5vw, 56px); align-items: start; }
.ab-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 28px; }
.ab-role { color: var(--primary); font-size: 13px; font-weight: 700; }
.ab-name { margin-top: 2px; color: var(--heading); font-size: 24px; }
.ab-name span { display: block; color: var(--primary); font: 600 14px/1.8 var(--en); }
.ab-links { display: flex; align-items: center; gap: 4px; margin: 2px 0 0 -12px; }
.ab-links .sns { display: grid; place-items: center; min-width: 44px; height: 44px; color: var(--muted); transition: color .2s; }
.ab-links .sns:hover { color: var(--heading); }
.ab-links .sns:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.ab-links svg { width: 18px; height: 18px; fill: currentColor; }
.sns-note { font: 800 17px/1 var(--en); letter-spacing: -.02em; }
.ab-profile-grid p:not(.ab-role):not(.ab-links) { margin-top: 10px; color: var(--heading); font-size: 15px; line-height: 2; }
/* 会社情報: 黄の帯から白へ波でつなぐ */
.ab-company.ab-band { --prev: #FFF5DC; --self: #fff; padding-top: calc(var(--sec-y) + 24px); }
/* 会社概要 */
.ab-company { padding-top: 0; }
.ab-list { border-top: 1px solid var(--soft-line); }
.ab-list div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--soft-line); }
.ab-list dt { color: var(--muted); font-size: 14px; font-weight: 700; }
.ab-list dd { margin: 0; color: var(--heading); font-size: 15px; }
.ab-list a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .ab-mv-in, .ab-profile-grid { grid-template-columns: 1fr; }
  .mv-card h2 { font-size: 20px; }
  .ab-photo { max-width: 220px; margin-inline: auto; }
  .ab-role, .ab-name { text-align: center; }
  .ab-links { justify-content: center; margin-left: 0; }
  .ab-list div { grid-template-columns: 1fr; gap: 2px; }
}
.mv-card h2 .nw, .ab-story-lead .nw { display: inline-block; }
/* 対応エリアの相談ボタン: 本文の直後に詰まらないよう間隔を取る */
.area-consult { margin-top: 20px; }
