/* MIYABI AI 公式サイトの見た目（site/build.py が作るページが読む）。名刺の方へ（/businesscard）は別の見た目（site.css など） */
:root {
  --ink: #111318;
  --ink-2: #3a3f48;
  --sub: #6b7079;
  --line: #e5e6e9;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --night: #0f1115;
  --accent: #c8461a;
  --accent-2: #e8733f;
  --grad: linear-gradient(100deg, #c8461a 0%, #e8733f 100%);
  --radius: 14px;
  --shadow: 0 24px 60px rgba(17, 19, 24, 0.10);
  --head-h: 76px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; font-size: 16px; line-height: 1.9; letter-spacing: 0.03em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
.en { font-family: "Inter", sans-serif; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 760px) { .container { padding: 0 20px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ヘッダー */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head-h); background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-color: var(--line); }
.site-head .container { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1400px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo b { font-family: "Inter", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: 0.01em; }
.logo b span { color: var(--accent); }
.logo small { font-size: 11px; color: var(--sub); letter-spacing: 0.12em; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.gnav a { position: relative; display: block; padding: 8px 14px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; border-radius: 8px; transition: background .2s; }
.gnav a:hover { background: var(--bg-soft); }
.gnav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--grad); border-radius: 2px; }
.gnav .sep { width: 1px; height: 18px; background: var(--line); margin: 0 6px; }
.head-cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 999px; white-space: nowrap; transition: background .2s; }
.head-cta:hover { background: var(--accent); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) {
  .gnav, .site-head .head-cta { display: none; }
  .menu-btn { display: block; }
}
.drawer { position: fixed; inset: var(--head-h) 0 0 0; z-index: 49; background: #fff; padding: 24px 20px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer p { margin: 18px 0 6px; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; text-decoration: none; }
.drawer a::after { content: "→"; font-family: "Inter"; color: var(--accent); }
.drawer .head-cta { display: flex; justify-content: center; margin-top: 28px; border: 0; padding: 18px; font-size: 16px; }
.drawer .head-cta::after { content: none; }

/* メニューの「事業一覧」の下に出る一覧 */
.has-sub { position: relative; }
.has-sub > a::before { content: ""; position: absolute; right: 2px; top: 50%; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.has-sub > a { padding-right: 22px; }
.has-sub .sub { position: absolute; left: 50%; top: 100%; min-width: 220px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub .sub a { padding: 10px 14px; font-size: 14px; }
.has-sub .sub a::after { content: none; }
.drawer-sub a { padding-left: 22px; font-size: 15px; font-weight: 500; }

/* 事業一覧ページ：中のタブと各事業 */
.biz-tabs { position: sticky; top: var(--head-h); z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.biz-tabs .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.biz-tabs a { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.biz-tabs a b { font-family: "Inter", sans-serif; color: var(--accent); }
.biz-tabs a.on, .biz-tabs a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.biz-tabs a.on b, .biz-tabs a:hover b { color: var(--accent-2); }
.biz-sec .biz-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.biz-sec .biz-head h2 { margin: 0 0 6px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 900; line-height: 1.35; }
.biz-sec .biz-head .en-name { margin: 0; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--sub); }
.biz-sec .biz-head .lead { margin: 0; color: var(--ink-2); }
.biz-sec .page-visual { margin: 0 0 72px; }
.biz-sec .split { margin-bottom: 72px; }
.biz-sec .split .h2 { font-size: clamp(24px, 2.4vw, 30px); }
.biz-sec .sub-h { margin: 0 0 24px; font-size: 22px; font-weight: 900; }
.biz-sec .block { margin-bottom: 64px; }
.biz-sec .block:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .biz-sec .biz-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; } .biz-sec .page-visual, .biz-sec .split { margin-bottom: 48px; } }

/* ボタン・見出し */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; padding: 0 26px 0 30px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn::after { content: "→"; font-family: "Inter", sans-serif; font-size: 18px; transition: transform .2s; }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px rgba(200,70,26,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(200,70,26,.34); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: "Inter", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.45; letter-spacing: 0.02em; }
.sec { padding: 120px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-night { background: var(--night); color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head .lead { max-width: 520px; margin: 0; color: var(--sub); }
@media (max-width: 760px) { .sec { padding: 80px 0; } .sec-head { margin-bottom: 36px; } }

/* トップの1画面目 */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -220px; top: -260px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(232,115,63,.16), rgba(232,115,63,0) 65%); pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.hero-cats li + li::before { content: "/"; margin: 0 14px; color: #c4c6cb; font-weight: 400; }
.hero h1 { margin: 0 0 28px; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.32; font-weight: 900; letter-spacing: 0.01em; }
.hero h1 .mark { background: var(--grad) no-repeat 0 92% / 100% 0.12em; padding-bottom: 0.04em; }
.hero .lead { margin: 0 0 40px; max-width: 540px; color: var(--ink-2); font-size: 16px; }
.hero .ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 540px; }
@media (max-width: 1080px) {
  .hero { padding: 36px 0 72px; }
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 520px) { .hero .ctas { grid-template-columns: 1fr; } }

/* バナーのスライド */
.slider { position: relative; }
.slides { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.slides a { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slides a.on { opacity: 1; z-index: 1; }
.slides img { width: 100%; height: 100%; object-fit: cover; }
.slider-bar { display: flex; align-items: center; gap: 16px; margin: 18px 0 14px; }
.count { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 700; }
.count small { color: var(--sub); font-weight: 500; }
.progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.progress i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.ctrl { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; font-family: "Inter"; font-size: 15px; color: var(--ink); display: grid; place-items: center; }
.ctrl:hover { border-color: var(--ink); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.thumbs button { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--sub); }
.thumbs img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 2px solid transparent; transition: border-color .3s, opacity .3s; opacity: .7; }
.thumbs span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.thumbs button[aria-current="true"] img { border-color: var(--accent); opacity: 1; }
.thumbs button[aria-current="true"] span { color: var(--ink); }

/* 流れる帯 */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: #fff; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; font-family: "Inter", sans-serif; font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; color: var(--ink); }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .6em; }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 想い */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.about .statement { margin: 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.6; }
.about .statement em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about p { margin: 0 0 18px; color: var(--ink-2); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* 事業の一覧 */
.biz-list { display: grid; gap: 96px; }
.biz-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; text-decoration: none; }
.biz-row:nth-child(even) .biz-img { order: 2; }
.biz-img { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.biz-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.biz-row:hover .biz-img img { transform: scale(1.035); }
.biz-num { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.biz-num b { font-family: "Inter", sans-serif; font-size: 56px; line-height: 1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.biz-num span { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: 0.1em; }
.biz-row h3 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.4; }
.biz-row .en-name { margin: 0 0 18px; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; color: var(--sub); letter-spacing: 0.08em; }
.biz-row p.desc { margin: 0 0 22px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.tags li { font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.sec-soft .tags li { background: #fff; }
.more { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.more i { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-style: normal; font-family: "Inter"; transition: background .2s, color .2s, transform .2s; }
.biz-row:hover .more i, a.more:hover i { background: var(--ink); color: #fff; transform: translateX(4px); }
@media (max-width: 900px) {
  .biz-list { gap: 64px; }
  .biz-row { grid-template-columns: 1fr; gap: 26px; }
  .biz-row:nth-child(even) .biz-img { order: 0; }
}

/* 数字 */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.numbers div { padding: 36px 28px 8px 0; border-right: 1px solid rgba(255,255,255,.14); }
.numbers div + div { padding-left: 28px; }
.numbers div:last-child { border-right: 0; }
.numbers dt { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.66); margin-bottom: 10px; }
.numbers dd { margin: 0; font-family: "Inter", sans-serif; font-size: clamp(48px, 6vw, 80px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.numbers dd small { font-family: "Noto Sans JP"; font-size: 18px; font-weight: 700; margin-left: 6px; letter-spacing: 0; }
.numbers p { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }
.sec-night .eyebrow { color: var(--accent-2); }
.sec-night .sec-head .lead { color: rgba(255,255,255,.66); }
@media (max-width: 900px) {
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers div { padding: 28px 16px 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .numbers div:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .numbers div:nth-child(2n+1) { padding-left: 0; }
}

/* 強み */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card3 { position: relative; padding: 40px 34px 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.card3 .n { position: absolute; right: 22px; top: 6px; font-family: "Inter", sans-serif; font-size: 96px; font-weight: 800; color: #f2f0ec; line-height: 1; }
.card3 h3 { position: relative; margin: 0 0 14px; font-size: 21px; font-weight: 900; line-height: 1.55; }
.card3 h3::before { content: ""; display: block; width: 36px; height: 3px; background: var(--grad); border-radius: 2px; margin-bottom: 22px; }
.card3 p { position: relative; margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* お知らせ */
.news { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 130px 140px 1fr; gap: 16px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.news time { font-family: "Inter", sans-serif; font-weight: 600; color: var(--sub); }
.news .cat { justify-self: start; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); }
.news a { font-weight: 700; text-decoration: none; }
.news a:hover { color: var(--accent); }
@media (max-width: 760px) { .news li { grid-template-columns: auto 1fr; } .news li > :last-child { grid-column: 1 / -1; } }

/* 相談の帯 */
.cta-band { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 110px 0; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: -300px; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(232,115,63,.35), rgba(232,115,63,0) 65%); }
.cta-band .container { position: relative; }
.cta-band h2 { margin: 0 0 14px; text-align: center; font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.45; }
.cta-band > .container > p { margin: 0 auto 48px; max-width: 620px; text-align: center; color: rgba(255,255,255,.72); }
.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.cta-card { display: block; padding: 34px 34px 30px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-decoration: none; transition: background .25s, transform .25s; }
.cta-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.cta-card small { display: block; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent-2); margin-bottom: 10px; }
.cta-card b { display: block; font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.cta-card span { display: block; color: rgba(255,255,255,.7); font-size: 14px; }
.cta-card .more { display: inline-flex; margin-top: 22px; color: #fff; }
.cta-card .more i { border-color: #fff; }
.cta-card:hover .more i { background: #fff; color: var(--ink); }
@media (max-width: 760px) { .cta-cards { grid-template-columns: 1fr; } .cta-band { padding: 80px 0; } }

/* フッター */
.site-foot { background: #0a0b0e; color: rgba(255,255,255,.72); padding: 80px 0 36px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-foot .logo b { color: #fff; font-size: 28px; }
.site-foot .tagline { margin: 16px 0 0; line-height: 1.8; }
.site-foot h4 { margin: 0 0 16px; font-family: "Inter", sans-serif; font-size: 12px; letter-spacing: 0.2em; color: #fff; }
.site-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; }
.copy { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: "Inter", sans-serif; font-size: 12px; color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* 下層ページ */
.page-hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -200px; top: -240px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(232,115,63,.13), rgba(232,115,63,0) 65%); }
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 44px; padding: 0; list-style: none; font-size: 12px; color: var(--sub); }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(34px, 5vw, 60px); font-weight: 900; line-height: 1.35; }
.page-hero .en-name { margin: 0 0 26px; font-family: "Inter", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.12em; color: var(--sub); }
.page-hero .lead { max-width: 760px; margin: 0; font-size: 17px; color: var(--ink-2); }
.page-visual { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); margin-top: 56px; }
.page-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; }
.split p { margin: 0 0 18px; color: var(--ink-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 30px 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-list b { display: block; margin-bottom: 8px; font-size: 18px; font-weight: 900; line-height: 1.6; }
.feature-list b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 12px; vertical-align: 3px; }
.feature-list span { display: block; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--bg-soft); counter-increment: s; }
.sec-soft .steps li { background: #fff; }
.steps li::before { content: "STEP " counter(s, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); }
.steps b { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 900; }
.steps span { display: block; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.chars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.chars figure { margin: 0; padding: 26px 20px 20px; border-radius: var(--radius); background: linear-gradient(180deg, #fbf4e8, #f5e9d6); text-align: center; }
.chars img { height: 190px; width: auto; margin: 0 auto 12px; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(80,50,20,.18)); }
.chars figcaption { font-weight: 900; }
@media (max-width: 760px) { .chars { grid-template-columns: 1fr 1fr; } .chars img { height: 140px; } }
.ext { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.other { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.other:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.other img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.other div { padding: 18px 22px 22px; }
.other small { font-size: 12px; font-weight: 700; color: var(--accent); }
.other b { display: block; font-size: 18px; font-weight: 900; }
@media (max-width: 900px) { .others { grid-template-columns: 1fr; } }
.table { margin: 0; border-top: 1px solid var(--ink); }
.table div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.table dt { font-weight: 700; }
.table dd { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .table div { grid-template-columns: 1fr; gap: 4px; } }
.mvv { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mvv > div { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.mvv h3 { margin: 0; font-family: "Inter", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.mvv h3 small { display: block; margin-top: 6px; font-family: "Noto Sans JP"; font-size: 13px; letter-spacing: 0.1em; color: var(--sub); }
.mvv .big { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.5; }
.mvv p { margin: 0; color: var(--ink-2); }
.mvv ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.mvv ol b { display: block; font-size: 20px; font-weight: 900; }
@media (max-width: 760px) { .mvv > div { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; } }
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.route { display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.route:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.route small { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); }
.route b { margin: 10px 0 10px; font-size: 21px; font-weight: 900; line-height: 1.5; }
.route > span:not(.more) { flex: 1; color: var(--ink-2); font-size: 15px; }
.route .more { margin-top: 24px; }
.route:hover .more i { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .routes { grid-template-columns: 1fr; } }
.routes-2 { grid-template-columns: 1.15fr 1fr; max-width: 1060px; margin: 0 auto; }
.route-main { background: var(--night); color: #fff; border-color: var(--night); }
.route-main small { color: var(--accent-2); }
.route-main > span:not(.more) { color: rgba(255,255,255,.75); }
.route-main .more i { border-color: #fff; }
.route-main:hover .more i { background: #fff; color: var(--ink); }
.route-points { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.route-points li { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.route-main .route-points li { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 900px) { .routes-2 { grid-template-columns: 1fr; } }
.note { font-size: 13px; color: var(--sub); }
.cards4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cards4 { grid-template-columns: 1fr; } }

/* 無料相談の予約（/meeting） */
.meeting-hero { padding-bottom: 120px; }
.meeting { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.meeting > * { min-width: 0; }
.meeting-info h1 { margin: 0 0 22px; font-size: clamp(30px, 3.3vw, 44px); font-weight: 900; line-height: 1.45; }
.meeting-info .lead { margin: 0 0 26px; color: var(--ink-2); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.badges li { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #fff3ee; color: var(--accent); }
.mini-flow { margin: 0 0 36px; padding: 0; list-style: none; counter-reset: f; border-left: 2px solid var(--line); }
.mini-flow li { position: relative; padding: 0 0 22px 30px; counter-increment: f; }
.mini-flow li::before { content: counter(f); position: absolute; left: -14px; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-family: "Inter"; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.mini-flow b { display: block; font-size: 16px; line-height: 1.6; }
.mini-flow span { display: block; font-size: 14px; color: var(--sub); }
.side-link { display: block; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.side-link:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.side-link small { display: block; font-size: 12px; font-weight: 700; color: var(--sub); }
.side-link b { display: block; font-size: 17px; font-weight: 900; margin: 2px 0 4px; }
.side-link b::after { content: " →"; color: var(--accent); font-family: "Inter"; }
.side-link span { font-size: 14px; color: var(--ink-2); }
.meeting-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 34px 36px 38px; scroll-margin-top: calc(var(--head-h) + 16px); }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.stepper li { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--line); font-size: 14px; font-weight: 700; color: var(--sub); }
.stepper li b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-family: "Inter"; font-size: 13px; }
.stepper li.on { color: var(--ink); border-color: var(--accent); }
.stepper li.on b { background: var(--grad); color: #fff; }
.stepper li.done { color: var(--ink-2); border-color: #f0b49c; }
.stepper li.done b { background: #fbe3d8; color: var(--accent); }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 700; }
.field em, .field i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 4px; }
.field em, .field i.req { background: var(--accent); color: #fff; }
.field i { background: var(--bg-soft); color: var(--sub); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); background: #fbfbfa; border: 1px solid #d9dade; border-radius: 10px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,70,26,.12); }
.field small { display: block; margin-top: 6px; font-size: 13px; color: var(--sub); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .method { position: relative; }
.method { display: flex; }
.method span { flex: 1; }
.chip input, .method input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #d9dade; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span, .method input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.method span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 8px 10px; border-radius: 12px; border: 1px solid #d9dade; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: all .15s; }
.method input:checked + span { border: 2px solid var(--accent); background: #fff6f2; color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { min-height: 0; margin: 0 0 14px; color: #b3261e; font-size: 14px; font-weight: 700; }
.form-msg:empty { display: none; }
.btn.wide { width: 100%; }
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
button.btn-ghost { border: 1.5px solid var(--ink); }
button.btn[data-back] { justify-content: center; }
button.btn[data-back]::after { content: none; }
button.btn[data-back]::before { content: "←"; font-family: "Inter", sans-serif; margin-right: 10px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn.loading::after { content: ""; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pane-lead { margin: 0 0 18px; font-weight: 700; }
.pane-nav { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; margin-top: 24px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: thin; }
.day { flex: none; width: 74px; padding: 10px 0 8px; border-radius: 12px; border: 1px solid #d9dade; background: #fff; cursor: pointer; font: inherit; color: var(--ink); text-align: center; line-height: 1.35; transition: all .15s; }
.day span { display: block; font-size: 12px; color: var(--sub); }
.day b { display: block; font-family: "Inter"; font-size: 17px; }
.day small { display: block; font-size: 11px; color: var(--accent); font-weight: 700; }
.day.sat span { color: #2f6fb3; }
.day:disabled { opacity: .45; cursor: default; }
.day:disabled small { color: var(--sub); }
.day.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.on span, .day.on small { color: rgba(255,255,255,.8); }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.time { padding: 12px 0; border-radius: 10px; border: 1px solid #d9dade; background: #fff; font-family: "Inter"; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .15s; }
.time:hover { border-color: var(--ink); }
.time.on { background: var(--grad); border-color: transparent; color: #fff; }
.times .empty { grid-column: 1 / -1; color: var(--sub); }
.picked { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.picked:empty { display: none; }
.picked li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: #fff6f2; border: 1px solid #f3c6b3; font-size: 15px; }
.picked li b { flex: none; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.picked li span { flex: 1; font-weight: 700; }
.picked .unpick { flex: none; border: 0; background: none; padding: 4px 6px; font: inherit; font-size: 13px; color: var(--sub); text-decoration: underline; cursor: pointer; }
.confirm dd { white-space: pre-line; }
.confirm { margin: 0 0 18px; border-top: 1px solid var(--line); }
.confirm div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.confirm dt { color: var(--sub); font-weight: 700; }
.confirm dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.done, .closed { text-align: center; }
.done-mark { width: 72px; height: 72px; margin: 4px auto 18px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 34px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(200,70,26,.3); }
.done h2, .closed h2 { margin: 0 0 22px; font-size: 26px; font-weight: 900; }
.done .confirm { text-align: left; }
.done p, .closed p { color: var(--ink-2); text-align: left; }
.closed .pane-nav { grid-template-columns: 1fr 1fr; }
@media (max-width: 1000px) { .meeting { grid-template-columns: 1fr; gap: 40px; } .meeting-info { order: 0; } }
@media (max-width: 560px) {
  .meeting-card { padding: 24px 18px 28px; border-radius: 18px; margin: 0 -4px; }
  .methods { grid-template-columns: 1fr; }
  .times { grid-template-columns: repeat(3, 1fr); }
  .stepper li { font-size: 12px; gap: 6px; }
  .confirm div { grid-template-columns: 1fr; gap: 2px; }
  .pane-nav { grid-template-columns: 1fr; }
  .pane-nav .btn-ghost { order: 2; }
}

/* ふわっと出す */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .slides a { transition: none; }
}
