@charset "UTF-8";
/* =========================================================
   山口博行司法書士事務所 LP（提案用） 2026-11-14
   スマホ幅から書き、768px / 1024px で広げる
   ========================================================= */

/* ---------- 1. 変数 ---------- */
:root {
  /* 色（設計書 §3） */
  --bg: #FBFAF6;
  --paper: #FFFFFF;
  --tint: #EEF3EB;
  --tint-deep: #DDE8D9;
  --green: #2B5B43;
  --green-deep: #1E4533;
  --green-soft: #6C9478;
  --wood: #A9743F;
  --wood-soft: #E8D8C2;
  --marker: #E6EDB8;
  --ink: #4A504B;          /* 本文。元LP（#555・普通の太さ）に近い濃さ */
  --sub: #5F665F;
  --line: #D9E0D6;
  --on-dark: #FBFAF6;      /* 深緑の面の上の文字 */
  --cream: #F4EFE4;        /* 最終CTAのボタン面 */
  --cream-edge: #D9CFB8;   /* 同・厚み */
  --header-bg: rgba(251, 250, 246, .86);
  --white: #FFFFFF;
  --line-strong: #C9D6C5;  /* --tint の地の上の罫線 */

  /* 見出しの後ろの英単語（地の色ごとに上書き） */
  --word-line: #CFDDCA;
  --word-dot: #D5E2D0;

  /* 影（深緑を薄めた色） */
  --shadow-frame: 0 24px 60px rgba(30, 69, 51, .14);
  --shadow-soft: 0 10px 28px rgba(30, 69, 51, .10);
  --shadow-pic: 0 12px 30px rgba(30, 69, 51, .12);
  --glow-green: 0 10px 28px -10px rgba(43, 91, 67, .55);

  /* 書体 */
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-gothic: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-hand: "Klee One", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Shippori Mincho", "Hiragino Mincho ProN", serif;

  /* 寸法 */
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 60px;
  --bar-h: 64px;
  --tap: 44px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --fv-reach: 64px;        /* PC：絵の列を左列へ食い込ませる量 */
  --fv-strip: 96px;        /* PC：額の左に見せる若葉色の面の幅 */
  --wave-h: clamp(48px, 8vw, 120px);

  /* 文字 */
  --fs-body: 16px;
  --lh-body: 1.95;
  --fs-h2: clamp(26px, 3.4vw, 40px);
  --ls-h2: .08em;

  /* 動き */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-reveal: cubic-bezier(.16, .8, .2, 1);
  --reveal-dur: 1s;
  --reveal-shift: 72px;
  --reveal-step: 110ms;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 76px;
    --fs-body: 17px;
  }
}

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: .03em;
  overflow-x: clip;
  font-feature-settings: "palt" 0;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4, th, dt, b, strong { font-weight: 500; }

h1, h2, h3 {
  word-break: auto-phrase;
  text-wrap: balance;
  line-break: strict;
}

p, li, dd { line-break: strict; }

a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--green); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: var(--on-dark);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* 改行の出し分け */
br.pc { display: none; }
@media (min-width: 768px) {
  br.pc { display: inline; }
  br.sp { display: none; }
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* マーカー（下半分） */
.marker {
  color: inherit;
  background: linear-gradient(transparent 58%, var(--marker) 58%);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.marker--green { color: var(--green); }

/* 木口の印 */
.kiguchi {
  width: 56px;
  height: 16px;
  color: var(--wood);
  flex: none;
}

/* 見出し h2 */
.sec-title {
  font-family: var(--font-mincho);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: var(--ls-h2);
  color: var(--green);
}

.sec-head {
  position: relative;
  isolation: isolate;          /* 英単語を見出しの後ろに置くため */
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-mark { justify-content: center; }

.sec-sub {
  margin-top: 16px;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.9;
  word-break: auto-phrase;
}
@media (min-width: 768px) { .sec-sub { font-size: 17px; } }

/* 額装の白い紙 */
.frame {
  background: var(--paper);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-frame);
}
.frame--thin { padding: 10px; box-shadow: var(--shadow-soft); }
.frame img { width: 100%; border-radius: 2px; }

/* 手書きの添え（Klee One は2か所だけ） */
.hand-note {
  font-family: var(--font-hand);
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- 3. ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--tap);
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease;
}

.btn--primary {
  background: var(--green);
  color: var(--on-dark);
  box-shadow: 0 4px 0 var(--green-deep), var(--glow-green), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover { color: var(--on-dark); background: #2F6249; }
.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--green-deep), var(--glow-green), inset 0 1px 0 rgba(255, 255, 255, .22);
}

/* 主ボタンの光の帯（左→右へ流れる） */
.btn--primary,
.btn--cream,
.call-bar__btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --shine: rgba(255, 255, 255, .55);
}
.btn--cream { --shine: rgba(255, 255, 255, .8); }
.btn--primary::before,
.btn--cream::before,
.call-bar__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, var(--shine), transparent);
  transform: translateX(-140%) skewX(-18deg);
  pointer-events: none;
  animation: btn-shine 3.6s ease-in-out infinite;
}
.btn--primary:hover::before,
.btn--primary:focus-visible::before,
.btn--cream:hover::before,
.btn--cream:focus-visible::before,
.call-bar__btn:hover::before,
.call-bar__btn:focus-visible::before {
  animation: btn-shine-once 1.1s ease-in-out 1;
}
@keyframes btn-shine {
  0%        { transform: translateX(-140%) skewX(-18deg); }
  35%, 100% { transform: translateX(420%) skewX(-18deg); }
}
@keyframes btn-shine-once {
  from { transform: translateX(-140%) skewX(-18deg); }
  to   { transform: translateX(420%) skewX(-18deg); }
}

.btn--ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green-soft);
}
.btn--ghost:hover { background: var(--tint); }

.btn--cream {
  background: var(--cream);
  color: var(--green-deep);
  min-height: 60px;
  padding: 14px 40px;
  font-size: 17px;
  box-shadow: 0 5px 0 var(--cream-edge), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.btn--cream:hover { color: var(--green-deep); background: var(--paper); }
.btn--cream:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cream-edge); }

.btn--block { display: flex; width: 100%; }

.btn__icon { width: 22px; height: 22px; flex: none; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; }
.btn__small {
  font-family: var(--font-mincho);
  font-size: 13px;
  letter-spacing: .08em;
  opacity: .85;
}
.btn__main { font-size: 16px; }

.btn--tel { padding: 10px 32px 12px 26px; min-height: 64px; }

/* ---------- 4. ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  max-width: calc(1280px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-decoration: none;
  margin-right: auto;
  min-height: var(--tap);
  justify-content: center;
}
/* 事務所名：太い明朝＋濃い深緑で、ヘッダーの中でいちばん目立たせる */
.brand__name {
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--green-deep);
  white-space: nowrap;
}
@media (max-width: 399px) { .brand__name { font-size: 18px; letter-spacing: .04em; } }
@media (max-width: 359px) { .brand__name { font-size: 16px; } }

.gnav, .header-tel { display: none; }

.menu-toggle {
  display: inline-flex;
  flex: none;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--green);
  font: 500 13px/1 var(--font-gothic);
  letter-spacing: .1em;
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease;
}
.menu-toggle__bars { position: relative; transform: translateY(-3px); }
.menu-toggle__bars::before { content: ""; position: absolute; left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (min-width: 1024px) {
  .site-header__inner { gap: 20px; }
  .brand__name { font-size: 21px; }

  .gnav { display: block; }
  .gnav__list { display: flex; gap: 12px; }
  .gnav__list a {
    display: flex;
    align-items: center;
    min-height: var(--tap);
    font-size: 13px;
    letter-spacing: .06em;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
  }
  .gnav__list a:hover { color: var(--green); }

  .header-tel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: clamp(16px, 2vw, 28px);
    border-left: 1px solid var(--line);
    line-height: 1.2;
    text-decoration: none;
    color: var(--green);
  }
  .header-tel__num {
    font-family: var(--font-mincho);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .header-tel__time { font-size: 12px; color: var(--sub); letter-spacing: .08em; margin-top: 2px; }

  .menu-toggle { display: none; }
}
@media (min-width: 1280px) {
  .site-header__inner { gap: 24px; }
  .brand__name { font-size: 25px; }
  .gnav__list { gap: clamp(16px, 1.6vw, 26px); }
  .gnav__list a { font-size: 14px; }
  .header-tel__num { font-size: 24px; }
}

/* SP 全画面メニュー */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 39;
  background: var(--bg);
  overflow-y: auto;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.drawer[hidden] { display: none; }
.drawer__list { border-top: 1px solid var(--line); margin-bottom: 28px; }
.drawer__list li { border-bottom: 1px solid var(--line); }
.drawer__list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--font-mincho);
  font-size: 18px;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--green);
}
.drawer__tel { min-height: 68px; }
html.is-menu-open { overflow: hidden; }
@media (min-width: 1024px) { .drawer { display: none !important; } }

/* ---------- 5. FV ---------- */
.fv {
  position: relative;
  overflow-x: clip;
  padding-top: 32px;
  padding-bottom: calc(40px + var(--wave-h));
}

.fv__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "art"
    "body";
  row-gap: 28px;
}
.fv__head { grid-area: head; position: relative; z-index: 2; }
.fv__art  { grid-area: art; position: relative; z-index: 1; }
.fv__body { grid-area: body; position: relative; z-index: 2; }

/* h1 の上の小さな一言「信頼と実績」（左に木の茶の細い線） */
.fv__label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mincho);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--green);
  margin-bottom: clamp(12px, 1.4vw, 20px);
}
.fv__label::before {
  content: "";
  flex: none;
  width: 48px;
  height: 1px;
  background: var(--wood);
  transform-origin: left center;
}
.fv__label-text { display: inline-block; letter-spacing: .32em; }

/* h1 の下の小さな一文（親切・丁寧・迅速だけ深緑） */
.fv__staff {
  margin-top: clamp(16px, 1.8vw, 24px);
  overflow: hidden;              /* 下から幕が上がるように出すための窓 */
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.8;
  letter-spacing: .08em;
  color: var(--ink);
}
.fv__staff-inner { display: block; }
.fv__staff em {
  font-style: normal;
  font-weight: 500;
  color: var(--green-deep);
}
/* h1：700 を使うのはここと #first の番号だけ */
.fv__title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(48px, 6.8vw, 96px);
  line-height: 1.28;
  letter-spacing: .12em;
  color: var(--green-deep);
  text-wrap: nowrap;
  white-space: nowrap;
}
/* 各行：文字の下に手書き風の下線（木の茶の細い筆の線） */
.fv__line {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.fv__text { display: inline-block; }
/* 下線：太い蛍光ペンの筆跡。文字の下 1/3 に重ね、文字より後ろに置く */
.fv__underline {
  position: absolute;
  left: -.08em;
  bottom: .02em;
  width: calc(100% + .02em);
  height: .62em;
  overflow: visible;
  z-index: -1;
  pointer-events: none;
}
.fv__underline path {
  fill: none;
  stroke: #D5E190;               /* やわらかい若草色の蛍光ペン */
  stroke-width: 15.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#fv-brush);        /* ふちを少しかすれさせる */
  opacity: .92;
  mix-blend-mode: multiply;
}

/* 絵：後ろの若葉色の面＋額装 */
.fv__art {
  margin: 12px 0 0;
  padding-left: 0;
}
.fv__plate {
  position: absolute;
  top: -5%;
  right: -4%;
  bottom: 16%;
  left: 6%;
  background: var(--tint-deep);
  border-radius: 120px 24px 24px 24px;
}
.fv__frame { position: relative; }

.fv__note {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 18px;
  font-size: 16px;
  color: var(--green);
}
.hand-note__arrow { width: 52px; height: 36px; flex: none; color: var(--green); }

.fv__rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--green-soft);
  margin-bottom: 20px;
}
.fv__lead {
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 28px;
}

.fv__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fv__actions .btn { width: 100%; }

/* 事実3つ */
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts__item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 14px 4px;
}
.facts__item + .facts__item { border-top: 1px solid var(--line); }
.facts dt {
  flex: none;
  width: 5.5em;
  min-width: 5.5em;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--green-soft);
}
.facts dd {
  flex: 1 1 0;
  min-width: 0;
  word-break: auto-phrase;
  line-break: strict;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.6;
  color: var(--ink);
}
.facts__note { display: block; font-size: 14px; color: var(--sub); }

@media (min-width: 768px) {
  .fv__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .fv__actions .btn { width: auto; }
  .fv__plate { border-radius: 160px 24px 24px 24px; }

  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts__item {
    flex-direction: column;
    gap: 2px;
    padding: 18px clamp(16px, 2.4vw, 32px);
  }
  .facts__item + .facts__item { border-top: 0; border-left: 1px solid var(--line); }
  .facts dt { width: auto; min-width: 0; }
  .facts dd { flex: none; }
  .facts__note { display: inline; }
}

@media (min-width: 1024px) {
  .fv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(calc(100svh - var(--header-h)), 760px);
    padding-top: 48px;
    padding-bottom: calc(32px + var(--wave-h));
  }
  .fv__grid {
    /* h1 を 96px まで大きくしたので 1:1（額の中身に h1 が届かない幅） */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas:
      ".    art"
      "head art"
      "body art"
      ".    art";
    column-gap: 0;
    row-gap: 0;
    align-items: center;
  }
  .fv__head { align-self: end; }
  .fv__body { align-self: start; padding-top: 28px; }

  /* 絵の列を左列の側へ食い込ませ、額の左に若葉色の面だけを見せる。
     h1 の末尾はこの面の帯に重なり、額（絵の中身）には届かない */
  .fv__art {
    margin: 0 0 0 calc(var(--fv-reach) * -1);
    padding-left: var(--fv-strip);
    padding-bottom: 64px;    /* 添えの置き場 */
  }
  .fv__plate {
    top: -6%;
    right: -6%;
    bottom: calc(64px + 6%);
    left: 0;
  }
  .fv__note {
    position: absolute;
    left: calc(var(--fv-strip) - 8px);
    bottom: 0;
    margin: 0;
    align-items: flex-start;
  }
  .fv__note .hand-note__arrow { margin-top: -26px; }

  .facts { margin-top: clamp(40px, 5vh, 64px); }
}

/* ---------- 6. ごあいさつ ---------- */
.greeting { padding-top: var(--section-y); }
.greeting__inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
}
.greeting__art { width: 160px; }
.greeting__text {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 2.1;
  letter-spacing: .05em;
  color: var(--ink);
}
.greeting__text p + p { margin-top: .4em; }

@media (min-width: 768px) {
  /* 絵と文章の組を中央に置く */
  .greeting__inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 72px;
  }
  .greeting__art { width: 220px; flex: none; }
  .greeting__text { flex: 0 1 34em; min-width: 0; max-width: 34em; }
}

/* ---------- 7. こんな時は ---------- */
.worries { padding-top: clamp(24px, 4vw, 48px); }

.worries__visual {
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.worries__img {
  width: 100%;
  aspect-ratio: 763 / 330;
  object-fit: cover;
  border-radius: 56px 56px 0 0;
}
.worries__panel {
  position: relative;
  width: 88%;
  margin: -40px auto 0;
  padding: 26px 16px 30px;
  background: var(--tint-deep);
  text-align: center;
}
.worries__panel .sec-mark { justify-content: center; margin-bottom: 12px; }

.worries__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 64px);
  max-width: 960px;
  margin-inline: auto;
}
.worry {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px 22px;
  border-top: 1px solid var(--line);
}
.worry__num {
  flex: none;
  width: 1.2em;
  font-family: var(--font-mincho);
  font-size: 30px;
  line-height: 1;
  color: var(--wood);
  text-align: center;
}
.worry__text {
  font-size: 16px;
  line-height: 1.85;
  word-break: auto-phrase;
  line-break: strict;
}
.worry__seg { display: block; }

@media (min-width: 768px) {
  .worries__img { border-radius: 120px 120px 0 0; }
  .worry__num { font-size: 36px; }
  .worries__panel { width: 76%; padding: 32px 24px 38px; }
  .worries__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worries__list .worry:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .worries__list .worry:last-child { border-bottom: 1px solid var(--line); }
}

/* ---------- 8. 初めての方へ ---------- */
.first { padding-top: var(--section-y); }

.point { background: var(--paper); --num-color: var(--tint-deep); }
.point--tint { background: var(--tint); --num-color: var(--white); }

/* SP：番号を左上に、文章を番号の下端に 12px 重ねる */
.point__inner {
  --num-size: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num  pic"
    "text text";
  align-items: center;
  gap: 0 20px;
  padding-block: 28px 32px;
  max-width: calc(980px + var(--gutter) * 2);
}
/* 700 を使うのは h1 とこの番号だけ */
.point__num {
  grid-area: num;
  align-self: end;
  font-family: var(--font-mincho);
  font-size: var(--num-size);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.02em;
  color: var(--num-color);
  user-select: none;
}
.point__text {
  grid-area: text;
  position: relative;
  z-index: 1;                 /* 文章が番号より手前 */
  margin-top: -12px;
  font-size: 16px;
  line-height: 1.9;
}
.point__pic {
  grid-area: pic;
  justify-self: end;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-pic);
  object-fit: cover;
}

@media (min-width: 768px) {
  /* 特大の淡い番号の右下に、文章の塊を 0.3em 重ねる */
  .point__inner {
    --num-size: clamp(96px, 12vw, 176px);
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "num text pic";
    gap: 0;
    padding-block: 16px;
    min-height: 184px;
  }
  .point__num { align-self: center; }
  .point__text {
    align-self: center;
    font-size: 17px;
    margin: calc(var(--num-size) * .5) clamp(24px, 3vw, 40px) 0 calc(var(--num-size) * -.3);
  }
  .point__pic { width: 152px; height: 152px; align-self: center; }
}
@media (min-width: 1024px) {
  /* 円は段の中に収め、上下中央。隣の段の円との間に必ず地が見える */
  .point__inner { min-height: 208px; }
  .point__pic { width: 176px; height: 176px; }
}

/* ---------- 9. 取扱業務 ---------- */
.services { padding-top: var(--section-y); }

.ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px clamp(28px, 3.5vw, 48px);
}
.ledger + .ledger { margin-top: 48px; }

.ledger__group { border-top: 2px solid var(--green); padding-top: 18px; }
.ledger__title {
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--green);
  margin-bottom: 10px;
}
.ledger__list li {
  position: relative;
  word-break: auto-phrase;
  line-break: strict;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
}
.ledger__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(12px + .875em - 2.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wood);
}

@media (min-width: 768px) {
  .ledger--minor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger__list li { font-size: 16px; }
}
@media (min-width: 1024px) {
  .ledger--major { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ledger--minor { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ledger + .ledger { margin-top: 64px; }
}

/* ---------- 10. ご依頼の流れ ---------- */
.flow { padding-top: var(--section-y); }

.steps { max-width: 880px; margin-inline: auto; padding-top: 24px; }

.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0 16px;
}
/* 数字の上端を白い面の上端にそろえ、「STEP」は数字の上に出す */
.step__mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 番号どうしをつなぐ縦の点線 */
.step:not(:last-child) .step__mark::after {
  content: "";
  flex: 1;
  width: 0;
  margin-top: 12px;
  margin-bottom: 30px;          /* 次の「STEP」の手前で止める */
  border-left: 1px dashed var(--green-soft);
}
.step__label {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 4px;
  padding-left: .3em;           /* 字間の分だけ中央を補正 */
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--wood);
  line-height: 1;
  white-space: nowrap;
}
.step__num {
  font-family: var(--font-mincho);
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 600;
  line-height: .9;
  color: var(--wood);
}

.step__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 20px 26px;
  margin-bottom: 24px;
}
.step:last-child .step__card { margin-bottom: 0; }
.step__card p + p,
.step__card ul + p { margin-top: .5em; }
.step__title {
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--green);
  margin-bottom: 14px;
}

.step__tel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin-block: 10px 12px;
}
.step__card .step__tel { margin-top: 10px; }
.step__tel-label { font-size: 14px; color: var(--sub); }
.step__tel-num {
  font-family: var(--font-mincho);
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.3;
  color: var(--green);
  text-decoration: none;
}
.step__tel-time { font-size: 14px; color: var(--sub); }

.step__card .step__small {
  margin-top: .9em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--sub);
}

.step__subhead {
  margin-top: 1.1em;
  margin-bottom: .3em;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--green);
}
.step__list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.85;
}
.step__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .82em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wood);
}
.step__list + p { margin-top: 1em; }

@media (min-width: 768px) {
  .step { grid-template-columns: 112px minmax(0, 1fr); gap: 0 28px; }
  .step__card { padding: 32px 36px 34px; margin-bottom: 32px; }
}

/* ---------- 11. よくある質問 ---------- */
.faq { padding-top: var(--section-y); }

.faq__list { position: relative; z-index: 1; }   /* 英単語より手前 */
.faq__list .qa + .qa { margin-top: 36px; }
.qa__q {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.qa__q .qa__mark {
  flex: none;
  font-family: var(--font-mincho);
  font-size: 28px;
  line-height: 1;
  color: var(--wood);
}
.qa__q .qa__text {
  word-break: auto-phrase;
  line-break: strict;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--green-deep);
}
.qa__a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px;
  background: var(--paper);
  border-radius: 12px;
}
.qa__a .qa__mark {
  flex: none;
  font-family: var(--font-mincho);
  font-size: 22px;
  line-height: 1;
  color: var(--green);
}
.qa__a .qa__text { font-size: 16px; line-height: 1.9; }
.qa__a .qa__text p + p { margin-top: .4em; }

@media (min-width: 1024px) {
  .faq__inner {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 0 clamp(40px, 5vw, 72px);
    align-items: start;
  }
  .faq__head {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    align-self: start;
    margin-bottom: 0;
  }
}

/* ---------- 12. 事務所案内（表）・所属司法書士・アクセス（地図） ---------- */
.office-sec { padding-top: var(--section-y); }

.office {
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--line-strong);
}
.office__row {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-strong);
}
.office dt {
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--green-soft);
  line-height: 1.85;
  padding-top: .1em;
}
.office dd { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.office dd a { color: var(--green); }
.office__line { display: block; }

@media (min-width: 768px) {
  .office__row { grid-template-columns: 8em minmax(0, 1fr); gap: 24px; padding: 16px 8px; }
}

/* 所属司法書士：「初めての方へ」の見出しのすぐ下。名札のような1枚 */
.member {
  max-width: 640px;
  margin: 0 auto;
  padding: 26px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--green);
  border-radius: 4px;
  text-align: center;
}
.member__head {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--green-soft);
}
.member__name {
  margin-top: 4px;
  font-family: var(--font-mincho);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--green-deep);
}
.member__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 28px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.9;
}
.member__key { color: var(--sub); }
.member__val { margin-left: .6em; }

.first__sub {
  margin: clamp(32px, 4vw, 48px) auto clamp(28px, 4vw, 44px);
  text-align: center;
  color: var(--ink);
  font-weight: 500;
}

.access { padding-top: var(--section-y); }
.access__addr {
  margin-bottom: 20px;
  text-align: center;
  font-size: 16px;
  letter-spacing: .05em;
}
.access__map {
  max-width: 960px;
  margin-inline: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 6px solid var(--white);
  background: var(--tint);
}
.access__map iframe {
  width: 100%;
  height: 340px;
  border: 0;
}
@media (min-width: 1024px) {
  .access__map iframe { height: 440px; }
}

/* ---------- 13. お問い合わせ ---------- */
.contact {
  color: var(--on-dark);
  padding-top: var(--section-y);
  text-align: center;
}
.contact__inner {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__inner .bg-word { top: calc(48px - var(--wsize) * .425); }

.contact__note {
  font-size: 16px;
  color: var(--tint-deep);
  margin-bottom: 10px;
}
.contact__title { color: var(--on-dark); margin-bottom: 20px; }
.contact__lead { font-size: 16px; letter-spacing: .06em; }
@media (min-width: 768px) { .contact__lead { font-size: 18px; } }

.contact__tel {
  display: inline-flex;
  align-items: center;
  gap: .18em;
  margin-top: 10px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.2;
  letter-spacing: .03em;
  color: var(--on-dark);
  text-decoration: none;
  white-space: nowrap;
}
.contact__tel:hover { color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 1px; }
.contact__tel-icon { width: .62em; height: .62em; flex: none; }

.contact__time { margin-top: 4px; margin-bottom: 32px; font-size: 16px; letter-spacing: .08em; }
.contact__text { margin-top: 32px; font-size: 16px; word-break: auto-phrase; }
.contact__notice {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--tint-deep);
  word-break: auto-phrase;
}
.contact :focus-visible { outline-color: var(--on-dark); }

@media (max-width: 374px) {
  .contact__tel { font-size: 38px; }
}

/* ---------- 14. フッター ---------- */
.site-footer { background: var(--bg); padding-bottom: 32px; }

.site-footer__art {
  max-width: 1280px;
  margin-inline: auto;
}
.site-footer__art img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 18%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

.site-footer__inner {
  display: grid;
  gap: 24px;
  padding-top: 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--sub);
}
.site-footer__name {
  font-family: var(--font-mincho);
  font-size: 20px;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 4px;
}
.site-footer a { color: var(--green); }

.fnav__list { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fnav__list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  text-decoration: none;
  color: var(--ink);
}
.fnav__list a:hover { color: var(--green); }

.site-footer__copy {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: .04em;
}
.site-footer__copy small { font-size: inherit; }

@media (min-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .site-footer__copy { grid-column: 1 / -1; }
}

/* ---------- 15. 追従の電話ボタン（PC・SP共通） ----------
   FV のボタンが見えなくなったら、画面の下に出し続ける（main.js） */
body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }

.call-bar {
  display: block;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  transform: translateY(130%);
  transition: transform .45s var(--ease-out);
  pointer-events: none;
}
.call-bar.is-shown { transform: translateY(0); }
.call-bar.is-shown .call-bar__btn { pointer-events: auto; }

/* PC・タブレット：画面の下の中央に、FV と同じ深緑のボタンを浮かせる */
@media (min-width: 768px) {
  .call-bar { padding: 0 24px calc(20px + env(safe-area-inset-bottom)); text-align: center; }
  .call-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 36px 0 30px;
    border-radius: var(--radius-pill);
    background: var(--green);
    color: var(--on-dark);
    box-shadow: 0 4px 0 var(--green-deep), 0 14px 36px -8px rgba(30, 69, 51, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
  }
  .call-bar__btn:hover { color: var(--on-dark); background: #2F6249; }
  .call-bar__btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-deep), 0 10px 28px -8px rgba(30, 69, 51, .5); }
  .call-bar__icon { width: 22px; height: 22px; flex: none; }
  .call-bar__label { font-size: 17px; font-weight: 500; letter-spacing: .06em; }
  .call-bar__sep { opacity: .5; }
  .call-bar__num { font-family: var(--font-mincho); font-size: 20px; font-weight: 600; letter-spacing: .04em; }
}

@media (max-width: 767px) {
  .call-bar {
    padding: 8px 16px calc(10px + env(safe-area-inset-bottom));
  }

  .call-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    background: var(--green);
    color: var(--on-dark);
    box-shadow: 0 3px 0 var(--green-deep), var(--glow-green), inset 0 1px 0 rgba(255, 255, 255, .22);
    text-decoration: none;
    white-space: nowrap;
  }
  .call-bar__btn:hover { color: var(--on-dark); }
  .call-bar__icon { width: 18px; height: 18px; flex: none; }
  .call-bar__label { font-size: 14px; font-weight: 500; letter-spacing: .04em; }
  .call-bar__sep { opacity: .5; font-size: 13px; }
  .call-bar__num { font-family: var(--font-mincho); font-size: 16px; letter-spacing: .04em; }
}
@media (max-width: 359px) {
  .call-bar__label { font-size: 13px; letter-spacing: 0; }
  .call-bar__num { font-size: 15px; }
}

/* ---------- 15b. 段の地・波の区切り・見出しの英単語 ---------- */
/* 地の順番（元LPの並び）：top=bg → greeting=tint → office=bg → first=paper → worries=bg
   → services=tint → flow=bg → faq=tint → access=bg → contact=green-deep → footer=bg */
.fv, .greeting, .office-sec, .worries, .first, .services, .flow, .faq, .access, .contact {
  position: relative;
  overflow-x: clip;           /* 英単語がはみ出しても横スクロールを出さない（sticky は効く） */
  background: var(--sec-bg);
}
.greeting, .office-sec, .worries, .services, .flow, .faq, .access, .contact {
  padding-bottom: calc(var(--section-y) + var(--wave-h));
}
.first { padding-bottom: var(--wave-h); }   /* 最後の段のすぐ下に波 */

.fv         { --sec-bg: var(--bg);    --next-bg: var(--tint); }
.greeting   { --sec-bg: var(--tint);  --next-bg: var(--bg); }
.office-sec { --sec-bg: var(--bg);    --next-bg: var(--paper); }
.first      { --sec-bg: var(--paper); --next-bg: var(--bg); --wave-back: var(--tint); }
.worries    { --sec-bg: var(--bg);    --next-bg: var(--tint); }
.services   { --sec-bg: var(--tint);  --next-bg: var(--bg); }
.flow       { --sec-bg: var(--bg);    --next-bg: var(--tint); }
.faq        { --sec-bg: var(--tint);  --next-bg: var(--bg); }
.access     { --sec-bg: var(--bg);    --next-bg: var(--green-deep); }
.contact    { --sec-bg: var(--green-deep); --next-bg: var(--bg); }

/* --tint の地の上では罫線を少し濃く */
.services .ledger__list li { border-bottom-color: var(--line-strong); }

/* 英単語の色：--tint の地の上 / 深緑の地の上 */
.greeting, .services, .faq {
  --word-line: #C3D4BF;
  --word-dot: #C9D9C5;
}
.contact {
  --word-line: rgba(255, 255, 255, .14);
  --word-dot: rgba(255, 255, 255, .14);
}

.wave {
  position: absolute;
  left: 0;
  bottom: -1px;               /* 1px のすき間を出さない */
  width: 100%;
  height: calc(var(--wave-h) + 1px);
  fill: var(--next-bg);
  background: var(--wave-back, transparent);
  pointer-events: none;
}
.wave--flip { transform: scaleX(-1); }

/* 見出しの上：木口の印＋小さな英単語 */
.sec-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-mark__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--green-soft);
  white-space: nowrap;
}

/* 見出しの背後の薄い英単語（輪郭線＋点々） */
.bg-word {
  --wsize: min(220px, calc(128vw / var(--chars, 6)));
  position: absolute;
  z-index: -1;
  top: calc(30px - var(--wsize) * .425);   /* 見出しの文字と上下で半分ほど重なる */
  left: -.04em;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: var(--wsize);
  line-height: .85;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--word-line);
  background-image: radial-gradient(circle, var(--word-dot) 0 1px, transparent 1.4px);
  background-size: 5px 5px;
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}
.bg-word--center,
.sec-head--center .bg-word {
  left: 50%;
  transform: translateX(-50%);
}

/* #worries：8項目のリストの背後 */
.worries__body { position: relative; isolation: isolate; }
.worries__body .bg-word { top: calc(var(--wsize) * -.38); }

/* ---------- 16. 動き ---------- */
/* 隠す初期状態は html.js の下だけ。js クラスが無ければ全部が完成形で見える */
.js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
  transition:
    opacity var(--reveal-dur) var(--ease-reveal),
    transform var(--reveal-dur) var(--ease-reveal);
  transition-delay: calc(var(--i, 0) * var(--reveal-step));
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* FV の動きの順番（3つとも違う動き・同じゆるやかな止まり方でそろえる）
   ① 上「信頼と実績」：細い線が左から伸び → 広がった字間がすっと締まって現れる
   ② 大見出し：1行ずつ左から右へ立ち現れる → 手書き風の下線をゆっくり引く
   ③ 下の一文：下線を引き終わる頃、幕が上がるように下から静かにせり上がる */
html.js .fv__label::before {
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(.65, 0, .35, 1);
  transition-delay: .2s;
}
html.js .fv__label-text {
  opacity: 0;
  filter: blur(4px);
  letter-spacing: .9em;
  transition:
    opacity 1.4s cubic-bezier(.33, 0, .15, 1),
    filter 1.4s cubic-bezier(.33, 0, .15, 1),
    letter-spacing 1.8s cubic-bezier(.33, 0, .15, 1);
  transition-delay: .6s;
}
html.js.is-ready .fv__label::before { transform: scaleX(1); }
html.js.is-ready .fv__label-text { opacity: 1; filter: blur(0); letter-spacing: .32em; }

html.js .fv__staff-inner {
  opacity: 0;
  transform: translateY(105%);
  transition:
    transform 1.5s cubic-bezier(.22, 1, .36, 1),
    opacity 1.2s cubic-bezier(.33, 0, .15, 1);
  transition-delay: 5.2s;
}
html.js.is-ready .fv__staff-inner { opacity: 1; transform: none; }

/* FV h1：1行ずつ、左から右へ光が差すように静かに立ち現れる。
   1文字ずつは出さない（せわしなく見えるため）。跳ねず、ゆるやかに止まる。
   ぼかしが晴れ、少しだけ上へ浮き、字間がほんの少し締まって落ち着く。main.js が .is-in を付ける */
html.js .fv__title .fv__text {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(.12em);
  letter-spacing: .2em;
  -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
  mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  --rise: 2.4s;
  --rise-ease: cubic-bezier(.33, 0, .15, 1);
  transition:
    opacity 1.6s var(--rise-ease),
    filter 2s var(--rise-ease),
    transform var(--rise) var(--rise-ease),
    letter-spacing var(--rise) var(--rise-ease),
    -webkit-mask-position var(--rise) var(--rise-ease),
    mask-position var(--rise) var(--rise-ease);
  transition-delay: calc(.6s + var(--row, 0) * .9s);
}
html.js .fv__title.is-in .fv__text {
  opacity: 1;
  filter: blur(0);
  transform: none;
  letter-spacing: .12em;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}

/* 各行が出そろってから、蛍光ペンを左から右へ、手で押さえるようにゆっくりしっかり引く
   （出だしと終わりはゆっくり、真ん中は一定の速さ） */
html.js .fv__title .fv__underline path {
  stroke-dasharray: 1.1;
  stroke-dashoffset: 1.1;
  transition: stroke-dashoffset 2.2s cubic-bezier(.45, 0, .3, 1);
  transition-delay: calc(2.6s + var(--row, 0) * 1.1s);
}
html.js .fv__title.is-in .fv__underline path { stroke-dashoffset: 0; }

/* FV の絵：40px 下から 1.1s でせり上がる */
.js .fv__art {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: .5s;
}
.js.is-ready .fv__art { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .js .reveal,
  .js .fv__art,
  html.js .fv__label,
  html.js .fv__title .fv__text { opacity: 1; transform: none; filter: none; letter-spacing: .12em; -webkit-mask-image: none; mask-image: none; }
  html.js .fv__title .fv__underline path { stroke-dashoffset: 0; }
  html.js .fv__label::before { transform: none; }
  html.js .fv__label-text { opacity: 1; filter: none; letter-spacing: .32em; }
  html.js .fv__staff-inner { opacity: 1; transform: none; }
}
