/* ============================================================
 * リニューアル案（第2案）
 * 方針: 白地に黒い字と赤一点。端末標準の書体（Mac ではヒラギノ）を
 *       細く大きく組む。飾りは置かず、文字の大きさ、余白、
 *       角丸の面だけで構成する。
 * 既定は「ヒラギノの細字 × 白地」。
 * 書体は html[data-font]、地色は html[data-theme] で切り替えられる。
 * ========================================================== */

:root {
  /* 既定の地色: 白 */
  --bg: #ffffff;
  --ink: #0b0b0c;
  --sub: #6a6a70;
  --faint: #96969c;
  --line: #e3e3e6;
  --panel: #f4f4f5;
  --red: #e5281c;
  --on-red: #ffffff;
  --inv-bg: #0b0b0c;
  --inv-ink: #f5f5f7;
  --inv-sub: #98989d;
  --inv-line: #2a2a2d;

  /* 本文の書体。端末標準の書体を細く組む */
  --font: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  /* 見出しと数字の書体。既定は本文と同じ */
  --display: var(--font);
  --w-display: 200;
  --w-head: 300;
  --w-body: 300;
  --w-strong: 600;
  --w-num: 200;
  --track-display: 0em;
  --track-body: 0.02em;
  /* 桁区切りのカンマの後ろを詰める量（ドットの書体のときだけ使う） */
  --comma-pull: 0em;

  --radius: 28px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 比較用: 黒地 */
html[data-theme="dark"] {
  --bg: #000000;
  --ink: #f5f5f7;
  --sub: #98989d;
  --faint: #636366;
  --line: #262629;
  --panel: #111113;
  --inv-bg: #f5f5f7;
  --inv-ink: #0b0b0c;
  --inv-sub: #6a6a70;
  --inv-line: #d9d9de;
}

/* ---------- ここから下は比較用の書体 ---------- */

/* 比較用の書体は、本文を M PLUS 1 の標準の太さに戻してから個別に指定する */
html[data-font] {
  --font: "M PLUS 1", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --w-display: 400;
  --w-head: 400;
  --w-body: 400;
  --w-strong: 600;
  --w-num: 400;
}

/* 見出しも本文と同じ書体で組む組み合わせ */
html[data-font="thin"],
html[data-font="xthin"],
html[data-font="seed"] {
  --track-display: -0.01em;
}

/* M PLUS 1 の細い字を大きく組む */
html[data-font="thin"] {
  --w-display: 300;
  --w-head: 400;
  --w-num: 300;
}

/* さらに細い字 */
html[data-font="xthin"] {
  --w-display: 200;
  --w-head: 300;
  --w-num: 200;
}

/* 太い字で組んだ場合 */
html[data-font="seed"] {
  --font: "LINE Seed JP", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --w-display: 700;
  --w-head: 700;
  --w-body: 400;
  --w-strong: 700;
  --w-num: 700;
}

/* ドットで組んだ字。カンマの後ろが空くので少し詰める */
html[data-font="dot"] {
  --display: "DotGothic16", var(--font);
  --comma-pull: -0.24em;
}

/* 見出しと数字だけを別の特徴のある書体に替える組み合わせ */

/* 縦長の字 */
html[data-font="lubri"] {
  --display: "WDXL Lubrifont JP N", var(--font);
}

/* 極太の字 */
html[data-font="dela"] {
  --display: "Dela Gothic One", var(--font);
}

/* 活版印刷のにじみを残した字 */
html[data-font="antique"] {
  --display: "Shippori Antique B1", var(--font);
}

/* ペンで書いたような字 */
html[data-font="klee"] {
  --display: "Klee One", var(--font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: var(--w-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: var(--track-body);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* 文節の切れ目だけで折り返す（phrase.js が対象の要素にこのクラスを付ける） */
.phrase {
  word-break: keep-all;
  overflow-wrap: anywhere;
  /* 最後の行に1〜2文字だけ残るのを避ける */
  text-wrap: pretty;
}

/* 表のセルは、言葉が入る幅を列に確保させる（狭い列で言葉の途中が切れるのを防ぐ） */
:is(th, td).phrase {
  overflow-wrap: break-word;
}

/* 見出しと短い項目名は、行の長さをそろえて折り返す */
:is(h1, h2, h3, h4, dt).phrase {
  text-wrap: balance;
}

.u-nowrap {
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.4vw, 64px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: var(--w-strong);
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-small {
  height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn-red {
  background: var(--red);
  color: var(--on-red);
}

.btn-red:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-ink {
  background: var(--ink);
  color: var(--bg);
}

.btn-ink:hover {
  background: var(--red);
  color: var(--on-red);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* 矢印つきのテキストリンク */
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: var(--w-strong);
  white-space: nowrap;
}

.more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.more:hover {
  color: var(--red);
}

.more:hover::after {
  transform: translateX(4px) rotate(45deg);
}

/* ---------- ヘッダー ---------- */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.top.is-scrolled {
  border-bottom-color: var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  font-size: 17px;
  font-weight: var(--w-strong);
  letter-spacing: -0.01em;
  margin-right: auto;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 13.5px;
  color: var(--sub);
}

.nav a {
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: -8px;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 23px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  padding: 8px 0 20px;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 20px;
  font-weight: var(--w-head);
  border-bottom: 1px solid var(--line);
}

/* ---------- ヒーロー ---------- */

.hero {
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 128px));
  padding-bottom: clamp(72px, 9vw, 136px);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--sub);
}

.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: ping 2.6s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.hero-title {
  margin-top: clamp(20px, 2.4vw, 36px);
  font-size: clamp(40px, 8.3vw, 132px);
  font-weight: var(--w-display);
  line-height: 1.12;
  letter-spacing: var(--track-display);
}

/* 1行ずつ下からせり上がる */
.rise {
  display: block;
  overflow: hidden;
  padding-block: 0.04em;
}

.rise > span {
  display: block;
  white-space: nowrap;
}

.js .rise > span {
  transform: translateY(108%);
  animation: rise 1.1s var(--ease) 0.1s forwards;
}

.js .rise:nth-child(2) > span {
  animation-delay: 0.2s;
}

@keyframes rise {
  to {
    transform: none;
  }
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr);
  align-items: end;
  margin-top: clamp(36px, 5vw, 72px);
}

.hero-lead {
  grid-column: 1;
  max-width: 34em;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 2;
  color: var(--sub);
}

.hero-side {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.hero-who {
  text-align: right;
  font-size: 18px;
  font-weight: var(--w-strong);
  line-height: 1.5;
}

.hero-who span {
  display: block;
  font-size: 13px;
  font-weight: var(--w-body);
  color: var(--sub);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

/* ---------- AI活用診断（文章を埋める形式） ---------- */

.ask {
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(24px, 4.4vw, 68px);
  border-radius: var(--radius);
  background: var(--panel);
}

.ask-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  flex-wrap: wrap;
  padding-bottom: clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid var(--line);
}

.ask-head h2 {
  font-size: 15px;
  font-weight: var(--w-strong);
}

.ask-head p {
  font-size: 14px;
  color: var(--sub);
}

.ask-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 88px);
  padding-top: clamp(28px, 3.6vw, 56px);
}

.ask-line {
  padding: clamp(10px, 1.1vw, 16px) 0;
  font-size: clamp(22px, 2.9vw, 44px);
  font-weight: var(--w-display);
  line-height: 1.35;
  letter-spacing: var(--track-display);
}

.ask-pre {
  margin-right: 0.45em;
  color: var(--faint);
  transition: color 0.3s;
}

.ask-line.is-done .ask-pre,
.ask-line.is-active .ask-pre {
  color: var(--ink);
}

.ask-token {
  position: relative;
  display: inline;
  padding: 0 0 0.08em;
  text-align: left;
  font-weight: inherit;
  color: var(--faint);
  background: linear-gradient(var(--line), var(--line)) no-repeat 0 100% / 100% 1.5px;
  transition: color 0.3s, background-size 0.4s var(--ease);
}

.ask-token:hover {
  color: var(--ink);
}

.ask-line.is-done .ask-token {
  color: var(--ink);
  background-image: linear-gradient(var(--faint), var(--faint));
}

.ask-line.is-active .ask-token {
  color: var(--red);
  background-image: linear-gradient(var(--red), var(--red));
}

.ask-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: clamp(14px, 1.6vw, 22px) 0 clamp(8px, 1vw, 14px);
  animation: fade-up 0.45s var(--ease) both;
}

.ask-choice {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  font-weight: var(--w-body);
  line-height: 1.4;
  letter-spacing: var(--track-body);
  text-align: left;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.ask-choice:hover,
.ask-choice[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.ask-out {
  align-self: start;
  padding-top: clamp(10px, 1.1vw, 16px);
}

.ask-wait {
  display: grid;
  gap: 16px;
  font-size: 14px;
  color: var(--sub);
}

.ask-meter {
  display: flex;
  gap: 6px;
}

.ask-meter i {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  transition: background-color 0.4s;
}

.ask-meter i.is-on {
  background: var(--red);
}

.ask-count {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: var(--w-num);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ask-count small {
  font-size: 0.32em;
  letter-spacing: 0;
  color: var(--faint);
}

.ask-result {
  animation: fade-up 0.6s var(--ease) both;
}

.ask-kicker {
  font-size: 13px;
  color: var(--red);
  font-weight: var(--w-strong);
}

.ask-title {
  margin-top: 10px;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: var(--w-head);
  line-height: 1.45;
  letter-spacing: var(--track-display);
}

.ask-lead {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--sub);
}

.ask-list {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.ask-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
}

.ask-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.ask-text-btn {
  font-size: 14px;
  color: var(--sub);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
}

.ask-text-btn:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.ask-more {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(28px, 3.6vw, 48px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  animation: fade-up 0.5s var(--ease) both;
}

.ask-more[hidden] {
  display: none;
}

.ask-sec h3 {
  font-size: 13px;
  font-weight: var(--w-strong);
  color: var(--sub);
}

.ask-sec > p {
  margin-top: 10px;
  font-size: 14.5px;
}

.ask-sec .ask-list {
  margin-top: 10px;
}

.ask-tool {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.ask-tool:first-of-type {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.ask-tool b {
  font-weight: var(--w-strong);
}

.ask-tool em {
  margin-left: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--red);
}

.ask-tool p {
  margin-top: 4px;
  color: var(--sub);
  line-height: 1.7;
}

.ask-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--sub);
}

.ask-fallback {
  font-size: 15px;
  color: var(--sub);
}

.ask-fallback a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- セクション共通 ---------- */

.sec {
  padding-block: clamp(72px, 10vw, 168px);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 16px clamp(32px, 5vw, 88px);
  margin-bottom: clamp(36px, 5vw, 80px);
}

.sec-head h2 {
  font-size: clamp(34px, 5.6vw, 88px);
  font-weight: var(--w-display);
  line-height: 1.15;
  letter-spacing: var(--track-display);
}

.sec-head p {
  padding-bottom: 0.7em;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--sub);
}

/* スクロールで一度だけ浮かび上がる */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- できること ---------- */

.svc {
  border-top: 1px solid var(--ink);
}

.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: 16px clamp(32px, 5vw, 88px);
  padding: clamp(28px, 3.4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}

.svc-row h3 {
  font-size: clamp(24px, 3vw, 46px);
  font-weight: var(--w-head);
  line-height: 1.35;
  letter-spacing: var(--track-display);
  transition: transform 0.5s var(--ease);
}

.svc-row:hover h3 {
  transform: translateX(12px);
}

.svc-text {
  grid-column: 2;
  font-size: 15.5px;
}

.svc-eg {
  margin-top: 14px;
  font-size: 14px;
  color: var(--sub);
}

.svc-eg span {
  margin-right: 12px;
  color: var(--red);
  font-weight: var(--w-strong);
}

.svc-row .more {
  grid-column: 2;
  justify-self: start;
  margin-top: 8px;
}

/* ---------- 料金 ---------- */

.price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 88px) clamp(32px, 5vw, 88px);
}

.price-group h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: var(--w-strong);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.price-row dt {
  font-size: 16px;
  line-height: 1.6;
}

.price-row dt small,
.price-row dd small {
  display: block;
  font-size: 13px;
  color: var(--sub);
}

.price-row dd {
  flex: none;
  text-align: right;
  white-space: nowrap;
}

.yen {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: var(--w-num);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "palt" 0;
}

.price-row dd i {
  margin-left: 4px;
  font-style: normal;
  font-size: 13px;
  color: var(--sub);
}

.price-row.is-free strong {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: var(--w-num);
  line-height: 1;
  color: var(--red);
}

.price-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: clamp(32px, 4vw, 56px);
  font-size: 14px;
  color: var(--sub);
}

.price-more .more {
  color: var(--ink);
}

.price-more .more:hover {
  color: var(--red);
}

/* ---------- 実績 ---------- */

.work + .work {
  margin-top: clamp(64px, 8vw, 128px);
}

.shot {
  display: block;
  padding: clamp(20px, 5vw, 80px) clamp(20px, 7vw, 120px) 0;
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.shot img {
  width: 100%;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px var(--line);
  transform: translateY(12px);
  transition: transform 0.9s var(--ease);
}

.shot:hover img {
  transform: none;
}

/* 縦に長い画面は上の部分だけを見せる */
.shot.is-crop img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.fig-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--sub);
}

/* 画面の画像がない実績は、実際のPDFレポートの構成に合わせた見本の紙面を置く */
.sheet {
  padding: clamp(20px, 3.4vw, 52px) clamp(18px, 3.4vw, 52px) clamp(28px, 3.4vw, 48px);
  border-radius: 14px 14px 0 0;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink);
  transform: translateY(12px);
  transition: transform 0.9s var(--ease);
  /* 球種の色は実物のレポートの配色に合わせている */
  --pitch-fs: #d32f2f;
  --pitch-sl: #1976d2;
  --pitch-sp: #f57c00;
  --pitch-cb: #7b1fa2;
  --good: #2e7d4f;
  --good-bg: #e7f1ea;
  --mark: #1a73e8;
}

/* 黒地では同じ色相を明るめに振り直す */
html[data-theme="dark"] .sheet {
  --pitch-fs: #dd5148;
  --pitch-sl: #3a8edb;
  --pitch-sp: #b58a10;
  --pitch-cb: #bd62c8;
  --good: #5fb586;
  --good-bg: rgba(95, 181, 134, 0.16);
  --mark: #5a9bea;
}

.shot:hover .sheet {
  transform: none;
}

.sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding-bottom: clamp(12px, 1.4vw, 18px);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: var(--w-strong);
}

.sheet-head span:last-child {
  font-size: 12.5px;
  font-weight: var(--w-body);
  color: var(--sub);
  font-variant-numeric: tabular-nums;
}

.sheet-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(16px, 2.4vw, 36px);
  padding-top: clamp(10px, 1.2vw, 16px);
  font-size: 13px;
}

.sheet-info span {
  margin-right: 8px;
  color: var(--sub);
}

.sheet-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-areas:
    "tbl plot"
    "grade plot"
    "cards cards";
  gap: clamp(20px, 2.2vw, 30px) clamp(24px, 3.6vw, 56px);
  padding-top: clamp(20px, 2.4vw, 34px);
}

.sheet-block.is-tbl { grid-area: tbl; }
.sheet-block.is-grade { grid-area: grade; }
.sheet-block.is-plot { grid-area: plot; }
.sheet-block.is-cards { grid-area: cards; }

.sheet-band {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: var(--w-strong);
}

.sheet-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "palt" 0;
}

.sheet-tbl th,
.sheet-tbl td {
  padding: 7px 0 7px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: var(--w-body);
  text-align: right;
  white-space: nowrap;
}

.sheet-tbl th:first-child {
  padding-left: 0;
  text-align: left;
}

.sheet-tbl thead th {
  font-size: 12px;
  color: var(--sub);
}

.sheet-tbl small {
  margin-left: 3px;
  font-size: 10.5px;
  color: var(--faint);
}

/* 球種の印（表と散布図で同じ形にそろえる） */
.sheet-tbl .mk {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pitch-fs);
  vertical-align: 0.02em;
}

.sheet-tbl .mk.is-sl { background: var(--pitch-sl); }
.sheet-tbl .mk.is-sp { background: var(--pitch-sp); }
.sheet-tbl .mk.is-cb { background: var(--pitch-cb); }

.sheet-grade {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  padding-top: 14px;
}

.sheet-grade-badge {
  display: grid;
  justify-items: center;
  min-width: 68px;
  padding: 8px 10px 6px;
  border: 1.5px solid var(--mark);
  border-radius: 10px;
}

.sheet-grade-badge span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sub);
}

.sheet-grade-badge b {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: var(--w-num);
  line-height: 1.05;
  font-synthesis: none;
}

.sheet-grade-title {
  font-size: 13px;
  font-weight: var(--w-strong);
}

.sheet-grade-text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--sub);
}

.sheet-plot {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 10px auto 0;
}

.sheet-plot .plot-grid line { stroke: var(--line); stroke-width: 1; }
.sheet-plot .plot-zero line { stroke: var(--faint); stroke-width: 1; }
.sheet-plot .plot-frame { fill: none; stroke: var(--line); stroke-width: 1; }
.sheet-plot .plot-tick text { font-size: 9.5px; fill: var(--faint); font-variant-numeric: tabular-nums; }
.sheet-plot .plot-axis { font-size: 10.5px; fill: var(--sub); }
.sheet-plot .plot-name text { font-size: 11.5px; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.sheet-plot circle { stroke: var(--bg); stroke-width: 1; }
.sheet-plot .plot-fs circle { fill: var(--pitch-fs); }
.sheet-plot .plot-sl circle { fill: var(--pitch-sl); }
.sheet-plot .plot-sp circle { fill: var(--pitch-sp); }
.sheet-plot .plot-cb circle { fill: var(--pitch-cb); }

.sheet-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 48px);
  padding-top: clamp(14px, 1.8vw, 24px);
}

.sheet-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--sub);
}

.sheet-card-head em {
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--good-bg);
  font-style: normal;
  font-size: 11px;
  font-weight: var(--w-strong);
  color: var(--good);
}

.sheet-card-num {
  margin-top: 2px;
  white-space: nowrap;
}

.sheet-card-num b {
  font-family: var(--display);
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: var(--w-num);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "palt" 0;
  font-synthesis: none;
}

.sheet-card-num i {
  margin-left: 6px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--sub);
}

/* 基準範囲の帯、実測の幅の線、平均の点（位置は style の変数で渡す） */
.sheet-range {
  position: relative;
  display: block;
  height: 14px;
  margin-top: clamp(8px, 1vw, 14px);
}

.sheet-range::before {
  content: "";
  position: absolute;
  inset: 6px 0 auto;
  height: 2px;
  background: var(--line);
}

.sheet-range i {
  position: absolute;
  top: 0;
  left: var(--b0);
  width: calc(var(--b1) - var(--b0));
  height: 14px;
  border-radius: 3px;
  background: var(--line);
}

.sheet-range b {
  position: absolute;
  top: 5.5px;
  left: var(--r0);
  width: calc(var(--r1) - var(--r0));
  height: 3px;
  border-radius: 2px;
  background: var(--mark);
}

.sheet-range u {
  position: absolute;
  top: 2px;
  left: var(--avg);
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 2px var(--bg);
}

.sheet-card-stats,
.sheet-legend,
.sheet-goal {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-size: 12px;
  color: var(--sub);
  font-variant-numeric: tabular-nums;
}

.sheet-card-stats {
  margin-top: 8px;
}

.sheet-band.is-split {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

.sheet-legend {
  font-size: 11.5px;
  font-weight: var(--w-body);
}

.sheet-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sheet-legend .lg {
  display: inline-block;
}

.sheet-legend .lg.is-band { width: 18px; height: 10px; border-radius: 3px; background: var(--line); }
.sheet-legend .lg.is-range { width: 18px; height: 3px; border-radius: 2px; background: var(--mark); }
.sheet-legend .lg.is-avg { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }

.sheet-goal {
  gap: 4px clamp(14px, 2.4vw, 32px);
  margin-top: clamp(12px, 1.6vw, 20px);
  padding-top: clamp(10px, 1.2vw, 16px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}

.sheet-goal span:first-child {
  font-weight: var(--w-strong);
}

.sheet-goal i {
  font-style: normal;
  font-size: 9px;
  vertical-align: 0.15em;
  color: var(--mark);
}

.work-text {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 5vw, 88px);
  margin-top: clamp(24px, 3vw, 44px);
}

.work-tags {
  font-size: 13px;
  color: var(--sub);
}

.work-title h3 {
  margin: 8px 0 20px;
  font-size: clamp(24px, 3vw, 46px);
  font-weight: var(--w-head);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.work-body {
  font-size: 15.5px;
}

.work-detail {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.work-detail div {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
}

.work-detail dt {
  color: var(--sub);
}

/* ---------- 道具 ---------- */

.tools {
  border-top: 1px solid var(--ink);
}

.tools-note {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: 14px;
  color: var(--sub);
}

.tools > div {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 8px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.tools dt {
  font-size: 14px;
  color: var(--sub);
  padding-top: 0.5em;
}

.tools ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: var(--w-head);
  letter-spacing: -0.005em;
  line-height: 1.6;
}

/* ---------- よくある質問 ---------- */

.faq {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: block;
  padding: 26px 56px 26px 0;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: var(--w-head);
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--red);
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  max-width: 46em;
  padding: 0 56px 30px 0;
  font-size: 15px;
  color: var(--sub);
}

.faq details a,
.faq-more a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--faint);
}

.faq details a:hover,
.faq-more a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

.faq-more {
  margin-top: 28px;
  font-size: 14px;
  color: var(--sub);
}

/* ---------- 相談する ---------- */

.contact {
  padding-block: clamp(24px, 4vw, 64px);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 40px clamp(32px, 5vw, 88px);
  padding: clamp(36px, 6.4vw, 104px) clamp(24px, 4.4vw, 68px);
  border-radius: var(--radius);
  background: var(--inv-bg);
  color: var(--inv-ink);
}

.contact-box h2 {
  white-space: nowrap;
  font-size: clamp(36px, 5.3vw, 84px);
  font-weight: var(--w-display);
  line-height: 1.15;
  letter-spacing: var(--track-display);
}

.contact-side > p {
  font-size: 15px;
  color: var(--inv-sub);
}

.contact-ways {
  margin-top: 28px;
  border-top: 1px solid var(--inv-line);
}

.contact-way {
  position: relative;
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 20px 32px 20px 0;
  border-bottom: 1px solid var(--inv-line);
  text-align: left;
  transition: color 0.2s, padding-left 0.4s var(--ease);
}

.contact-way span {
  font-size: 13px;
  color: var(--inv-sub);
}

.contact-way b {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: var(--w-head);
  overflow-wrap: anywhere;
}

.contact-way::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.contact-way:hover {
  padding-left: 10px;
  color: var(--red);
}

.contact-way:hover::after {
  transform: translateX(4px) rotate(45deg);
}

/* ---------- 要点 ---------- */

.sec-summary .sec-head h2 {
  font-size: clamp(26px, 3vw, 44px);
}

.summary {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 5vw, 88px);
}

.summary-prose {
  font-size: 15px;
  color: var(--sub);
}

.facts {
  border-top: 1px solid var(--ink);
}

.facts div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
}

.facts dt {
  color: var(--sub);
}

/* ---------- フッター ---------- */

.foot {
  overflow: hidden;
  padding-top: clamp(40px, 5vw, 72px);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 13px;
  color: var(--sub);
}

.foot-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot-inner a:hover {
  color: var(--ink);
}

/* 画面幅いっぱいの屋号。下端を少し切って置く */
.foot-giant {
  margin: clamp(24px, 4vw, 56px) clamp(20px, 4.4vw, 64px) clamp(4px, 1vw, 16px);
  /* 文字の大きさは v2.js が画面幅ちょうどに合わせる。ここは読み込み前の仮の値 */
  font-size: 14vw;
  font-weight: var(--w-display);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-feature-settings: "palt" 0;
  user-select: none;
}

.foot-giant span {
  display: inline-block;
}

/* ---------- お問い合わせモーダル ---------- */

.contact-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
}

.contact-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-modal[open] {
  animation: fade-up 0.4s var(--ease) both;
}

.contact-form,
.contact-success {
  padding: clamp(24px, 4vw, 40px);
}

.contact-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-modal-head h2,
.contact-success-title {
  font-size: 26px;
  font-weight: var(--w-head);
  letter-spacing: var(--track-display);
}

.contact-modal-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--panel);
}

.contact-modal-close:hover {
  background: var(--ink);
  color: var(--bg);
}

.contact-modal-lead {
  margin-top: 6px;
  font-size: 14px;
  color: var(--sub);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field span {
  font-size: 13px;
  color: var(--sub);
}

.form-field em {
  margin-left: 6px;
  font-style: normal;
  font-size: 11px;
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.5;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--bg);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-policy {
  margin-top: 20px;
  font-size: 13px;
  color: var(--sub);
}

.contact-form-policy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.contact-form-status {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 14px;
  color: var(--sub);
}

.contact-form-status.is-error {
  color: var(--red);
}

.contact-success-text {
  margin-top: 16px;
}

.contact-success-note {
  margin: 12px 0 24px;
  font-size: 13px;
  color: var(--sub);
}

/* ---------- 見出しと数字の書体 ---------- */

.hero-title,
.ask-line,
.ask-count,
.ask-title,
.sec-head h2,
.svc-row h3,
.yen,
.price-row.is-free strong,
.work-title h3,
.contact-box h2,
.contact-modal-head h2,
.contact-success-title,
.foot-giant {
  font-family: var(--display);
  /* 太さが1種類の書体を機械的に太らせない */
  font-synthesis: none;
}

/* ---------- ドットの書体に合わせた細部 ---------- */

/* 桁区切りのカンマ（v2.js が span で包む） */
.yen-comma {
  margin-right: var(--comma-pull);
}

/* 小さな見出しや札もドットにそろえる。16px の倍数だと点がにじまない */
html[data-font="dot"] :is(.brand, .hero-status, .ask-head h2, .ask-kicker, .price-group h3, .work-tags) {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-synthesis: none;
}

/* 受付中の印と進み具合の目盛りは四角にする */
html[data-font="dot"] :is(.dot, .dot::after) {
  border-radius: 0;
}

html[data-font="dot"] .ask-meter i {
  width: 12px;
  height: 12px;
  border-radius: 0;
}

/* 大見出しの末尾で点滅する赤い四角 */
html[data-font="dot"] .hero-title .rise:last-child > span::after {
  content: "";
  display: inline-block;
  width: 0.3em;
  height: 0.8em;
  margin-left: 0.16em;
  vertical-align: -0.06em;
  background: var(--red);
  animation: blink 1.2s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---------- 確認用の切り替えパネル ---------- */

.pv-switch {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(20, 20, 22, 0.92);
  color: #f5f5f7;
  font: 400 12px/1.4 "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.pv-switch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  max-width: min(360px, calc(100vw - 44px));
}

.pv-switch-row > span {
  width: 3em;
  color: #98989d;
}

.pv-switch button {
  padding: 5px 10px;
  border-radius: 999px;
  color: #d1d1d6;
  font-size: 12px;
}

.pv-switch button:hover {
  color: #fff;
}

.pv-switch button[aria-pressed="true"] {
  background: #f5f5f7;
  color: #0b0b0c;
}

/* たたむ・開くのボタン */
.pv-switch .pv-switch-toggle {
  justify-self: start;
  padding: 2px 0;
  color: #98989d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pv-switch.is-folded {
  padding: 8px 14px;
}

.pv-switch.is-folded .pv-switch-row {
  display: none;
}

.pv-switch.is-folded .pv-switch-toggle {
  color: #f5f5f7;
  text-decoration: none;
}

/* ---------- 幅ごとの調整 ---------- */

@media (max-width: 960px) {
  .nav,
  .top-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-row,
  .ask-grid,
  .sec-head,
  .svc-row,
  .work-text,
  .contact-box,
  .summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-row {
    gap: 32px;
  }

  .hero-lead,
  .hero-side,
  .svc-text,
  .svc-row .more {
    grid-column: 1;
  }

  .hero-side {
    align-items: flex-start;
  }

  .hero-who {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .sec-head p {
    padding-bottom: 0;
  }

  .svc-row:hover h3 {
    transform: none;
  }

  .ask-more,
  .price {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --radius: 20px;
    --header-h: 56px;
  }

  body {
    font-size: 15px;
  }

  .hero-title {
    font-size: clamp(30px, 9.6vw, 64px);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .ask-line {
    font-size: clamp(20px, 5.6vw, 28px);
  }

  .ask-pre {
    display: block;
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: var(--w-body);
    letter-spacing: var(--track-body);
  }

  .price-row {
    gap: 12px;
  }

  /* 見本の紙面は1列にして、表は主な列だけにする */
  .sheet-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tbl"
      "grade"
      "plot";
  }

  .sheet-block.is-cards,
  .sheet-tbl .is-wide {
    display: none;
  }

  .sheet-info {
    font-size: 12.5px;
  }

  .sheet-plot {
    max-width: 300px;
  }

  .tools > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .tools dt {
    padding-top: 0;
  }

  .faq summary {
    padding-right: 40px;
  }

  .faq details p {
    padding-right: 0;
  }

  .work-detail div,
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .contact-way {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-actions .btn {
    flex: 1;
  }

  .pv-switch {
    left: 8px;
    bottom: 8px;
    padding: 8px 10px;
  }
}

/* 動きを減らす設定の端末では、演出をすべて止めて最終状態で表示する。
   transition-duration を極小にする方法だと、全プロパティが一瞬だけ遷移して
   JavaScript の寸法計測が狂うので、none で止める */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .rise > span,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Cookie利用の同意バナー（ga4.js が組み立てる） ---------- */

.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.consent-banner__text {
  flex: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sub);
}

.consent-banner__text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.consent-banner__btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: var(--w-strong);
  white-space: nowrap;
  cursor: pointer;
}

.consent-banner__btn--accept {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

@media (max-width: 560px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .consent-banner__actions {
    justify-content: flex-end;
  }
}
