/* すしたび 新サイト ── 色と文字の正本はここの :root だけ（ロゴから実測した色） */
:root {
  --ai: #123D8B;          /* 藍＝ロゴの紺 */
  --ai-deep: #0B2557;     /* 深藍＝濃い帯 */
  --ai-soft: #E8EEF8;     /* 藍のうすい地 */
  --momo: #ED6674;        /* 桃＝ロゴの文字 */
  --momo-soft: #FDECEE;
  --shari: #FFFDF7;       /* シャリ白＝紙面の地 */
  --kinari: #F6F1E6;      /* 生成り＝区切りの地 */
  --sumi: #1F2430;        /* 墨＝本文 */
  --sumi-2: #4A5060;      /* うすい墨＝補足 */
  --line: #06C755;        /* LINE の緑（LINE のボタンだけ） */
  --line-dark: #05A548;
  --rule: #D9D3C4;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(18, 61, 139, .08), 0 10px 30px -18px rgba(18, 61, 139, .35);
  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --fs-body: clamp(16.5px, 0.9rem + 0.3vw, 18px);
  --wrap: 1120px;
  --gutter: 20px;
  --hd-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 12px); }
body {
  margin: 0; color: var(--sumi); font-family: var(--f-gothic); font-size: var(--fs-body); line-height: 1.9;
  letter-spacing: .02em; background: var(--shari);
  background-image: radial-gradient(rgba(18, 61, 139, .035) 1px, transparent 1px);
  background-size: 22px 22px; overflow-x: hidden; font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ai); text-underline-offset: .2em; }
a:hover { color: var(--ai-deep); }
:focus-visible { outline: 3px solid var(--momo); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .hero__catch, .kh__title, .st__title, .promise__text, .cta__h, .closing__h, .promise-line, .ph__catch, .sec__catch, .kh__catch { word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
/* 段組の中身が、長い言葉で枠を押し広げないように */
.hero > *, .intro__in > *, .pillar > *, .taisho__in > *, .cta__in > *, .ph > *, .st__link > *, .kh__link > *, .promise__item a > *, .ft__in > * { min-width: 0; }
h1, h2, h3 { font-family: var(--f-mincho); font-weight: 800; line-height: 1.45; letter-spacing: .04em; color: var(--ai-deep); margin: 0; }
p { margin: 0 0 1.1em; }
.vh, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── ボタン ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 10px 22px;
  border-radius: 999px; font-weight: 700; text-decoration: none; letter-spacing: .04em; line-height: 1.3; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn--line { background: var(--line); color: #fff; box-shadow: 0 4px 0 var(--line-dark); }
.btn--line::before { content: ""; width: 1.25em; height: 1.25em; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.5 7.2 8.3 7.9.3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.5s5.9-3.5 8-6C21.4 14.4 22 12.8 22 11c0-4.4-4.5-8-10-8z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.5 7.2 8.3 7.9.3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.5s5.9-3.5 8-6C21.4 14.4 22 12.8 22 11c0-4.4-4.5-8-10-8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn--line:hover { color: #fff; background: #07d45c; transform: translateY(-1px); }
.btn--line:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line-dark); }
.btn--big { min-height: 58px; padding: 14px 30px; font-size: 1.08em; }
.btn--ghost { border: 2px solid var(--ai); color: var(--ai); background: #fff; }
.btn--ghost:hover { background: var(--ai); color: #fff; }

/* ── ヘッダー ── */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(18, 61, 139, .1); }
.hd__in { max-width: 1280px; margin: 0 auto; height: var(--hd-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hd__logo img { height: 44px; width: auto; }
.hd__toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 56px; height: 52px; border: 0; background: transparent; color: var(--ai); font: 700 11px/1 var(--f-gothic); cursor: pointer; border-radius: 10px; }
.hd__bars, .hd__bars::before, .hd__bars::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease; }
.hd__bars::before, .hd__bars::after { content: ""; position: absolute; left: 0; }
.hd__bars::before { top: -7px; } .hd__bars::after { top: 7px; }
.hd__toggle[aria-expanded="true"] .hd__bars { background: transparent; }
.hd__toggle[aria-expanded="true"] .hd__bars::before { transform: translateY(7px) rotate(45deg); }
.hd__toggle[aria-expanded="true"] .hd__bars::after { transform: translateY(-7px) rotate(-45deg); }
.hd__label { margin-top: 6px; }
.hd__nav { position: fixed; inset: var(--hd-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 22px; display: none; max-height: calc(100dvh - var(--hd-h)); overflow-y: auto; }
.hd__nav.is-open { display: block; }
.hd__nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.hd__nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid #EEE9DD; text-decoration: none; color: var(--sumi); font-weight: 700; }
.hd__nav a[aria-current="page"] { color: var(--ai); }
.hd__line { width: 100%; }
@media (min-width: 1000px) {
  :root { --hd-h: 78px; }
  .hd__logo img { height: 54px; }
  .hd__toggle { display: none; }
  .hd__nav { position: static; display: flex; align-items: center; gap: 26px; padding: 0; border: 0; background: transparent; max-height: none; overflow: visible; }
  .hd__nav ul { display: flex; gap: 6px; margin: 0; }
  .hd__nav li a { border: 0; padding: 10px 12px; border-radius: 8px; font-size: 15.5px; }
  .hd__nav li a:hover { background: var(--ai-soft); }
  .hd__nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--momo); border-radius: 0; }
  .hd__line { width: auto; min-height: 46px; font-size: 15px; }
}

/* ── トップ：ヒーロー ── */
.hero { position: relative; max-width: 1280px; margin: 0 auto; padding: 22px var(--gutter) 30px; display: grid; gap: 22px; }
.hero__tag { display: inline-block; margin: 0 0 12px; padding: 4px 14px; border-radius: 999px; background: var(--momo-soft); color: #B4394A; font-weight: 700; font-size: .92em; }
.hero__catch { font-family: var(--f-mincho); font-weight: 800; color: var(--ai-deep); font-size: clamp(30px, 7.4vw, 48px); line-height: 1.32; letter-spacing: .03em; margin: 0 0 14px; }
.hero__sub { color: var(--sumi-2); font-size: 1.02em; margin-bottom: 22px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__btns .btn { flex: 1 1 240px; }
.hero__art { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px 22px 22px 120px; box-shadow: var(--shadow); }
.hero__stamp { position: absolute; width: 104px; height: auto; left: -6px; bottom: -18px; background: #fff; border-radius: 50%; padding: 6px; box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 48px; padding: 56px var(--gutter) 64px; }
  .hero__photo { aspect-ratio: 5 / 6; border-radius: 26px 26px 26px 200px; }
  .hero__stamp { width: 150px; left: -48px; bottom: 36px; }
  .hero__btns .btn { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__catch, .hero__sub, .hero__btns, .hero__tag { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__tag { animation-delay: .05s; } .hero__catch { animation-delay: .12s; } .hero__sub { animation-delay: .3s; } .hero__btns { animation-delay: .42s; }
  .hero__stamp { animation: stamp .9s .55s cubic-bezier(.3, 1.5, .5, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(.4) rotate(-25deg); } to { opacity: 1; transform: none; } }

/* ── 3つの約束 ── */
.promise { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 40px; }
.promise__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise__item a { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid #ECE6D8; border-radius: var(--radius); text-decoration: none; color: var(--sumi); box-shadow: var(--shadow); height: 100%; }
.promise__img { grid-row: span 2; width: 112px; height: 96px; object-fit: cover; border-radius: 10px; }
.promise__text { font-family: var(--f-mincho); font-weight: 800; color: var(--ai-deep); line-height: 1.5; font-size: 1.02em; }
.promise__more { color: var(--ai); font-size: .9em; font-weight: 700; }
.promise__more::after { content: "　›"; }
@media (min-width: 900px) {
  .promise__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .promise__item a { grid-template-columns: 1fr; padding: 0 0 18px; overflow: hidden; }
  .promise__img { grid-row: auto; width: 100%; height: 190px; border-radius: 0; margin-bottom: 14px; }
  .promise__text, .promise__more { padding: 0 20px; }
}

/* ── すしたびとは ── */
.intro { background: #fff; border-block: 1px solid #EEE8DA; }
.intro__in { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter); display: grid; gap: 28px; align-items: center; }
.intro__h1 { font-size: clamp(21px, 5.6vw, 34px); margin-bottom: 18px; }
.intro__lead { font-size: 1.08em; }
.intro__lead:first-of-type { font-weight: 700; color: var(--ai); }
@media (min-width: 900px) { .intro__in { grid-template-columns: 1fr 1.15fr; gap: 48px; padding: 72px var(--gutter); } }
.yt { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.yt__btn, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; background: #E62117; border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.yt__play::after { content: ""; position: absolute; left: 31px; top: 15px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: .88em; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); line-height: 1.5; }

/* ── LINE の案内 ── */
.cta { padding: 40px var(--gutter); }
.cta__in { max-width: 980px; margin: 0 auto; display: grid; gap: 0; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 2px solid #D7F1E1; }
.cta__photo img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 25%; }
.cta__body { padding: 24px 22px 28px; }
.cta__h { font-size: clamp(22px, 4.4vw, 30px); margin-bottom: 10px; }
.cta__offer { font-weight: 700; color: #0A7A3A; background: #ECFAF1; padding: 10px 14px; border-radius: 10px; }
.cta .btn { width: 100%; }
@media (min-width: 760px) {
  .cta__in { grid-template-columns: 300px 1fr; align-items: stretch; }
  .cta__photo img { height: 100%; }
  .cta__body { padding: 36px 40px; }
  .cta .btn { width: auto; }
}

/* ── 旅路（トップの記憶に残る仕掛け）── */
.route { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter) 10px calc(var(--gutter) + 34px); }
.route__line { position: absolute; left: calc(var(--gutter) + 10px); top: 0; bottom: 0; width: 4px; background: repeating-linear-gradient(to bottom, rgba(18, 61, 139, .25) 0 8px, transparent 8px 16px); border-radius: 2px; }
.route__fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 1) * 100%); background: repeating-linear-gradient(to bottom, var(--momo) 0 8px, transparent 8px 16px); }
.stop { position: absolute; left: calc(-34px + 2px); top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--ai); box-shadow: 0 0 0 4px var(--shari); transition: background-color .3s ease, border-color .3s ease, transform .3s ease; }
.is-reached > .stop { background: var(--momo); border-color: var(--momo); transform: scale(1.15); }
.stop--goal { width: 30px; height: 30px; left: calc(-34px - 3px); background: #fff url("/img/emblem.webp") center/86% no-repeat; border-color: var(--momo); }
.is-reached > .stop--goal { background: #fff url("/img/emblem.webp") center/86% no-repeat; }
@media (min-width: 900px) {
  .route { padding-left: calc(var(--gutter) + 64px); }
  .route__line { left: calc(var(--gutter) + 22px); }
  .stop { left: calc(-64px + 14px); }
  .stop--goal { width: 44px; height: 44px; left: calc(-64px + 2px); }
}

/* 区画 */
.sec, .taisho, .closing { position: relative; padding: 36px 0; }
.sec__head { max-width: 760px; margin-bottom: 26px; }
.sec__en { font-family: var(--f-mincho); color: var(--momo); font-weight: 600; font-size: 1em; letter-spacing: .08em; margin: 0 0 4px; }
.sec__h { font-size: clamp(26px, 5vw, 40px); margin-bottom: 10px; }
.sec__catch { font-family: var(--f-mincho); font-weight: 800; color: var(--ai); font-size: 1.12em; margin-bottom: 8px; }
.sec__lead { color: var(--sumi-2); }
.sec__more { margin-top: 22px; }

/* 大将 */
.taisho__in { background: var(--ai-deep); color: #fff; border-radius: 22px; overflow: hidden; display: grid; box-shadow: var(--shadow);
  background-image: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .10), transparent 40%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 9px); }
.taisho__photo img { width: 100%; height: 260px; object-fit: cover; object-position: 50% 20%; }
.taisho__text { padding: 26px 24px 30px; }
.taisho .sec__en { color: #F7A9B1; }
.taisho__name { color: #fff; font-size: clamp(30px, 6vw, 46px); margin-bottom: 14px; }
.taisho__profile { font-size: 1.08em; font-weight: 500; }
.taisho__note { color: #C9D5EE; margin: 0; }
@media (min-width: 900px) { .taisho__in { grid-template-columns: 1.05fr 1fr; } .taisho__photo img { height: 100%; min-height: 420px; } .taisho__text { padding: 56px 52px; align-self: center; } }

/* ビジョン */
.vision__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.vision__item { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding: 0 0 6px; }
.vision__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vision__h { font-size: 1.28em; padding: 18px 20px 4px; }
.vision__sub { padding: 0 20px; color: var(--momo); font-weight: 700; margin-bottom: 6px; font-size: .95em; }
.vision__item > p:last-child { padding: 0 20px; }
@media (min-width: 900px) { .vision__list { grid-template-columns: repeat(3, 1fr); } }

/* スクールとサロン */
.pillar { display: grid; gap: 18px; padding: 10px 0 30px; }
.pillar__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 22px 22px; box-shadow: var(--shadow); max-width: 360px; }
.pillar__h { font-size: clamp(20px, 5.2vw, 32px); margin-bottom: 14px; }
@media (min-width: 900px) {
  .pillar { grid-template-columns: 320px 1fr; gap: 48px; align-items: start; padding: 20px 0 46px; }
  .pillar--salon { grid-template-columns: 1fr 320px; }
  .pillar--salon .pillar__photo { order: 2; }
}

/* 独自ノウハウ（暖簾札のように横長の札を並べる）*/
.kh__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.kh__link { display: grid; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--sumi); box-shadow: var(--shadow); border-top: 6px solid var(--ai); transition: transform .2s ease, box-shadow .2s ease; }
.kh__link:hover { transform: translateY(-3px); color: var(--sumi); }
.kh__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kh__body { display: grid; padding: 18px 20px 20px; gap: 4px; }
.kh__en { font-family: var(--f-mincho); color: var(--momo); font-weight: 600; font-size: .92em; }
.kh__title { font-family: var(--f-mincho); font-weight: 800; color: var(--ai-deep); font-size: 1.5em; line-height: 1.35; }
.kh__catch { font-weight: 700; color: var(--ai); }
.kh__ex { color: var(--sumi-2); font-size: .95em; }
.kh__more { font-weight: 700; color: var(--ai); margin-top: 6px; }
.kh__more::after { content: "　›"; }
@media (min-width: 760px) {
  .kh__link { grid-template-columns: 44% 1fr; border-top: 0; border-left: 8px solid var(--ai); }
  .kh__item:nth-child(even) .kh__link { grid-template-columns: 1fr 44%; border-left: 0; border-right: 8px solid var(--momo); }
  .kh__item:nth-child(even) .kh__img { order: 2; }
  .kh__img { height: 100%; aspect-ratio: auto; min-height: 240px; }
  .kh__body { align-content: center; padding: 28px 34px; }
}

/* 強み */
.st__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.st__link { display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; background: #fff; border-radius: var(--radius); padding: 12px; text-decoration: none; color: var(--sumi); box-shadow: var(--shadow); height: 100%; }
.st__img { grid-row: span 2; width: 92px; height: 92px; object-fit: cover; border-radius: 10px; }
.st__title { font-family: var(--f-mincho); font-weight: 800; color: var(--ai-deep); font-size: 1.05em; line-height: 1.45; }
.st__ex { font-size: .9em; color: var(--sumi-2); line-height: 1.7; }
@media (min-width: 760px) { .st__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .st__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .st__link { grid-template-columns: 1fr; padding: 0 0 18px; overflow: hidden; }
  .st__img { grid-row: auto; width: 100%; height: 180px; border-radius: 0; margin-bottom: 14px; }
  .st__title, .st__ex { padding: 0 18px; }
}

/* 結び */
.closing { padding: 40px 0 34px; }
.closing__h { font-size: clamp(22px, 4.6vw, 36px); color: var(--ai-deep); }
.promise-line { font-family: var(--f-mincho); font-weight: 800; color: var(--ai-deep); font-size: clamp(20px, 4vw, 28px); line-height: 1.6; text-align: center; margin: 46px auto 10px; }

/* 会社・新着のカード */
.more { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter) 60px; }
.more__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.more__card { display: grid; gap: 2px; padding: 22px 24px; border-radius: var(--radius); background: var(--kinari); text-decoration: none; color: var(--sumi); border: 1px solid #E9E1CD; height: 100%; }
.more__card:hover { background: #fff; color: var(--sumi); }
.more__en { font-family: var(--f-mincho); color: var(--momo); font-weight: 600; }
.more__t { font-family: var(--f-mincho); color: var(--ai-deep); font-weight: 800; font-size: 1.35em; }
.more__d { color: var(--sumi-2); }
@media (min-width: 760px) { .more__list { grid-template-columns: 1fr 1fr; } }

/* ── 下層ページの見出し ── */
.ph { position: relative; display: grid; background: var(--ai-deep); color: #fff; overflow: hidden; }
.ph__art img { width: 100%; height: 200px; object-fit: cover; }
.ph__text { padding: 24px var(--gutter) 28px; max-width: var(--wrap); margin: 0 auto; width: 100%; }
.ph__en { font-family: var(--f-mincho); color: #F7A9B1; font-weight: 600; margin: 0 0 4px; letter-spacing: .06em; }
.ph__h1 { color: #fff; font-size: clamp(28px, 6vw, 48px); }
.ph__catch { margin: 10px 0 0; font-size: 1.05em; color: #DCE5F6; font-weight: 500; }
@media (min-width: 900px) {
  .ph { grid-template-columns: 1fr 1fr; min-height: 380px; }
  .ph__art { order: 2; }
  .ph__art img { height: 100%; min-height: 380px; }
  .ph__text { align-self: center; padding: 48px 56px; max-width: none; }
}
.ph--plain { grid-template-columns: 1fr; min-height: 0; }
.ph--plain .ph__text { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter); }

.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); font-size: .88em; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "›"; margin: 0 .55em; color: #A59F90; }
.crumbs span { color: var(--sumi-2); }

.lead { font-size: 1.1em; margin: 18px 0 26px; max-width: 46em; }
.kh__list--page, .st__grid--page { margin-bottom: 30px; }

/* 本文 */
.prose { max-width: 820px; padding-top: 16px; padding-bottom: 20px; }
.prose h2 { font-size: clamp(22px, 4.4vw, 30px); margin: 1.8em 0 .7em; padding-left: 16px; border-left: 6px solid var(--momo); }
.prose__sec:first-child h2 { margin-top: .6em; }
.prose p { font-size: 1.04em; }
.fig { margin: 26px 0 30px; }
.fig__zoom { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.fig__zoom::after { content: "拡大"; position: absolute; right: 10px; bottom: 10px; background: rgba(11, 37, 87, .82); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.fig img { width: 100%; }

/* 表 */
.tbl { margin: 28px 0 32px; }
.tbl__cap { display: grid; gap: 2px; margin-bottom: 10px; }
.tbl__title { font-family: var(--f-mincho); font-weight: 800; color: var(--ai-deep); font-size: 1.15em; }
.tbl__sub { color: var(--sumi-2); font-size: .92em; }
.tbl__scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.tbl__t { width: 100%; border-collapse: collapse; font-size: .95em; line-height: 1.65; }
.tbl__t th, .tbl__t td { padding: 12px 12px; border-bottom: 1px solid #EEE8DA; text-align: left; vertical-align: top; }
.tbl__t thead th { background: var(--kinari); font-weight: 700; color: var(--sumi); white-space: nowrap; }
.tbl__t tbody th { white-space: nowrap; font-weight: 700; color: var(--ai-deep); }
.tbl__t .is-us { background: var(--ai-soft); color: var(--ai-deep); font-weight: 700; }
.tbl__t thead .is-us { background: var(--ai); color: #fff; }
.tbl__t tr.is-us th, .tbl__t tr.is-us td { background: var(--ai-soft); }
.tbl__t--5 { min-width: 640px; }
.tbl__orig { display: inline-block; margin-top: 8px; font-size: .88em; }
.prof { margin: 28px 0; padding: 22px 22px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--momo); }
.prof__role { margin: 0; color: var(--momo); font-weight: 700; font-size: .9em; }
.prof__name { font-size: 1.3em; margin: 2px 0 12px; }
.prof__list { margin: 0 0 10px; padding-left: 1.2em; }
.prof__list li { margin: 2px 0; }
.prof__hobby { margin: 0; color: var(--sumi-2); }

/* 兄弟ページの一覧 */
.sibs { margin-top: 30px; margin-bottom: 10px; }
.sibs__h { font-family: var(--f-mincho); font-weight: 800; color: var(--ai-deep); font-size: 1.15em; margin-bottom: 10px; }
.sibs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sibs a { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid #D8E0EF; text-decoration: none; font-weight: 700; }
.sibs a span { font-family: var(--f-mincho); color: var(--momo); font-weight: 600; font-size: .85em; }
.sibs a[aria-current="page"] { background: var(--ai); color: #fff; border-color: var(--ai); }
.sibs a[aria-current="page"] span { color: #F7A9B1; }
.sibs__link { margin: 26px 0 50px; }

/* 会社の表 */
.dl { margin: 30px 0; }
.dl__h { font-size: 1.4em; margin-bottom: 12px; padding-left: 14px; border-left: 6px solid var(--ai); }
.dl dl { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.dl__row { display: grid; grid-template-columns: 1fr; padding: 14px 18px; border-bottom: 1px solid #EEE8DA; }
.dl__row:last-child { border-bottom: 0; }
.dl dt { font-weight: 700; color: var(--ai-deep); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 700px) { .dl__row { grid-template-columns: 9em 1fr; gap: 18px; } }

/* 規約 */
.terms h2 { font-size: 1.2em; border-left-color: var(--ai); }
.terms__ol { padding-left: 1.6em; }
.terms__ol > li { margin: .4em 0; }
.terms__sub { list-style: none; counter-reset: maru; padding-left: .4em; margin: .4em 0; }
.terms__sub li { counter-increment: maru; padding-left: 1.6em; text-indent: -1.6em; }
.terms__sub li::before { content: "(" counter(maru) ")"; display: inline-block; width: 1.6em; text-indent: 0; color: var(--sumi-2); }

/* 新着 */
.news { list-style: none; margin: 20px 0 60px; padding: 0; border-top: 1px solid var(--rule); }
.news__item { display: grid; gap: 2px; padding: 18px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--sumi); }
.news__item time, .news__date { color: var(--sumi-2); font-variant-numeric: tabular-nums; }
.news__t { font-weight: 700; color: var(--ai); }
@media (min-width: 700px) { .news__item { grid-template-columns: 8em 1fr; } }

/* 道具 */
.note { font-size: .92em; color: var(--sumi-2); background: var(--kinari); padding: 10px 14px; border-radius: 10px; }
.tools__list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; }
.tools__list a { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; background: #fff; border-radius: 10px; border: 1px solid #ECE6D8; text-decoration: none; }
.tools__list a::after { content: "↗"; margin-left: auto; padding-left: 10px; color: var(--sumi-2); }
@media (min-width: 760px) { .tools__list { grid-template-columns: 1fr 1fr; } }
.nf { padding: 70px var(--gutter); }
.nf .ph__h1 { color: var(--ai-deep); margin-bottom: 14px; }

/* ── フッター ── */
.ft { background: var(--ai-deep); color: #DCE5F6; padding: 48px 0 110px; margin-top: 20px; }
.ft__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 30px; }
.ft__logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 14px; }
.ft__logo img { height: 52px; width: auto; }
.ft__tag { font-family: var(--f-mincho); font-weight: 800; color: #fff; font-size: 1.2em; margin: 14px 0 0; }
.ft__sub { margin: 0 0 12px; }
.ft a { color: #fff; }
.ft__yt { display: inline-flex; min-height: 48px; align-items: center; font-weight: 700; }
.ft__nav { display: grid; gap: 18px; }
.ft__h { font-weight: 700; margin: 10px 0 4px; }
.ft__nav ul { list-style: none; margin: 0; padding: 0; }
.ft__nav li a { display: inline-block; padding: 6px 0; color: #C9D5EE; text-decoration: none; }
.ft__nav li a:hover { color: #fff; text-decoration: underline; }
.ft__copy { text-align: center; font-size: .82em; margin: 34px 0 0; color: #9FB0D3; }
@media (min-width: 900px) {
  .ft { padding-bottom: 48px; }
  .ft__in { grid-template-columns: 300px 1fr; gap: 48px; }
  .ft__nav { grid-template-columns: repeat(3, 1fr); }
}

/* ── スマホの下に固定する LINE の帯 ── */
.linebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid #D7F1E1; box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3); transform: translateY(110%); transition: transform .25s ease; }
.linebar.is-show { transform: none; }
.linebar__t { margin: 0; font-size: .85em; font-weight: 700; color: #0A7A3A; line-height: 1.4; flex: 1; }
.linebar .btn { flex: none; min-height: 48px; padding: 8px 18px; }
@media (min-width: 1000px) { .linebar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* スマホでは比べる表を「1行＝1枚のカード」に組み替える（横にずらさず縦に読める） */
@media (max-width: 680px) {
  .tbl__scroll { overflow: visible; box-shadow: none; background: transparent; }
  .tbl__t, .tbl__t tbody, .tbl__t tr, .tbl__t th, .tbl__t td { display: block; width: 100%; }
  .tbl__t--5 { min-width: 0; }
  .tbl__t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl__t tr { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
  .tbl__t tbody th { background: var(--kinari); font-size: 1.05em; padding: 10px 14px; border-bottom: 0; }
  .tbl__t tr.is-us tbody th, .tbl__t tr.is-us th { background: var(--ai); color: #fff; }
  .tbl__t td { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 10px 14px; }
  .tbl__t td::before { content: attr(data-label); font-weight: 700; color: var(--sumi-2); font-size: .9em; }
  .tbl__t td.is-us { background: var(--ai-soft); }
}
@media (max-width: 600px) { .sibs a span { display: none; } }
