/* ヒマツクル 公式サイト（build.py が HTML を作り、この1枚で見た目を決める） */
:root {
  --ink: #0b1324;
  --text: #2a3346;
  --muted: #566074;
  --line: #e2e7f0;
  --line-2: #d3dae6;
  --bg: #ffffff;
  --soft: #f4f6fb;
  --soft-2: #eef2fb;
  --brand: #2f55f0;
  --brand-ink: #1d3fd1;
  --brand-50: #eef2ff;
  --mint: #0fa88d;
  --mint-ink: #087a66;
  --mint-50: #e7f8f4;
  --amber: #b45309;
  --amber-50: #fff6e8;
  --night: #0a1022;
  --night-2: #121a33;
  --grad: linear-gradient(115deg, #2f55f0 0%, #4b5cf5 38%, #12b3a0 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #e9f8f5 100%);
  --grad-btn: linear-gradient(115deg, #2f55f0 0%, #2a46d8 50%, #0b7468 100%);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(11, 19, 36, .06), 0 2px 8px rgba(11, 19, 36, .04);
  --sh-2: 0 2px 4px rgba(11, 19, 36, .04), 0 12px 32px -8px rgba(11, 19, 36, .14);
  --sh-3: 0 4px 10px rgba(11, 19, 36, .05), 0 30px 60px -18px rgba(23, 40, 110, .32);
  --head-h: 72px;
  --wrap: 1180px;
  --en: "Outfit", "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .03em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-ink); text-underline-offset: .2em; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; margin: 0; letter-spacing: .04em; word-break: auto-phrase; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.ib { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.en { font-family: var(--en); letter-spacing: .06em; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; text-decoration: none; line-height: 1.3;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 85, 240, .7); background-size: 140% 100%; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(47, 85, 240, .75); background-position: 100% 0; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--brand-ink); border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--sh-1); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand-ink); transform: translateY(-2px); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ヘッダー ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* すりガラスは疑似要素に（ヘッダー本体に付けると、スマホのメニュー（fixed）の基準がヘッダーになってしまうため） */
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 19, 36, .4); }
.head-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 20px; font-weight: 800; letter-spacing: .1em; }
.brand-name small { font-family: var(--en); font-size: 10.5px; font-weight: 600; letter-spacing: .26em; color: var(--muted); margin-top: 3px; }
.gnav ul { display: flex; align-items: center; gap: 4px; }
.gnav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.gnav a:hover { color: var(--brand-ink); background: var(--soft); }
.gnav a[aria-current="page"] { color: var(--brand-ink); font-weight: 700; }
.gnav .nav-cta { margin-left: 10px; }
.gnav .nav-cta a { background: var(--ink); color: #fff; padding: 11px 20px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.gnav .nav-cta a svg { width: 17px; height: 17px; }
.gnav .nav-cta a:hover, .gnav .nav-cta a[aria-current="page"] { background: var(--brand); color: #fff; }
.menu-btn { display: none; }

/* ---------- 共通の見出し ---------- */
.section { padding: 112px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section.grad-bg { background: var(--grad-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow .ja { font-family: "Noto Sans JP", sans-serif; letter-spacing: .12em; color: var(--muted); font-weight: 500; text-transform: none; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-top: 16px; }
.sec-head p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 16.5px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- トップ：ヒーロー ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(47, 85, 240, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 85, 240, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle at 30% 40%, rgba(47, 85, 240, .20), transparent 60%), radial-gradient(circle at 70% 70%, rgba(18, 179, 160, .20), transparent 60%);
  filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pill i { font-style: normal; font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5.1vw, 62px); font-weight: 900; line-height: 1.32; letter-spacing: .03em; margin-top: 26px; }
.hero h1 .l { display: block; }
.hero .lead { margin-top: 26px; font-size: 17px; color: var(--text); max-width: 34em; }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 22px; display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.hero-note svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--mint-ink); }

.hero-visual { position: relative; min-height: 470px; }
.win { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--sh-3); border: 1px solid rgba(11, 19, 36, .07); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5dbe6; }
.win-bar i:nth-child(1) { background: #ff8a7a; } .win-bar i:nth-child(2) { background: #ffcf5c; } .win-bar i:nth-child(3) { background: #45d39a; }
.win-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.win-main { left: 4%; right: 0; top: 30px; }
.win-sub { width: 52%; left: -6%; bottom: 0; animation: floaty 7s ease-in-out infinite; }
.win-sub2 { width: 44%; right: -4%; bottom: 36px; animation: floaty 8s ease-in-out -3s infinite; }
.toast {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--sh-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.toast small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.toast .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); flex: none; }
.toast .ic svg { width: 19px; height: 19px; }
.toast-1 { top: -6px; right: 4%; animation: floaty 6s ease-in-out -1s infinite; }
.toast-2 { left: 30%; top: 46%; animation: floaty 7.5s ease-in-out -4s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 数字の帯 */
.facts { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.facts li { padding: 24px 26px; display: flex; gap: 14px; align-items: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-ink); flex: none; }
.facts .ic svg { width: 22px; height: 22px; }
.facts b { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.45; }
.facts b em { font-style: normal; font-family: var(--en); font-size: 26px; font-weight: 700; letter-spacing: .02em; margin-right: 2px; }
.facts span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 2px; }

/* ---------- 2つの柱 ---------- */
.pillars { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.pillar { position: relative; border-radius: var(--r-lg); padding: 40px; overflow: hidden; display: flex; flex-direction: column; min-height: 400px; isolation: isolate; }
.pillar .num { font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.pillar h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin-top: 14px; }
.pillar p { margin-top: 14px; }
.pillar .tags { margin-top: 22px; }
.pillar .btn { margin-top: auto; align-self: flex-start; }
.pillar .spacer { flex: 1; min-height: 28px; }
.pillar-work { background: var(--night); color: #c9d2e6; }
.pillar-work h3 { color: #fff; }
.pillar-work .num { color: #8fb0ff; }
.pillar-work::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 85, 240, .55), transparent 65%); }
.pillar-work::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: 80px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 179, 160, .45), transparent 65%); }
.pillar-work .tags li { background: rgba(255, 255, 255, .08); color: #e3e9f7; border-color: rgba(255, 255, 255, .14); }
.pillar-app { background: linear-gradient(160deg, #fff7e9 0%, #fdeedd 55%, #fbe3cf 100%); color: #5a4330; }
.pillar-app h3 { color: #3b2717; }
.pillar-app .num { color: var(--amber); }
.pillar-app .badge { margin-left: 10px; }
.app-art { width: 64px; height: 64px; margin-bottom: 18px; filter: drop-shadow(0 10px 18px rgba(240, 120, 47, .35)); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--text); border: 1px solid var(--line); line-height: 1.6; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: #fff; color: var(--amber); border: 1px solid #f3d3a8; vertical-align: middle; letter-spacing: .06em; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }

/* ---------- お悩み ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { display: flex; gap: 16px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.pain .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand-ink); flex: none; }
.pain .ic svg { width: 23px; height: 23px; }
.pain h3 { font-size: 16.5px; font-weight: 700; }
.pain p { font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.75; }
.pain-to { margin-top: 44px; text-align: center; }
.pain-to .arrow { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(47, 85, 240, .8); }
.pain-to .arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
.pain-to p { font-size: clamp(18px, 2.2vw, 23px); font-weight: 800; color: var(--ink); }

/* ---------- ヒマツクルについて（暗い帯） ---------- */
.concept { background: var(--night); color: #c5cee2; overflow: hidden; isolation: isolate; }
.concept::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 10% 20%, rgba(47, 85, 240, .35), transparent 60%), radial-gradient(ellipse 50% 60% at 95% 90%, rgba(18, 179, 160, .25), transparent 60%); }
.concept .eyebrow { color: #9fb6ff; }
.concept .eyebrow .ja { color: #aab4cc; }
.concept-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.word { font-weight: 900; color: #fff; line-height: 1.1; }
.word .w1 { display: block; font-size: clamp(54px, 8vw, 104px); letter-spacing: .08em; }
.word .w2 { display: block; font-size: clamp(54px, 8vw, 104px); letter-spacing: .08em; }
.word .w2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: brightness(1.35); }
.word-eq { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: #dfe5f3; line-height: 1.6; }
.word-eq b { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); font-weight: 700; }
.concept-body p.txt { font-size: 16.5px; line-height: 2.05; color: #d5dcec; margin-top: 18px; }
.sign { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #aab4cc; }
.sign b { color: #fff; font-size: 17px; letter-spacing: .14em; margin-left: 8px; }
.sign a { color: #9fb6ff; font-weight: 600; }
.sign a:hover { color: #fff; }

/* ---------- できること（カード） ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.svc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; color: var(--text); }
.svc:hover::after { transform: scaleX(1); }
.svc .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-ink); }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 19px; font-weight: 800; margin-top: 20px; }
.svc p { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.8; }
.svc .more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 6px; }
.svc .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .more svg { transform: translateX(4px); }

/* ---------- 作品カード ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work[hidden] { display: none; }
.work > a { height: 100%; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.work > a:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; color: var(--text); }
.work .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.work > a:hover .thumb img { transform: scale(1.04); }
.work .thumb .play { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 19, 36, .78); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; backdrop-filter: blur(4px); }
.work .thumb .play svg { width: 14px; height: 14px; }
.work > a:hover .thumb .play, .work > a:focus-visible .thumb .play { opacity: 1; transform: none; }
.work .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work .tags li { font-size: 11.5px; padding: 2px 9px; }
.work h3 { font-size: 17px; font-weight: 800; margin-top: 12px; line-height: 1.5; }
.work p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.75; }
.work .go { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 6px; }
.work .go svg { width: 15px; height: 15px; }
.center-cta { margin-top: 44px; display: flex; justify-content: center; }

/* 絞り込み */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.filter-bar .label { font-size: 14px; font-weight: 700; color: var(--ink); margin-right: 4px; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; }
.filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--text); transition: all .2s; }
.filter button:hover { border-color: var(--brand); color: var(--brand-ink); }
.filter button .n { font-family: var(--en); font-size: 12px; font-weight: 700; min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--muted); text-align: center; }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter button[aria-pressed="true"] .n { background: rgba(255, 255, 255, .18); color: #fff; }
.count { font-size: 14px; color: var(--muted); margin: 18px 0 22px; }
.count b { color: var(--ink); font-family: var(--en); font-size: 18px; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--r); background: var(--mint-50); border: 1px solid #bfe9df; color: #164e43; font-size: 14.5px; line-height: 1.8; margin-bottom: 34px; }
.notice svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--mint-ink); }
.notice b { color: #0b3b32; }
.notice.warn { background: var(--amber-50); border-color: #f5d7a6; color: #6b3a07; }
.notice.warn svg { color: var(--amber); }

/* ---------- 大切にしていること ---------- */
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.promise li { display: flex; gap: 18px; padding: 26px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.promise .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-50); color: var(--mint-ink); flex: none; }
.promise .ic svg { width: 24px; height: 24px; }
.promise b { display: block; color: var(--ink); font-size: 17px; line-height: 1.5; }
.promise span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 進め方（横） ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; position: relative; }
.step { position: relative; padding: 24px 20px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); counter-increment: st; }
.step::before { content: "STEP " counter(st, decimal-leading-zero); display: inline-block; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brand-ink); }
.step h3 { font-size: 17px; font-weight: 800; margin-top: 8px; }
.step p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.75; }

/* ---------- 自社アプリ（トップの帯） ---------- */
.app-band { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 34px 40px; border-radius: var(--r-lg); background: linear-gradient(120deg, #fff7e9, #fdeedd); border: 1px solid #f6dcbc; }
.app-band .app-icon { width: 88px; height: 88px; }
.app-band h3 { font-size: 22px; font-weight: 800; color: #3b2717; }
.app-band p { margin-top: 6px; color: #6a503a; font-size: 15px; }

/* ---------- お問い合わせの帯 ---------- */
.cta-band { padding: 0 0 112px; }
.cta-box { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 64px; background: var(--night); color: #cbd3e6; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-box::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 60% 90% at 0% 0%, rgba(47, 85, 240, .5), transparent 60%), radial-gradient(ellipse 50% 80% at 100% 100%, rgba(18, 179, 160, .4), transparent 60%); }
.cta-box::after { content: ""; position: absolute; z-index: -1; inset: 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: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-box h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.cta-box p { margin-top: 14px; font-size: 16px; }
.cta-box .btn-row { flex-direction: column; align-items: stretch; min-width: 260px; }

/* ---------- 下層ページの見出し ---------- */
.page-hero { position: relative; padding: 72px 0 64px; background: var(--grad-soft); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(47, 85, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 85, 240, .07) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(100deg, transparent 30%, #000 90%); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 90%); }
.crumb { font-size: 13px; color: var(--muted); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumb a { color: var(--muted); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; margin-top: 18px; }
.page-hero .en-title { display: block; font-family: var(--en); font-size: 14px; font-weight: 600; letter-spacing: .28em; color: var(--brand-ink); margin-top: 22px; text-transform: uppercase; }
.page-hero p.lead { margin-top: 18px; max-width: 46em; font-size: 16.5px; }
.jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: var(--sh-1); }
.jump a:hover { border-color: var(--brand); color: var(--brand-ink); }
.jump a svg { width: 18px; height: 18px; color: var(--brand-ink); }

/* ---------- できること（詳細） ---------- */
.svc-detail { display: grid; gap: 28px; }
.sd { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 44px; padding: 44px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.sd-head { grid-column: 1 / -1; display: flex; gap: 20px; align-items: flex-start; }
.sd-head .ic { width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; box-shadow: 0 12px 24px -12px rgba(47, 85, 240, .8); }
.sd-head .ic svg { width: 30px; height: 30px; }
.sd-head .no { font-family: var(--en); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--brand-ink); }
.sd-head h2 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; margin-top: 2px; }
.sd-head p { margin-top: 8px; color: var(--muted); }
.sd h3 { font-size: 15px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sd h3::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--grad); }
.checks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.75; }
.checks li + li { margin-top: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pain-list li::before { background: var(--amber-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sd-works { grid-column: 1 / -1; padding-top: 26px; border-top: 1px dashed var(--line-2); }
.mini-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.mini-works a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; transition: transform .2s, box-shadow .2s; height: 100%; }
.mini-works a:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--brand-ink); }
.mini-works img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.mini-works span { display: flex; justify-content: space-between; gap: 6px; align-items: flex-start; padding: 10px 12px; font-size: 13px; font-weight: 700; line-height: 1.55; }
.mini-works span svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--muted); }

/* ---------- 進め方（縦の流れ） ---------- */
.timeline { position: relative; display: grid; gap: 18px; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--brand), var(--mint)); opacity: .35; }
.tl { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; }
.tl .num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); color: var(--brand-ink); font-family: var(--en); font-weight: 700; font-size: 19px; position: relative; z-index: 1; }
.tl .card { padding: 24px 28px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.tl h3 { font-size: 19px; font-weight: 800; }
.tl p { margin-top: 8px; font-size: 15px; }
.tl .meta { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: 13.5px; color: var(--muted); }

.price { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.price-text { padding: 36px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); font-size: 16px; line-height: 2; }
.price-points { display: grid; gap: 14px; }
.price-points li { display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.price-points .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-ink); flex: none; }
.price-points .ic svg { width: 23px; height: 23px; }
.price-points b { display: block; color: var(--ink); font-size: 16.5px; }
.price-points span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.75; }

.deliver { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.deliver li { padding: 28px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.deliver .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand-ink); }
.deliver .ic svg { width: 24px; height: 24px; }
.deliver b { display: block; margin-top: 16px; color: var(--ink); font-size: 16.5px; }
.deliver span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.75; }

.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sh-2); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 22px 56px 22px 24px; position: relative; font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--en); font-weight: 700; color: var(--brand-ink); font-size: 18px; line-height: 1.4; flex: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq .a { display: flex; gap: 14px; padding: 0 24px 24px; font-size: 15px; }
.faq .a::before { content: "A"; font-family: var(--en); font-weight: 700; color: var(--mint-ink); font-size: 18px; line-height: 1.5; flex: none; }

/* ---------- ヒマツクルについて ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.story-art { position: relative; aspect-ratio: 1 / 1; border-radius: 32px; background: var(--night); overflow: hidden; isolation: isolate; display: grid; place-items: center; text-align: center; color: #fff; padding: 32px; }
.story-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 20% 15%, rgba(47, 85, 240, .6), transparent 55%), radial-gradient(circle at 85% 90%, rgba(18, 179, 160, .5), transparent 55%); }
.story-art .big { font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: .12em; line-height: 1.2; }
.story-art .eq { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.story-art .eq b { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }
.story-art small { display: block; margin-top: 18px; color: #c8d0e4; font-size: 13.5px; }
.story-body p + p { margin-top: 1.2em; }
.story-body .txt { font-size: 16.5px; line-height: 2.05; margin-top: 18px; }

.biz-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.biz { padding: 40px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.biz .num { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--brand-ink); }
.biz h3 { font-size: 24px; font-weight: 800; margin-top: 10px; }
.biz p.txt { margin-top: 16px; line-height: 2; }
.biz.app { background: linear-gradient(160deg, #fff9ef, #fdf0e1); border-color: #f6dcbc; }
.biz.app .num { color: var(--amber); }
.biz.app .head { display: flex; gap: 20px; align-items: center; }
.biz.app .app-icon { width: 76px; height: 76px; flex: none; }
.biz .facts-mini { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz .facts-mini li { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #f0d6b4; color: #6a4a2c; }
.biz .btn { margin-top: 26px; }

.prof { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.prof-card { position: sticky; top: calc(var(--head-h) + 24px); padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); text-align: center; }
.avatar { width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 28px; font-weight: 800; letter-spacing: .1em; box-shadow: 0 16px 30px -14px rgba(47, 85, 240, .8); }
.prof-card .role { margin-top: 18px; font-size: 13px; color: var(--muted); }
.prof-card .name { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: .14em; }
.prof-card .name-en { font-family: var(--en); font-size: 12px; letter-spacing: .26em; color: var(--muted); }
.prof-card ul { margin-top: 22px; text-align: left; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.prof-card li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; }
.prof-card li svg { width: 18px; height: 18px; flex: none; color: var(--mint-ink); margin-top: 2px; }
.prof-body p { font-size: 16.5px; line-height: 2.05; }
.prof-body p + p { margin-top: 1.3em; }

.career { position: relative; display: grid; gap: 14px; }
.career li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 26px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.career .when { font-family: var(--en); font-weight: 700; color: var(--brand-ink); font-size: 15px; letter-spacing: .04em; }
.career b { display: block; color: var(--ink); font-size: 16.5px; }
.career span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tools li { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink); }

.company { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.company th, .company td { text-align: left; padding: 20px 28px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.company tr:last-child th, .company tr:last-child td { border-bottom: 0; }
.company th { width: 200px; background: var(--soft); color: var(--ink); font-weight: 700; }
.company .tbd { color: var(--muted); }
.company .tbd::after { content: "準備中"; margin-left: 10px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--amber-50); color: var(--amber); border: 1px solid #f5d7a6; }

/* ---------- お問い合わせ ---------- */
.contact { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.form { padding: 40px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); display: grid; gap: 24px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: 15px; padding: 0; line-height: 1.6; }
.req, .opt { display: inline-block; margin-left: 10px; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; vertical-align: 2px; }
.req { background: #fde8e8; color: #b42318; }
.opt { background: var(--soft); color: var(--muted); }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #7d879b; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566074' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; padding-right: 44px; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(47, 85, 240, .14); }
.field ::placeholder { color: #5f6878; opacity: 1; }
.hint { font-size: 13px; color: var(--muted); line-height: 1.7; }
.radios { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.field label.radio { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 120px; min-height: 52px; padding: 12px 22px 12px 18px; border-radius: 12px; border: 1.5px solid #7d879b; background: #fff; cursor: pointer; font-weight: 600; }
.radio input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.radio:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.rule { padding: 18px 20px; border-radius: 14px; background: var(--amber-50); border: 1px solid #f5d7a6; color: #6b3a07; font-size: 14px; line-height: 1.85; transition: box-shadow .2s, border-color .2s; }
.rule b { display: block; color: #4a2804; margin-bottom: 4px; font-size: 14.5px; }
.rule.is-alert { border-color: #e48b2a; box-shadow: 0 0 0 4px rgba(228, 139, 42, .18); }
.form .btn[type=submit] { width: 100%; }
.form-msg { display: none; padding: 18px 20px; border-radius: 14px; font-size: 14.5px; line-height: 1.8; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--brand-50); color: #1c2f8a; border: 1px solid #c9d4ff; }
.form-msg.ng { background: var(--amber-50); color: #6b3a07; border: 1px solid #f5d7a6; }
.side-box { position: sticky; top: calc(var(--head-h) + 24px); padding: 32px; border-radius: var(--r-lg); background: var(--night); color: #cbd3e6; display: grid; gap: 18px; overflow: hidden; isolation: isolate; }
.side-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(47, 85, 240, .45), transparent 60%); }
.side-box h2 { color: #fff; font-size: 18px; font-weight: 800; }
.side-box ul { display: grid; gap: 12px; }
.side-box li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.65; }
.side-box li svg { width: 18px; height: 18px; flex: none; color: #5fe0c6; margin-top: 3px; }
.mail-line { display: flex; gap: 10px; align-items: center; font-weight: 700; color: #fff; word-break: break-all; }
.mail-line svg { width: 20px; height: 20px; flex: none; color: #9fb6ff; }
.side-box .small { font-size: 13px; color: #aab4cc; line-height: 1.7; }

/* ---------- フッター ---------- */
.site-foot { background: var(--night); color: #aab4cc; padding: 72px 0 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-foot .brand { color: #fff; }
.site-foot .brand-name small { color: #8d97b0; }
.foot-desc { margin-top: 18px; line-height: 1.9; max-width: 30em; }
.foot-nav h2 { font-family: var(--en); font-size: 12px; letter-spacing: .24em; color: #fff; font-weight: 600; margin-bottom: 14px; }
.foot-nav ul { display: grid; gap: 8px; }
.foot-nav a { color: #c5cde0; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding: 2px 0; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }
.foot-nav a svg { width: 14px; height: 14px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8d97b0; }

/* ---------- ふわっと表示 ---------- */
.rv .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv .reveal { opacity: 1; transform: none; }
}

/* ---------- 画面の幅ごと ---------- */
@media (max-width: 1080px) {
  .gnav a { padding: 9px 10px; font-size: 14px; }
  .gnav .nav-cta { margin-left: 4px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; aspect-ratio: 16 / 11; max-width: 680px; width: 100%; margin: 0 auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .concept-grid, .story { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .deliver { grid-template-columns: repeat(2, 1fr); }
  .price { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .side-box { position: relative; top: auto; }
  .prof { grid-template-columns: 1fr; }
  .prof-card { position: static; max-width: 520px; }
  .story-art { aspect-ratio: auto; min-height: 320px; }
}

@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
    border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink);
  }
  .menu-btn svg { width: 20px; height: 20px; }
  .gnav {
    position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 20px 24px 40px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .gnav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav li { border-bottom: 1px solid var(--line); }
  .gnav a { padding: 18px 6px; font-size: 17px; font-weight: 700; border-radius: 0; display: flex; justify-content: space-between; }
  .gnav a:hover { background: none; }
  .gnav li:not(.nav-cta) a::after { content: "→"; color: var(--muted); font-weight: 400; }
  .gnav .nav-cta { border: 0; margin: 24px 0 0; }
  .gnav .nav-cta a { display: flex; justify-content: center; padding: 16px; border-radius: 999px; background: var(--brand-ink); }
  body.menu-open { overflow: hidden; }
  .pillars, .biz-list { grid-template-columns: 1fr; }
  .svc-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .sd { grid-template-columns: 1fr; padding: 32px; }
  .cta-box { grid-template-columns: 1fr; padding: 48px 40px; }
  .cta-box .btn-row { flex-direction: row; min-width: 0; }
  .app-band { grid-template-columns: auto 1fr; }
  .app-band .btn { grid-column: 1 / -1; justify-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .section { padding: 76px 0; }
  .section.tight { padding: 52px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p:not(.eyebrow) { font-size: 15.5px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name b { font-size: 18px; }
  .brand-name small { font-size: 9.5px; }
  .menu-btn .label { display: none; }
  .menu-btn { padding: 8px 11px; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); margin-top: 20px; }
  .hero .lead { font-size: 15.5px; margin-top: 20px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-visual { aspect-ratio: 16 / 13; }
  .win-main { left: 0; top: 18px; }
  .win-sub { width: 58%; left: -2%; }
  .win-sub2 { width: 50%; right: -2%; bottom: 12%; }
  .win-bar { height: 22px; padding: 0 8px; gap: 4px; }
  .win-bar i { width: 7px; height: 7px; }
  .win-bar span { display: none; }
  .toast { font-size: 12px; padding: 8px 12px 8px 8px; gap: 8px; }
  .toast small { display: none; }
  .toast .ic { width: 28px; height: 28px; border-radius: 8px; }
  .toast .ic svg { width: 16px; height: 16px; }
  .toast-1 { top: -14px; right: 0; }
  .toast-2 { left: 24%; top: 50%; }
  .facts { grid-template-columns: 1fr; margin-top: 44px; }
  .facts li { padding: 16px 20px; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .pillar { padding: 30px 24px; min-height: 0; }
  .app-art { width: 56px; height: 56px; }
  .pain-grid, .svc-grid, .works-grid, .promise, .deliver { grid-template-columns: 1fr; }
  .pain { padding: 18px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px 20px; }
  .step::before { grid-row: 1 / 3; align-self: start; margin-top: 4px; }
  .step h3 { margin-top: 0; }
  .step p { margin-top: 2px; }
  .app-band { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; }
  .app-band .app-icon { width: 68px; height: 68px; }
  .cta-band { padding-bottom: 76px; }
  .cta-box { padding: 40px 24px; border-radius: 22px; }
  .cta-box .btn-row { flex-direction: column; }
  .page-hero { padding: 44px 0 44px; }
  .page-hero p.lead { font-size: 15.5px; }
  .sd { padding: 26px 20px; gap: 24px; }
  .sd-head { flex-direction: column; gap: 14px; }
  .mini-works { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mini-works span { font-size: 12.5px; padding: 8px 10px; }
  .mini-works span svg { display: none; }
  .filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { flex: none; scroll-snap-align: start; }
  .filter-bar .label { width: 100%; }
  .work .thumb .play { opacity: 1; transform: none; }
  .timeline::before { left: 21px; }
  .tl { grid-template-columns: 44px 1fr; gap: 14px; }
  .tl .num { width: 44px; height: 44px; font-size: 16px; }
  .tl .card { padding: 20px; }
  .price-text { padding: 24px 20px; }
  .faq summary { padding: 18px 48px 18px 18px; font-size: 15px; }
  .faq summary::after { right: 20px; top: 24px; }
  .faq details[open] summary::after { top: 28px; }
  .faq .a { padding: 0 18px 20px; font-size: 14.5px; }
  .biz { padding: 28px 22px; }
  .career li { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .company th, .company td { display: block; width: 100%; padding: 12px 20px; }
  .company th { padding-top: 16px; padding-bottom: 6px; border-bottom: 0; background: none; font-size: 13px; color: var(--muted); }
  .company td { padding-top: 0; padding-bottom: 16px; }
  .form { padding: 26px 20px; gap: 22px; }
  .side-box { padding: 26px 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-foot { padding-top: 56px; }
  .story-art { min-height: 280px; border-radius: 24px; }
  .concept-body p.txt, .story-body .txt, .prof-body p { font-size: 15.5px; }
}

/* ---------- 小物 ---------- */
.cta-gap { height: 112px; }
.cta-gap.sm { height: 40px; }
.gnav .nav-home { display: none; }
@media (max-width: 960px) { .gnav .nav-home { display: block; } }
@media (max-width: 640px) { .pc { display: none; } .cta-gap { height: 76px; } .cta-gap.sm { height: 24px; } }


/* ---------- アストラの点検を受けた追加 ---------- */
.cta-note { font-size: 13px !important; color: #aab4cc; margin-top: 10px !important; }
.hv-cap { position: absolute; left: 0; right: 0; bottom: -44px; font-size: 12px; color: var(--muted); text-align: right; line-height: 1.5; }
.hero-visual { margin: 0; }
.toast-1 { top: -6px; right: 2%; }
.toast-2 { left: -2%; top: auto; bottom: -26px; }
.tool { display: inline-block; font-size: 12px; font-weight: 700; color: var(--mint-ink); background: var(--mint-50); border: 1px solid #bfe9df; padding: 1px 10px; border-radius: 999px; line-height: 1.7; }
.svc .tool { margin-top: 18px; }
.svc h3 { margin-top: 8px; }
.sd-head .tool { margin-top: 8px; }
.svc-t { display: block; }
.pain-item { display: block; }
.pain { position: relative; height: 100%; text-decoration: none; color: var(--text); padding-right: 48px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pain:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
.pain .go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--brand-ink); }
.pain .go svg { width: 20px; height: 20px; }
.notice > span { display: block; }
.field label.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.story-body .txt + .txt, .biz .txt + .txt { margin-top: 1em; }
.price-text .p + .p { margin-top: 1em; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  /* トップのメイン画像：スマホは1枚と説明1つに絞る */
  .hero-visual { aspect-ratio: auto; padding-top: 18px; }
  .win-main { position: relative; left: auto; right: auto; top: auto; }
  .win-sub, .win-sub2, .toast-2 { display: none; }
  .toast-1 { top: 0; right: 8px; }
  .toast small { display: block; }
  .hv-cap { position: static; margin-top: 10px; text-align: left; }
  /* お困りごと：2列で見出しだけ（押すと詳しく） */
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pain { flex-direction: column; gap: 10px; padding: 16px 14px 16px; }
  .pain p { display: none; }
  .pain h3 { font-size: 14.5px; line-height: 1.5; }
  .pain .ic { width: 38px; height: 38px; border-radius: 11px; }
  .pain .ic svg { width: 20px; height: 20px; }
  .pain .go { top: 16px; right: 12px; transform: none; width: 18px; height: 18px; }
  /* できること：スマホは行のリンクに */
  .svc-grid { gap: 10px; }
  .svc { flex-direction: row; align-items: center; gap: 14px; padding: 16px 16px; border-radius: 16px; }
  .svc .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; }
  .svc .ic svg { width: 22px; height: 22px; }
  .svc-t { flex: 1; min-width: 0; }
  .svc .tool { margin-top: 0; font-size: 11px; padding: 0 8px; }
  .svc h3 { font-size: 16px; margin-top: 2px; }
  .svc p { display: none; }
  .svc .more { margin: 0; padding: 0; font-size: 0; }
  .svc .more svg { width: 20px; height: 20px; }
  /* トップの作品はスマホでは3件 */
  .works-grid .sp-hide { display: none; }
  /* 11. 絞り込みは横スクロールにせず、2列で全部見せる */
  .filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 8px; }
  .filter button { white-space: normal; min-height: 48px; padding: 8px 10px 8px 14px; justify-content: space-between; text-align: left; font-size: 14px; line-height: 1.4; }
  .field label.radio { flex: 1 1 0; }
}
.no-js .menu-btn { display: none; }
@media (max-width: 640px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
  .facts li + li { border-top: 0; border-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts .ic { width: 36px; height: 36px; border-radius: 10px; }
  .facts .ic svg { width: 19px; height: 19px; }
  .facts b { font-size: 14.5px; }
  .facts b em { font-size: 22px; }
  .facts span { font-size: 12px; }
}

/* ---------- お客様目線の作り直し（2026-11-08） ---------- */
.pill i { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; }
.pill i svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); }
.hero .btn-primary { min-height: 58px; padding-inline: 30px; font-size: 16.5px; }

/* いままで → 仕組みにすると */
.ba { margin: 0; position: relative; display: grid; gap: 14px; }
.ba-before, .ba-after { border-radius: 20px; padding: 22px 24px; }
.ba-before { background: #fff; border: 1px dashed var(--line-2); color: var(--muted); max-width: 86%; }
.ba-after { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); margin-left: 8%; position: relative; overflow: hidden; }
.ba-after::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.ba-tag { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; padding: 2px 12px; border-radius: 999px; }
.ba-before .ba-tag { background: var(--soft); color: var(--muted); }
.ba-after .ba-tag { background: var(--mint-50); color: var(--mint-ink); }
.ba-title { margin-top: 10px; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.ba-before .ba-title { color: #4a5366; }
.ba ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.ba ul li { position: relative; padding-left: 18px; }
.ba-before ul li::before { content: "×"; position: absolute; left: 0; color: #c2410c; font-weight: 800; }
.ba-after ul li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-ink); font-weight: 800; }
.ba-shot { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ba-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.ba-arrow { position: absolute; left: 3%; top: 34%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(47, 85, 240, .8); z-index: 2; }
.ba-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
.ba figcaption { margin-left: 8%; font-size: 14px; font-weight: 700; }
.ba figcaption a { display: inline-flex; align-items: center; gap: 6px; }
.ba figcaption svg { width: 15px; height: 15px; }

/* 場面のカード */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.scene-head { display: flex; align-items: center; gap: 12px; }
.scene-head .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-ink); flex: none; }
.scene-head .ic svg { width: 22px; height: 22px; }
.scene-head h3 { font-size: 18px; font-weight: 800; }
.scene .lbl { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 1px 10px; border-radius: 999px; }
.scene p { margin-top: 6px; font-size: 14.5px; line-height: 1.75; }
.scene-now { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--soft); color: #4a5366; }
.scene-now .lbl { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.scene-arrow { display: grid; place-items: center; margin: 8px 0; color: var(--brand-ink); }
.scene-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
.scene-after { padding: 14px 16px; border-radius: 14px; background: var(--mint-50); border: 1px solid #bfe9df; color: #12443b; flex: 1; }
.scene-after .lbl { background: #fff; color: var(--mint-ink); border: 1px solid #bfe9df; }
.scene-after p { font-weight: 600; }
.scene-try { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: background-color .2s, color .2s; }
.scene-try:hover { background: var(--brand-ink); color: #fff; }
.scene-try svg { width: 16px; height: 16px; }

/* 試し方の3ステップ */
.try-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.try-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 20px 22px; border-radius: var(--r); background: var(--soft); }
.try-steps .n { position: absolute; right: 16px; top: 10px; font-family: var(--en); font-weight: 700; font-size: 30px; color: rgba(47, 85, 240, .14); line-height: 1; }
.try-steps .ic { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand-ink); box-shadow: var(--sh-1); }
.try-steps .ic svg { width: 22px; height: 22px; }
.try-steps b { color: var(--ink); font-size: 16px; }
.try-steps .d { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.work .demo-name { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.work h3 { font-size: 16.5px; line-height: 1.6; }
.fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 24px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.fine svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--mint-ink); }

/* はじめての方へ */
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qa { padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.qa h3 { font-size: 18px; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.qa h3::before { content: "?"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--en); font-size: 16px; }
.qa p { margin-top: 12px; font-size: 15px; line-height: 1.85; }

/* ご相談 */
.consult { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.consult-h { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-top: 16px; }
.consult-lead { margin-top: 18px; font-size: 16.5px; }
.free { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: var(--amber-50); border: 1px solid #f5d7a6; color: #7a3d06; font-weight: 800; font-size: 15px; }
.free svg { width: 18px; height: 18px; }
.voices { display: grid; gap: 14px; }
.voices li { position: relative; padding: 18px 22px; border-radius: 20px 20px 20px 6px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); font-weight: 700; color: var(--ink); font-size: 16px; }
.voices li:nth-child(even) { margin-left: 12%; border-radius: 20px 20px 6px 20px; background: var(--brand-50); border-color: #d6defd; }
.voices li::before { content: "「"; color: var(--brand-ink); }
.voices li::after { content: "」"; color: var(--brand-ink); }

.mini-pillars { margin-top: 22px; display: grid; gap: 10px; }
.mini-pillars li { padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.mini-pillars b { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #fff; font-size: 15.5px; }
.mini-pillars .badge { font-style: normal; }
.mini-pillars span { display: block; font-size: 13.5px; color: #b9c3d9; margin-top: 2px; }

/* スマホ：下に固定の相談ボタン */
.sp-cta { display: none; }
@media (max-width: 640px) {
  .sp-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(11, 19, 36, .35); }
  .sp-cta a { flex: 1; min-height: 50px; }
  body.has-sp-cta { padding-bottom: 76px; }
  body.menu-open .sp-cta { display: none; }
}

@media (max-width: 1080px) {
  .scenes, .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .consult { grid-template-columns: 1fr; gap: 36px; }
  .ba { max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .scenes, .qa-grid, .try-steps { grid-template-columns: 1fr; }
  .try-steps { gap: 10px; margin-bottom: 24px; }
  .try-steps li { padding: 14px 16px; }
  .scene { padding: 20px 18px; }
  .ba-before { max-width: 100%; padding: 16px 18px; }
  .ba-after { margin-left: 0; padding: 18px; }
  .ba-arrow { position: static; margin: -4px auto; width: 38px; height: 38px; }
  .ba-title { font-size: 16.5px; }
  .ba figcaption { margin-left: 0; }
  .voices li:nth-child(even) { margin-left: 8%; }
  .voices li { font-size: 15px; padding: 14px 18px; }
  .qa { padding: 22px 20px; }
}
.hero-grid > * { min-width: 0; }
@media (max-width: 640px) { .hero h1 { font-size: clamp(26px, 7.4vw, 34px); } }
@media (max-width: 640px) {
  .sp-cta { transform: translateY(110%); transition: transform .25s ease; }
  .sp-cta.show { transform: none; }
}
