/* Bouquet AI業務改善 LP — 罫線の紙面（朝刊）
   - クラス名は BEM（block__element--modifier）。JS は data-js と id を掴み、クラスには依存しない
   - 色は bouquet-inc.com と同じ3色と白。山吹色（--accent）の文字は暗い地の上だけ。
     明るい地では、下線・マーカー・判子・ボタンの地として使う（文字色にするとコントラストが足りない）
   - 角丸は使わない。区切りは罫線（主の罫=濃い色、従の罫=濃い色の 18%、題字の下だけ二重罫）
   - 数値の根拠は 社内/bouquet/AI業務改善/docs/LP参考事例_2026-10-18.md */

:root {
  --ink: #0d230f;
  --ink-soft: #3c4d3e;
  --paper: #eff3f4;
  --sheet: #ffffff;
  --accent: #f9bc60;
  --accent-tint: rgba(249, 188, 96, 0.16);
  --rule: rgba(13, 35, 15, 0.18);
  --rule-dark: rgba(239, 243, 244, 0.24);
  --paper-soft: rgba(239, 243, 244, 0.86);
  --font-mincho: "BIZ UDPMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-gothic: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
  --rail: 0px;
  --masthead-h: 64px;
  --section-space: clamp(64px, 9vw, 120px);
}

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
    --rail: 216px;
  }
}

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

/* display を指定した要素でも hidden を効かせる（JS が外すまで出さない部品がある） */
[hidden] {
  display: none !important;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

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

a {
  color: inherit;
}

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

/* ---------- page（html と body） ---------- */

.page__body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  line-break: strict;
  /* 本文も文節で折り、最後の行に1〜2文字だけ残さない（Chrome。Safari は効かず、見出しと一部の本文は lp.json の「|」で折る） */
  word-break: auto-phrase;
  text-wrap: pretty;
  background-color: var(--paper);
  /* 紙の地合い（ごく薄いノイズ） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .14 0 0 0 0 .06 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

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

/* 見出しの文節（「|」で区切った塊）。塊の中では折り返さない */
.phrase {
  display: inline-block;
}

/* ---------- button ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.button__arrow {
  font-family: var(--font-gothic);
  transition: transform 0.2s;
}

.button--primary {
  background: var(--accent);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--ink);
  color: var(--accent);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.button--large {
  min-height: 60px;
  padding: 14px 24px;
  font-size: 17px;
}

.button--small {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14px;
  gap: 10px;
}

.button--wide {
  width: 100%;
  max-width: 520px;
}

@media (prefers-reduced-motion: no-preference) {
  .button:hover .button__arrow {
    transform: translateX(4px);
  }
}

/* ---------- stamp（判子: AI=AI が準備、人間=人が決める。2文字が入る横長の印） ---------- */

.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 1.6em;
  height: 1.6em;
  padding: 0 0.3em;
  margin-right: 0.5em;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: middle;
}

.stamp--ai {
  background: var(--accent);
  color: var(--ink);
  transform: rotate(-4deg);
}

.stamp--human {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.stamp--small {
  margin-right: 0.35em;
  font-size: 11px;
}

/* 凡例と表の見出し: 続きの文（が準備・が決める）と1語に見えるよう、間を詰める */
.stamp--joined {
  margin-right: 0.2em;
}

/* ---------- masthead（題字） ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px double var(--ink);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  min-height: var(--masthead-h);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.masthead__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.masthead__logo,
.colophon__logo {
  display: inline-flex;
}

.masthead__logo svg {
  display: block;
  width: 84px;
  height: auto;
}

.masthead__service {
  padding-left: 10px;
  border-left: 1px solid var(--ink);
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.masthead__edition {
  display: none;
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.masthead__menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.masthead__menu-icon,
.masthead__menu-icon::before,
.masthead__menu-icon::after {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.masthead__menu-icon::before,
.masthead__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.masthead__menu-icon::before {
  top: -6px;
}

.masthead__menu-icon::after {
  top: 6px;
}

.masthead__nav-list {
  display: none;
}

/* JS が無いときは、ナビを開いたまま並べる */
.page--no-js .masthead__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}

.masthead__nav-list--open {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.masthead__nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.masthead__nav-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.masthead__cta {
  white-space: nowrap;
}

.masthead__cta .button__arrow {
  display: none;
}

@media (min-width: 480px) {
  .masthead__logo svg {
    width: 96px;
  }

  .masthead__service {
    font-size: 15px;
  }

  .masthead__cta .button__arrow {
    display: inline;
  }
}

@media (min-width: 1100px) {
  .masthead__edition {
    display: block;
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
  }

  .masthead__menu-button {
    display: none !important;
  }

  .masthead__nav-list,
  .page--js .masthead__nav-list {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 0 20px;
    margin-right: 12px;
    padding: 0;
    background: none;
    border: 0;
  }
}

/* ---------- section ---------- */

.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--ink);
}

.section--hero {
  padding-block: 0;
  border-top: 0;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.section__inner {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- section-head（節の名札と見出し） ---------- */

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head__kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 10px;
  border-top: 3px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-head__number {
  font-family: var(--font-mincho);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.section-head__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.section-head__lead {
  max-width: 40em;
  font-size: 17px;
  color: var(--ink-soft);
}

.section-head--dark .section-head__kicker {
  border-top-color: var(--accent);
  color: var(--paper);
}

.section-head--dark .section-head__number {
  color: var(--accent);
}

.section-head--dark .section-head__lead {
  color: var(--paper-soft);
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: calc(var(--rail) - 16px) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .section-head__kicker {
    grid-row: 1 / span 2;
    flex-direction: column;
    gap: 8px;
  }

  .section-head__number {
    font-size: 40px;
  }

  .section-head__title,
  .section-head__lead {
    grid-column: 2;
  }

  /* 本文の段は、見出しの段にそろえる（表とグラフは紙面の幅いっぱいに使う） */
  .pain-list,
  .closing-line,
  .timetable,
  .step-rows,
  .qa,
  .contact-lead,
  .ticket,
  .contact-privacy {
    margin-left: var(--rail);
  }
}

/* ---------- hero（一面） ---------- */

.hero {
  display: grid;
  gap: 28px;
  padding-block: 36px 40px;
}

.hero__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(30px, 8.4vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.hero__title-line {
  display: inline-block;
}

.hero__eyebrow {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero__lead {
  margin-top: 16px;
  font-size: 17px;
}

.hero__tagline {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 0;
  border-block: 1px solid var(--ink);
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.08em;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.hero__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (min-width: 560px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* 760px から見出しを縦書きにする */
@media (min-width: 760px) {
  .hero {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 40px;
    padding-block: 48px 48px;
  }

  .hero__title {
    writing-mode: vertical-rl;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.3;
    letter-spacing: 0.08em;
  }

  .hero__title-line {
    display: block;
  }

  .hero__tcy {
    -webkit-text-combine: horizontal;
    text-combine-upright: all;
  }

  .hero__body {
    align-self: center;
    padding-left: 40px;
    border-left: 1px solid var(--rule);
  }

  /* 760〜1099px: 縦書きの見出しを左の段で2行にまたがせ、右の段に本文と紙面を縦に並べる */
  .hero__title {
    grid-row: 1 / span 2;
    align-self: start;
  }

  .hero__briefing {
    grid-column: 2;
    max-width: 560px;
    margin-left: 40px;
  }

  .hero__lead {
    font-size: 18px;
  }
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: auto minmax(0, 1fr) minmax(360px, 400px);
    column-gap: 40px;
    align-items: center;
  }

  .hero__title {
    grid-row: auto;
    align-self: center;
  }

  .hero__briefing {
    grid-column: auto;
    max-width: none;
    margin-left: 0;
  }
}

/* ---------- briefing（今朝の確認事項。9:00 に届いたメッセージ） ---------- */

.briefing__sheet {
  padding: 18px 20px 20px;
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.briefing__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-soft);
}

.briefing__channel {
  font-weight: 700;
  color: var(--ink);
}

.briefing__time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.briefing__title {
  margin-top: 12px;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.briefing__progress {
  font-size: 13px;
  color: var(--ink-soft);
}

.briefing__list {
  margin-top: 12px;
  border-top: 1px solid var(--ink);
}

.briefing__item {
  display: flex;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.briefing__leader {
  flex: 1;
  align-self: center;
  min-width: 16px;
  margin: 0 8px;
  border-bottom: 1px dotted var(--ink-soft);
}

.briefing__value {
  font-weight: 700;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.briefing__decide {
  display: flex;
  align-items: center;
  margin-top: 14px;
  font-weight: 700;
}

.briefing__caption {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.briefing__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin-top: 8px;
}

.briefing__legend-item {
  display: inline-flex;
  align-items: center;
}


/* FV の入り（1回だけ・約2.5秒）。
   動かすのは transform（合成だけで済み、メインスレッドを使わない）と、表示を一度切り替える visibility だけ。
   透明度も clip-path も使わない（透明度は途中でコントラストが落ち、clip-path は毎フレーム計算が走る） */
@media (prefers-reduced-motion: no-preference) {
  .page--motion .hero__title-line {
    animation: drop-in 0.7s cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }

  .page--motion .hero__title-line:nth-child(1) { animation-delay: 0.15s; }
  .page--motion .hero__title-line:nth-child(2) { animation-delay: 0.3s; }
  .page--motion .hero__title-line:nth-child(3) { animation-delay: 0.45s; }
  .page--motion .hero__title-line:nth-child(4) { animation-delay: 0.6s; }

  .page--motion .briefing__sheet {
    animation: rise-in 0.6s cubic-bezier(0.2, 0.7, 0.1, 1) 0.5s both;
  }

  .page--motion .briefing__item {
    animation: slide-in 0.4s ease-out both;
    animation-delay: calc(1.1s + var(--i) * 0.18s);
  }

  .page--motion .briefing__item .stamp--ai {
    animation: stamp-press 0.32s cubic-bezier(0.3, 1.4, 0.5, 1) both;
    animation-delay: calc(1.3s + var(--i) * 0.18s);
  }

  .page--motion .briefing__decide {
    animation: slide-in 0.4s ease-out 1.95s both;
  }
}

@keyframes drop-in {
  from { visibility: hidden; transform: translateY(-0.35em); }
  to { visibility: visible; transform: none; }
}

@keyframes rise-in {
  from { visibility: hidden; transform: translateY(16px); }
  to { visibility: visible; transform: none; }
}

@keyframes slide-in {
  from { visibility: hidden; transform: translateX(-10px); }
  to { visibility: visible; transform: none; }
}

@keyframes stamp-press {
  from { visibility: hidden; transform: scale(1.9) rotate(-14deg); }
  to { visibility: visible; transform: scale(1) rotate(-4deg); }
}

/* ---------- promises（約束の帯） ---------- */

.promises {
  display: grid;
  margin-bottom: var(--section-space);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.promises__item {
  padding: 18px 0;
}

.promises__item + .promises__item {
  border-top: 1px solid var(--rule);
}

.promises__number {
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.promises__title {
  margin-top: 2px;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.06em;
}

.promises__body {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .promises {
    grid-template-columns: repeat(3, 1fr);
  }

  .promises__item {
    padding: 20px 24px;
  }

  .promises__item:first-child {
    padding-left: 0;
  }

  .promises__item + .promises__item {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}

/* ---------- pain-list（課題） ---------- */

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

.pain-list__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.pain-list__number {
  grid-row: 1 / span 2;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
}

.pain-list__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.pain-list__body {
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .pain-list__item {
    grid-template-columns: 72px 240px minmax(0, 1fr);
    align-items: baseline;
    padding: 24px 0;
  }

  .pain-list__number {
    grid-row: auto;
    font-size: 48px;
  }
}

.closing-line {
  margin-top: 48px;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(20px, 3.2vw, 30px);
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.closing-line__phrase {
  display: inline-block;
  background: linear-gradient(transparent 72%, var(--accent) 72%);
}

/* ---------- time-chart（時間の変化） ---------- */

.time-chart {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.time-chart__tabs {
  display: flex;
  gap: 24px;
}

.time-chart__tab {
  min-height: 44px;
  padding: 6px 2px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.time-chart__tab[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.time-chart__figures {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

.time-chart__figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
}

.time-chart__label {
  flex-basis: 100%;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.time-chart__value {
  font-weight: 700;
  font-size: clamp(54px, 11vw, 112px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.time-chart__unit {
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
}

.time-chart__hours {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

.time-chart__figure--before {
  color: var(--ink-soft);
}

.time-chart__figure--after .time-chart__value {
  background: linear-gradient(transparent 80%, var(--accent) 80%);
}

.time-chart__arrow {
  padding-bottom: 36px;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1;
}

/* 導入前を選んでいるときは、導入後の数字を弱める（透明度ではなく色で） */
.time-chart[data-state="before"] .time-chart__figure--before {
  color: var(--ink);
}

.time-chart[data-state="before"] .time-chart__figure--after {
  color: var(--ink-soft);
}

.time-chart[data-state="before"] .time-chart__figure--after .time-chart__value {
  background: none;
}

.note {
  margin-top: 16px;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.time-chart__bar {
  display: flex;
  height: 44px;
  margin-top: 24px;
  border: 1px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--accent) 0 2px, transparent 2px 9px);
}

.time-chart__fill {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: var(--after-ratio);
  padding-left: 10px;
  background: var(--ink);
  color: var(--sheet);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.time-chart[data-state="before"] .time-chart__fill {
  width: 100%;
}

.time-chart__margin {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.time-chart__margin-label {
  padding: 2px 8px;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.time-chart[data-state="before"] .time-chart__margin {
  visibility: hidden;
}

.time-chart__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-soft);
}

.time-chart__summary {
  margin-top: 16px;
  font-size: 15px;
}

.time-chart__mark {
  background: linear-gradient(transparent 62%, var(--accent) 62%);
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .time-chart__fill {
    transition: none;
  }
}

/* ---------- disclosure（開け閉め） ---------- */

.disclosure {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.disclosure__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.disclosure__summary::-webkit-details-marker,
.qa__question::-webkit-details-marker {
  display: none;
}

.disclosure__summary::after,
.qa__question::after {
  content: "＋";
  font-weight: 400;
}

.disclosure[open] .disclosure__summary::after,
.qa__item[open] .qa__question::after {
  content: "－";
}

.disclosure__body {
  overflow-x: auto;
  padding-bottom: 16px;
}

/* ---------- ruled-table（罫線の表） ---------- */

.ruled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.ruled-table__head,
.ruled-table__cell {
  padding: 12px 8px;
  border-bottom: 1px solid var(--rule);
  text-align: right;
  white-space: nowrap;
}

.ruled-table__head {
  text-align: left;
  white-space: normal;
}

.ruled-table__head--column {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  border-bottom-color: var(--ink);
}

.ruled-table__head--column:not(:first-child) {
  text-align: right;
}

.ruled-table__row--total > * {
  font-weight: 700;
  border-top: 1px solid var(--ink);
  border-bottom: 0;
}

.ruled-table--price {
  margin-top: 48px;
  font-size: 15px;
}

.ruled-table--price .ruled-table__head,
.ruled-table--price .ruled-table__cell {
  padding: 14px 8px;
  white-space: normal;
}

.ruled-table__caption {
  padding-bottom: 12px;
  border-bottom: 3px solid var(--ink);
  text-align: left;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.1em;
}

.ruled-table__caption-note {
  margin-left: 12px;
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.ruled-table__cell--price {
  font-weight: 700;
  font-size: 18px;
}

.ruled-table__cell--period,
.ruled-table__head--period:not(:first-child) {
  text-align: left;
}

/* SP では期間の列を外す（期間は上の進め方の行にも書いてある） */
@media (max-width: 559px) {
  .ruled-table__cell--period,
  .ruled-table__head--period {
    display: none;
  }

  /* メニュー名は折り返さず、価格の文字を少し小さくして収める */
  .ruled-table--price .ruled-table__head {
    white-space: nowrap;
    font-size: 14px;
  }

  .ruled-table--price .ruled-table__cell--price {
    font-size: 16px;
  }
}

.fine-print {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.fine-print__item {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.fine-print__item::before {
  content: "※ ";
}

.action-row {
  display: flex;
  margin-top: 40px;
}

.action-row__button {
  width: 100%;
}

@media (min-width: 560px) {
  .action-row__button {
    width: auto;
    min-width: 360px;
  }
}

/* ---------- ledger（できること。帳票の表） ---------- */

.ledger {
  width: 100%;
  border-collapse: collapse;
  border-top: 3px solid var(--ink);
  font-size: 15px;
}

.ledger__heading {
  padding: 12px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  vertical-align: bottom;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ledger__heading-label {
  display: inline-flex;
  align-items: center;
}

.ledger__task {
  width: 8.5em;
  padding: 18px 12px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.ledger__cell {
  padding: 18px 12px;
  border-bottom: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.8;
}

.ledger__cell--before {
  color: var(--ink-soft);
}

.ledger__cell--ai {
  background: var(--accent-tint);
}

.ledger__cell--human {
  font-weight: 700;
}

/* PC では列の見出しに判子があるので、各行の判子は出さない。列の幅は文の長さに合わせて配る */
@media (min-width: 760px) {
  .ledger__stamp {
    display: none;
  }

  .ledger__cell--before {
    width: 27%;
  }

  .ledger__cell--ai {
    width: 36%;
  }

  .ledger__cell--human {
    width: 25%;
  }
}

/* タブレットの幅では業務名の列が3〜4文字分しか残らないので、ほかの列を少し狭めて業務名に回す */
@media (min-width: 760px) and (max-width: 1099px) {
  .ledger__task {
    font-size: 16px;
  }

  .ledger__cell--before {
    width: 24%;
  }

  .ledger__cell--ai {
    width: 32%;
  }

  .ledger__cell--human {
    width: 24%;
  }
}

/* SP は1業務ずつ縦に積む */
@media (max-width: 759px) {
  .ledger,
  .ledger tbody,
  .ledger__row,
  .ledger__task,
  .ledger__cell {
    display: block;
    width: 100%;
  }

  .ledger__head {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .ledger__row {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
  }

  .ledger__task {
    padding: 0 0 8px;
    border-bottom: 0;
  }

  .ledger__cell {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 8px 0;
    border: 0;
  }

  /* 行の高さ 15px×1.8＝27px に対し、判子は 13px×1.6≒21px。差の半分だけ下げて1行目の中央にそろえる */
  .ledger__stamp {
    margin-top: 3px;
  }

  .ledger__cell--before::before {
    content: attr(data-label);
    flex-basis: 100%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
  }

  .ledger__cell--ai {
    padding-inline: 10px;
  }

  .ledger__text {
    flex: 1;
    min-width: 0;
  }
}

/* ---------- timetable（一日の流れ） ---------- */

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

.timetable__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.timetable__time {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.timetable__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.timetable__text {
  max-width: 40em;
  margin-top: 6px;
  color: var(--ink-soft);
}

/* SP は時刻を見出しの上に置き、チャットの画面に幅を残す */
@media (max-width: 559px) {
  .timetable__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .timetable__time {
    font-size: 22px;
  }
}

@media (min-width: 900px) {
  .timetable__row {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0;
  }

  .timetable__time {
    font-size: 40px;
  }
}

/* ---------- chat（09:00 に届く画面） ---------- */

.chat {
  max-width: 560px;
  margin-top: 20px;
}

.chat__window {
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.chat__bar {
  padding: 8px 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 700;
}

.chat__message {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 14px;
}

.chat__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-mincho);
  font-weight: 700;
}

.chat__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 14px;
}

.chat__tag {
  padding: 0 6px;
  border: 1px solid var(--rule);
  font-size: 11px;
  color: var(--ink-soft);
}

.chat__time {
  font-size: 12px;
  color: var(--ink-soft);
}

.chat__text,
.chat__summary {
  font-size: 14px;
  line-height: 1.8;
}

.chat__orders {
  margin-top: 8px;
  border-top: 1px solid var(--rule);
}

.chat__order {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.chat__order-id {
  flex: 0 0 auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.chat__summary {
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
}

/* 行の高さ 14px×1.8≒25px に対し、判子は 11px×1.6≒18px。差の半分だけ下げて1行目の中央にそろえる */
.chat__summary-stamp {
  margin-top: 4px;
}

.chat__button {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.chat__caption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- flow・pledges（仕組みと約束。濃い帯） ---------- */

.flow {
  display: grid;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.flow__step {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
}

.flow__step + .flow__step {
  border-top: 1px solid var(--rule-dark);
}

.flow__number {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

.flow__text {
  font-weight: 700;
}

@media (min-width: 900px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow__step {
    flex-direction: column;
    gap: 12px;
    padding: 24px 24px 28px;
  }

  .flow__step:first-child {
    padding-left: 0;
  }

  .flow__step + .flow__step {
    border-top: 0;
    border-left: 1px solid var(--rule-dark);
  }

  .flow__step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 24px;
    right: -9px;
    padding: 0 2px;
    background: var(--ink);
    color: var(--accent);
    line-height: 1;
  }
}

.pledges {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--rule-dark);
}

.pledges__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-dark);
}

.pledges__number {
  grid-row: 1 / span 2;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  color: var(--accent);
}

.pledges__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.pledges__body {
  margin-top: 6px;
  font-size: 15px;
  color: var(--paper-soft);
}

@media (min-width: 760px) {
  .pledges {
    grid-template-columns: 1fr 1fr;
  }

  .pledges__item {
    padding: 24px 24px 24px 0;
  }

  .pledges__item:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--rule-dark);
  }
}

.section--dark :focus-visible {
  outline-color: var(--accent);
}

/* ---------- step-rows（進め方） ---------- */

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

.step-rows__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.step-rows__number {
  grid-row: 1 / span 2;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.step-rows__item--free .step-rows__number {
  align-self: start;
  justify-self: start;
  padding: 4px 6px;
  background: var(--accent);
  font-size: 16px;
}

.step-rows__name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.step-rows__period {
  font-size: 13px;
  color: var(--ink-soft);
}

.step-rows__body {
  margin-top: 6px;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .step-rows__item {
    grid-template-columns: 96px 240px minmax(0, 1fr);
    align-items: baseline;
    padding: 24px 0;
  }

  .step-rows__number {
    grid-row: auto;
    font-size: 40px;
  }

  .step-rows__item--free .step-rows__number {
    font-size: 18px;
  }

  .step-rows__body {
    margin-top: 0;
  }
}

/* ---------- qa（よくあるご質問） ---------- */

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

.qa__item {
  border-bottom: 1px solid var(--rule);
}

.qa__question {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.qa__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.qa__mark--question {
  background: var(--ink);
  color: var(--paper);
}

.qa__mark--answer {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.qa__answer {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 18px;
}

.qa__text--answer {
  color: var(--ink-soft);
}

/* ---------- contact（相談予約票） ---------- */

.contact-lead {
  max-width: 40em;
  font-size: 17px;
}

.ticket {
  max-width: 760px;
  margin-top: 32px;
  padding: 22px 20px 24px;
  background: var(--sheet);
  border: 2px dashed var(--ink);
}

.ticket__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}

.ticket__title {
  margin-right: auto;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.12em;
}

.ticket__meta {
  padding: 0 10px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.ticket__section {
  padding-top: 20px;
}

.ticket__section-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ticket__agenda {
  margin-top: 6px;
  counter-reset: agenda;
}

.ticket__agenda-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 8px 0;
  border-bottom: 1px dotted var(--ink-soft);
  counter-increment: agenda;
}

.ticket__agenda-item::before {
  content: counter(agenda);
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
}

.ticket__columns {
  display: grid;
  column-gap: 32px;
}

.ticket__list {
  margin-top: 6px;
  font-size: 15px;
}

.ticket__list-item::before {
  content: "・";
}

.ticket__list--negative .ticket__list-item::before {
  content: "×　";
  color: var(--ink-soft);
}

.ticket__action {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

@media (min-width: 640px) {
  .ticket {
    padding: 28px 32px 32px;
  }

  .ticket__columns {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-privacy {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

.contact-privacy__link {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- sticky-cta（追従ボタン。SP・PC とも） ---------- */

.sticky-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  transition: transform 0.25s, visibility 0.25s;
}

.sticky-cta__button {
  box-shadow: 4px 4px 0 var(--ink);
}

/* 隠している間は visibility でも隠し、キーボードのフォーカスが見えない場所に行かないようにする */
.sticky-cta--hidden {
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
}

/* PC は右下に少し大きく出す */
@media (min-width: 760px) {
  .sticky-cta {
    right: 24px;
    bottom: 24px;
  }

  .sticky-cta__button {
    min-height: 56px;
    padding: 14px 22px;
    font-size: 16px;
    box-shadow: 6px 6px 0 var(--ink);
  }
}

/* ---------- colophon（奥付） ---------- */

.colophon {
  padding: 40px 0 calc(96px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

.colophon__inner {
  display: grid;
  gap: 10px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.colophon__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 3px double var(--rule-dark);
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 15px;
}

.colophon__logo svg {
  display: block;
  width: 80px;
  height: auto;
}

.colophon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.colophon__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
}

.colophon__trademark,
.colophon__copyright {
  color: var(--paper-soft);
}

.colophon :focus-visible {
  outline-color: var(--accent);
}

@media (min-width: 1100px) {
  /* 追従ボタンが奥付の文字に重ならないよう、下の余白は PC でも広めに取る */
  .colophon {
    padding-bottom: 112px;
  }
}
