/* 株式会社ヒトニギリ 確認版 v2 — 共通スタイル
   配色は現行サイト（hitonigiri.info）のロゴ・テーマ色を基にした制作上の提案値 */
:root {
  --blue: #388acd;          /* 面・装飾（現行サイトの青） */
  --blue-ink: #1f63a3;      /* 文字・リンク用の濃い青 */
  --blue-soft: #e6f0fa;
  --navy: #1b3864;
  --pink: #d072ac;          /* 現行サイトのピンク */
  --pink-ink: #a33f7b;
  --pink-soft: #fbe9f3;
  --yellow: #ecc919;        /* 現行サイトの黄 */
  --yellow-soft: #fdf5cf;
  --yellow-ink: #6d5600;
  --logo-blue: #4973b9;
  --rainbow: linear-gradient(90deg, #4973b9 0%, #8c63b6 32%, #d072ac 58%, #e59a7c 80%, #ecc919 100%);
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --text: #24303a;
  --text-sub: #52616c;
  --line: #d6dfe8;
  --radius: 14px;
  --header-h: 76px;
  --max: 1180px;
  --gutter: 24px;
  --shadow: 0 10px 30px rgba(27, 56, 100, .10);
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
}
@media (max-width: 767px) { :root { --gutter: 20px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 18px; line-height: 1.85; overflow-x: hidden; overflow-wrap: anywhere; line-break: strict; }
@media (max-width: 767px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.45; margin: 0 0 .6em; letter-spacing: .03em; color: var(--navy); }
h1 { font-size: clamp(30px, 4.4vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.measure { max-width: 38em; }
.small { font-size: 16px; color: var(--text-sub); }
.sub { color: var(--text-sub); }
.phrase { display: inline-block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 300; border-radius: 6px; }
.skip:focus { top: 10px; color: #fff; }
main:focus { outline: none; }
.rainbow-text { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark { background: linear-gradient(transparent 62%, var(--yellow-soft) 62%); padding: 0 .1em; }

/* ---------- 背景の装飾：ドット・色の丸・虹線 ---------- */
.dots { background-color: var(--bg-soft); background-image: radial-gradient(#cfdbe8 1.3px, transparent 1.5px); background-size: 16px 16px; }
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; will-change: transform; }
.blobs .b1 { width: 380px; height: 380px; background: #8fc0ea; left: -80px; top: 8%; }
.blobs .b2 { width: 320px; height: 320px; background: #efb4d6; right: -60px; top: 34%; animation-duration: 26s; animation-delay: -6s; }
.blobs .b3 { width: 300px; height: 300px; background: #f6e27e; left: 38%; bottom: -120px; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 24px) scale(.96); } }
.shape { position: absolute; pointer-events: none; z-index: 0; border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
.rainbow-line { display: block; width: 120px; height: 6px; border-radius: 6px; background: var(--rainbow); margin: 0 0 18px; }
.center .rainbow-line { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.2) blur(8px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rainbow); opacity: .9; }
.site-header__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); min-height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 52px; width: auto; }
@media (max-width: 767px) { .brand img { height: 42px; } }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 700; border-radius: 8px; white-space: nowrap; }
.site-nav a:hover { background: var(--blue-soft); color: var(--blue-ink); }
.site-nav a[aria-current="page"] { color: var(--blue-ink); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.site-nav .nav__cta a { background: #b8508f; color: #fff; padding: 0 18px; margin-left: 8px; border-radius: 999px; box-shadow: 0 4px 12px rgba(208,114,172,.35); }
.site-nav .nav__cta a:hover { background: var(--pink-ink); color: #fff; }
.site-nav .nav__cta a[aria-current="page"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pink); }
.nav-toggle { display: none; }
@media (max-width: 1099px) {
  .js .nav-toggle { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; min-height: 46px; min-width: 46px; padding: 0 14px; border: 0; background: var(--navy); border-radius: 999px; font: 700 15px var(--font-body); color: #fff; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 16px 30px rgba(27,56,100,.14); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 18px; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { font-size: 17px; padding: 6px 4px; min-height: 54px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blue); padding-left: 14px; }
  .site-nav .nav__cta a { justify-content: center; margin: 14px 0 0; min-height: 52px; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .site-nav { width: 100%; margin: 0; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0 0 10px; }
  .no-js .site-nav li { border: 0; }
  .no-js .site-nav a { min-height: 44px; font-size: 15px; }
}

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 10px 30px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; line-height: 1.4; text-align: center; cursor: pointer; font-family: var(--font-body); transition: transform .2s ease, box-shadow .2s ease, background-color .2s; }
.btn--primary { background: var(--blue-ink); color: #fff; box-shadow: 0 6px 16px rgba(31,99,163,.3); }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--pink { background: var(--pink-ink); color: #fff; box-shadow: 0 6px 16px rgba(163,63,123,.3); }
.btn--pink:hover { background: #86305f; color: #fff; transform: translateY(-2px); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 16px rgba(180,150,0,.3); }
.btn--yellow:hover { background: #f5d84a; color: var(--navy); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--blue-ink); box-shadow: inset 0 0 0 2px var(--blue-ink); }
.btn--ghost:hover { background: var(--blue-soft); color: var(--navy); }
.btn::after { content: "›"; font-size: 1.3em; line-height: 1; margin-top: -2px; }
.btn--plain::after { content: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.text-link { font-weight: 700; }
.text-link::after { content: " ›"; }

/* ---------- section heading（現行サイト風：●日本語●＋英字） ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(44px, 5vw, 68px) 0; }
.section > .container { z-index: 1; }
.sec-title { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-title__ja { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 17px; letter-spacing: .08em; margin: 0; }
.sec-title__ja::before, .sec-title__ja::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.sec-title__en { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.2; color: var(--navy); letter-spacing: .04em; margin: 4px 0 10px; }
.sec-title h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 .4em; }
.sec-title p { color: var(--text-sub); max-width: 40em; margin: 0 auto; }
.sec-left { text-align: left; }
.sec-left .sec-title__ja { justify-content: flex-start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--pink-ink); letter-spacing: .08em; margin-bottom: .8em; }
.eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 4px; background: var(--rainbow); }

/* 帯の見出し（現行サイトのリボン） */
.ribbon { position: relative; display: block; text-align: center; color: #fff; background: var(--blue); border-radius: 999px; padding: 12px 24px; font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; margin: 0 0 22px; letter-spacing: .06em; }
.ribbon::after { content: ""; position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); border: 11px solid transparent; border-top-color: inherit; border-bottom: 0; }
.ribbon--blue { background: #2d79bd; border-top-color: #2d79bd; }
.ribbon--pink { background: #b8508f; border-top-color: #b8508f; }
.ribbon--yellow { background: var(--yellow); color: var(--navy); border-top-color: var(--yellow); }
.ribbon--navy { background: var(--navy); border-top-color: var(--navy); }

/* ---------- photo ---------- */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--pending { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #eef2f6 0 14px, #f6f8fa 14px 28px); border: 1px dashed #b7c3ce; }
.photo__pending { display: grid; gap: 4px; text-align: center; padding: 20px; }
.photo__pending-label { font-weight: 700; color: var(--blue-ink); font-size: 16px; }
.photo__pending-file, .photo__pending-desc { font-size: 15px; color: var(--text-sub); }
.ratio-43 { aspect-ratio: 4 / 3; } .ratio-32 { aspect-ratio: 3 / 2; } .ratio-45 { aspect-ratio: 4 / 5; } .ratio-11 { aspect-ratio: 1 / 1; }
.blob-photo { border-radius: 56% 44% 48% 52% / 50% 46% 54% 50%; box-shadow: var(--shadow); }
.blob-photo--b { border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%; }
.round { border-radius: 50%; }
.photo-frame { position: relative; }
.photo-frame::before { content: ""; position: absolute; inset: -18px -14px auto auto; width: 70%; height: 80%; border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; background: var(--yellow); opacity: .85; z-index: 0; }
.photo-frame--pink::before { background: #f1bcd9; }
.photo-frame--blue::before { background: #b9d6f1; inset: auto auto -18px -16px; }
.photo-frame > .photo { position: relative; z-index: 1; }

/* ---------- hero (top) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__kicker { display: inline-block; font-weight: 700; font-size: 16px; color: var(--navy); background: #fff; padding: 6px 16px; border-radius: 999px; box-shadow: 0 0 0 2px var(--line); margin-bottom: 1.1em; letter-spacing: .04em; }
.hero__kicker b { color: var(--blue-ink); } .hero__kicker i { font-style: normal; color: var(--pink-ink); }
.hero h1 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.5; margin-bottom: .55em; letter-spacing: .02em; color: var(--navy); text-wrap: balance; }
.hero h1 .line2 { display: block; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 64%, rgba(236,201,25,.55) 64%); }
.hero__lead { font-size: clamp(18px, 1.5vw, 20px); margin-bottom: 1.4em; color: var(--text); }
.hero__visual { position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: -6% -8% -4% 6%; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; background: var(--yellow); z-index: 0; }
.hero__photo { position: relative; z-index: 1; aspect-ratio: 4 / 3.2; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; box-shadow: var(--shadow); }
.hero__badge { position: absolute; z-index: 2; left: -4%; bottom: -6%; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 8px 18px 8px 8px; box-shadow: var(--shadow); }
.hero__badge .photo { width: 78px; height: 78px; border-radius: 50%; flex: none; }
.hero__badge p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--navy); font-weight: 700; }
.hero__badge span { display: block; font-weight: 500; color: var(--text-sub); }
.quick { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick a { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 14px; border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 700; background: #fff; font-size: 16px; box-shadow: 0 2px 0 var(--line), 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.quick a:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(27,56,100,.12), 0 0 0 2px var(--blue); }
.quick a::after { content: "›"; margin-left: auto; font-size: 22px; color: var(--blue-ink); line-height: 1; }
.quick__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-size: 14px; font-weight: 700; }
.quick__tag { display: block; font-size: 13px; color: var(--text-sub); font-weight: 500; line-height: 1.3; }
.c-blue { background: #2d79bd; } .c-navy { background: var(--navy); } .c-pink { background: #b8508f; } .c-yellow { background: var(--yellow); color: var(--navy) !important; }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: 2; margin: 8px 12px 24px; }
  .hero__badge { left: 0; bottom: -18px; }
}
@media (max-width: 479px) { .hero__badge .photo { width: 60px; height: 60px; } .hero__badge { padding-right: 14px; } }

/* ---------- 4 entries（現行サイトのサービスカード風） ---------- */
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.entry { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px; grid-template-areas: "head photo" "text text" "link link"; gap: 10px 18px; padding: 28px; border-radius: var(--radius); background: #fff; border: 3px solid var(--c, var(--blue)); box-shadow: var(--shadow); transition: transform .25s ease; }
.entry:hover { transform: translateY(-4px); }
.entry__head { grid-area: head; }
.entry .photo { grid-area: photo; width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 0 0 5px var(--c-soft, var(--blue-soft)); }
.entry__num { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; }
.entry__num b { flex: none; }
.entry__num b { font-family: var(--font-head); font-size: 36px; line-height: 1; color: var(--c-ink, var(--blue-ink)); }
.entry__tag { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; font-size: 14px; font-weight: 700; overflow: hidden; box-shadow: 0 0 0 2px var(--c, var(--blue)); }
.entry__tag span:first-child { background: var(--c, var(--blue)); color: #fff; padding: 1px 10px; }
.entry__tag span + span { padding: 1px 10px; color: var(--navy); }
.entry h3 { margin: 0; font-size: clamp(20px, 2.2vw, 25px); }
.entry__text { grid-area: text; margin: 0; }
.entry__who { display: block; font-size: 16px; color: var(--text-sub); margin-top: 4px; }
.entry__link { grid-area: link; justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 6px 22px; border-radius: 999px; background: var(--c-btn, var(--blue-ink)); color: var(--c-btn-text, #fff); font-weight: 700; text-decoration: none; font-size: 16px; }
.entry__link::after { content: "›"; font-size: 1.3em; line-height: 1; }
.entry__link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.entry__link:focus-visible { outline: none; }
.entry:focus-within { outline: 3px solid var(--navy); outline-offset: 3px; }
.entry--personal { --c: #2d79bd; --c-soft: var(--blue-soft); --c-ink: var(--blue-ink); --c-btn: var(--blue-ink); }
.entry--business { --c: var(--navy); --c-soft: #dfe6f1; --c-ink: var(--navy); --c-btn: var(--navy); }
.entry--coaching { --c: #b8508f; --c-soft: var(--pink-soft); --c-ink: var(--pink-ink); --c-btn: var(--pink-ink); }
.entry--english { --c: var(--yellow); --c-soft: var(--yellow-soft); --c-ink: var(--yellow-ink); --c-btn: var(--yellow); --c-btn-text: var(--navy); }
.entry--english .entry__tag span:first-child { color: var(--navy); }
@media (max-width: 899px) { .entries { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .entry { grid-template-columns: minmax(0, 1fr) 96px; padding: 22px 18px; } .entry .photo { width: 96px; height: 96px; } .entry__num b { font-size: 30px; } }

.notice-band { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding: 26px 32px; border-radius: var(--radius); background: #fff; margin-top: 32px; box-shadow: var(--shadow); border-left: 8px solid transparent; border-image: var(--rainbow) 1; }
.notice-band h3 { margin: 0 0 .2em; }
.notice-band p { margin: 0; }
@media (max-width: 767px) { .notice-band { grid-template-columns: 1fr; padding: 22px 20px; } }

/* ---------- 4段階の図解 ---------- */
.flow-sec { position: relative; overflow: clip; background: linear-gradient(180deg, #fff 0%, #f4f7fb 18%, #f4f7fb 82%, #fff 100%); }
.flow-head { text-align: center; max-width: 46em; margin: 0 auto 8px; }
.flow-head h2 { font-size: clamp(24px, 3.2vw, 40px); }
.flow-note { display: inline-block; font-size: 15px; color: var(--text-sub); background: #fff; border-radius: 999px; padding: 4px 14px; box-shadow: 0 0 0 1px var(--line); }
.flow-bar { position: sticky; top: var(--header-h); z-index: 20; margin: 22px 0 18px; padding: 10px 0; background: rgba(244,247,251,.94); backdrop-filter: blur(6px); }
.flow-bar__inner { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.flow-steps-nav ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.flow-steps-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 16px 4px 6px; border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 700; box-shadow: 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.flow-steps-nav a .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); font-weight: 700; font-size: 14px; }
.flow-steps-nav a[aria-current="step"] { background: var(--navy); color: #fff; box-shadow: none; }
.flow-steps-nav a[aria-current="step"] .num { background: var(--rainbow); color: #fff; }
.motion-btn { min-height: 44px; padding: 4px 16px; border-radius: 999px; border: 0; box-shadow: 0 0 0 1px var(--line); background: #fff; font: 700 15px var(--font-body); color: var(--navy); cursor: pointer; }
.no-js .motion-btn { display: none; }
@media (max-width: 767px) { .flow-steps-nav .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .flow-steps-nav a { padding: 4px 6px; } }

.flow-wrap { position: relative; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.flow-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 90px); }
.flow-step__num { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--pink-ink); letter-spacing: .08em; }
.flow-step__num b { font-family: var(--font-head); font-size: 30px; line-height: 1; color: var(--navy); }
.flow-step h3 { margin: .3em 0 .5em; font-size: clamp(21px, 2.3vw, 27px); }
.flow-step p:last-child { margin-bottom: 0; }
@media (max-width: 899px) { .flow-step { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; } }

/* 各段階の図（スマホ・JS無効・停止時の基本表示） */
.viz { position: relative; border-radius: 16px; padding: 22px; min-height: 230px; overflow: hidden; background: var(--bg-soft); }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 2px solid #c9d6e4; font-weight: 700; font-size: 16px; color: var(--navy); box-shadow: 0 2px 6px rgba(27,56,100,.08); line-height: 1.4; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease, opacity .7s ease, border-color .7s, background-color .7s; }
.chip--blue { border-color: #2d79bd; } .chip--pink { border-color: #b8508f; } .chip--yellow { border-color: #d4b200; background: #fffbea; }
.chip--key { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 状態1：ぼんやり散らばる */
.viz--fog { background: radial-gradient(circle at 50% 50%, #e6eaef 0%, #f2f4f6 70%); display: flex; flex-wrap: wrap; gap: 14px 12px; align-content: center; justify-content: center; padding: 30px 18px; }
.viz--fog::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 40% 45%, rgba(255,255,255,0) 0, rgba(235,238,242,.55) 70%); pointer-events: none; }
.viz--fog .chip { color: #6a7782; border-color: #cfd6dd; filter: blur(1.1px); }
.viz--fog .chip:nth-child(odd) { transform: translateY(8px) rotate(-4deg); }
.viz--fog .chip:nth-child(even) { transform: translateY(-6px) rotate(3deg); }
.viz--fog .chip:nth-child(3n) { transform: translate(10px, 4px) rotate(-2deg); }
/* 状態2：3つの箱へ */
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.zone { background: #fff; border-radius: 12px; padding: 12px 10px; display: grid; gap: 8px; align-content: start; min-height: 160px; border-top: 6px solid #2d79bd; }
.zone--pink { border-top-color: #b8508f; } .zone--yellow { border-top-color: var(--yellow); }
.zone__name { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.zone .chip { font-size: 15px; min-height: 34px; padding: 2px 10px; justify-content: center; }
.viz__caption { margin: 14px 0 0; font-weight: 700; font-family: var(--font-head); text-align: center; color: var(--navy); font-size: 18px; }
@media (max-width: 479px) { .zones { grid-template-columns: 1fr; } .zone { min-height: 0; } }
/* 状態3：くっきり見える */
.viz--clear { background: #fff; box-shadow: inset 0 0 0 2px var(--blue-soft); }
.reframe { display: grid; gap: 8px; justify-items: center; text-align: center; }
.reframe__from { text-decoration: line-through; text-decoration-color: rgba(82,97,108,.6); color: #6a7782; filter: blur(.6px); }
.reframe__arrow { width: 3px; height: 26px; background: var(--rainbow); border-radius: 3px; }
.reframe__to { font-size: 17px; padding: 8px 20px; }
.links3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.links3 .chip { justify-content: center; text-align: center; font-size: 15px; padding: 6px 8px; border-radius: 12px; }
.links3 svg { position: absolute; left: 0; right: 0; top: -26px; width: 100%; height: 26px; overflow: visible; }
.links3 path { stroke-dasharray: 120; stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease .2s; }
@media (max-width: 479px) { .links3 { grid-template-columns: 1fr; } .links3 svg { display: none; } }
/* 状態4：前へ進む */
.viz--next { background: linear-gradient(120deg, #eef5fc, #fdf0f7 55%, #fdf8dc); }
.path { display: grid; gap: 10px; }
.path__step { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 700; color: var(--navy); box-shadow: 0 3px 10px rgba(27,56,100,.10); transition: transform .5s ease, box-shadow .5s; }
.path__step i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 15px; flex: none; }
.path__step:nth-child(1) i { background: #2d79bd; } .path__step:nth-child(2) i { background: #b8508f; } .path__step:nth-child(3) i { background: #c9a800; }
.path__step:nth-child(2) { margin-left: 18px; } .path__step:nth-child(3) { margin-left: 36px; }
.path__step.is-active { transform: translateX(6px); box-shadow: 0 0 0 3px var(--navy), 0 6px 18px rgba(27,56,100,.18); }
.path__arrow { height: 6px; border-radius: 6px; background: var(--rainbow); margin-top: 6px; position: relative; }
.path__arrow::after { content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); border: 10px solid transparent; border-left: 14px solid #ecc919; border-right: 0; }

/* 状態4の選択肢（本文側に置く実ボタン） */
.choices { display: grid; gap: 8px; margin-top: 16px; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 700 16px var(--font-body); color: var(--navy); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.choice::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--blue-ink); flex: none; }
.choice[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice[aria-pressed="true"]::before { border-color: #fff; background: radial-gradient(circle, #fff 0 40%, transparent 46%); }
.choice:hover { border-color: var(--blue-ink); transform: translateX(3px); }
.choice-detail { margin-top: 12px; padding: 14px 18px; background: var(--bg-soft); border-radius: 12px; border-left: 5px solid transparent; border-image: var(--rainbow) 1; min-height: 3.4em; }
.choice-detail p { margin: 0; }
.choice-detail__title { font-weight: 700; color: var(--pink-ink); font-size: 15px; }
.no-js .choices, .no-js .choice-detail { display: none; }
.js .choice-all { display: none; }
.choice-all { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.choice-all li { background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; }

/* スマホ等：各段階の図を、画面に入ったときに一度だけ変化させる */
.js .viz.pre .chip, .js .viz.pre .zone, .js .viz.pre .reframe__to, .js .viz.pre .links3, .js .viz.pre .path__step, .js .viz.pre .path__arrow { transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .6s ease, filter .7s ease; }
.js .viz--zones.pre:not(.is-in) .zone .chip { transform: translate(0, -14px) rotate(-4deg); opacity: .3; filter: blur(2px); }
.js .viz--zones.pre:not(.is-in) .zone { opacity: .6; }
.js .viz--clear.pre:not(.is-in) .reframe__to, .js .viz--clear.pre:not(.is-in) .links3 { opacity: .15; filter: blur(3px); }
.js .viz--clear.pre:not(.is-in) .links3 path { stroke-dashoffset: 120; }
.js .viz--next.pre:not(.is-in) .path__step { opacity: 0; transform: translateX(-24px); }
.js .viz--next.pre:not(.is-in) .path__arrow { transform: scaleX(.1); transform-origin: left; }
.js .viz--next.pre .path__step:nth-child(2) { transition-delay: .15s; } .js .viz--next.pre .path__step:nth-child(3) { transition-delay: .3s; } .js .viz--next.pre .path__arrow { transition-delay: .4s; }

/* PC：段階に合わせて変わる共通の舞台（JSで有効化） */
.stage { display: none; }
@media (min-width: 1024px) {
  .js .flow-wrap.has-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
  .js .flow-wrap.has-stage .flow-step { grid-template-columns: 1fr; min-height: 46vh; align-content: center; background: rgba(255,255,255,.88); }
  .js .flow-wrap.has-stage .flow-step .viz { display: none; }
  .js .flow-wrap.has-stage .stage { display: block; position: sticky; top: calc(var(--header-h) + 92px); height: min(560px, calc(100vh - var(--header-h) - 120px)); }
}
.stage__box { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #eef1f4; box-shadow: var(--shadow); transition: background-color .9s ease; }
.stage .blobs span { opacity: 0; transition: opacity 1s ease; }
.stage__fog { position: absolute; inset: -10%; background: radial-gradient(circle at 50% 50%, rgba(214,220,227,.0) 0%, rgba(214,220,227,.85) 75%); transition: opacity 1s ease; z-index: 2; pointer-events: none; }
.stage__label { position: absolute; left: 24px; top: 20px; z-index: 5; font-weight: 700; font-size: 15px; color: var(--text-sub); background: rgba(255,255,255,.8); padding: 2px 12px; border-radius: 999px; }
.stage__zone { position: absolute; top: 16%; bottom: 8%; width: 29%; border-radius: 18px; background: rgba(255,255,255,.75); border-top: 7px solid #2d79bd; opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), top .8s ease, bottom .8s ease; z-index: 1; }
.stage__zone b { display: block; text-align: center; font-size: 16px; color: var(--navy); padding: 10px 6px 0; }
.stage__zone[data-z="0"] { left: 3.5%; } .stage__zone[data-z="1"] { left: 35.5%; border-top-color: #b8508f; } .stage__zone[data-z="2"] { left: 67.5%; border-top-color: var(--yellow); }
.sc { position: absolute; left: 0; top: 0; z-index: 3; white-space: nowrap; transform: translate(-50%, -50%); transition: left .9s cubic-bezier(.2,.8,.2,1), top .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s ease, opacity .9s ease, border-color .9s, background-color .9s, color .9s; }
.stage__center { position: absolute; left: 50%; top: 13%; transform: translate(-50%, 10px); z-index: 4; display: grid; justify-items: center; gap: 8px; opacity: 0; transition: opacity .8s ease, transform .8s ease; text-align: center; width: 90%; }
.stage__center .chip--key { font-size: 19px; padding: 10px 24px; }
.stage__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.stage__lines path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.1s ease .3s; }
.stage__links { position: absolute; left: 5%; right: 5%; top: 50%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; z-index: 4; opacity: 0; transform: translateY(16px); transition: opacity .8s ease .2s, transform .8s ease .2s; }
.stage__links .chip { justify-content: center; text-align: center; border-radius: 14px; padding: 10px 8px; white-space: normal; }
.stage__next { position: absolute; right: 6%; top: 24%; width: 52%; z-index: 4; display: grid; gap: 12px; }
.stage__next .path__step { opacity: 0; transform: translateX(40px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.stage__next .path__step:nth-child(2) { transition-delay: .12s; } .stage__next .path__step:nth-child(3) { transition-delay: .24s; }
.stage__go { position: absolute; left: 8%; right: 6%; bottom: 14%; height: 8px; border-radius: 8px; background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.8,.2,1) .3s; z-index: 4; }
.stage__go::after { content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); border: 13px solid transparent; border-left: 18px solid #ecc919; border-right: 0; }
.stage__goal { position: absolute; right: 6%; bottom: 20%; z-index: 4; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--navy); opacity: 0; transition: opacity .6s ease 1s; }
.stage__caption { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); z-index: 5; opacity: 0; transition: opacity .7s ease .4s; }
/* 状態ごとの舞台 */
.stage[data-state="1"] .sc { filter: blur(.9px); opacity: .85; color: #5d6a74; border-color: #cfd6dd; }
.stage[data-state="2"] .stage__box, .stage[data-state="3"] .stage__box, .stage[data-state="4"] .stage__box { background: #fff; }
.stage[data-state="2"] .stage__fog { opacity: .35; }
.stage[data-state="2"] .stage__zone { opacity: 1; transform: none; }
.stage[data-state="2"] .sc { filter: blur(.3px); }
.stage[data-state="2"] .stage__caption.c2 { opacity: 1; }
.stage[data-state="3"] .stage__fog, .stage[data-state="4"] .stage__fog { opacity: 0; }
.stage[data-state="3"] .blobs span, .stage[data-state="4"] .blobs span { opacity: .55; }
.stage[data-state="3"] .stage__zone { opacity: 1; transform: none; top: 74%; bottom: 3%; }
.stage[data-state="3"] .stage__zone b { font-size: 14px; padding-top: 6px; }
.stage[data-state="3"] .sc { font-size: 14px; min-height: 30px; padding: 2px 10px; }
.stage[data-state="3"] .stage__center, .stage[data-state="4"] .stage__center { opacity: 1; transform: translate(-50%, 0); }
.stage[data-state="3"] .stage__links { opacity: 1; transform: none; }
.stage[data-state="3"] .stage__lines path { stroke-dashoffset: 0; }
.stage[data-state="4"] .stage__center { opacity: 0; }
.stage[data-state="4"] .stage__zone { opacity: 1; transform: none; left: 4%; width: 32%; top: 17%; bottom: 28%; }
.stage[data-state="4"] .stage__zone[data-z="1"], .stage[data-state="4"] .stage__zone[data-z="2"] { opacity: 0; }
.stage[data-state="4"] .stage__zone b { opacity: 0; }
.stage[data-state="4"] .sc { font-size: 13px; min-height: 26px; padding: 0 8px; opacity: .9; }
.stage[data-state="4"] .stage__next .path__step { opacity: 1; transform: none; }
.stage[data-state="4"] .stage__go { transform: scaleX(1); }
.stage[data-state="4"] .stage__goal { opacity: 1; }
.stage__stack-label { position: absolute; left: 4%; width: 32%; top: 73.5%; text-align: center; font-size: 14px; font-weight: 700; color: var(--text-sub); opacity: 0; transition: opacity .6s ease .6s; z-index: 4; }
.stage[data-state="4"] .stage__stack-label { opacity: 1; }

/* 動きを止める・動きを減らす設定 */
.motion-off *, .motion-off *::before, .motion-off *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
.motion-off .viz.pre:not(.is-in) * { opacity: 1 !important; filter: none !important; transform: none !important; stroke-dashoffset: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
  .js .viz.pre:not(.is-in) * { opacity: 1 !important; filter: none !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.motion-off .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- 三つの領域（現行サイトの三つの丸を参考に、二つの領域で） ---------- */
.circles { position: relative; width: min(100%, 380px); aspect-ratio: 1.25 / 1; margin: 0 auto; }
.circles span { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; font-weight: 700; font-family: var(--font-head); color: #fff; font-size: 18px; line-height: 1.4; padding: 12%; opacity: .93; box-shadow: 0 8px 24px rgba(27,56,100,.15); }
.circles .c1 { left: 0; top: 0; background: radial-gradient(circle at 35% 30%, #6fb0e6, #2d79bd); }
.circles .c2 { right: 0; top: 0; background: radial-gradient(circle at 35% 30%, #e9a0cb, #b8508f); }
.circles .c3 { z-index: 2; opacity: 1; border: 5px solid #fff; left: 50%; bottom: -6%; width: 40%; transform: translateX(-50%); background: radial-gradient(circle at 35% 30%, #f8e27a, #e0b900); color: var(--navy); font-size: 16px; padding: 6%; }
.circles .c1 b, .circles .c2 b { display: block; transform: translateY(-14%); }
.circles .c1 b { transform: translate(-12%, -14%); } .circles .c2 b { transform: translate(12%, -14%); }

/* ---------- generic layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
.split--top { align-items: start; }
@media (max-width: 899px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split > .photo, .split > .photo-frame { order: -1; } .split--keep > .photo, .split--keep > .photo-frame { order: 0; } }

.page-hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 88px) 0 clamp(44px, 5vw, 72px); }
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.page-hero__visual { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.page-hero__visual::before { content: ""; position: absolute; inset: -7% -9% -5% 5%; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; background: var(--accent-bg, #b9d6f1); z-index: 0; }
.page-hero__visual .photo { position: relative; z-index: 1; border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.page-hero--pink { --accent-bg: #f1bcd9; } .page-hero--yellow { --accent-bg: var(--yellow); } .page-hero--navy { --accent-bg: #c3d0e4; }
@media (max-width: 899px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__visual { max-width: 320px; margin: 10px auto 8px; } }
.breadcrumb { font-size: 15px; color: var(--text-sub); margin-bottom: 1em; }
.breadcrumb a { color: var(--text-sub); }
.voice { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.voice li { position: relative; display: inline-block; justify-self: start; padding: 10px 18px; background: #fff; border-radius: 18px 18px 18px 4px; box-shadow: 0 3px 10px rgba(27,56,100,.10); font-weight: 700; color: var(--navy); }
.voice li:nth-child(2) { margin-left: 18px; } .voice li:nth-child(3) { margin-left: 36px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checklist li { position: relative; padding: 16px 18px 16px 56px; background: #fff; border-radius: 14px; box-shadow: 0 3px 12px rgba(27,56,100,.08); }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 1.05em; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); }
.checklist li::after { content: ""; position: absolute; left: 24px; top: calc(1.05em + 7px); width: 10px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }
.checklist--pink li::before { background: var(--pink); } .checklist--yellow li::before { background: #d4b200; }

.steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps3 li { position: relative; padding: 26px 24px; background: #fff; border-radius: var(--radius); counter-increment: s; box-shadow: var(--shadow); }
.steps3 li::before { content: "0" counter(s); display: block; font-family: var(--font-head); font-size: 34px; font-weight: 700; line-height: 1.1; margin-bottom: 6px; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps3 li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; border: 9px solid transparent; border-left: 11px solid #c5d3e2; transform: translateY(-50%); z-index: 1; }
.steps3 strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy); margin-bottom: 4px; }
@media (max-width: 767px) { .steps3 { grid-template-columns: 1fr; } .steps3 li:not(:last-child)::after { right: 50%; top: auto; bottom: -18px; transform: translateX(50%) rotate(90deg); } }
.steps4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps4 li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 16px 18px; background: #fff; border-radius: 14px; box-shadow: 0 3px 12px rgba(27,56,100,.08); }
.steps4 li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 20px; }
.steps4 strong { display: block; font-size: 19px; font-family: var(--font-head); color: var(--navy); }

.menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.menu-list > div { padding: 24px 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--navy); }
.menu-list h3 { font-size: 20px; margin-bottom: .3em; }
@media (max-width: 767px) { .menu-list { grid-template-columns: 1fr; } }

.aside-box { position: relative; padding: 26px 30px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.aside-box > :last-child { margin-bottom: 0; }
.aside-box h2, .aside-box h3 { font-size: clamp(19px, 2vw, 23px); }
.aside-box--blue { background: var(--blue-soft); box-shadow: none; } .aside-box--pink { background: var(--pink-soft); box-shadow: none; } .aside-box--yellow { background: var(--yellow-soft); box-shadow: none; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.person { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: start; background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.person .photo { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 6px var(--ring, var(--blue-soft)); }
.person--pink { --ring: var(--pink-soft); } .person--yellow { --ring: var(--yellow-soft); }
.person h3 { margin-bottom: .1em; }
.person__role { font-size: 15px; color: var(--pink-ink); font-weight: 700; margin-bottom: .6em; }
@media (max-width: 899px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .person { grid-template-columns: 1fr; justify-items: start; padding: 22px 20px; } .person .photo { width: 120px; } }

.profile { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.profile .photo-frame { max-width: 400px; width: 100%; justify-self: center; }
.profile .photo { aspect-ratio: 4 / 5; border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%; box-shadow: var(--shadow); }
@media (max-width: 767px) { .profile { grid-template-columns: 1fr; } .profile .photo-frame { max-width: 300px; } }
.note-box { padding: 14px 18px; border-radius: 12px; background: var(--yellow-soft); color: var(--text); font-size: 16px; }

.essay { max-width: 40em; }
.essay p { margin-bottom: 1.25em; }
.essay .em { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); color: var(--navy); }

.anchors { list-style: none; padding: 0; margin: 1.5em 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.anchors a { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; background: #fff; color: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.anchors a::after { content: "↓"; margin-left: .5em; color: var(--pink-ink); }
.anchors a:hover { background: var(--navy); color: #fff; }
.targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.target { padding: 28px 26px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); border-top: 7px solid var(--c, var(--blue)); }
.target:nth-child(2) { --c: var(--pink); } .target:nth-child(3) { --c: var(--yellow); }
@media (max-width: 899px) { .targets { grid-template-columns: 1fr; } }

.closing { position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 9vw, 120px) 0; background: var(--navy); color: #fff; }
.closing .quote { color: #fff; font-size: clamp(24px, 3.2vw, 40px); }
.closing .btn-row { justify-content: center; }
.closing .blobs span { opacity: .35; }
.quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.6; margin: 0 0 .8em; color: var(--navy); }
.related { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 1.6em 0 0; padding: 0; list-style: none; }
.related a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }

/* ---------- fees ---------- */
.fees { padding: 32px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); max-width: 48em; }
.fees strong { font-weight: 700; color: var(--navy); }
.info { display: grid; grid-template-columns: 9em 1fr; margin: 0; max-width: 48em; background: #fff; border-radius: 16px; padding: 6px 26px; box-shadow: var(--shadow); }
.info dt, .info dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info dt:last-of-type, .info dd:last-of-type { border-bottom: 0; }
.info dt { font-weight: 700; color: var(--navy); }
.info--plain { box-shadow: none; background: transparent; padding: 0; }
@media (max-width: 479px) { .info { grid-template-columns: 1fr; padding: 6px 20px; } .info dt { border-bottom: 0; padding-bottom: 0; } }

/* ---------- contact form ---------- */
.demo-banner { padding: 16px 20px; border-radius: 12px; background: #fff6e0; border: 2px solid #e3c47a; color: #4a3b12; margin-bottom: 28px; }
.demo-banner strong { display: block; }
.form { max-width: 48em; background: #fff; border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 26px; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; color: var(--navy); }
fieldset.field { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.req, .opt { display: inline-block; font-size: 13px; font-weight: 700; padding: 0 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; line-height: 1.7; }
.req { background: #b3261e; color: #fff; }
.opt { background: var(--bg-soft); color: var(--text-sub); border: 1px solid var(--line); }
.field input[type=text], .field input[type=email], .field textarea { width: 100%; font: 400 17px var(--font-body); color: var(--text); padding: 12px 14px; border: 1px solid #9aa8b4; border-radius: 10px; background: #fff; min-height: 52px; }
.field textarea { min-height: 180px; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-color: var(--blue-ink); outline: 3px solid rgba(31,99,163,.25); outline-offset: 0; }
.hint { font-size: 16px; color: var(--text-sub); margin: -2px 0 8px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 599px) { .options, .options--3 { grid-template-columns: 1fr; } }
.opt-item { position: relative; }
.opt-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-item label { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 14px; border: 1px solid #9aa8b4; border-radius: 12px; cursor: pointer; background: #fff; font-weight: 700; line-height: 1.45; color: var(--navy); }
.opt-item label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #6b7a86; flex: none; background: #fff; }
.opt-item input:checked + label { border-color: var(--blue-ink); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-ink); }
.opt-item input:checked + label::before { border-color: var(--blue-ink); background: radial-gradient(circle, var(--blue-ink) 0 40%, #fff 45%); }
.opt-item input:focus-visible + label { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 4px; flex: none; accent-color: var(--blue-ink); }
.error { color: #b3261e; font-weight: 700; font-size: 16px; margin: 6px 0 0; }
.error[hidden] { display: none; }
.has-error input[type=text], .has-error input[type=email], .has-error textarea { border-color: #b3261e; border-width: 2px; }
.has-error .opt-item label { border-color: #b3261e; }
.error-summary { padding: 16px 20px; border: 2px solid #b3261e; border-radius: 12px; margin-bottom: 24px; background: #fff; max-width: 48em; }
.error-summary h2 { font-size: 19px; color: #b3261e; margin-bottom: .4em; }
.error-summary ul { margin: 0; }
.guide { padding: 20px 22px; border-radius: 14px; background: var(--blue-soft); margin-bottom: 28px; }
.guide h2 { font-size: 19px; margin-bottom: .4em; }
.guide p:last-child, .guide ul:last-child { margin-bottom: 0; }
.guide dl { margin: 0; }
.guide dt { font-weight: 700; margin-top: .6em; color: var(--navy); }
.guide dd { margin: 0; }
.form-result { padding: 18px 20px; border-radius: 12px; border: 2px solid #e3c47a; background: #fff6e0; margin-top: 20px; }
.form-result:focus { outline: 3px solid var(--blue-ink); }
button[disabled] { opacity: .55; cursor: not-allowed; }
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.routes a { display: block; padding: 16px 18px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--text); height: 100%; box-shadow: 0 3px 12px rgba(27,56,100,.08); border-left: 6px solid var(--c, #2d79bd); transition: transform .2s; }
.routes a:hover { transform: translateY(-2px); }
.routes li:nth-child(2) a { --c: var(--navy); } .routes li:nth-child(3) a { --c: #b8508f; } .routes li:nth-child(4) a { --c: var(--yellow); } .routes li:nth-child(5) a { --c: #8c63b6; } .routes li:nth-child(6) a { --c: #9aa8b4; }
.routes strong { display: block; color: var(--navy); }
.routes span { font-size: 15px; color: var(--text-sub); }
.routes--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 899px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .routes, .routes--2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--bg-soft); padding: 64px 0 0; border-top: 4px solid transparent; border-image: var(--rainbow) 1; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; padding-bottom: 40px; }
.site-footer__logo img { width: 190px; height: auto; }
.site-footer__copy, .site-footer__place { font-size: 15px; color: var(--text-sub); margin-bottom: .3em; }
.site-footer__copy { font-weight: 700; color: var(--navy); }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.site-footer__nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; text-decoration: none; color: var(--navy); font-weight: 700; }
.site-footer__nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-right: 8px; }
.site-footer__nav a:hover { color: var(--blue-ink); text-decoration: underline; }
.site-footer__bar { background: var(--navy); color: #dfe6f1; }
.site-footer__bar p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0; padding-top: 14px; padding-bottom: 14px; font-size: 15px; }
.site-footer__bar a { color: #dfe6f1; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__bar small { font-size: 15px; display: inline-flex; align-items: center; }
@media (max-width: 899px) { .site-footer__inner { grid-template-columns: 1fr; } .site-footer__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media print { .site-header, .flow-bar, .motion-btn, .blobs, .stage { display: none !important; } }

/* お問い合わせの2つの方法 */
.selected-note { display: inline-block; background: #fff; border-radius: 14px; padding: 6px 18px; box-shadow: 0 0 0 2px var(--blue); color: var(--navy); margin: 0 0 18px; }
.contact-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.contact-way { background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); display: grid; align-content: start; gap: 8px; }
.contact-way p { margin: 0; }
.contact-way__label { font-family: var(--font-head); font-weight: 700; color: var(--pink-ink); font-size: 16px; letter-spacing: .06em; }
.contact-way .btn { justify-self: start; margin-top: 6px; }
.mail-address { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--navy); word-break: break-all; user-select: all; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0; }
.mail-actions .btn { min-height: 48px; padding: 8px 20px; font-size: 16px; }
@media (max-width: 767px) { .contact-ways { grid-template-columns: 1fr; } }

@media (max-width: 479px) { .quick a { font-size: 15px; padding: 8px 10px; gap: 8px; } .quick__icon { width: 28px; height: 28px; font-size: 13px; } }
