/* 案件固有のスタイル。型(styles.css)は編集禁止 — 上書きはすべてここに書く。
   読み込み順は styles.css → custom.css なので、同じセレクタ/変数はこちらが勝つ。 */

:root {
  --mold-version: 9;
  /* font-preset: serene */
  --lh-body: 1.95;
  --lh-display: 1.35;
  --ls-en: .10em;
  --ls-body: .02em;
  --ls-display: .04em;
  --fw-strong: 700;
  --fw-body: 400;
  --fw-display: 500;
  --font-en: "Cormorant Garamond", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-display: "Zen Old Mincho", serif;
  /* 配色：アシストページの深紅と生成り（既存ブランド） */
  --ink: #1f1f1f;
  --muted: #5b5551;
  --paper: #fcf9f6;
  --soft: #f4ece4;
  --gold: #b3000c;
  --red: #b3000c;
  --red-deep: #8b0000;
  --red-soft: #fbeaea;
  /* motion-prompt の曲線（#009 イージング・#010 オーバーシュート） */
  --ease-in-out-strong: cubic-bezier(.86, 0, .14, 1);
  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
}

/* 40〜60代向けに本文を大きめに */
body { font-size: 17px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 8px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ===== ヘッダー（#002 スタガー・#022 ライトスイープ・#009 隠す/出す） ===== */
.site-header { transition: transform .6s var(--ease-in-out-strong), background-color .4s ease, box-shadow .4s ease; }
.site-header.is-scrolled { background: rgba(252, 249, 246, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.site-header.is-hidden { transform: translateY(-110%); }
.brand { position: relative; overflow: hidden; border-radius: 8px; }
.brand__logo { display: block; width: auto; height: 72px; }
.brand::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 116px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.72), rgba(255,255,255,0));
  transform: translateX(-180px) rotate(24deg); pointer-events: none;
}
.brand.is-sweep::after { animation: awSweep 1.05s cubic-bezier(.45, 0, .55, 1) forwards; }
.nav { font-family: var(--font-body); font-size: .95rem; align-items: center; }
.nav a { font-weight: 500; }
.nav a:hover, .nav a:focus-visible, .footer a:hover, .footer a:focus-visible { color: var(--red); }
.nav .nav__cta { padding: 8px 20px; border-radius: 999px; background: var(--red); color: #fff; background-image: none; }
.nav .nav__cta:hover, .nav .nav__cta:focus-visible { color: #fff; background: var(--red-deep); }
.aw-stagger-in { opacity: 0; transform: translateY(-12px); }
.aw-stagger-in.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease-out-quint), transform .5s cubic-bezier(.34, 1.56, .64, 1); }

/* ===== 冒頭のズームスルー（#020） ===== */
.intro { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; background: var(--paper); }
.js-intro .intro { display: grid; }
.intro__mark { width: 96px; height: 96px; transform-origin: 50% 58%; will-change: transform; }
.intro__mark img { width: 100%; height: 100%; }
.intro__skip { position: absolute; right: 24px; bottom: 24px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.intro.is-done { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }

/* ===== ファーストビュー ===== */
.aw-hero { position: relative; min-height: 100svh; padding: 0; display: flex; align-items: center; overflow: hidden; background: var(--paper); }
.aw-hero__media { position: absolute; inset: -6% 0 -6%; will-change: transform; }
.aw-hero__media img, .aw-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aw-hero__video { opacity: 0; transition: opacity .8s ease; }
.aw-hero__video.is-ready { opacity: 1; }
.aw-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252,249,246,.94) 0%, rgba(252,249,246,.72) 36%, rgba(252,249,246,0) 60%); pointer-events: none; }
.aw-hero__copy { position: relative; z-index: 2; padding: 120px var(--pad-x) 160px; max-width: calc(760px + var(--pad-x)); }
.aw-hero__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1.4; letter-spacing: .02em; color: var(--ink); }
/* #146 スクロールテキストリビール：1文字ずつ薄いグレーから濃くなる（色は custom.js が文字ごとに設定） */
.aw-hero__title .l { display: block; }
.aw-hero__title .aw-ch { color: rgba(31, 31, 31, .18); }
/* #001 ポップイン：「育てる」をばねで出す（式は custom.js の spring） */
.aw-hero__title .brush { display: inline-block; opacity: .18; vertical-align: -.42em; margin: 0 .04em 0 -.06em; transform-origin: 40% 70%; }
.aw-hero__title .brush img { display: block; width: auto; height: 1.75em; }
/* #004 ラインドロー：見出しの下の赤い線 */
.aw-hero__underline { display: block; width: min(520px, 80%); height: 24px; margin: 4px 0 0; overflow: visible; }
.aw-hero__underline path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.aw-go .aw-hero__underline path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .35, 1) .85s; }
.aw-hero__lead { margin: 16px 0 0; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.95; color: var(--ink); }
.aw-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.aw-hero__lead, .aw-hero__actions, .aw-hero__points { opacity: 0; transform: translateY(16px); }
.aw-go .aw-hero__lead { opacity: 1; transform: none; transition: opacity .8s ease .95s, transform .8s var(--ease-out-quint) .95s; }
.aw-go .aw-hero__actions { opacity: 1; transform: none; transition: opacity .8s ease 1.05s, transform .8s var(--ease-out-quint) 1.05s; }
.aw-go .aw-hero__points { opacity: 1; transform: none; transition: opacity .8s ease 1.15s, transform .8s var(--ease-out-quint) 1.15s; }

.aw-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 16px 40px; border-radius: 999px; font-size: 1.1rem; font-weight: 700; text-decoration: none; transition: transform .35s var(--ease-out-quint), background-color .3s ease, box-shadow .35s ease; }
.aw-btn:hover { transform: translateY(-3px); }
.aw-btn:active { transform: scale(.97); }
.aw-btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 28px rgba(179, 0, 12, .3); }
.aw-btn--primary:hover { background: var(--red-deep); }
.aw-btn--ghost { padding: 14px 32px; border: 2px solid var(--red); color: var(--red); background: rgba(255,255,255,.85); }
.aw-btn--invert { background: #fff; color: var(--red); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
/* #022 ライトスイープ */
.aw-sweep::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: 0; width: 116px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: translateX(-160px) rotate(24deg); pointer-events: none;
}
.aw-sweep.is-sweep::after { animation: awSweep 1.05s cubic-bezier(.45, 0, .55, 1) forwards; }
@keyframes awSweep { to { transform: translateX(520px) rotate(24deg); } }

.aw-hero__points { position: absolute; right: var(--pad-x); bottom: 92px; z-index: 2; display: grid; grid-template-columns: repeat(3, auto); margin: 0; padding: 0; list-style: none; background: rgba(252, 249, 246, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.aw-hero__points li { display: flex; align-items: center; gap: 12px; padding: 16px 28px; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.aw-hero__points li + li { box-shadow: inset 1px 0 0 rgba(0, 0, 0, .12); }
.aw-hero__points svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aw-cue { position: absolute; left: 50%; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 8px 20px 8px 14px; border-radius: 999px; background: rgba(31, 31, 31, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-decoration: none; transform: translateX(-50%); transition: background-color .3s ease; }
.aw-cue:hover { background: rgba(31, 31, 31, .8); }
/* #014 モーショントレイル：赤い矢印が下へ動き、薄い残像が2つ追う */
.aw-cue__arrows { position: relative; display: block; width: 22px; height: 26px; overflow: hidden; }
.aw-cue__arrows svg { position: absolute; left: 0; top: 0; width: 22px; height: 22px; fill: none; stroke: #ff3b45; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: awCue 1.6s cubic-bezier(.65, 0, .35, 1) infinite; }
.aw-cue__arrows svg:nth-child(2) { opacity: .45; animation-delay: .08s; }
.aw-cue__arrows svg:nth-child(3) { opacity: .2; animation-delay: .16s; }
@keyframes awCue { 0% { transform: translateY(-14px); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateY(6px); } 100% { transform: translateY(10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .aw-cue__arrows svg { animation: none; opacity: 1; } .aw-cue__arrows svg + svg { display: none; } }
.aw-motion-toggle { position: absolute; right: 16px; bottom: 60px; z-index: 3; padding: 6px 14px; border: 0; border-radius: 999px; background: rgba(31, 31, 31, .55); color: #fff; font: inherit; font-size: .8rem; cursor: pointer; }
.aw-motion-toggle[hidden] { display: none; }

/* ===== マーキー（#094） ===== */
.aw-marquee { position: relative; height: 58px; overflow: hidden; background: var(--red); }
.aw-marquee__track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; white-space: nowrap; will-change: transform; }
.aw-marquee__set { display: inline-flex; align-items: center; }
.aw-marquee__set span { color: #fff; font-family: var(--font-body); font-size: 30px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.aw-marquee__set i { display: inline-block; width: 12px; height: 12px; margin: 0 26px; border-radius: 50%; background: #fbe6b8; }

/* ===== セクション共通 ===== */
.section__head h2 { font-family: var(--font-display); font-weight: 700; }
.eyebrow { color: var(--red); }
.eyebrow::before { background: var(--red); }
.section__lead { font-size: 1.05rem; }
.aw-center { text-align: center; }
.aw-small { font-size: .9rem; color: var(--muted); }
.aw-link { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.aw-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.aw-tags span { padding: 0 10px; border-radius: 4px; background: var(--red-soft); color: var(--red-deep); font-size: .8rem; line-height: 1.8; }
.aw-badge { display: inline-block; margin: 0 0 8px; padding: 2px 14px; border-radius: 999px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; }

/* ===== お悩み：#023 グリッチ・#006 タイプライター・#021 フリップ ===== */
.aw-glitch { position: relative; display: inline-block; }
.aw-glitch::before, .aw-glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.aw-glitch::before { color: var(--red); }
.aw-glitch::after { color: #22d3ee; }
.aw-glitch.is-glitch::before { animation: awGlitchA .7s steps(5) 1; }
.aw-glitch.is-glitch::after { animation: awGlitchB .7s steps(5) 1; }
@keyframes awGlitchA { 0%, 80% { opacity: 1; } 100% { opacity: 0; } 0% { transform: translate(-9px, 2px); clip-path: inset(10% 0 55% 0); } 20% { transform: translate(-14px, 2px); clip-path: inset(60% 0 8% 0); } 40% { transform: translate(-7px, 2px); clip-path: inset(30% 0 40% 0); } 60% { transform: translate(-16px, 2px); clip-path: inset(75% 0 2% 0); } 80% { transform: translate(-10px, 2px); clip-path: inset(5% 0 70% 0); } 100% { transform: none; clip-path: inset(0 0 100% 0); } }
@keyframes awGlitchB { 0%, 80% { opacity: 1; } 100% { opacity: 0; } 0% { transform: translate(9px, -2px); clip-path: inset(50% 0 20% 0); } 20% { transform: translate(14px, -2px); clip-path: inset(15% 0 60% 0); } 40% { transform: translate(7px, -2px); clip-path: inset(65% 0 5% 0); } 60% { transform: translate(16px, -2px); clip-path: inset(25% 0 45% 0); } 80% { transform: translate(10px, -2px); clip-path: inset(80% 0 0 0); } 100% { transform: none; clip-path: inset(0 0 100% 0); } }
.aw-typing { margin: 0 auto 8px; max-width: 720px; text-align: center; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--ink); min-height: 1.8em; }
.aw-typing__text span { display: inline-block; animation: awTypeIn .3s ease-out both; }
@keyframes awTypeIn { from { transform: scale(1.35); } to { transform: none; } }
.aw-typing__caret { display: inline-block; width: 3px; height: 1.1em; margin-left: 4px; vertical-align: -.15em; background: var(--red); animation: awCaret .94s steps(1) infinite; }
@keyframes awCaret { 50% { opacity: 0; } }
.aw-worries__hint { margin: 0 0 24px; text-align: center; color: var(--muted); font-size: .9rem; }
.aw-flip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: var(--content-max); margin: 0 auto; padding: 0; list-style: none; }
.aw-flip { position: relative; display: block; width: 100%; height: 190px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; perspective: 1200px; }
.aw-flip__face { position: absolute; inset: 0; display: grid; align-content: center; gap: 6px; padding: 24px 28px; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 1.05s cubic-bezier(.34, 1.4, .64, 1); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.aw-flip__front { background: #fff; border: 1px solid var(--line); }
.aw-flip__back { background: var(--red); color: #fff; transform: rotateY(180deg); }
.aw-flip.is-flipped .aw-flip__front { transform: rotateY(-180deg); }
.aw-flip.is-flipped .aw-flip__back { transform: rotateY(0); }
.aw-flip__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--red); line-height: 1; }
.aw-flip strong { font-size: 1.2rem; }
.aw-flip small { font-size: .95rem; line-height: 1.7; opacity: .85; }

/* ===== 一番伝えたい一文：#013 リキッドモーション ===== */
.aw-tagline { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 160px) var(--pad-x); background: var(--paper); }
.aw-liquid { position: absolute; inset: 0; width: 100%; height: 100%; }
.aw-tagline__text { position: relative; max-width: 900px; margin: 0 auto; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.6; }
.aw-tagline__text span { display: inline-block; color: rgba(31, 31, 31, .4); transition: color .6s var(--ease-out-quint); }
.aw-tagline__text span.is-lit { color: var(--ink); }
.aw-tagline__text span.is-key.is-lit { color: var(--red); }

/* ===== できること：#012 モーフィング ===== */
.aw-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: var(--content-max); margin: 40px auto 0; padding: 0; list-style: none; }
.aw-card { padding: 28px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease-out-quint), box-shadow .45s ease; }
.aw-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.aw-card h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.aw-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.85; }
.aw-morph { position: relative; display: grid; place-items: center; width: 88px; height: 88px; }
.aw-morph svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.aw-morph path { fill: var(--red-soft); }
.aw-morph img { position: relative; width: 44px; height: 44px; }

/* ===== 実績：#007 カウントアップ・#024 インパクトシェイク・#017 マスクトランジション ===== */
.aw-count { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 8px; color: var(--red); }
.aw-count [data-aw-count] { display: inline-block; font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 6rem); font-variant-numeric: tabular-nums; line-height: 1; transform-origin: 50% 100%; }
.aw-count small { font-size: 1.3rem; color: var(--ink); }
.aw-count__note { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.aw-shake { animation: awShake 1.1s linear 1; }
@keyframes awShake { 0% { transform: translate(0, 0); } 8% { transform: translate(9px, 6px) rotate(.6deg) scaleY(.82) scaleX(1.12); } 16% { transform: translate(-7px, -4px) rotate(-.4deg) scaleY(1.05); } 28% { transform: translate(5px, 3px) rotate(.25deg); } 42% { transform: translate(-3px, -2px); } 58% { transform: translate(2px, 1px); } 75% { transform: translate(-1px, 0); } 100% { transform: none; } }
.aw-feature { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; max-width: var(--content-max); margin: 40px auto 24px; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.aw-feature__photo { display: block; height: 100%; }
.aw-feature__photo img { display: block; width: 100%; height: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.aw-mask { clip-path: circle(0% at 12% 18%); }
.aw-mask.is-open { clip-path: circle(150% at 12% 18%); transition: clip-path 1.15s cubic-bezier(.65, 0, .35, 1); }
.aw-feature__body { padding: 32px; }
.aw-feature__body h3 { margin: 0; font-size: 1.35rem; }
.aw-feature__body > p:not(.aw-badge):not(.aw-tags) { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }
.aw-feature__body .aw-link { display: inline-block; margin-top: 14px; }
.aw-works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: var(--content-max); margin: 0 auto 32px; padding: 0; list-style: none; }
.aw-work { overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding-bottom: 14px; transition: transform .45s var(--ease-out-quint), box-shadow .45s ease; }
.aw-work:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.aw-work img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.aw-work h3 { margin: 12px 16px 0; font-size: 1rem; }
.aw-work .aw-tags { margin: 6px 16px 0; }

/* ===== 流れ：#004 ラインドロー・#011 スクワッシュ＆ストレッチ ===== */
.aw-flow .flow-line { position: relative; }
.aw-flow .flow-line::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 1.55s cubic-bezier(.65, 0, .35, 1); }
.aw-flow .flow-line.is-drawn::before { transform: scaleY(1); }
.aw-flow .flow-line li { position: relative; }
.aw-flow .flow-line__num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); transform-origin: 50% 100%; }
.aw-flow .flow-line li.is-visible .flow-line__num { animation: awSquash .9s cubic-bezier(.3, 0, .3, 1) both; animation-delay: inherit; }
@keyframes awSquash { 0% { transform: translateY(-46px) scale(.9, 1.2); } 45% { transform: translateY(0) scale(1.28, .62); } 62% { transform: translateY(-14px) scale(.92, 1.12); } 78% { transform: translateY(0) scale(1.08, .9); } 100% { transform: none; } }
.aw-flow .flow-line h3 { font-size: 1.2rem; }

/* ===== 料金：#010 オーバーシュート・#003 バースト ===== */
.aw-plan { max-width: var(--content-max); margin: 0 auto; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.aw-plan--featured { border: 2px solid var(--red); }
.aw-plan h3 { margin: 0; font-size: 1.3rem; }
.aw-plan p { color: var(--muted); font-size: .95rem; }
.aw-plan__label, .aw-plan-group { display: inline-block; margin: 0 0 16px; padding: 4px 14px; border-radius: 8px; background: #fbe6b8; color: var(--ink) !important; font-size: .9rem; font-weight: 700; }
.aw-plan-group { display: block; width: fit-content; max-width: var(--content-max); margin: 48px auto 16px; }
.aw-plan__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.aw-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: var(--content-max); margin: 0 auto; }
.aw-price-tag { margin: 12px 0 0; color: var(--red) !important; font-weight: 700; font-size: 1.05rem !important; }
.aw-price-tag__unit { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: .85rem; vertical-align: middle; }
.aw-price-tag__num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.2; margin-right: 2px; }
.aw-price-tag__tax { display: block; color: var(--muted); font-size: .85rem; font-weight: 500; }
.aw-notes { margin: 20px 0 0; padding: 16px 0 0 1.2em; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.9; }
.aw-burst { position: relative; display: inline-block; margin: 0 4px; color: var(--red); font-family: var(--font-display); font-size: 2.2rem; }
.aw-burst canvas { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; transform: translate(-50%, -50%); pointer-events: none; }
.aw-overshoot[data-reveal] { transition-timing-function: ease, cubic-bezier(.34, 1.56, .64, 1) !important; }
.aw-price .aw-center { margin-top: 28px; }

/* ===== 選ばれる理由：#009 イージング ===== */
.aw-reasons-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: var(--content-max); margin: 40px auto 0; padding: 0; list-style: none; text-align: center; }
.aw-reasons-grid img { margin: 0 auto; }
.aw-reasons-grid h3 { margin: 14px 0 6px; font-size: 1.2rem; }
.aw-reasons-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.aw-ease[data-reveal] { transition-timing-function: ease, var(--ease-in-out-strong) !important; transition-duration: .9s, 1.55s !important; }

/* ===== FAQ ===== */
.faq-list summary { font-weight: 700; }
.faq-list details p { font-size: .98rem; }
.faq-list details[open] p { animation: awFaqIn .5s var(--ease-out-quint); }
@keyframes awFaqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ===== 最後の相談：#019 リキッドトランジション ===== */
.aw-final { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 160px) var(--pad-x); background: var(--red); color: #fff; text-align: center; }
.aw-final__liquid { position: absolute; inset: 0; width: 100%; height: 100%; }
.aw-final__inner { position: relative; max-width: 760px; margin: 0 auto; }
.aw-final .eyebrow { color: #fff; }
.aw-final .eyebrow::before { background: #fff; }
.aw-final h2 { margin: 8px 0 32px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.5; }
.aw-assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.aw-assurance li::before { content: "✓ "; }

/* ===== フッター：#004 ラインドロー・#002 スタガー・#001 ポップイン ===== */
.footer { position: relative; }
.aw-footer-line { position: absolute; top: 0; left: 0; width: 100%; height: 4px; }
.aw-footer-line path { fill: none; stroke: var(--red); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.aw-footer-line.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.65, 0, .35, 1); }
.aw-footer-logo { width: 48px; height: 48px; transform: scale(0); }
.aw-footer-logo.is-pop { animation: awPop .9s linear both; }
@keyframes awPop { 0% { transform: scale(0) rotate(-20deg); } 18% { transform: scale(1.2) rotate(-4deg); } 34% { transform: scale(.9) rotate(2deg); } 52% { transform: scale(1.05); } 72% { transform: scale(.98); } 100% { transform: none; } }
.sticky-cta { background: var(--red); }

/* ===== タブレット・スマホ ===== */
@media (max-width: 1023px) {
  .aw-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-hero__points { left: var(--pad-x); right: var(--pad-x); grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .brand__logo { height: 48px; }
  .aw-hero { align-items: flex-start; }
  .aw-hero__veil { background: linear-gradient(180deg, rgba(252,249,246,.95) 0%, rgba(252,249,246,.85) 50%, rgba(252,249,246,0) 74%); }
  .aw-hero__copy { padding: 104px 16px 200px; }
  .aw-hero__title { font-size: 2.15rem; }
  .aw-hero__lead br { display: none; }
  .aw-hero__actions { gap: 12px; }
  .aw-btn { padding: 12px 24px; font-size: 1rem; }
  .aw-btn--ghost { padding: 10px 20px; }
  .aw-hero__points { left: 16px; right: 16px; bottom: 72px; }
  .aw-hero__points li { flex-direction: column; gap: 4px; padding: 12px 4px; font-size: .8rem; text-align: center; }
  .aw-hero__points svg { width: 22px; height: 22px; }
  .aw-cue { display: none; }
  .aw-marquee__set span { font-size: 22px; }
  .aw-flip-grid, .aw-works-grid, .aw-plans, .aw-reasons-grid { grid-template-columns: minmax(0, 1fr); }
  .aw-works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .aw-work h3 { margin: 10px 10px 0; font-size: .9rem; }
  .aw-work .aw-tags { margin: 6px 10px 0; }
  .aw-service-grid { grid-template-columns: minmax(0, 1fr); }
  .aw-feature { grid-template-columns: minmax(0, 1fr); }
  .aw-feature__body { padding: 24px; }
  .aw-plan { padding: 24px; }
  .aw-plan__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .aw-flip { height: 170px; }
}

/* ===== 動きを減らす設定（標準ブロック F-95）：移動は止め、フェードは残す ===== */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transform: none !important;
    clip-path: none !important;
    transition: opacity .6s ease !important;
  }
  .hero__ambient { display: none; }
  .marquee__inner { animation-duration: 55s; }
  .aw-liquid, .aw-final__liquid, .aw-cue__trail { display: none; }
  .aw-hero__lead, .aw-hero__actions, .aw-hero__points { transform: none !important; }
  .aw-mask { clip-path: none !important; }
  .aw-flip__face { transition: opacity .6s ease; }
  .aw-flip.is-flipped .aw-flip__front { transform: none; opacity: 0; }
  .aw-flip.is-flipped .aw-flip__back, .aw-flip__back { transform: none; }
  .aw-flip__back { opacity: 0; }
  .aw-flip.is-flipped .aw-flip__back { opacity: 1; }
}

/* 最後の相談：背景は最初から赤（演出が動かない環境でも読める）。液体は上を流れる演出 */

/* 型の行マスク（2行分だけ）を外す。見出しは #146 が受け持つ */
.aw-hero h1 .l { overflow: visible; }
.aw-hero h1 .l > span { transform: none !important; transition: none; }

/* 横からすべり込む要素（data-reveal="left/right"）が出る前に横スクロールを作らない */
.aw-flow, .aw-worries, .aw-reasons { overflow-x: clip; }


/* ===== #165 シェイプディバイダー（動画とマーキーの境目） ===== */
.aw-divider { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: 72px; pointer-events: none; }
.aw-divider__back { fill: rgba(179, 0, 12, .45); }
.aw-divider__front { fill: var(--red); }
@media (max-width: 767px) { .aw-divider { height: 44px; } .aw-motion-toggle { bottom: 46px; } }

/* ===== 冒頭のロゴ：拡大しすぎず、途中でサイトに切り替える ===== */
.intro { transition: opacity .45s ease; }
.intro.is-fading { opacity: 0; }

/* ===== 料金：#161 ビュートランジション（一覧 ⇄ 詳細） ===== */
.aw-plan-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: var(--content-max); margin: 48px auto 0; padding: 0; list-style: none; }
.aw-plan-card { display: grid; grid-template-rows: auto 1fr auto; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform .45s var(--ease-out-quint), box-shadow .45s ease, border-color .3s ease; }
.aw-plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 0, 0, .09); border-color: rgba(179, 0, 12, .35); }
.aw-plan-card:active { transform: scale(.98); }
.aw-plan-card__hero { display: grid; gap: 4px; padding: 24px 24px 20px; background: var(--soft); }
.aw-plan-card--featured .aw-plan-card__hero, .aw-plan-detail__hero--featured { background: var(--red); color: #fff; }
.aw-plan-card__kind { font-size: .85rem; font-weight: 700; color: var(--red); }
.aw-plan-card--featured .aw-plan-card__kind { color: #fbe6b8; }
.aw-plan-card__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.5; }
.aw-plan-card__price { margin-top: 6px; font-weight: 700; color: var(--red); }
.aw-plan-card--featured .aw-plan-card__price { color: #fff; }
.aw-plan-card__price small { margin-right: 6px; font-size: .85rem; }
.aw-plan-card__price b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; }
.aw-plan-card__tax { font-size: .85rem; opacity: .8; }
.aw-plan-card__desc { padding: 20px 24px 0; font-size: 1rem; line-height: 1.85; color: var(--muted); }
.aw-plan-card__more { padding: 16px 24px 22px; font-size: .95rem; font-weight: 700; color: var(--red); }
.aw-plan-card__more::after { content: " →"; }
.aw-plan-card--featured .aw-burst { font-size: inherit; color: #fff; margin: 0 2px; }

.aw-plan-details { max-width: var(--content-max); margin: 48px auto 0; display: grid; gap: 24px; }
.aw-plan-detail { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.aw-plan-detail__hero { padding: 32px 40px; background: var(--soft); }
.aw-plan-detail__hero > span { font-size: .9rem; font-weight: 700; color: var(--red); }
.aw-plan-detail__hero--featured > span { color: #fbe6b8; }
.aw-plan-detail__hero h3 { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.aw-plan-detail__price { margin: 8px 0 0; font-weight: 700; color: var(--red); }
.aw-plan-detail__hero--featured .aw-plan-detail__price { color: #fff; }
.aw-plan-detail__price small { margin-right: 6px; }
.aw-plan-detail__price b { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.1; }
.aw-plan-detail__price span { margin-left: 8px; font-size: .95rem; font-weight: 500; opacity: .85; }
.aw-plan-detail__body { padding: 32px 40px 40px; }
.aw-plan-detail__body > p { margin: 0; font-size: 1.05rem; line-height: 1.95; }
.aw-plan-detail__body ul { margin: 20px 0 0; padding-left: 1.2em; color: var(--muted); font-size: .98rem; line-height: 1.95; }
.aw-plan-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.aw-plan-back { display: none; padding: 10px 4px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
/* JSが動くと一覧⇄詳細の切り替えにする */
.js-plans .aw-plan-details { margin-top: 0; }
.js-plans .aw-plan-detail { display: none; }
.js-plans .aw-plan-back { display: inline-block; }
.js-plans .aw-price.is-detail .aw-plan-list { display: none; }
.js-plans .aw-price.is-detail .aw-plan-detail.is-active { display: block; margin-top: 48px; }
/* View Transitions：仕様どおり 0.6秒・easeInOut 3乗。押した価格帯だけが1枚のまま移る */
::view-transition-group(aw-plan-hero) { animation-duration: .6s; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
::view-transition-old(root) { animation: awVtOut .37s ease both; }
::view-transition-new(root) { animation: awVtIn .24s ease .36s both; }
@keyframes awVtOut { to { opacity: 0; } }
@keyframes awVtIn { from { opacity: 0; } }

/* ===== 全体の余白と文字の大きさ（40〜60代が読みやすい段差に整える） ===== */
.section { padding-top: clamp(88px, 9vw, 136px); padding-bottom: clamp(88px, 9vw, 136px); }
.section__head { margin-bottom: 20px; }
.section__head h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.45; letter-spacing: .03em; }
.section__lead { max-width: 760px; margin: 0 0 8px; font-size: 1.08rem; line-height: 1.95; color: var(--muted); }
.eyebrow { font-size: .9rem; letter-spacing: .18em; }
.aw-card { padding: 32px 28px; }
.aw-card h3, .aw-flip strong, .aw-reasons-grid h3, .aw-flow .flow-line h3 { font-size: 1.25rem; line-height: 1.5; }
.aw-card p, .aw-reasons-grid p, .aw-flow .flow-line__body p, .aw-feature__body > p:not(.aw-badge):not(.aw-tags) { font-size: 1rem; line-height: 1.9; }
.aw-service-grid, .aw-works-grid, .aw-reasons-grid, .aw-flip-grid { gap: 24px; margin-top: 48px; }
.aw-feature { margin-top: 48px; }
.aw-work h3 { font-size: 1.05rem; }
.faq-list summary { font-size: 1.05rem; padding-block: 22px; }
.faq-list details p { font-size: 1rem; line-height: 1.95; }
.aw-tagline__text { line-height: 1.7; }
@media (max-width: 1023px) { .aw-plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section__head h2 { font-size: 1.7rem; }
  .section__lead { font-size: 1rem; }
  .aw-plan-list { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  .aw-plan-detail__hero { padding: 24px; }
  .aw-plan-detail__body { padding: 24px 24px 28px; }
  .aw-service-grid, .aw-works-grid, .aw-reasons-grid, .aw-flip-grid { margin-top: 32px; }
  .aw-works-grid { gap: 12px; }
  .aw-card { padding: 24px; }
}

/* #161：移る価格帯の中身は引き伸ばさず、古い方を素早く消して新しい方に差し替える */
::view-transition-old(aw-plan-hero), ::view-transition-new(aw-plan-hero) { height: 100%; width: auto; object-fit: none; object-position: left top; overflow: clip; }
::view-transition-old(aw-plan-hero) { animation: awVtOut .18s ease both; }
::view-transition-new(aw-plan-hero) { animation: awVtIn .3s ease .2s both; }
.section__lead { text-wrap: pretty; word-break: auto-phrase; }
.aw-hero__lead { text-wrap: pretty; word-break: auto-phrase; }


/* 料金の詳細：0円プランの上部を赤にする（後ろの生成り指定より強く） */
.aw-plan-detail .aw-plan-detail__hero--featured { background: var(--red); color: #fff; }

/* FAQ の「＋」を大きく */
.faq-list summary::after { font-family: var(--font-body); font-size: 1.4rem; font-weight: 400; line-height: 1; width: 1.4rem; text-align: center; color: var(--red); }

/* ===== 実績：ブラウザ枠の中で、サイトを上から下へゆっくり見せる ===== */
.aw-showcase__num { margin: 0 0 6px; font-family: var(--font-en); font-size: 1.1rem; letter-spacing: .2em; color: var(--red); }
.aw-showcases { display: grid; gap: clamp(56px, 7vw, 104px); max-width: var(--content-max); margin: clamp(56px, 7vw, 96px) auto 48px; }
.aw-showcase { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.aw-showcase--rev .aw-browser { order: 2; }
.aw-browser { display: block; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(44, 34, 26, .16), 0 0 0 1px rgba(0, 0, 0, .06); text-decoration: none; transition: transform .6s var(--ease-out-quint), box-shadow .6s ease; }
.aw-browser:hover { transform: translateY(-6px); box-shadow: 0 40px 90px rgba(44, 34, 26, .22), 0 0 0 1px rgba(0, 0, 0, .06); }
.aw-browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f1ece6; border-bottom: 1px solid var(--line); }
.aw-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8cfc6; }
.aw-browser__bar i:first-child { background: #e57373; }
.aw-browser__bar span { flex: 1; margin-left: 12px; padding: 3px 12px; border-radius: 999px; background: #fff; color: var(--muted); font-size: .8rem; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-browser__view { display: block; height: clamp(260px, 30vw, 420px); overflow: hidden; }
.aw-browser__view img { display: block; width: 100%; height: auto; transform: translateY(0); }
.aw-showcase.is-play .aw-browser__view img { animation: awSiteScroll 16s cubic-bezier(.65, 0, .35, 1) 1s infinite alternate; }
.aw-browser:hover .aw-browser__view img, .aw-browser:focus-visible .aw-browser__view img { animation-play-state: paused; }
@keyframes awSiteScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + var(--view-h, 420px))); } }
.aw-showcase__kind { display: inline-block; margin: 0 0 10px; padding: 2px 12px; border: 1px solid rgba(179, 0, 12, .4); border-radius: 999px; color: var(--red); font-size: .85rem; font-weight: 700; }
.aw-showcase__body h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.5; }
.aw-showcase__body > p:not(.aw-tags):not(.aw-showcase__num):not(.aw-showcase__kind):not(.aw-badge) { margin: 14px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.95; }
.aw-showcase__body .aw-tags { margin-top: 16px; }
.aw-showcase__body .aw-link { display: inline-block; margin-top: 20px; }
.aw-feature__body .aw-showcase__num { margin-bottom: 8px; }
@media (max-width: 767px) {
  .aw-showcase { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .aw-showcase--rev .aw-browser { order: 0; }
  .aw-browser__view { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .aw-showcase.is-play .aw-browser__view img { animation: none; } }

/* ===== 実績：ブラウザ枠はボタン（拡大表示）。Notion の一覧へのリンク ===== */
button.aw-browser { padding: 0; border: 0; width: 100%; font: inherit; text-align: left; cursor: zoom-in; }
.aw-browser:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.aw-showcase__body .aw-badge { margin-bottom: 10px; }
.aw-link--more { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border: 2px solid var(--red); border-radius: 999px; text-decoration: none; transition: background-color .3s ease, color .3s ease; }
.aw-link--more:hover { background: var(--red); color: #fff; }
.aw-zoom { width: min(980px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 40px 120px rgba(0, 0, 0, .4); }
.aw-zoom::backdrop { background: rgba(20, 14, 14, .72); backdrop-filter: blur(4px); }
.aw-zoom[open] { animation: awZoomIn .45s var(--ease-out-quint); }
@keyframes awZoomIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.aw-zoom__scroll { max-height: 92vh; overflow-y: auto; }
.aw-zoom__scroll img { display: block; width: 100%; height: auto; }
.aw-zoom__close { position: sticky; top: 12px; float: right; z-index: 2; width: 44px; height: 44px; margin: 12px 12px -56px 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* ===== お悩み：アイコンを足し、余白を詰め、文字を大きく ===== */
.aw-flip { height: 168px; }
.aw-flip__face { grid-template-columns: 72px 1fr; grid-template-rows: auto auto auto; column-gap: 20px; row-gap: 2px; align-content: center; padding: 20px 28px; }
.aw-flip__icon { grid-row: 1 / span 3; align-self: center; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--red-soft); }
.aw-flip__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aw-flip__back .aw-flip__icon { background: rgba(255, 255, 255, .18); grid-row: 1 / span 2; }
.aw-flip__back .aw-flip__icon svg { stroke: #fff; stroke-width: 2.4; }
.aw-flip__num { font-size: 2rem; line-height: 1; }
.aw-flip strong { font-size: 1.4rem; line-height: 1.45; }
.aw-flip small { font-size: 1rem; }
.aw-flip__front { border: 1px solid var(--line); background: #fff linear-gradient(135deg, rgba(179, 0, 12, .04), transparent 55%); }
.aw-flip:hover .aw-flip__front { border-color: rgba(179, 0, 12, .45); }
.aw-flip-grid { gap: 20px; }
.aw-typing { margin-bottom: 4px; }
.aw-worries__hint { margin-bottom: 0; }

/* ===== 選ばれる理由：枠つきのカード ===== */
.aw-reasons-grid { gap: 24px; }
.aw-reason { position: relative; padding: 40px 28px 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; transition: transform .45s var(--ease-out-quint), box-shadow .45s ease, border-color .3s ease; }
.aw-reason::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--red); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease-out-quint); }
.aw-reason:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 0, 0, .08); border-color: rgba(179, 0, 12, .35); }
.aw-reason:hover::before { transform: scaleX(1); }
.aw-reason__num { display: block; margin-bottom: 16px; font-family: var(--font-en); font-size: 1rem; letter-spacing: .2em; color: var(--red); }
.aw-reason__icon { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; background: var(--red-soft); }
.aw-reason__icon img { width: 52px; height: 52px; }
.aw-reasons-grid h3 { margin-top: 20px; font-size: 1.3rem; }

/* ===== 最後の相談：暗い地 ＋ #154 スポットライトのカード ===== */
.aw-final { background: #141011; padding-block: clamp(88px, 10vw, 128px); text-align: left; }
.aw-final__inner { max-width: var(--content-max); }
.aw-final__head { text-align: center; }
.aw-final h2 { margin: 8px 0 20px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.aw-final .eyebrow { justify-content: center; }
.aw-spot-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; margin: 48px 0 0; padding: 0; list-style: none; }
.aw-spot { --x: 50%; --y: 50%; --o: 0; position: relative; display: grid; gap: 10px; height: 100%; padding: 32px 28px 64px; border-radius: 16px; background: #1d1718; color: #fff; text-decoration: none; isolation: isolate; overflow: hidden; transition: transform .45s var(--ease-out-quint); }
/* 縁：線幅2。カーソルから半径120pxの範囲だけ赤く光る（それ以外は白8%の薄い線） */
.aw-spot::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: inherit; background: radial-gradient(120px circle at var(--x) var(--y), rgba(255, 77, 85, var(--o)), transparent 100%), rgba(255, 255, 255, .08); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* 中：カーソルを中心に半径115pxの白い光（中心0.34→外で0）。カードの外には漏れない */
.aw-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(115px circle at var(--x) var(--y), rgba(255, 255, 255, calc(.34 * var(--o))), transparent 100%); pointer-events: none; }
.aw-spot--main { background: var(--red); }
.aw-spot__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.aw-spot__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aw-spot strong { margin-top: 6px; font-size: 1.3rem; }
.aw-spot > span:not(.aw-spot__icon):not(.aw-spot__go) { color: rgba(255, 255, 255, .78); font-size: .98rem; line-height: 1.85; }
.aw-spot__go { position: absolute; right: 24px; bottom: 20px; font-size: 1.4rem; transition: transform .35s var(--ease-out-quint); }
.aw-spot:hover .aw-spot__go, .aw-spot:focus-visible .aw-spot__go { transform: translateX(6px); }
.aw-spot:focus-visible { --o: 1; outline: 3px solid #fff; outline-offset: 3px; }
/* ホバーできない端末：光をカード中央に置いた状態で見せる（光は飾り。情報は文字で読める） */
@media (hover: none), (pointer: coarse) { .aw-spot { --o: .55; } }
.aw-assurance { justify-content: center; color: rgba(255, 255, 255, .85); }
.aw-final .aw-assurance li::before { color: #ff4d55; }

/* ===== フッター：小さく1段に ===== */
.aw-footer { position: relative; padding: 32px var(--pad-x) 24px; background: #0e0b0c; color: rgba(255, 255, 255, .78); }
.aw-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; max-width: var(--content-max); margin: 0 auto; }
.aw-footer__brand { display: flex; align-items: center; gap: 14px; }
.aw-footer__brand strong { display: block; color: #fff; font-size: 1.05rem; }
.aw-footer__brand p { margin: 2px 0 0; font-size: .82rem; line-height: 1.6; }
.aw-footer-logo { width: 40px; height: 40px; }
.aw-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; }
.aw-footer__nav a { color: inherit; text-decoration: none; transition: color .3s ease; }
.aw-footer__nav a:hover, .aw-footer__nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.aw-footer__copy { display: block; max-width: var(--content-max); margin: 20px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: rgba(255, 255, 255, .5); }

/* ===== #168：右下の「再生中・音なし」の印（押すと止まる） ===== */
.aw-motion-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; }
.aw-motion-toggle__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d55; animation: awRec 1.6s ease-in-out infinite; }
.aw-motion-toggle[aria-pressed="true"] .aw-motion-toggle__dot { animation: none; background: #aaa; }
@keyframes awRec { 50% { opacity: .3; } }
.aw-motion-toggle__icon { font-size: .7rem; opacity: .85; }

@media (max-width: 1023px) { .aw-spot-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .aw-flip { height: auto; min-height: 150px; }
  .aw-flip__face { grid-template-columns: 56px 1fr; column-gap: 14px; padding: 18px 20px; }
  .aw-flip__back { position: absolute; }
  .aw-flip__front { position: relative; min-height: 150px; }
  .aw-flip__icon { width: 56px; height: 56px; }
  .aw-flip__icon svg { width: 28px; height: 28px; }
  .aw-flip strong { font-size: 1.2rem; }
  .aw-flip__num { font-size: 1.6rem; }
  .aw-footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .aw-spot { --o: .55; } .aw-motion-toggle__dot { animation: none; } }

/* 実績のバッジは白文字（紹介文の灰色を当てない） */
.aw-showcase__body > p.aw-badge { color: #fff; margin-top: 0; font-size: .85rem; }
/* お悩みカード：表と裏を同じマスに重ね、高さは中身に合わせて伸ばす（決め打ちの高さで文字がはみ出さない） */
.aw-flip { display: grid; height: auto; }
.aw-flip__face { position: relative; inset: auto; grid-area: 1 / 1; min-height: 150px; }
@media (max-width: 767px) { .aw-flip__back, .aw-flip__front { position: relative; } .aw-flip__face { min-height: 130px; } }

/* 流れ：余白を詰め、文字を大きく */
.aw-flow .flow-line { margin-top: 40px; }
.aw-flow .flow-line li { grid-template-columns: 64px 1fr; gap: 28px; padding: 22px 0; }
.aw-flow .flow-line__num { width: 64px; height: 64px; font-size: 1.6rem; }
.aw-flow .flow-line::before { left: 31px; }
.aw-flow .flow-line__body h3 { margin: 0 0 4px; font-size: 1.45rem; line-height: 1.45; }
.aw-flow .flow-line__body p { max-width: 640px; font-size: 1.08rem; line-height: 1.85; }
@media (max-width: 767px) {
  .aw-flow .flow-line li { grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 0; }
  .aw-flow .flow-line__num { width: 52px; height: 52px; font-size: 1.3rem; }
  .aw-flow .flow-line::before { left: 25px; }
  .aw-flow .flow-line__body h3 { font-size: 1.25rem; }
  .aw-flow .flow-line__body p { font-size: 1rem; }
}


/* ===== ファーストビューの見出し：大きさの差と太さで「育てる」へ視線を流す ===== */
.aw-hero__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .95rem; font-weight: 700; letter-spacing: .12em; color: var(--ink); opacity: 0; transform: translateY(12px); }
.aw-hero__eyebrow span { position: relative; padding-right: 16px; font-family: var(--font-en); font-size: .9rem; font-weight: 600; letter-spacing: .28em; color: var(--red); }
.aw-hero__eyebrow span::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 1.2em; background: rgba(179, 0, 12, .45); transform: translateY(-50%); }
.aw-go .aw-hero__eyebrow { opacity: 1; transform: none; transition: opacity .8s ease .1s, transform .8s var(--ease-out-quint) .1s; }
.aw-hero__title { font-weight: 900; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.22; letter-spacing: .01em; text-shadow: 0 2px 22px rgba(252, 249, 246, .85); }
.aw-hero__title .l:nth-child(1) { font-size: .56em; font-weight: 700; letter-spacing: .14em; margin-bottom: .18em; }
.aw-hero__title .l:nth-child(2) { font-size: .84em; letter-spacing: .04em; }
.aw-hero__title .l:nth-child(3) { font-size: 1em; letter-spacing: .02em; }
.aw-hero__title .brush img { height: 1.62em; }
.aw-hero__title .brush { vertical-align: -.36em; }
/* 「ところまで。」の「。」を赤に */
.aw-hero__title .aw-ch.is-period { color: var(--red) !important; }
@media (max-width: 767px) {
  .aw-hero__eyebrow { margin-bottom: 14px; font-size: .8rem; gap: 10px; }
  .aw-hero__eyebrow span { font-size: .72rem; padding-right: 10px; }
  .aw-hero__title { font-size: 2.55rem; }
}
/* 見出しは行の途中で折り返さない（「で。」だけが落ちないように）。大きさは画面幅に合わせる */
.aw-hero__copy { max-width: calc(860px + var(--pad-x)); }
.aw-hero__title { font-size: clamp(2.4rem, 4.3vw, 4.4rem); }
.aw-hero__title .l > span { white-space: nowrap; }
@media (max-width: 767px) {
  .aw-hero__title { font-size: min(2.2rem, 9.4vw); }
  .aw-hero__eyebrow { flex-direction: column; align-items: flex-start; gap: 4px; }
  .aw-hero__eyebrow span { padding-right: 0; }
  .aw-hero__eyebrow span::after { display: none; }
}
.aw-works { overflow-x: clip; }


/* ===== 別の作業で入っていた修正の復元（570a73a・b0cae25・2d3921f。f06eeb2 で上書きして消していたもの） ===== */
/* スマホのメニューを開いたら、ヘッダー（z30）を全画面メニュー（z40）より上に出し、×で閉じられるようにする */
.nav-open .site-header { z-index: 50; transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* iPad〜スマホだけ出すキャッチ画像（PCは隠す）。見出し「ホームページを、…」はPCだけ */
.aw-hero__catch { display: none; }
@keyframes awCatchIn {
  0% { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transform: scale(1.18) rotate(-4deg); filter: blur(10px); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  55% { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); filter: blur(0); }
  72% { transform: scale(.96) rotate(.6deg); }
  86% { transform: scale(1.02); }
  100% { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); transform: none; filter: none; }
}
@keyframes awCatchShine { 0% { background-position: 150% 0; } 22%, 100% { background-position: -50% 0; } }
@media (max-width: 1024px) {
  .aw-hero__copy { width: 100%; }
  .aw-hero__catch { display: block; position: relative; max-width: 560px; }
  .aw-hero__catch img { display: block; width: 100%; height: auto; clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); }
  /* 出方：斜めのワイプで書き出し、拡大・ぼかしから「ドン」と押し込んで止まる → 文字の上だけ光が走る */
  .aw-go .aw-hero__catch img { animation: awCatchIn 1.15s var(--ease-out-quint) .15s both; }
  .aw-hero__catch::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) no-repeat; background-size: 250% 100%; background-position: 150% 0; -webkit-mask: url(images/hero-catch-sp.webp) center / 100% 100% no-repeat; mask: url(images/hero-catch-sp.webp) center / 100% 100% no-repeat; }
  .aw-go .aw-hero__catch::after { animation: awCatchShine 6s ease-in-out 1.35s infinite; }
  .aw-go .aw-hero__lead { transition-delay: 1.2s; }
  .aw-go .aw-hero__actions { transition-delay: 1.3s; }
  .aw-go .aw-hero__points { transition-delay: 1.4s; }
  /* 文字の見出し・下線・英字の小見出しは読み上げ用に残し、見た目だけ隠す */
  .aw-hero__title, .aw-hero__underline, .aw-hero__eyebrow { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 767px) { .aw-hero__catch { max-width: none; } }
@media (prefers-reduced-motion: reduce) {
  .aw-hero__catch img { clip-path: none; animation: none !important; }
  .aw-hero__catch::after { display: none; }
}

/* ===== タブレット（768〜1024px）：キャッチ画像・説明・ボタンを上下左右の真ん中にそろえる ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .aw-hero { align-items: center; justify-content: center; }
  .aw-hero__veil { background: linear-gradient(180deg, rgba(252, 249, 246, .55) 0%, rgba(252, 249, 246, .82) 30%, rgba(252, 249, 246, .82) 62%, rgba(252, 249, 246, 0) 86%); }
  .aw-hero__copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 680px; margin: 0 auto; padding: 96px 40px 183px; text-align: center; }
  .aw-hero__catch { width: min(520px, 76vw); margin: 0 auto; }
  .aw-hero__lead { margin-top: 20px; }
  .aw-hero__actions { justify-content: center; margin-top: 28px; }
  .aw-hero__points { left: 50%; right: auto; bottom: 88px; width: min(640px, calc(100vw - 80px)); grid-template-columns: repeat(3, 1fr); transform: translateX(-50%); }
  .aw-go .aw-hero__points { transform: translateX(-50%); }
  .aw-hero__points li { justify-content: center; gap: 10px; padding: 14px 12px; font-size: .9rem; }
}
