/* 株式会社VALUSIDE の会社サイト（valuside.com）。
   2026-11-16 アストラと決めた方向: 深い紺 × 白 × 控えめな青。写真は使わず、事業の構成図（住まいLPの画面の概念図）を大きく見せる。
   動きは「パネルが組み上がる・線がつながる・領域が順に光る」の3種類だけ。一度再生したら止める（Google 連携の図の流れる点だけ常時）。 */
:root {
  --navy: #101D30;
  --navy-2: #172A44;
  --ink: #182638;
  --sub: #526174;
  --mute: #6B7889;
  --bg2: #F3F6FA;
  --white: #FFFFFF;
  --blue: #245BDC;
  --blue-deep: #1A47B4;
  --sky: #93B8FF;
  --line: #DCE3EC;
  --line-dark: rgba(255, 255, 255, .14);
  --w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --en: "Inter", "Noto Sans JP", sans-serif;
  --shadow: 0 24px 64px rgba(8, 20, 40, .16);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.8 var(--jp); overflow-wrap: anywhere; line-break: strict; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; word-break: auto-phrase; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.ph { display: inline-block; }
.wrap { max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.en { font-family: var(--en); }

/* ---- 動き（JS が動いたときだけ隠す。止める設定と印刷では全部見える） ---- */
.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- 上の帯 ---- */
.head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16, 29, 48, .06); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.logo:hover { color: var(--navy); }
.logo svg { width: 30px; height: 30px; flex: 0 0 auto; }
.logo b { font: 700 19px/1 var(--en); letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .cta { padding: 10px 20px; border-radius: 6px; background: var(--navy); color: var(--white); }
.nav .cta::after { content: none; }
.nav .cta:hover { background: var(--blue); color: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--navy); }
.menu-btn span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- ボタン ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 28px; border-radius: 6px; background: var(--blue); color: var(--white); font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .18s; }
.btn:hover { background: var(--blue-deep); color: var(--white); }
.arrow { display: inline-block; width: 14px; height: 10px; flex: 0 0 auto; transition: transform .18s var(--ease); }
a:hover .arrow { transform: translateX(3px); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }

/* ---- 1画面目 ---- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 75% at 82% 52%, rgba(39, 79, 125, .85), rgba(39, 79, 125, 0) 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: 48%; right: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); gap: 48px; align-items: center; min-height: 640px; padding-top: 80px; padding-bottom: 80px; }
.hero .label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--sky); letter-spacing: .04em; }
.hero .label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 24px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.3; letter-spacing: .02em; }
.hero .lead { margin-top: 24px; max-width: 30em; font-size: 17px; color: rgba(255, 255, 255, .82); }
.hero .acts { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero .tlink { color: var(--white); }
.hero .tlink:hover { color: var(--sky); }
.hero .op { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255, 255, 255, .62); }
.hero .op b { color: var(--white); font-weight: 500; margin-left: 10px; font-size: 14px; }

/* ---- 構成図（1画面目の右）。560×420 の座標を % にしてある。中の字は cqw ---- */
.hv-wrap { width: 100%; max-width: 560px; justify-self: end; }
.hv { position: relative; aspect-ratio: 4 / 3; container-type: inline-size; }
.hv-cap { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .55); text-align: right; }
.hv .pane { position: absolute; border-radius: 1.9cqw; background: var(--white); color: var(--ink); overflow: hidden; }
.hv .dash { left: 20%; top: 0; width: 80%; height: 71.43%; box-shadow: var(--shadow); }
.hv .phone { left: 0; top: 28.57%; width: 28.57%; height: 71.43%; border: .9cqw solid #0B1524; border-radius: 4cqw; box-shadow: var(--shadow); z-index: 2; }
.hv .ban { left: 53.57%; top: 78%; width: 46.43%; height: 22%; box-shadow: var(--shadow); z-index: 3; }
.dash-side { position: absolute; left: 0; top: 6.7cqw; bottom: 0; width: 12cqw; background: #F6F8FB; border-right: 1px solid var(--line); padding: 2.4cqw 1.8cqw; }
.dash-side .sk { height: .9cqw; }
.dash-side .sk + .sk { margin-top: 1.6cqw; }
.dash-side .sk.on { background: #BCD0F5; }
.hv .lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }

.win-bar { display: flex; align-items: center; gap: .8cqw; height: 6.7cqw; padding: 0 2.4cqw; background: var(--bg2); border-bottom: 1px solid var(--line); font-size: 2.1cqw; color: var(--sub); }
.win-bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #C9D2DE; }
.win-bar span { margin-left: 1.2cqw; }
.dash-body { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 1.8cqw; padding: 2.4cqw 2.6cqw 2.4cqw 14.6cqw; height: calc(100% - 6.7cqw); }
.tile { border: 1px solid var(--line); border-radius: 1.3cqw; padding: 1.8cqw 2cqw; min-height: 0; }
.tile.wide { grid-column: 1 / -1; }
.tile h4 { margin: 0 0 1.4cqw; font-size: 2.2cqw; font-weight: 700; line-height: 1.3; }
.sk { display: block; height: 1.15cqw; border-radius: 1cqw; background: #E4EAF2; }
.sk + .sk { margin-top: 1cqw; }
.funnel { display: grid; gap: .9cqw; }
.funnel div { display: grid; grid-template-columns: 7cqw 1fr; align-items: center; gap: 1.2cqw; font-size: 1.8cqw; color: var(--sub); }
.funnel b { display: block; height: 1.6cqw; border-radius: .4cqw; background: linear-gradient(90deg, var(--blue), #6E98F0); transform-origin: left; }
.rows div { display: flex; align-items: center; gap: 1cqw; }
.rows div + div { margin-top: 1.1cqw; }
.rows i { width: 2.2cqw; height: 2.2cqw; border-radius: .5cqw; background: #CBD8EE; flex: 0 0 auto; }
.rows .sk { flex: 1; margin: 0; }
.wave { width: 100%; height: 7cqw; }
.note { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.4cqw; border-radius: 1.3cqw; background: var(--bg2); padding: 1.4cqw 2cqw; font-size: 1.9cqw; color: var(--sub); align-self: end; }
.note::before { content: ""; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; border: 2px solid var(--blue); flex: 0 0 auto; }

.phone-in { height: 100%; display: flex; flex-direction: column; }
.phone .ph-hero { position: relative; height: 46%; background: #EAF0F8; }
.phone .ph-hero svg { position: absolute; left: 12%; right: 12%; bottom: 10%; width: 76%; height: auto; }
.phone .ph-tag { position: absolute; left: 2.2cqw; top: 2cqw; padding: .4cqw 1.2cqw; border-radius: .6cqw; background: var(--navy); color: var(--white); font-size: 1.7cqw; line-height: 1.5; }
.phone .ph-body { flex: 1; padding: 2.2cqw 2.2cqw 2.4cqw; display: flex; flex-direction: column; }
.phone .ph-title { font-size: 2.3cqw; font-weight: 700; line-height: 1.4; }
.phone .ph-body .sk { margin-top: 1.2cqw; }
.phone .ph-btn { margin-top: auto; height: 5.4cqw; border-radius: .9cqw; background: var(--blue); color: var(--white); font-size: 1.9cqw; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ban-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.6cqw; height: 100%; padding: 2cqw; }
.ban-in h4 { grid-column: 1 / -1; margin: 0; font-size: 2.1cqw; font-weight: 700; line-height: 1.2; }
.ban .bnr { border-radius: .9cqw; background: linear-gradient(135deg, #DDE7F6, #F6F8FC); position: relative; overflow: hidden; }
.ban .bnr::before { content: ""; position: absolute; left: 10%; top: 22%; width: 52%; height: 12%; border-radius: .4cqw; background: var(--navy); opacity: .85; }
.ban .bnr::after { content: ""; position: absolute; left: 10%; top: 46%; width: 34%; height: 9%; border-radius: .4cqw; background: var(--blue); }
.ban .mov { border-radius: .9cqw; background: #1B2D47; position: relative; }
.ban .mov::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 1.8cqw 0 1.8cqw 3cqw; border-color: transparent transparent transparent rgba(255,255,255,.92); }

.ban-in.ads { display: flex; flex-direction: column; gap: 1.6cqw; }
.media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2cqw; }
.media li { display: flex; align-items: center; justify-content: center; gap: .9cqw; height: 6cqw; padding: 0 1cqw; border: 1px solid var(--line); border-radius: .9cqw; font: 600 1.75cqw/1 var(--en); color: var(--ink); white-space: nowrap; }
.media li i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--blue); flex: 0 0 auto; box-shadow: 0 0 0 .5cqw rgba(36, 91, 220, .15); }
.lines path { fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-linecap: round; }
.lines circle { fill: var(--sky); }
.js .hv .lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease) .4s; }
.js .hv .lines circle { opacity: 0; transition: opacity .25s .4s; }
.js .hv.is-in .lines path { stroke-dashoffset: 0; }
.js .hv.is-in .lines circle { opacity: 1; }
.js .hv .pane { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .hv .dash { transition-delay: 0s; }
.js .hv .phone { transition-delay: .1s; }
.js .hv .ban { transition-delay: .2s; }
.js .hv.is-in .pane { opacity: 1; transform: none; }
.js .hv .funnel b { transform: scaleX(0); transition: transform .5s var(--ease); }
.js .hv.is-in .funnel b { transform: scaleX(var(--s, 1)); transition-delay: .7s; }
.funnel b { transform: scaleX(var(--s, 1)); }

/* ---- 節 ---- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec.tint { background: var(--bg2); }
.eyebrow { font: 600 13px/1 var(--en); letter-spacing: .16em; color: var(--blue); }
.big-en { font: 700 clamp(30px, 5vw, 72px)/1.05 var(--en); letter-spacing: -.01em; color: var(--navy); }
.big-en span { color: var(--blue); }
.sec h2 { margin-top: 18px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.45; letter-spacing: .02em; }
.big-en + h2 { margin-top: 20px; }
.sec .intro { margin-top: 20px; max-width: 42em; color: var(--sub); font-size: 16.5px; }

/* 3列（提供するもの） */
.offer { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.offer li { border-top: 1px solid var(--line); padding-top: 28px; }
.offer .fig { height: 168px; border-radius: 12px; background: var(--bg2); display: flex; align-items: center; justify-content: center; }
.offer .fig svg { width: 76%; height: 76%; }
.offer .no { display: block; margin-top: 28px; font: 600 13px/1 var(--en); letter-spacing: .14em; color: var(--blue); }
.offer h3 { margin-top: 12px; font-size: 22px; line-height: 1.5; }
.offer p { margin-top: 10px; color: var(--sub); font-size: 15.5px; }

/* 大きな画面図（住まいLPで見渡す） */
.screen-sec .head2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.screen { margin-top: 48px; container-type: inline-size; }
.scr { position: relative; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.scr-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #FAFBFD; font-size: 13px; color: var(--sub); }
.scr-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D2DE; }
.scr-bar span { margin-left: 10px; }
.scr-main { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.scr-side { border-right: 1px solid var(--line); padding: 24px 18px; background: #FAFBFD; }
.scr-side .co { font-size: 13px; font-weight: 700; }
.scr-side ul { margin-top: 18px; display: grid; gap: 6px; }
.scr-side li { padding: 8px 10px; border-radius: 6px; font-size: 13px; color: var(--sub); }
.scr-side li.on { background: #E8EFFC; color: var(--blue-deep); font-weight: 700; }
.scr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; padding: 30px 24px 24px; }
.area { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 20px; transition: border-color .4s, box-shadow .4s; }
.area .mk { position: absolute; top: -11px; left: 14px; padding: 0 8px; background: var(--white); font: 700 12px/22px var(--en); letter-spacing: .1em; color: var(--blue); }
.area h4 { margin: 4px 0 16px; font-size: 15px; }
.area.next { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; background: var(--bg2); border-style: dashed; }
.area.next h4 { margin: 0; white-space: nowrap; }
.area.next .sk { flex: 1; margin: 0; }
.area .funnel { gap: 12px; }
.area .funnel div { grid-template-columns: 44px 1fr; font-size: 12.5px; gap: 10px; }
.area .funnel b { height: 12px; border-radius: 3px; }
.area .rows i { width: 18px; height: 18px; border-radius: 4px; }
.area .rows div + div { margin-top: 12px; }
.area .rows .sk { height: 9px; }
.area .wave { height: 92px; }
.area .sk { height: 9px; }
.area .sk + .sk { margin-top: 9px; }
.js .screen .area { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease), border-color .4s, box-shadow .4s; }
.js .screen.is-in .area { opacity: 1; transform: none; }
.js .screen.is-in .area:nth-child(1) { transition-delay: .1s; }
.js .screen.is-in .area:nth-child(2) { transition-delay: .2s; }
.js .screen.is-in .area:nth-child(3) { transition-delay: .3s; }
.js .screen.is-in .area:nth-child(4) { transition-delay: .4s; }
.js .screen.is-in .area:not(.next) { animation: glow 1.2s var(--ease) both; }
.js .screen.is-in .area:not(.next) { animation-duration: .6s; }
.js .screen.is-in .area:nth-child(1) { animation-delay: .7s; }
.js .screen.is-in .area:nth-child(2) { animation-delay: .88s; }
.js .screen.is-in .area:nth-child(3) { animation-delay: 1.06s; }
@keyframes glow { 0%, 100% { border-color: var(--line); } 40% { border-color: var(--blue); } }
.screen-cap { margin-top: 14px; font-size: 12.5px; color: var(--mute); text-align: right; }
.points { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
.points .n { grid-row: span 2; font: 700 13px/28px var(--en); letter-spacing: .1em; color: var(--blue); }
.points h3 { font-size: 18px; line-height: 1.55; }
.points p { color: var(--sub); font-size: 15px; }
.screen-sec .foot-note { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.screen-sec .foot-note p { font-weight: 700; }

/* Google 連携の流れ図 */
.gflow-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.gflow-wrap .prose p { color: var(--sub); }
.gflow-wrap .prose p + p { margin-top: 14px; }
.gflow-wrap .policy-link { margin-top: 28px; }
.gflow { border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px; background: var(--white); }
.gflow-grid { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, .9fr) 56px minmax(0, .9fr); align-items: center; }
.gsrc { display: grid; gap: 10px; }
.gsrc li { padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font: 500 13.5px/1.35 var(--en); color: var(--ink); background: var(--white); }
.gnode { padding: 22px 14px; border-radius: 10px; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.5; }
.gnode small { display: block; font-size: 11.5px; font-weight: 400; color: inherit; opacity: .78; margin-top: 4px; }
.gnode.hub { background: var(--navy); color: var(--white); }
.gnode.out { background: #E8EFFC; color: var(--blue-deep); }
.gpipe { height: 100%; width: 100%; }
.gpipe path { fill: none; stroke: #B9C8DD; stroke-width: 1.5; }
.gpipe .flow { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.js .gflow.is-in .gpipe .flow { animation: flow 1.6s linear 2; }
.gpipe .tip { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.gflow-cap { margin-top: 18px; font-size: 12.5px; color: var(--mute); }

/* 会社情報の抜粋 */
.corp { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.corp-dl { border-top: 1px solid var(--line); }
.corp-dl div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 24px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.corp-dl dt { font-weight: 700; font-size: 15px; }
.corp-dl dd { color: var(--sub); }
.corp .more { margin-top: 28px; }

/* お問い合わせ */
.contact { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(64px, 9vw, 104px) 0; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 90% at 90% 100%, rgba(39, 79, 125, .7), transparent 70%); pointer-events: none; }
.contact .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.contact .eyebrow { color: var(--sky); }
.contact h2 { margin-top: 16px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.45; }
.contact p { margin-top: 14px; color: rgba(255, 255, 255, .78); }
.contact .mail { display: inline-flex; align-items: center; gap: 14px; padding: 22px 30px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; color: var(--white); text-decoration: none; font: 600 clamp(20px, 2.4vw, 28px)/1.2 var(--en); letter-spacing: .02em; transition: background-color .18s, border-color .18s; }
.contact .mail:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255,255,255,.6); color: var(--white); }
.contact .mail svg { width: 26px; height: 26px; flex: 0 0 auto; }
.mail-box { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.copy-btn { appearance: none; border: 0; background: transparent; color: rgba(255, 255, 255, .75); font: 500 13.5px/1.4 var(--jp); padding: 6px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.copy-btn:hover { color: var(--white); }
.copy-btn.is-done { color: var(--sky); text-decoration: none; }
.price-note { margin-top: 28px; font-size: 15px; color: var(--sub); }

/* ---- 下層ページの見出しの帯 ---- */
.pagehead { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.pagehead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 110% at 88% 60%, rgba(39, 79, 125, .8), transparent 70%); pointer-events: none; }
.pagehead::after { content: ""; position: absolute; top: 0; bottom: 0; left: 55%; right: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); pointer-events: none; }
.pagehead .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.pagehead .eyebrow { color: var(--sky); }
.pagehead h1 { margin-top: 16px; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.35; letter-spacing: .02em; }
.pagehead p { margin-top: 18px; max-width: 40em; color: rgba(255, 255, 255, .8); }
.pagehead a { color: var(--white); }
.crumb { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.crumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumb a:hover { color: var(--white); text-decoration: underline; }

/* 事業内容: 左に文・右に図 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev .fig-l { order: 2; }
.split .fig-l { border-radius: 14px; background: var(--bg2); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.split .fig-l svg { width: 78%; height: 78%; }
.split h3 { margin-top: 16px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.45; }
.split p { margin-top: 16px; color: var(--sub); }
.split ul.tick { margin-top: 20px; display: grid; gap: 10px; }
.tick li { position: relative; padding-left: 28px; }
.tick li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); transform-origin: 30% 60%; }

.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 28px 24px 30px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.steps li::before { content: "STEP 0" counter(s); display: block; font: 700 12px/1 var(--en); letter-spacing: .14em; color: var(--blue); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -15px; width: 10px; height: 10px; border-top: 2px solid #A9BAD3; border-right: 2px solid #A9BAD3; transform: translateY(-50%) rotate(45deg); z-index: 1; }
.steps h3 { margin-top: 14px; font-size: 18px; line-height: 1.5; }
.steps p { margin-top: 8px; font-size: 14.5px; line-height: 1.8; color: var(--sub); }

/* 会社概要の表 */
.spec { max-width: 1040px; margin-inline: auto; border-top: 2px solid var(--navy); }
#outline { padding-top: 80px; }
.spec > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 6px 32px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; font-size: 15px; }
.spec dd { color: var(--ink); }
.spec dd ul { display: grid; gap: 6px; }
.spec dd ul li { position: relative; padding-left: 1.1em; }
.spec dd ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 2px; background: var(--blue); }

/* プライバシーポリシー */
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: 14px; }
.toc p { font: 700 12px/1 var(--en); letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }
.toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--sub); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--blue); }
.policy h2 { font-size: 20px; line-height: 1.5; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.policy p, .policy li { margin-top: 12px; color: var(--sub); line-height: 1.9; }
.policy ul { list-style: disc; padding-left: 1.4em; }
.policy .date { font-size: 14px; color: var(--mute); }

/* ---- 下の帯 ---- */
.foot { background: #0B1524; color: rgba(255, 255, 255, .7); padding: 56px 0 40px; font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; }
.foot .logo { color: var(--white); }
.foot .logo:hover { color: var(--white); }
.foot .addr { margin-top: 16px; line-height: 1.9; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.foot nav a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.foot nav a:hover { color: var(--white); text-decoration: underline; }
.foot .copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font: 400 12.5px/1.6 var(--en); letter-spacing: .04em; color: rgba(255,255,255,.5); }

/* ---- 狭い画面 ---- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .hero .hv-wrap { max-width: 520px; }
  .hero::after { left: 0; top: 50%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .hero::before { background: radial-gradient(ellipse 90% 50% at 60% 78%, rgba(39, 79, 125, .85), rgba(39, 79, 125, 0) 70%); }
  .hv-wrap { justify-self: center; }
  .gflow-wrap, .corp, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.rev .fig-l { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { content: none; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .offer, .points { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .offer { gap: 32px; }
  .offer .fig { height: 144px; border-radius: 8px; }
  .offer .fig svg { height: 104px; width: auto; }
  .offer .no { margin-top: 18px; }
  .scr-main { grid-template-columns: minmax(0, 1fr); }
  .scr-side { display: none; }
  .scr-grid { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 22px; }
  .area.next { flex-wrap: wrap; }
  .area.next .sk { flex-basis: 100%; }
  .contact .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .screen-sec .head2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .head .wrap { height: 64px; }
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(16, 29, 48, .1); display: none; }
  .menu-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { content: none; }
  .nav .cta { margin-top: 14px; text-align: center; border-bottom: 0; padding: 14px 20px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .hero .acts { margin-top: 28px; }
  .hero .op { margin-top: 24px; padding-top: 16px; }
  .hero .hv-wrap { max-width: 340px; }
  .mail-box { align-items: stretch; width: 100%; }
  .copy-btn { align-self: center; }
  .hero h1 { font-size: clamp(24px, 7.6vw, 36px); line-height: 1.4; }
  .hero .lead { font-size: 16px; }
  .hero .acts .btn { width: 100%; }
  .hero .acts { gap: 18px; }
  .gflow { padding: 22px 16px; }
  .gflow-grid { grid-template-columns: minmax(0, 1fr); }
  .gpipe { height: 44px; width: 56px; margin: 0 auto; transform: rotate(90deg); }
  .gsrc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps li::after { content: none !important; }
  .spec > div, .corp-dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 2px; }
  .spec dt, .corp-dl dt { font-size: 14px; color: var(--sub); }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .contact .mail { padding: 18px 20px; width: 100%; justify-content: center; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 420px) {
  .hv .dash-body { grid-template-rows: auto auto; align-content: start; }
  .hv .tile:not(.wide) h4 { margin: 0; }
  .hv .tile:not(.wide) .rows, .hv .tile:not(.wide) .wave, .hv .note { display: none; }
  .hv .win-bar { font-size: 2.8cqw; }
  .hv .tile h4 { font-size: 3cqw; }
  .hv .funnel div { font-size: 2.6cqw; grid-template-columns: 9cqw 1fr; }
  .hv .note { font-size: 2.6cqw; }
  .hv .phone .ph-title { font-size: 2.9cqw; }
  .hv .phone .ph-tag { font-size: 2.3cqw; }
  .hv .phone .ph-btn { font-size: 2.6cqw; }
  .hv .ban-in h4 { font-size: 2.8cqw; }
  .hv .media li { font-size: 2.6cqw; height: 7.5cqw; }
  .hv .media li span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hv .pane, .js .screen .area { opacity: 1 !important; transform: none !important; }
  .js .hv .lines path { stroke-dashoffset: 0 !important; }
  .js .hv .lines circle { opacity: 1 !important; }
  .js .hv .funnel b { transform: scaleX(var(--s, 1)) !important; }
}
@media print {
  .head { position: static; }
  .js [data-reveal], .js .hv .pane, .js .screen .area { opacity: 1 !important; transform: none !important; }
}
