/* よつかど経営コンサルティング（デモ）
   黒 × 白 × からし。からしは数字と線にだけ使う。
   あしらいは「四つ角」：区画や写真の角に、からしの太いL字の角の印を置く。図はまっすぐの線で。 */

:root {
  --ink: #111111;
  --ink-2: #2B2B2B;
  --ink-3: #3A3A3A;
  --paper: #FFFFFF;
  --gray: #F2F2EF;
  --gray-2: #E3E3DF;
  --must: #E1A93B;
  --must-2: #EDBE5E;
  --mute: #4F4F4F;
  --mute-w: #C4C4C4;
  --err: #B3261E;

  --jp: "M PLUS 1", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --num: "Inter", "M PLUS 1", "Helvetica Neue", Arial, sans-serif;

  --head-h: 76px;
  --wrap: 1180px;
  --line: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--jp);
  font-weight: 400;
  font-size: clamp(15px, .22vw + 14.2px, 17px);
  line-height: 1.85;
  letter-spacing: .03em;
  overflow-x: hidden;
  word-break: auto-phrase;
}
p, dd, li, td, th { text-wrap: pretty; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.4; font-feature-settings: "palt"; letter-spacing: .02em; text-wrap: balance; word-break: auto-phrase; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--must); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.n { font-family: var(--num); font-weight: 800; font-feature-settings: "tnum", "lnum"; letter-spacing: 0; }
.wrap { width: min(100% - clamp(32px, 6vw, 80px), var(--wrap)); margin-inline: auto; }

/* ---------- ロゴ ---------- */
.logo { display: block; height: 42px; width: auto; overflow: visible; }
.ym { fill: var(--must); }
.logo__a { font-family: var(--jp); font-weight: 800; font-size: 25px; fill: #fff; letter-spacing: .06em; }
.logo__b { font-family: var(--jp); font-weight: 400; font-size: 11.4px; fill: #DADADA; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px;
  font-family: var(--jp); font-weight: 800; font-size: 15px; letter-spacing: .06em; line-height: 1.3;
  text-decoration: none; border: var(--line) solid transparent; border-radius: 0; cursor: pointer;
  transition: transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--must { background: var(--must); color: var(--ink); border-color: var(--must); }
.btn--must:hover { background: var(--must-2); border-color: var(--must-2); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-w { background: transparent; color: #fff; border-color: #fff; }
.btn--line-w:hover { background: #fff; color: var(--ink); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 16px; }
.btn--xl { min-height: 70px; padding: 0 48px; font-size: 18px; }
.tlink { font-weight: 800; text-decoration: none; border-bottom: var(--line) solid var(--must); padding-bottom: 2px; }
.tlink:hover { border-bottom-color: currentColor; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: var(--ink); color: #fff; }
.hd__in { max-width: 1440px; margin: 0 auto; height: var(--head-h); padding: 0 clamp(16px, 2.6vw, 40px); display: flex; align-items: center; gap: 14px; }
.brand { display: block; text-decoration: none; flex: none; }
.demo { flex: none; font-family: var(--num); font-weight: 700; font-size: 10px; letter-spacing: .16em; color: #BDBDBD; border: 1px solid #5A5A5A; padding: 1px 6px 0; line-height: 1.6; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.gnav ul { display: flex; gap: clamp(16px, 1.7vw, 28px); }
.gnav ul a { position: relative; display: block; padding: 10px 0; font-size: 15px; text-decoration: none; letter-spacing: .05em; white-space: nowrap; }
.gnav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: var(--line); background: var(--must); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gnav ul a:hover::after, .gnav ul a[aria-current="page"]::after { transform: scaleX(1); }
.gnav ul a[aria-current="page"] { font-weight: 800; }
.gnav__act { display: flex; align-items: center; gap: 18px; }
.tel { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.25; white-space: nowrap; }
.tel__n { font-family: var(--num); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.tel__i { font-family: "Segoe UI Symbol", "Apple Symbols", var(--jp); font-weight: 400; font-variant-emoji: text; color: var(--must); }
.tel__h { font-size: 11px; color: var(--mute-w); }
.menu { display: none; margin-left: auto; width: 52px; height: 52px; background: none; border: 0; color: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu__bars { position: relative; display: block; width: 26px; height: 10px; }
.menu__bars i { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.menu__bars i:first-child { top: 0; }
.menu__bars i:last-child { bottom: 0; }
.menu__label { font-family: var(--num); font-weight: 700; font-size: 10px; letter-spacing: .14em; }
.is-menu .menu__bars i:first-child { transform: translateY(4px) rotate(45deg); }
.is-menu .menu__bars i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1180px) {
  .menu { display: flex; }
  .gnav {
    position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 28px;
    padding: 20px clamp(20px, 5vw, 48px) 40px; background: var(--ink); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .is-menu .gnav { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .is-menu { overflow: hidden; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { font-size: 19px; padding: 16px 0; border-bottom: 1px solid #333; }
  .gnav ul a::after { bottom: -1px; right: auto; width: 56px; }
  .gnav__act { flex-direction: column; align-items: stretch; gap: 16px; }
  .tel { align-items: flex-start; }
  .tel__n { font-size: 24px; }
  .gnav__act .btn { min-height: 60px; font-size: 17px; }
}
@media (max-width: 420px) {
  .logo { height: 36px; }
  .hd__in { gap: 10px; }
}

/* ---------- 四つ角の印 ---------- */
.frame { position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.cn { position: absolute; width: clamp(26px, 3vw, 40px); height: clamp(26px, 3vw, 40px); border: 0 solid var(--must); pointer-events: none; z-index: 2; }
.cn--tl { top: -10px; left: -10px; border-top-width: 6px; border-left-width: 6px; }
.cn--tr { top: -10px; right: -10px; border-top-width: 6px; border-right-width: 6px; }
.cn--bl { bottom: -10px; left: -10px; border-bottom-width: 6px; border-left-width: 6px; }
.cn--br { bottom: -10px; right: -10px; border-bottom-width: 6px; border-right-width: 6px; }

/* ---------- 区画 ---------- */
.sec { padding: clamp(64px, 8vw, 120px) 0; }
.calls { padding-top: clamp(48px, 5vw, 72px); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--gray { background: var(--gray); }
.h2 { position: relative; padding-top: 26px; font-size: clamp(25px, 1.8vw + 14px, 40px); margin-bottom: clamp(28px, 3.4vw, 48px); }
.h2::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-top: 5px solid var(--must); border-left: 5px solid var(--must); }

/* ---------- 最初の画面 ---------- */
.hero { display: grid; grid-template-columns: 2fr 1fr; background: var(--ink); color: #fff; min-height: clamp(520px, calc(100svh - var(--head-h) - 96px), 740px); }
.hero__ph { position: relative; overflow: hidden; }
.hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; }
.hero__ph .cn--tl { top: 24px; left: 24px; }
.hero__ph .cn--tr { top: 24px; right: 24px; }
.hero__ph .cn--bl { bottom: 24px; left: 24px; }
.hero__ph .cn--br { bottom: 24px; right: 24px; }
.hero__txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 3.6vw, 60px) clamp(24px, 3.4vw, 56px); }
.hero__h { font-size: clamp(28px, 2.85vw, 44px); line-height: 1.45; letter-spacing: .01em; margin-bottom: clamp(20px, 2vw, 30px); }
.hero__h span { display: block; white-space: nowrap; }
.hero__who { font-size: clamp(14.5px, .3vw + 13px, 16px); color: #E6E6E6; line-height: 1.9; margin-bottom: clamp(22px, 2.2vw, 32px); }
.hero__who a { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--must); }
.hero__act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero__note { font-size: 13px; color: #fff; margin: 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__ph { aspect-ratio: 3 / 2; }
  .hero__ph .cn--tl, .hero__ph .cn--tr { top: 14px; }
  .hero__ph .cn--bl, .hero__ph .cn--br { bottom: 14px; }
  .hero__ph .cn--tl, .hero__ph .cn--bl { left: 14px; }
  .hero__ph .cn--tr, .hero__ph .cn--br { right: 14px; }
  .hero__h { font-size: clamp(27px, 5.4vw, 40px); }
  .hero__act { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
}
@media (max-width: 420px) {
  .hero__act { flex-direction: column; align-items: stretch; }
  .hero__act .btn { width: 100%; }
}

/* ---------- こういうときに呼ばれます ---------- */
.calls__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.say { font-size: clamp(16px, .5vw + 13.5px, 19px); font-weight: 800; line-height: 1.8; padding-left: 18px; border-left: var(--line) solid var(--ink); max-width: 22em; }
.calls__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calls__i { position: relative; background: var(--gray); padding: clamp(22px, 2.4vw, 34px) clamp(16px, 2vw, 28px); min-height: clamp(130px, 13vw, 176px); display: flex; align-items: center; font-weight: 800; font-size: clamp(15px, .6vw + 11.5px, 20px); line-height: 1.6; font-feature-settings: "palt"; }
.calls__i::before { content: ""; position: absolute; width: clamp(26px, 2.6vw, 36px); height: clamp(26px, 2.6vw, 36px); border: 0 solid var(--must); }
.calls__i--tl::before { top: 0; left: 0; border-top-width: 6px; border-left-width: 6px; }
.calls__i--tr::before { top: 0; right: 0; border-top-width: 6px; border-right-width: 6px; }
.calls__i--bl::before { bottom: 0; left: 0; border-bottom-width: 6px; border-left-width: 6px; }
.calls__i--br::before { bottom: 0; right: 0; border-bottom-width: 6px; border-right-width: 6px; }
@media (max-width: 900px) {
  .calls__in { grid-template-columns: 1fr; }
  .calls__head .h2 { margin-bottom: 20px; }
  .calls__grid { order: 2; }
}
@media (max-width: 420px) {
  .calls__grid { gap: 10px; }
  .calls__i { padding: 22px 14px 20px; font-size: 14.5px; }
}

/* ---------- やっていること ---------- */
.work__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #444; }
.work__list li { padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2.4vw, 34px) 8px; border-left: 1px solid #444; }
.work__list li:first-child { border-left: 0; padding-left: 0; }
.work__n { display: block; color: var(--must); font-size: clamp(56px, 5.6vw, 92px); line-height: 1; letter-spacing: -.02em; margin-bottom: 18px; }
.work__list h3 { font-size: clamp(18px, .7vw + 13px, 22px); margin-bottom: 12px; }
.work__list p { color: #D2D2D2; font-size: clamp(14.5px, .2vw + 13.5px, 16px); }
.more-wrap { margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 900px) {
  .work__list { grid-template-columns: 1fr; border-top: 0; }
  .work__list li, .work__list li:first-child { border-left: 0; border-top: 1px solid #444; padding: 26px 0 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .work__n { grid-row: 1 / 3; font-size: 52px; margin: 0; }
  .work__list h3 { align-self: end; margin-bottom: 6px; }
}

/* ---------- 図解の共通 ---------- */
.dg { margin: 0; position: relative; }
.dg__t { position: relative; font-weight: 800; font-size: clamp(15px, .3vw + 13.5px, 17px); padding-left: 18px; margin-bottom: 18px; line-height: 1.5; }
.dg__t::before { content: ""; position: absolute; left: 0; top: .25em; width: 8px; height: 1em; background: var(--must); }
.dg__note { font-size: 12.5px; color: var(--mute); margin-top: 14px; }
.sec--ink .dg__note { color: #B5B5B5; }

/* C-4 粗利率1%の計算 */
.talk__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.c4 { background: var(--ink); color: #fff; padding: clamp(24px, 3.4vw, 48px); }
.c4 .dg__t { color: #fff; }
.c4 .dg__note { color: #B5B5B5; }
.c4__rows { border-top: 1px solid #3F3F3F; }
.c4__r { display: grid; grid-template-columns: 5.5em 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid #3F3F3F; }
.c4__r dt { color: #CFCFCF; font-size: 15px; }
.c4__r dd { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.c4__r .n { color: var(--must); font-size: clamp(22px, 1.6vw + 12px, 34px); line-height: 1.25; }
.c4__to { color: #fff; font-size: 20px; }
.c4__minus { font-size: 14.5px; font-weight: 800; color: #fff; }
.c4__bars { display: grid; gap: 6px; margin: 18px 0 22px; }
.c4__bar { display: block; height: 10px; background: #fff; transform-origin: left; }
.c4__bar--b { background: var(--must); position: relative; overflow: hidden; }
.c4__bar--b i { position: absolute; inset: 0 auto 0 0; width: 96.667%; background: #fff; }
.c4__way { border-top: var(--line) solid var(--must); padding: 16px 0 4px; }
.c4__way + .c4__way { border-top: 1px solid #3F3F3F; }
.c4__k { color: #CFCFCF; font-size: 14px; margin-bottom: 4px; }
.c4__v { font-size: clamp(15.5px, .4vw + 13.5px, 18px); font-weight: 800; line-height: 1.7; margin: 0; }
.c4__v .n { color: var(--must); font-size: 1.15em; white-space: nowrap; }
.c4__v .c4__big { font-size: clamp(30px, 2vw + 16px, 44px); line-height: 1.1; margin: 0 .1em; }
.c4__s { display: block; font-size: 14px; font-weight: 400; color: #D8D8D8; margin-top: 4px; }
.talk__say p { font-size: clamp(15.5px, .3vw + 14px, 18px); line-height: 1.95; }
.talk__say p:last-child { font-weight: 800; }
@media (max-width: 900px) { .talk__in { grid-template-columns: 1fr; } }

/* C-1 最初の3か月 */
.c1 { display: grid; grid-template-columns: repeat(3, 1fr) minmax(150px, .72fr); column-gap: 40px; row-gap: 16px; }
.c1__m { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.c1__box { position: relative; background: #fff; border: var(--line) solid var(--ink); padding: 0 clamp(16px, 1.6vw, 24px) 22px; }
.c1__box:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -40px; width: 40px; height: var(--line); background: var(--ink); }
.c1__box:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 5px); right: -38px; width: 0; height: 0; border-left: 9px solid var(--ink); border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; transform: translateX(-2px); z-index: 1; }
.c1__tab { display: inline-block; margin: calc(var(--line) * -1) 0 16px calc(clamp(16px, 1.6vw, 24px) * -1 - var(--line)); background: var(--must); color: var(--ink); font-weight: 800; font-size: 14px; padding: 6px 14px; letter-spacing: .06em; }
.c1__box h3 { font-size: clamp(17px, .6vw + 12.5px, 21px); margin-bottom: 10px; }
.c1__box p:not(.c1__tab) { font-size: 14.5px; line-height: 1.7; margin: 0; color: var(--mute); }
.c1__box p:not(.c1__tab) + p { margin-top: 4px; }
.c1__band { grid-column: 1 / 4; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; margin: 0; background: var(--ink); color: #fff; padding: 14px clamp(16px, 1.6vw, 24px); font-weight: 800; transform-origin: left; }
.c1__band .n { color: var(--must); font-size: 24px; margin-right: 2px; }
.c1__next { grid-column: 4; grid-row: 1 / 3; display: flex; align-items: center; position: relative; }
.c1__arw { position: absolute; left: -40px; top: calc(50% - 1.5px); width: 40px; height: var(--line); background: var(--ink); transform-origin: left; }
.c1__arw::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 9px solid var(--ink); border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; }
.c1__next p { width: 100%; margin: 0; border: var(--line) solid var(--ink); background: var(--must); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.c1__next p span { font-size: 14px; font-weight: 800; }
.c1__next strong { font-size: clamp(17px, .5vw + 13px, 21px); line-height: 1.4; }
.months__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: clamp(32px, 3.6vw, 48px); }
.months__foot p { margin: 0; max-width: 38em; }
.months__txt { margin-top: clamp(32px, 3.6vw, 48px); max-width: 44em; }
@media (max-width: 900px) {
  .c1 { grid-template-columns: 1fr; row-gap: 0; }
  .c1__m { grid-column: 1; grid-template-columns: 1fr; gap: 34px; }
  .c1__box:not(:last-child)::after { top: auto; bottom: -34px; right: auto; left: 36px; width: var(--line); height: 34px; }
  .c1__box:not(:last-child)::before { top: auto; bottom: -32px; right: auto; left: 31.5px; border-left: 6.5px solid transparent; border-right: 6.5px solid transparent; border-top: 9px solid var(--ink); border-bottom: 0; transform: none; }
  .c1__band { grid-column: 1; margin-top: 16px; }
  .c1__next { grid-column: 1; grid-row: auto; margin-top: 34px; }
  .c1__arw { left: 36px; top: -34px; width: var(--line); height: 34px; }
  .c1__arw::after { right: auto; left: -5px; top: auto; bottom: -2px; border-left: 6.5px solid transparent; border-right: 6.5px solid transparent; border-top: 9px solid var(--ink); border-bottom: 0; }
}

/* C-2 スポットと顧問 */
.c2__scroll { overflow-x: auto; }
.c2__t { width: 100%; border: var(--line) solid var(--ink); background: #fff; font-size: 15px; line-height: 1.6; }
.c2__t thead th { background: var(--ink); color: #fff; font-weight: 800; padding: 14px 16px; text-align: left; border-left: 1px solid #444; }
.c2__t thead td { background: var(--ink); }
.c2__t tbody th { text-align: left; font-weight: 800; padding: 14px 16px; background: var(--gray); width: 34%; vertical-align: top; }
.c2__t tbody td { padding: 14px 16px; border-left: 1px solid var(--gray-2); vertical-align: top; }
.c2__t tbody tr + tr > * { border-top: 1px solid var(--gray-2); }
.c2__t .n { font-size: 1.2em; }
.c2--sm .c2__t { font-size: 14px; }
.c2--sm .c2__t th, .c2--sm .c2__t td { padding: 11px 12px; }
@media (max-width: 420px) {
  .c2__t { font-size: 13.5px; }
  .c2__t th, .c2__t td, .c2__t thead th { padding: 10px 9px; }
  .c2__t tbody th { width: 30%; }
}

/* C-3 90分の中身 */
.c3__bar { display: flex; border: var(--line) solid var(--ink); height: 56px; }
.c3__bar span { flex: var(--w) 1 0; display: flex; align-items: center; padding: 0 12px; transform-origin: left; }
.c3__bar span + span { border-left: var(--line) solid var(--ink); }
.c3__bar span:nth-child(1) { background: var(--ink); color: #fff; }
.c3__bar span:nth-child(2) { background: var(--must); }
.c3__bar span:nth-child(3) { background: #fff; }
.c3__bar span:nth-child(4) { background: var(--ink); color: #fff; }
.c3__bar b { font-family: var(--num); font-weight: 800; font-size: 15px; }
.c3__bar span:nth-child(1) b, .c3__bar span:nth-child(4) b { color: var(--must); }
.c3__scale { position: relative; height: 30px; margin: 0 var(--line); }
.c3__scale span { position: absolute; top: 10px; left: calc(var(--at) / 90 * 100%); transform: translateX(-50%); font-family: var(--num); font-weight: 700; font-size: 12.5px; line-height: 1.4; white-space: nowrap; }
.c3__scale span::before { content: ""; position: absolute; left: 50%; top: -10px; width: 2px; height: 8px; background: var(--ink); }
.c3__scale span:first-child { transform: none; }
.c3__scale span:first-child::before { left: 0; }
.c3__scale span:last-child { transform: translateX(-100%); }
.c3__scale span:last-child::before { left: auto; right: 0; }
.c3__list { display: flex; margin-top: 16px; }
.c3__list li { flex: var(--w) 1 0; padding-right: 16px; display: flex; flex-direction: column; gap: 2px; }
.c3__list .n { font-size: 14px; color: var(--mute); }
.c3__list span { font-weight: 800; font-size: 15px; line-height: 1.55; }
.c3__list .c3__sub { font-weight: 400; font-size: 13.5px; color: var(--mute); }
.sec--ink .c3__bar { border-color: #fff; }
.sec--ink .c3__list .n, .sec--ink .c3__list .c3__sub { color: var(--mute-w); }
.c3--wide { margin-top: clamp(48px, 5vw, 72px); padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--gray-2); background: #fff; }
.c3--sm .c3__list { display: block; }
.c3--sm .c3__list li { display: grid; grid-template-columns: 4.2em 1fr; padding: 10px 0; border-top: 1px solid var(--gray-2); }
.c3--sm .c3__list li > span { grid-column: 2; }
.c3--sm .c3__list .n { grid-row: 1 / 3; color: var(--ink); font-size: 15px; }
@media (max-width: 900px) {
  .c3__list { display: block; }
  .c3__list li { display: grid; grid-template-columns: 4.2em 1fr; padding: 10px 0; border-top: 1px solid var(--gray-2); }
  .c3__list li > span { grid-column: 2; }
  .c3__list .n { grid-row: 1 / 3; color: var(--ink); font-size: 15px; }
}
@media (max-width: 700px) {
  .c3__bar { height: 46px; }
  .c3__bar span { padding: 0 6px; justify-content: center; }
  .c3__bar b { font-size: 13px; }
  .c3__list { display: block; }
  .c3__list li { display: grid; grid-template-columns: 4.2em 1fr; padding: 10px 0; border-top: 1px solid var(--gray-2); }
  .c3__list li > span { grid-column: 2; }
  .c3__list .n { grid-row: 1 / 3; color: var(--ink); font-size: 15px; }
}

/* C-5 固定費から組む */
.c5 { max-width: 560px; justify-self: end; width: 100%; }
.c5__top { position: relative; margin-bottom: 40px; }
.c5__top p { margin: 0; border: var(--line) solid var(--ink); padding: 16px 20px; font-weight: 800; font-size: clamp(15px, .3vw + 13.5px, 17px); line-height: 1.6; }
.c5__top .n { display: block; font-size: clamp(26px, 1.6vw + 16px, 36px); line-height: 1.2; margin-top: 4px; }
.c5__arw { position: absolute; left: 50%; bottom: -40px; width: var(--line); height: 34px; margin-left: -1.5px; background: var(--ink); transform-origin: bottom; }
.c5__arw::before { content: ""; position: absolute; left: -5px; top: -6px; border-left: 6.5px solid transparent; border-right: 6.5px solid transparent; border-bottom: 9px solid var(--ink); }
.c5__stack { display: flex; flex-direction: column-reverse; gap: 6px; }
.c5__b { display: grid; grid-template-columns: 7.5em 1fr; align-items: baseline; gap: 4px 14px; padding: 16px 20px; border: var(--line) solid var(--ink); }
.c5__k { font-weight: 800; font-size: 15px; grid-row: 1 / 3; }
.c5__v { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.c5__v .n { font-size: clamp(19px, .8vw + 14px, 24px); }
.c5__v small { font-size: 13px; }
.c5__b--1 { background: var(--ink); color: #fff; padding-block: 30px; }
.c5__b--1 .n { color: var(--must); }
.c5__b--1 small { color: var(--mute-w); }
.c5__b--2 { background: #fff; }
.c5__b--3 { background: var(--must); }

/* ---------- 料金（トップ） ---------- */
.price-top__in { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.plist__tax { font-size: 13px; color: var(--mute); text-align: right; margin: 0 0 6px; }
.plist { width: 100%; border-top: var(--line) solid var(--ink); margin-bottom: 28px; }
.plist tr { border-bottom: 1px solid var(--gray-2); }
.plist th { text-align: left; font-weight: 800; padding: 18px 12px 18px 0; font-size: clamp(15px, .3vw + 13.5px, 17px); }
.plist td { text-align: right; padding: 18px 0; white-space: nowrap; font-weight: 800; }
.plist td .n { font-size: clamp(22px, 1vw + 15px, 28px); }
.plist td small { display: block; font-weight: 400; font-size: 12.5px; color: var(--mute); }
@media (max-width: 900px) { .price-top__in { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .plist th { font-size: 14.5px; } }

/* ---------- 代表から（トップ） ---------- */
.rep__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.rep__txt p { color: #E2E2E2; max-width: 34em; }
.rep__txt .btn { margin-top: 18px; }
.rep__ph { max-width: 440px; justify-self: end; width: 100%; }
.rep__ph img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .rep__in { grid-template-columns: 1fr; }
  .rep__ph { order: -1; justify-self: start; max-width: 360px; }
}

/* ---------- よく聞かれること ---------- */
.faq-top__in, .faq__in { display: grid; grid-template-columns: 4fr 8fr; gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.qa__i { border-top: 2px solid var(--ink); padding: 22px 0 24px; }
.qa__i:last-child { border-bottom: 2px solid var(--ink); }
.qa dt { font-weight: 800; font-size: clamp(16px, .4vw + 14px, 19px); line-height: 1.6; margin-bottom: 8px; display: flex; gap: .55em; }
.qa dd { color: #2E2E2E; display: flex; gap: .55em; }
.faq-top .qa dt::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: .45em; border-top: 4px solid var(--must); border-left: 4px solid var(--must); }
.qa__more { grid-column: 2; margin-top: 24px; }
.qa__q, .qa__a { flex: none; color: var(--must); font-size: 1.05em; line-height: 1.6; }
.qa--full .qa__i { border-color: #4A4A4A; }
.qa--full dd { color: #D8D8D8; }
.qa--full .qa__a { color: #fff; }
@media (max-width: 900px) {
  .faq-top__in, .faq__in { grid-template-columns: 1fr; }
  .qa__more { grid-column: 1; }
}

/* ---------- 予約の帯 ---------- */
.cta { border-bottom: var(--line) solid var(--must); }
.cta__in { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.cta__txt p { color: #E2E2E2; max-width: 32em; }
.cta__act { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta__tel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; text-decoration: none; color: #fff; font-size: 14px; }
.cta__tel .n { font-size: clamp(24px, 1vw + 18px, 30px); color: var(--must); }
@media (max-width: 900px) {
  .cta__in { grid-template-columns: 1fr; }
  .cta__act .btn { width: 100%; }
}
@media (max-width: 420px) { .btn--xl { padding: 0 20px; font-size: 17px; } }

/* ---------- フッター ---------- */
.ft { background: var(--ink); color: #fff; padding: 56px 0 28px; }
.ft__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
.ft__logo { display: inline-block; margin-bottom: 18px; }
.ft__logo .logo { height: 46px; }
.ft__brand p { font-size: 14px; color: #CFCFCF; margin: 0 0 4px; }
.ft__brand a { text-decoration: none; }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; align-content: start; }
.ft__nav a { font-size: 14px; text-decoration: none; display: inline-block; padding: 6px 0; }
.ft__nav a:hover { text-decoration: underline; text-decoration-color: var(--must); text-underline-offset: 4px; }
.ft__copy { text-align: center; margin: 44px 0 0; color: #9A9A9A; font-size: 12px; }

/* ---------- 下層の頭 ---------- */
.ph { padding: clamp(40px, 5vw, 80px) 0 clamp(44px, 5vw, 72px); border-bottom: var(--line) solid var(--ink); }
.crumb { font-size: 13px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.crumb a { color: var(--mute); }
.ph__h { font-size: clamp(32px, 3.6vw + 16px, 62px); line-height: 1.3; letter-spacing: .03em; }
.ph__mk { display: block; width: clamp(30px, 3vw, 44px); height: clamp(30px, 3vw, 44px); border-top: 7px solid var(--must); border-left: 7px solid var(--must); margin-bottom: 18px; }
.ph__lead { font-size: clamp(15.5px, .35vw + 14px, 18px); max-width: 38em; margin-top: 22px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 6px; border: 2px solid var(--ink); text-decoration: none; font-weight: 800; font-size: 14.5px; transition: transform .25s var(--ease); }
.jump a:hover { transform: translateY(-2px); }
.jump .n { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: var(--must); font-size: 14px; }

/* ---------- 支援の内容 ---------- */
.svc__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.svc__row--dg { grid-template-columns: 5fr 6fr; }
.svc__h { display: flex; align-items: center; gap: 16px; font-size: clamp(22px, 1.4vw + 13px, 32px); margin-bottom: 22px; }
.chip { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--must); font-size: 20px; line-height: 1; }
.chip--w { background: transparent; border: var(--line) solid var(--must); }
.svc__txt p { max-width: 30em; }
.svc__small { font-size: 13.5px; color: var(--mute); border-top: 1px solid var(--gray-2); padding-top: 14px; margin-top: 18px; }
.sec--ink .svc__txt p { color: #E2E2E2; }
.svc__ph img { aspect-ratio: 3 / 2; }
.svc__ph--tall { max-width: 400px; justify-self: center; width: 100%; }
.svc__ph--tall img { aspect-ratio: 524 / 776; }
.p-service #s4 .svc__ph img { aspect-ratio: 1024 / 860; }
.next { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.next__in { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
@media (max-width: 900px) {
  .svc__row, .svc__row--dg { grid-template-columns: 1fr; }
  .svc__ph { order: -1; }
  .c5 { justify-self: stretch; }
}
@media (max-width: 420px) { .next__in .btn { width: 100%; } }

/* ---------- 料金 ---------- */
.diff__in { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.c2--lg .c2__t { font-size: 16px; }
.c2--lg .c2__t th, .c2--lg .c2__t td { padding: 16px 20px; }
.fee__box { position: relative; background: #fff; padding: clamp(10px, 2vw, 28px); }
.fee__box .cn { z-index: 2; }
.fee__t { width: 100%; font-size: 15.5px; }
.fee__t thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 800; padding: 14px 18px; font-size: 14px; letter-spacing: .08em; }
.fee__t tbody th { text-align: left; font-weight: 800; padding: 20px 18px; width: 22%; vertical-align: top; font-size: clamp(15.5px, .3vw + 14px, 18px); }
.fee__t tbody td { padding: 20px 18px; vertical-align: top; line-height: 1.7; }
.fee__t tbody tr { border-bottom: 1px solid var(--gray-2); }
.fee__p { text-align: right; white-space: nowrap; font-weight: 800; }
.fee__p .n { font-size: clamp(22px, 1vw + 15px, 28px); }
.fee__p small { display: block; font-weight: 400; font-size: 12.5px; color: var(--mute); }
.fee__note { font-size: 13.5px; color: var(--mute); margin-top: 22px; }
@media (max-width: 900px) { .diff__in { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .fee__t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee__t, .fee__t tbody, .fee__t tr, .fee__t th, .fee__t td { display: block; width: auto; }
  .fee__t tbody tr { padding: 18px 8px; }
  .fee__t tbody th { padding: 0 0 6px; }
  .fee__t tbody td { padding: 0; }
  .fee__p { text-align: left; margin-top: 8px; }
}

/* ---------- 代表のこと ---------- */
.ph--prof { padding-top: clamp(40px, 5vw, 72px); }
.prof__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.prof__ph { max-width: 460px; width: 100%; }
.prof__ph img { aspect-ratio: 4 / 5; }
.prof__name { margin-top: 28px; font-size: clamp(24px, 1.4vw + 16px, 34px); font-weight: 800; letter-spacing: .08em; }
.prof__name span { display: block; font-size: 14px; font-weight: 400; color: var(--mute); letter-spacing: .1em; }
.story__blk { display: grid; grid-template-columns: 4fr 8fr; gap: 0 clamp(32px, 5vw, 72px); }
.story__blk .h2 { grid-row: 1 / 3; }
.story__blk p { grid-column: 2; max-width: 34em; }
.why__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.why__txt p { color: #E2E2E2; max-width: 32em; }
.why__txt p:last-child { font-weight: 800; color: #fff; }
.xroad { display: block; width: 100%; max-width: 340px; margin-left: auto; }
.xroad__blk path { fill: #232323; }
.xroad__mk path { fill: none; stroke: var(--must); stroke-width: 10; stroke-linecap: square; }
.xroad__ln path { fill: none; stroke: #6B6B6B; stroke-width: 3; }
.xroad__of { fill: #fff; }
.hist { width: 100%; max-width: 820px; border-top: var(--line) solid var(--ink); }
.hist tr { border-bottom: 1px solid #CFCFCA; }
.hist th { text-align: left; font-weight: 800; padding: 16px 16px 16px 0; width: 8em; white-space: nowrap; vertical-align: top; }
.hist td { padding: 16px 0; }
.hist .n { font-size: 1.05em; }
@media (max-width: 900px) {
  .prof__in { grid-template-columns: 1fr; }
  .prof__ph { max-width: 360px; order: 2; }
  .story__blk { grid-template-columns: 1fr; }
  .story__blk p { grid-column: 1; }
  .why__in { grid-template-columns: 1fr; }
  .xroad { margin: 0; max-width: 240px; }
}
@media (max-width: 420px) { .hist th { width: 5.5em; } }

/* ---------- 相談の流れ ---------- */
.before__in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.before__ph { margin-top: 80px; }
.before__ph img { aspect-ratio: 4 / 5; object-position: 40% 50%; }
.steps__i { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 36px; }
.steps__i:not(:last-child)::before { content: ""; position: absolute; left: 22.5px; top: 56px; bottom: 8px; width: var(--line); background: var(--ink); }
.steps__i h3 { font-size: clamp(18px, .6vw + 14px, 22px); margin: 8px 0 10px; }
.steps__line { background: var(--gray); padding: 12px 16px; font-size: 14.5px; }
.after__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) {
  .before__in, .after__in { grid-template-columns: 1fr; }
  .before__ph { margin-top: 0; max-width: 460px; }
  .before__ph img { aspect-ratio: 3 / 2; }
}

/* ---------- お問い合わせ ---------- */
.form-sec__in { max-width: 780px; }
.f { margin: 0 0 26px; border: 0; padding: 0; min-width: 0; }
.f__l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; font-size: 15.5px; margin-bottom: 10px; padding: 0; }
.req { font-size: 11px; font-weight: 800; background: var(--ink); color: #fff; padding: 2px 8px; letter-spacing: .08em; line-height: 1.6; }
.f__s { font-size: 12.5px; font-weight: 400; color: var(--mute); }
.f input[type="text"], .f input[type="tel"], .f input[type="email"], .f textarea {
  width: 100%; font: inherit; font-size: 16px; letter-spacing: .02em; color: var(--ink);
  padding: 13px 16px; border: 2px solid var(--ink); border-radius: 0; background: #fff;
}
.f textarea { resize: vertical; line-height: 1.7; }
.f input:focus-visible, .f textarea:focus-visible { outline: 3px solid var(--must); outline-offset: 2px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 12px; border: 2px solid #C9C9C4; background: #fff; cursor: pointer; font-size: 15px; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--gray); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.opt--agree { border: 0; padding: 0; background: none !important; }
.opt--agree a { font-weight: 800; }
.f--send { margin-top: 36px; }
.f--send .btn { min-width: min(100%, 340px); }
.form__tel { font-size: 14.5px; }
.form__tel a { text-decoration: none; }
.form__tel .n { font-size: 20px; }
.form.is-checked input:invalid, .form.is-checked textarea:invalid { border-color: var(--err); }
.form.is-checked .f--need.is-bad .opt { border-color: var(--err); }
.form.is-checked .opt--agree input:invalid + span { color: var(--err); }
.office__in { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.office__ph img { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .office__in { grid-template-columns: 1fr; } }

/* ============ 動き（JS が html に .js を付けたときだけ隠す） ============ */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes in-tl { from { opacity: 0; transform: translate(-14px, -14px); } to { opacity: 1; transform: none; } }
@keyframes in-tr { from { opacity: 0; transform: translate(14px, -14px); } to { opacity: 1; transform: none; } }
@keyframes in-bl { from { opacity: 0; transform: translate(-14px, 14px); } to { opacity: 1; transform: none; } }
@keyframes in-br { from { opacity: 0; transform: translate(14px, 14px); } to { opacity: 1; transform: none; } }
@keyframes ym-tl { from { transform: translate(-5px, -5px); } to { transform: none; } }
@keyframes ym-tr { from { transform: translate(5px, -5px); } to { transform: none; } }
@keyframes ym-bl { from { transform: translate(-5px, 5px); } to { transform: none; } }
@keyframes ym-br { from { transform: translate(5px, 5px); } to { transform: none; } }

/* 読み込み時：ロゴの四つ角が寄る・最初の画面の文字が順に上がる */
.js .hd .ym--tl { animation: ym-tl .8s var(--ease) .1s both; }
.js .hd .ym--tr { animation: ym-tr .8s var(--ease) .18s both; }
.js .hd .ym--bl { animation: ym-bl .8s var(--ease) .26s both; }
.js .hd .ym--br { animation: ym-br .8s var(--ease) .34s both; }
.js .hero__ph img { animation: fade .9s ease both; }
.js .hero__ph .cn--tl, .js .frame.is-load .cn--tl { animation: in-tl .8s var(--ease) .35s both; }
.js .hero__ph .cn--tr, .js .frame.is-load .cn--tr { animation: in-tr .8s var(--ease) .45s both; }
.js .hero__ph .cn--bl, .js .frame.is-load .cn--bl { animation: in-bl .8s var(--ease) .55s both; }
.js .hero__ph .cn--br, .js .frame.is-load .cn--br { animation: in-br .8s var(--ease) .65s both; }
.js .hero__h span { animation: rise .7s var(--ease) both; }
.js .hero__h span:nth-child(1) { animation-delay: .15s; }
.js .hero__h span:nth-child(2) { animation-delay: .27s; }
.js .hero__h span:nth-child(3) { animation-delay: .39s; }
.js .hero__h span:nth-child(4) { animation-delay: .51s; }
.js .hero__who { animation: rise .7s var(--ease) .7s both; }
.js .hero__act { animation: rise .7s var(--ease) .82s both; }
.js .ph__mk { animation: in-tl .7s var(--ease) .1s both; }
.js .ph__h, .js .ph__lead, .js .jump, .js .prof__name { animation: rise .7s var(--ease) .2s both; }
.js .ph__lead, .js .prof__name { animation-delay: .32s; }
.js .jump { animation-delay: .42s; }

/* 見えたら出す */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .calls__grid .rv:nth-child(2) { transition-delay: .08s; }
.js .calls__grid .rv:nth-child(3) { transition-delay: .16s; }
.js .calls__grid .rv:nth-child(4) { transition-delay: .24s; }
.js .work__list .rv:nth-child(2) { transition-delay: .1s; }
.js .work__list .rv:nth-child(3) { transition-delay: .2s; }
/* 写真の角の印は、写真が出てから寄る */
.js .frame.rv .cn { opacity: 0; transition: opacity .5s ease .3s, transform .7s var(--ease) .3s; }
.js .frame.rv .cn--tl { transform: translate(-14px, -14px); }
.js .frame.rv .cn--tr { transform: translate(14px, -14px); }
.js .frame.rv .cn--bl { transform: translate(-14px, 14px); }
.js .frame.rv .cn--br { transform: translate(14px, 14px); }
.js .frame.rv.is-in .cn { opacity: 1; transform: none; }
.js .fee__box.rv .cn { opacity: 0; transition: opacity .5s ease .3s, transform .7s var(--ease) .3s; }
.js .fee__box.rv .cn--tl { transform: translate(-14px, -14px); }
.js .fee__box.rv .cn--tr { transform: translate(14px, -14px); }
.js .fee__box.rv .cn--bl { transform: translate(-14px, 14px); }
.js .fee__box.rv .cn--br { transform: translate(14px, 14px); }
.js .fee__box.rv.is-in .cn { opacity: 1; transform: none; }

/* 図解の動き */
.js .dg .dg__t, .js .dg .dg__note { opacity: 0; transition: opacity .6s ease; }
.js .dg.is-in .dg__t, .js .dg.is-in .dg__note { opacity: 1; }
.js .dg.is-in .dg__note { transition-delay: 1.2s; }
/* C-4: 上から順に計算が出る。棒は左から伸びる */
.js .c4 { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease); }
.js .c4.is-in { opacity: 1; transform: none; }
.js .c4 .c4__r, .js .c4 .c4__way { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .6s var(--ease); }
.js .c4.is-in .c4__r, .js .c4.is-in .c4__way { opacity: 1; transform: none; }
.js .c4.is-in .c4__r:nth-child(1) { transition-delay: .2s; }
.js .c4.is-in .c4__r:nth-child(2) { transition-delay: .4s; }
.js .c4.is-in .c4__r:nth-child(3) { transition-delay: .6s; }
.js .c4.is-in .c4__way:nth-of-type(1) { transition-delay: 1.3s; }
.js .c4.is-in .c4__way + .c4__way { transition-delay: 1.5s; }
.js .c4 .c4__bar { transform: scaleX(0); transition: transform .9s var(--ease); }
.js .c4.is-in .c4__bar--a { transform: none; transition-delay: .75s; }
.js .c4.is-in .c4__bar--b { transform: none; transition-delay: .9s; }
/* C-1: 1か月目から順に箱が出て、矢印が伸びる */
.js .c1 .c1__box, .js .c1 .c1__next p { opacity: 0; transform: translateX(-16px); transition: opacity .5s ease, transform .6s var(--ease); }
.js .c1 .c1__box::after, .js .c1 .c1__box::before { opacity: 0; transition: opacity .3s ease; }
.js .c1 .c1__band, .js .c1 .c1__arw { transform: scaleX(0); transition: transform .7s var(--ease); }
.js .c1.is-in .c1__box, .js .c1.is-in .c1__next p { opacity: 1; transform: none; }
.js .c1.is-in .c1__box::after, .js .c1.is-in .c1__box::before { opacity: 1; }
.js .c1.is-in .c1__band, .js .c1.is-in .c1__arw { transform: none; }
.js .c1.is-in .c1__box:nth-child(1) { transition-delay: .1s; }
.js .c1.is-in .c1__box:nth-child(1)::after, .js .c1.is-in .c1__box:nth-child(1)::before { transition-delay: .35s; }
.js .c1.is-in .c1__box:nth-child(2) { transition-delay: .45s; }
.js .c1.is-in .c1__box:nth-child(2)::after, .js .c1.is-in .c1__box:nth-child(2)::before { transition-delay: .7s; }
.js .c1.is-in .c1__box:nth-child(3) { transition-delay: .8s; }
.js .c1.is-in .c1__band { transition-delay: 1.05s; }
.js .c1.is-in .c1__arw { transition-delay: 1.3s; }
.js .c1.is-in .c1__next p { transition-delay: 1.5s; }
@media (max-width: 900px) {
  .js .c1 .c1__box, .js .c1 .c1__next p { transform: translateY(14px); }
  .js .c1 .c1__arw { transform: scaleY(0); transform-origin: top; }
  .js .c1.is-in .c1__arw { transform: none; }
}
/* C-2: 表の行が上から出る */
.js .c2 tbody tr { opacity: 0; transition: opacity .5s ease; }
.js .c2.is-in tbody tr { opacity: 1; }
.js .c2.is-in tbody tr:nth-child(2) { transition-delay: .12s; }
.js .c2.is-in tbody tr:nth-child(3) { transition-delay: .24s; }
.js .c2.is-in tbody tr:nth-child(4) { transition-delay: .36s; }
.js .c2.is-in tbody tr:nth-child(5) { transition-delay: .48s; }
/* C-3: 90分の帯が左から順に埋まる */
.js .c3 .c3__bar span { transform: scaleX(0); transition: transform .5s var(--ease); }
.js .c3.is-in .c3__bar span { transform: none; }
.js .c3.is-in .c3__bar span:nth-child(2) { transition-delay: .35s; }
.js .c3.is-in .c3__bar span:nth-child(3) { transition-delay: .7s; }
.js .c3.is-in .c3__bar span:nth-child(4) { transition-delay: 1.05s; }
.js .c3 .c3__scale, .js .c3 .c3__list li { opacity: 0; transition: opacity .5s ease; }
.js .c3.is-in .c3__scale { opacity: 1; transition-delay: .2s; }
.js .c3.is-in .c3__list li { opacity: 1; }
.js .c3.is-in .c3__list li:nth-child(1) { transition-delay: .3s; }
.js .c3.is-in .c3__list li:nth-child(2) { transition-delay: .65s; }
.js .c3.is-in .c3__list li:nth-child(3) { transition-delay: 1s; }
.js .c3.is-in .c3__list li:nth-child(4) { transition-delay: 1.35s; }
/* C-5: 土台の固定費から上へ積み上がる */
.js .c5 .c5__b { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .6s var(--ease); }
.js .c5 .c5__top p { opacity: 0; transform: translateY(-10px); transition: opacity .5s ease, transform .6s var(--ease); }
.js .c5 .c5__arw { transform: scaleY(0); transition: transform .5s var(--ease); }
.js .c5.is-in .c5__b, .js .c5.is-in .c5__top p { opacity: 1; transform: none; }
.js .c5.is-in .c5__arw { transform: none; transition-delay: 1.15s; }
.js .c5.is-in .c5__b--1 { transition-delay: .15s; }
.js .c5.is-in .c5__b--2 { transition-delay: .5s; }
.js .c5.is-in .c5__b--3 { transition-delay: .85s; }
.js .c5.is-in .c5__top p { transition-delay: 1.4s; }
/* 四つ角の図（代表のこと）：角の印が四方から寄る */
.xroad__mk path { transform-box: fill-box; }
.js .why__fig .xroad__mk path { opacity: 0; transition: opacity .5s ease, transform .8s var(--ease); }
.js .why__fig .xroad__mk path:nth-child(1) { transform: translate(-16px, -16px); }
.js .why__fig .xroad__mk path:nth-child(2) { transform: translate(16px, -16px); transition-delay: .1s; }
.js .why__fig .xroad__mk path:nth-child(3) { transform: translate(-16px, 16px); transition-delay: .2s; }
.js .why__fig .xroad__mk path:nth-child(4) { transform: translate(16px, 16px); transition-delay: .3s; }
.js .why__fig.is-in .xroad__mk path { opacity: 1; transform: none; }
.js .why__fig .xroad__of { opacity: 0; transition: opacity .6s ease .9s; }
.js .why__fig.is-in .xroad__of { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
