/* ==========================================================================
   RIVIA&CO. Corporate Site
   白基調・黒文字のミニマルデザイン
   ========================================================================== */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f8f8f7;
  --c-text: #111111;
  --c-sub: #4a4a4a;
  --c-muted: #6b6b6b;  /* 白背景で文字のコントラスト比 4.5:1 以上（WCAG AA） */
  --c-line: #eeeeee;
  --c-line-strong: #d9d9d9;
  --c-accent: #1a472a;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1200px;
  --gutter: 40px;
  --header-h: 72px;
  --section-y: 140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 899px) {
  :root {
    --gutter: 20px;
    --header-h: 56px;
    --section-y: 88px;
  }
}

/* ---------- Reset / Base ---------- */
*, *::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(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
  /* 日本語は文節（HTML 側の <wbr>）でのみ改行し、単語の途中で折り返さない */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
n-w { word-break: normal; line-break: strict; text-wrap: pretty; } /* 本文は行末まで詰めて折り返す（長い段落は両端揃え） */
n-b { white-space: nowrap; } /* 文末の短い文節は直前の文節とまとめて改行しない */
/* 長い段落（60字超）は両端揃えにして、右端のガタつきをなくす（最終行は左寄せ） */
:is(p, li, dd, blockquote):has(> n-w.j) { text-align: justify; text-justify: inter-character; }
img { max-width: 100%; height: auto; display: block; }
/* hidden 属性は、各要素の display 指定より常に優先して非表示にする（絞り込み・予約公開で使用） */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--c-text); outline-offset: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; }
/* セクション間の区切り線は使わない。白い背景のセクションが続くときは、上の余白を詰めて間延びさせない */
.section:not(.section--soft):not(.cta) + .section:not(.section--soft):not(.cta) { padding-top: 0; }
.section--soft { background: var(--c-bg-soft); }
.sp-only { display: none; }
@media (max-width: 899px) { .sp-only { display: inline; } .pc-only { display: none; } }

/* ---------- Typography ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.section-head { margin-bottom: 72px; }
.section-head--center { text-align: center; }
.section-lead { margin-top: 24px; color: var(--c-sub); max-width: 720px; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 899px) { .section-head { margin-bottom: 48px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 18px 40px;
  border: 1px solid var(--c-text);
  background: var(--c-text); color: #fff;
  font-size: 14px; letter-spacing: 0.12em;
  transition: background .3s, color .3s;
}
.btn:hover { background: #fff; color: var(--c-text); }
.btn--ghost { background: transparent; color: var(--c-text); }
.btn--ghost:hover { background: var(--c-text); color: #fff; }
.btn--lg { padding: 24px 64px; font-size: 15px; }
.arrow { display: inline-block; width: 28px; height: 1px; background: currentColor; position: relative; transition: transform .4s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: 0; width: 7px; height: 1px; background: currentColor; transform: rotate(35deg); transform-origin: right center; }
a:hover > .arrow, .btn:hover .arrow, a:hover .arrow { transform: translateX(6px); }

/* ==========================================================================
   Header
   PC: ロゴ / 中央ナビ / お問い合わせボタン の1段
   SP: 1段目にロゴとお問い合わせ、2段目にナビを常時表示（ハンバーガーなし）
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--c-line); }
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-h);
}
.logo { font-family: var(--font-en); font-size: 26px; font-weight: 500; letter-spacing: 0.1em; white-space: nowrap; }
.logo img { display: block; height: 30px; width: auto; }
.logo span { color: var(--c-accent); }

.gnav { justify-self: center; }
.gnav__list { display: flex; align-items: center; gap: 48px; }
.gnav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-en); font-size: 16px; letter-spacing: 0.14em;
  padding: 8px 0; position: relative;
}
.gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--c-text); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.gnav__link:hover::after, .gnav__link[aria-current="page"]::after { transform: scaleX(1); }
.gnav__caret { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
.gnav__item--has-sub { position: relative; }
.gnav__item--has-sub.is-open .gnav__caret { transform: translateY(1px) rotate(225deg); }

.subnav {
  position: absolute; top: calc(100% + 18px); left: 50%;
  min-width: 400px; padding: 16px 0; white-space: nowrap;
  background: #fff; border: 1px solid var(--c-line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* ホバーの隙間対策 */
@media (min-width: 900px) {
  .subnav { max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
}
.subnav a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 12px 28px; font-size: 14px; letter-spacing: 0.06em; transition: background .2s; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--c-bg-soft); }
.subnav a .arrow { width: 16px; }
@media (hover: hover) and (min-width: 900px) {
  .gnav__item--has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.gnav__item--has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.header__cta { padding: 10px 22px; font-size: 12px; }

@media (max-width: 1099px) and (min-width: 900px) {
  .gnav__list { gap: 28px; }
}
.menu-btn { display: none; }
@media (max-width: 899px) {
  /* スマホ：ロゴ・相談ボタン・メニューボタン（3本線）の1段。ナビは全画面メニューに集約 */
  .header__inner { grid-template-columns: 1fr auto auto; gap: 0 10px; height: var(--header-h); }
  .logo { font-size: 22px; }
  .logo img { height: 22px; }
  .header__cta { padding: 7px 14px; font-size: 11px; letter-spacing: 0.06em; }
  .menu-btn {
    display: grid; align-content: center; justify-items: center; gap: 5px;
    width: 40px; height: 40px; margin-right: -8px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--c-text);
  }
  .menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .header.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .header.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .header.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .gnav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    justify-self: stretch; align-self: stretch; /* PC 用の中央寄せを解除（グリッド内の固定配置は幅が縮むため） */
    background: #fff; border-top: 1px solid var(--c-line);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .header.is-menu-open .gnav { opacity: 1; visibility: visible; transform: none; }
  .gnav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; padding: 4px 0 40px; }
  .gnav__list > li { border-bottom: 1px solid var(--c-line); }
  .gnav__link { display: block; width: 100%; padding: 18px var(--gutter); font-size: 18px; letter-spacing: 0.1em; text-align: left; }
  .gnav__link[aria-current="page"]::after { display: none; }
  /* Service は「Service」をタップしたときだけ開く（アコーディオン） */
  .gnav__item--has-sub { position: static; }
  .gnav__item--has-sub > .gnav__link { display: flex; justify-content: space-between; align-items: center; }
  .gnav__item--has-sub.is-open > .gnav__link { padding-bottom: 6px; }
  .subnav, .gnav__item--has-sub.is-open .subnav {
    position: static; width: auto; min-width: 0; max-height: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 12px; white-space: normal; background: none;
  }
  .gnav__item--has-sub:not(.is-open) .subnav { display: none; }
  .subnav::before { display: none; }
  .subnav a { padding: 10px var(--gutter); }
  .subnav__tabs { background: none; border-bottom: 0; padding-bottom: 4px; }
  html.is-menu-open { overflow: hidden; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--c-line); padding: 96px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; }
.footer__copy { margin-top: 24px; color: var(--c-sub); font-size: 14px; max-width: 460px; }
.footer__address { margin-top: 24px; color: var(--c-muted); font-size: 13px; font-style: normal; }
.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.footer__nav h3 { font-family: var(--font-en); font-weight: 500; font-size: 17px; letter-spacing: 0.14em; margin-bottom: 12px; }
.footer__nav li a { font-size: 13px; color: var(--c-sub); line-height: 2.2; transition: color .2s; }
.footer__nav li a:hover, .footer__nav h3 a:hover { color: var(--c-muted); }
.footer__service { grid-row: span 5; }
.footer__group { font-size: 11px; color: var(--c-muted); letter-spacing: 0.12em; margin-top: 10px; }
.footer__group:first-child { margin-top: 0; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--c-line); font-size: 12px; color: var(--c-muted); font-family: var(--font-en); letter-spacing: 0.08em; }
.footer__bottom a { font-family: var(--font-sans); transition: color .2s; }
.footer__bottom a:hover { color: var(--c-text); }
@media (max-width: 899px) {
  .footer { padding-top: 72px; }
  .footer__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__bottom { margin-top: 56px; }
}

/* ==========================================================================
   Top page
   ========================================================================== */
.hero { min-height: calc(88vh - var(--header-h)); display: flex; align-items: center; padding: 120px 0; position: relative; overflow: hidden; isolation: isolate; }
/* 背景の縦線は文字・ボタンの後ろに置く */
.hero__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__lines span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--c-line); }
.hero__title {
  font-family: var(--font-serif); font-weight: 200;
  font-size: clamp(38px, 6.4vw, 84px); line-height: 1.45; letter-spacing: 0.08em;
}
.hero__sub { margin-top: 48px; color: var(--c-sub); font-size: 15px; line-height: 2.2; max-width: 620px; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 0; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.3em; color: var(--c-muted); writing-mode: vertical-rl; padding-bottom: 88px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 72px; background: var(--c-muted); animation: scrollLine 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 899px) { .hero { padding: 80px 0 120px; } .hero__title { font-size: min(8.2vw, 48px); letter-spacing: 0.04em; } .hero__sub { margin-top: 32px; font-size: 14px; } .hero__scroll { display: none; } .hero__lines { display: none; } }

/* Vision */
.vision__copy { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.6; letter-spacing: 0.08em; }
.vision__lead { color: var(--c-sub); line-height: 2.3; }
.vision__label { margin-top: 96px; padding-bottom: 20px; border-bottom: 1px solid var(--c-text); font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.06em; }
.vision__steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.vision__step { position: relative; padding: 36px 32px 40px 0; }
.vision__step + .vision__step { padding-left: 32px; border-left: 1px solid var(--c-line); }
.vision__step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -6px; width: 11px; height: 11px; background: #fff; border-top: 1px solid var(--c-muted); border-right: 1px solid var(--c-muted); transform: rotate(45deg); z-index: 1; }
.vision__num { font-family: var(--font-en); font-weight: 300; font-size: 40px; line-height: 1; }
.vision__en { display: block; margin-top: 10px; font-family: var(--font-en); font-size: 13px; color: var(--c-muted); letter-spacing: 0.2em; text-transform: uppercase; }
.vision__title { margin-top: 18px; font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: 0.1em; }
.vision__text { margin-top: 14px; font-size: 14px; color: var(--c-sub); line-height: 2.1; }
.vision__outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.vision__outcomes li { padding: 24px 28px; background: var(--c-bg-soft); font-family: var(--font-serif); font-weight: 300; font-size: 15px; line-height: 1.9; }
.vision__outcomes span { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--c-muted); letter-spacing: 0.12em; margin-bottom: 6px; }
@media (max-width: 1099px) {
  .vision__steps { grid-template-columns: repeat(2, 1fr); }
  .vision__step:nth-child(3) { padding-left: 0; border-left: 0; }
  .vision__step:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .vision__step:nth-child(2)::after { display: none; }
}
@media (max-width: 899px) {

  .vision__label { margin-top: 64px; font-size: 15px; }
  .vision__steps { grid-template-columns: 1fr; }
  .vision__step, .vision__step + .vision__step, .vision__step:nth-child(3) { padding: 28px 0 32px; border-left: 0; border-top: 1px solid var(--c-line); }
  .vision__step:first-child { border-top: 0; }
  .vision__step:not(:last-child)::after, .vision__step:nth-child(2)::after { display: block; top: auto; bottom: -6px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .vision__outcomes { grid-template-columns: 1fr; margin-top: 16px; }
}

/* News */
.news { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.news__list { border-top: 1px solid var(--c-line); }
.news__item { display: grid; grid-template-columns: 110px 96px 1fr; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.news__date { font-family: var(--font-en); font-size: 16px; letter-spacing: 0.1em; color: var(--c-muted); }
.tag { display: inline-block; border: 1px solid var(--c-line-strong); padding: 2px 14px; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.12em; text-align: center; }
@media (max-width: 899px) {
  .news { grid-template-columns: 1fr; gap: 24px; }
  .news__item { grid-template-columns: auto auto 1fr; gap: 8px 16px; }
  .news__title { grid-column: 1 / -1; }
}

/* Persona routing */
.persona { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.persona__card {
  grid-column: span 2;
  display: flex; flex-direction: column; gap: 32px;
  padding: 48px 40px 40px;
  border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  transition: background .4s;
  min-height: 300px;
}
.persona--2 .persona__card { grid-column: span 3; }
.persona__card:hover { background: var(--c-bg-soft); }
.persona__num { font-family: var(--font-en); font-size: 15px; color: var(--c-muted); letter-spacing: 0.1em; }
.persona__worry { font-family: var(--font-serif); font-weight: 300; font-size: 19px; line-height: 1.9; letter-spacing: 0.06em; flex-grow: 1; }
.persona__to { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-sub); }
@media (max-width: 899px) {
  .persona { grid-template-columns: 1fr; }
  .persona__card, .persona--2 .persona__card { grid-column: auto; min-height: 0; padding: 36px 24px 28px; gap: 20px; }
  .persona__worry { font-size: 17px; }
}

/* 事業の2つの軸 */
.group-label { display: flex; align-items: baseline; gap: 16px; font-family: var(--font-serif); font-size: 19px; letter-spacing: 0.08em; }
.group-label span { font-family: var(--font-en); font-size: 14px; color: var(--c-muted); letter-spacing: 0.16em; text-transform: uppercase; }
.persona-group + .persona-group { margin-top: 72px; }
.persona-group__head { display: grid; grid-template-columns: minmax(260px, auto) 1fr; align-items: baseline; gap: 12px 40px; margin-bottom: 24px; }
.related-group + .related-group { margin-top: 48px; }
.related-group .group-label { margin-bottom: 20px; font-size: 16px; }
@media (max-width: 899px) {
  .persona-group + .persona-group { margin-top: 56px; }
  .persona-group__head { grid-template-columns: 1fr; }
  .group-label { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Project */
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: center; }
.project__img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--c-bg-soft); }
.project__photo { width: 100%; height: 100%; background: var(--photo-node-shimoda) center / cover no-repeat; transition: transform 1.2s var(--ease); }
.project:hover .project__photo { transform: scale(1.05); }
.project__badge { display: inline-block; margin-bottom: 16px; padding: 3px 14px; border: 1px solid var(--c-text); font-size: 12px; letter-spacing: 0.1em; }
.project__name { font-family: var(--font-en); font-weight: 300; font-size: clamp(34px, 4vw, 52px); letter-spacing: 0.06em; line-height: 1.2; }
.project__meta { margin-top: 12px; font-size: 13px; color: var(--c-muted); letter-spacing: 0.08em; }
.project__desc { margin-top: 28px; color: var(--c-sub); font-size: 14px; }
.project__rating { margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); display: flex; align-items: baseline; gap: 16px; }
.project__rating strong { font-family: var(--font-en); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: 0.02em; }
.project__rating span { font-size: 13px; color: var(--c-sub); }
.project__link { margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.1em; }
.project__note { margin-top: 28px; font-size: 13px; color: var(--c-sub); line-height: 2; }
@media (max-width: 899px) { .project { grid-template-columns: 1fr; gap: 36px; } }

/* Careers CTA */
.careers-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 72px 64px; border: 1px solid var(--c-line); transition: background .4s;
}
.careers-cta:hover { background: var(--c-bg-soft); }
.careers-cta__title { font-family: var(--font-en); font-weight: 300; font-size: clamp(34px, 6vw, 80px); letter-spacing: 0.1em; line-height: 1; white-space: nowrap; }
.careers-cta__body { display: flex; flex-direction: column; gap: 16px; }
.careers-cta__row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.pill { display: inline-block; padding: 6px 20px; border: 1px solid var(--c-text); border-radius: 999px; font-size: 13px; letter-spacing: 0.08em; }
.careers-cta__text { font-size: 15px; color: var(--c-sub); }
.careers-cta__icon { flex-shrink: 0; width: 72px; height: 72px; border: 1px solid var(--c-line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.careers-cta__icon svg { width: 18px; height: 18px; }
.careers-cta:hover .careers-cta__icon { background: var(--c-text); color: #fff; border-color: var(--c-text); }
@media (max-width: 899px) { .careers-cta { padding: 44px 24px; } .careers-cta__icon { width: 52px; height: 52px; } }

/* ==========================================================================
   Sub page common
   ========================================================================== */
.page-hero { padding: 120px 0 104px; border-bottom: 1px solid var(--c-line); }
.page-hero__label { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--c-muted); letter-spacing: 0.1em; margin-bottom: 32px; }
.page-hero__label::before { content: ""; width: 40px; height: 1px; background: var(--c-muted); }
.page-hero__title { font-family: var(--font-serif); font-weight: 200; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.6; letter-spacing: 0.08em; }
.page-hero__en { font-family: var(--font-en); font-weight: 300; font-size: clamp(48px, 8vw, 104px); line-height: 1; letter-spacing: 0.06em; }
.page-hero__ja { margin-top: 20px; font-size: 14px; color: var(--c-sub); letter-spacing: 0.12em; }
.page-hero__lead { margin-top: 40px; color: var(--c-sub); max-width: 680px; line-height: 2.2; }
@media (max-width: 899px) { .page-hero { padding: 72px 0 64px; } }

/* サービス概要：一文のリードとして、余白を詰めた帯で見せる */
.section--overview { padding: 88px 0; }
.overview { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.overview .section-title { margin-bottom: 0; }
.overview__text { font-family: var(--font-serif); font-weight: 300; font-size: 24px; line-height: 1.9; letter-spacing: 0.06em; padding-left: 40px; border-left: 1px solid var(--c-line-strong); }
@media (max-width: 899px) {
  .section--overview { padding: 56px 0; }
  .overview { grid-template-columns: 1fr; gap: 16px; }
  .overview__text { font-size: 17px; padding-left: 16px; }
}

/* 経営課題 × RIVIAの貢献 */
.issues { display: grid; gap: 24px; }
.issue { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.1fr); gap: 0 28px; padding: 48px; background: var(--c-bg); border: 1px solid var(--c-line); }
.issue__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.issue__icon { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--c-line-strong); border-radius: 50%; display: grid; place-items: center; }
.issue__icon svg { width: 22px; height: 22px; stroke: var(--c-text); stroke-width: 1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.issue__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--c-muted); letter-spacing: 0.14em; }
.issue__num { font-family: var(--font-en); font-size: 15px; color: var(--c-text); letter-spacing: 0.14em; }
.issue__label { padding-left: 12px; border-left: 1px solid var(--c-line-strong); }
.issue__sublabel { display: block; font-size: 12px; color: var(--c-muted); letter-spacing: 0.14em; margin-bottom: 10px; }
.issue__sublabel--accent { color: var(--c-accent); font-weight: 500; }
.issue__title { font-family: var(--font-serif); font-weight: 400; font-size: 21px; line-height: 1.6; letter-spacing: 0.06em; }
.issue__scene { margin-top: 24px; }
.issue__voice { padding: 2px 0 2px 16px; border-left: 2px solid var(--c-line-strong); font-size: 13.5px; color: var(--c-sub); line-height: 1.95; }
.issue__bridge { display: flex; align-items: center; justify-content: center; }
.issue__bridge span { display: block; width: 100%; height: 1px; background: var(--c-line-strong); position: relative; }
.issue__bridge span::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--c-line-strong); border-right: 1px solid var(--c-line-strong); transform: rotate(45deg); }
.issue__answer { padding: 28px; background: var(--c-bg-soft); }
.issue__steps { display: grid; gap: 14px; }
.issue__steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.issue__step-num { width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: var(--c-accent); color: #fff; font-family: var(--font-en); font-size: 13px; line-height: 24px; text-align: center; }
.issue__steps p { font-size: 14px; line-height: 1.9; color: var(--c-text); }
.issue__kpi { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line-strong); }
.issue__kpi ul { display: flex; flex-wrap: wrap; gap: 6px; }
.issue__kpi li { background: var(--c-bg); border: 1px solid var(--c-line-strong); border-radius: 999px; padding: 3px 12px; font-size: 12px; letter-spacing: 0.04em; }
@media (max-width: 899px) {
  .issues { gap: 16px; }
  .issue { grid-template-columns: 1fr; padding: 28px 20px 24px; }
  .issue__bridge { height: 36px; }
  .issue__bridge span { width: 1px; height: 100%; }
  .issue__bridge span::after { right: -4px; top: auto; bottom: 0; transform: rotate(135deg); }
  .issue__title { font-size: 18px; line-height: 1.65; }
  .issue__scene { margin-top: 18px; }
  .issue__voice { font-size: 13px; line-height: 1.9; }
  .issue__answer { margin: 0 -8px; padding: 22px 18px; }
  .issue__steps p { font-size: 13.5px; line-height: 1.85; }
}

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.timeline__step { position: relative; padding: 48px 32px 0 0; }
.timeline__step::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--c-line-strong); }
.timeline__step::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border: 1px solid var(--c-text); border-radius: 50%; background: #fff; }
.timeline__step:last-child::before { background: linear-gradient(to right, var(--c-line-strong) 60%, transparent); }
.timeline__num { font-family: var(--font-en); font-size: 14px; letter-spacing: 0.2em; color: var(--c-muted); }
.timeline__title { margin-top: 12px; font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 1.6; letter-spacing: 0.04em; }
.timeline__term { display: inline-block; margin-top: 14px; font-size: 12px; border: 1px solid var(--c-line-strong); padding: 2px 12px; letter-spacing: 0.06em; }
.timeline__desc { margin-top: 12px; font-size: 13px; color: var(--c-sub); line-height: 1.8; }
@media (max-width: 899px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline__step { padding: 0 0 22px 36px; }
  .timeline__title { margin-top: 2px; font-size: 16px; }
  .timeline__term { margin-top: 6px; }
  .timeline__desc { margin-top: 6px; }
  .timeline__step::before { top: 6px; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .timeline__step:last-child::before { background: linear-gradient(to bottom, var(--c-line-strong) 50%, transparent); }
  .timeline__step:last-child { padding-bottom: 0; }
}

/* CTA */
.cta { text-align: center; }
.cta__title { font-family: var(--font-serif); font-weight: 300; font-size: clamp(22px, 3vw, 32px); letter-spacing: 0.08em; line-height: 1.7; }
.cta__btn { margin-top: 48px; }
@media (max-width: 899px) { .cta .btn--lg { width: 100%; padding: 22px 24px; } }

/* FAQ (details/summary によるアコーディオン) */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q { display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 16px; padding: 32px 0; cursor: pointer; list-style: none; font-size: 16px; line-height: 1.8; }
.faq__q::-webkit-details-marker { display: none; }
.faq__mark { font-family: var(--font-en); font-size: 26px; font-weight: 300; line-height: 1; }
.faq__toggle { position: relative; width: 16px; height: 16px; justify-self: end; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--c-text); transition: transform .4s var(--ease); }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-columns: 40px 1fr 24px; gap: 16px; padding: 0 0 36px; color: var(--c-sub); font-size: 15px; line-height: 2.1; }
.faq__a .faq__mark { color: var(--c-muted); }
@media (max-width: 899px) { .faq__q, .faq__a { grid-template-columns: 28px 1fr 16px; gap: 12px; } .faq__q { font-size: 15px; padding: 24px 0; } .faq__a { font-size: 14px; } }

/* ==========================================================================
   About
   ========================================================================== */
.message { font-family: var(--font-serif); font-weight: 300; font-size: 17px; line-height: 2.5; letter-spacing: 0.06em; }
.message__lead { font-size: clamp(20px, 2.6vw, 28px); line-height: 2; font-weight: 300; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--c-line); }
.message p + p { margin-top: 2em; }
.message__concept { text-align: center; font-size: clamp(24px, 3vw, 32px); font-weight: 200; letter-spacing: 0.2em; padding: 32px 0; }
@media (max-width: 899px) { .message { font-size: 15px; line-height: 2.3; } }

.founders { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line); }
.founder { padding: 56px 48px 56px 0; border-bottom: 1px solid var(--c-line); }
.founder + .founder { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--c-line); }
.founder__name { font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: 0.14em; }
.founder__en { font-family: var(--font-en); font-size: 16px; color: var(--c-muted); letter-spacing: 0.12em; margin-top: 4px; }
.founder__role { font-size: 12px; color: var(--c-muted); letter-spacing: 0.14em; margin-bottom: 12px; }
.founder__bio { margin-top: 28px; font-size: 14px; color: var(--c-sub); line-height: 2.1; }
.founder__block { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.founder__label { display: block; font-size: 12px; color: var(--c-muted); letter-spacing: 0.14em; margin-bottom: 16px; }
.founder__career li { position: relative; padding: 0 0 18px 24px; font-size: 14px; line-height: 1.8; }
.founder__career li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border: 1px solid var(--c-text); border-radius: 50%; background: #fff; z-index: 1; }
.founder__career li::after { content: ""; position: absolute; left: 4px; top: 0.6em; bottom: -0.6em; width: 1px; background: var(--c-line-strong); }
.founder__career li:last-child { padding-bottom: 0; }
.founder__career li:last-child::after { display: none; }
.founder__career li:last-child::before { background: var(--c-text); }
.founder__career strong { font-weight: 500; }
.founder__career span { display: block; font-size: 13px; color: var(--c-sub); }
.founder__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.founder__tags li { border: 1px solid var(--c-line-strong); padding: 4px 14px; font-size: 12px; letter-spacing: 0.06em; }
.founder__sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.founder__sns a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid var(--c-text); font-size: 13px; letter-spacing: 0.08em; transition: background .2s, color .2s; }
.founder__sns a:hover { background: var(--c-text); color: #fff; }
.founder__sns svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 899px) { .founders { grid-template-columns: 1fr; } .founder, .founder + .founder { padding: 40px 0; border-left: 0; } }

.profile { border-top: 1px solid var(--c-line); }
.profile__row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.profile__row dt { color: var(--c-muted); letter-spacing: 0.1em; }
.profile__group { display: block; margin-top: 16px; margin-bottom: 2px; font-size: 12px; color: var(--c-muted); letter-spacing: 0.1em; }
.profile__row dd > .profile__group:first-child { margin-top: 0; }
@media (max-width: 899px) { .profile__row { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; } }

/* ==========================================================================
   Forms (Contact / Careers)
   ========================================================================== */
.form { display: grid; gap: 36px; }
.form__field label, .form__legend { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 0.06em; margin-bottom: 12px; }
.req { font-size: 11px; padding: 1px 8px; border: 1px solid var(--c-text); letter-spacing: 0.1em; }
.opt { font-size: 11px; padding: 1px 8px; border: 1px solid var(--c-line-strong); color: var(--c-muted); letter-spacing: 0.1em; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 16px 18px;
  border: 1px solid var(--c-line-strong); border-radius: 0;
  background: #fff; color: var(--c-text);
  font: inherit; font-size: 16px; letter-spacing: 0.04em;
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.form input::placeholder, .form textarea::placeholder { color: #b5b5b5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-text); }
.form textarea { min-height: 200px; resize: vertical; line-height: 1.9; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--c-text); border-bottom: 1px solid var(--c-text); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.form__notes { font-size: 12px; color: var(--c-muted); line-height: 2; }
.form__submit { text-align: center; }
.form__submit .btn { min-width: 320px; }
@media (max-width: 899px) { .form__submit .btn { min-width: 0; width: 100%; } }

.file { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; padding: 28px 20px; border: 1px dashed var(--c-line-strong); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.file:hover, .file:focus-within { border-color: var(--c-text); background: var(--c-bg-soft); }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file svg { width: 28px; height: 28px; stroke: var(--c-text); stroke-width: 1; fill: none; }
.file__title { font-size: 14px; }
.file__name { font-size: 12px; color: var(--c-muted); word-break: break-all; }
.file.has-file { border-style: solid; border-color: var(--c-text); }
.files { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 899px) { .files { grid-template-columns: 1fr; } }

/* ==========================================================================
   Conversion components
   ========================================================================== */
/* Hero / page hero のボタン */
.hero__actions, .page-hero__actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; }
.page-hero__actions { margin-top: 40px; }
.page-hero__target { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: var(--font-serif); font-weight: 300; font-size: 16px; letter-spacing: 0.04em; }
.page-hero__target span { font-family: var(--font-sans); font-size: 12px; border: 1px solid var(--c-line-strong); padding: 2px 12px; color: var(--c-sub); letter-spacing: 0.1em; }
@media (max-width: 899px) {
  .hero__actions .btn, .page-hero__actions .btn { flex: 1 1 100%; }
}

/* 選ばれる理由 */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--c-line); }
.reason { padding: 48px 40px 48px 0; border-bottom: 1px solid var(--c-line); }
.reason + .reason { padding-left: 40px; border-left: 1px solid var(--c-line); }
.reason__num { font-family: var(--font-en); font-weight: 300; font-size: 56px; line-height: 1; color: var(--c-line-strong); }
.reason__title { margin-top: 28px; font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 1.7; letter-spacing: 0.05em; }
.reason__text { margin-top: 16px; font-size: 14px; color: var(--c-sub); line-height: 2.1; }
@media (max-width: 899px) {
  .reasons { grid-template-columns: 1fr; }
  .reason, .reason + .reason { padding: 36px 0; border-left: 0; }
}

/* ご相談の流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow__step { position: relative; padding: 36px 28px 32px; background: #fff; border: 1px solid var(--c-line); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -13px; width: 10px; height: 10px; border-top: 1px solid var(--c-muted); border-right: 1px solid var(--c-muted); transform: translateY(-50%) rotate(45deg); }
.flow__num { display: block; font-family: var(--font-en); font-weight: 300; font-size: 40px; line-height: 1; letter-spacing: 0.04em; color: var(--c-accent); }
.flow__title { margin-top: 10px; font-family: var(--font-serif); font-weight: 400; font-size: 18px; letter-spacing: 0.06em; }
.flow__desc { margin-top: 12px; font-size: 13px; color: var(--c-sub); line-height: 2; }
@media (max-width: 899px) {
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow__step:not(:last-child)::after { top: auto; bottom: -17px; right: 50%; transform: translateX(50%) rotate(135deg); }
}

/* 実績カード（サービスページ用のコンパクト版） */
.project--compact { grid-template-columns: 1fr 1.2fr; gap: 56px; }
.project--compact .project__name { font-size: clamp(30px, 3vw, 40px); }
@media (max-width: 899px) { .project--compact { grid-template-columns: 1fr; gap: 32px; } }

/* そのほかのサービス */
.related { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.related__card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px 28px; border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); transition: background .4s; }
.related__card:hover { background: var(--c-bg-soft); }
.related__worry { font-family: var(--font-serif); font-weight: 300; font-size: 15px; line-height: 1.9; }
.related__name { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--c-sub); padding-top: 16px; border-top: 1px solid var(--c-line); }
@media (max-width: 1099px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .related { grid-template-columns: 1fr; } .related__card { padding: 28px 20px; gap: 20px; } }

/* お問い合わせの安心材料 */
.assure { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.assure li { display: flex; align-items: center; gap: 10px; padding: 8px 18px; border: 1px solid var(--c-line-strong); font-size: 13px; letter-spacing: 0.06em; }
.assure li::before { content: ""; width: 10px; height: 5px; border-left: 1px solid var(--c-text); border-bottom: 1px solid var(--c-text); transform: translateY(-2px) rotate(-45deg); }

/* 同意チェック */
.form__fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__notes--above { margin-bottom: 12px; }
.form__consent { text-align: center; }
.check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; }
.check input { -webkit-appearance: none; appearance: none; flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--c-text); background: #fff; display: grid; place-items: center; margin: 0; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.check input:checked { background: var(--c-text); }
.check input:checked::after { opacity: 1; }
.check a { text-decoration: underline; text-underline-offset: 4px; }
.check .req { margin-left: 4px; }

/* プライバシーポリシー */
.policy__intro { line-height: 2.2; }
.policy { margin-top: 56px; border-top: 1px solid var(--c-line); }
.policy__item { padding: 36px 0; border-bottom: 1px solid var(--c-line); }
.policy__item h2 { font-family: var(--font-serif); font-weight: 400; font-size: 18px; letter-spacing: 0.06em; margin-bottom: 14px; }
.policy__item p { font-size: 14px; color: var(--c-sub); line-height: 2.2; }
.policy__item a { text-decoration: underline; text-underline-offset: 4px; }
.policy__date { margin-top: 40px; font-size: 13px; color: var(--c-muted); text-align: right; }

/* ==========================================================================
   Scroll reveal（JS有効時のみ非表示から開始）
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
}

/* ==========================================================================
   会社概要 + Googleマップ
   ========================================================================== */
.company { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.company__map-label { font-size: 12px; color: var(--c-muted); letter-spacing: 0.14em; margin-bottom: 12px; }
.map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--c-line); background: var(--c-bg-soft); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35); }
.company__map-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 16px; padding-bottom: 4px; border-bottom: 1px solid var(--c-text); font-size: 13px; letter-spacing: 0.08em; }
@media (max-width: 899px) { .company { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================================
   アキヤド（メディア）
   ========================================================================== */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.media-card { display: flex; flex-direction: column; }
.media-card .thumb { transition: transform .8s var(--ease); }
.media-card:hover .thumb { transform: translateY(-4px); }
.media-card__body { padding-top: 20px; }
.media-card__cat { font-size: 12px; color: var(--c-muted); letter-spacing: 0.1em; }
.media-card__title { margin-top: 8px; font-family: var(--font-serif); font-weight: 400; font-size: 16px; line-height: 1.8; letter-spacing: 0.03em; }
.media-card:hover .media-card__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.media-card__date { display: block; margin-top: 12px; font-family: var(--font-en); font-size: 14px; color: var(--c-muted); letter-spacing: 0.08em; }
.media-more { margin-top: 56px; text-align: center; }
.media-empty { margin-top: 24px; color: var(--c-muted); text-align: center; }
.media-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 56px; }
.media-filter { padding: 8px 20px; border: 1px solid var(--c-line-strong); font-size: 13px; letter-spacing: 0.08em; transition: background .2s, color .2s, border-color .2s; }
.media-filter:hover { border-color: var(--c-text); }
.media-filter.is-active { background: var(--c-text); border-color: var(--c-text); color: #fff; }
@media (max-width: 1099px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .media-grid { grid-template-columns: 1fr; gap: 40px; } .media-filters { justify-content: flex-start; margin-bottom: 40px; } }

/* 文字組みのサムネイル */
.thumb { position: relative; display: flex; flex-direction: column; justify-content: center; aspect-ratio: 16 / 10; padding: 28px 28px 40px; overflow: hidden; }
.thumb::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border: 1px solid rgba(17, 17, 17, 0.08); border-radius: 50%; }
.thumb--sand { background: #efe9df; }
.thumb--sage { background: #e3e8e1; }
.thumb--mist { background: #e3e8ee; }
.thumb--stone { background: #ebe8e4; }
.thumb__cat { position: absolute; top: 20px; left: 28px; font-size: 11px; letter-spacing: 0.14em; color: var(--c-sub); }
.thumb__title { font-family: var(--font-serif); font-weight: 400; font-size: 19px; line-height: 1.7; letter-spacing: 0.06em; }
.thumb__brand { position: absolute; left: 28px; bottom: 18px; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; color: var(--c-muted); }
.thumb--hero { aspect-ratio: 16 / 7; margin-top: 40px; padding: 48px 56px; }
.thumb--hero .thumb__title { font-size: clamp(22px, 3vw, 34px); }
.thumb--hero .thumb__cat { top: 28px; left: 56px; }
.thumb--hero .thumb__brand { left: 56px; bottom: 26px; }
@media (max-width: 899px) {
  .thumb--hero { aspect-ratio: 16 / 10; padding: 36px 24px; }
  .thumb--hero .thumb__cat, .thumb--hero .thumb__brand { left: 24px; }
}

/* 記事ページ */
.container--article { max-width: calc(800px + var(--gutter) * 2); }
.article__header { padding: 96px 0 0; }
.article__cat { margin-bottom: 20px; }
.article__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.7; letter-spacing: 0.04em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 20px; font-size: 12px; color: var(--c-muted); letter-spacing: 0.04em; }
.article__body { padding-top: 48px; padding-bottom: 96px; }
.article__lead { font-size: 15px; line-height: 2.2; color: var(--c-sub); }
.keypoints { margin-top: 40px; padding: 32px 36px; border: 1px solid var(--c-text); }
.keypoints__title { font-family: var(--font-serif); font-weight: 400; font-size: 18px; letter-spacing: 0.08em; margin-bottom: 16px; }
.keypoints li { position: relative; padding-left: 22px; font-size: 14px; line-height: 2; }
.keypoints li + li { margin-top: 8px; }
.keypoints li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 10px; height: 5px; border-left: 1px solid var(--c-text); border-bottom: 1px solid var(--c-text); transform: rotate(-45deg); }
.toc { margin-top: 32px; padding: 28px 36px; background: var(--c-bg-soft); }
.toc__title { font-size: 12px; color: var(--c-muted); letter-spacing: 0.14em; margin-bottom: 10px; }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 14px; line-height: 2.1; }
.toc li::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--font-en); color: var(--c-muted); }
.toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article__section { margin-top: 72px; }
.article__section h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.7; letter-spacing: 0.05em; padding-bottom: 16px; border-bottom: 1px solid var(--c-text); margin-bottom: 28px; }
.article__section h3 { font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 1.7; margin: 36px 0 12px; padding-left: 14px; border-left: 2px solid var(--c-text); }
.article__section p { font-size: 15px; line-height: 2.2; }
.article__section p + p { margin-top: 1.2em; }
.article__section ul:not(.steps) li, .article__section ol.steps li { position: relative; font-size: 15px; line-height: 2; }
.article__section ul:not(.steps) { margin: 16px 0; }
.article__section ul:not(.steps) li { padding-left: 18px; }
.article__section ul:not(.steps) li + li { margin-top: 8px; }
.article__section ul:not(.steps) li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 5px; height: 5px; background: var(--c-text); border-radius: 50%; }
/* 番号つきの普通のリスト（steps 以外）: 項目の間隔と番号を出し、スマホで文字が詰まらないようにする */
.article__section ol:not(.steps):not([class*="fig"]) { counter-reset: li; margin: 20px 0; }
.article__section ol:not(.steps):not([class*="fig"]) li { counter-increment: li; position: relative; padding-left: 36px; font-size: 15px; line-height: 2; }
.article__section ol:not(.steps):not([class*="fig"]) li + li { margin-top: 16px; }
.article__section ol:not(.steps):not([class*="fig"]) li::before { content: counter(li); position: absolute; left: 0; top: 0.5em; width: 22px; height: 22px; border: 1px solid var(--c-muted); border-radius: 50%; font-family: var(--font-en); font-size: 12px; line-height: 20px; text-align: center; color: var(--c-muted); }
.article__section p + ul:not(.steps), .article__section p + ol:not(.steps):not([class*="fig"]) { margin-top: 20px; }
.article__section ol.steps { counter-reset: step; margin: 20px 0; border-top: 1px solid var(--c-line); }
.article__section ol.steps li { counter-increment: step; padding: 18px 0 18px 48px; border-bottom: 1px solid var(--c-line); }
.article__section ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--font-en); font-size: 20px; line-height: 1.6; color: var(--c-muted); }
.article__section a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }
.article__section strong { font-weight: 500; background: linear-gradient(transparent 65%, #ece7dc 65%); }
.article__section .faq { margin-top: 8px; }
.table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.table th, .table td { padding: 14px 16px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.table th { background: var(--c-bg-soft); font-weight: 500; white-space: nowrap; }
.table td:first-child { font-weight: 500; white-space: nowrap; }
.table-note { font-size: 12px !important; color: var(--c-muted); margin-top: -12px !important; }
.article__section p:not(.table-note) + .table-note, .article__section ul + .table-note { margin-top: 20px !important; }
.callout { margin: 28px 0; padding: 24px 28px; background: var(--c-bg-soft); border-left: 2px solid var(--c-text); }
.callout__label { font-size: 12px !important; color: var(--c-muted); letter-spacing: 0.12em; margin-bottom: 6px; }
@media (max-width: 899px) {
  .article__header { padding-top: 64px; }
  .keypoints, .toc { padding: 24px 20px; }
  .article__section { margin-top: 56px; }
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table td:first-child { white-space: normal; min-width: 5.5em; }
}
.sources { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.sources__title { font-size: 13px; color: var(--c-muted); letter-spacing: 0.12em; margin-bottom: 12px; font-weight: 400; }
.sources li { font-size: 13px; color: var(--c-sub); line-height: 2; }
.sources li { position: relative; padding-left: 14px; }
.sources li::before { content: "・"; position: absolute; left: 0; }
/* 参考資料は折りたたみ（スクロールを増やさない。中身は HTML に残るので AI・検索エンジンにも読める） */
.sources__fold > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; }
.sources__fold > summary::-webkit-details-marker { display: none; }
.sources__fold > summary::after { content: "＋"; font-size: 16px; }
.sources__fold[open] > summary::after { content: "－"; }
.sources__fold[open] > summary { margin-bottom: 12px; }
.sources__note { margin-top: 12px; font-size: 12px; color: var(--c-muted); line-height: 1.9; }
.author { margin-top: 48px; padding: 28px 32px; background: var(--c-bg-soft); }
.author__label { font-size: 12px; color: var(--c-muted); letter-spacing: 0.12em; }
.author__name { margin-top: 6px; font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.08em; }
.author__text { margin-top: 10px; font-size: 13px; color: var(--c-sub); line-height: 2; }
.article-cta { margin-top: 48px; padding: 40px; border: 1px solid var(--c-text); text-align: center; }
.article-cta__title { font-family: var(--font-serif); font-size: 18px; letter-spacing: 0.06em; }
.article-cta__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 16px 0 28px; }
.article-cta__links a { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; border-bottom: 1px solid var(--c-text); padding-bottom: 2px; }
.article-cta__links .arrow { width: 18px; }
@media (max-width: 899px) { .article-cta { padding: 28px 20px; } .article-cta .btn--lg { width: 100%; padding: 20px; } }

/* ==========================================================================
   Depth（カードの立体感）
   白地のミニマルさは保ちつつ、カードを浮かせて奥行きを出す
   ========================================================================== */
:root {
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(17, 17, 17, 0.05), 0 10px 28px rgba(17, 17, 17, 0.08);
  --shadow-md: 0 2px 6px rgba(17, 17, 17, 0.05), 0 18px 44px rgba(17, 17, 17, 0.11);
  --shadow-lg: 0 4px 8px rgba(17, 17, 17, 0.05), 0 24px 56px rgba(17, 17, 17, 0.12);
  --c-card-line: rgba(17, 17, 17, 0.07);
}

/* 共通カード */
.persona__card, .related__card, .reason, .flow__step, .issue, .founder,
.careers-cta, .map, .keypoints, .article-cta {
  background-color: var(--c-bg);
  border: 1px solid var(--c-card-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.project__img, .media-card .thumb { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ホバーで浮き上がる（リンクになっているカード） */
.persona__card, .related__card, .careers-cta, .media-card .thumb, .project__img {
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.js .persona__card.reveal, .js .related__card.reveal, .js .careers-cta.reveal {
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
@media (hover: hover) {
  .persona__card:hover, .related__card:hover, .careers-cta:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); background: var(--c-bg); }
  .media-card:hover .thumb { transform: none; translate: 0 -6px; box-shadow: var(--shadow-lg); }
  .project:hover .project__img { box-shadow: var(--shadow-lg); }
}

/* 枠線を共有していたグリッドを、間隔のあるカードの並びに */
.persona { gap: 20px; border: 0; }
.related { gap: 16px; border: 0; }
.reasons { gap: 20px; border-top: 0; }
.reason, .reason + .reason { padding: 44px 36px; border-left: 1px solid var(--c-card-line); }
.founders { gap: 24px; border-top: 0; }
.founder, .founder + .founder { padding: 48px 44px; border-left: 1px solid var(--c-card-line); }
.issue { box-shadow: var(--shadow-md); }
.issue__answer { border-radius: calc(var(--radius) - 4px); }

/* ボタンにも軽い影 */
.btn { box-shadow: 0 6px 18px rgba(17, 17, 17, 0.12); transition: background .3s, color .3s, translate .4s var(--ease), box-shadow .4s var(--ease); }
.btn--ghost { box-shadow: none; }
@media (hover: hover) { .btn:hover { translate: 0 -2px; box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16); } }

/* スクロール後のヘッダーに薄い影 */
.header { transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(17, 17, 17, 0.05); }

@media (max-width: 899px) {
  .persona, .related, .reasons { gap: 14px; }
  .reason, .reason + .reason { padding: 32px 24px; }
  .founders { gap: 16px; }
  .founder, .founder + .founder { padding: 36px 22px; }
}

/* ==========================================================================
   Photos（写真の使いどころ）
   画像は images/photos/ に原寸のまま格納（再圧縮なし）。記事カードのみ thumb/ の軽量版を使う
   ========================================================================== */

/* TOPのヒーロー：写真の上に白文字。左側と下側を暗くして文字を読みやすくする */
.hero--photo { min-height: max(620px, calc(100vh - var(--header-h))); color: #fff; background: #1b1f1a; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 14, 12, 0.66) 0%, rgba(12, 14, 12, 0.42) 48%, rgba(12, 14, 12, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 14, 12, 0.45) 0%, rgba(12, 14, 12, 0) 40%);
}
.hero--photo .hero__title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero--photo .hero__sub { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3); }
.hero--photo .hero__scroll { color: rgba(255, 255, 255, 0.8); }
.hero--photo .hero__scroll::after { background: rgba(255, 255, 255, 0.8); }
.hero--photo .btn:not(.btn--ghost) { background: #fff; color: var(--c-text); border-color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.hero--photo .btn:not(.btn--ghost):hover { background: transparent; color: #fff; }
.btn--on-photo { color: #fff; border-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); background: rgba(255, 255, 255, 0.06); }
.btn--on-photo:hover { background: #fff; color: var(--c-text); border-color: #fff; }
@media (max-width: 899px) {
  .hero--photo { min-height: calc(100svh - var(--header-h)); }
  .hero--photo::before { background: linear-gradient(0deg, rgba(12, 14, 12, 0.72) 0%, rgba(12, 14, 12, 0.5) 55%, rgba(12, 14, 12, 0.35) 100%); }
  .hero__bg { object-position: 40% 50%; }
}

/* 相談CTA：写真の上に白文字 */
.cta--photo { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #1c241c; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cta--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 16, 12, 0.6); }
.cta--photo .btn { background: #fff; color: var(--c-text); border-color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.cta--photo .btn:hover { background: transparent; color: #fff; }

/* サービスページTOP：TOPと同じく写真を全面に敷いて白文字 */
.page-hero--photo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 820px); display: flex; align-items: center;
  border-bottom: 0; color: #fff; background: #1b1f1a;
}
.page-hero--photo > .container { width: 100%; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 14, 12, 0.7) 0%, rgba(12, 14, 12, 0.46) 50%, rgba(12, 14, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 14, 12, 0.4) 0%, rgba(12, 14, 12, 0) 45%);
}
.page-hero--photo .page-hero__title { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.page-hero--photo .page-hero__label { color: rgba(255, 255, 255, 0.82); }
.page-hero--photo .page-hero__label::before { background: rgba(255, 255, 255, 0.7); }
.page-hero--photo .page-hero__target { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3); }
.page-hero--photo .page-hero__target span { color: #fff; border-color: rgba(255, 255, 255, 0.6); text-shadow: none; }
.page-hero--photo .btn:not(.btn--ghost) { background: #fff; color: var(--c-text); border-color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.page-hero--photo .btn:not(.btn--ghost):hover { background: transparent; color: #fff; }
@media (max-width: 899px) {
  .page-hero--photo { min-height: calc(100svh - var(--header-h)); }
  .page-hero--photo::before { background: linear-gradient(0deg, rgba(12, 14, 12, 0.74) 0%, rgba(12, 14, 12, 0.52) 55%, rgba(12, 14, 12, 0.4) 100%); }
}

/* 横長の写真帯（会社概要） */
.photo-band { margin-top: 64px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .photo-band { margin-top: 40px; aspect-ratio: 4 / 3; } }

/* 記事サムネイル・記事トップの写真 */
.thumb--photo { padding: 0; background: var(--c-bg-soft); }
.thumb--photo::after { display: none; }
.thumb--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-card:hover .thumb--photo img { transform: scale(1.04); }
.thumb--photo .thumb__cat { z-index: 1; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--c-text); }
.article__photo { margin-top: 40px; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); background: var(--c-bg-soft); }
.article__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .article__photo { aspect-ratio: 16 / 10; margin-top: 28px; } }

/* 代表者の写真 */
.founder__head { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 28px; }
.founder__photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--c-card-line); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .founder__head { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; } }

/* ==========================================================================
   埋め込み画像（NODE Shimoda リビング写真）
   差し替える場合は、画像を Base64 に変換して url() の中を置き換えてください。
   ========================================================================== */
:root { --photo-node-shimoda: url("../images/photos/node-shimoda.avif"); }

.founder__origin::before { content: "｜"; margin: 0 0.6em; }
@media (max-width: 899px) {
  .founder__en { font-size: 15px; }
  .founder__origin { display: block; margin-top: 2px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.08em; }
  .founder__origin::before { content: none; }
}

/* 明るい写真・情報量の多い写真は、文字の読みやすさを優先して暗めに */
.page-hero--bright::before {
  background:
    linear-gradient(90deg, rgba(12, 14, 12, 0.8) 0%, rgba(12, 14, 12, 0.6) 55%, rgba(12, 14, 12, 0.3) 100%),
    linear-gradient(0deg, rgba(12, 14, 12, 0.45) 0%, rgba(12, 14, 12, 0) 45%);
}
@media (max-width: 899px) { .page-hero--bright::before { background: rgba(12, 14, 12, 0.66); } }

/* Serviceメニュー：目的・お悩みから探す */
.subnav__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; white-space: normal; }
.subnav__worry { font-family: var(--font-serif); font-size: 14px; line-height: 1.6; letter-spacing: 0.04em; color: var(--c-text); }
.subnav__name { font-size: 11px; color: var(--c-muted); letter-spacing: 0.08em; }
.subnav a { align-items: center; }
.subnav a .arrow { flex-shrink: 0; }
.subnav__foot a { justify-content: flex-end; gap: 14px; font-size: 12px; color: var(--c-sub); }
@media (min-width: 900px) {
  /* メニューは画面中央に配置し、狭いPC幅でもはみ出さないようにする */
  .gnav__item--has-sub { position: static; }
}
@media (max-width: 899px) {
  .subnav__worry { font-size: 13.5px; }
  .subnav a { padding: 10px var(--gutter); }
}
.page-hero--photo .page-hero__en { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.page-hero--photo .page-hero__ja { color: rgba(255, 255, 255, 0.9); }

/* TOPの事業紹介カード */
.biz-card { gap: 28px; }
.biz-card__top { display: flex; justify-content: space-between; align-items: center; }
.biz-card__icon { width: 52px; height: 52px; border: 1px solid var(--c-line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .4s, border-color .4s; }
.biz-card__icon svg { width: 24px; height: 24px; stroke: var(--c-text); stroke-width: 1; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.biz-card:hover .biz-card__icon { background: var(--c-text); border-color: var(--c-text); }
.biz-card:hover .biz-card__icon svg { stroke: #fff; }
.biz-card__body { flex-grow: 1; }
.biz-card__en { display: block; font-family: var(--font-en); font-size: 14px; color: var(--c-muted); letter-spacing: 0.14em; text-transform: uppercase; }
.biz-card__name { margin-top: 8px; font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 1.6; letter-spacing: 0.05em; }
.biz-card__text { margin-top: 14px; font-size: 14px; color: var(--c-sub); line-height: 2; }
@media (max-width: 899px) {
  .biz-card { gap: 20px; }
  .biz-card__icon { width: 44px; height: 44px; }
  .biz-card__icon svg { width: 20px; height: 20px; }
  .biz-card__name { font-size: 18px; }
}

/* ==========================================================================
   プラン例（しくみ図＋3プラン）
   オーナー様＝濃いグレー、RIVIA＝アクセントの緑で色分けし、図と棒グラフで直感的に伝える
   ========================================================================== */
:root { --c-owner: #3a3a3a; --c-rivia: var(--c-accent); --c-rivia-soft: #e7efe9; }
.scheme { padding: 40px; background: var(--c-bg); border: 1px solid var(--c-card-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.scheme__head { font-size: 12px; color: var(--c-muted); letter-spacing: 0.14em; margin-bottom: 20px; }
.scheme__head--money { margin-top: 40px; }
.scheme__roles { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 0.7fr) 96px minmax(0, 1fr); align-items: center; gap: 12px; }
.scheme__node { padding: 24px 20px; border-radius: calc(var(--radius) - 2px); text-align: center; }
.scheme__node--owner { background: #f3f3f2; border-top: 3px solid var(--c-owner); }
.scheme__node--rivia { background: var(--c-rivia-soft); border-top: 3px solid var(--c-rivia); }
.scheme__node--prop { background: #fff; border: 1px dashed var(--c-line-strong); }
.scheme__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.scheme__icon svg { width: 24px; height: 24px; stroke: var(--c-text); stroke-width: 1.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scheme__node--rivia .scheme__icon svg { stroke: var(--c-rivia); }
.scheme__title { margin-top: 12px; font-family: var(--font-serif); font-size: 18px; letter-spacing: 0.06em; }
.scheme__role { margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--c-sub); }
.scheme__node--rivia .scheme__role { color: var(--c-rivia); }
.scheme__list { margin-top: 14px; display: grid; gap: 6px; text-align: left; }
.scheme__list li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.7; color: var(--c-sub); }
.scheme__list li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.scheme__arrow { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scheme__arrow span { font-size: 12px; color: var(--c-sub); text-align: center; line-height: 1.5; }
.scheme__arrow::after { content: ""; width: 100%; height: 2px; background: var(--c-line-strong); }
.scheme__arrow::before { content: ""; position: absolute; right: -2px; bottom: -5px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--c-line-strong); }
.scheme__arrow--rev::before { right: auto; left: -2px; border-left: 0; border-right: 10px solid var(--c-line-strong); }
.flow-line { display: flex; align-items: center; gap: 12px; }
.flow-chip { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; background: #f3f3f2; }
.flow-chip--rivia { background: var(--c-rivia-soft); color: var(--c-rivia); }
.flow-chip--owner { background: #ecebe8; }
.flow-chip__icon { display: grid; place-items: center; }
.flow-chip__icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flow-arrow { position: relative; flex: 1 1 0; min-width: 80px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flow-arrow span { font-size: 12px; font-weight: 500; color: #8a6d2b; text-align: center; line-height: 1.5; }
.flow-arrow::after { content: ""; width: 100%; height: 2px; background: #c8a24f; }
.flow-arrow::before { content: ""; position: absolute; right: -2px; bottom: -5px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #c8a24f; }
.scheme__summary { margin-top: 32px; padding: 16px 20px; background: var(--c-text); color: #fff; border-radius: calc(var(--radius) - 4px); text-align: center; font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.06em; }

.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 28px 28px; background: var(--c-bg); border: 1px solid var(--c-card-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.plan--rec { border: 2px solid var(--c-rivia); box-shadow: var(--shadow-md); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 5px 18px; border-radius: 999px; background: var(--c-rivia); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; white-space: nowrap; }
.plan__no { font-family: var(--font-en); font-size: 14px; color: var(--c-muted); letter-spacing: 0.14em; }
.plan__name { margin-top: 6px; font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 1.6; letter-spacing: 0.04em; }
.plan__catch { margin-top: 8px; font-size: 13px; color: var(--c-sub); line-height: 1.8; min-height: 3.6em; }
.plan__block { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.plan__label { display: block; font-size: 12px; color: var(--c-muted); letter-spacing: 0.12em; margin-bottom: 10px; }
.plan__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--c-line); }
.plan__bar-owner { background: var(--c-owner); }
.plan__bar-rivia { background: var(--c-rivia); }
.plan__legend { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--c-sub); }
.plan__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; vertical-align: 0; }
.plan__legend .is-owner::before { background: var(--c-owner); }
.plan__legend .is-rivia::before { background: var(--c-rivia); }
.plan__desc { margin-top: 10px; font-size: 12.5px; color: var(--c-sub); line-height: 1.8; }
.plan__money { }
.plan__monthly { font-family: var(--font-serif); font-size: 16px; line-height: 1.7; }
.plan__example { margin-top: 8px; padding: 10px 12px; background: var(--c-bg-soft); border-radius: 6px; font-size: 12.5px; color: var(--c-sub); line-height: 1.7; }
.plan__ratings { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.plan__ratings li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.plan__dots { display: flex; gap: 4px; flex-shrink: 0; }
.plan__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line); }
.plan__dots i.on { background: var(--c-rivia); }
.plan__who { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line); flex-grow: 1; }
.plan__who ul { display: grid; gap: 6px; }
.plan__who li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.7; }
.plan__who li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 10px; height: 5px; border-left: 1.5px solid var(--c-rivia); border-bottom: 1.5px solid var(--c-rivia); transform: rotate(-45deg); }
.plan__cta { margin-top: 24px; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--c-text); font-size: 13px; letter-spacing: 0.06em; transition: background .3s, color .3s; }
.plan__cta:hover { background: var(--c-text); color: #fff; }
.plan--rec .plan__cta { background: var(--c-text); color: #fff; }
.plan--rec .plan__cta:hover { background: #fff; color: var(--c-text); }
.plans__note { margin-top: 20px; font-size: 12px; color: var(--c-muted); line-height: 1.9; }
.plans__advice { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 28px; background: var(--c-rivia-soft); border-radius: var(--radius); }
.plans__advice-label { font-size: 12px; font-weight: 500; color: var(--c-rivia); letter-spacing: 0.12em; white-space: nowrap; }
.plans__advice p { font-size: 14px; line-height: 1.9; }
.plans__advice a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1099px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; gap: 32px; }
  .plan__catch { min-height: 0; }
}
@media (max-width: 899px) {
  .scheme { padding: 28px 20px; }
  .scheme__roles { grid-template-columns: 1fr; gap: 8px; }
  .scheme__arrow { flex-direction: row; justify-content: center; height: 44px; gap: 12px; }
  .scheme__arrow::after { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; }
  .scheme__arrow::before, .scheme__arrow--rev::before { left: calc(50% - 5px); right: auto; bottom: -2px; border: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--c-line-strong); }
  .scheme__arrow--rev::before { top: -2px; bottom: auto; border-top: 0; border-bottom: 10px solid var(--c-line-strong); }
  .scheme__arrow span { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); text-align: left; white-space: nowrap; }
  .flow-line { flex-direction: column; align-items: stretch; gap: 0; }
  .flow-chip { justify-content: center; }
  .flow-arrow { min-width: 0; height: 48px; flex: none; }
  .flow-arrow::after { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; }
  .flow-arrow::before { right: auto; left: calc(50% - 5px); bottom: 0; border: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid #c8a24f; }
  .flow-arrow span { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); text-align: left; white-space: nowrap; }
  .scheme__summary { font-size: 14px; }
  .plans__advice { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
}

/* 記号アイコンをやめ、数字と英字ラベルで上品に見せる */
.biz-card__num { font-family: var(--font-en); font-weight: 300; font-size: 44px; line-height: 1; color: var(--c-line-strong); letter-spacing: 0.02em; transition: color .4s; }
.biz-card:hover .biz-card__num { color: var(--c-accent); }
.scheme__en { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: 0.24em; color: var(--c-muted); }
.scheme__node--rivia .scheme__en { color: var(--c-rivia); }
.scheme__title { margin-top: 6px; }
.flow-chip { padding: 12px 24px; }

/* プランの比較：丸の数ではなく言葉で示し、メリットは緑で強調 */
.plan__ratings li { align-items: center; }
.plan__axis { color: var(--c-sub); }
.plan__val { flex-shrink: 0; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; text-align: right; }
.plan__val--good { background: var(--c-rivia); color: #fff; }
.plan__val--mid { background: var(--c-rivia-soft); color: var(--c-rivia); }
.plan__val--low { background: var(--c-bg-soft); color: var(--c-sub); font-weight: 400; }
@media (max-width: 899px) { .biz-card__num { font-size: 36px; } }

/* プランカードの行の高さを3枚でそろえる（subgrid） */
@media (min-width: 1100px) {
  .plans { row-gap: 0; column-gap: 20px; grid-template-rows: repeat(8, auto); }
  .plan { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
}
.plan__block { margin-top: 22px; }

/* だれが負担／担当するか：色ラベルで一目で */
.who { display: inline-flex; justify-content: center; align-items: center; min-width: 76px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; }
.who--owner { background: var(--c-owner); color: #fff; }
.who--rivia { background: var(--c-rivia); color: #fff; }
.who--half { background: linear-gradient(90deg, var(--c-owner) 50%, var(--c-rivia) 50%); color: #fff; }
.who--co { background: var(--c-rivia-soft); color: var(--c-rivia); box-shadow: inset 0 0 0 1px var(--c-rivia); }
.who--none { background: transparent; color: var(--c-muted); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.who--share { background: linear-gradient(90deg, var(--c-owner) 50%, var(--c-rivia) 50%); color: #fff; }
.plan__split { display: grid; gap: 8px; }
.plan__split li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; font-size: 13px; line-height: 1.5; }
.plan__split-item { color: var(--c-sub); min-width: 0; }
.plan__split .who { flex-shrink: 0; width: 6.4em; min-width: 0; padding-left: 0; padding-right: 0; }
.plans__legend { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 13px; }
.plans__legend-text { color: var(--c-muted); font-size: 12px; letter-spacing: 0.12em; margin-right: 4px; }
.plans__legend + .plans { margin-top: 32px; }

/* 費用の内訳（項目｜金額の表形式で短く） */
.plan__costs { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.plan__costs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.plan__costs dt { font-size: 13px; color: var(--c-sub); }
.plan__costs dd { font-family: var(--font-serif); font-size: 16px; text-align: right; }
.plan__costs + .plan__example { margin-top: 10px; background: none; padding: 0; font-size: 12px; color: var(--c-muted); }
.persona--4 .persona__card { grid-column: span 3; }
@media (max-width: 899px) { .persona--4 .persona__card { grid-column: auto; } }


/* 協業スキーム：三角形の図（PC：矢印に説明／スマホ：番号だけ図に置き、説明は下に） */
.tri { position: relative; aspect-ratio: 1000 / 640; max-width: 1040px; margin: 0 auto; }
.tri__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tri__lines line { stroke: #c8a24f; stroke-width: 2; }
.tri__lines marker path { fill: #c8a24f; }
.tri-sp, .tri__num { display: none; }
.tri__node { position: absolute; width: 30%; transform: translate(-50%, -50%); padding: 22px 20px; border-radius: var(--radius); background: var(--c-bg); border: 1px solid var(--c-card-line); box-shadow: var(--shadow-sm); text-align: center; }
.tri__node--top { left: 50%; top: 18.4%; }
.tri__node--left { left: 17%; top: 81.2%; }
.tri__node--right { left: 83%; top: 81.2%; }
.tri__node--rivia { background: var(--c-rivia-soft); border-top: 3px solid var(--c-rivia); }
.tri__node--owner { background: #f3f3f2; border-top: 3px solid var(--c-owner); }
.tri__node--investor { border-top: 3px solid #c8a24f; }
.tri__node .scheme__list { margin-top: 10px; }
.tri__label { position: absolute; z-index: 1; transform: translate(-50%, -50%); padding: 4px 12px; border-radius: 999px; background: var(--c-bg-soft); font-size: 13px; font-weight: 500; line-height: 1.6; color: #7a5f22; text-align: center; white-space: nowrap; }
.tri__steps { display: none; }
@media (max-width: 899px) {
  .tri { aspect-ratio: 1000 / 900; }
  .tri-pc, .tri__label { display: none; }
  .tri-sp { display: block; }
  .tri__node { width: 36%; padding: 10px 4px 9px; }
  .tri__node .scheme__list { display: none; }
  .tri__node .scheme__en { font-size: 9px; letter-spacing: 0.12em; }
  .tri__node .scheme__title { font-size: 12px; margin-top: 2px; letter-spacing: 0; white-space: nowrap; }
  .tri__node .scheme__role { font-size: 10.5px; line-height: 1.5; }
  .tri__node--top { left: 50%; top: 15.5%; width: 44%; }
  .tri__node--left { left: 19%; top: 84.4%; }
  .tri__node--right { left: 81%; top: 84.4%; }
  .tri__num { display: grid; place-items: center; width: 22px; height: 22px; font-family: var(--font-en); font-size: 14px !important; position: absolute; z-index: 1; transform: translate(-50%, -50%); border-radius: 999px; background: #fff; border: 1px solid #c8a24f; color: #7a5f22; font-size: 13px; font-weight: 500; line-height: 1.5; }
  .tri__steps { display: grid; gap: 10px; margin-top: 16px; padding: 18px 16px; background: var(--c-bg); border: 1px solid var(--c-card-line); border-radius: var(--radius); }
  .tri__steps li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: baseline; font-size: 13.5px; line-height: 1.7; }
  .tri__step-no { color: #7a5f22; font-weight: 500; }
}
#scheme .scheme__summary { margin-top: 24px; }
.tri__lines line.is-dashed { stroke: var(--c-line-strong); stroke-dasharray: 6 6; }
.tri__label.is-soft { background: transparent; color: var(--c-muted); font-weight: 400; font-family: var(--font-serif); }
.scheme .tri { margin-top: 8px; }
@media (min-width: 1100px) {
  .plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .plans--4 .plan { padding: 32px 22px 24px; }
}
@media (min-width: 1100px) { .plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-left: auto; margin-right: auto; } }
.tri__num { font-family: var(--font-sans) !important; font-variant-numeric: lining-nums tabular-nums; line-height: 1 !important; font-size: 12px !important; font-weight: 500; padding: 0 !important; }
@media (max-width: 899px) {
  .scheme { padding: 24px 14px; }
  .tri { aspect-ratio: 1000 / 960; margin-top: 12px; }
  .tri__node { width: 35%; }
  .tri__node--top { top: 13%; width: 42%; }
  .tri__node--left { left: 19%; top: 86.5%; }
  .tri__node--right { left: 81%; top: 86.5%; }
  .tri__num { width: 22px; height: 22px; }
  .tri__steps { margin-top: 28px; }
}
/* 三角形はほぼ正三角形に（ノードの中心＝三角形の頂点） */
.tri { aspect-ratio: 1000 / 740; }
.tri__node--top { left: 50%; top: 14.9%; }
.tri__node--left { left: 20%; top: 85.1%; }
.tri__node--right { left: 80%; top: 85.1%; }
@media (max-width: 899px) {
  .tri { aspect-ratio: 1000 / 800; margin-top: 16px; margin-bottom: 8px; }
  .tri__node--top { top: 16.25%; }
  .tri__node--left { left: 19%; top: 83.4%; }
  .tri__node--right { left: 81%; top: 83.4%; }
}

/* スマホ：数が多く縦に長くなる一覧は、横スワイプのカルーセルにする（次のカードを少し見せる） */
@media (max-width: 899px) {
  .persona, .plans, .issues, .media-grid--scroll {
    display: flex; gap: 14px;
    max-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 20px; scroll-padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .persona::-webkit-scrollbar, .plans::-webkit-scrollbar, .issues::-webkit-scrollbar, .media-grid--scroll::-webkit-scrollbar { display: none; }
  .persona > *, .plans > *, .issues > *, .media-grid--scroll > * {
    flex: 0 0 84%; min-width: 0; scroll-snap-align: start;
  }
  .media-grid--scroll > * { flex-basis: 76%; }
  .plans { padding-top: 22px; align-items: stretch; } /* 「おすすめ」ラベルの分 */
  .issues > * { flex-basis: 88%; }
  .issue { padding: 24px 16px 20px; }
  .issue__answer { margin: 0 -6px; padding: 18px 12px; }
  .issue__steps li { grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
  .issue__step-num { width: 20px; height: 20px; line-height: 20px; font-size: 12px; margin-top: 4px; }
}

/* Serviceメニュー：お客様の立場をタブで選び、その立場のサービスだけを表示する */
.subnav { padding: 0; }
.subnav__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px 28px; border-bottom: 1px solid var(--c-line); background: var(--c-bg-soft); }
.subnav__tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 14px; border: 1px solid var(--c-line-strong); border-radius: 8px; background: var(--c-bg);
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--c-sub); text-align: left; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.subnav__tab small { font-size: 11px; font-weight: 400; color: var(--c-muted); letter-spacing: 0.04em; }
.subnav__tab[aria-selected="true"] { border-color: var(--c-accent); background: var(--c-rivia-soft); color: var(--c-accent); }
.subnav__tab:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.subnav__panel { padding: 14px 0 6px; }
.js .subnav__panel:not(.is-active) { display: none; }
.subnav__head { padding: 0 28px 6px; font-size: 11px; color: var(--c-muted); letter-spacing: 0.14em; white-space: normal; }
.subnav__label { display: block; padding: 10px 28px 2px; font-size: 11px; color: var(--c-accent); letter-spacing: 0.1em; }
.subnav__foot { padding: 4px 0 8px; border-top: 1px solid var(--c-line); }
@media (min-width: 900px) {
  .subnav { display: block; top: 100%; min-width: 0; width: min(560px, calc(100vw - 40px)); }
}
@media (max-width: 899px) {
  .subnav__tabs { padding: 12px var(--gutter); }
  .subnav__tab { padding: 9px 12px; font-size: 12.5px; }
  .subnav__head { padding: 0 var(--gutter) 4px; }
  .subnav__label { padding: 8px var(--gutter) 0; }
}

/* フッター（スマホ）：About などのリンクは横並びでコンパクトに、Service は全幅でゆったり見せる */
@media (max-width: 899px) {
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
  .footer__nav h3 { font-size: 15px; margin-bottom: 0; }
  .footer__service { grid-column: 1 / -1; grid-row: auto; order: 10; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--c-line); }
  .footer__service h3 { margin-bottom: 4px; }
  .footer__service li a { display: block; padding: 5px 0; line-height: 1.7; font-size: 13.5px; }
  .footer__group, .footer__group:first-child { margin-top: 18px; margin-bottom: 2px; }
}

/* スマホ：関連サービスは縦並び、事業紹介はカルーセル。いずれもコンパクトに */
@media (max-width: 899px) {
  .persona__card, .persona--2 .persona__card { padding: 20px 20px 16px; gap: 10px; }
  .biz-card__num { font-size: 22px; }
  .biz-card__name { margin-top: 4px; font-size: 17px; }
  .biz-card__text { margin-top: 6px; font-size: 13px; line-height: 1.8; }
  .related { gap: 10px; }
  .related__card { padding: 18px 20px; gap: 10px; }
}
@media (max-width: 899px) {
  .biz-card__en { display: none; }
  .biz-card .persona__to { padding-top: 10px; margin-top: 2px; font-size: 12px; }
}

/* スマホの全画面メニュー内の Service（タブの背景・下線などを整える） */
@media (max-width: 899px) {
  .gnav__link::after { display: none; }
  /* backdrop-filter があると固定配置のメニューがヘッダー内に閉じ込められるため、開いている間は外す */
  .header.is-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .gnav .subnav__tabs { background: none; border-bottom: 0; padding: 4px var(--gutter) 4px; }
  .gnav .subnav__panel { padding-top: 10px; }
  .gnav .subnav__foot { border-top: 0; }
}

/* スマホ：ヘッダーが1段になった分、背景写真のファーストビューは上下の余白を詰める */
@media (max-width: 899px) {
  .hero--photo { min-height: calc(100svh - var(--header-h)); padding: 72px 0 64px; }
  .page-hero--photo { min-height: 0; padding: 64px 0 56px; }
}

/* 送信完了ページ */
.thanks { text-align: center; }
.thanks__lead { font-family: var(--font-serif); font-size: 18px; line-height: 2.1; letter-spacing: 0.06em; }
.thanks__note { margin-top: 24px; font-size: 13px; color: var(--c-muted); text-align: center; }
.mthanks__note { text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.thanks__actions { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
@media (max-width: 899px) { .thanks__lead { font-size: 16px; } .thanks__actions .btn { flex: 1 1 100%; } }
.form__error { margin-top: 16px; color: #b3261e; font-size: 13px; text-align: center; }
.form__error:empty { display: none; }
button.is-sending { opacity: .6; pointer-events: none; }

/* NODE Shimoda のゲストレビュー */
.reviews { margin-top: 40px; }
.reviews__head { font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.08em; margin-bottom: 16px; }
.reviews__head span { margin-left: 12px; font-family: var(--font-sans); font-size: 12px; color: var(--c-muted); letter-spacing: 0.06em; }
.reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; padding: 24px; background: var(--c-bg); border: 1px solid var(--c-card-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.review__text { margin: 0; font-family: var(--font-serif); font-size: 15px; line-height: 1.9; letter-spacing: 0.04em; }
.review__who { font-size: 12px; color: var(--c-muted); letter-spacing: 0.06em; }
.review__who span { margin-left: 10px; }
@media (max-width: 899px) { .reviews__list { grid-template-columns: 1fr; gap: 10px; } .review { padding: 18px 20px; } }

/* お悩みカード（PC）：左の「お悩み」を右の「打ち手」の高さに対して中央に置き、上下の余白をそろえる */
@media (min-width: 900px) {
  .issue { align-items: center; }
  .issue__problem { align-self: center; }
}

/* お悩みカード（スマホのカルーセル）：見出し・お声・打ち手の各段をカード間でそろえ、グレーの箱の位置を統一する */
@media (max-width: 899px) {
  .issues {
    display: grid; grid-auto-flow: column; grid-auto-columns: 88%;
    grid-template-rows: repeat(4, auto); column-gap: 14px; row-gap: 0;
  }
  .issue { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .issue__problem { display: contents; }
  .issue__answer { display: flex; flex-direction: column; }
}

/* 対応エリア（サービス概要の下・お問い合わせページ） */
.area-note, .page-hero__area { margin-top: 20px; font-size: 13px; color: var(--c-sub); letter-spacing: 0.04em; }
.area-note { padding-left: 40px; }
.area-note span, .page-hero__area span {
  display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 999px;
  background: var(--c-rivia-soft); color: var(--c-accent); font-size: 12px; letter-spacing: 0.08em;
}
@media (max-width: 899px) { .area-note { padding-left: 16px; margin-top: 14px; } }

/* 相談セクションの一言（空き家・物件をお持ちの方への呼びかけ） */
.cta__text { font-size: 14px; letter-spacing: 0.06em; }
.cta--photo .cta__text { color: rgba(255, 255, 255, 0.88); }
.cta__btn + .cta__text { margin-top: 28px; line-height: 2; }

/* ご支援内容（PC）：STEP名が2行になっても、期間・説明の位置を全STEPでそろえる */
@media (min-width: 900px) {
  .timeline { grid-template-rows: repeat(4, auto); }
  .timeline__step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .timeline__term { justify-self: start; align-self: start; }
}

/* プランカード：「毎月の受け取り方」のラベル・本文・例の各段を、カード間でそろえる */
@media (min-width: 1100px) {
  .plans { grid-template-rows: repeat(10, auto); }
  .plan { grid-row: span 10; }
  .plan__money { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .plan__money .plan__example { align-self: start; }
}
@media (max-width: 899px) {
  .plans {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none;
    grid-template-rows: repeat(10, auto); column-gap: 14px; row-gap: 0;
  }
  .plan { display: grid; grid-row: span 10; grid-template-rows: subgrid; row-gap: 0; }
  .plan__money { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .plan__money .plan__example { align-self: start; }
}

/* 一文のリード（サービス概要・ヒーローの説明など）は、行の長さをそろえて折り返す */
.overview__text, .hero__sub, .cta__text { text-wrap: balance; }
.message__quote, .message__origin { display: block; }
.message__origin { margin-top: 1.2em; }
.message__quote:has(> n-w.j), .message__origin:has(> n-w.j) { text-align: justify; }
@media (max-width: 767px) { .message__lead { font-size: 18px; } }
/* 本文中の大事な言葉：太字＋下側だけのマーカー */
strong.hl { font-weight: 600; color: var(--c-text); background: linear-gradient(transparent 62%, rgba(26, 71, 42, 0.16) 62%); }
/* 分担の項目名が長いプランは、スマホでは全行を2行分の高さに揃えて間隔を均一にする */
@media (max-width: 899px) {
  .plan { padding-left: 20px; padding-right: 20px; }
  .plan__split--tall li { min-height: 3em; }
  .plan__split--tall .who { width: 5.6em; }
}
@media (max-width: 374px) { .plan__split--tall .plan__split-item { font-size: 12px; } }
/* Serviceメニュー：「〜したい」の一言で選ぶシンプルな一覧 */
.subnav__intents { padding: 8px 0; }
.subnav__intents a { padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.subnav__intents li:last-child a { border-bottom: 0; }
.subnav__intent { font-family: var(--font-serif); font-size: 17px; font-weight: 400; line-height: 1.5; letter-spacing: 0.06em; color: var(--c-text); }
.subnav__intents .subnav__name { font-size: 11.5px; }
@media (min-width: 900px) { .subnav { width: 420px; } }
@media (max-width: 899px) { .subnav__intent { font-size: 16px; } .subnav__intents a { padding-top: 12px; padding-bottom: 12px; } }
/* しくみ：左から右へ流れるシンプルな図（スマホでは上から下へ） */
.sflow { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) minmax(0, 150px) minmax(0, 1fr) minmax(0, 150px); align-items: center; gap: 0 12px; margin-top: 28px; }
.sflow__node { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 50%; background: var(--c-bg-soft); border: 1px solid var(--c-card-line); text-align: center; padding: 12px; }
.sflow__node--rivia { background: var(--c-rivia-soft); border-color: var(--c-accent); }
.sflow__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sflow__node--rivia .sflow__icon { color: var(--c-accent); }
.sflow__title { font-family: var(--font-serif); font-size: 17px; letter-spacing: 0.06em; }
.sflow__role { font-size: 11.5px; color: var(--c-muted); line-height: 1.5; }
.sflow__link { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sflow__pill { padding: 6px 14px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 12.5px; letter-spacing: 0.06em; }
.sflow__fwd, .sflow__back { position: relative; display: block; width: 100%; font-size: 12px; color: var(--c-sub); padding-top: 12px; }
.sflow__fwd::before, .sflow__back::before { content: ""; position: absolute; top: 0; left: 6px; right: 6px; height: 2px; background: var(--c-accent); }
.sflow__fwd::after, .sflow__back::after { content: ""; position: absolute; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--c-accent); border-right: 2px solid var(--c-accent); }
.sflow__fwd::after { right: 6px; transform: rotate(45deg); }
.sflow__back { color: var(--c-muted); }
.sflow__back::before { height: 1px; background: var(--c-line-strong); }
.sflow__back::after { left: 6px; border-color: var(--c-line-strong); border-width: 1px; transform: rotate(-135deg); }
.sflow__note { margin-top: 24px; text-align: center; font-size: 13px; color: var(--c-accent); letter-spacing: 0.04em; }
@media (max-width: 899px) {
  /* スマホ：丸を横長の帯にして縦に並べ、間の線の横に契約と流れを書く（1画面に収める） */
  .sflow { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
  .sflow__node { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 12px; aspect-ratio: auto; border-radius: 999px; padding: 12px 20px; text-align: left; }
  .sflow__title { font-size: 16px; }
  .sflow__role { font-size: 11.5px; }
  .sflow__link { position: relative; align-items: flex-start; gap: 4px; margin-left: 30px; padding: 12px 0 14px 22px; border-left: 2px solid var(--c-accent); text-align: left; }
  .sflow__link::after { content: ""; position: absolute; left: -6px; bottom: -1px; width: 10px; height: 10px; border-right: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); transform: rotate(45deg); }
  .sflow__pill { padding: 3px 12px; font-size: 11.5px; }
  .sflow__fwd, .sflow__back { width: auto; padding-top: 0; font-size: 12.5px; }
  .sflow__fwd::before, .sflow__fwd::after, .sflow__back::before, .sflow__back::after { display: none; }
  .sflow__back::before { display: inline; content: "↑ 戻り："; position: static; width: auto; height: auto; background: none; border: 0; transform: none; color: var(--c-muted); }
  .sflow__note { margin-top: 16px; font-size: 12.5px; }
}
/* お悩みとRIVIAの打ち手：番号つきのシンプルなカード */
.merits { display: grid; gap: 16px; margin-top: 8px; }
.merit { display: grid; grid-template-columns: 120px minmax(0, 1fr); background: var(--c-bg); border: 1px solid var(--c-card-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.merit__num { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--c-accent); color: #fff; font-family: var(--font-en); font-size: 48px; line-height: 1; }
.merit__num span { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.14em; opacity: .85; }
.merit__body { padding: 28px 32px; }
.merit__title { font-family: var(--font-serif); font-size: 21px; font-weight: 400; line-height: 1.6; letter-spacing: 0.04em; }
.merit__text { margin-top: 10px; font-size: 14px; line-height: 1.95; color: var(--c-sub); }
.merit__label { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 999px; background: var(--c-rivia-soft); color: var(--c-accent); font-size: 11.5px; letter-spacing: 0.08em; vertical-align: 1px; }
@media (min-width: 900px) { .merits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) {
  .merit { grid-template-columns: 1fr; }
  .merit__num { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 10px; padding: 10px 18px; font-size: 24px; }
  .merit__num span { font-size: 11px; }
  .merit__body { padding: 20px 18px; }
  .merit__title { font-size: 17px; }
  .merit__text { font-size: 13.5px; }
}
/* フッター：ロゴ・相談ボタン・主要リンクだけのシンプルな構成 */
.footer--simple { padding: 72px 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer--simple .footer__copy { margin-top: 14px; font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.08em; color: var(--c-sub); }
.footer__cta { display: inline-flex; align-items: center; gap: 20px; padding: 18px 32px; background: var(--c-text); color: #fff; font-size: 14px; letter-spacing: 0.1em; transition: opacity .2s; }
.footer__cta:hover { opacity: .85; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 48px; font-family: var(--font-en); font-size: 15px; letter-spacing: 0.14em; }
.footer__links a:hover { color: var(--c-muted); }
.footer--simple .footer__bottom { margin-top: 40px; padding-top: 24px; align-items: center; justify-content: flex-start; }
.footer--simple .footer__address { margin: 0 auto 0 0; font-size: 12px; font-family: var(--font-sans); }
@media (max-width: 899px) {
  .footer--simple { padding: 56px 0 28px; }
  .footer__cta { width: 100%; justify-content: center; }
  .footer__links { gap: 10px 24px; margin-top: 36px; font-size: 14px; }
  .footer--simple .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
/* プラン：一番大事な数字と、目安・一言だけのシンプルなカード */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.pcard { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-card-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.pcard--rec { border-color: var(--c-accent); }
.pcard__head { position: relative; padding: 28px 24px 26px; text-align: center; color: #fff; }
.pcard__head--1 { background: #6f8f78; }
.pcard__head--2 { background: #3f6b4c; }
.pcard__head--3 { background: var(--c-accent); }
.pcard__badge { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--c-accent); font-size: 11px; letter-spacing: 0.08em; }
.pcard__name { font-size: 13px; letter-spacing: 0.1em; opacity: .9; }
.pcard__label { margin-top: 14px; font-size: 11px; letter-spacing: 0.14em; opacity: .8; }
.pcard__value { margin-top: 2px; font-family: var(--font-serif); font-size: 30px; line-height: 1.35; letter-spacing: 0.04em; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.pcard__meter { display: grid; gap: 10px; }
.pcard__meter li { display: grid; grid-template-columns: 1fr auto 2.2em; align-items: center; gap: 10px; font-size: 13px; color: var(--c-sub); }
.pcard__dots { display: flex; gap: 5px; }
.pcard__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line); }
.pcard__dots i.on { background: var(--c-accent); }
.pcard__lv { text-align: right; font-size: 12px; color: var(--c-text); }
.pcard__desc { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--c-line); font-size: 14px; line-height: 1.85; flex: 1; }
.pcard__cta { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border: 1px solid var(--c-text); font-size: 13px; letter-spacing: 0.08em; transition: background .2s, color .2s; }
.pcard__cta:hover, .pcard--rec .pcard__cta { background: var(--c-text); color: #fff; }
@media (max-width: 899px) {
  .pcards { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .pcard__head { padding: 22px 20px; }
  .pcard__value { font-size: 26px; }
  .pcard__body { padding: 20px; }
}
/* プランを「段々に高くなる帯」の図として見せる（PC：右へ行くほど帯が高い／スマホ：左に帯、右に中身） */
@media (min-width: 900px) {
  .pcards { grid-template-rows: auto auto; row-gap: 0; align-items: stretch; }
  .pcard { display: grid; grid-row: span 2; grid-template-rows: subgrid; overflow: visible; border: 0; box-shadow: none; background: none; }
  .pcard__head { align-self: end; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 0; padding-top: 48px; }
  .pcards--3 .pcard:nth-child(1) .pcard__head { min-height: 170px; clip-path: polygon(0 26px, 100% 13px, 100% 100%, 0 100%); }
  .pcards--3 .pcard:nth-child(2) .pcard__head { min-height: 200px; clip-path: polygon(0 13px, 100% 0, 100% 100%, 0 100%); padding-top: 64px; }
  .pcards--3 .pcard:nth-child(3) .pcard__head { min-height: 230px; padding-top: 80px; }
  .pcards--3 .pcard:nth-child(3) .pcard__head { clip-path: polygon(0 0, 100% -13px, 100% 100%, 0 100%); }
  .pcard__body { background: var(--c-bg); border: 1px solid var(--c-card-line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-sm); }
  .pcard--rec .pcard__body { border-color: var(--c-accent); }
  .pcard__badge { top: auto; bottom: calc(100% - 44px); }
}
@media (max-width: 899px) {
  .pcard { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
  .pcard__head { display: flex; flex-direction: column; justify-content: center; padding: 20px 12px; }
  .pcard__value { font-size: 21px; }
  .pcard__name { font-size: 12px; }
  .pcard__badge { position: static; align-self: center; margin-bottom: 8px; }
  .pcard__body { padding: 16px; }
  .pcard__meter li { grid-template-columns: 1fr auto; gap: 6px; font-size: 12px; }
  .pcard__lv { display: none; }
  .pcard__desc { margin-top: 12px; padding-top: 12px; font-size: 13px; line-height: 1.75; }
  .pcard__cta { margin-top: 12px; padding: 10px 12px; font-size: 12px; }
}
@media (max-width: 899px) {
  .pcards--3 .pcard:nth-child(1) { grid-template-columns: 38% minmax(0, 1fr); }
  .pcards--3 .pcard:nth-child(2) { grid-template-columns: 42% minmax(0, 1fr); }
  .pcards--3 .pcard:nth-child(3) { grid-template-columns: 46% minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .pcard__value { font-size: 17px; letter-spacing: 0; white-space: nowrap; }
  .pcard__head { padding-left: 8px; padding-right: 8px; }
  .pcard__cta { gap: 8px; letter-spacing: 0.02em; }
  .pcard__cta .arrow { flex-shrink: 0; width: 20px; }
}
/* ご支援の流れ：だれへの支援かを示すラベル */
.timeline__for { display: inline-block; margin-left: 12px; font-family: var(--font-sans); text-transform: none; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: 0.06em; vertical-align: middle; }
.timeline__for--re { background: #ecebe8; color: var(--c-text); }
.timeline__for--inv { background: var(--c-rivia-soft); color: var(--c-accent); }
.subnav__aud { padding: 18px 28px 6px; font-size: 11.5px; color: var(--c-accent); letter-spacing: 0.14em; border-top: 1px solid var(--c-line); }
.subnav__aud:first-child { border-top: 0; padding-top: 8px; }
.subnav__intents li:has(+ .subnav__aud) a { border-bottom: 0; }
@media (max-width: 899px) { .subnav__aud { padding: 14px var(--gutter) 4px; } }
/* Mission / Vision / Values */
.mvv__block { margin-top: 96px; }
.mvv__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--c-text); }
.mvv__label .eyebrow { margin: 0; }
.mvv__copy { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.08em; }
.mvv__lead { flex-basis: 100%; font-size: 13px; color: var(--c-muted); letter-spacing: 0.06em; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.values li { padding: 28px 24px; background: var(--c-bg-soft); }
.values__num { font-family: var(--font-en); font-size: 13px; color: var(--c-accent); letter-spacing: 0.2em; }
.values h3 { margin-top: 10px; font-family: var(--font-serif); font-weight: 400; font-size: 19px; letter-spacing: 0.06em; }
.values p { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: var(--c-sub); }
@media (max-width: 1099px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .mvv__block { margin-top: 64px; }
  .values { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .values li { padding: 20px; }
}
/* About：ミッション・ビジョン・バリューを、大きな余白と細い線で上質に見せる */
.page-hero--about { min-height: min(72vh, 680px); }
.page-hero--about::before { background: linear-gradient(0deg, rgba(12, 14, 12, 0.62) 0%, rgba(12, 14, 12, 0.38) 60%, rgba(12, 14, 12, 0.3) 100%); }
.page-hero--about .page-hero__en { color: #fff; font-size: clamp(56px, 9vw, 120px); }
.page-hero--about .page-hero__ja { color: rgba(255, 255, 255, 0.85); letter-spacing: 0.3em; }
.about-sec { text-align: center; padding-top: 140px; padding-bottom: 140px; }
.about-big { font-family: var(--font-en); font-weight: 300; font-size: clamp(64px, 12vw, 168px); line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26, 71, 42, 0.1); }
.about-copy { margin-top: -0.2em; font-family: var(--font-serif); font-weight: 300; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.8; letter-spacing: 0.12em; }
.about-copy::after { content: ""; display: block; width: 40px; height: 1px; margin: 40px auto 0; background: var(--c-accent); }
.about-prose { margin-top: 48px; display: grid; gap: 36px; }
.about-line { font-family: var(--font-serif); font-weight: 300; font-size: 16px; line-height: 2.3; letter-spacing: 0.1em; color: var(--c-sub); }
.about-note { margin-top: 32px; font-size: 13.5px; color: var(--c-muted); letter-spacing: 0.1em; }
.about-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--c-line-strong); text-align: left; }
.about-pillars li { padding: 40px 28px 8px; }
.about-pillars li + li { border-left: 1px solid var(--c-line); }
.about-pillar__num { display: block; font-family: var(--font-en); font-weight: 300; font-size: 44px; line-height: 1; color: var(--c-accent); }
.about-pillar__en { display: block; margin-top: 12px; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-muted); }
.about-pillars h3 { margin-top: 20px; font-family: var(--font-serif); font-weight: 400; font-size: 20px; letter-spacing: 0.1em; }
.about-pillars p { margin-top: 14px; font-size: 13.5px; line-height: 2; color: var(--c-sub); }
.about-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 64px; text-align: left; }
.about-values li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 36px 0; border-top: 1px solid var(--c-line-strong); }
.about-value__num { font-family: var(--font-en); font-weight: 300; font-size: 52px; line-height: 1; color: var(--c-accent); }
.about-values h3 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: 0.1em; }
.about-values p { margin-top: 10px; font-size: 14px; line-height: 2; color: var(--c-sub); }
@media (max-width: 1099px) {
  .about-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-pillars li:nth-child(3) { border-left: 0; }
  .about-pillars li:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}
@media (max-width: 899px) {
  .about-sec { padding-top: 88px; padding-bottom: 88px; }
  .about-copy::after { margin-top: 28px; }
  .about-prose { margin-top: 32px; gap: 28px; }
  .about-line { font-size: 14.5px; line-height: 2.1; letter-spacing: 0.06em; }
  .about-pillars { grid-template-columns: 1fr; margin-top: 40px; }
  .about-pillars li, .about-pillars li + li { padding: 28px 4px 24px; border-left: 0; border-top: 1px solid var(--c-line); }
  .about-pillars li:first-child { border-top: 0; }
  .about-values { grid-template-columns: 1fr; margin-top: 40px; }
  .about-values li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 26px 0; }
  .about-value__num { font-size: 38px; }
  .about-values h3 { font-size: 18px; }
}
.about-outcomes { margin-top: 24px; text-align: left; }
.vision__more { margin-top: 40px; }
.vision__more a { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.08em; color: var(--c-sub); }
.vision__more a:hover { color: var(--c-text); }
/* プランの図：1本の帯が段々に高く（スマホは太く）なり、丸の大きさで量を示す */
.pd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 0; margin-top: 48px; }
.pd__plan { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.pd__seg { position: relative; align-self: end; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 16px 26px; text-align: center; color: #fff; }
.pd__plan--1 .pd__seg { min-height: 170px; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #8aa591, #6f8d78); }
.pd__plan--2 .pd__seg { min-height: 200px; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #6f8d78, #4c6f56); }
.pd__plan--3 .pd__seg { min-height: 230px; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #4c6f56, #1a472a); }
.pd__plan + .pd__plan .pd__seg { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.35); }
.pd__badge { align-self: center; margin-bottom: 10px; padding: 2px 12px; border-radius: 999px; background: #fff; color: var(--c-accent); font-size: 11px; letter-spacing: 0.08em; }
.pd__name { font-size: 13px; letter-spacing: 0.1em; }
.pd__label { margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; opacity: .8; }
.pd__value { margin-top: 2px; font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; letter-spacing: 0.04em; }
.pd__body { display: flex; flex-direction: column; align-items: center; padding: 28px 24px 8px; text-align: center; }
.pd__plan + .pd__plan .pd__body { border-left: 1px solid var(--c-line); }
.pd__metrics { display: flex; justify-content: center; align-items: flex-end; gap: 28px; min-height: 96px; }
.pd__metrics > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pd__metrics span { font-size: 12px; color: var(--c-sub); letter-spacing: 0.06em; }
.pd__c { display: grid; place-items: center; border-radius: 50%; color: #fff; font-family: var(--font-serif); font-weight: 400; line-height: 1; white-space: nowrap; }
.pd__c--a { background: var(--c-accent); }
.pd__c--b { background: #33475b; }
.pd__c--0 { width: 44px; height: 44px; font-size: 12px; background: none; color: var(--c-muted); box-shadow: inset 0 0 0 1px var(--c-line-strong); }
.pd__c--1 { width: 44px; height: 44px; font-size: 13px; }
.pd__c--2 { width: 56px; height: 56px; font-size: 15px; }
.pd__c--3 { width: 68px; height: 68px; font-size: 17px; }
.pd__desc { margin-top: 20px; font-size: 14px; line-height: 1.85; flex: 1; }
.pd__cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 14px; padding-bottom: 4px; border-bottom: 1px solid var(--c-text); font-size: 13px; letter-spacing: 0.06em; }
@media (max-width: 899px) {
  /* スマホ：左に帯（下へ行くほど太くなる）、右に丸と一言 */
  .pd { grid-template-columns: 1fr; grid-template-rows: none; margin-top: 32px; }
  .pd__plan { grid-row: auto; grid-template-rows: none; grid-template-columns: var(--w) minmax(0, 1fr); }
  .pd__plan--1 { --w: 36%; } .pd__plan--2 { --w: 42%; } .pd__plan--3 { --w: 48%; }
  .pd__seg { align-self: stretch; justify-content: center; min-height: 0 !important; padding: 20px 10px; }
  .pd__plan--1 .pd__seg { clip-path: polygon(0 0, 83% 0, 100% 100%, 0 100%); padding-right: 16px; }
  .pd__plan--2 .pd__seg { clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%); padding-right: 16px; background: linear-gradient(180deg, #6f8d78, #4c6f56); }
  .pd__plan--3 .pd__seg { clip-path: polygon(0 0, 87.5% 0, 100% 100%, 0 100%); padding-right: 16px; background: linear-gradient(180deg, #4c6f56, #1a472a); }
  .pd__plan--1 .pd__seg { background: linear-gradient(180deg, #8aa591, #6f8d78); }
  .pd__plan + .pd__plan .pd__seg { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  .pd__name { font-size: 11.5px; letter-spacing: 0.04em; }
  .pd__label { margin-top: 8px; font-size: 10px; letter-spacing: 0.06em; }
  .pd__value { font-size: 18px; letter-spacing: 0; }
  .pd__body { padding: 18px 0 18px 14px; }
  .pd__plan + .pd__plan .pd__body { border-left: 0; border-top: 1px solid var(--c-line); }
  .pd__metrics { gap: 14px; min-height: 76px; }
  .pd__metrics span { font-size: 11px; }
  .pd__c--0, .pd__c--1 { width: 36px; height: 36px; font-size: 11.5px; }
  .pd__c--2 { width: 44px; height: 44px; font-size: 13px; }
  .pd__c--3 { width: 52px; height: 52px; font-size: 14px; }
  .pd__desc { margin-top: 12px; font-size: 12.5px; line-height: 1.75; }
  .pd__cta { margin-top: 10px; font-size: 12px; gap: 10px; }
}
.pd__metrics { align-items: flex-start; }
.pd__metrics > div { display: grid; grid-template-rows: auto 68px; place-items: center; gap: 6px; }
@media (max-width: 899px) {
  .pd__metrics > div { grid-template-rows: auto 52px; }
  .pd__metrics { min-height: 0; }
  .pd__cta { white-space: nowrap; font-size: 11.5px; letter-spacing: 0.02em; }
  .pd__cta .arrow { width: 18px; }
}
@media (max-width: 899px) {
  .pd__name { font-size: 11px; letter-spacing: 0; }
  .pd__label { letter-spacing: 0; }
  .pd__cta wbr { display: none; }
}
@media (max-width: 899px) { .pd__name { white-space: nowrap; font-size: 10.5px; } .pd__name wbr { display: none; } }
/* フッター：目的・お悩みから探す */
.footer__intents { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--c-line); }
.footer__aud p { font-size: 11.5px; color: var(--c-accent); letter-spacing: 0.14em; }
.footer__aud ul { margin-top: 10px; }
.footer__aud:nth-child(2) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.footer__aud a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.06em; transition: color .2s; }
.footer__aud a:hover { color: var(--c-accent); }
.footer__aud a .arrow { flex-shrink: 0; width: 18px; }
.footer--simple .footer__links { margin-top: 36px; }
@media (max-width: 899px) {
  .footer__intents { grid-template-columns: 1fr; margin-top: 36px; padding-top: 28px; }
  .footer__aud:nth-child(2) ul { grid-template-columns: 1fr; }
  .footer__aud a { font-size: 14.5px; padding: 11px 0; }
}
/* フッター：各サービスの案内 */
.footer__svcs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 28px; }
.footer__svc-name { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); font-family: var(--font-serif); font-size: 14.5px; line-height: 1.6; letter-spacing: 0.04em; }
.footer__svc-name .arrow { flex-shrink: 0; width: 16px; margin-top: 10px; }
.footer__svc ul { margin-top: 12px; display: grid; gap: 8px; }
.footer__svc li a { font-size: 12.5px; color: var(--c-sub); letter-spacing: 0.04em; }
.footer__svc li a::before { content: "— "; color: var(--c-line-strong); }
.footer__svc a:hover { color: var(--c-accent); }
@media (max-width: 1099px) { .footer__svcs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .footer__svcs { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__svc-name { font-size: 13.5px; }
  .footer__svc li a { font-size: 12px; }
}
.footer__svcs { display: grid; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.footer__svcs-head { grid-column: 1 / -1; font-size: 11.5px; color: var(--c-accent); letter-spacing: 0.14em; }
/* 評価：星は数字より小さく、数字の高さの中央にそろえる */
.project__rating strong { display: inline-flex; align-items: center; gap: 10px; }
.project__rating .project__star { font-size: 26px; line-height: 1; color: var(--c-accent); transform: translateY(-2px); }
.thumb__brand { font-family: var(--font-serif); letter-spacing: 0.16em; }
/* サービス名が2行になっても、下線と小項目の位置を全列でそろえる */
.footer__svcs { grid-template-rows: auto auto auto; }
.footer__svc { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.footer__svc-name { align-self: stretch; }
@media (max-width: 899px) { .footer__svcs { grid-template-rows: none; grid-auto-rows: auto; } }
/* ヘッダー：相談ボタンをなくし、ナビのContactに集約 */
.header__inner { grid-template-columns: auto 1fr auto; }
@media (max-width: 899px) { .header__inner { grid-template-columns: 1fr auto; } }
/* サービスページ：画面下に常に「無料で相談する」 */
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; justify-content: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--c-line); }
.fixed-cta .btn { width: min(420px, 100%); justify-content: center; gap: 20px; padding: 16px 24px; }
body:has(.fixed-cta) { padding-bottom: 76px; }
body:has(.header.is-menu-open) .fixed-cta { display: none; }
/* スマホ：サービス名は全列2行分の高さにそろえ、下線と小項目の位置をそろえる */
@media (max-width: 899px) { .footer__svc-name { min-height: calc(1.6em * 2 + 12px); } }
/* 英字書体の数字は、高さのそろった数字（ライニング数字）で表示する（4・3・9などが下にずれないように） */
html { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
/* 画面下の相談ボタンは控えめなサイズに */
.fixed-cta { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
.fixed-cta .btn { width: min(280px, 100%); padding: 8px 18px; font-size: 12.5px; gap: 12px; box-shadow: none; }
.fixed-cta .btn .arrow { width: 24px; }
body:has(.fixed-cta) { padding-bottom: 54px; }
/* About：グレー背景の上でも「生まれる価値」が長方形で囲まれて見えるよう、白い箱にする */
.about-outcomes li { background: var(--c-bg); }
.about-outcomes { margin-top: 16px; }
/* ===== アキヤド（メディアトップ・カテゴリ・ガイド） ===== */
.mhero { padding: 104px 0 56px; }
.mhero__en { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--c-muted); }
.mhero__title { margin-top: 12px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.5; letter-spacing: 0.12em; }
.mhero__lead { margin-top: 20px; max-width: 40em; font-size: 14.5px; line-height: 2.1; color: var(--c-sub); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 28px; font-size: 12px; letter-spacing: 0.04em; color: var(--c-muted); }
.crumbs a:hover { color: var(--c-text); text-decoration: underline; text-underline-offset: 4px; }
.crumbs__sep { margin: 0 10px; }
.article__header .crumbs { margin-bottom: 24px; }
.mnav { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.mnav__list { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.mnav__list::-webkit-scrollbar { display: none; }
.mnav__list a { display: block; padding: 18px 22px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 13.5px; letter-spacing: 0.08em; color: var(--c-sub); transition: color .2s, border-color .2s; }
.mnav__list a:hover { color: var(--c-text); }
.mnav__list a[aria-current] { color: var(--c-text); border-bottom-color: var(--c-text); }
.msec--first { padding-top: 72px; }
.msec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--c-line-strong); }
.msec__en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-muted); }
.msec__title { margin-top: 4px; font-family: var(--font-serif); font-weight: 400; font-size: 24px; letter-spacing: 0.1em; }
.msec__more { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.06em; white-space: nowrap; }
.msec__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.msec__lead { margin: -8px 0 32px; font-size: 14px; line-height: 2; color: var(--c-sub); }
/* 新着：1本を大きく、残りを横並びの小さなカードに */
.media-grid--feature { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.media-grid--feature .is-lead { grid-row: span 2; }
.media-grid--feature .is-lead .media-card__title { font-size: 21px; line-height: 1.75; }
.media-grid--feature .media-card:not(.is-lead) { flex-direction: row; align-items: flex-start; gap: 20px; }
.media-grid--feature .media-card:not(.is-lead) .thumb { flex: 0 0 46%; }
.media-grid--feature .media-card:not(.is-lead) .media-card__body { padding-top: 0; }
/* 目的から読む（ガイド） */
.guide-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 48px; padding: 22px 28px; background: var(--c-bg-soft); }
.guide-link__label { font-size: 12px; letter-spacing: 0.1em; color: var(--c-muted); }
.guide-link__title { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.06em; }
.guide-link:hover .guide-link__title { text-decoration: underline; text-underline-offset: 4px; }
.guide-steps { border-top: 1px solid var(--c-line); }
.guide-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.guide-step__no { font-family: var(--font-en); font-size: 28px; line-height: 1.2; color: var(--c-muted); }
.guide-step__body { display: flex; flex-direction: column; gap: 6px; }
.guide-step__cat { font-size: 12px; letter-spacing: 0.1em; color: var(--c-muted); }
.guide-step__title { font-family: var(--font-serif); font-size: 19px; line-height: 1.7; letter-spacing: 0.04em; }
a.guide-step__body:hover .guide-step__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.guide-step__desc { font-size: 13.5px; line-height: 2; color: var(--c-sub); }
.guide-step.is-upcoming .guide-step__title, .guide-step.is-upcoming .guide-step__desc { color: var(--c-muted); }
.guide-step__soon { margin-top: 4px; font-size: 12px; letter-spacing: 0.08em; color: var(--c-accent); }
/* 記事ページ：ガイド内の位置・前後の記事・シェア */
.guide-box { margin-top: 72px; padding: 32px 36px; border: 1px solid var(--c-line-strong); }
.guide-box__label { font-size: 12px; letter-spacing: 0.14em; color: var(--c-muted); }
.guide-box__title { display: inline-block; margin: 6px 0 16px; font-family: var(--font-serif); font-size: 18px; letter-spacing: 0.06em; }
.guide-box__title:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-box__list { display: grid; gap: 8px; }
.guide-box__list li[hidden] { display: none; }
.guide-box__item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px 10px 12px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg); }
a.guide-box__item:hover { border-color: var(--c-line-strong); }
a.guide-box__item:hover .guide-box__name { text-decoration: underline; text-underline-offset: 4px; }
a.guide-box__item:active { background: var(--c-bg-soft); }
.guide-box__no { font-family: var(--font-en); font-size: 14px; text-align: center; color: var(--c-muted); }
.guide-box__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.guide-box__name { font-size: 14.5px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.guide-box__blurb { font-size: 12px; line-height: 1.6; color: var(--c-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-box__go { font-size: 22px; line-height: 1; color: var(--m-green, var(--c-accent)); }
.guide-box__here { padding: 3px 10px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; }
.guide-box__list li[aria-current] .guide-box__item { border-color: var(--c-accent); background: var(--c-bg-soft); }
.guide-box__more { margin-top: 8px; min-height: 48px; }
.guide-box__all { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--m-green, var(--c-accent)); }
.guide-box__all:hover { text-decoration: underline; text-underline-offset: 4px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 56px; }
.share__label { font-size: 12px; letter-spacing: 0.14em; color: var(--c-muted); }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.share__list a, .share__copy { display: inline-block; padding: 8px 18px; border: 1px solid var(--c-line-strong); font-size: 13px; letter-spacing: 0.06em; transition: border-color .2s; }
.share__list a:hover, .share__copy:hover { border-color: var(--c-text); }
@media (max-width: 899px) {
  .mhero { padding: 64px 0 40px; }
  .mhero__lead { font-size: 14px; }
  .mnav__list { justify-content: flex-start; }
  .mnav__list a { padding: 15px 16px; font-size: 13px; }
  .msec--first { padding-top: 48px; }
  .msec__head { flex-wrap: wrap; margin-bottom: 24px; }
  .msec__title { font-size: 21px; }
  .msec__lead { margin-bottom: 24px; }
  .media-grid--feature { grid-template-columns: 1fr; gap: 24px; }
  .media-grid--feature .is-lead { grid-row: auto; }
  .media-grid--feature .is-lead .media-card__title { font-size: 18px; }
  .media-grid--feature .media-card:not(.is-lead) { gap: 16px; }
  .media-grid--feature .media-card:not(.is-lead) .thumb { flex-basis: 40%; }
  .media-grid--feature .media-card:not(.is-lead) .thumb__cat { display: none; }
  .media-grid--feature .media-card:not(.is-lead) .media-card__title { font-size: 14px; line-height: 1.7; margin-top: 4px; }
  .media-grid--feature .media-card:not(.is-lead) .media-card__date { margin-top: 6px; font-size: 12px; }
  .guide-link { flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 22px; margin-bottom: 36px; }
  .guide-step { grid-template-columns: 44px minmax(0, 1fr); padding: 24px 0; }
  .guide-step__no { font-size: 22px; }
  .guide-step__title { font-size: 16.5px; }
  .guide-box { margin-top: 56px; padding: 24px 22px; }
}
/* 記事検索 */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.msearch { display: flex; max-width: 560px; margin-top: 32px; border: 1px solid var(--c-line-strong); background: var(--c-bg); transition: border-color .2s; }
.msearch:focus-within { border-color: var(--c-text); }
.msearch__input { flex: 1; min-width: 0; padding: 14px 18px; border: 0; background: transparent; font: inherit; font-size: 14px; letter-spacing: 0.04em; outline: none; }
.msearch__input::placeholder { color: var(--c-muted); }
.msearch__btn { flex-shrink: 0; padding: 0 26px; background: var(--c-text); color: #fff; font-size: 13px; letter-spacing: 0.14em; transition: opacity .2s; }
.msearch__btn:hover { opacity: 0.85; }
.msearch-words { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 40px; }
.msearch-words__label { font-size: 12px; letter-spacing: 0.1em; color: var(--c-muted); }
.msearch-words ul { display: flex; flex-wrap: wrap; gap: 8px; }
.msearch-words a { display: inline-block; padding: 5px 14px; border: 1px solid var(--c-line-strong); border-radius: 999px; font-size: 12.5px; letter-spacing: 0.04em; transition: border-color .2s; }
.msearch-words a:hover { border-color: var(--c-text); }
.msearch-status { margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line-strong); font-family: var(--font-serif); font-size: 18px; letter-spacing: 0.06em; }
.msearch-empty p { font-size: 14px; line-height: 2; color: var(--c-sub); }
.msearch-empty ul { margin-top: 16px; }
.msearch-empty li + li { margin-top: 8px; }
.msearch-empty a { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
/* 監修者 */
.supervisor { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; padding: 28px 32px; border: 1px solid var(--c-line); }
.supervisor__photo { width: 88px; height: 88px; overflow: hidden; border-radius: 50%; background: var(--c-bg-soft); }
.supervisor__photo img { width: 100%; height: 100%; object-fit: cover; }
.supervisor__role { margin-left: 12px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.04em; color: var(--c-muted); }
.supervisor__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; letter-spacing: 0.06em; }
.supervisor__more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) {
  .msearch { margin-top: 24px; }
  .msearch__input { padding: 12px 14px; font-size: 16px; }
  .msearch__btn { padding: 0 18px; }
  .msearch-words { margin-bottom: 28px; }
  .supervisor { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 20px; }
  .supervisor__photo { width: 64px; height: 64px; }
  .supervisor__role { display: block; margin: 4px 0 0; }
}
.supervisor__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 12px; }
.supervisor__links .supervisor__more { margin-top: 0; }
.supervisor__links ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.supervisor__links ul a { font-size: 12.5px; letter-spacing: 0.06em; color: var(--c-sub); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--c-line-strong); }
.supervisor__links ul a:hover { color: var(--c-text); text-decoration-color: currentColor; }
/* 読者の状況から読む（ペルソナ別ガイド） */
.persona-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1199px) and (min-width: 900px) { .persona-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.persona-card { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-line); transition: box-shadow .3s, border-color .3s; }
.persona-card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-sm); }
.persona-card__photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-bg-soft); }
.persona-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.persona-card:hover .persona-card__photo img { transform: scale(1.04); }
.persona-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px 28px 26px; }
.persona-card__who { font-size: 12px; line-height: 1.8; letter-spacing: 0.04em; color: var(--c-muted); }
.persona-card__title { margin-top: 6px; font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: 0.08em; line-height: 1.6; }
.persona-card__worries { flex: 1; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.persona-card__worries li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 2; color: var(--c-sub); }
.persona-card__worries li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 6px; height: 1px; background: var(--c-accent); }
.persona-card__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 13px; letter-spacing: 0.06em; color: var(--c-accent); }
/* よくある悩みから探す */
.mq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--c-line-strong); }
.mq__item { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--c-line-strong); transition: background .2s; }
.mq__item:hover .mq__q { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.mq__who { font-size: 11.5px; letter-spacing: 0.04em; color: var(--c-accent); }
.mq__q { font-family: var(--font-serif); font-size: 16px; line-height: 1.7; letter-spacing: 0.04em; }
.mq__arrow { color: var(--c-muted); }
/* テーマから探す */
/* ガイドページ：段階 */
.guide-worries { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 56px; padding: 22px 28px; background: var(--c-bg-soft); }
.guide-worries__label { font-size: 12px; letter-spacing: 0.1em; color: var(--c-muted); }
.guide-worries ul { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-worries li { padding: 5px 14px; border-radius: 999px; background: var(--c-bg); font-size: 13px; letter-spacing: 0.04em; }
.guide-stage + .guide-stage { margin-top: 72px; }
.guide-stage__head { margin-bottom: 8px; }
.guide-stage__no { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-accent); }
.guide-stage__title { margin-top: 6px; font-family: var(--font-serif); font-weight: 400; font-size: 23px; letter-spacing: 0.08em; }
.guide-stage__desc { margin: 8px 0 20px; font-size: 13.5px; line-height: 2; color: var(--c-sub); }
/* 記事ページ：こんな方に */
.article__for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; font-size: 12px; color: var(--c-muted); letter-spacing: 0.06em; }
.article__for ul { display: flex; flex-wrap: wrap; gap: 8px; }
.article__for a { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--c-rivia-soft); color: var(--c-accent); font-size: 12.5px; letter-spacing: 0.04em; }
.article__for a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1099px) {
}
@media (max-width: 899px) {
  .persona-cards { grid-template-columns: 1fr; gap: 16px; }
  .persona-card { display: grid; grid-template-columns: 34% minmax(0, 1fr); }
  .persona-card__photo { aspect-ratio: auto; height: 100%; }
  .persona-card__body { padding: 18px 18px 18px; }
  .persona-card__who { font-size: 11px; line-height: 1.7; }
  .persona-card__title { font-size: 17px; letter-spacing: 0.04em; }
  .persona-card__worries { margin-top: 10px; padding-top: 10px; }
  .persona-card__worries li { font-size: 12.5px; line-height: 1.85; }
  .persona-card__more { margin-top: 12px; font-size: 12px; }
  .mq { grid-template-columns: 1fr; }
  .mq__item { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px 2px; }
  .mq__who { grid-column: 1 / -1; }
  .mq__q { font-size: 15px; }
  .guide-worries { margin-bottom: 40px; padding: 18px 20px; }
  .guide-stage + .guide-stage { margin-top: 56px; }
  .guide-stage__title { font-size: 20px; }
}
/* ===== アキヤド：独立したメディアとしての見え方（専用ヘッダー・FV・フッター） ===== */
body.is-media { --header-h: 117px; }
.header--media .mheader__inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.mlogo { display: inline-flex; align-items: baseline; gap: 14px; }
.mlogo__ja { font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: 0.16em; line-height: 1; }
.mlogo__en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); }
.mheader__corp { font-size: 12px; letter-spacing: 0.1em; color: var(--c-muted); transition: color .2s; }
.mheader__corp:hover { color: var(--c-text); }
/* メディアトップのFV */
.mfv { position: relative; display: flex; align-items: center; min-height: max(600px, calc(100svh - var(--header-h))); padding: 72px 0; overflow: hidden; isolation: isolate; color: #fff; background: #1b1f1a; }
.mfv__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.mfv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 14, 12, 0.74) 0%, rgba(12, 14, 12, 0.5) 55%, rgba(12, 14, 12, 0.3) 100%); }
.mfvlogo { display: flex; flex-direction: column; }
.mfvlogo__ja { font-family: var(--font-serif); font-weight: 300; font-size: clamp(40px, 6vw, 76px); line-height: 1.3; letter-spacing: 0.16em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.mfvlogo__en { margin-top: 12px; font-family: var(--font-en); font-size: 14px; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.85; }
.mfv__copy { margin-top: 36px; font-family: var(--font-serif); font-size: clamp(18px, 2vw, 24px); line-height: 1.8; letter-spacing: 0.1em; }
.mfv__lead { max-width: 36em; margin-top: 12px; font-size: 14px; line-height: 2; opacity: 0.88; }
.mfv__entry { margin-top: 36px; }
.mfv__entry-label { font-size: 12px; letter-spacing: 0.14em; opacity: 0.8; }
.mfv__entry ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.mfv__entry a { display: inline-flex; align-items: center; gap: 14px; padding: 13px 22px; border: 1px solid rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); font-size: 14px; letter-spacing: 0.06em; transition: background .2s, color .2s; }
.mfv__entry a:hover { background: #fff; color: var(--c-text); }
.msearch--fv { margin-top: 20px; border-color: transparent; background: #fff; color: var(--c-text); }
/* メディアのフッター */
.mfooter { padding: 88px 0 40px; background: #171a17; color: rgba(255, 255, 255, 0.86); }
.mfooter__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; }
.mfooter .mlogo__ja { color: #fff; font-size: 24px; }
.mfooter .mlogo__en { color: rgba(255, 255, 255, 0.55); }
.mfooter__lead { margin-top: 20px; font-size: 13px; line-height: 2.1; color: rgba(255, 255, 255, 0.66); }
.mfooter__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.mfooter__label { margin-bottom: 12px; font-size: 11.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); }
.mfooter__cols a { font-size: 13px; line-height: 2.3; letter-spacing: 0.04em; }
.mfooter__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mfooter__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 11.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.06em; }
.mfooter__corp { display: inline-flex; align-items: center; gap: 16px; }
.mfooter__corp img { width: auto; height: 22px; }
.mfooter__corp:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) {
  body.is-media { --header-h: 101px; }
  .header--media .mheader__inner { height: 54px; }
  .mlogo { gap: 10px; }
  .mlogo__ja { font-size: 18px; letter-spacing: 0.12em; }
  .mlogo__en { display: none; }
  .mheader__corp { font-size: 11px; }
  .mfv { min-height: calc(100svh - var(--header-h)); padding: 56px 0 48px; }
  .mfv::before { background: linear-gradient(0deg, rgba(12, 14, 12, 0.8) 0%, rgba(12, 14, 12, 0.55) 60%, rgba(12, 14, 12, 0.4) 100%); }
  .mfvlogo__en { font-size: 11px; letter-spacing: 0.26em; }
  .mfv__copy { margin-top: 24px; }
  .mfv__lead { font-size: 13px; }
  .mfv__entry { margin-top: 28px; }
  .mfv__entry ul { flex-direction: column; }
  .mfv__entry a { justify-content: space-between; width: 100%; padding: 13px 18px; }
  .mfooter { padding: 64px 0 32px; }
  .mfooter__top { grid-template-columns: 1fr; gap: 40px; }
  .mfooter__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .mfooter__cols > div:last-child { grid-column: 1 / -1; }
  .mfooter__bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; }
}
.mnav__list a, .mnav__list a * { white-space: nowrap; }
@media (max-width: 899px) {
  .mfvlogo__ja { font-size: 38px; letter-spacing: 0.12em; }
  .mfv__lead { display: none; }
  .mfv__copy { font-size: 17px; }
  .mfv__entry a { padding: 12px 16px; font-size: 13.5px; }
  .msearch--fv .msearch__input { font-size: 14px; }
}
.header--media { border-bottom: 0; }
.mnav__list li { flex-shrink: 0; }
/* メディア名「アキヤド」のロゴ */
.mlogo { align-items: center; }
.mlogo__ja { letter-spacing: 0.2em; }
.mlogo__sub { font-size: 11px; letter-spacing: 0.12em; color: var(--c-muted); }
.mfooter .mlogo__sub { color: rgba(255, 255, 255, 0.55); }
.mfvlogo__en { order: -1; margin: 0 0 14px; font-size: 13px; letter-spacing: 0.42em; }
.mfvlogo__ja { font-size: clamp(48px, 7vw, 92px); letter-spacing: 0.22em; line-height: 1.2; }
.mfvlogo__sub { margin-top: 14px; font-size: 15px; letter-spacing: 0.24em; opacity: 0.9; }
/* 記事カード：写真はすっきり見せ、カテゴリは本文側の表記だけにする。写真の色味をそろえる */
.media-card .thumb__cat { display: none; }
.thumb--photo img, .article__photo img, .persona-card__photo img { filter: saturate(0.9); }
@media (max-width: 899px) {
  .mlogo__sub { font-size: 10px; letter-spacing: 0.06em; }
  .mfvlogo__ja { font-size: 52px; letter-spacing: 0.16em; }
  .mfvlogo__sub { font-size: 13px; letter-spacing: 0.16em; }
  .mfvlogo__en { font-size: 11px; letter-spacing: 0.32em; margin-bottom: 10px; }
}
@media (max-width: 899px) { .mheader__corp { display: none; } }
/* FVは引き算：ロゴと、状況別の入口だけ */
.mfv__entry { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.mfvlogo__sub { margin-top: 18px; }
@media (max-width: 899px) {
  .mfv { align-items: flex-end; padding-bottom: 56px; }
  .mfv__entry { flex-direction: column; margin-top: 40px; }
}
/* 右上：運営会社のロゴ */
.mheader__corp { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.12em; }
.mheader__corp img { width: auto; height: 26px; }
.mheader__corp:hover img { opacity: 0.8; }
@media (max-width: 899px) {
  .mheader__corp { display: inline-flex; gap: 8px; font-size: 10px; }
  .mheader__corp img { height: 20px; }
  .header--media .mlogo__sub { display: none; }
}
picture { display: contents; }
/* 新着：右の小さなカードは間を空けずに上から詰める（大きなカードの高さに引き伸ばさない） */
.media-grid--feature { grid-template-rows: auto auto 1fr; row-gap: 28px; }
.media-grid--feature .is-lead { grid-row: span 3; }
@media (max-width: 899px) {
  .media-grid--feature { grid-template-rows: none; }
  .media-grid--feature .is-lead { grid-row: auto; }
}
/* ガイドの記事：写真つきのカードにして、押せることが一目で分かるように */
.guide-step { display: block; padding: 0; border-bottom: 0; }
.guide-steps { display: grid; gap: 12px; border-top: 0; }
.guide-step__body { display: grid; grid-template-columns: 44px 200px minmax(0, 1fr); align-items: center; gap: 24px; padding: 16px 24px 16px 20px; border: 1px solid var(--c-line); background: var(--c-bg); transition: border-color .2s, box-shadow .3s; }
a.guide-step__body:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-sm); }
.guide-step__no { font-size: 24px; line-height: 1; color: var(--c-accent); }
.guide-step__thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-soft); }
.guide-step__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.guide-step__body:hover .guide-step__thumb img { transform: scale(1.04); }
.guide-step__text { display: flex; flex-direction: column; gap: 6px; }
.guide-step__min { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--c-line-strong); }
.guide-step__title { font-size: 17px; line-height: 1.75; }
.guide-step__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 13px; letter-spacing: 0.06em; color: var(--c-accent); }
.guide-step.is-upcoming .guide-step__body { background: var(--c-bg-soft); border-style: dashed; }
.guide-step.is-upcoming .guide-step__thumb { opacity: 0.5; filter: grayscale(0.6); }
.guide-step.is-upcoming .guide-step__no, .guide-step.is-upcoming .guide-step__title { color: var(--c-muted); }
.guide-step__soon { margin-top: 4px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--c-accent); }
@media (max-width: 899px) {
  .guide-step__body { grid-template-columns: 96px minmax(0, 1fr); gap: 6px 14px; padding: 12px; }
  .guide-step__no { grid-column: 1 / -1; font-size: 15px; }
  .guide-step__thumb { aspect-ratio: 1 / 1; }
  .guide-step__title { font-size: 14.5px; line-height: 1.7; }
  .guide-step__min { display: none; }
  .guide-step__more { font-size: 12px; }
}
/* タップしやすい大きさ（24px以上）を確保する */
.crumbs a { display: inline-block; padding: 4px 0; }
.toc li a { display: inline-block; padding: 4px 0; line-height: 1.7; }
.supervisor__links ul a { display: inline-block; padding: 6px 0; }
/* FVの検索窓（入口ボタンの下に、同じ幅感でそろえる） */
.msearch--fv { max-width: 685px; margin-top: 16px; }
@media (max-width: 899px) {
  .msearch--fv { max-width: none; margin-top: 12px; }
  .mfv__entry { margin-top: 32px; }
}
/* ===== スマホで読みやすく ===== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table td.num { white-space: nowrap; }
.mq__q, .guide-step__title, .mhero__title, .persona-card__title { word-break: auto-phrase; }
@media (max-width: 899px) {
  .table-scroll { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .table-scroll .table { min-width: 100%; }
  .article__section .table th, .article__section .table td { padding: 10px 10px; font-size: 13px; line-height: 1.7; }
  .mhero__title { font-size: 26px; letter-spacing: 0.08em; }
  /* 記事一覧は、写真を左・タイトルを右の横並びにして、一覧性を上げる */
  .media-grid:not(.media-grid--feature):not(.media-grid--scroll) { grid-template-columns: 1fr; gap: 0; }
  .media-grid:not(.media-grid--feature):not(.media-grid--scroll) .media-card { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
  .media-grid:not(.media-grid--feature):not(.media-grid--scroll) .media-card .thumb { flex: 0 0 38%; }
  .media-grid:not(.media-grid--feature):not(.media-grid--scroll) .media-card__body { padding-top: 0; }
  .media-grid:not(.media-grid--feature):not(.media-grid--scroll) .media-card__title { margin-top: 4px; font-size: 14px; line-height: 1.7; }
  .media-grid:not(.media-grid--feature):not(.media-grid--scroll) .media-card__date { margin-top: 6px; font-size: 12px; }
  .media-grid:not(.media-grid--feature):not(.media-grid--scroll) .media-card__cat { font-size: 11px; }
  .mfooter__cols > div:first-child { grid-column: 1 / -1; }
}
/* 目次：番号と見出しを同じ行にそろえる */
.toc li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); align-items: baseline; }
.toc li::before { content: counter(toc, decimal-leading-zero); }
/* FV：ロゴ・一言・状況別の入口・検索（多すぎず少なすぎず） */
.mfv__copy { margin-top: 40px; }
.mfv__lead { margin-top: 6px; }
.mfv__entry-label { margin-top: 36px; font-size: 12px; letter-spacing: 0.14em; opacity: 0.8; }
.mfv__entry { margin-top: 12px; }
@media (max-width: 899px) {
  .mfv__copy { margin-top: 28px; font-size: 18px; }
  .mfv__lead { display: block; font-size: 13px; }
  .mfv__entry-label { margin-top: 24px; }
  .mfv__entry { margin-top: 10px; }
}
/* スマホのFVは文字を絞る（説明文・見出しラベルはPCだけ） */
@media (max-width: 899px) {
  .mfv__lead, .mfv__entry-label { display: none; }
  .mfv__entry { margin-top: 28px; gap: 8px; }
  .mfv__entry a { padding: 11px 16px; }
}
/* ナビは日本語。和文に合わせて字体・字間を調整（英語ページは英字体のまま） */
html[lang="ja"] .gnav__link { font-family: var(--font-sans); font-size: 14px; letter-spacing: 0.1em; }
html[lang="ja"] .gnav__list { gap: 40px; }
html[lang="ja"] .footer__links { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em; }
@media (max-width: 899px) {
  html[lang="ja"] .gnav__link { font-size: 16px; }
}
/* 言語の切り替え（JP / EN） */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; margin-left: 24px; padding: 0 10px; border: 1px solid var(--c-line-strong); font-family: var(--font-en); font-size: 13px; letter-spacing: 0.14em; transition: border-color .2s; }
.lang-switch:hover { border-color: var(--c-text); }
.header__inner { grid-template-columns: auto 1fr auto auto; }
@media (max-width: 899px) {
  .lang-switch { margin-left: 0; margin-right: 12px; height: 30px; min-width: 40px; font-size: 12px; }
}
/* 英語ページの文字組み */
html[lang="en"] body { word-break: normal; overflow-wrap: break-word; letter-spacing: 0.01em; }
html[lang="en"] { --font-serif: "Cormorant Garamond", "Noto Serif JP", serif; }
html[lang="en"] .hero__title, html[lang="en"] .page-hero__ja, html[lang="en"] .section-title { letter-spacing: 0.02em; }
html[lang="en"] .hero__title { font-size: clamp(36px, 5vw, 64px); line-height: 1.25; }
html[lang="en"] p, html[lang="en"] li { hyphens: auto; }
html[lang="en"] .sflow__back::before { content: "↑ Returned: "; }
@media (max-width: 899px) {
  .header__inner { grid-template-columns: 1fr auto auto; }
  .lang-switch { width: auto; justify-self: end; }
}
/* アキヤド：問い合わせへの導線 */
.mheader__right { display: flex; align-items: center; gap: 24px; }
.mheader__cta { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; background: var(--c-accent); color: #fff; font-size: 13px; letter-spacing: 0.1em; transition: opacity .2s; }
.mheader__cta:hover { opacity: 0.85; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; padding: 24px 28px; border: 1px solid var(--c-accent); background: var(--c-rivia-soft); }
.inline-cta__text { flex: 1 1 320px; font-size: 14px; line-height: 1.9; }
.inline-cta .btn { flex-shrink: 0; }
.fixed-cta--media { display: none; }
@media (max-width: 899px) {
  .mheader__right { gap: 0; }
  .mheader__cta { display: none; }
  .fixed-cta--media { display: flex; }
  .inline-cta { padding: 20px; }
  .inline-cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 900px) { body:has(.fixed-cta--media) { padding-bottom: 0; } }
.fixed-cta { transition: transform .35s var(--ease); }
.fixed-cta.is-hidden { transform: translateY(110%); }
/* =====================================================================
   アキヤド：会社サイトとは別のトーン（親しみやすく、でも安っぽくない）
   暖かい生成り色の背景・丸みのある見出し書体・テラコッタ色の相談ボタン
   ===================================================================== */
body.is-media {
  --m-bg: #fbfbf9; --m-sand: #eef3ee; --m-line: #e1e6e1; --m-ink: #262a27; --m-sub: #555b56;
  --m-green: #2e6b47; --m-cta: #cf5f37; --m-cta-h: #b44f2a;
  --font-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --c-accent: var(--m-green); --c-bg-soft: var(--m-sand); --c-line: var(--m-line); --c-rivia-soft: #eaf2ee; --radius: 16px;
  background: var(--m-bg); color: var(--m-ink);
}
body.is-media :is(.mlogo__ja, .mfv__title, .msec__title, .mhero__title, .article__title, .article__section h2, .article__section h3, .persona-card__title, .guide-stage__title, .mq__q, .media-card__title, .guide-step__title, .mcta__title, .keypoints__title, .guide-box__title, .author__name) {
  font-family: var(--font-round); font-weight: 500; letter-spacing: 0.04em;
}
body.is-media :is(.mfv__title, .mlogo__ja, .mcta__title) { font-weight: 700; }
body.is-media :is(.msec__en, .mhero__en, .guide-stage__no) { color: var(--m-green); }
body.is-media .section--soft { background: var(--m-sand); }
/* ヘッダー */
body.is-media .header--media { background: rgba(251, 251, 249, 0.96); }
.amark { width: 36px; height: 34px; flex-shrink: 0; overflow: visible; }
.amark__gap { stroke: var(--amark-gap, #fff); }
.amark__house { fill: var(--amark-house, #2E6B47); }
.amark__roof { stroke: var(--amark-house, #2E6B47); }
.mfooter .amark { --amark-gap: #1f3d2b; --amark-house: #fff; }
body.is-media .mlogo { align-items: center; gap: 10px; }
body.is-media .mlogo__ja { font-size: 21px; letter-spacing: 0.08em; color: var(--m-ink); }
body.is-media .mheader__cta { height: 40px; padding: 0 22px; border-radius: 999px; background: var(--m-cta); font-family: var(--font-round); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; }
body.is-media .mheader__cta:hover { background: var(--m-cta-h); opacity: 1; }
body.is-media .mnav__list a { font-family: var(--font-round); font-weight: 500; }
body.is-media .mnav__list a[aria-current] { color: var(--m-ink); border-bottom-color: var(--m-green); }
/* ボタン */
.mbtn, body.is-media .btn.mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 34px; border: 0; border-radius: 999px; background: var(--m-cta); color: #fff; font-family: var(--font-round); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; box-shadow: 0 8px 20px rgba(207, 95, 55, 0.24); transition: background .2s, transform .2s; }
.mbtn:hover, body.is-media .btn.mbtn:hover { background: var(--m-cta-h); color: #fff; transform: translateY(-1px); }
body.is-media .fixed-cta--media { background: rgba(251, 251, 249, 0.94); }
body.is-media .fixed-cta--media .btn { border: 0; border-radius: 999px; background: var(--m-cta); color: #fff; font-family: var(--font-round); font-weight: 700; box-shadow: 0 6px 16px rgba(207, 95, 55, 0.25); }
/* FV：明るい2カラム */
body.is-media .mfv { display: block; min-height: 0; padding: 64px 0 80px; color: var(--m-ink); background: linear-gradient(180deg, var(--m-sand) 0%, var(--m-bg) 100%); }
body.is-media .mfv::before { display: none; }
body.is-media .mfv__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.mfv__eyebrow { font-family: var(--font-round); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: var(--m-green); }
.mfv__title { margin-top: 14px; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.5; color: var(--m-ink); }
body.is-media .mfv__lead { margin-top: 14px; font-size: 15px; line-height: 2; color: var(--m-sub); opacity: 1; max-width: none; }
body.is-media .mfv__entry-label { margin-top: 32px; font-size: 13px; letter-spacing: 0.08em; color: var(--m-sub); opacity: 1; }
.mfv__tiles { display: grid; gap: 10px; margin-top: 12px; max-width: 520px; }
.mtile { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 20px 10px 10px; border: 1px solid var(--m-line); border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(42, 39, 36, 0.05); transition: border-color .2s, box-shadow .3s, transform .2s; }
.mtile:hover { border-color: var(--m-green); box-shadow: 0 8px 22px rgba(42, 39, 36, 0.09); transform: translateY(-1px); }
.mtile__img { position: relative; display: block; width: 56px; height: 56px; overflow: hidden; border-radius: 12px; }
.mtile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mtile__label { font-family: var(--font-round); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; }
.mtile__arrow { color: var(--m-green); font-size: 18px; }
body.is-media .msearch--fv { max-width: 520px; margin-top: 14px; border: 1px solid var(--m-line); border-radius: 999px; overflow: hidden; background: #fff; }
body.is-media .msearch { border-radius: 999px; overflow: hidden; }
body.is-media .msearch__btn { background: var(--m-ink); border-radius: 0 999px 999px 0; }
.mfv__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 600px; overflow: hidden; border-radius: 28px; box-shadow: 0 20px 50px rgba(42, 39, 36, 0.14); }
.mfv__photo img { width: 100%; height: 100%; object-fit: cover; }
/* カード類は角を丸く、白で浮かせる */
body.is-media .persona-card { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(42, 39, 36, 0.06); }
body.is-media .persona-card__more { color: var(--m-green); font-weight: 700; font-family: var(--font-round); }
body.is-media .mq { gap: 12px; border-top: 0; }
body.is-media .mq__item { border: 0; border-radius: 14px; background: #fff; padding: 18px 20px; box-shadow: 0 3px 12px rgba(42, 39, 36, 0.04); }
body.is-media .mq__item:hover { box-shadow: 0 8px 20px rgba(42, 39, 36, 0.08); }
body.is-media .mq__q::before { content: "Q"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--m-green); color: #fff; font-size: 13px; font-weight: 700; vertical-align: 1px; }
body.is-media .mq__who { display: inline-block; justify-self: start; white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: #eaf2ee; color: var(--m-green); }
body.is-media .tag { border-radius: 999px; border-color: var(--m-line); background: #fff; }
body.is-media :is(.keypoints, .guide-box, .supervisor, .inline-cta, .guide-worries) { border-radius: 18px; }
body.is-media .toc { border-radius: 18px; }
body.is-media .inline-cta { border: 0; background: var(--m-sand); }
body.is-media .guide-step__body { border-radius: 16px; }
body.is-media .guide-step__thumb { border-radius: 12px; }
body.is-media .guide-step__more { color: var(--m-green); font-weight: 700; font-family: var(--font-round); }
body.is-media .share__list a, body.is-media .share__copy { border-radius: 999px; }
body.is-media .mhero { background: linear-gradient(180deg, var(--m-sand) 0%, var(--m-bg) 100%); }
/* 相談ブロック */
.mcta__box { padding: 64px 48px; border-radius: 28px; background: var(--m-sand); text-align: center; }
.mcta__en { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--m-green); }
.mcta__title { margin-top: 10px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; }
.mcta__lead { margin-top: 16px; font-size: 15px; line-height: 2; color: var(--m-sub); }
.mcta__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 32px; }
.mcta__points li { padding: 8px 18px; border-radius: 999px; background: #fff; font-family: var(--font-round); font-weight: 700; font-size: 14px; }
.mcta__points li::before { content: "✓"; margin-right: 8px; color: var(--m-green); }
.mcta__note { margin-top: 18px; font-size: 12px; color: var(--m-sub); }
/* フッター */
body.is-media .mfooter { background: #1f3d2b; }
body.is-media .mfooter .mlogo__ja { color: #fff; }
@media (max-width: 899px) {
  body.is-media .mfv { padding: 32px 0 40px; }
  body.is-media .mfv__inner { grid-template-columns: 1fr; gap: 0; }
  .mfv__photo { display: none; }
  .mfv__eyebrow { font-size: 12px; }
  .mfv__title { margin-top: 10px; font-size: 27px; }
  body.is-media .mfv__lead, body.is-media .mfv__entry-label { display: none; }
  .mfv__tiles { margin-top: 22px; gap: 8px; }
  .mtile { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; padding: 8px 16px 8px 8px; }
  .mtile__img { width: 48px; height: 48px; border-radius: 10px; }
  .mtile__label { font-size: 15px; }
  body.is-media .mlogo__ja { font-size: 19px; }
  .amark { width: 30px; height: 30px; }
  .mcta__box { padding: 40px 20px; border-radius: 20px; }
  .mcta__points li { font-size: 13px; padding: 7px 14px; }
  .mbtn { width: 100%; }
}
body.is-media .media-more__btn { border-radius: 999px; border-color: var(--m-line); background: #fff; font-family: var(--font-round); font-weight: 700; color: var(--c-text); }
body.is-media .media-more__btn:hover { border-color: var(--m-green); color: var(--m-green); background: #fff; }
@media (min-width: 900px) { body.is-media .mq { grid-template-columns: 1fr; } body.is-media .mq__item { grid-template-columns: 11.5em minmax(0, 1fr) auto; padding: 20px 28px; } }
/* TOP：コンセプトと、空き家再生から始まる地域の経済循環（円の図） */
.vision__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "body cycle" "more cycle"; gap: 0 72px; align-items: center; }
.vision__body { grid-area: body; align-self: end; }
.vision__grid .cycle { grid-area: cycle; }
.vision__grid .vision__more { grid-area: more; align-self: start; }
.cycle__loop { position: absolute; right: 79%; top: 17%; white-space: nowrap; font-family: var(--font-serif); font-size: 12px; letter-spacing: 0.08em; color: var(--c-accent); }
.vision__lead { margin-top: 36px; word-break: auto-phrase; }
.vision__sent { display: block; }
.vision__sent > span { display: inline-block; }
.cycle { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin-inline: auto; }
.cycle__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle__ring circle { fill: none; stroke: var(--c-line-strong); stroke-width: 0.25; }
.cycle__ring path { fill: var(--c-accent); }
.cycle__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--font-serif); font-weight: 300; font-size: 17px; line-height: 1.9; letter-spacing: 0.1em; }
.cycle__center span { display: block; }
.cycle__center-en { margin-bottom: 8px; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--c-accent); }
.cycle__node { position: absolute; display: grid; place-content: center; gap: 6px; width: 28%; aspect-ratio: 1; border: 1px solid var(--c-line-strong); border-radius: 50%; background: var(--c-bg); text-align: center; transform: translate(-50%, -50%); }
.cycle__node--1 { left: 50%; top: 14%; border-color: var(--c-accent); }
.cycle__node--2 { left: 86%; top: 50%; }
.cycle__node--3 { left: 50%; top: 86%; }
.cycle__node--4 { left: 14%; top: 50%; }
.cycle__en { font-family: var(--font-en); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); }
.cycle__t { font-family: var(--font-serif); font-size: 14px; line-height: 1.6; letter-spacing: 0.06em; }
.cycle__t span { display: block; }
@media (max-width: 899px) {
  .vision__grid { grid-template-columns: 1fr; grid-template-areas: "body" "cycle" "more"; gap: 0; }
  .vision__grid .cycle { margin-top: 48px; }
  .vision__grid .vision__more { margin-top: 32px; }
  .cycle__loop { right: 78%; top: 16%; font-size: 10.5px; letter-spacing: 0.02em; }
  .cycle { max-width: 380px; }
  .cycle__node { width: 30%; gap: 2px; }
  .cycle__t { font-size: 12px; letter-spacing: 0.02em; }
  .cycle__en { font-size: 9px; letter-spacing: 0.12em; }
  .cycle__center { font-size: 14px; }
}
/* アキヤド：テーマのタグ（いま見ているテーマを強調し、他のテーマへすぐ移れる） */
.ttags-wrap { margin-bottom: 40px; }
.ttags__label { margin-bottom: 12px; font-size: 13px; letter-spacing: 0.08em; color: var(--c-sub); }
.ttags ul { display: flex; flex-wrap: wrap; gap: 10px; }
.ttag { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: 14px; letter-spacing: 0.06em; transition: border-color .2s, color .2s, background .2s; }
.ttag:hover { border-color: var(--c-accent); color: var(--c-accent); }
.ttag.is-current { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }
body.is-media .ttag { font-family: var(--font-round); font-weight: 500; }
.msec--first .ttags { margin-bottom: 32px; }
@media (max-width: 899px) {
  .ttags ul { gap: 8px; }
  .ttag { height: 36px; padding: 0 15px; font-size: 13px; }
}
body.is-media .msec--first { padding-top: 32px; }
body.is-media .guide-link { border-radius: 14px; }
/* アキヤド：検索結果（ヒットした箇所の抜粋と、本文で触れているだけの記事） */
.media-card__snippet { word-break: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--c-sub); }
.media-card__snippet mark { white-space: nowrap; background: #d3e6d8; color: var(--c-text); font-weight: 700; padding: 0 2px; border-radius: 3px; }
.msearch-weak { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--c-line); }
.msearch-weak__title { margin-bottom: 28px; font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: var(--c-sub); }
.article__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.article__cats .article__cat { margin-bottom: 0; }
.msearch-weak__list { border-top: 1px solid var(--c-line); }
.msearch-weak__item { display: block; padding: 18px 4px; border-bottom: 1px solid var(--c-line); }
.msearch-weak__item:hover .msearch-weak__name { color: var(--c-accent); }
.msearch-weak__name { display: block; font-size: 15px; line-height: 1.7; transition: color .2s; }
.msearch-weak__item .media-card__snippet { -webkit-line-clamp: 2; margin-top: 4px; }
/* コーポレートTOP：メディア欄の見出しに「アキヤド」のロゴ */
.section-title--logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.tlogo { display: inline-flex; align-items: center; gap: 12px; color: #262a27; transition: opacity .2s; }
.tlogo:hover { opacity: 0.75; }
.tlogo .amark { width: 52px; height: 52px; }
.tlogo__ja { font-family: "Zen Maru Gothic", var(--font-sans); font-weight: 700; font-size: 34px; letter-spacing: 0.1em; line-height: 1; }
.tlogo__sub { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.12em; color: var(--c-muted); }
@media (max-width: 899px) {
  .tlogo .amark { width: 44px; height: 44px; }
  .tlogo__ja { font-size: 28px; }
  .tlogo__sub { flex-basis: 100%; font-size: 12px; }
}
/* アキヤド：RIVIAのプラン */
.mbtn--sub, body.is-media .btn.mbtn--sub { background: #fff; color: var(--m-green); box-shadow: inset 0 0 0 1.5px var(--m-green); }
.mbtn--sub:hover, body.is-media .btn.mbtn--sub:hover { background: var(--m-green); color: #fff; }
.mcta__btns, .mplans__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.mplans__cta { margin-top: 48px; }
.mcta__plans { margin-top: 20px; font-size: 14px; }
.mcta__plans a { display: inline-flex; align-items: center; gap: 10px; color: var(--m-green); font-family: var(--font-round); font-weight: 700; }
.inline-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.inline-cta__plan { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--m-green); font-family: var(--font-round); font-weight: 700; }
.mplans__jump { margin-bottom: 56px; }
.mplans__group + .mplans__group { margin-top: 88px; scroll-margin-top: 140px; }
.mplans__group { scroll-margin-top: 140px; }
.mplans__head { margin-bottom: 28px; padding-left: 18px; border-left: 4px solid var(--m-green); }
.mplans__title { font-family: var(--font-round); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.mplans__lead { margin-top: 6px; font-size: 14px; color: var(--m-sub); }
.mplans__cards { display: grid; gap: 20px; }
.mplans__cards--1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mplans__cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mplans__cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mplan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 18px; background: #fff; box-shadow: 0 3px 14px rgba(38, 42, 39, 0.05); }
.mplan.is-rec { box-shadow: inset 0 0 0 2px var(--m-green), 0 8px 24px rgba(38, 42, 39, 0.07); }
.mplan__badge { position: absolute; top: -12px; left: 24px; padding: 4px 14px; border-radius: 999px; background: var(--m-green); color: #fff; font-family: var(--font-round); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; }
.mplan__name { font-family: var(--font-round); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; }
.mplan__catch { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--m-sub); }
.mplan__spec { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--m-line); display: grid; gap: 12px; }
.mplan__spec dt { font-size: 12px; letter-spacing: 0.08em; color: var(--m-green); font-weight: 700; }
.mplan__spec dd { margin-top: 4px; font-size: 14px; line-height: 1.8; }
.mplan__spec dd span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--c-muted); }
.mplan__who-label { margin-top: 18px; font-size: 12px; letter-spacing: 0.08em; color: var(--m-green); font-weight: 700; }
.mplan__who { margin-top: 6px; display: grid; gap: 4px; }
.mplan__who li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.8; }
.mplan__who li::before { content: "✓"; position: absolute; left: 0; color: var(--m-green); }
.mplans__note { margin-top: 14px; font-size: 12px; color: var(--c-muted); }
.mflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.mflow__step { padding: 28px 24px; border-radius: 18px; background: #fff; }
.mflow__no { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.2em; color: var(--m-green); }
.mflow__title { margin-top: 10px; font-family: var(--font-round); font-weight: 700; font-size: 16px; }
.mflow__text { margin-top: 8px; font-size: 13.5px; line-height: 1.9; color: var(--m-sub); }
.mvoices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mvoice { padding: 30px 28px; border-radius: 18px; background: #fff; box-shadow: 0 3px 14px rgba(38, 42, 39, 0.05); }
.mvoice__text { font-size: 14.5px; line-height: 2; }
.mvoice__text::before { content: "“"; display: block; font-family: var(--font-en); font-size: 40px; line-height: 0.6; color: var(--m-green); margin-bottom: 10px; }
.mvoice__who { margin-top: 18px; font-size: 12.5px; color: var(--c-muted); }
.mvoice__plan { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 999px; background: #e7f0ea; color: var(--m-green); font-weight: 700; }
.mplanband__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; padding: 48px; border-radius: 24px; background: #fff; box-shadow: 0 3px 14px rgba(38, 42, 39, 0.05); }
.mplanband__lead { margin-top: 14px; font-size: 14.5px; line-height: 2; color: var(--m-sub); }
.mplanband__list { display: grid; gap: 10px; }
.mplanband__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; padding: 16px 22px; border-radius: 14px; background: var(--m-sand); transition: background .2s; }
.mplanband__list a:hover { background: #e3ece4; }
.mplanband__who { font-family: var(--font-round); font-weight: 700; font-size: 15px; }
.mplanband__names { grid-column: 1; font-size: 12.5px; color: var(--m-sub); }
.mplanband__arrow { grid-column: 2; grid-row: 1 / 3; color: var(--m-green); }
.mplanband__video { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--m-line); }
.mplanband__video-label { margin-bottom: 12px; font-family: var(--font-round); font-weight: 700; font-size: 15px; text-align: center; }
/* ご相談の解説動画（押したときだけ読み込む。字幕は映像に入っている） */
.mvideo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: center; margin-bottom: 56px; }
.mvideo--compact { display: block; max-width: 760px; margin: 0 auto; }
.mvideo__lead { margin-top: 14px; font-size: 14.5px; line-height: 2; color: var(--m-sub); }
.mvideo__frame { overflow: hidden; border-radius: 18px; background: #f3c45c; box-shadow: 0 6px 22px rgba(38, 42, 39, 0.12); aspect-ratio: 16 / 9; }
.mvideo__player { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .mvideo { grid-template-columns: 1fr; margin-bottom: 40px; }
  .mplanband__video { padding-top: 20px; }
}
@media (max-width: 899px) {
  .mplans__cards--2, .mplans__cards--3, .mflow, .mvoices { grid-template-columns: 1fr; }
  .mplans__cards--1 { grid-template-columns: 1fr; }
  .mplan { padding: 28px 22px 24px; }
  .mplanband__box { grid-template-columns: 1fr; padding: 32px 22px; }
  .mcta__btns .mbtn, .mplans__cta .mbtn { width: 100%; }
}
.mplans__aside { align-self: center; padding: 28px; border-radius: 18px; background: var(--m-sand); }
.mplans__aside-label { font-size: 12px; letter-spacing: 0.08em; color: var(--m-green); font-weight: 700; }
.mplans__aside-text { margin: 8px 0 14px; font-size: 14px; line-height: 2; }
body.is-media .mheader__cta--sub { background: #fff; color: var(--m-green); box-shadow: inset 0 0 0 1.5px var(--m-green); }
body.is-media .mheader__cta--sub:hover { background: var(--m-green); color: #fff; }
body.is-media .mheader__right { gap: 10px; }
/* アキヤド：PC のヘッダー下のタブ（ガイドと記事検索だけ。はみ出して左右が切れないよう、数を絞る） */
.mtabs { border-top: 1px solid var(--m-line); }
.mtabs__list { display: flex; justify-content: safe center; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.mtabs__list::-webkit-scrollbar { display: none; }
.mtabs__list li { flex-shrink: 0; }
.mtabs__list a { display: block; padding: 14px 18px; border-bottom: 2px solid transparent; font-family: var(--font-round); font-weight: 500; font-size: 13.5px; line-height: 22px; letter-spacing: 0.08em; color: var(--c-sub); transition: color .2s, border-color .2s; }
.mtabs__list a:hover { color: var(--m-ink); }
.mtabs__list a[aria-current] { color: var(--m-ink); border-bottom-color: var(--m-green); }
@media (max-width: 1099px) { .mtabs__list a { padding: 14px 13px; font-size: 13px; letter-spacing: 0.05em; } }
@media (max-width: 999px) { .mtabs__list a { padding: 14px 9px; letter-spacing: 0.02em; } }
/* アキヤド：右上のメニューボタン（3本線）で開くメニュー（PC・スマホ共通） */
.mmenu-btn { position: relative; display: block; width: 44px; height: 44px; margin-left: 6px; margin-right: -10px; }
.mmenu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--m-ink); transition: transform .25s, top .25s; }
.mmenu-btn span:first-child { top: 18px; }
.mmenu-btn span:last-child { top: 25px; }
.is-mnav-open .mmenu-btn span:first-child { top: 21.5px; transform: rotate(45deg); }
.is-mnav-open .mmenu-btn span:last-child { top: 21.5px; transform: rotate(-45deg); }
.header--media .mnav { display: none; position: absolute; top: 64px; right: max(16px, calc((100vw - 1200px) / 2)); width: 380px; max-height: calc(100svh - 80px); overflow-y: auto; border: 1px solid var(--m-line); border-radius: 16px; background: var(--m-bg); box-shadow: 0 16px 32px rgba(38, 42, 39, 0.12); }
.header--media.is-mnav-open .mnav { display: block; }
.header--media .mnav .container { padding: 0 24px; }
.header--media .mnav__list { display: block; padding: 8px 0; white-space: normal; }
.header--media .mnav__list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; margin: 0; border-bottom: 1px solid var(--m-line); font-size: 15px; letter-spacing: 0.06em; color: var(--m-ink); }
.header--media .mnav__list a::after { content: "→"; color: var(--m-green); font-size: 14px; }
body.is-media .header--media .mnav__list a[aria-current] { border-bottom-color: var(--m-line); color: var(--m-green); font-weight: 700; }
.mnav__ctas { display: grid; gap: 10px; padding: 20px 0 24px; }
.mnav__ctas .mbtn { width: 100%; }
.mnav__corp { margin-top: 8px; text-align: center; font-size: 12px; color: var(--c-muted); }
@media (max-width: 899px) {
  body.is-media { --header-h: 60px; }
  .mtabs { display: none; }
  .header--media .mnav { top: 100%; left: 0; right: 0; width: auto; max-height: calc(100svh - var(--header-h)); border: 0; border-top: 1px solid var(--m-line); border-radius: 0; }
  .header--media .mnav .container { padding: 0 var(--gutter, 20px); }
  .mnav__ctas { padding: 20px 0 28px; }
  html.is-menu-open .fixed-cta { display: none; }
}
/* ===== アキヤド：記事の図解（文字だけの記事を、ひと目で分かるように） ===== */
.fig { margin: 32px 0 36px; padding: 28px 28px 24px; border-radius: 20px; background: var(--m-sand, #eef3ee); }
.fig__title { margin: 0 0 20px !important; text-align: center; font-family: var(--font-round); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; color: var(--m-ink, #262a27); }
.fig__note { margin-top: 16px; font-size: 12.5px; line-height: 1.8; color: var(--c-muted); text-align: center; }
.fig-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fig p, .fig li { margin: 0; }
.fig ul, .fig ol { padding: 0; list-style: none; }
.fig li::before { content: none; }
/* 比べる */
.fig-cols { display: grid; gap: 12px; }
.fig-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fig-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fig-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fig-col { padding: 22px 18px 20px; border-radius: 16px; background: #fff; text-align: center; }
.fig-col--accent { box-shadow: inset 0 0 0 2px var(--m-green, #2e6b47); }
.fig-col__icon, .fig-step__icon, .fig-point__icon, .fig-cyc__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e3eee6; color: var(--m-green, #2e6b47); }
.fig-col--accent .fig-col__icon { background: var(--m-green, #2e6b47); color: #fff; }
.fig-col__name { margin-top: 10px !important; font-family: var(--font-round); font-weight: 700; font-size: 16px; }
.fig-col__sub { margin-top: 2px !important; font-size: 12px; color: var(--c-muted); }
.fig-col__list { margin-top: 14px !important; padding-top: 12px !important; border-top: 1px solid var(--m-line, #e1e6e1); display: grid; gap: 6px; text-align: left; }
.fig-col__list li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.7; }
.fig .fig-col__list li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--m-green, #2e6b47); }
/* 順番 */
.fig-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 22px; counter-reset: none; }
.fig-step { position: relative; padding: 18px 10px 16px; border-radius: 16px; background: #fff; text-align: center; }
.fig .fig-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -16px; width: 9px; height: 9px; border-top: 1.6px solid var(--m-green, #2e6b47); border-right: 1.6px solid var(--m-green, #2e6b47); transform: translateY(-50%) rotate(45deg); }
.fig-step__no { display: block; margin-top: 8px; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.18em; color: var(--m-green, #2e6b47); }
.fig-step__name { margin-top: 2px !important; font-family: var(--font-round); font-weight: 700; font-size: 14px; line-height: 1.6; }
.fig-step__sub { margin-top: 4px !important; font-size: 12px; line-height: 1.7; color: var(--m-sub, #555b56); }
.fig-steps--7 .fig-step { padding: 14px 6px 12px; }
.fig-steps--7 .fig-step__icon { width: 40px; height: 40px; }
.fig-steps--7 .fig-step__name { font-size: 12.5px; }
.fig-steps--7 { gap: 16px; }
.fig-steps--7 .fig-step:not(:last-child)::after { right: -12px; width: 7px; height: 7px; }
/* 要点 */
.fig-points { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fig-points--2, .fig-points--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fig-point { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 16px; border-radius: 14px; background: #fff; }
.fig-point__icon { grid-row: 1 / 3; width: 42px; height: 42px; }
.fig-point__name { font-family: var(--font-round); font-weight: 700; font-size: 14px; line-height: 1.5; }
.fig-point__sub { font-size: 12px; line-height: 1.7; color: var(--m-sub, #555b56); }
/* めぐる */
.fig-cyc { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 0 auto; }
.fig-cyc__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.fig-cyc__ring circle { fill: none; stroke: #c9d8cd; stroke-width: 0.4; }
.fig-cyc__ring path { fill: var(--m-green, #2e6b47); }
.fig-cyc__center { position: absolute; inset: 0; display: grid; place-content: center; padding: 0 30%; text-align: center; font-family: var(--font-round); font-weight: 700; font-size: 15px; line-height: 1.7; color: var(--m-green, #2e6b47); }
.fig-cyc__node { position: absolute; display: grid; justify-items: center; gap: 6px; width: 30%; transform: translate(-50%, -50%); text-align: center; font-family: var(--font-round); font-weight: 700; font-size: 13px; line-height: 1.5; }
.fig-cyc__icon { background: #fff; box-shadow: 0 0 0 6px var(--m-sand, #eef3ee); }
.fig-cyc__node--1 { left: 50%; top: 14%; }
.fig-cyc__node--2 { left: 86%; top: 50%; }
.fig-cyc__node--3 { left: 50%; top: 86%; }
.fig-cyc__node--4 { left: 14%; top: 50%; }
/* 式 */
.fig-formula { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 8px; }
.fig-term { display: grid; gap: 4px; min-width: 120px; padding: 14px 16px; border-radius: 14px; background: #fff; text-align: center; }
.fig-term b { font-family: var(--font-round); font-weight: 700; font-size: 16px; }
.fig-term small { font-size: 11.5px; line-height: 1.6; color: var(--m-sub, #555b56); }
.fig-term--result { background: var(--m-green, #2e6b47); color: #fff; }
.fig-term--result small { color: rgba(255, 255, 255, 0.8); }
.fig-op { font-family: var(--font-round); font-weight: 700; font-size: 20px; color: var(--m-green, #2e6b47); }
/* 割合 */
.fig-bars { display: grid; gap: 10px; }
.fig-bar { display: grid; grid-template-columns: 11em minmax(0, 1fr) 4em; align-items: center; gap: 2px 14px; }
.fig-bar__label { font-size: 13.5px; font-weight: 500; }
.fig-bar__track { height: 14px; border-radius: 999px; background: #fff; overflow: hidden; }
.fig-bar__fill { display: block; height: 100%; border-radius: 999px; background: #a9c7b2; }
.fig-bar.is-top .fig-bar__fill { background: var(--m-green, #2e6b47); }
.fig-bar__value { font-family: var(--font-round); font-weight: 700; font-size: 14px; text-align: right; }
.fig-bar.is-top .fig-bar__value { color: var(--m-green, #2e6b47); }
.fig-bar__sub { grid-column: 2 / 4; margin-top: -2px; font-size: 11.5px; color: var(--c-muted); }
@media (max-width: 899px) {
  .fig { margin: 24px -4px 28px; padding: 22px 16px 18px; border-radius: 16px; }
  .fig-cols--2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fig-cols--3, .fig-cols--4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fig-cols--3 .fig-col:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* 比較の図（3列・4列）は文字が多く縦に長くなるので、スマホでは横にスワイプするカルーセルにする */
  .fig--compare .fig-cols--3, .fig--compare .fig-cols--4 { display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .fig--compare .fig-cols--3 .fig-col, .fig--compare .fig-cols--4 .fig-col { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; grid-column: auto; }
  .fig-col { padding: 16px 12px 14px; }
  .fig-col__name { font-size: 14.5px; }
  .fig-col__list li { font-size: 12.5px; }
  .fig-steps, .fig-steps--7 { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; }
  .fig-step, .fig-steps--7 .fig-step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; align-items: center; padding: 12px 14px; text-align: left; }
  .fig-step__icon, .fig-steps--7 .fig-step__icon { grid-row: 1 / 4; width: 40px; height: 40px; }
  .fig-step__no { margin-top: 0; }
  .fig-step__name, .fig-steps--7 .fig-step__name { font-size: 14px; }
  .fig .fig-step:not(:last-child)::after, .fig .fig-steps--7 .fig-step:not(:last-child)::after { top: auto; bottom: -11px; right: auto; left: 32px; width: 7px; height: 7px; transform: rotate(135deg); }
  .fig-points, .fig-points--2, .fig-points--4 { grid-template-columns: 1fr; }
  .fig-cyc__node { font-size: 11.5px; }
  .fig-cyc__icon { width: 40px; height: 40px; }
  .fig-cyc__center { font-size: 13px; }
  .fig-term { min-width: 0; flex: 1 1 40%; padding: 12px 10px; }
  .fig-term--result { flex-basis: 100%; }
  .fig-formula .fig-op:first-of-type { flex-basis: 100%; text-align: center; }
  .fig-bar { grid-template-columns: minmax(0, 1fr) 3.5em; }
  .fig-bar__label { grid-column: 1 / -1; font-size: 13px; }
  .fig-bar__track { grid-column: 1; }
  .fig-bar__sub { grid-column: 1 / -1; }
}
/* 記事本文の箇条書き・段落の書式が、図の中に入り込まないようにする */
.article__section .fig ul, .article__section .fig ol { margin: 0; padding: 0; border: 0; list-style: none; }
.article__section .fig li { margin: 0; padding-left: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.article__section .fig li + li { margin-top: 0; }
.article__section .fig li::before { content: none; }
.article__section .fig p { font-size: inherit; line-height: 1.6; }
.article__section .fig p + p { margin-top: 0; }
.article__section .fig .fig-col__list { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--m-line, #e1e6e1); }
.article__section .fig .fig-col__list li { padding-left: 16px; font-size: 13px; line-height: 1.7; }
.article__section .fig .fig-col__list li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--m-green, #2e6b47); }
.article__section .fig .fig-step__sub, .article__section .fig .fig-point__sub, .article__section .fig .fig-col__sub { font-size: 12px; line-height: 1.7; }
.article__section .fig .fig-step__name, .article__section .fig .fig-point__name { font-size: 14px; line-height: 1.5; }
.article__section .fig .fig-col__name { font-size: 16px; }
.article__section .fig .fig-cyc__node { font-size: 13px; }
@media (max-width: 899px) {
  .article__section .fig .fig-col__list li { font-size: 12.5px; }
  .article__section .fig .fig-cyc__node { font-size: 11.5px; }
  .fig-formula { flex-direction: column; gap: 6px; }
  .fig-term, .fig-term--result { flex: none; width: 100%; }
  .fig-formula .fig-op:first-of-type { flex-basis: auto; }
}
@media (min-width: 900px) { .article__section .fig .fig-steps--7 .fig-step__name { font-size: 12.5px; } }
.article__section .fig ul li::before, .article__section .fig ol li::before { content: none; }
.article__section .fig ul:not(.steps) li { padding-left: 0; }
.article__section .fig ul.fig-col__list li { padding-left: 16px; }
.article__section .fig ul.fig-col__list li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--m-green, #2e6b47); }
.article__section .fig strong { font-weight: inherit; background: none; }
@media (max-width: 899px) { .fig-op--paren { display: none; } }
/* サービスページ：冒頭のかんたん相談フォーム */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px 64px; align-items: center; }
.qform { display: grid; gap: 12px; padding: 28px 28px 24px; background: #fff; color: var(--c-text); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18); text-shadow: none; }
.qform__title { font-family: var(--font-serif); font-size: 19px; letter-spacing: 0.06em; }
.qform__lead { margin-top: -6px; font-size: 12.5px; line-height: 1.8; color: var(--c-sub); }
.qform__field { display: grid; gap: 6px; }
.qform__field span { font-size: 12.5px; letter-spacing: 0.04em; }
.qform__field em { margin-left: 4px; padding: 1px 6px; background: var(--c-accent); color: #fff; font-style: normal; font-size: 10.5px; }
.qform__field small { margin-left: 4px; font-size: 11px; color: var(--c-muted); }
.qform input, .qform textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--c-line-strong); background: #fff; font: inherit; font-size: 15px; }
.qform input:focus, .qform textarea:focus { outline: 2px solid var(--c-accent); outline-offset: -1px; }
.qform textarea { resize: vertical; min-height: 72px; }
.qform__submit { width: 100%; justify-content: center; margin-top: 4px; }
.qform__note { font-size: 11px; line-height: 1.7; color: var(--c-muted); }
.qform__note a { text-decoration: underline; }
.qform .form__error { font-size: 12px; color: #b3261e; }
@media (max-width: 899px) {
  .svc-hero { grid-template-columns: 1fr; gap: 28px; }
  .qform { padding: 22px 18px 18px; }
}
.page-hero--photo .qform { position: relative; z-index: 2; opacity: 1; }
.page-hero--photo .qform .qform__submit { background: var(--c-accent); border-color: var(--c-accent); color: #fff; box-shadow: none; }
.page-hero--photo .qform .qform__submit:hover { opacity: 0.88; }
.page-hero--photo .qform input, .page-hero--photo .qform textarea { color: var(--c-text); }
/* 記事カードのタグ（誰向けか・テーマ） */
.ctags { display: flex; flex-wrap: wrap; gap: 6px; }
.ctag { display: inline-block; padding: 3px 10px; border: 1px solid var(--c-line-strong); border-radius: 999px; font-size: 11.5px; line-height: 1.5; letter-spacing: 0.04em; color: var(--c-sub); white-space: nowrap; }
.ctag--who { border-color: transparent; background: var(--c-rivia-soft, #e7efe9); color: var(--c-accent); font-weight: 500; }
body.is-media .ctag { border-color: var(--m-line); background: #fff; font-family: var(--font-round); font-weight: 500; }
body.is-media .ctag--who { border-color: transparent; background: #e3eee6; color: var(--m-green); }
.media-card__body .ctags + .media-card__title { margin-top: 10px; }
@media (max-width: 899px) { .ctag { font-size: 11px; padding: 2px 8px; } }
/* ===== アキヤド：サービスごとのページ ===== */
.msv-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px 64px; align-items: center; margin-top: 28px; }
.msv-hero__title { margin-top: 14px; font-family: var(--font-round); font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.6; letter-spacing: 0.04em; }
.msv-hero__points { justify-content: flex-start; margin: 24px 0 0; }
.qform--media { border-radius: 20px; box-shadow: 0 12px 32px rgba(38, 42, 39, 0.1); }
.qform--media .qform__title { font-family: var(--font-round); font-weight: 700; }
.qform--media .qform__field em { border-radius: 4px; background: var(--m-green); }
.qform--media input, .qform--media textarea { border-color: var(--m-line); border-radius: 10px; }
.qform--media .qform__submit { border: 0; border-radius: 999px; background: var(--m-cta); color: #fff; font-family: var(--font-round); font-weight: 700; box-shadow: 0 8px 20px rgba(207, 95, 55, 0.24); }
.qform--media .qform__submit:hover { background: var(--m-cta-h); }
#msv-form { scroll-margin-top: calc(var(--header-h) + 16px); }
.msv-worries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.msv-worries li { position: relative; padding: 18px 20px 18px 52px; border-radius: 14px; background: #fff; font-size: 15px; line-height: 1.7; box-shadow: 0 3px 12px rgba(38, 42, 39, 0.04); }
.msv-worries li::before { content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #e3eee6; color: var(--m-green); font-size: 13px; font-weight: 700; }
.msv-answer { margin-top: 36px; text-align: center; font-family: var(--font-round); font-weight: 700; font-size: clamp(18px, 2vw, 22px); }
.msv-answer strong { color: var(--m-green); background: linear-gradient(transparent 70%, #d3e6d8 70%); }
.msv-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.msv-point { padding: 30px 26px; border-radius: 18px; background: #fff; text-align: center; }
.msv-point__no { display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; color: var(--m-green); }
.msv-point__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-top: 14px; border-radius: 50%; background: #e3eee6; color: var(--m-green); }
.msv-point__icon .fig-icon { width: 30px; height: 30px; }
.msv-point__title { margin-top: 16px; font-family: var(--font-round); font-weight: 700; font-size: 18px; line-height: 1.6; }
.msv-point__text { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--m-sub); text-align: left; }
.msv-band { margin-top: 48px; padding: 32px; border-radius: 20px; background: var(--m-green); color: #fff; text-align: center; }
.msv-band__text { font-family: var(--font-round); font-weight: 700; font-size: 16px; line-height: 1.9; }
.msv-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 20px; }
.msv-band .mbtn--sub { box-shadow: none; }
.msv-flow .fig { margin: 0; background: #fff; }
.msv-flow .fig-step { background: var(--m-sand); }
.msv-record__lead { font-size: 15px; line-height: 2; }
.msv-record__label { margin: 28px 0 14px; font-size: 13px; font-weight: 700; color: var(--m-green); letter-spacing: 0.06em; }
.mplans__detail { margin-top: 14px; }
/* 運営会社 */
.mprofile { border-top: 1px solid var(--m-line); }
.mprofile__row { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 8px 24px; padding: 18px 4px; border-bottom: 1px solid var(--m-line); font-size: 14.5px; line-height: 1.9; }
.mprofile__row dt { font-weight: 700; color: var(--m-green); }
.msec--first .msv-band { margin: 0 0 72px; }
.mcomp-why p { font-size: 15px; line-height: 2.1; }
.mcomp-why p + p { margin-top: 1em; }
.mcomp-sup { margin-top: 36px; padding: 28px; border-radius: 18px; background: #fff; }
.mcomp-svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mcomp-svc { display: grid; gap: 6px; padding: 28px 24px; border-radius: 18px; background: #fff; box-shadow: 0 3px 14px rgba(38, 42, 39, 0.05); transition: box-shadow .2s, transform .2s; }
.mcomp-svc:hover { box-shadow: 0 10px 26px rgba(38, 42, 39, 0.09); transform: translateY(-2px); }
.mcomp-svc__who { font-size: 12.5px; color: var(--m-green); font-weight: 700; }
.mcomp-svc__name { font-family: var(--font-round); font-weight: 700; font-size: 19px; }
.mcomp-svc__more { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--m-sub); }
@media (max-width: 899px) {
  .msv-hero__grid { grid-template-columns: 1fr; margin-top: 16px; }
  .msv-worries, .msv-points, .mcomp-svcs { grid-template-columns: 1fr; }
  .msv-band { padding: 26px 18px; }
  .msv-band .mbtn { width: 100%; }
  .mprofile__row { grid-template-columns: 1fr; gap: 2px; padding: 14px 2px; }
}
/* 記事カードのサムネイルに、要点を短く載せる（バナー） */
.thumb--photo { container-type: inline-size; }
.thumb__banner { position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; gap: 6px; padding: 28% 7% 6%; background: linear-gradient(180deg, rgba(20, 38, 28, 0) 0%, rgba(20, 38, 28, 0.55) 45%, rgba(20, 38, 28, 0.82) 100%); color: #fff; pointer-events: none; }
.thumb__kicker { justify-self: start; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #23573a; font-family: var(--font-round, var(--font-sans)); font-weight: 700; font-size: clamp(10px, 3.4cqw, 12px); letter-spacing: 0.06em; }
.thumb__catch { font-family: var(--font-round, var(--font-sans)); font-weight: 700; font-size: clamp(13px, 6.2cqw, 26px); line-height: 1.45; letter-spacing: 0.02em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25); }
.media-grid--feature .is-lead .thumb__catch { font-size: clamp(16px, 5.4cqw, 32px); }
@container (max-width: 240px) { .thumb__banner { display: none; } }
/* アキヤド：RIVIAのサービス（一覧） */
.mjump__label { margin-bottom: 12px; font-family: var(--font-round); font-weight: 700; font-size: 15px; color: var(--m-green); }
.mjump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 64px; }
.mjump__item { display: grid; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px rgba(38, 42, 39, 0.04); transition: box-shadow .2s; }
.mjump__item:hover { box-shadow: 0 8px 22px rgba(38, 42, 39, 0.09); }
.mjump__who { font-family: var(--font-round); font-weight: 700; font-size: 15px; }
.mjump__worry { position: relative; padding-left: 14px; font-size: 13px; line-height: 1.7; color: var(--m-sub); }
.mjump__worry::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--m-green); }
.mjump__name { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--m-green); }
.msvcs { display: grid; gap: 24px; }
.msvc { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 3px 14px rgba(38, 42, 39, 0.05); scroll-margin-top: calc(var(--header-h) + 16px); }
.msvc__visual { display: grid; place-content: center; justify-items: center; gap: 14px; padding: 36px 24px; background: linear-gradient(160deg, #e3eee6, #f2f6f1); text-align: center; }
.msvc__icon { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: #fff; color: var(--m-green); box-shadow: 0 8px 24px rgba(46, 107, 71, 0.15); }
.msvc__icon .fig-icon { width: 48px; height: 48px; stroke-width: 1.4; }
.msvc__who { font-family: var(--font-round); font-weight: 700; font-size: 14px; color: var(--m-green); }
.msvc__body { padding: 36px 40px; }
.msvc__name { font-family: var(--font-round); font-weight: 700; font-size: 24px; letter-spacing: 0.04em; }
.msvc__summary { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--m-sub); }
.msvc__spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.msvc__spec div { padding: 12px 16px; border-radius: 12px; background: var(--m-sand); }
.msvc__spec dt { font-size: 12px; font-weight: 700; color: var(--m-green); }
.msvc__spec dd { margin-top: 2px; font-size: 14.5px; font-weight: 500; }
.msvc__plans-label { margin-top: 18px; font-size: 12px; font-weight: 700; color: var(--m-green); }
.msvc__plans { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.msvc__plans li { padding: 3px 12px; border: 1px solid var(--m-line); border-radius: 999px; font-size: 12.5px; }
.msvc__more { margin-top: 24px; }
@media (max-width: 899px) {
  .mjump { grid-template-columns: 1fr; margin-bottom: 40px; }
  .msvc { grid-template-columns: 1fr; border-radius: 20px; }
  .msvc__visual { padding: 24px; grid-auto-flow: column; justify-content: start; gap: 16px; }
  .msvc__icon { width: 64px; height: 64px; }
  .msvc__icon .fig-icon { width: 30px; height: 30px; }
  .msvc__body { padding: 24px 20px 28px; }
  .msvc__name { font-size: 21px; }
  .msvc__spec { grid-template-columns: 1fr; }
  .msvc__more { width: 100%; }
}
@media (max-width: 899px) { .msvc__visual { align-items: center; } }
.qform__note a { display: inline-block; padding: 4px 0; line-height: 16px; }
/* 記号のアイコンをやめ、写真・番号・文字で見せる */
.msvc__visual { position: relative; display: block; padding: 0; min-height: 260px; background: #dfe8e1; }
.msvc__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.msvc__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 38, 28, 0) 45%, rgba(20, 38, 28, 0.7) 100%); }
.msvc__who { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-size: 15px; text-align: left; }
.msv-point { text-align: left; }
.msv-point__no { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.24em; }
.msv-point__title { margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--m-green); }
.fig-col { border-top: 3px solid #c9d8cd; }
.fig-col--accent { border-top-color: var(--m-green); box-shadow: inset 0 0 0 2px var(--m-green); }
.article__section .fig .fig-col__name, .fig-col__name { margin-top: 2px !important; }
.fig-step__no { margin-top: 0; font-size: 18px; letter-spacing: 0.08em; }
.fig-point { grid-template-columns: 2.6em minmax(0, 1fr); }
.fig-point__no { grid-row: 1 / 3; align-self: start; font-family: var(--font-en); font-size: 22px; line-height: 1.2; color: var(--m-green, #2e6b47); }
.fig-cyc__node { display: grid; place-content: center; gap: 2px; width: 30%; aspect-ratio: 1; border: 1px solid #c9d8cd; border-radius: 50%; background: #fff; padding: 6px; }
.fig-cyc__node--1 { border-color: var(--m-green, #2e6b47); }
.fig-cyc__no { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; color: var(--m-green, #2e6b47); }
@media (max-width: 899px) {
  .msvc__visual { min-height: 180px; }
  .fig-step, .fig-steps--7 .fig-step { grid-template-columns: 2.2em minmax(0, 1fr); }
  .fig-step__no { grid-row: 1 / 3; }
  .fig .fig-step:not(:last-child)::after, .fig .fig-steps--7 .fig-step:not(:last-child)::after { left: 22px; }
  .fig-cyc__node { width: 31%; padding: 4px; }
  .fig-cyc__no { font-size: 10px; }
}
/* かんたん相談フォーム：ファイル添付（任意） */
.qform__file input { padding: 8px; font-size: 13px; }
.plan-brand { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: 0.08em; color: var(--c-accent); font-weight: 500; }
body.is-media .plan-brand { color: var(--m-green); font-family: var(--font-round); font-weight: 700; }
/* 記事カード：バナーとタグを、雑誌のように静かに（暗くしない・太くしない・丸いラベルを使わない） */
.thumb__banner { inset: auto auto 0 0; max-width: 84%; gap: 4px; padding: 12px 16px 13px; background: rgba(251, 251, 249, 0.95); border-radius: 0 12px 0 0; color: var(--m-ink, #262a27); }
.thumb__kicker { justify-self: start; padding: 0; border-radius: 0; background: none; color: var(--m-green, #2e6b47); font-family: var(--font-en); font-weight: 400; font-size: clamp(10px, 2.8cqw, 11.5px); letter-spacing: 0.14em; }
.thumb__catch { font-family: var(--font-round, var(--font-sans)); font-weight: 500; font-size: clamp(12px, 4.2cqw, 17px); line-height: 1.55; letter-spacing: 0.03em; text-shadow: none; }
.media-grid--feature .is-lead .thumb__catch { font-size: clamp(14px, 3.6cqw, 21px); }
.ctags { gap: 0; row-gap: 2px; }
.ctag, body.is-media .ctag { padding: 0; border: 0; border-radius: 0; background: none; font-family: var(--font-sans); font-weight: 400; font-size: 12px; color: var(--c-muted); }
.ctag + .ctag::before { content: "・"; margin: 0 2px; color: var(--c-muted); }
.ctag--who, body.is-media .ctag--who { background: none; color: var(--m-green, var(--c-accent)); font-weight: 500; }
/* 記事カードのタグ：テック系のすっきりしたタグ（角丸4px・淡い地色・#） */
.ctags { gap: 6px; }
.ctag, body.is-media .ctag { padding: 3px 8px; border: 0; border-radius: 4px; background: #eef1ee; color: #4d5a52; font-family: var(--font-sans); font-weight: 500; font-size: 11.5px; line-height: 1.5; letter-spacing: 0.02em; }
.ctag::before, .ctag + .ctag::before { content: "#"; margin: 0 2px 0 0; color: #9aa79f; }
.ctag--who, body.is-media .ctag--who { background: #e2efe6; color: var(--m-green, #2e6b47); }
.ctag--who::before, .ctag + .ctag--who::before { color: #7fa58c; }
/* 手順の図：箱と矢印をやめ、細い線でつないだタイムラインに */
.fig-steps, .fig-steps--7 { gap: 0; }
.fig-step, .fig-steps--7 .fig-step, .msv-flow .fig-step { position: relative; padding: 0 10px; background: none; border-radius: 0; text-align: center; }
.fig .fig-step:not(:last-child)::after, .fig .fig-steps--7 .fig-step:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: calc(50% + 24px); right: calc(-50% + 24px); width: auto; height: 1px; border: 0; background: #b9cdbf; transform: none; }
.fig-step__no { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 12px; border: 1px solid var(--m-green, #2e6b47); border-radius: 50%; background: #fff; font-family: var(--font-en); font-size: 13px; letter-spacing: 0.06em; color: var(--m-green, #2e6b47); }
.fig-step:first-child .fig-step__no { background: var(--m-green, #2e6b47); color: #fff; }
.article__section .fig .fig-step__name { font-size: 14px; }
.article__section .fig .fig-steps--7 .fig-step__name { font-size: 12.5px; }
.msv-flow .fig { padding: 36px 28px 32px; }
@media (max-width: 899px) {
  .fig-steps, .fig-steps--7 { gap: 0; }
  .fig-step, .fig-steps--7 .fig-step, .msv-flow .fig-step { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 14px; align-items: start; padding: 0 0 18px; text-align: left; }
  .fig-step__no { grid-row: 1 / 3; margin: 0; }
  .fig-step__name { padding-top: 8px; }
  .fig .fig-step:not(:last-child)::after, .fig .fig-steps--7 .fig-step:not(:last-child)::after { top: 38px; bottom: 0; left: 19px; right: auto; width: 1px; height: auto; }
}
/* コーポレートTOP：アキヤド（メディア）の紹介 */
.mintro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px 80px; align-items: center; }
.mintro__copy { margin-top: 28px; font-family: "Zen Maru Gothic", var(--font-sans); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.7; letter-spacing: 0.06em; color: #262a27; }
.mintro__lead { margin-top: 18px; font-size: 14.5px; line-height: 2.1; color: var(--c-sub); }
.mintro__btns { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px; }
.mintro__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; }
.mintro__photo img { width: 100%; height: 100%; object-fit: cover; }
.mintro__entries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 1px solid var(--c-line); }
.mintro__entries li + li { border-left: 1px solid var(--c-line); }
.mintro__entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; height: 100%; padding: 28px 28px 28px 0; transition: background .2s; }
.mintro__entries li + li .mintro__entry { padding-left: 28px; }
.mintro__who { grid-column: 1; font-family: "Zen Maru Gothic", var(--font-sans); font-weight: 700; font-size: 16px; color: #2e6b47; }
.mintro__desc { grid-column: 1; font-size: 13px; line-height: 1.9; color: var(--c-sub); }
.mintro__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.mintro__entry:hover .mintro__who { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) {
  .mintro__grid { grid-template-columns: 1fr; }
  .mintro__photo { aspect-ratio: 4 / 3; order: -1; }
  .mintro__entries { grid-template-columns: 1fr; margin-top: 40px; }
  .mintro__entries li + li { border-left: 0; border-top: 1px solid var(--c-line); }
  .mintro__entry, .mintro__entries li + li .mintro__entry { padding: 20px 0; }
}
/* アキヤド：基礎から学ぶ */
.lcourse__jump { margin-bottom: 56px; }
.lcourse { scroll-margin-top: calc(var(--header-h) + 16px); }
.lcourse + .lcourse, .msv-band + .lcourse { margin-top: 88px; }
.lcourse__head { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--m-line); }
.lcourse__en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--m-green); }
.lcourse__title { margin-top: 6px; font-family: var(--font-round); font-weight: 700; font-size: clamp(21px, 2.3vw, 26px); letter-spacing: 0.04em; }
.lcourse__lead { margin-top: 6px; font-size: 14px; color: var(--m-sub); }
.lchaps { display: grid; gap: 12px; }
.lchap { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; padding: 22px 26px; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px rgba(38, 42, 39, 0.04); }
.lchap__no { padding-top: 2px; font-family: var(--font-round); font-weight: 700; font-size: 14px; color: var(--m-green); }
.lchap__title { font-family: var(--font-round); font-weight: 700; font-size: 17px; }
.lchap__text { margin-top: 4px; font-size: 13.5px; line-height: 1.9; color: var(--m-sub); }
.lchap__list { display: grid; gap: 6px; margin-top: 12px; }
.lchap__list a { display: block; position: relative; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.lchap__list a::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 8px; height: 1px; background: var(--m-green); }
.lchap__list a:hover { color: var(--m-green); text-decoration: underline; text-underline-offset: 4px; }
.msec--first .lcourse + .msv-band, .lcourse + .msv-band { margin-top: 64px; }
.lcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lcard { display: grid; align-content: start; gap: 6px; height: 100%; padding: 24px 22px; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px rgba(38, 42, 39, 0.04); transition: box-shadow .2s, transform .2s; }
.lcard:hover { box-shadow: 0 10px 24px rgba(38, 42, 39, 0.09); transform: translateY(-2px); }
.lcard__en { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--m-green); }
.lcard__title { font-family: var(--font-round); font-weight: 700; font-size: 16.5px; line-height: 1.5; }
.lcard__text { font-size: 12.5px; line-height: 1.8; color: var(--m-sub); }
.lcard__count { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--m-green); }
@media (max-width: 899px) {
  .lchap { grid-template-columns: 1fr; gap: 4px; padding: 18px; }
  .lcards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lcard { padding: 18px 16px; }
}
/* お客様・ゲストの声：引用の既定の字下げをなくし、記号と本文・名前の左端をそろえる */
.mvoice { display: flex; flex-direction: column; }
.mvoice__text { margin: 0; }
.mvoice__text::before { content: "“"; display: block; height: 30px; margin: 0 0 6px -2px; font-family: Georgia, "Times New Roman", serif; font-size: 56px; line-height: 1; color: #b9cdbf; }
.mvoice__who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; padding-top: 18px; }
.mvoice__plan { margin-right: 0; }
@media (max-width: 899px) {
  .pd__name { font-size: 12px; }
  .cycle__en { font-size: 10px; }
  .lcard__en { font-size: 11.5px; }
}
/* スマホ：見出しを文節で折り返し、途中で切れないように */
.msv-hero__title, .lcard__title, .lcourse__title, .lchap__title, .msvc__name, .mintro__copy, .msv-point__title, .mplanband__who, .mjump__who { word-break: auto-phrase; }
@media (max-width: 899px) {
  .msv-hero__title { font-size: 23px; line-height: 1.65; }
  .lcard__title { font-size: 15px; }
  .msv-band__text { font-size: 14.5px; }
  .msv-answer { font-size: 16.5px; }
}
/* サービスページ：ご相談からの流れ（期間・お願いすること・費用まで） */
.dflow { position: relative; display: grid; gap: 16px; }
.dflow::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 63px; width: 1px; background: #c9d8cd; }
.dflow__step { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 24px; }
.dflow__head { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 6px; padding-top: 22px; }
.dflow__no { padding: 6px 12px; border-radius: 999px; background: var(--m-green); color: #fff; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.14em; }
.dflow__term { padding: 2px 8px; background: var(--m-sand, #eef3ee); font-size: 12px; color: var(--m-sub); text-align: center; }
.dflow__body { padding: 24px 28px; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px rgba(38, 42, 39, 0.04); }
.dflow__title { font-family: var(--font-round); font-weight: 700; font-size: 18px; }
.dflow__text { margin-top: 8px; font-size: 14.5px; line-height: 1.9; }
.dflow__roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.dflow__roles div { padding: 14px 16px; border-radius: 12px; background: var(--m-sand, #eef3ee); }
.dflow__roles dt { font-size: 12px; font-weight: 700; color: var(--m-green); }
.dflow__roles dd { margin-top: 4px; font-size: 13.5px; line-height: 1.8; }
.dflow__cost { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--m-line); font-size: 13.5px; }
.dflow__cost span { font-weight: 700; color: var(--m-green); }
.dflow__notes { margin-top: 28px; padding: 20px 24px; border-radius: 14px; background: #fff; display: grid; gap: 6px; }
.dflow__notes li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.8; }
.dflow__notes li::before { content: "✓"; position: absolute; left: 0; color: var(--m-green); font-weight: 700; }
@media (max-width: 899px) {
  .dflow::before { left: 15px; top: 16px; }
  .dflow__step { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; }
  .dflow__head { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px; padding-top: 0; }
  .dflow__head::before { content: ""; position: absolute; left: -22px; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--m-green); transform: translateY(-50%); box-shadow: 0 0 0 4px var(--m-sand, #eef3ee); }
  .dflow__body { padding: 20px 18px; }
  .dflow__roles { grid-template-columns: 1fr; }
}
/* 緑の帯の上では、プラン名を白で読めるように */
.pd__seg .plan-brand { color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.pd__seg .plan-brand + .pd__name { margin-top: 2px; }
/* かんたん相談フォーム（コーポレートのサービスページ）：PC・スマホとも1画面に収まる大きさに */
.svc-hero .qform { gap: 8px; padding: 22px 24px 18px; }
.svc-hero .qform__title { font-size: 18px; line-height: 1.5; }
.svc-hero .qform__lead { margin-top: -4px; font-size: 12px; line-height: 1.7; }
.svc-hero .qform__field { gap: 4px; }
.svc-hero .qform__field span { font-size: 12px; }
.svc-hero .qform input, .svc-hero .qform textarea { padding: 8px 12px; font-size: 15px; line-height: 1.5; }
.svc-hero .qform textarea { min-height: 0; height: 64px; }
.svc-hero .qform__file input { padding: 5px 8px; font-size: 12.5px; }
.svc-hero .qform__submit { margin-top: 6px; padding-top: 14px; padding-bottom: 14px; }
.svc-hero .qform__note { font-size: 10.5px; line-height: 1.6; }
.page-hero--photo:has(.svc-hero) { min-height: calc(100svh - var(--header-h)); padding: 32px 0; }
/* スマホ：サービスページの冒頭はこれまでどおり（フォームは出さず、下の固定ボタンと各所の相談ボタンから） */
@media (max-width: 899px) {
  .svc-hero .qform { display: none; }
  .page-hero--photo:has(.svc-hero) { min-height: min(86vh, 820px); padding: 0; }
}
/* アキヤド：無料相談・お問い合わせ */
.mform-wrap { max-width: 760px; }
.mform__points { justify-content: center; margin: 0 0 24px; }
.mform { display: grid; gap: 22px; padding: 40px 44px 36px; border-radius: 24px; background: #fff; box-shadow: 0 6px 24px rgba(38, 42, 39, 0.06); }
.mform__field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.mform__field > label, .mform__field > legend { padding: 0; font-family: var(--font-round); font-weight: 700; font-size: 15px; }
.mform__field > legend { margin-bottom: 8px; }
.mform__req, .mform__opt { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; font-family: var(--font-sans); font-weight: 500; font-size: 11px; vertical-align: 2px; }
.mform__req { background: var(--m-cta); color: #fff; }
.mform__opt { background: #eef1ee; color: var(--c-muted); }
.mform input[type="text"], .mform input[type="email"], .mform input[type="tel"], .mform textarea, .mform select { width: 100%; padding: 12px 14px; border: 1px solid var(--m-line); border-radius: 10px; background: #fbfcfb; font: inherit; font-size: 16px; }
.mform input:focus, .mform textarea:focus, .mform select:focus { outline: 2px solid var(--m-green); outline-offset: -1px; background: #fff; }
.mform input[type="file"] { padding: 8px; border: 1px dashed var(--m-line); border-radius: 10px; font-size: 13px; }
.mform__help { font-size: 12.5px; line-height: 1.7; color: var(--c-muted); }
.mform__checks { display: grid; gap: 8px; }
.mform__check, .mform__agree { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.mform__check { padding: 12px 14px; border: 1px solid var(--m-line); border-radius: 10px; font-size: 14.5px; line-height: 1.6; transition: border-color .2s, background .2s; }
.mform__check:has(input:checked) { border-color: var(--m-green); background: #eef5f0; }
.mform__check input, .mform__agree input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--m-green); }
.mform__agree { justify-content: center; font-size: 14px; }
.mform__agree a { text-decoration: underline; text-underline-offset: 3px; }
.mform__submit { justify-self: center; width: min(100%, 440px); padding-top: 18px; padding-bottom: 18px; font-size: 16px; }
.mform__note { text-align: center; font-size: 12.5px; color: var(--c-muted); }
.mform__corp { margin-top: 24px; font-size: 12.5px; line-height: 1.9; color: var(--c-muted); text-align: center; }
.mform__corp a { text-decoration: underline; text-underline-offset: 3px; }
.mthanks__btns { justify-content: flex-start; }
@media (max-width: 899px) {
  .mform { padding: 26px 18px 24px; gap: 20px; border-radius: 18px; }
  .mform__check { font-size: 14px; }
}
@media (max-width: 899px) { .mform__submit { padding: 16px 20px; font-size: 14.5px; gap: 10px; letter-spacing: 0.04em; } .mform__agree { justify-content: flex-start; } }
.mform__radios { display: flex; flex-wrap: wrap; gap: 8px; }
.mform__radio { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--m-line); border-radius: 999px; font-size: 14px; cursor: pointer; }
.mform__radio:has(input:checked) { border-color: var(--m-green); background: #eef5f0; }
.mform__radio input { width: 16px; height: 16px; accent-color: var(--m-green); }
.mform__group { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--m-line); font-family: var(--font-round); font-weight: 700; font-size: 16px; color: var(--m-green); }
.mform__group span { margin-left: 8px; font-family: var(--font-sans); font-weight: 400; font-size: 12px; color: var(--c-muted); }
.mform textarea { min-height: 180px; line-height: 1.8; }
@media (max-width: 899px) { .mform__submit .arrow { display: none; } }
/* アキヤドのヘッダー：ロゴの行の余白で、マークが上に寄って見えないように */
.mheader__logo { display: flex; align-items: center; line-height: 1; }
/* スマホ：ガイドのカードは、対象の説明（小さな2行）を省いてすっきり見せる */
@media (max-width: 899px) { .persona-card__who { display: none; } }
.article__section a:not(.btn) { padding: 4px 0; }
/* 記事カードの高さをそろえる：タグは1行、タイトルは3行分の高さ（長いものは省略） */
.ctags { flex-wrap: nowrap; overflow: hidden; height: 24px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.ctag { flex-shrink: 0; }
.media-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.media-grid--scroll .media-card__title, .media-grid--feature .is-lead .media-card__title { min-height: 3lh; }
@media (min-width: 900px) { .media-grid .media-card__title { min-height: 3lh; } }
.media-card__body { min-width: 0; } .ctags { max-width: 100%; min-width: 0; }
@media (max-width: 899px) { .media-grid:not(.media-grid--scroll):not(.media-grid--feature) .ctag + .ctag { display: none; } }
/* プラン比較の図：スマホでは文字を絞り、言葉のまとまりで折り返す */
.pd__name, .pd__desc, .pd__value { word-break: auto-phrase; }
@media (max-width: 899px) {
  .pd__seg .plan-brand, .pd__seg .pd__label { display: none; }
  .pd__desc { font-size: 13.5px; line-height: 1.8; }
}
.pd__desc, .pd__desc n-w, .pd__name, .pd__name n-w { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 899px) { .pd__name { font-size: 12.5px; line-height: 1.5; padding: 0 6px; } }
.pd__desc { text-wrap: balance; }
@media (max-width: 899px) { .pd__brandword { display: block; } }
@media (max-width: 899px) { .pd__name { font-size: 11.5px; letter-spacing: 0; padding: 0 14px 0 4px; } }
@media (max-width: 899px) { .pd__name { white-space: normal; } }
.pd__nb { white-space: nowrap; }

/* スマホでは補足を開閉式にする（PCでは常に開いて見出しを隠す） */
.spfold > summary { display: none; }
@media (max-width: 899px) {
  .spfold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--m-sand, #eef3ee); font-size: 13px; font-weight: 700; color: var(--m-green, #2e6b47); cursor: pointer; list-style: none; }
  .spfold > summary::-webkit-details-marker { display: none; }
  .spfold > summary::after { content: "＋"; font-weight: 400; }
  .spfold[open] > summary::after { content: "－"; }
  .mintro__desc { display: none; }
  .mintro__entry, .mintro__entries li + li .mintro__entry { padding: 18px 0; }
}

/* スマホ：長く見える箇所を詰める */
@media (max-width: 899px) {
  .reason, .reason + .reason { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; padding: 22px 20px; }
  .reason__num { grid-row: span 2; font-size: 30px; }
  .reason__title { margin-top: 0; font-size: 17px; }
  .reason__text { margin-top: 0; font-size: 13px; line-height: 1.9; }
  .reasons { gap: 12px; }
  .flow { gap: 14px; }
  .flow__step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; padding: 18px 20px; }
  .flow__num { grid-row: span 2; font-size: 26px; }
  .flow__title { margin-top: 0; font-size: 16px; }
  .flow__desc { margin-top: 0; font-size: 12.5px; line-height: 1.8; }
  .flow__step:not(:last-child)::after { display: none; }
  .reviews__list .review:nth-child(n+3) { display: none; }
}
@media (max-width: 899px) {
  .vision__step, .vision__step + .vision__step, .vision__step:nth-child(3) { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 14px; padding: 20px 0 22px; }
  .vision__num { grid-row: span 3; font-size: 30px; }
  .vision__en { margin-top: 0; font-size: 11px; }
  .vision__title { margin-top: 2px; font-size: 18px; }
  .vision__text { margin-top: 4px; font-size: 13px; line-height: 1.9; }
  .vision__step:not(:last-child)::after, .vision__step:nth-child(2)::after { display: none; }
  .founder__bio { text-align: left; text-justify: auto; font-size: 13.5px; line-height: 2; }
}
/* スマホのプラン比較：帯の文字を左にそろえ、「手放す」「貸す」を太く大きくしてプラン名と区別する */
@media (max-width: 899px) {
  .pd__seg { align-items: flex-start; text-align: left; padding: 20px 12px 20px 16px; }
  .pd__seg .pd__badge { order: -2; margin-bottom: 10px; }
  .pd__value { order: -1; margin: 0 0 6px; font-family: var(--font-round, var(--font-sans)); font-weight: 700; font-size: 21px; line-height: 1.3; }
  .pd__name { padding: 0; font-size: 11px; line-height: 1.6; opacity: .88; white-space: normal; }
  .pd__name .pd__brandword { display: inline; }
  .pd__desc { word-break: normal; line-break: strict; }
}
@media (max-width: 899px) {
  .pd__seg .pd__badge { align-self: flex-start; }
  .pd__name .pd__brandword { display: block; }
  .pd__name wbr { display: none; }
  .pd__name .pd__nb { white-space: nowrap; }
  .pd__desc, .pd__desc n-w { word-break: normal; overflow-wrap: anywhere; }
}
@media (max-width: 899px) { .pd__value { font-size: 19px; letter-spacing: 0; word-break: keep-all; } .pd__seg { padding-left: 14px; padding-right: 8px; } }
.mq__more { display: block; margin: 16px auto 0; padding: 12px 28px; border: 1px solid var(--m-green, #2e6b47); border-radius: 999px; background: #fff; color: var(--m-green, #2e6b47); font-size: 13.5px; font-weight: 700; cursor: pointer; }
@media (max-width: 899px) { .mvoices .mvoice:nth-child(n+3) { display: none; } }

/* noteの体験記への案内 */
.mstory { display: grid; gap: 6px; margin-top: 28px; padding: 26px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--m-line, #e3e8e3); box-shadow: 0 3px 12px rgba(38, 42, 39, 0.04); transition: border-color .2s, box-shadow .2s; }
.mstory:hover { border-color: var(--m-green, #2e6b47); box-shadow: 0 6px 20px rgba(38, 42, 39, 0.08); }
.mstory__en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--m-green, #2e6b47); }
.mstory__title { font-family: var(--font-round, var(--font-sans)); font-weight: 700; font-size: 18px; line-height: 1.6; color: #262a27; }
.mstory__text { font-size: 14px; line-height: 1.9; color: var(--m-sub, #5c625e); }
.mstory__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--m-green, #2e6b47); }
@media (max-width: 899px) { .mstory { padding: 20px 20px; } .mstory__title { font-size: 16px; } .mstory__text { font-size: 13px; } }
.mstory { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px; }
.mstory__photo { align-self: stretch; min-height: 140px; border-radius: 12px; background: var(--photo-node-shimoda) center / cover no-repeat; }
.mstory__body { display: grid; gap: 6px; padding-right: 8px; }
.article .mstory { margin: 48px 0 0; }
@media (max-width: 899px) {
  .mstory { grid-template-columns: 1fr; gap: 16px; padding: 14px 14px 20px; }
  .mstory__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .mstory__body { padding: 0 6px; }
}
/* スマホ：コースのカードは1列の横長に */
@media (max-width: 899px) {
  .lcards { grid-template-columns: 1fr; gap: 10px; }
  .lcard { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 4px; align-items: center; padding: 18px 18px 18px 20px; }
  .lcard > :not(.lcard__count) { grid-column: 1; }
  .lcard__count { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding: 6px 12px; border-radius: 999px; background: var(--m-sand, #eef3ee); white-space: nowrap; }
  .lcard__title { font-size: 16px; }
  .lcard__text { font-size: 12.5px; line-height: 1.75; }
}

/* コーポレートTOPのアキヤド紹介：文字はコーポレートの書体にそろえ、メディアの雰囲気は画面写真で見せる */
.mintro__copy { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.8; letter-spacing: 0.08em; color: var(--c-text, #1f1f1f); }
.mintro__who { font-family: var(--font-serif); font-weight: 400; font-size: 17px; letter-spacing: 0.06em; color: var(--c-text, #1f1f1f); }
.mintro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
.mintro__shots { position: relative; display: block; padding: 0 0 48px 0; transition: transform .4s var(--ease, ease); }
.mintro__shots:hover { transform: translateY(-3px); }
.mintro__pc { display: block; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 20px 48px rgba(20, 30, 24, 0.14); border: 1px solid var(--c-line); }
.mintro__bar { display: flex; gap: 6px; padding: 9px 12px; background: #f1f2f0; border-bottom: 1px solid var(--c-line); }
.mintro__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d7d3; }
.mintro__pc img { display: block; width: 100%; height: auto; }
.mintro__sp { position: absolute; right: -16px; bottom: 0; width: 26%; overflow: hidden; border: 5px solid #1f2420; border-radius: 22px; background: #fff; box-shadow: 0 18px 36px rgba(20, 30, 24, 0.22); }
.mintro__sp img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) {
  .mintro__shots { order: -1; margin: 4px 8px 8px 0; padding-bottom: 28px; }
  .mintro__sp { right: -8px; width: 28%; border-width: 4px; border-radius: 16px; }
  .mintro__who { font-size: 16px; }
}
@media (max-width: 899px) { .mintro__grid { grid-template-columns: minmax(0, 1fr); } .mintro__copy br { display: inline; } }
@media (max-width: 899px) { .mintro__shots { order: 0; margin-top: 8px; } }
/* 記事トップのアイキャッチ（文字入りの画像なので切り取らず、全体を見せる） */
.article__photo--eyecatch, .article__photo.article__photo--eyecatch { aspect-ratio: 1200 / 630; }
.article__photo--eyecatch img { object-fit: contain; filter: none; }
/* メールマガジンの受け取り（任意・オプトイン）。プライバシーポリシーの同意のすぐ下に置く */
.form__consent { display: grid; justify-items: center; gap: 16px; }
.form__optin { display: grid; justify-items: center; gap: 4px; }
.form__optin .check { font-size: 13px; text-align: left; }
.form__optin-note, .mform__optin-note { font-size: 12px; color: var(--c-muted); }
.mform__consent { display: grid; gap: 12px; }
.mform__optin { display: grid; justify-items: center; gap: 2px; }
.mform__optin .mform__agree { font-size: 13px; }
@media (max-width: 899px) { .mform__optin { justify-items: start; } .mform__optin-note { padding-left: 28px; } }

/* 基礎から学ぶ：記事への行は、押せるボタンとして見せる */
.lchap__list { gap: 8px; margin-top: 14px; }
.lchap__list a.lchap__link { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border: 1px solid var(--m-line, #e3e8e3); border-radius: 12px; background: var(--m-sand, #f6f7f4); font-size: 14px; font-weight: 700; line-height: 1.6; color: #262a27; transition: border-color .2s, background .2s; }
.lchap__list a.lchap__link::before { display: none; }
.lchap__list a.lchap__link:hover { border-color: var(--m-green, #2e6b47); background: #fff; color: #262a27; text-decoration: none; }
.lchap__ltext { flex: 1; min-width: 0; }
.lchap__go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--m-green, #2e6b47); white-space: nowrap; }
@media (max-width: 899px) { .lchap__list a.lchap__link { font-size: 13.5px; padding: 11px 12px 11px 14px; } }
/* 運営実績が「一例」であることを示すラベル */
.ex-badge { display: inline-block; margin: 0 10px 6px 0; padding: 2px 12px; border-radius: 999px; background: var(--m-green, #2e6b47); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; vertical-align: middle; }

/* =====================================================================
   記事の読みやすさ（スマホ優先）：余白・行間・見出しの階層・要点・目次・式・表
   ===================================================================== */
body.is-media .article__body { counter-reset: sec; }
body.is-media .article__lead { font-size: 15px; line-height: 2; color: var(--m-sub); }
/* 本文：16px・ゆったりした行間と段落間 */
body.is-media .article__section > p { font-size: 16px; line-height: 2; letter-spacing: 0.02em; }
body.is-media .article__section > p + p { margin-top: 1.6em; }
body.is-media .article__section > p .lead-s { font-weight: 700; color: var(--m-ink); }
body.is-media .article__section > p > n-w { color: var(--m-sub); }
body.is-media .article__section > p > .lead-s n-w, body.is-media .article__section > p > n-w:only-child { color: var(--m-ink); }
body.is-media .article__section > ul:not(.steps) li, body.is-media .article__section > ol.steps li { font-size: 16px; line-height: 1.9; }
body.is-media .article__section > ul:not(.steps) li + li { margin-top: 10px; }
body.is-media .article__section > ul:not(.steps), body.is-media .article__section > ol.steps { margin: 24px 0; }
body.is-media .article__section > ol.steps li { padding: 20px 0 20px 48px; }
/* 見出し：節の番号とアクセント線で、区切りをはっきりさせる */
body.is-media .article__section { margin-top: 80px; }
body.is-media .article__section:not(#faq) { counter-increment: sec; }
body.is-media .article__section h2 { position: relative; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--m-line); font-weight: 700; line-height: 1.6; }
body.is-media .article__section h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--m-green); border-radius: 2px; }
body.is-media .article__section:not(#faq) h2::before { content: "SECTION " counter(sec, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--m-green); }
body.is-media .article__section h3 { margin: 48px 0 16px; padding: 2px 0 2px 14px; border-left: 4px solid var(--m-green); font-size: 18px; font-weight: 700; line-height: 1.6; }
body.is-media .article__section strong { font-weight: 700; background: linear-gradient(transparent 62%, #dfeadf 62%); }
/* 引用・注意書き・結論ボックス */
body.is-media .article__section blockquote { margin: 28px 0; padding: 16px 20px; border-left: 4px solid var(--m-line); background: #f4f6f3; border-radius: 0 12px 12px 0; color: var(--m-sub); font-size: 15px; line-height: 1.9; }
body.is-media .callout { margin: 32px 0; padding: 20px 22px; border: 0; border-left: 4px solid var(--m-green); border-radius: 0 14px 14px 0; background: var(--m-sand); }
body.is-media .callout > p { font-size: 15px; line-height: 1.95; }
body.is-media .callout .callout__label { margin-bottom: 6px; font-size: 12px !important; font-weight: 700; color: var(--m-green); letter-spacing: 0.12em; }
body.is-media .callout--answer { border-left-color: var(--m-cta); background: #fdf3ee; }
body.is-media .callout--answer .callout__label { color: var(--m-cta); }
body.is-media .callout--answer > p:not(.callout__label) { font-size: 16px; font-weight: 700; color: var(--m-ink); }
body.is-media .callout--note { border-left-color: #c9a227; background: #fbf7e6; }
body.is-media .callout--note .callout__label { color: #8a6d00; }
/* 計算式：別枠のカード（等幅風に数字をそろえ、はみ出さず折り返す） */
body.is-media .article__section ul.calc { margin: 24px 0; padding: 6px 18px; border: 1px solid var(--m-line); border-radius: 14px; background: #fff; }
body.is-media .article__section ul.calc li { padding: 12px 0; font-size: 14px; line-height: 1.85; color: var(--m-sub); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.is-media .article__section ul.calc li + li { margin-top: 0; border-top: 1px dashed var(--m-line); }
body.is-media .article__section ul.calc li::before { display: none; }
body.is-media .article__section ul.calc li { padding-left: 0; }
/* 折りたたみ（長い式・補足）：<details class="fold"><summary>…</summary>…</details> */
body.is-media .article__section details.fold { margin: 24px 0; border: 1px solid var(--m-line); border-radius: 14px; background: #fff; }
body.is-media .article__section details.fold > summary { padding: 14px 18px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--m-green); }
body.is-media .article__section details.fold > summary::-webkit-details-marker { display: none; }
body.is-media .article__section details.fold > summary::after { content: "＋"; float: right; }
body.is-media .article__section details.fold[open] > summary::after { content: "－"; }
body.is-media .article__section details.fold > :not(summary) { margin-left: 18px; margin-right: 18px; }
body.is-media .article__section details.fold > ul.calc { margin-top: 0; border: 0; border-top: 1px solid var(--m-line); border-radius: 0; padding: 0; margin-left: 18px; margin-right: 18px; }
body.is-media .article__section details.fold > :last-child { margin-bottom: 18px; }
/* 表：横スクロール・余白・先頭列の強調 */
body.is-media .table-scroll { margin: 28px 0; -webkit-overflow-scrolling: touch; }
@media (max-width: 899px) { body.is-media .table-scroll { margin: 28px calc(var(--gutter) * -1); padding: 0 var(--gutter); } body.is-media .table-scroll .table { display: table; width: 100%; } body.is-media .article__section .table th, body.is-media .article__section .table td { padding: 10px 9px; font-size: 13px; } body.is-media .article__section .table td:first-child { min-width: 6.5em; max-width: 9.5em; } }
body.is-media .article__section .table { margin: 0; font-size: 14px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--m-line); border-radius: 12px; overflow: hidden; }
body.is-media .article__section .table th, body.is-media .article__section .table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--m-line); line-height: 1.7; }
body.is-media .article__section .table tr:last-child td { border-bottom: 0; }
body.is-media .article__section .table th { white-space: normal; min-width: 4.5em; background: var(--m-sand); color: var(--m-green); font-weight: 700; }
body.is-media .article__section .table td:first-child { font-weight: 700; background: #f7f9f6; }
body.is-media .article__section .table td.num { font-variant-numeric: tabular-nums; }
/* この記事のポイント：短い要点（太字）＋補足（小さく淡く） */
body.is-media .keypoints { margin-top: 32px; padding: 24px 22px; border: 0; background: #fff; box-shadow: 0 2px 14px rgba(38, 42, 39, 0.07); border-top: 4px solid var(--m-green); border-radius: 18px; }
body.is-media .keypoints__title { margin-bottom: 14px; font-size: 17px; font-weight: 700; color: var(--m-green); }
body.is-media .keypoints li { padding-left: 28px; font-size: 16px; line-height: 1.7; }
body.is-media .keypoints li + li { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--m-line); }
body.is-media .keypoints li::before { top: 0.75em; left: 2px; width: 12px; height: 6px; border-color: var(--m-green); border-width: 2px; }
body.is-media .keypoints li + li::before { top: calc(16px + 0.75em); }
body.is-media .keypoints .kp__main { display: block; font-weight: 700; color: var(--m-ink); }
body.is-media .keypoints .kp__sub { display: block; margin-top: 4px; font-size: 13px; line-height: 1.8; color: var(--m-sub); }
/* 目次：スマホでは折りたたみ */
body.is-media .toc { padding: 0; margin-top: 24px; }
body.is-media .toc__details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 16px 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--m-ink); letter-spacing: 0.04em; }
body.is-media .toc__details > summary::-webkit-details-marker { display: none; }
body.is-media .toc__details > summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid var(--m-green); border-bottom: 2px solid var(--m-green); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
body.is-media .toc__details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
body.is-media .toc__details > ol { padding: 0 20px 18px; }
body.is-media .toc li { font-size: 15px; line-height: 1.7; }
body.is-media .toc li a { padding: 8px 0; }
body.is-media .toc li::before { color: var(--m-green); }
/* 固定の相談ボタンが本文・末尾を隠さない余白 */
@media (max-width: 899px) {
  body.is-media:has(.fixed-cta--media) { padding-bottom: 96px; }
  body.is-media .article__body.container--article { --gutter: 22px; }
  body.is-media .article__section { margin-top: 68px; }
  body.is-media .article__section h2 { font-size: 21px; }
}
@media (min-width: 900px) {
  body.is-media .article__section > p, body.is-media .article__section > ul:not(.steps) li, body.is-media .article__section > ol.steps li { font-size: 16px; }
  body.is-media .toc__details > summary { cursor: default; pointer-events: none; }
  body.is-media .toc__details > summary::after { display: none; }
}

/* 図の中の項目（fig-point など）の左余白が、記事本文の li の余白リセットで 0 になっていたのを戻す */
.article__section .fig ul:not(.steps) li.fig-point { padding: 16px 16px 16px 20px; }
.article__section .fig ul:not(.steps) li.fig-col { padding-left: 18px; }

/* 図の名前は折り返しても1文字だけが次の行に残らないようにする */
.fig-col__name, .fig-point__name, .fig-step__name { text-wrap: balance; }
/* スマホ：横にスクロールする表は、右側に続きがあることを影で示す（スクロール位置に合わせて消える） */
@media (max-width: 899px) {
  body.is-media .table-scroll {
    background:
      linear-gradient(to right, var(--m-bg) 30%, rgba(251, 251, 249, 0)) 0 0 / 40px 100% no-repeat local,
      linear-gradient(to left, var(--m-bg) 30%, rgba(251, 251, 249, 0)) 100% 0 / 40px 100% no-repeat local,
      linear-gradient(to right, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0)) 0 0 / 10px 100% no-repeat scroll,
      linear-gradient(to left, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0)) 100% 0 / 10px 100% no-repeat scroll;
  }
}
/* 循環図の丸の中の文字：1文字だけが次の行に残らないようにし、スマホでは丸のふちに触れない大きさにする */
.fig-cyc__node { text-wrap: balance; }
@media (max-width: 599px) { .article__section .fig .fig-cyc__node { font-size: 10.5px; padding: 4px; } }
/* PC：横に並んだ項目カードの高さをそろえる（片方だけ低くならないように） */
.fig-points > .fig-point { align-self: stretch; }
/* 項目カード：文字の量が違っても、見出しの高さをそろえる（上づめ） */
.fig-points > .fig-point { align-items: start; align-content: start; }
body.is-media .article__section .fig ul.fig-points > li.fig-point { margin-top: 0; }

/* ===== 一覧を「短い表示名＋小さな補足」のカードにする（ガイド・学ぶ・記事一覧） ===== */
body.is-media .guide-steps { gap: 8px; }
body.is-media .guide-step__body { grid-template-columns: 28px 64px minmax(0, 1fr) 14px; align-items: center; gap: 12px; padding: 10px 14px 10px 12px; min-height: 76px; }
body.is-media .guide-step__no { grid-column: auto; font-size: 15px; text-align: center; }
body.is-media .guide-step__thumb { width: 64px; aspect-ratio: 1 / 1; }
body.is-media .guide-step__text { gap: 2px; min-width: 0; }
body.is-media .guide-step__title { font-family: var(--font-round); font-weight: 700; font-size: 15px; line-height: 1.5; letter-spacing: 0.02em; }
body.is-media .guide-step__blurb { display: block; font-size: 12.5px; line-height: 1.6; color: var(--m-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-media .guide-step__more { display: block; margin-top: 0; font-family: var(--font-body, inherit); font-weight: 400; font-size: 11px; letter-spacing: 0.04em; color: var(--c-muted); }
body.is-media .guide-step__soon { margin-top: 0; font-size: 11px; }
body.is-media .guide-step__go { font-size: 22px; line-height: 1; color: var(--m-green); text-align: right; }
body.is-media a.guide-step__body:active { background: var(--m-sand); }
@media (min-width: 900px) {
  body.is-media .guide-step__body { grid-template-columns: 36px 96px minmax(0, 1fr) 20px; gap: 20px; padding: 12px 24px 12px 18px; }
  body.is-media .guide-step__thumb { width: 96px; aspect-ratio: 16 / 10; }
  body.is-media .guide-step__title { font-size: 17px; }
  body.is-media .guide-step__blurb { font-size: 14px; }
  body.is-media .guide-step__more { font-size: 12px; }
}
.guide-steps__more { display: block; width: 100%; margin-top: 8px; padding: 14px; border: 1px dashed var(--c-line-strong, #c9cfc9); border-radius: 14px; background: transparent; font-family: var(--font-round); font-weight: 700; font-size: 13.5px; color: var(--m-green, #2e6b47); cursor: pointer; }
.guide-steps__more:hover { background: var(--m-sand); }
/* ガイドの Step 見出しを、番号つきの区切りにする */
body.is-media .guide-stage { margin-top: 40px; padding-top: 0; }
body.is-media .guide-stage__head { padding: 14px 16px; margin-bottom: 14px; background: var(--m-sand); border-radius: 14px; }
body.is-media .guide-stage__no { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--m-green); color: #fff; font-size: 11px; letter-spacing: 0.1em; }
body.is-media .guide-stage__title { margin-top: 6px; font-size: 18px; }
body.is-media .guide-stage__desc { margin-top: 4px; font-size: 13px; line-height: 1.8; }

/* 記事カード（一覧）：表示名＋補足 */
.media-card__blurb { margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--c-sub, #555b56); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-media .media-card__title { font-family: var(--font-round); font-weight: 700; -webkit-line-clamp: 3; min-height: 0 !important; }
.media-grid--scroll .media-card__title, .media-grid--feature .is-lead .media-card__title { min-height: 0; }
@media (min-width: 900px) { .media-grid .media-card__title { min-height: 0; } .media-card__blurb { font-size: 13.5px; } }

/* 学ぶ：章の中の記事行（表示名＋補足） */
.lchap__ltext { display: flex; flex-direction: column; gap: 2px; }
.lchap__name { font-size: 14px; font-weight: 700; line-height: 1.5; }
.lchap__blurb { font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--m-sub, #555b56); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) { .lchap__go { font-size: 11.5px; } }

/* ===== 記事の部品（使い方は docs/seo/components.md） ===== */
/* 横スクロールのカルーセルカード：スナップ付き・右端が少し見える */
.article__section .carousel { display: flex; gap: 12px; margin: 24px -20px; padding: 4px 20px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.article__section .carousel__card { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; padding: 18px 18px 16px; border: 1px solid var(--m-line); border-radius: 16px; background: #fff; box-shadow: 0 2px 8px rgba(38, 42, 39, .05); }
.article__section .carousel__no { display: inline-block; margin: 0; font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; color: var(--m-green); line-height: 1.6; }
.article__section .carousel__title { margin: 4px 0 0; font-family: var(--font-round); font-weight: 700; font-size: 15.5px; line-height: 1.55; color: var(--m-ink); }
.article__section .carousel__card > p.carousel__text { margin: 8px 0 0; font-size: 13.5px; line-height: 1.85; color: var(--m-sub); }
/* カード内の見出しは本物の h3/h4（構造のため）。見た目は <p> 時代と同じに固定する */
body.is-media .article__section :is(h3, h4):is(.carousel__title, .compare__head) { padding: 0; border: 0; letter-spacing: inherit; font-family: var(--font-round); font-weight: 700; font-size: 15.5px; color: var(--m-ink); }
body.is-media .article__section :is(h3, h4).carousel__title { margin: 4px 0 0; line-height: 1.55; }
body.is-media .article__section :is(h3, h4).compare__head { margin: 0 0 8px; padding: 0 0 8px; line-height: 1.5; border-bottom: 2px solid var(--m-green); }
.article__section :is(h3, h4).compare__head + p:not(.compare__row) { margin-top: 1.2em; } /* 旧: p + p の余白 */
body.is-media .article__section .compare__col--b :is(h3, h4).compare__head { border-bottom-color: var(--m-cta); }
body.is-media .article__section .compare__col--c :is(h3, h4).compare__head { border-bottom-color: #c9a227; }
.article__section .carousel__hint { margin: -6px 0 18px; font-size: 11.5px; line-height: 1.6; color: var(--c-muted); text-align: left; }
@media (min-width: 900px) {
  .article__section .carousel { margin: 24px 0; padding: 4px 0 12px; }
  .article__section .carousel__card { flex-basis: 30%; max-width: none; }
}
/* 比較カード（2〜3列）：スマホは2列＝縦並び、3列＝横スワイプ */
.article__section .compare { display: grid; gap: 12px; margin: 24px 0; }
.article__section .compare__col { padding: 16px 16px 14px; border: 1px solid var(--m-line); border-radius: 16px; background: #fff; }
.article__section .compare__head { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--m-green); font-family: var(--font-round); font-weight: 700; font-size: 15.5px; line-height: 1.5; color: var(--m-ink); }
.article__section .compare__col--b .compare__head { border-bottom-color: var(--m-cta); }
.article__section .compare__col--c .compare__head { border-bottom-color: #c9a227; }
.article__section .compare__row { display: flex; justify-content: flex-start; gap: 14px; margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--m-line); font-size: 13.5px; line-height: 1.7; }
.article__section .compare__row:last-child { border-bottom: 0; }
.article__section .compare__row > span:first-child { flex: 0 0 7em; color: var(--c-muted); font-size: 12.5px; }
.article__section .compare__row > span:last-child { flex: 1 1 0; min-width: 0; text-align: left; font-weight: 700; color: var(--m-ink); }
@media (min-width: 900px) { .article__section .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } .article__section .compare--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .article__section .compare--3 { display: flex; margin: 24px -20px; padding: 4px 20px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; }
  .article__section .compare--3 .compare__col { flex: 0 0 78%; scroll-snap-align: start; }
}
/* 数字ハイライト：大きい数字＋ラベル */
.article__section .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 24px 0; }
.article__section .stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article__section .stats--1 { grid-template-columns: minmax(0, 1fr); }
.article__section .stat { margin: 0; padding: 14px 8px 12px; border-radius: 14px; background: var(--m-sand); text-align: center; }
.article__section .stat__num { display: block; margin: 0; font-family: var(--font-en); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--m-green); letter-spacing: 0; white-space: nowrap; }
.article__section .stat__num small { font-size: 14px; font-weight: 700; margin-left: 1px; }
.article__section .stat__label { display: block; margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--m-ink); font-weight: 700; }
.article__section .stat__note { display: block; margin: 2px 0 0; font-size: 11px; line-height: 1.5; color: var(--c-muted); }
.article__section .stat--accent .stat__num { color: var(--m-cta); }
@media (max-width: 480px) { .article__section .stat { padding: 14px 4px 12px; } .article__section .stat__num { font-size: 21px; } .article__section .stat__num small { font-size: 12px; } .article__section .stats--1 .stat__num { font-size: 30px; } }
@media (min-width: 900px) { .article__section .stat__num { font-size: 38px; } .article__section .stat__label { font-size: 13px; } }
.guide-step[hidden], .media-card[hidden] { display: none !important; }
.guide-step__blurb n-w, .lchap__blurb n-w, .media-card__blurb n-w { display: inline; white-space: nowrap; }
body.is-media .guide-step__blurb { font-size: 12px; }
body.is-media .guide-stage__head { padding: 12px 16px; }
@media (max-width: 899px) { .media-card .ctags .ctag:nth-child(2) { display: none; } }
/* 列が多く文が長い表（市町ごとの補助など）は、スマホ幅では1行ずつのカードに積み替える（data-label が項目名） */
@media (max-width: 639px) {
  body.is-media .table-scroll--stack { margin: 24px 0; padding: 0; overflow: visible; }
  body.is-media .table-scroll--stack .table--stack, body.is-media .table-scroll--stack .table--stack tbody, body.is-media .table-scroll--stack .table--stack tr, body.is-media .table-scroll--stack .table--stack td { display: block; width: 100%; }
  body.is-media .table-scroll--stack .table--stack { border: 0; border-radius: 0; }
  body.is-media .table-scroll--stack .table--stack thead { display: none; }
  body.is-media .table-scroll--stack .table--stack tr { margin: 0 0 12px; border: 1px solid var(--m-line); border-radius: 12px; overflow: hidden; background: #fff; }
  body.is-media .article__section .table--stack td { padding: 9px 14px; border-bottom: 0; font-size: 13.5px; }
  body.is-media .article__section .table--stack td:first-child { min-width: 0; max-width: none; padding: 10px 14px; font-size: 15px; color: var(--m-green); background: var(--m-sand); }
  body.is-media .article__section .table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--m-green); }
}

.article__section .compare__row--n > span:first-child { flex-basis: 1.4em; }

/* 取材記事の対話（顔アイコンつき） */
.article__section .talk { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; }
.article__section .talk__img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article__section .talk__body { flex: 1 1 0; min-width: 0; padding: 10px 14px; border-radius: 14px; background: #f3f6f2; }
.article__section .talk__body p { margin: 0; font-size: 15px; line-height: 1.9; }
.article__section .talk__body .talk__name { margin-bottom: 2px; font-size: 12px; font-weight: 700; color: var(--m-green, #2e6b47); }
.article__section .talk__list { margin: 10px 0 4px; padding: 10px 14px 10px 30px; border-radius: 10px; background: #fff; font-size: 14.5px; line-height: 1.8; }
.article__section .talk__list li { margin: 0; padding: 2px 0; }
.article__section .talk__list li + li { border-top: 1px dashed var(--m-line, #e2e8e2); padding-top: 6px; margin-top: 4px; }
.article__section .talk__q { margin: 22px 0 4px; font-size: 13.5px; color: var(--c-muted); }
.lchaps, .lchap, .lchap__body, .lchap__list { min-width: 0; }
.lchap__list a { overflow-wrap: anywhere; }
/* 2列の表（項目と内容）を、スマホでも縦に長くならない1行表示にする */
.article__section .kv { margin: 18px 0; padding: 4px 16px; border: 1px solid var(--m-line, #e2e8e2); border-radius: 16px; background: #fff; }
.article__section .kv__row { display: flex; gap: 14px; margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--m-line, #e2e8e2); font-size: 14px; line-height: 1.7; }
.article__section .kv__row:last-child { border-bottom: 0; }
.article__section .kv__k { flex: 0 0 7em; color: var(--c-muted); font-size: 13px; }
.article__section .kv__v { flex: 1 1 0; min-width: 0; font-weight: 700; color: var(--m-ink); }
/* PC：項目を横に並べたタイルにして、右側に大きな空白を作らない */
@media (min-width: 900px) {
  .article__section .kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; overflow: hidden; }
  .article__section .kv__row { flex-direction: column; gap: 4px; padding: 16px 20px; border-bottom: 0; border-right: 1px dashed var(--m-line, #e2e8e2); }
  .article__section .kv__row:nth-child(3n), .article__section .kv__row:last-child { border-right: 0; }
  .article__section .kv__row:nth-child(n+4) { border-top: 1px dashed var(--m-line, #e2e8e2); }
  .article__section .kv__k { flex: none; }
  .article__section .kv__v { flex: none; font-size: 16px; }
}
/* 取材したオーナーの例（記事の途中に差し込む） */
.article__section p.case-mix { margin: 22px 0; padding: 14px 16px; border-left: 4px solid var(--m-green, #2e6b47); border-radius: 0 12px 12px 0; background: #f3f6f2; font-size: 14.5px; line-height: 1.9; }
/* 事例への入口（悩み→事例のリンク一覧） */
.article__section .case-links { list-style: none; margin: 18px 0; padding: 0; border: 1px solid var(--m-line, #e2e8e2); border-radius: 16px; background: #fff; overflow: hidden; }
.article__section .case-links li + li { border-top: 1px dashed var(--m-line, #e2e8e2); }
.article__section .case-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; text-decoration: none; color: inherit; }
.article__section .case-links a:hover { background: #f3f6f2; }
.article__section .case-links__q { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 1.7; color: var(--m-sub, #555); }
.article__section .case-links__go { flex: 0 0 auto; font-weight: 700; font-size: 14px; color: var(--m-green, #2e6b47); white-space: nowrap; }
@media (max-width: 599px) { .article__section .case-links a { flex-direction: column; align-items: flex-start; gap: 4px; } }
.article__section .case-links li { padding-left: 0; list-style: none; }
.article__section .case-links li::before { display: none; }

/* ==========================================================================
   Corporate × 遊び心（2026-10-15）
   「不動産会社の型を破る」をデザインでも。コーポレートページ（body.is-corp）だけに効かせ、
   アキヤド（body.is-media）の見た目は変えない。
   色: 深い森の緑（ブランド色）＋ 朱（遊び・強調）＋ 生成り（やわらかい面）
   ========================================================================== */
:root {
  --c-forest: #1a472a;
  --c-forest-deep: #0f2618;
  --c-shu: #d9502b;          /* 朱。白地での文字コントラスト 4.5:1 以上 */
  --c-shu-light: #ff8a5c;    /* 濃い緑の上で使う明るい朱 */
  --c-kinari: #f4efe4;       /* 生成り */
}
.is-corp ::selection { background: var(--c-shu); color: #fff; }

/* スクロールの進み具合（画面上端の細い線） */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 120; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-forest), var(--c-shu)); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* 見出し：英字のラベルは朱の短い線つき、日本語の見出しは大きく */
.is-corp .eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--c-shu); font-weight: 500; }
.is-corp .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.is-corp .section-title { font-size: clamp(30px, 4.6vw, 58px); font-weight: 300; line-height: 1.45; letter-spacing: 0.06em; }
.is-corp .section-title em, .is-corp .hero__title em { font-style: normal; color: var(--c-shu); }
.is-corp .section--soft { background: var(--c-kinari); }

/* ボタン：緑の地に、ホバーで朱が下から満ちる */
.is-corp .btn { position: relative; isolation: isolate; overflow: hidden; border-radius: 999px; background: var(--c-forest); border-color: var(--c-forest); }
.is-corp .btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-shu); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.is-corp .btn:hover { background: var(--c-forest); color: #fff; border-color: var(--c-shu); }
.is-corp .btn:hover::before { transform: none; }
.is-corp .btn--ghost { background: transparent; color: var(--c-text); border-color: currentColor; }
.is-corp .btn--ghost:hover { background: transparent; }
.is-corp .hero--photo .btn:not(.btn--ghost), .is-corp .cta--photo .btn, .is-corp .page-hero--photo .btn:not(.btn--ghost) { background: var(--c-shu); border-color: var(--c-shu); color: #fff; }
.is-corp .hero--photo .btn:not(.btn--ghost)::before, .is-corp .cta--photo .btn::before, .is-corp .page-hero--photo .btn:not(.btn--ghost)::before { background: #fff; }
.is-corp .hero--photo .btn:not(.btn--ghost):hover, .is-corp .cta--photo .btn:hover, .is-corp .page-hero--photo .btn:not(.btn--ghost):hover { color: var(--c-text); background: var(--c-shu); border-color: #fff; }
.is-corp .btn--on-photo { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.is-corp .btn--on-photo::before { background: #fff; }
.is-corp .btn--on-photo:hover { color: var(--c-text); border-color: #fff; }
.is-corp .header__cta { border-radius: 999px; }
.is-corp .fixed-cta .btn { background: var(--c-shu); border-color: var(--c-shu); }
.is-corp .fixed-cta .btn::before { background: var(--c-forest); }

/* ヘッダー：ナビの下線を朱に */
.is-corp .gnav__link::after { background: var(--c-shu); height: 2px; }

/* ---------- TOP：ファーストビュー ---------- */
.hero--x { min-height: max(640px, 100svh); padding: 120px 0 112px; align-items: flex-end; margin-top: calc(var(--header-h) * -1); }
.hero--x .hero__inner { position: relative; }
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #1b1f1a; }
.hero--x .hero__bg { opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 9s linear; }
.hero--x .hero__bg.is-active { opacity: 1; transform: scale(1); }
.hero--x .hero__bg:first-child { opacity: 1; } /* JS が動く前・動かないときは1枚目を表示 */
.js .hero--x .hero__bg:first-child:not(.is-active) { opacity: 0; }
.hero--x::before {
  background:
    linear-gradient(90deg, rgba(10, 18, 12, 0.72) 0%, rgba(10, 18, 12, 0.38) 55%, rgba(10, 18, 12, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 18, 12, 0.6) 0%, rgba(10, 18, 12, 0) 50%);
}
.hero__title--x { font-family: var(--font-serif); font-weight: 400; font-size: clamp(46px, 9.2vw, 148px); line-height: 1.12; letter-spacing: 0.02em; }
.hero__title--x .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title--x .ln > span { display: inline-block; }
.hero__title--x em { color: var(--c-shu-light) !important; position: relative; }
.js .hero__title--x.reveal { opacity: 1; transform: none; }
.js .hero__title--x .ln > span { transform: translateY(110%); transition: transform 1.3s var(--ease); }
.js .hero__title--x.is-visible .ln > span { transform: none; }
.js .hero__title--x.is-visible .ln:nth-child(2) > span { transition-delay: .14s; }
.js .hero__title--x.is-visible .ln:nth-child(3) > span { transition-delay: .28s; }
.hero--x .hero__sub { margin-top: 32px; font-size: 16px; }
.hero--x .hero__actions { margin-top: 36px; }
/* 回るバッジ（下へ進む） */
.hero__badge { position: absolute; right: var(--gutter); bottom: 64px; width: 148px; height: 148px; display: grid; place-items: center; color: #fff; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 18s linear infinite; }
.hero__badge text { font-family: var(--font-en); font-size: 10px; fill: currentColor; }
.hero__badge-arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--c-shu); position: relative; transition: transform .5s var(--ease); }
.hero__badge-arrow::before { content: ""; position: absolute; left: 50%; top: 15px; width: 1.5px; height: 20px; background: #fff; transform: translateX(-50%); }
.hero__badge-arrow::after { content: ""; position: absolute; left: 50%; top: 24px; width: 9px; height: 9px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateX(-50%) rotate(45deg); }
.hero__badge:hover .hero__badge-arrow { transform: scale(1.15); }
@keyframes spin { to { transform: rotate(360deg); } }
/* 写真の枚数と、次に切り替わるまでの線 */
.hero__count { position: absolute; left: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-size: 13px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.85); }
.hero__count i { position: relative; width: 72px; height: 1px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.hero__count b { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__count.is-running b { animation: count-bar var(--slide-ms, 6000ms) linear forwards; }
@keyframes count-bar { to { transform: scaleX(1); } }
@media (min-width: 1440px) { .hero--x .container { max-width: calc(1360px + var(--gutter) * 2); } }
@media (max-width: 899px) {
  .hero--x { padding: 104px 0 120px; }
  .hero--x::before { background: linear-gradient(0deg, rgba(10, 18, 12, 0.78) 0%, rgba(10, 18, 12, 0.45) 60%, rgba(10, 18, 12, 0.3) 100%); }
  .hero__title--x { font-size: clamp(38px, 12vw, 76px); line-height: 1.16; }
  .hero--x .hero__sub { margin-top: 22px; font-size: 14px; }
  .hero--x .hero__actions { margin-top: 26px; gap: 10px; }
  .hero--x .hero__actions .btn { padding: 14px 24px; }
  .hero__badge { width: 96px; height: 96px; bottom: 20px; right: 14px; }
  .hero__badge text { font-size: 11px; }
  .hero__badge-arrow { width: 38px; height: 38px; }
  .hero__badge-arrow::before { top: 10px; height: 16px; }
  .hero__badge-arrow::after { top: 17px; width: 7px; height: 7px; }
}


/* ---------- TOP：地域の循環（光の点が回り、順に色が付く） ---------- */
.is-corp .cycle__ring circle { stroke: rgba(26, 71, 42, 0.28); stroke-width: 0.35; stroke-dasharray: 1.2 1.4; }
.cycle__orbit { position: absolute; inset: 0; pointer-events: none; animation: spin 12s linear infinite; }
.cycle__orbit i { position: absolute; left: 50%; top: 14%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--c-shu); box-shadow: 0 0 0 6px rgba(217, 80, 43, 0.18), 0 0 24px rgba(217, 80, 43, 0.6); }
.is-corp .cycle__node { transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease); z-index: 1; }
.is-corp .cycle__node--1 { border-color: var(--c-line-strong); }
.is-corp .cycle__node { animation: node-glow 12s infinite; }
.is-corp .cycle__node--2 { animation-delay: 3s; }
.is-corp .cycle__node--3 { animation-delay: 6s; }
.is-corp .cycle__node--4 { animation-delay: 9s; }
@keyframes node-glow {
  0%, 22%, 100% { background: var(--c-bg); color: var(--c-text); border-color: var(--c-line-strong); }
  3%, 17% { background: var(--c-forest); color: #fff; border-color: var(--c-forest); }
}
.is-corp .cycle__node .cycle__en { color: inherit; opacity: .8; }
.is-corp .cycle__center-en { color: var(--c-shu); }

/* ---------- お知らせ ---------- */
.is-corp .tag { border-radius: 999px; border-color: var(--c-forest); color: var(--c-forest); }

/* ---------- 事業紹介のカード：数字を大きく、ホバーで緑が満ちる ---------- */
.is-corp .biz-card { position: relative; isolation: isolate; overflow: hidden; }
.is-corp .biz-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-forest); transform: translateY(101%); transition: transform .6s var(--ease); }
.is-corp .biz-card__num { font-family: var(--font-en); font-size: clamp(56px, 6vw, 80px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--c-shu); transition: color .5s, -webkit-text-stroke-color .5s; }
.is-corp .biz-card__en { color: var(--c-shu); transition: color .5s; }
.is-corp .biz-card__name { font-size: 22px; transition: color .5s; }
.is-corp .biz-card__text { transition: color .5s; }
.is-corp .biz-card .persona__to { transition: color .5s, border-color .5s; }
@media (hover: hover) {
  .is-corp .biz-card:hover::before { transform: none; }
  .is-corp .biz-card:hover .biz-card__num { color: var(--c-shu-light); -webkit-text-stroke-color: var(--c-shu-light); }
  .is-corp .biz-card:hover .biz-card__en { color: var(--c-shu-light); }
  .is-corp .biz-card:hover :is(.biz-card__name, .persona__to) { color: #fff; }
  .is-corp .biz-card:hover .biz-card__text { color: rgba(255, 255, 255, 0.82); }
  .is-corp .biz-card:hover .persona__to { border-color: rgba(255, 255, 255, 0.25); }
}
.is-corp .group-label span { color: var(--c-shu); }

/* ---------- 選ばれる理由：深い緑の面に、大きな数字 ---------- */
.reasons-sec { background: var(--c-forest-deep); color: #fff; position: relative; overflow: hidden; }
.reasons-sec .section-title { color: #fff; }
.reasons-sec .eyebrow { color: var(--c-shu-light); }
.is-corp .reasons-sec + .section { padding-top: var(--section-y); }
.reasons-sec .reason, .reasons-sec .reason + .reason { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: none; transition: background .4s, translate .5s var(--ease); }
.reasons-sec .reason__num { font-size: clamp(64px, 7vw, 104px); color: transparent; -webkit-text-stroke: 1px var(--c-shu-light); }
.reasons-sec .reason__title { color: #fff; font-size: 21px; }
.reasons-sec .reason__text { color: rgba(255, 255, 255, 0.78); }
@media (hover: hover) { .reasons-sec .reason:hover { background: rgba(255, 255, 255, 0.08); translate: 0 -6px; } }

/* ---------- 運営実績 ---------- */
.is-corp .project__badge { border-radius: 999px; border-color: var(--c-shu); color: var(--c-shu); }
.is-corp .project__rating strong { font-size: 56px; color: var(--c-forest); }
.is-corp .project__rating .project__star { color: var(--c-shu); }

/* ---------- ご相談の流れ：番号を朱に ---------- */
.is-corp .flow__num { color: var(--c-shu); font-size: 48px; }
.is-corp .flow__step { transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .is-corp .flow__step:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); } }

/* ---------- 相談CTA：大きく ---------- */
.is-corp .cta__title { font-size: clamp(30px, 5vw, 64px); font-weight: 400; line-height: 1.4; }
.is-corp .cta--photo::before { background: linear-gradient(120deg, rgba(15, 38, 24, 0.86), rgba(15, 38, 24, 0.5)); }

/* ---------- 採用：ホバーで朱に ---------- */
.is-corp .careers-cta { position: relative; isolation: isolate; overflow: hidden; }
.is-corp .careers-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-shu); clip-path: circle(0% at 92% 50%); transition: clip-path .8s var(--ease); }
.is-corp .careers-cta__title { transition: color .5s, letter-spacing .8s var(--ease); }
@media (hover: hover) {
  .is-corp .careers-cta:hover { background: var(--c-bg); }
  .is-corp .careers-cta:hover::before { clip-path: circle(150% at 92% 50%); }
  .is-corp .careers-cta:hover :is(.careers-cta__title, .careers-cta__text) { color: #fff; }
  .is-corp .careers-cta:hover .careers-cta__title { letter-spacing: 0.16em; }
  .is-corp .careers-cta:hover .pill { color: #fff; border-color: #fff; }
  .is-corp .careers-cta:hover .careers-cta__icon { background: #fff; color: var(--c-shu); border-color: #fff; }
}

/* ---------- 下層ページの見出し：大きく ---------- */
.is-corp .page-hero__en { font-size: clamp(60px, 11vw, 168px); line-height: .95; }
.is-corp .page-hero__title { font-weight: 300; font-size: clamp(32px, 5.2vw, 68px); line-height: 1.4; }
.is-corp .page-hero__label { color: var(--c-shu); }
.is-corp .page-hero__label::before { background: var(--c-shu); height: 2px; }
.is-corp .page-hero--photo .page-hero__label { color: var(--c-shu-light); }
.is-corp .page-hero--photo .page-hero__label::before { background: var(--c-shu-light); }

/* ---------- フッター：深い緑に、大きな社名 ---------- */
.is-corp .footer { background: var(--c-forest-deep); color: rgba(255, 255, 255, 0.92); border-top: 0; overflow: hidden; padding-bottom: 0; }
.is-corp .footer--simple .footer__copy { color: rgba(255, 255, 255, 0.75); }
.is-corp .footer__cta { background: var(--c-shu); border-radius: 999px; transition: background .3s, color .3s; }
.is-corp .footer__cta:hover { opacity: 1; background: #fff; color: var(--c-text); }
.is-corp .footer__intents, .is-corp .footer__bottom { border-color: rgba(255, 255, 255, 0.14); }
.is-corp .footer__aud p { color: var(--c-shu-light); }
.is-corp .footer__aud a { border-color: rgba(255, 255, 255, 0.14); }
.is-corp .footer__aud a:hover, .is-corp .footer__links a:hover, .is-corp .footer__bottom a:hover { color: var(--c-shu-light); }
.is-corp .footer__bottom, .is-corp .footer--simple .footer__address { color: rgba(255, 255, 255, 0.6); }
.footer__mark { margin: 40px 0 0; font-family: var(--font-en); font-size: clamp(64px, 19vw, 300px); line-height: .78; letter-spacing: 0.01em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22); user-select: none; transform: translateY(0.12em); }

/* ---------- 動きを減らす設定のときは、自動で動くものを止める ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__badge svg, .cycle__orbit, .is-corp .cycle__node { animation: none; }
  .cycle__orbit { display: none; }
  .hero--x .hero__bg { transition: opacity .01s; transform: none; }
  .js .hero__title--x .ln > span { transform: none; transition: none; }
  .hero__count { display: none; }
}

/* TOP：ファーストビューの上ではヘッダーを透明にして、写真を画面いっぱいに見せる（スクロールすると白に戻る） */
.logo__on-photo { display: none !important; }
.is-top .header:not(.is-scrolled):not(.is-menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.is-top .header:not(.is-scrolled):not(.is-menu-open) .logo img:not(.logo__on-photo) { display: none; }
.is-top .header:not(.is-scrolled):not(.is-menu-open) .logo__on-photo { display: block !important; }
.is-top .header:not(.is-scrolled):not(.is-menu-open) .menu-btn { color: #fff; }
@media (min-width: 900px) {
  .is-top .header:not(.is-scrolled) .gnav__link { color: #fff; }
}
.header { transition: background .4s, border-color .3s, box-shadow .3s; }

.is-corp .news .section-title { font-size: clamp(28px, 3vw, 40px); white-space: nowrap; }
.is-corp .project__rating strong span[data-count] { font-size: inherit; color: inherit; }
.reasons-sec .reason__num { white-space: nowrap; }
@media (max-width: 899px) { .reasons-sec .reason__num { font-size: 44px; } .is-corp .biz-card__num { font-size: 52px; } }
.is-corp .flow__num { white-space: nowrap; }
@media (max-width: 899px) { .is-corp .flow__num { font-size: 36px; } .is-corp .cta__title { font-size: clamp(24px, 7.2vw, 34px); } }
.is-corp .overview .section-title { font-size: clamp(28px, 3vw, 40px); white-space: nowrap; }
.reasons-sec .section-lead { color: rgba(255, 255, 255, 0.78); }
.reasons-sec .reason { display: flex; flex-direction: column; }
.reasons-sec .reason__text { flex-grow: 1; }
.reason__career { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12.5px; line-height: 1.8; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.9); }
.reason__career span { display: block; margin-bottom: 4px; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-shu-light); }
.reason__career n-w { word-break: keep-all; }

/* ---------- TOP：事業紹介（左に「届ける価値」、右にその価値を届ける事業） ---------- */
.vrow { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.vrow + .vrow { margin-top: 28px; }
.vrow__head { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 260px; padding: 40px 36px; color: #fff; overflow: hidden; }
.vrow__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.vrow.is-visible .vrow__bg { transform: none; }
.vrow__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(15, 38, 24, 0.55) 0%, rgba(15, 38, 24, 0.9) 100%); }
.vrow__en { font-family: var(--font-en); font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-shu-light); }
.vrow__value { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.5; letter-spacing: 0.06em; }
.vrow__name { font-size: 13px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.78); }
.vrow__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vrow--3 .vrow__list .vsvc:first-child { grid-column: 1 / -1; }
.vsvc { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 48px; grid-template-rows: auto auto 1fr; column-gap: 20px; align-content: start; padding: 32px 36px; overflow: hidden; border-left: 1px solid var(--c-line); border-top: 1px solid var(--c-line); margin: -1px 0 0 -1px; }
.vsvc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-forest); transform: translateX(-101%); transition: transform .6s var(--ease); }
.vsvc__num { position: absolute; right: 28px; top: 18px; font-family: var(--font-en); font-size: 52px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(217, 80, 43, 0.35); transition: -webkit-text-stroke-color .5s; }
.vsvc__catch { grid-column: 1; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: var(--c-shu); transition: color .5s; }
.vsvc__name { grid-column: 1; margin-top: 8px; font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.5; letter-spacing: 0.04em; transition: color .5s; }
.vsvc__text { grid-column: 1; margin-top: 10px; font-size: 14px; line-height: 1.95; color: var(--c-sub); transition: color .5s; }
.vsvc__go { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-shu); position: relative; transition: background .5s, border-color .5s, transform .5s var(--ease); }
.vsvc__go::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 1.5px; background: var(--c-shu); transition: background .5s; }
.vsvc__go::after { content: ""; position: absolute; left: 24px; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 1.5px solid var(--c-shu); border-right: 1.5px solid var(--c-shu); transform: rotate(45deg); transition: border-color .5s; }
/* ホバー（PC）・画面の中央に来たカード（スマホ）で、緑が満ちる */
.vsvc:is(:hover, .is-current)::before { transform: none; }
.vsvc:is(:hover, .is-current) :is(.vsvc__name) { color: #fff; }
.vsvc:is(:hover, .is-current) .vsvc__text { color: rgba(255, 255, 255, 0.82); }
.vsvc:is(:hover, .is-current) .vsvc__catch { color: var(--c-shu-light); }
.vsvc:is(:hover, .is-current) .vsvc__num { -webkit-text-stroke-color: rgba(255, 138, 92, 0.6); }
.vsvc:is(:hover, .is-current) .vsvc__go { background: var(--c-shu); border-color: var(--c-shu); transform: translateX(4px); }
.vsvc:is(:hover, .is-current) .vsvc__go::before { background: #fff; }
.vsvc:is(:hover, .is-current) .vsvc__go::after { border-color: #fff; }
@media (hover: hover) { .vsvc.is-current:not(:hover)::before { transform: translateX(-101%); } .vsvc.is-current:not(:hover) .vsvc__name { color: inherit; } .vsvc.is-current:not(:hover) .vsvc__text { color: var(--c-sub); } .vsvc.is-current:not(:hover) .vsvc__catch { color: var(--c-shu); } .vsvc.is-current:not(:hover) .vsvc__go { background: none; border-color: var(--c-shu); transform: none; } .vsvc.is-current:not(:hover) .vsvc__go::before { background: var(--c-shu); } .vsvc.is-current:not(:hover) .vsvc__go::after { border-color: var(--c-shu); } }
@media (max-width: 899px) {
  .vrow { grid-template-columns: 1fr; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .vrow + .vrow { margin-top: 40px; }
  .vrow__head { min-height: 200px; padding: 28px 24px; border-radius: 14px; }
  .vrow__value { font-size: 26px; }
  /* 事業は横スワイプのカルーセル（次のカードを少し見せる） */
  .vrow__list { display: flex; gap: 12px; margin: 14px calc(var(--gutter) * -1) 0; padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .vrow__list::-webkit-scrollbar { display: none; }
  .vsvc { flex: 0 0 84%; scroll-snap-align: start; margin: 0; padding: 26px 22px; border: 1px solid var(--c-card-line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); grid-template-columns: minmax(0, 1fr) 40px; column-gap: 12px; }
  .vsvc__go { width: 40px; height: 40px; }
  .vsvc__go::before { left: 11px; width: 16px; }
  .vsvc__go::after { left: 19px; }
  .vsvc__name { font-size: 20px; }
  .vsvc__num { font-size: 40px; right: 18px; top: 14px; }
}
/* 選ばれる理由：前のセクションに続いても上の余白を詰めない */
.is-corp .reasons-sec { padding-top: var(--section-y) !important; }

/* ==========================================================================
   サービスページ・下層ページにも、TOPと同じ遊び心を
   ========================================================================== */
/* 見出しの英字を、背景の大きな透かし文字に（JS が data-en を付ける） */
.is-corp .section-head[data-en] { position: relative; }
.is-corp .section-head[data-en]::after {
  content: attr(data-en); position: absolute; right: 0; top: -0.62em; z-index: -1; pointer-events: none;
  font-family: var(--font-en); font-size: clamp(56px, 10vw, 150px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(26, 71, 42, 0.1);
}
.is-corp .section-head--center[data-en]::after { right: 50%; transform: translateX(50%); }
.is-corp .reasons-sec .section-head[data-en]::after { -webkit-text-stroke-color: rgba(255, 255, 255, 0.1); }
.is-corp .section { position: relative; isolation: isolate; overflow-x: clip; }
@media (max-width: 899px) { .is-corp .section-head[data-en]::after { display: none; } }

/* 写真の見出し：ゆっくり寄る写真、1行ずつせり上がる見出し、大きな英字 */
.is-corp .page-hero--photo .page-hero__bg { animation: kenburns 14s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.page-hero__mark { position: absolute; left: -0.04em; bottom: -0.2em; z-index: -1; pointer-events: none; font-family: var(--font-en); font-size: clamp(64px, 12vw, 190px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28); }
.ttl-x .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.ttl-x .ln > span { display: inline-block; }
.js .ttl-x.reveal { opacity: 1; transform: none; }
.js .ttl-x .ln > span { transform: translateY(110%); transition: transform 1.2s var(--ease) .1s; }
.js .ttl-x.is-visible .ln > span { transform: none; }
.js .ttl-x.is-visible .ln:nth-child(2) > span { transition-delay: .24s; }
.js .ttl-x.is-visible .ln:nth-child(3) > span { transition-delay: .38s; }

/* サービス概要：朱の太い線 */
.is-corp .overview__text { border-left: 3px solid var(--c-shu); }

/* お悩みカード（2026-10-17 作り直し）：お客様と RIVIA の「会話」として見せる。
   上＝大きな番号＋見出し、お客様の吹き出し、RIVIA の返事、その下に変わること。高さは中身なり */
.is-corp .issue { position: relative; display: block; padding: 44px 48px 40px; overflow: hidden; transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .is-corp .issue:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); } }
.is-corp .issue__problem { display: block; }
.is-corp .issue__head { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 6px; }
.is-corp .issue__mark { font-family: var(--font-en); font-size: 84px; font-weight: 300; line-height: .78; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1px var(--c-shu); }
.is-corp .issue__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
.is-corp .issue__num { font-size: 13px; color: var(--c-shu); letter-spacing: 0.24em; }
.is-corp .issue__label { padding-left: 0; border-left: 0; }
.is-corp .issue__n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-corp .issue__title { margin-top: 18px; font-size: 24px; line-height: 1.55; }

/* 会話 */
.is-corp .issue__scene, .is-corp .issue__answer { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; max-width: 820px; padding: 0; background: none; border-radius: 0; }
.is-corp .issue__scene { margin-top: 26px; }
.is-corp .issue__scene .issue__sublabel, .is-corp .issue__answer > .issue__sublabel { grid-column: 2; grid-row: 1; margin-bottom: 6px; }
.is-corp .issue__avatar { grid-column: 1; grid-row: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; align-self: start; }
.is-corp .issue__avatar--guest { background: var(--c-kinari); border: 1px solid rgba(26, 71, 42, 0.14); }
.is-corp .issue__avatar--guest svg { width: 24px; height: 24px; fill: none; stroke: var(--c-forest); stroke-width: 1.4; stroke-linecap: round; }
.is-corp .issue__voice { grid-column: 2; grid-row: 2; justify-self: start; margin: 0; padding: 16px 22px; border: 0; border-radius: 4px 20px 20px 20px; background: var(--c-kinari); font-size: 14.5px; line-height: 1.9; color: var(--c-text); }
.is-corp .issue__avatar--rivia { background: var(--c-forest); color: #fff; font-family: var(--font-en); font-size: 22px; line-height: 1; }
.is-corp .issue__reply { grid-column: 2; grid-row: 2; justify-self: start; padding: 18px 24px 16px; border-radius: 4px 20px 20px 20px; background: rgba(26, 71, 42, 0.07); }
.is-corp .issue__sublabel--accent { font-size: 13px; color: var(--c-forest); font-weight: 600; letter-spacing: 0.18em; }
.is-corp .issue__step-num { background: var(--c-shu); }
.is-corp .issue__kpi { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 12px; margin: 14px 0 0; padding: 0; border: 0; }
.is-corp .issue__kpi .issue__sublabel { margin: 0; }
.is-corp .issue__kpi li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-color: rgba(26, 71, 42, 0.28); color: var(--c-forest); }
.is-corp .issue__kpi li::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border: solid var(--c-shu); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.is-corp .issue strong.hl { background: linear-gradient(transparent 60%, rgba(217, 80, 43, 0.24) 60%) no-repeat 0 0 / 100% 100%; }

/* PC：左＝番号と見出し（細い線で区切る）、右＝会話。吹き出しは右の列の幅いっぱいに */
@media (min-width: 900px) {
  .is-corp .issue { display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 48px; }
  .is-corp .issue__problem { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; padding-right: 40px; border-right: 1px solid var(--c-line); }
  .is-corp .issue__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .is-corp .issue__mark { font-size: 104px; }
  .is-corp .issue__meta { flex-direction: row; align-items: center; gap: 10px; }
  .is-corp .issue__title { margin-top: 20px; font-size: 22px; line-height: 1.7; }
  .is-corp .issue__scene, .is-corp .issue__answer { grid-column: 2; }
  .is-corp .issue__scene { grid-row: 1; margin-top: 0; max-width: none; }
  .is-corp .issue__answer { grid-row: 2; max-width: none; }
  .is-corp .issue__voice, .is-corp .issue__reply { justify-self: stretch; }
}

/* 動き：お客様の吹き出し→RIVIA の返事→変わること。すぐポンと出る */
@media (prefers-reduced-motion: no-preference) {
  .js .is-corp .issue__voice, .js .is-corp .issue__avatar--guest { opacity: 0; transform: translateY(12px) scale(.92); transform-origin: left top; }
  .js .is-corp .issue__reply, .js .is-corp .issue__avatar--rivia, .js .is-corp .issue__answer > .issue__sublabel { opacity: 0; transform: translateY(12px) scale(.92); transform-origin: left top; }
  .js .is-corp .issue__kpi li { opacity: 0; transform: translateY(8px); }
  .js .is-corp .issue.is-in .issue__avatar--guest, .js .is-corp .issue.is-in .issue__voice { animation: chat-pop .5s var(--ease) .05s both; }
  .js .is-corp .issue.is-in .issue__avatar--rivia, .js .is-corp .issue.is-in .issue__reply, .js .is-corp .issue.is-in .issue__answer > .issue__sublabel { animation: chat-pop .5s var(--ease) .3s both; }
  .js .is-corp .issue.is-in .issue__kpi li { animation: chat-rise .4s var(--ease) .6s both; }
  .js .is-corp .issue.is-in .issue__kpi li:nth-child(2) { animation-delay: .68s; }
  .js .is-corp .issue.is-in .issue__kpi li:nth-child(3) { animation-delay: .76s; }
  .js .is-corp .issue.is-in .issue__kpi li:nth-child(n+4) { animation-delay: .84s; }
  .js .is-corp .issue strong.hl { background-size: 0 100%; transition: background-size .8s var(--ease) .7s; }
  .js .is-corp .issue.is-in strong.hl { background-size: 100% 100%; }
}
@keyframes chat-pop { 0% { opacity: 0; transform: translateY(12px) scale(.92); } 70% { opacity: 1; transform: translateY(-2px) scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes chat-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* スマホ（カルーセル）：段は subgrid でカード間をそろえる。アイコンは小さく */
@media (max-width: 899px) {
  .is-corp .issue { display: grid; padding: 24px 18px 22px; }
  .is-corp .issue__problem { display: contents; }
  .is-corp .issue__mark { font-size: 58px; }
  .is-corp .issue__title { margin-top: 12px; font-size: 18px; }
  .is-corp .issue__scene, .is-corp .issue__answer { grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; align-self: start; margin: 0; }
  .is-corp .issue__scene { margin-top: 16px; }
  .is-corp .issue__avatar { grid-row: 1; width: 26px; height: 26px; align-self: center; }
  .is-corp .issue__scene .issue__sublabel, .is-corp .issue__answer > .issue__sublabel { align-self: center; margin: 0; }
  .is-corp .issue__avatar--guest svg { width: 15px; height: 15px; }
  .is-corp .issue__avatar--rivia { font-size: 14px; }
  .is-corp .issue__voice, .is-corp .issue__reply { grid-column: 1 / -1; justify-self: stretch; margin-top: 8px; }
  .is-corp .issue__voice { padding: 12px 16px; font-size: 13.5px; line-height: 1.85; }
  .is-corp .issue__reply { padding: 14px 16px 12px; }
  .is-corp .issue__kpi { grid-column: 1 / -1; justify-content: flex-start; margin-top: 12px; }
  .is-corp .issue__kpi ul { flex: 1 1 100%; gap: 6px; }
}

/* 余白をそろえる：ラベル→吹き出し 8px、声→打ち手 28px（スマホ 20px）、打ち手→変わること 14px。
 */
.is-corp .issue__scene .issue__sublabel, .is-corp .issue__answer > .issue__sublabel { margin-bottom: 8px; }
.is-corp .issue__answer { margin-top: 28px; }
@media (min-width: 900px) {
}
@media (max-width: 899px) {
  .is-corp .issue__answer { margin-top: 20px; }
}

/* ご支援の流れ：線が朱で引かれ、点が順に灯る */
.is-corp .timeline__step::before { background: var(--c-line-strong); }
.is-corp .timeline__step > .timeline__num { color: var(--c-shu); font-weight: 500; }
.is-corp .timeline { position: relative; }
.is-corp .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; margin-top: -0.5px; z-index: 1; background: var(--c-shu); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.is-corp .timeline.is-in::before { transform: none; }
.is-corp .timeline__step::after { z-index: 2; transition: background .4s, border-color .4s, transform .4s var(--ease); }
.is-corp .timeline.is-in .timeline__step::after { background: var(--c-shu); border-color: var(--c-shu); transform: scale(1.25); }
.is-corp .timeline.is-in .timeline__step:nth-child(1)::after { transition-delay: .1s; }
.is-corp .timeline.is-in .timeline__step:nth-child(2)::after { transition-delay: .5s; }
.is-corp .timeline.is-in .timeline__step:nth-child(3)::after { transition-delay: .9s; }
.is-corp .timeline.is-in .timeline__step:nth-child(4)::after { transition-delay: 1.3s; }
.is-corp .timeline__term { border-radius: 999px; border-color: var(--c-forest); color: var(--c-forest); }
@media (max-width: 899px) { .is-corp .timeline::before { display: none; } }

/* ご相談の流れ（TOP・お問い合わせ）：画面に入ると番号が順にはねる */
.is-corp .flow.is-in .flow__num { animation: pop .7s var(--ease) both; }
.is-corp .flow.is-in .flow__step:nth-child(2) .flow__num { animation-delay: .15s; }
.is-corp .flow.is-in .flow__step:nth-child(3) .flow__num { animation-delay: .3s; }
.is-corp .flow.is-in .flow__step:nth-child(4) .flow__num { animation-delay: .45s; }
@keyframes pop { 0% { transform: translateY(14px) scale(.7); opacity: 0; } 60% { transform: translateY(-4px) scale(1.08); opacity: 1; } 100% { transform: none; } }

/* よくあるご質問：Q を朱に */
.is-corp .faq__mark { color: var(--c-shu); font-weight: 400; }

/* そのほかのサービス：ホバーで緑が満ちる */
.is-corp .related__card { position: relative; isolation: isolate; overflow: hidden; }
.is-corp .related__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-forest); transform: translateY(101%); transition: transform .6s var(--ease); }
.is-corp .related__card, .is-corp .related__card * { transition: color .5s; }
@media (hover: hover) {
  .is-corp .related__card:hover { background: var(--c-bg); }
  .is-corp .related__card:hover::before { transform: none; }
  .is-corp .related__card:hover, .is-corp .related__card:hover * { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .is-corp .page-hero--photo .page-hero__bg { animation: none; }
  .js .ttl-x .ln > span { transform: none; transition: none; }
  .is-corp .flow.is-in .flow__num { animation: none; }
}
/* 事業紹介の左の面：文字を上下中央に置き、上に空きを作らない */
.vrow__head { justify-content: center; min-height: 0; }
@media (max-width: 899px) { .vrow__head { min-height: 0; padding: 32px 24px; } }
/* 事業カード：番号は右上、矢印は右下に分けて重ならないように */
.vsvc__go { align-self: end; }
.vsvc { padding-bottom: 28px; }
.vsvc__num { font-size: 44px; top: 16px; right: 24px; }
@media (max-width: 899px) { .vsvc__num { font-size: 36px; top: 12px; right: 16px; } }
@media (min-width: 900px) and (max-width: 1199px) {
  .vrow { grid-template-columns: 1fr; }
  .vrow__head { padding: 32px 36px; }
}

/* ==========================================================================
   私たちについて：遊び心（2026-10-15）
   ========================================================================== */
/* 大きな英字（MISSION など）：塗りから輪郭線に。画面に入ると字間が広がる */
.is-corp .about-big { color: transparent; -webkit-text-stroke: 1px rgba(26, 71, 42, 0.35); letter-spacing: 0.02em; transition: letter-spacing 1.6s var(--ease), opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-corp .about-big.is-visible { letter-spacing: 0.12em; }
.is-corp .about-copy { font-weight: 400; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.5; letter-spacing: 0.06em; }
.is-corp .about-copy em { font-style: normal; color: var(--c-shu); }
.is-corp .about-copy::after { width: 0; height: 3px; background: var(--c-shu); transition: width 1s var(--ease) .4s; }
.is-corp .about-copy.is-visible::after { width: 56px; }
/* ミッションの文：1行ずつ浮かび上がる */
.js .is-corp .about-para .about-line { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .12s + .1s); }
.js .is-corp .about-para.is-visible .about-line { opacity: 1; transform: none; }
.is-corp .about-para .about-line:last-child { color: var(--c-text); }

/* ビジョン：深い緑の面。4つのステップは線でつながり、番号は朱の輪郭 */
.about-sec--dark { background: var(--c-forest-deep); color: #fff; }
.about-sec--dark .about-big { -webkit-text-stroke-color: rgba(255, 255, 255, 0.28); }
.about-sec--dark .about-copy em { color: var(--c-shu-light); }
.about-sec--dark .about-copy::after { background: var(--c-shu-light); }
.about-sec--dark .about-note { color: rgba(255, 255, 255, 0.7); }
.about-sec--dark .about-pillars { position: relative; border-top-color: rgba(255, 255, 255, 0.18); }
.about-sec--dark .about-pillars::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--c-shu-light); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.about-sec--dark .about-pillars.is-visible::before { transform: none; }
.js .about-sec--dark .about-pillars.reveal { opacity: 1; transform: none; }
.about-sec--dark .about-pillars li + li { border-left-color: rgba(255, 255, 255, 0.12); }
.about-sec--dark .about-pillars li { transition: background .4s, opacity 1.2s var(--ease), transform 1.2s var(--ease); }
@media (hover: hover) { .about-sec--dark .about-pillars li:hover { background: rgba(255, 255, 255, 0.05); } }
.about-sec--dark .about-pillar__num { font-size: clamp(52px, 5vw, 72px); color: transparent; -webkit-text-stroke: 1px var(--c-shu-light); }
.about-sec--dark .about-pillar__en { color: var(--c-shu-light); }
.about-sec--dark .about-pillars h3 { color: #fff; }
.about-sec--dark .about-pillars p { color: rgba(255, 255, 255, 0.75); }
.about-sec--dark .about-outcomes li { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; color: #fff; box-shadow: none; }
.about-sec--dark .about-outcomes span { color: var(--c-shu-light); }
@media (max-width: 1099px) { .about-sec--dark .about-pillars li:nth-child(n+3) { border-top-color: rgba(255, 255, 255, 0.12); } }
@media (max-width: 899px) { .about-sec--dark .about-pillars li, .about-sec--dark .about-pillars li + li { border-top-color: rgba(255, 255, 255, 0.12); } }

/* バリュー：カードにして、ホバーで緑が満ちる。番号は朱の輪郭 */
.is-corp .about-values { gap: 20px; }
.is-corp .about-values li { position: relative; isolation: isolate; overflow: hidden; padding: 36px 32px; border: 1px solid var(--c-card-line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: translate .5s var(--ease), box-shadow .5s var(--ease), opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-corp .about-values li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-forest); transform: translateY(101%); transition: transform .6s var(--ease); }
.is-corp .about-value__num { color: transparent; -webkit-text-stroke: 1px var(--c-shu); font-size: 60px; transition: -webkit-text-stroke-color .5s; }
.is-corp .about-values h3, .is-corp .about-values p { transition: color .5s; }
@media (hover: hover) {
  .is-corp .about-values li:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
  .is-corp .about-values li:hover::before { transform: none; }
  .is-corp .about-values li:hover h3 { color: #fff; }
  .is-corp .about-values li:hover p { color: rgba(255, 255, 255, 0.8); }
  .is-corp .about-values li:hover .about-value__num { -webkit-text-stroke-color: var(--c-shu-light); }
}
@media (max-width: 899px) { .is-corp .about-values { gap: 12px; } .is-corp .about-values li { padding: 24px 20px; } .is-corp .about-value__num { font-size: 44px; } }

/* 創業者：写真のまわりを朱の点線がゆっくり回る、経歴の点は朱に */
.is-corp .founder__photo { position: relative; overflow: visible; border: 0; }
.is-corp .founder__photo img { border-radius: 50%; }
.is-corp .founder__photo::after { content: ""; position: absolute; inset: -8px; border: 1.5px dashed var(--c-shu); border-radius: 50%; animation: spin 24s linear infinite; pointer-events: none; }
.is-corp .founder__role { color: var(--c-shu); font-weight: 500; }
.is-corp .founder__career li::before { border-color: var(--c-shu); }
.is-corp .founder__career li:last-child::before { background: var(--c-shu); }
.is-corp .founder__tags li { border-radius: 999px; border-color: var(--c-forest); color: var(--c-forest); transition: background .3s, color .3s; }
@media (hover: hover) { .is-corp .founder__tags li:hover { background: var(--c-forest); color: #fff; } }
.is-corp .founder { transition: translate .5s var(--ease), box-shadow .5s var(--ease), opacity 1.2s var(--ease), transform 1.2s var(--ease); }
@media (hover: hover) { .is-corp .founder:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); } }

/* 会社概要：項目名を朱に、行にホバーで色 */
.is-corp .profile__row { transition: background .3s; }
.is-corp .profile__row dt { color: var(--c-shu); font-weight: 500; }
@media (hover: hover) { .is-corp .profile__row:hover { background: var(--c-kinari); } }

@media (prefers-reduced-motion: reduce) {
  .is-corp .founder__photo::after { animation: none; }
  .js .is-corp .about-para .about-line { opacity: 1; transform: none; transition: none; }
}
.is-corp .founder__photo { padding: 4px; background: transparent; box-shadow: none; } .is-corp .founder__photo::after { inset: -4px; }

/* 私たちについて：見出しは写真をやめ、東京・静岡から全国へ線が伸びる日本地図に */
.page-hero--map { position: relative; overflow: hidden; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: center; padding: 72px 0; border-bottom: 0; color: #fff;
  background: radial-gradient(120% 90% at 78% 40%, #1f5a35 0%, var(--c-forest-deep) 62%); }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 40px; }
.page-hero--map .page-hero__en { color: #fff; font-size: clamp(60px, 9.5vw, 148px); }
.page-hero--map .page-hero__ja { margin-top: 18px; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.3em; }
.about-hero__lead { margin-top: 36px; font-family: var(--font-serif); font-size: clamp(18px, 1.9vw, 24px); line-height: 1.9; letter-spacing: 0.08em; }
.about-hero__lead::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 20px; background: var(--c-shu-light); }
.jmap { position: relative; width: 100%; aspect-ratio: 908 / 948; }
.jmap__dots, .jmap__over { position: absolute; inset: 0; width: 100%; height: 100%; }
.jmap__over { overflow: visible; }
.jmap__arc { fill: none; stroke: var(--c-shu-light); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; }
.jmap.is-visible .jmap__arc { animation: arc-draw 1.6s var(--ease) both, arc-glow 6s ease-in-out infinite; animation-delay: calc(.6s + var(--i) * .18s), calc(2.4s + var(--i) * .4s); }
.jmap__dot { fill: var(--c-shu-light); opacity: 0; transform-box: fill-box; transform-origin: center; }
.jmap.is-visible .jmap__dot { animation: dot-pop .6s var(--ease) both; animation-delay: calc(1.6s + var(--i) * .18s); }
.jmap__base circle { fill: var(--c-shu); stroke: #fff; stroke-width: 3; }
.jmap__base .jmap__pulse { fill: var(--c-shu-light); stroke: none; opacity: .5; transform-box: fill-box; transform-origin: center; animation: base-pulse 2.4s ease-out infinite; }
.jmap__base text { font-family: var(--font-en); font-size: 30px; letter-spacing: 0.16em; fill: #fff; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes arc-glow { 0%, 100% { opacity: .85; } 50% { opacity: .45; } }
@keyframes dot-pop { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.6); } 100% { opacity: 1; transform: none; } }
@keyframes base-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 899px) {
  .page-hero--map { min-height: 0; padding: 56px 0 40px; }
  .about-hero { grid-template-columns: 1fr; gap: 8px; }
  .jmap { width: min(100%, 420px); margin: 0 auto; }
  .about-hero__lead { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .jmap__arc { stroke-dashoffset: 0; }
  .jmap__dot { opacity: 1; }
  .jmap.is-visible .jmap__arc, .jmap.is-visible .jmap__dot, .jmap__base .jmap__pulse { animation: none; }
}
/* スマホ：ファーストビューの文字とボタンを画面の中ほどに置き、下に寄りすぎないように。回るバッジは右上の空に */
@media (max-width: 899px) {
  .hero--x { align-items: center; padding: calc(var(--header-h) + 24px) 0 88px; }
  .hero__badge { top: calc(var(--header-h) + 20px); bottom: auto; right: 16px; width: 88px; height: 88px; }
  .hero__count { bottom: 28px; }
}
/* 見出しの背景の大きな英字は、長い言葉で切れて読めなくなるため出さない */
.is-corp .section-head[data-en]::after { content: none; display: none; }
/* サービスページの写真の上の英字：画面幅に収まる大きさに、スマホでは出さない */
.page-hero__mark { font-size: clamp(56px, 8.4vw, 150px); }
@media (max-width: 899px) { .page-hero__mark { display: none; } }

/* ==========================================================================
   お問い合わせ：ご相談カテゴリをカードで選ぶ（個人／法人のタブ → 「〜したい」のカード）
   ========================================================================== */
.catpick { margin-bottom: 8px; }
.catpick__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--c-kinari); }
.catpick__tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; border-radius: 999px; font-size: 14px; letter-spacing: 0.06em; color: var(--c-sub); transition: background .4s var(--ease), color .4s, box-shadow .4s; }
.catpick__tab-en { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-shu); transition: color .4s; }
.catpick__tab[aria-selected="true"] { background: var(--c-forest); color: #fff; box-shadow: 0 6px 16px rgba(15, 38, 24, 0.25); }
.catpick__tab[aria-selected="true"] .catpick__tab-en { color: var(--c-shu-light); }
.catpick__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.js .catpick__panel:not([hidden]) { animation: catpick-in .5s var(--ease); }
@keyframes catpick-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form__field .catpick__card, .catpick__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 14px; margin: 0; padding: 18px 18px; border: 1.5px solid var(--c-line-strong); border-radius: 14px; background: #fff; cursor: pointer; letter-spacing: 0.04em; transition: border-color .3s, background .3s, box-shadow .3s, translate .3s var(--ease); }
.catpick__card input, .catpick__chip input { position: absolute; opacity: 0; pointer-events: none; }
.catpick__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.catpick__intent { font-family: var(--font-serif); font-size: 16px; line-height: 1.5; color: var(--c-text); }
.catpick__svc { font-size: 12px; color: var(--c-muted); }
.catpick__check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--c-line-strong); position: relative; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.catpick__check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
@media (hover: hover) { .catpick__card:hover { border-color: var(--c-forest); translate: 0 -2px; box-shadow: var(--shadow-sm); } }
.catpick__card:has(input:checked) { border-color: var(--c-forest); background: #f3f7f2; box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.12); }
.catpick__card:has(input:checked) .catpick__check { background: var(--c-shu); border-color: var(--c-shu); transform: scale(1.1); }
.catpick__card:has(input:checked) .catpick__check::after { transform: rotate(45deg) scale(1); }
.catpick__card:has(input:focus-visible), .catpick__chip:has(input:focus-visible) span { outline: 2px solid var(--c-shu); outline-offset: 2px; }
.catpick__more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.form__field .catpick__chip, .catpick__chip { position: relative; margin: 0; display: inline-flex; cursor: pointer; }
.catpick__chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px dashed var(--c-line-strong); border-radius: 999px; font-size: 13px; color: var(--c-sub); background: #fff; transition: border-color .3s, background .3s, color .3s; }
@media (hover: hover) { .catpick__chip:hover span { border-color: var(--c-forest); color: var(--c-forest); } }
.catpick__chip:has(input:checked) span { border-style: solid; border-color: var(--c-shu); background: var(--c-shu); color: #fff; }
@media (max-width: 899px) {
  .catpick__panel { grid-template-columns: 1fr; gap: 10px; }
  .catpick__tab { font-size: 13px; padding: 10px 6px; }
  .form__field .catpick__card, .catpick__card { gap: 12px; padding: 16px 18px; }
  .catpick__intent { font-size: 15px; }
}

/* ---------- お問い合わせ：フォーム全体 ---------- */
.page-hero--contact { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-bottom: 0;
  background: radial-gradient(110% 120% at 85% 10%, #1f5a35 0%, var(--c-forest-deep) 60%); }
.page-hero--contact::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 140px rgba(255, 255, 255, 0.02); z-index: -1; }
.page-hero--contact .page-hero__en { color: #fff; }
.page-hero--contact .page-hero__ja { color: rgba(255, 255, 255, 0.8); letter-spacing: 0.3em; }
.page-hero--contact .page-hero__lead { color: rgba(255, 255, 255, 0.9); font-family: var(--font-serif); font-size: clamp(16px, 1.6vw, 20px); }
.page-hero--contact .page-hero__area span { background: rgba(255, 255, 255, 0.12); color: #fff; }
.page-hero--contact .page-hero__area { color: rgba(255, 255, 255, 0.85); }
.page-hero--contact .assure li { border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #fff; }
.page-hero--contact .assure li::before { border-color: var(--c-shu-light); }
.page-hero--contact + .section { background: var(--c-kinari); padding-top: 72px; }

.form--steps { gap: 28px; padding: 56px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px rgba(15, 38, 24, 0.08), 0 2px 6px rgba(15, 38, 24, 0.04); }
.form__step { display: grid; gap: 22px; padding-bottom: 32px; border-bottom: 1px solid var(--c-line); }
.form__step-head { display: flex; align-items: center; gap: 14px; font-family: var(--font-serif); font-size: 20px; letter-spacing: 0.08em; }
.form__step-head span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-forest); color: #fff; font-family: var(--font-en); font-size: 17px; letter-spacing: 0.04em; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form--steps .form__field label, .form--steps .form__legend { font-size: 13px; color: var(--c-sub); margin-bottom: 8px; }
.form--steps .req, .form--steps .opt { border-radius: 999px; padding: 1px 9px; font-size: 10.5px; }
.form--steps .req { background: var(--c-shu); border-color: var(--c-shu); color: #fff; }
.form--steps input[type="text"], .form--steps input[type="email"], .form--steps input[type="tel"], .form--steps textarea {
  border: 1.5px solid transparent; border-radius: 12px; background: #f6f4ee; padding: 16px 18px; transition: border-color .3s, background .3s, box-shadow .3s; }
.form--steps input:hover, .form--steps textarea:hover { background: #f1eee5; }
.form--steps input:focus, .form--steps textarea:focus { background: #fff; border-color: var(--c-forest); box-shadow: 0 0 0 4px rgba(26, 71, 42, 0.1); }
.form--steps input:user-invalid, .form--steps textarea:user-invalid { border-color: var(--c-shu); }
.form--steps .file { border-radius: 14px; border: 1.5px dashed var(--c-line-strong); background: #fbfaf6; }
.form--steps .file:hover, .form--steps .file:focus-within { border-color: var(--c-forest); background: #f3f7f2; }
.form--steps .file svg { stroke: var(--c-forest); }
.form--steps .form__consent { padding: 8px 0 0; }
.form--steps .check input { accent-color: var(--c-forest); }
.form--steps .form__submit .btn { min-width: 360px; padding: 22px 48px; font-size: 16px; background: var(--c-shu); border-color: var(--c-shu); box-shadow: 0 14px 30px rgba(217, 80, 43, 0.3); }
.form--steps .form__submit .btn::before { background: var(--c-forest); }
.form--steps .form__submit .btn:hover { border-color: var(--c-forest); }
@media (max-width: 899px) {
  .page-hero--contact + .section { padding-top: 32px; }
  .form--steps { padding: 28px 18px; border-radius: 18px; margin: 0 -6px; gap: 22px; }
  .form__grid { grid-template-columns: 1fr; gap: 18px; }
  .form__step { gap: 18px; padding-bottom: 24px; }
  .form__step-head { font-size: 17px; }
  .form__step-head span { width: 36px; height: 36px; font-size: 15px; }
  .form--steps .form__submit .btn { min-width: 0; width: 100%; }
}
/* ご相談カテゴリ：先頭の「物件について相談したい」は横いっぱい、下の「ほかのご用件」は小さめのカード */
.catpick__card--wide { grid-column: 1 / -1; }
.catpick__card--wide .catpick__intent { font-size: 17px; }
.catpick__more-label { margin-top: 18px; font-size: 12px; letter-spacing: 0.1em; color: var(--c-muted); }
.catpick__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.form__field .catpick__card--sub, .catpick__card--sub { padding: 14px 18px; border-style: dashed; }
.catpick__card--sub .catpick__intent { font-size: 15px; }
.catpick__card--sub:has(input:checked) { border-style: solid; }
@media (max-width: 899px) { .catpick__more { grid-template-columns: 1fr; gap: 10px; } }
/* スマホの違和感の調整（2026-10-16） */
@media (max-width: 899px) {
  .is-corp .cta__title { font-size: clamp(22px, 6.4vw, 30px); }
  .page-hero--photo:has(.svc-hero) { min-height: min(72svh, 620px); padding: 48px 0; }
  .is-corp .about-sec { padding-top: 104px; }
}
.form--steps .form__field:not(.catpick) > label .req, .form--steps .form__legend .req { border: 0; }
@media (max-width: 899px) {
  .is-corp .page-hero--photo .page-hero__title { font-size: clamp(22px, 6.6vw, 32px); }
  .is-corp .page-hero__target span { border-radius: 999px; }
}
/* TOPのファーストビュー：相談ボタンは置かず、事業紹介への白いボタンと「私たちについて」の文字リンク */
.hero__actions { align-items: center; }

/* 私たちについて：セクションの上下の余白を必ず取り、大きな英字と見出しを重ねない・行間を広く */
.is-corp .about-sec, .is-corp .about-sec + .section { padding-top: var(--section-y) !important; }
.is-corp .about-big { margin-bottom: 0.08em; }
.is-corp .about-copy { margin-top: 12px; line-height: 1.75; }
.is-corp .about-note { line-height: 2; }
@media (max-width: 899px) {
  .is-corp .about-sec { padding-bottom: 96px; }
  .is-corp .about-big { font-size: clamp(52px, 15vw, 72px); }
  .is-corp .about-copy { margin-top: 8px; font-size: clamp(24px, 6.6vw, 30px); line-height: 1.8; }
}

/* TOPのファーストビュー：2つのボタンを同じ大きさで横に並べる（スマホも） */
.hero--x .hero__actions { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px; }
@media (max-width: 899px) {
  .hero--x .hero__actions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero--x .hero__actions .btn { width: 100%; padding: 15px 8px; font-size: 13px; letter-spacing: 0.06em; gap: 8px; }
  .hero--x .hero__actions .btn .arrow { width: 18px; }
}


/* サービスページの見出し：白地に緑の大きな見出し＋写真3枚のコラージュ（PCは右、スマホは見出しの上） */
.page-hero--collage { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(88vh, 760px); padding: 64px 0 80px; background: #fff; color: var(--c-text); border-bottom: 0; }
.page-hero--collage .svc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 64px; }
.page-hero--collage .svc-hero__text { grid-column: 1; grid-row: 1; }
.page-hero--collage .collage { grid-column: 2; grid-row: 1; }
.page-hero--collage .page-hero__label { color: var(--c-shu); }
.page-hero--collage .page-hero__title { color: var(--c-forest); font-weight: 400; font-size: clamp(34px, 3.9vw, 58px); line-height: 1.45; text-shadow: none; }
.page-hero--collage .page-hero__target { color: var(--c-text); text-shadow: none; }
.page-hero--collage .page-hero__target span { color: var(--c-forest); border-color: var(--c-forest); }
.page-hero--collage .btn--ghost { color: var(--c-forest); border-color: var(--c-forest); }
.page-hero--collage .btn--ghost:hover { color: #fff; }
.collage { position: relative; aspect-ratio: 1 / 0.92; }
.collage__img { position: absolute; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 48px rgba(15, 38, 24, 0.16); }
.collage__img--0 { left: 0; top: 8%; width: 68%; height: 60%; z-index: 1; }
.collage__img--1 { right: 0; top: 0; width: 36%; height: 50%; z-index: 2; }
.collage__img--2 { right: 8%; bottom: 0; width: 50%; height: 42%; z-index: 3; }
.js .collage.reveal { opacity: 1; transform: none; }
.js .collage .collage__img { opacity: 0; translate: 0 24px; transition: opacity 1.1s var(--ease), translate 1.1s var(--ease); }
.js .collage.is-visible .collage__img { opacity: 1; translate: 0 0; }
.js .collage.is-visible .collage__img--1 { transition-delay: .15s; }
.js .collage.is-visible .collage__img--2 { transition-delay: .3s; }
@media (max-width: 899px) {
  .page-hero--collage { min-height: 0; padding: 20px 0 48px; }
  .page-hero--collage .svc-hero { grid-template-columns: 1fr; gap: 24px; }
  .page-hero--collage .collage { grid-column: 1; grid-row: 1; aspect-ratio: 1 / 0.78; }
  .page-hero--collage .svc-hero__text { grid-row: 2; }
  .page-hero--collage .page-hero__title { font-size: clamp(26px, 7.4vw, 34px); }
}
@media (prefers-reduced-motion: reduce) { .js .collage .collage__img { opacity: 1; translate: none; transition: none; } }

/* 見出しのすぐ下：かんたんな相談フォームの帯（PCのみ。スマホは下の固定ボタンから） */
.qband { padding: 72px 0; background: var(--c-kinari); }
.qband__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px 80px; align-items: center; }
.qband__title { margin-top: 8px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.5; letter-spacing: 0.06em; }
.qband__lead { margin-top: 20px; color: var(--c-sub); line-height: 2; }
.qband .qform { border-radius: 18px; box-shadow: 0 24px 50px rgba(15, 38, 24, 0.1); }
.qband .qform input, .qband .qform textarea { border-radius: 10px; }
.qband .qform .qform__submit { background: var(--c-shu); border-color: var(--c-shu); color: #fff; }
.qband .qform__field em { border-radius: 999px; background: var(--c-shu); }
@media (max-width: 899px) { .qband { display: none; } }
@media (min-width: 900px) { .page-hero--dots .page-hero__title { font-size: clamp(32px, 3.6vw, 52px); } .page-hero--dots .ttl-x .ln > span { white-space: nowrap; } }
@media (min-width: 900px) {
  .page-hero--collage .svc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; }
  .page-hero--collage .page-hero__title { font-size: clamp(28px, 3.1vw, 48px); }
  .page-hero--collage .ttl-x .ln > span { white-space: nowrap; }
}
/* 型を破る：写真を少し傾けて重ね、縦書きの大きな言葉を写真に食い込ませる */
.collage__img--0 { rotate: -2deg; }
.collage__img--1 { rotate: 3deg; }
.collage__img--2 { rotate: -1.5deg; }
.collage__v { position: absolute; z-index: 4; left: -6%; top: -4%; margin: 0; writing-mode: vertical-rl; font-family: var(--font-serif); font-weight: 500; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: 0.14em; color: var(--c-shu); text-shadow: 0 2px 18px rgba(255, 255, 255, 0.9), 0 0 2px rgba(255, 255, 255, 0.9); pointer-events: none; }
.js .collage .collage__v { opacity: 0; translate: 0 -24px; transition: opacity 1.2s var(--ease) .45s, translate 1.2s var(--ease) .45s; }
.js .collage.is-visible .collage__v { opacity: 1; translate: 0 0; }
@media (max-width: 899px) { .collage__v { left: auto; right: 2%; top: auto; bottom: -4%; font-size: clamp(30px, 9vw, 40px); } }
@media (prefers-reduced-motion: reduce) { .js .collage .collage__v { opacity: 1; translate: none; transition: none; } }
.collage__v { white-space: nowrap; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: 0.1em; padding: 0.45em 0.28em; background: #fff; text-shadow: none; box-shadow: 0 14px 30px rgba(15, 38, 24, 0.14); }
@media (max-width: 899px) { .collage__v { font-size: 22px; right: 0; bottom: auto; top: 6%; } }
/* サービスページの見出し：どのサービスかがひと目で分かるよう、サービス名を大きく */
.svc-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 22px; }
.svc-name__no { padding: 4px 12px; border-radius: 999px; background: var(--c-shu); color: #fff; font-family: var(--font-en); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.svc-name__ja { font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: 0.08em; color: var(--c-forest); }
@media (max-width: 899px) { .svc-name { margin-bottom: 14px; } .svc-name__ja { font-size: 17px; } }
/* スマホ：狭い幅で見出しが変な位置で折れないように */
.pd__value { white-space: nowrap; }
@media (max-width: 899px) {
  .vsvc__name { font-size: clamp(16px, 4.6vw, 20px); }
  .issue__title { font-size: clamp(17px, 5vw, 21px); }
  .pd__value { font-size: clamp(20px, 6vw, 24px); }
}
@media (max-width: 899px) {
  .vsvc { grid-template-columns: minmax(0, 1fr); }
  .vsvc__go { grid-column: 1; grid-row: auto; justify-self: end; margin-top: 12px; }
}
/* 短い文は行の長さをそろえ、最終行に1〜2文字だけ残らないように */
.related__worry, .founder__career span, .vsvc__catch, .vsvc__text, .reason__text, .flow__desc, .timeline__desc { text-wrap: balance; }
/* スマホ：サービスページの冒頭は、写真・サービス名・見出し・「こんな方へ」までを1画面に収める */
@media (max-width: 899px) {
  .page-hero--collage { padding: 12px 0 40px; }
  .page-hero--collage .svc-hero { gap: 14px; }
  .page-hero--collage .collage { aspect-ratio: 1 / 0.56; width: 92%; margin: 0 auto; }
  .collage__img--0 { top: 6%; width: 64%; height: 70%; }
  .collage__img--1 { width: 36%; height: 62%; }
  .collage__img--2 { right: 12%; width: 44%; height: 46%; }
  .collage__v { font-size: 17px; top: 4%; }
  .page-hero--collage .svc-name { gap: 6px 10px; margin-bottom: 8px; }
  .page-hero--collage .svc-name__no { padding: 2px 10px; font-size: 11px; }
  .page-hero--collage .svc-name__ja { font-size: 15px; }
  .page-hero--collage .page-hero__title { font-size: clamp(22px, 6.4vw, 28px); line-height: 1.5; }
  .page-hero--collage .page-hero__target { margin-top: 12px; gap: 6px 10px; font-size: 14px; }
  .page-hero--collage .page-hero__actions { margin-top: 20px; }
}
/* スマホ：写真と文字の両方にゆとりを持たせつつ、「こんな方へ」までは1画面に */
@media (max-width: 899px) {
  .page-hero--collage { padding: 16px 0 44px; }
  .page-hero--collage .svc-hero { gap: 22px; }
  .page-hero--collage .collage { aspect-ratio: 1 / 0.68; width: 94%; }
  .collage__img--0 { top: 8%; width: 66%; height: 64%; }
  .collage__img--1 { width: 36%; height: 56%; }
  .collage__img--2 { right: 10%; width: 46%; height: 44%; }
  .collage__v { font-size: 18px; }
  .page-hero--collage .svc-name { gap: 8px 12px; margin-bottom: 14px; }
  .page-hero--collage .svc-name__no { padding: 3px 11px; font-size: 11.5px; }
  .page-hero--collage .svc-name__ja { font-size: 16px; }
  .page-hero--collage .page-hero__title { font-size: clamp(24px, 6.9vw, 30px); line-height: 1.6; letter-spacing: 0.06em; }
  .page-hero--collage .page-hero__target { margin-top: 18px; gap: 8px 10px; font-size: 14px; line-height: 1.8; }
  .page-hero--collage .page-hero__actions { margin-top: 24px; }
}
/* スマホ：写真をやや縦に戻し、余白をたっぷり取る（「お悩みと解決策を見る」は固定ボタンに隠れてよい） */
@media (max-width: 899px) {
  .page-hero--collage { padding: 18px 0 48px; }
  .page-hero--collage .svc-hero { gap: 26px; }
  .page-hero--collage .collage { aspect-ratio: 1 / 0.8; }
  .collage__img--0 { top: 8%; width: 66%; height: 60%; }
  .collage__img--1 { width: 37%; height: 54%; }
  .collage__img--2 { right: 9%; width: 48%; height: 44%; }
  .page-hero--collage .svc-name { margin-bottom: 16px; }
  .page-hero--collage .page-hero__title { line-height: 1.65; }
  .page-hero--collage .page-hero__target { margin-top: 20px; }
  .page-hero--collage .page-hero__actions { margin-top: 28px; }
}
/* スマホ：「こんな方へ」の下に文を置く（文の長さで横並びになったりならなかったりしないように） */
@media (max-width: 899px) { .page-hero--collage .page-hero__target { flex-direction: column; align-items: flex-start; } }
/* スマホ：ボタンを外した分、写真をひとまわり小さくして（形は同じ）、要素どうしの間をゆったり取る。冒頭の下は次の「サービス概要」と同じ白地なので、空きすぎないように詰める */
@media (max-width: 899px) {
  .page-hero--collage { padding-bottom: 16px; }
  .page-hero--collage .svc-hero { gap: 36px; }
  .page-hero--collage .collage { width: 86%; }
  .page-hero--collage .svc-name { margin-bottom: 20px; }
  .page-hero--collage .page-hero__target { margin-top: 26px; }
}
/* スマホのプラン比較：帯の上側が細く、「手数料10%」「出資して貸す」が斜めの線で切れていた。帯を少し太く・斜めをゆるくし、文字をひとまわり小さく */
@media (max-width: 899px) {
  .pd__plan--1 { --w: 41%; } .pd__plan--2 { --w: 46%; } .pd__plan--3 { --w: 51%; }
  .pd__plan--1 .pd__seg { clip-path: polygon(0 0, 89% 0, 100% 100%, 0 100%); }
  .pd__plan--2 .pd__seg { clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%); }
  .pd__plan--3 .pd__seg { clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%); }
  .pd__value { font-size: clamp(18px, 5.4vw, 22px); }
}
@media (max-width: 899px) { .pd__desc { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; } }
/* サービスページ冒頭：見出しはサービス名、その下に事業の説明（旧「サービス概要」をここにまとめた）。キャッチは写真の縦書き */
.svc-hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 2.9vw, 44px); line-height: 1.5; letter-spacing: 0.06em; color: var(--c-forest); word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.page-hero--collage .svc-hero__lead { max-width: 30em; margin-top: 24px; font-family: var(--font-serif); font-size: clamp(16px, 1.3vw, 18px); line-height: 2.1; letter-spacing: 0.04em; color: var(--c-text); word-break: keep-all; overflow-wrap: anywhere; }
.page-hero--collage .page-hero__target { margin-top: 28px; }
.page-hero--collage .area-note { padding-left: 0; margin-top: 16px; }
@media (max-width: 899px) {
  .svc-hero__title { font-size: clamp(23px, 6.4vw, 27px); line-height: 1.55; letter-spacing: 0.04em; }
  .page-hero--collage .svc-name { margin-bottom: 12px; }
  .page-hero--collage .svc-hero__lead { margin-top: 14px; font-size: 15px; line-height: 1.95; }
  .page-hero--collage .page-hero__target { margin-top: 20px; }
  .page-hero--collage .area-note { margin-top: 12px; }
  .page-hero--collage { padding-bottom: 40px; }
}
.svc-hero__title { font-size: clamp(28px, 2.4vw, 36px); }
.page-hero--collage .svc-hero__lead { text-wrap: pretty; }
@media (max-width: 899px) {
  .svc-hero__title { font-size: clamp(22px, 6.2vw, 26px); }
  .page-hero--collage .svc-hero { gap: 30px; }
  .page-hero--collage .collage { width: 84%; }
  .page-hero--collage .svc-hero__lead { line-height: 1.9; text-wrap: balance; }
}
/* サービスページ冒頭：番号とサービス名を1行に（サービス名を見出しに）。説明文との大きさの差を控えめにして、まとまりよく */
.page-hero--collage .svc-name { margin-bottom: 0; gap: 10px 16px; }
.page-hero--collage .svc-name__ja { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; letter-spacing: 0.08em; color: var(--c-forest); }
.page-hero--collage .svc-hero__lead { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-line); }
@media (max-width: 899px) {
  .page-hero--collage .svc-name { gap: 8px 12px; }
  .page-hero--collage .svc-name__ja { font-size: 18px; letter-spacing: 0.05em; }
  .page-hero--collage .svc-hero__lead { margin-top: 16px; padding-top: 16px; }
}
/* 短い一文は文節で折り返す（「引い／て」「処分／や」のような途中の改行をなくす） */
.scheme__summary, .related__worry { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.timeline__desc, .flow__desc { word-break: keep-all; overflow-wrap: anywhere; }
/* 両端揃えの段落は行の長さをそろえない（balance と両端揃えが重なると字間が大きく空く） */
:is(p, li, dd, blockquote):has(> n-w.j) { text-wrap: pretty; }
.vsvc__text { word-break: keep-all; overflow-wrap: anywhere; }
/* PC：サービスページ冒頭の左右のバランス（文字側に重みを持たせる。番号は大きな白抜き数字で遊び心を） */
@media (min-width: 900px) {
  .page-hero--collage .svc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
  .page-hero--collage .svc-hero__text { position: relative; padding-top: 24px; }
  .page-hero--collage .svc-hero__text::before { content: attr(data-no); position: absolute; z-index: -1; top: -0.42em; left: -0.06em; font-family: var(--font-en); font-size: clamp(150px, 14vw, 220px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(26, 71, 42, 0.16); pointer-events: none; }
  .page-hero--collage .svc-name { flex-direction: column; align-items: flex-start; gap: 18px; }
  .page-hero--collage .svc-name__ja { font-size: clamp(32px, 3vw, 46px); font-weight: 400; line-height: 1.4; letter-spacing: 0.06em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
  .page-hero--collage .svc-hero__lead { margin-top: 28px; padding-top: 28px; border-top: 0; position: relative; font-size: clamp(16px, 1.25vw, 18px); line-height: 2.1; }
  .page-hero--collage .svc-hero__lead::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 2px; background: var(--c-shu); }
  .page-hero--collage .page-hero__target { margin-top: 32px; }
}
@media (min-width: 900px) {
  .page-hero--collage .svc-hero__text { isolation: isolate; }
  .page-hero--collage .svc-name__ja .nw { white-space: nowrap; }
}
/* PC：番号は白抜きの大きな数字だけで見せる（TOP の 01・02… と同じ表現。バッジと重ねない） */
@media (min-width: 900px) {
  .page-hero--collage .svc-hero__text { padding-top: 0; }
  .page-hero--collage .svc-hero__text::before { position: static; z-index: auto; display: block; margin: 0 0 18px -0.04em; font-size: clamp(88px, 7.2vw, 112px); line-height: 0.8; -webkit-text-stroke: 1px var(--c-shu); }
  .page-hero--collage .svc-name__no { display: none; }
}
/* PC：プランの帯。「おすすめ」は帯のふちに乗せたバッジにして高さに含めない（帯は左から右へきれいに段々に高く） */
@media (min-width: 900px) {
  .pd__seg { clip-path: none !important; background: none !important; isolation: isolate; }
  .pd__seg::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); }
  .pd__plan--1 .pd__seg::before { background: linear-gradient(90deg, #8aa591, #6f8d78); }
  .pd__plan--2 .pd__seg::before { background: linear-gradient(90deg, #6f8d78, #4c6f56); }
  .pd__plan--3 .pd__seg::before { background: linear-gradient(90deg, #4c6f56, #1a472a); }
  .pd__plan + .pd__plan .pd__seg::after { content: ""; position: absolute; left: 0; bottom: 0; top: 30px; width: 1px; background: rgba(255, 255, 255, 0.35); }
  .pd__plan + .pd__plan .pd__seg { box-shadow: none; }
  .pd__seg .pd__badge { position: absolute; z-index: 1; top: 15px; left: 50%; margin: 0; padding: 5px 16px; transform: translate(-50%, -50%) rotate(-4deg); background: var(--c-shu); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; box-shadow: 0 6px 16px rgba(217, 80, 43, 0.28); }
  .pd__plan--1 .pd__seg { min-height: 0; }
}
@media (min-width: 900px) {
  .pd__plan--1 .pd__seg { min-height: 190px; } .pd__plan--2 .pd__seg { min-height: 220px; } .pd__plan--3 .pd__seg { min-height: 250px; }
}
@media (min-width: 900px) { .pd__seg .pd__badge { transform: translate(-50%, -50%); } }
/* スマホのプラン比較：3本の帯は同じ幅にし、右側の斜めの線は js/main.js で1本につなげる */
@media (max-width: 899px) {
  .pd__plan--1, .pd__plan--2, .pd__plan--3 { --w: 50%; }
  .pd__plan + .pd__plan .pd__seg { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}
@media (max-width: 899px) { .pd__value { font-size: clamp(17px, 5vw, 22px); } }

/* ---------- アキヤドのトップ：ファーストビュー（大きな見出し＋相談ボタン＋検索、右に主な事例のカルーセル）2026-10-22 ---------- */
.mtop { position: relative; overflow: hidden; padding: 72px 0 80px; background: linear-gradient(160deg, #f3f7f2 0%, var(--m-bg) 55%); isolation: isolate; }
.mtop::before { content: ""; position: absolute; z-index: -1; left: -12%; top: 18%; width: 70%; height: 140%; background: linear-gradient(135deg, rgba(46, 107, 71, 0.10), rgba(46, 107, 71, 0.02)); transform: rotate(-32deg); border-radius: 40px; }
.mtop::after { content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: 46%; height: 120%; background: linear-gradient(135deg, rgba(207, 95, 55, 0.07), rgba(207, 95, 55, 0)); transform: rotate(28deg); border-radius: 40px; }
.mtop__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.mtop__eyebrow { color: var(--m-green); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
body.is-media .mtop__title { margin-top: 18px; font-family: var(--font-round); font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.32; letter-spacing: 0.04em; color: var(--m-ink); }
.mtop__title em { font-style: normal; color: var(--m-green); }
.mtop__lead { margin-top: 20px; color: var(--m-sub); font-size: 16px; font-weight: 700; line-height: 1.9; }
.mtop__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mtop__btn { min-width: 220px; padding: 18px 30px; font-size: 16px; }
.mtop__btn--sub { display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--m-cta); border-radius: 999px; background: #fff; color: var(--m-cta); font-family: var(--font-round); font-weight: 700; letter-spacing: 0.08em; transition: background .2s, color .2s; }
.mtop__btn--sub:hover { background: var(--m-cta); color: #fff; }
.mtop .msearch--top { max-width: 520px; margin-top: 24px; }
.mtop__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mtop__chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--m-line); border-radius: 999px; background: #fff; color: var(--m-sub); font-size: 13px; transition: border-color .2s, color .2s; }
.mtop__chips a:hover { border-color: var(--m-green); color: var(--m-green); }
.mtop__cases { min-width: 0; }
.mtop__cases-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mtop__cases-label { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.mtop__cases-label b { color: var(--m-green); }
.mtop__nav { display: flex; align-items: center; gap: 12px; }
.mtop__count { min-width: 3.5em; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.mtop__arrow { width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--m-green); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: opacity .2s; }
.mtop__arrow:disabled { background: var(--m-line); color: #9aa19b; cursor: default; }
.mtop__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 18px; margin: -4px -4px 0; }
.mtop__track::-webkit-scrollbar { display: none; }
.mtop-case { flex: 0 0 88%; scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-card-line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
.mtop-case[hidden] { display: none; }
.mtop-case:hover { transform: translateY(-3px); }
.mtop-case__img { display: block; aspect-ratio: 1200 / 630; overflow: hidden; }
.mtop-case__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mtop-case__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.mtop-case__tag { align-self: flex-start; padding: 3px 10px; border-radius: 4px; background: var(--m-green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.mtop-case__title { font-family: var(--font-round); font-weight: 700; font-size: 15px; line-height: 1.7; color: var(--m-ink); }
@media (max-width: 899px) {
  .mtop { padding: 40px 0 48px; }
  .mtop__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  body.is-media .mtop__title { text-align: center; font-size: clamp(30px, 9vw, 40px); }
  .mtop__eyebrow, .mtop__lead { text-align: center; }
  .mtop__lead { font-size: 14.5px; }
  .mtop__btns { flex-direction: column; }
  .mtop__btn { width: 100%; min-width: 0; padding: 18px 20px; }
  .mtop__chips { justify-content: center; }
  .mtop-case { flex-basis: 86%; }
}

/* 中央寄せの見出し（サービス・特徴） */
.mcenter-head { text-align: center; }
body.is-media .mcenter-head__title { margin-top: 6px; font-family: var(--font-round); font-weight: 700; font-size: clamp(24px, 3vw, 34px); color: var(--m-ink); }
.mcenter-head__title::after { content: ""; display: block; width: 48px; height: 3px; margin: 16px auto 0; border-radius: 2px; background: var(--m-green); }
.mcenter-head__lead { margin-top: 20px; color: var(--m-sub); font-size: 15px; }

/* アキヤドのサービス（写真つきカード＋「詳しく見る」の帯） */
.mservice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.mservice { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--c-card-line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.mservice:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mservice__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.mservice__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mservice__who { margin: 22px 24px 0; color: var(--m-sub); font-size: 13px; text-align: center; }
.mservice__name { margin: 4px 24px 0; color: var(--m-green); font-family: var(--font-round); font-weight: 700; font-size: 20px; text-align: center; }
.mservice__text { flex: 1; margin: 14px 24px 24px; color: var(--m-sub); font-size: 14px; line-height: 1.9; }
.mservice__more { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: var(--m-green); color: #fff; font-weight: 700; letter-spacing: 0.12em; }
.mservice__more span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--m-green); font-size: 14px; line-height: 1; letter-spacing: 0; }
.mservices__more { margin-top: 32px; color: var(--m-sub); font-size: 14px; text-align: center; }
.mservices__more a { color: var(--m-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .mservice-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
  .mservices__more { text-align: left; }
}

/* アキヤドの特徴（図解つきの3枚） */
.mfeatures { background: var(--m-sand); }
.mfeat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: 24px; row-gap: 0; margin-top: 44px; }
.mfeat { display: grid; grid-row: span 3; grid-template-rows: subgrid; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.mfeat__head { position: relative; padding: 20px 20px 22px; background: var(--m-green); color: #fff; font-family: var(--font-round); font-weight: 700; font-size: 17px; line-height: 1.6; text-align: center; letter-spacing: 0.06em; }
.mfeat__no { display: block; margin-bottom: 2px; font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.6); }
.mfeat__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 22px 4px; text-align: center; }
.mfeat__text { padding: 16px 24px 26px; color: var(--m-sub); font-size: 13.5px; line-height: 1.85; }
/* 01 当事者：運営している宿の数字 → 記事・提案 */
.mfeat-case { display: flex; flex-direction: column; color: var(--m-sub); font-size: 12px; letter-spacing: 0.06em; }
.mfeat-case span { color: var(--m-green); font-size: 14px; font-weight: 700; }
.mfeat-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.mfeat-stat { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 128px; padding: 14px 8px 12px; border-radius: 12px; background: var(--m-sand); }
.mfeat-donut { position: absolute; top: 10px; left: 50%; width: 66px; height: 66px; transform: translateX(-50%) rotate(-90deg); fill: none; stroke: #dbe5dc; stroke-width: 5; }
.mfeat-donut__v { stroke: var(--m-cta); stroke-linecap: round; }
.mfeat-stat__n { position: relative; margin-top: 66px; color: var(--m-cta); font-family: var(--font-round); font-weight: 700; font-size: 32px; line-height: 1.1; }
.mfeat-stat__n small { font-size: 14px; }
.mfeat-stat__n small.mfeat-stat__pre { margin-right: 2px; }
.mfeat-stat__n--top { margin-top: 18px; font-size: 38px; }
.mfeat-bar { position: relative; display: block; width: 76%; height: 8px; margin: 12px 0 auto; border-radius: 4px; background: #dbe5dc; }
.mfeat-bar i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 4px; background: var(--m-cta); }
.mfeat-bar::before, .mfeat-bar::after { position: absolute; top: 12px; font-size: 10px; color: var(--m-sub); }
.mfeat-bar::before { content: "開業"; left: 0; }
.mfeat-bar::after { content: "回収"; right: 0; }
.mfeat-stat__k { margin-top: 4px; font-size: 12px; line-height: 1.5; }
/* 02 比べる：あなたの空き家 → 3つの道 → 選べる */
.mfeat-pill { display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 999px; background: var(--m-ink); color: #fff; font-size: 14px; font-weight: 700; }
.mfeat-branch { display: block; width: 100%; height: 24px; margin: -6px 0; fill: none; stroke: var(--m-green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mfeat-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.mfeat-three p { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 4px; border: 1.5px solid #cfe0d4; border-radius: 12px; background: #fff; font-size: 11.5px; line-height: 1.5; color: var(--m-sub); }
.mfeat-three b { color: var(--m-ink); font-size: 14px; }
.mfeat-three__no { font-family: var(--font-en); font-size: 22px; line-height: 1; color: var(--m-green); }
.mfeat-goal { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; background: #fff3ec; text-align: center; font-family: var(--font-round); font-weight: 700; font-size: 14px; line-height: 1.6; }
.mfeat-goal b { color: var(--m-cta); }
/* 03 遠方でも：心配 → アキヤドでは */
.mfeat-big { display: flex; align-items: baseline; justify-content: center; gap: 4px; font-size: 13px; color: var(--m-sub); }
.mfeat-big b { color: var(--m-cta); font-family: var(--font-round); font-weight: 700; font-size: 26px; line-height: 1.1; }
.mfeat-rows { display: flex; flex-direction: column; width: 100%; border-top: 1px solid var(--m-line); text-align: left; }
.mfeat-rows li { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--m-line); }
.mfeat-rows__k { justify-self: stretch; text-align: center; padding: 3px 4px; border-radius: 999px; background: var(--m-sand); color: var(--m-green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mfeat-rows b { font-size: 13.5px; line-height: 1.6; color: var(--m-ink); }
@media (max-width: 899px) {
  .mfeat-cards { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 20px; margin-top: 32px; }
  .mfeat { grid-row: auto; grid-template-rows: auto; }
}
.mtop__line { display: block; white-space: nowrap; }
.mfeat__fig :is(n-w, n-b) { white-space: normal; }
/* メディアTOP：背景色の違うセクション（特徴）の直後は、上の余白をとる */
body.is-media .mfeatures + .section { padding-top: var(--section-y); }
@media (max-width: 899px) { .article__section .talk__list { padding: 8px 10px 8px 22px; } .article__section .talk:has(.talk__list) .talk__img { flex-basis: 32px; width: 32px; height: 32px; } }
/* ===== アキヤド：サービスページの実績の数字・比較表 ===== */
.msv-stats__cap { margin: 40px 0 14px; padding-top: 28px; border-top: 1px solid var(--m-line); font-size: 13px; font-weight: 700; color: var(--m-green); text-align: center; letter-spacing: 0.04em; }
.msv-stats__cap span { margin-left: .8em; font-weight: 400; color: var(--m-sub); }
.msv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 12px; }
.msv-stats li { display: flex; flex-direction: column; align-items: center; padding: 24px 16px; border-radius: 18px; background: #fff; text-align: center; }
.msv-stats__num { font-family: var(--font-round); font-weight: 700; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.2; color: var(--m-green); }
.msv-stats__num small { font-size: 0.5em; margin-left: 2px; }
.msv-stats__label { margin-top: 8px; font-weight: 700; font-size: 14px; }
.msv-stats__note { margin-top: 4px; font-size: 12px; color: var(--c-muted); }
.msv-stats__src { margin-bottom: 28px; font-size: 12.5px; line-height: 1.8; color: var(--c-muted); text-align: center; }
.msv-stats__src a { color: var(--m-green); text-decoration: underline; text-underline-offset: 3px; }
.msv-compare { overflow-x: auto; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px rgba(38, 42, 39, 0.05); }
.msv-compare table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.msv-compare th, .msv-compare td { padding: 16px 18px; border-bottom: 1px solid var(--m-line); text-align: left; vertical-align: top; }
.msv-compare thead th { background: var(--m-sand); font-size: 13px; color: var(--m-sub); font-weight: 700; }
.msv-compare tbody th { width: 22%; font-family: var(--font-round); font-weight: 700; }
.msv-compare tbody tr:last-child th, .msv-compare tbody tr:last-child td { border-bottom: 0; }
.msv-compare tr.is-us th, .msv-compare tr.is-us td { background: #eef5f0; }
.msv-compare tr.is-us th { color: var(--m-green); }
.msv-compare__note { margin-top: 10px; font-size: 12px; color: var(--c-muted); }
@media (max-width: 899px) {
  .msv-stats { gap: 8px; }
  .msv-stats li { padding: 18px 6px; }
  .msv-stats__label { font-size: 12px; }
  .msv-stats__note { font-size: 10.5px; }
}
/* ===== アキヤド：サービスページ（LP）。「いくら？」に先に答え、数字は大きく、文章は短く ===== */
.mlp-hero { position: relative; padding: 28px 0 64px; background: linear-gradient(180deg, var(--m-sand) 0%, var(--m-bg) 100%); }
.mlp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 56px; align-items: start; margin-top: 24px; }
.mlp-hero__eyebrow { font-family: var(--font-round); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--m-green); }
.mlp-hero__title { margin-top: 14px; font-family: var(--font-round); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.45; letter-spacing: 0.03em; color: var(--m-ink); word-break: auto-phrase; }
.mlp-hero__title em { font-style: normal; color: var(--m-green); background: linear-gradient(transparent 68%, #d3e6d8 68%); }
.mlp-hero__sub { margin-top: 18px; font-size: 15.5px; line-height: 1.95; color: var(--m-sub); }
.mlp-hero__promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.mlp-hero__promise li { padding: 12px 8px; border-radius: 14px; background: #fff; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--m-sub); box-shadow: 0 3px 12px rgba(38, 42, 39, 0.05); }
.mlp-hero__promise strong { display: block; font-family: var(--font-round); font-size: 20px; color: var(--m-green); }
.mlp-hero__photo { display: block; margin-top: 24px; border-radius: 20px; overflow: hidden; }
.mlp-hero__photo img { width: 100%; height: 260px; object-fit: cover; }
/* サービスページのフォーム：最初に「相談／資料」を選ぶ */
.mform2 { position: relative; scroll-margin-top: calc(var(--header-h) + 12px); padding: 26px 24px 18px; border-radius: 22px; background: #fff; box-shadow: 0 20px 48px rgba(38, 42, 39, 0.14); }
.mform2 [hidden] { display: none !important; }
.mform2__anchor { position: absolute; top: 0; }
.mform2__title { font-family: var(--font-round); font-weight: 700; font-size: 18px; line-height: 1.5; text-align: center; }
.mform2__modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mform2__mode { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 14px; border: 1.5px solid var(--m-line); background: #fff; font: inherit; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.mform2__mode strong { font-family: var(--font-round); font-size: 15px; color: var(--m-ink); }
.mform2__mode span { font-size: 11.5px; line-height: 1.5; color: var(--m-sub); }
.mform2__mode[aria-checked="true"] { border-color: var(--m-green); background: var(--m-sand); box-shadow: inset 0 0 0 1px var(--m-green); }
.mform2__mode[aria-checked="true"] strong { color: var(--m-green); }
.mform2 .mform2__form { padding: 14px 0 0; box-shadow: none; background: transparent; }
/* 節の共通 */
.mlp-sec { padding: 88px 0; }
.mlp-sec--soft { background: var(--m-sand); }
.mlp-sec--green { background: var(--m-green); color: #fff; }
.mlp-sec--worry { padding: 56px 0 64px; }
.mlp-narrow { max-width: calc(860px + var(--gutter) * 2); }
.mlp-en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--m-green); text-align: center; }
.mlp-title { margin-top: 8px; font-family: var(--font-round); font-weight: 700; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.5; text-align: center; word-break: auto-phrase; }
.mlp-title--light { color: #fff; }
.mlp-lead { max-width: 40em; margin: 16px auto 0; font-size: 15px; line-height: 2; color: var(--m-sub); text-align: center; }
.mlp-worries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.mlp-worries li { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: #fff; border: 1px solid var(--m-line); font-size: 15px; line-height: 1.6; }
.mlp-worries li::before { content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--m-cta); font-weight: 700; }
/* いくら？ */
.mprice__cards { display: grid; gap: 16px; margin-top: 36px; }
.mprice__cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-left: auto; margin-right: auto; }
.mprice__cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mprice__card { padding: 26px 24px; border-radius: 20px; background: #fff; text-align: center; }
.mprice__card-label { font-family: var(--font-round); font-weight: 700; font-size: 15px; color: var(--m-green); }
.mprice__card-num { margin-top: 8px; font-family: var(--font-round); font-weight: 700; font-size: clamp(40px, 5vw, 56px); line-height: 1.1; color: var(--m-ink); }
.mprice__card-num small { font-size: 16px; margin: 0 3px; }
.mprice__card-ex { margin-top: 10px; font-weight: 700; font-size: 14px; line-height: 1.6; }
.mprice__card-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--m-line); font-size: 12.5px; line-height: 1.8; color: var(--m-sub); }
.mprice__factors { max-width: 900px; margin: 20px auto 0; padding: 18px 22px; border-radius: 16px; background: #fff; }
.mprice__factors p { font-weight: 700; font-size: 14px; }
.mprice__factors ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mprice__factors li { padding: 6px 12px; border-radius: 999px; background: var(--m-sand); font-size: 13px; }
.mprice__fee { max-width: 900px; margin: 18px auto 0; padding: 14px 18px; border-left: 4px solid var(--m-green); background: #fff; font-size: 14px; line-height: 1.8; }
.mprice__formula { display: flex; align-items: stretch; justify-content: center; gap: 12px; margin-top: 36px; }
.mprice__term { flex: 1; max-width: 300px; padding: 22px 18px; border-radius: 18px; background: #fff; text-align: center; }
.mprice__term.is-result { background: var(--m-green); color: #fff; }
.mprice__term-t { display: block; font-family: var(--font-round); font-weight: 700; font-size: 17px; line-height: 1.5; }
.mprice__term-n { display: block; margin-top: 6px; font-size: 12.5px; opacity: 0.8; }
.mprice__op { align-self: center; font-family: var(--font-round); font-weight: 700; font-size: 28px; color: var(--m-green); }
.mprice__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 20px auto 0; }
.mprice__facts li { padding: 18px 12px; border-radius: 16px; background: #fff; text-align: center; }
.mprice__fact-big { display: block; font-family: var(--font-round); font-weight: 700; font-size: 26px; color: var(--m-green); }
.mprice__fact-l { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--m-sub); }
.mprice__note { max-width: 900px; margin: 16px auto 0; font-size: 12px; line-height: 1.8; color: var(--c-muted); text-align: center; }
.mprice__note a { color: var(--m-green); font-weight: 700; }
/* 放っておくと */
.mrisks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.mrisk { display: flex; flex-direction: column; padding: 24px 22px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--m-line); }
.mrisk__num { font-family: var(--font-round); font-weight: 700; font-size: 48px; line-height: 1.1; color: var(--m-cta); }
.mrisk__num small { margin-left: 2px; font-size: 18px; }
.mrisk__label { margin-top: 6px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.mrisk__how { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fbf1ec; }
.mrisk__how-h { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--m-cta); }
.mrisk__how ol { display: grid; gap: 0; margin-top: 6px; }
.mrisk__how li { position: relative; padding: 3px 0; font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--m-ink); }
.mrisk__how li + li::before { content: "↓"; display: block; margin: -2px 0 2px; font-size: 12px; font-weight: 400; line-height: 1; color: var(--m-cta); }
.mrisk__text { flex: 1; margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: var(--m-sub); }
.mrisk__link { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--m-green); }
/* 違い */
.mpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.mpoint { display: flex; gap: 14px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.1); }
.mpoint__icon { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--m-green); }
.mpoint__icon .fig-icon { width: 26px; height: 26px; }
.mpoint__title { font-family: var(--font-round); font-weight: 700; font-size: 17px; line-height: 1.5; }
.mpoint__text { margin-top: 6px; font-size: 13.5px; line-height: 1.85; opacity: 0.9; }
.mlp-ctarow { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 36px; }
.mlp-sec--green .mbtn--sub { box-shadow: none; }
/* 創業者から */
.mletter { max-width: 860px; margin: 0 auto; padding: 40px 44px; border-radius: 24px; background: #fff; box-shadow: 0 10px 32px rgba(38, 42, 39, 0.08); }
.mletter__title { margin-top: 8px; font-family: var(--font-round); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.6; text-align: center; }
.mletter__faces { display: flex; justify-content: center; gap: 28px; margin-top: 22px; }
.mletter__face { text-align: center; }
.mletter__face img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.mletter__face figcaption { margin-top: 6px; font-weight: 700; font-size: 14px; }
.mletter__face small { display: block; font-weight: 400; font-size: 11.5px; color: var(--m-sub); }
.mletter__body { margin-top: 22px; }
.mletter__body p { margin-top: 12px; font-size: 15px; line-height: 2.05; }
.mletter__sign { text-align: right; font-size: 13px !important; color: var(--m-sub); }
.mletter .msv-stats { margin-top: 28px; }
.mletter .msv-stats li { background: var(--m-sand); }
.mletter__voice { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--m-sand); }
.mletter__voice blockquote { margin: 0; font-size: 14px; line-height: 1.9; }
.mletter__voice blockquote p::before { content: "“"; margin-right: 4px; color: var(--m-green); font-weight: 700; }
.mletter__voice figcaption { margin-top: 6px; font-size: 12px; color: var(--m-sub); }
.mletter__more { margin-top: 16px; text-align: center; font-size: 13px; font-weight: 700; }
.mletter__more a { color: var(--m-green); }
.mlp-fold { margin-top: 18px; border-radius: 14px; background: #fff; }
.mlp-fold summary { padding: 14px 18px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--m-green); }
.mlp-fold > ul:not(.dflow__notes) { padding: 0 18px 16px 36px; list-style: disc; font-size: 14px; line-height: 1.9; }
.mlp-fold--flow { background: transparent; text-align: center; }
.mlp-fold--flow[open] { text-align: left; }
/* 3ステップ */
.mflow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; counter-reset: f; }
.mflow3 li { position: relative; padding: 24px 22px; border-radius: 18px; background: #fff; }
.mflow3__no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--m-green); color: #fff; font-family: var(--font-en); font-size: 15px; }
.mflow3__t { margin-top: 10px; font-family: var(--font-round); font-weight: 700; font-size: 17px; }
.mflow3__d { margin-top: 6px; font-size: 13.5px; line-height: 1.85; color: var(--m-sub); }
.mlp-sec--final { text-align: center; background: linear-gradient(180deg, var(--m-bg), var(--m-sand)); }
.mlp-final__note { margin-top: 14px; font-size: 12.5px; color: var(--m-sub); }
@media (max-width: 899px) {
  .mlp-hero { padding: 16px 0 48px; }
  .mlp-hero__grid { grid-template-columns: 1fr; gap: 24px; margin-top: 16px; }
  .mlp-hero__sub { font-size: 14.5px; }
  .msv-stats__cap span { display: block; margin: 2px 0 0; }
  .mlp-hero__sub--sp.sp-only { display: block; margin-top: 14px; font-size: 15px; line-height: 1.8; } /* スマホのリードは一文だけ（ヒーローの文字量を減らす） */
  .mlp-hero .crumbs { flex-wrap: nowrap; overflow: hidden; margin-bottom: 18px; font-size: 11px; white-space: nowrap; }
  .mlp-hero .crumbs > :last-child { overflow: hidden; text-overflow: ellipsis; }
  .mlp-hero__photo { margin-top: 18px; border-radius: 16px; }
  .mlp-hero__photo img { height: 150px; }
  .mform2 { padding: 22px 18px 16px; }
  .mlp-sec { padding: 64px 0; }
  .mlp-sec--worry { padding: 44px 0 48px; }
  .mlp-worries, .mprice__cards--2, .mprice__cards--3, .mrisks, .mpoints, .mflow3 { grid-template-columns: 1fr; gap: 12px; }
  .mlp-worries li { font-size: 14px; }
  .mprice__card { padding: 22px 18px; }
  .mprice__formula { gap: 6px; margin-top: 28px; } /* 式は横並びのまま（縦に積むと式に見えない） */
  .mprice__term { min-width: 0; padding: 18px 4px; border-radius: 14px; display: grid; place-items: center; }
  .mprice__term-t { font-size: 16px; line-height: 1.3; letter-spacing: 0; white-space: nowrap; }
  .mprice__op { font-size: 22px; }
  .mprice__term-n.pc-only { display: none; }
  .mprice__facts { gap: 8px; }
  .mprice__facts li { padding: 14px 6px; }
  .mprice__fact-big { font-size: 20px; }
  .mprice__fact-l { font-size: 11px; }
  .mrisk { padding: 20px 18px 16px; }
  .mrisk__num { font-size: 40px; }
  .mpoint { padding: 18px; }
  .mletter { padding: 28px 20px; border-radius: 20px; }
  .mletter__body p { font-size: 14.5px; line-height: 2; }
  .mlp-ctarow .mbtn { width: 100%; }
}
.mlp-sec .mplans__cards { margin-top: 40px; }
.mlp-sec .mplans__cards--1 { grid-template-columns: minmax(0, 600px); justify-content: center; }
.mlp-sec .mplans__cards--1 ~ .mplans__note { text-align: center; }
/* サービスページ：改行と字間の整え */
.mletter__body p { text-align: left !important; }
.mletter__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.msv-stats__num { white-space: nowrap; }
@media (max-width: 899px) {
  .msv-stats__num { font-size: 22px; }
  .msv-stats__label { font-size: 11.5px; line-height: 1.5; }
  .mletter__more { flex-direction: column; align-items: center; }
}
/* LP の文章は両端揃えにしない（字間が空きすぎるのを防ぐ） */
.mlp-hero :is(p, li):has(> n-w.j), .mlp-sec :is(p, li, dd):has(> n-w.j) { text-align: left !important; }
.mlp-sec .mlp-lead, .mlp-sec .mlp-lead:has(> n-w.j) { text-align: center !important; }
.mprice__note a { white-space: nowrap; }
@media (max-width: 899px) { .mlp-sec .mlp-lead, .mlp-sec .mlp-lead:has(> n-w.j) { text-align: left !important; } }
/* TOPのコンセプト：スマホは短い文章に切りかえる */
.vision__lead--sp { display: none; }
@media (max-width: 899px) { .vision__lead--pc { display: none; } .vision__lead--sp { display: block; } }
/* 創業者の写真：幅と高さを明示して、Safari でも正円にする（aspect-ratio だけだと縦に伸びることがある） */
.founder__photo { width: 136px; height: 136px; margin: 0; flex-shrink: 0; }
.founder__photo img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; }
@media (max-width: 899px) { .founder__photo { width: 96px; height: 96px; } }
.mrisk__num small.mrisk__pre { margin: 0 2px 0 0; }
.msv-stats__num small.msv-stats__pre { margin: 0 2px 0 0; }
@media (max-width: 374px) { .msv-stats { gap: 6px; } .msv-stats li { padding: 16px 4px; } .msv-stats__label { font-size: 11px; letter-spacing: 0; } }
.mlp-sec .msv-compare { margin-top: 36px; }
@media (max-width: 899px) { .mlp-sec .msv-compare { margin-top: 28px; } }
.msv-compare th, .msv-compare td { word-break: keep-all; overflow-wrap: normal; }
/* サービスページの本文は、行末まで詰めて自然に折り返す（文末のまとめ・行の長さの調整をしない） */
.mlp-hero p n-w, .mlp-sec p n-w, .mlp-sec li n-w, .mlp-sec dd n-w { text-wrap: wrap; }
.mlp-hero p n-b, .mlp-sec p n-b, .mlp-sec li n-b, .mlp-sec dd n-b { white-space: normal; }
/* 緑の帯の中の強調は、白い太字だけにする（緑のマーカーは背景と重なって見えにくい） */
.mlp-sec--green strong.hl, .mlp-sec--green strong { color: #fff; background: none; font-weight: 700; }
.msv-compare__hint { display: none; }
@media (max-width: 899px) { .msv-compare__hint { display: block; margin-top: 24px; font-size: 12px; color: var(--m-sub); text-align: right; } .mlp-sec .msv-compare__hint + .msv-compare { margin-top: 8px; } }
/* 比較表：各マスは評価マーク（◎○△×）を大きく、言葉は小さく。ぱっと見で比べられるように */
.msv-compare td { text-align: center; vertical-align: top; }
.msv-compare thead th:not(:first-child) { text-align: center; }
.mcmp__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--font-round); font-weight: 700; font-size: 19px; line-height: 1; font-style: normal; }
.mcmp__mark svg { display: block; width: 58%; height: 58%; }
.mcmp__mark--good { background: var(--m-green); color: #fff; }
.mcmp__mark--ok { background: #d9eadf; color: var(--m-green); }
.mcmp__mark--bad { background: #f6e3da; color: var(--m-cta); }
.mcmp__mark--none { background: #ececec; color: #8a8f8b; }
.msv-compare td .mcmp__mark { display: grid; margin: 0 auto; }
.mcmp__t { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--m-sub); }
.mcmp__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 24px; font-size: 12.5px; color: var(--m-sub); }
.mcmp__legend span { display: inline-flex; align-items: center; gap: 6px; }
.mcmp__legend .mcmp__mark { width: 22px; height: 22px; font-size: 13px; }
.mlp-sec .mcmp__legend + .msv-compare { margin-top: 12px; }
.msv-compare__hint { display: none !important; }
@media (max-width: 899px) {
  .msv-compare { overflow: visible; }
  .msv-compare table { table-layout: fixed; min-width: 0; font-size: 12.5px; }
  .msv-compare th, .msv-compare td { padding: 12px 4px; }
  .msv-compare th:first-child { padding-left: 12px; }
  .msv-compare thead th { font-size: 11.5px; line-height: 1.45; }
  .msv-compare tbody th { width: 30%; font-size: 12.5px; line-height: 1.5; }
  .mcmp__mark { width: 30px; height: 30px; font-size: 17px; }
  .mcmp__t { font-size: 11px; margin-top: 4px; }
}
.msv-compare tbody th { vertical-align: middle; }
/* 比較表（選択肢が横に並ぶ形）：1列目＝比べることを止めて、スマホは左右にスライド */
.msv-compare--cols { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.msv-compare--cols table { table-layout: auto; }
.msv-compare--cols thead th { text-align: center; vertical-align: bottom; font-family: var(--font-round); font-size: 14px; color: var(--m-ink); }
.msv-compare--cols thead th:first-child { text-align: left; font-size: 12.5px; color: var(--m-sub); }
.msv-compare--cols tbody th { width: auto; font-size: 13.5px; color: var(--m-sub); }
.msv-compare--cols th:first-child { width: 150px; }
.msv-compare--cols th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--m-line); }
.msv-compare--cols thead th:first-child { background: var(--m-sand); }
.msv-compare--cols th.is-us, .msv-compare--cols td.is-us { background: #eef5f0; }
.msv-compare--cols thead th.is-us { color: var(--m-green); background: #dcebe1; }
.msv-compare__swipe { display: none; }
@media (max-width: 899px) {
  .msv-compare.msv-compare--cols { overflow-x: auto; }
  .msv-compare--cols table { table-layout: fixed; width: max-content; min-width: 100%; }
  .msv-compare--cols th, .msv-compare--cols td { width: 104px; min-width: 104px; max-width: 104px; padding: 12px 6px; white-space: normal; }
  .msv-compare--cols th:first-child { min-width: 96px; width: 96px; max-width: 96px; padding-left: 12px; padding-right: 6px; }
  .msv-compare--cols tbody th:first-child { letter-spacing: 0; }
  .msv-compare--cols thead th:first-child { font-size: 11.5px; letter-spacing: 0.02em; }
  .msv-compare--cols thead th { font-size: 12.5px; }
  .msv-compare--cols tbody th { font-size: 12px; width: 96px; }
  .msv-compare__swipe { display: block; margin-top: 16px; font-size: 12px; color: var(--m-sub); text-align: right; }
  .mlp-sec .msv-compare__swipe + .msv-compare { margin-top: 8px; }
}
.mlp-flow { margin-top: 36px; }
@media (max-width: 899px) { .mlp-flow { margin-top: 28px; } }
/* 折り返し方は段落（ブロック）の text-wrap で決まる。サービスページの本文の段落は、ふつうの折り返し（wrap）に戻す。
   iPhone の Safari は text-wrap: pretty を段落全体に効かせるため、行が早めに折れて右側が空いて見えていた */
.mlp-hero :is(p, li, dd, blockquote), .mlp-sec :is(p, li, dd, blockquote) { text-wrap: wrap !important; }
/* 悩みのリストは1列（2列だと5項目のとき最後の1つだけが余って見える） */
.mlp-worries { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }

/* サービスページ：しくみの図（誰が何をして、お金がどう流れるか）と写真 */
.mlp-sec--worry + .mlp-sec--scheme { padding-top: 0; }
/* お悩み：PCは写真とリストを横に並べる（スマホはリストだけ） */
.mlp-worry { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; max-width: 920px; margin: 32px auto 0; align-items: stretch; }
.mlp-worry .mlp-worries { max-width: none; margin: 0; grid-template-columns: 1fr; }
.mlp-worry__photo { display: block; }
.mlp-worry__photo img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 20px; }
.mlp-worry__body { display: flex; flex-direction: column; justify-content: center; }
.mlp-worry__cta { margin-top: 16px; font-size: 14px; font-weight: 700; }
.mlp-worry__cta a { color: var(--m-green); }
@media (max-width: 899px) {
  .mlp-worry { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .mlp-worry__photo { display: none; }
  .mlp-worry__cta { font-size: 13px; text-align: center; text-wrap: balance; }
}
.mscheme { --aw: 64px; position: relative; max-width: 720px; margin: 36px auto 0; padding-bottom: 64px; }
.mscheme__row { display: grid; grid-template-columns: 1fr var(--aw) 1fr var(--aw) 1fr; align-items: start; }
.mscheme__node { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.mscheme__icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; border-radius: 50%; background: #fff; border: 1.5px solid var(--m-line); color: var(--m-green); }
.mscheme__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mscheme__node.is-us .mscheme__icon { border: 2.5px solid var(--m-green); box-shadow: 0 0 0 5px rgba(46, 107, 71, 0.12); }
.mscheme__icon .amark { width: 44px; height: 42px; fill: initial; stroke: none; margin-left: 2px; }
.mscheme__node b { font-family: var(--font-round); font-weight: 700; font-size: 15px; line-height: 1.4; }
.mscheme__node.is-us b { color: var(--m-green); }
.mscheme__node small { font-size: 12px; line-height: 1.5; color: var(--m-sub); word-break: keep-all; }
.mscheme__arrow { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 40px; }
.mscheme__arrow span { font-family: var(--font-round); font-weight: 700; font-size: 11.5px; color: var(--m-green); white-space: nowrap; }
.mscheme__arrow i { position: relative; display: block; width: 100%; height: 2px; margin-top: 4px; background: var(--m-green); }
.mscheme__arrow i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--m-green); border-right: 0; }
/* 戻りの矢印（お金の流れ）：ノードの中心どうしを、下側のコの字の線でつなぐ */
.mscheme__ret { position: absolute; bottom: 10px; height: 34px; border: 2px solid var(--m-cta); border-top: 0; border-radius: 0 0 14px 14px; }
.mscheme__ret--01 { left: calc((100% - 2 * var(--aw)) / 6); width: calc((100% - 2 * var(--aw)) / 3 + var(--aw)); }
.mscheme__ret--12 { left: calc((100% - 2 * var(--aw)) / 2 + var(--aw)); width: calc((100% - 2 * var(--aw)) / 3 + var(--aw)); }
.mscheme__ret::after { content: ""; position: absolute; top: -8px; right: -7px; border: 6px solid transparent; border-bottom: 8px solid var(--m-cta); border-top: 0; }
.mscheme__ret.is-left::after { right: auto; left: -7px; }
.mscheme__ret wbr { display: none; }  /* Chrome は nowrap でも <wbr> で折り返すため、1行に保つ */
.mscheme__ret span { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: var(--m-cta); color: #fff; font-family: var(--font-round); font-weight: 700; font-size: 12px; white-space: nowrap; }
.mscheme__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 720px; margin: 32px auto 0; }
.mscheme__photo { position: relative; margin: 0; }
.mscheme__tag { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 10px; line-height: 1.6; letter-spacing: 0.06em; }
.mscheme__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 16px; }
.mscheme__photo figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--m-sub); text-align: center; word-break: keep-all; }
/* しくみの図：PCは大きく（スマホで見る大きさに比べて、PCでは小さく見えていた。人の指摘 2026-10-24） */
@media (min-width: 900px) {
  .mscheme { --aw: 140px; max-width: 920px; margin-top: 44px; padding-bottom: 84px; }
  .mscheme__icon { width: 108px; height: 108px; margin-bottom: 10px; border-width: 2px; }
  .mscheme__icon svg { width: 46px; height: 46px; stroke-width: 1.5; }
  .mscheme__node.is-us .mscheme__icon { border-width: 3px; box-shadow: 0 0 0 7px rgba(46, 107, 71, 0.12); }
  .mscheme__icon .amark { width: 70px; height: 66px; }
  .mscheme__node b { font-size: 21px; }
  .mscheme__node small { font-size: 15px; }
  .mscheme__arrow { height: 62px; }
  .mscheme__arrow span { font-size: 15px; }
  .mscheme__arrow i { height: 3px; margin-top: 6px; }
  .mscheme__arrow i::after { top: -5px; border-width: 6px; border-left-width: 9px; }
  .mscheme__ret { bottom: 14px; height: 46px; border-width: 3px; border-radius: 0 0 18px 18px; }
  .mscheme__ret::after { top: -10px; right: -8px; border-width: 7px; border-bottom-width: 10px; }
  .mscheme__ret.is-left::after { left: -8px; }
  .mscheme__ret span { bottom: -16px; padding: 4px 16px; font-size: 15px; }
  .mscheme__photos { max-width: 920px; gap: 16px; margin-top: 40px; }
  .mscheme__photo figcaption { font-size: 14px; }
}
@media (max-width: 899px) {
  .mscheme { --aw: 44px; margin-top: 28px; }
  .mscheme__icon { width: 56px; height: 56px; }
  .mscheme__icon svg { width: 26px; height: 26px; }
  .mscheme__icon .amark { width: 36px; height: 34px; }
  .mscheme__node b { font-size: 13.5px; }
  .mscheme__node small { font-size: 11px; }
  .mscheme__arrow { height: 34px; }
  .mscheme__arrow span { font-size: 10.5px; }
  .mscheme__photos { gap: 8px; margin-top: 24px; }
  .mscheme__photo img { border-radius: 12px; }
  .mscheme__photo figcaption { font-size: 11px; }
}

/* 未来の手元の試算：モデル物件 → お金のゆくえ（帯グラフ）→ 数年後の手元（横棒） */
.msim { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; max-width: 900px; margin: 36px auto 0; }
.msim--solo { grid-template-columns: 1fr; }
.msim--multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msim--multi .msim__model { grid-column: 1 / -1; flex-direction: row; gap: 16px; }
.msim--multi .msim__house { margin: 0; }
.msim--multi .msim__specs { grid-template-columns: repeat(2, auto); gap: 8px; align-self: auto; margin-top: 0; }
.msim--multi .msim__specs li { white-space: nowrap; }
.msim--solo .msim__model { flex-direction: row; gap: 16px; }
.msim--solo .msim__house { margin: 0; }
.msim--solo .msim__specs { grid-template-columns: repeat(2, auto); gap: 8px; align-self: auto; margin-top: 0; }
.msim--solo .msim__specs li { white-space: nowrap; }
.msim__model { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 20px; border-radius: 20px; background: var(--m-sand); text-align: center; }
.msim__badge { display: inline-block; padding: 2px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--m-green); }
.msim__house { display: grid; place-items: center; width: 64px; height: 64px; margin: 14px auto 0; border-radius: 50%; background: #fff; color: var(--m-green); }
.msim__house svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.msim__specs { display: grid; gap: 6px; align-self: stretch; margin-top: 14px; font-size: 13.5px; line-height: 1.6; }
.msim__specs li { padding: 6px 8px; border-radius: 10px; background: #fff; }
.msim__split { display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 1.5px solid var(--m-line); border-radius: 20px; background: #fff; }
.msim__h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--font-round); font-weight: 700; font-size: 15px; line-height: 1.6; }
.msim__h span { color: var(--m-sub); font-size: 13px; }
.msim__h--c { justify-content: center; text-align: center; }
.msim__bar { display: flex; gap: 2px; height: 30px; margin-top: 14px; border-radius: 8px; overflow: hidden; }
.msim__seg { display: block; min-width: 4px; }
.msim__seg--c1, .msim__li--c1 .msim__sw { background: #cf5f37; }
.msim__seg--c2, .msim__li--c2 .msim__sw { background: #e2906d; }
.msim__seg--c3, .msim__li--c3 .msim__sw { background: #eeb99f; }
.msim__seg--c4, .msim__li--c4 .msim__sw { background: #b9c2bb; }
.msim__seg--keep, .msim__li--keep .msim__sw { background: var(--m-green); }
.msim__legend { display: grid; gap: 2px; margin-top: 14px; }
.msim__li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--m-line); }
.msim__li:last-child { border-bottom: 0; }
.msim__sw { flex-shrink: 0; width: 12px; height: 12px; border-radius: 3px; }
.msim__li-name { flex: 1; font-size: 14px; line-height: 1.5; }
.msim__li-name small { display: block; font-size: 12px; color: var(--m-sub); }
.msim__li b { font-family: var(--font-round); font-size: 17px; white-space: nowrap; }
.msim__li b small { font-size: 11px; margin-left: 2px; }
.msim__li--keep .msim__li-name, .msim__li--keep b { color: var(--m-green); font-weight: 700; }
.msim__li--keep b { font-size: 22px; }
.msim__future { max-width: 900px; margin: 20px auto 0; padding: 28px 24px 24px; border-radius: 20px; background: var(--m-sand); }
.msim__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.msim__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; }
.msim__row .msim__sw { grid-row: 1; grid-column: 1; width: 16px; height: 4px; border-radius: 2px; }
.msim__row .msim__row-name { grid-column: 2; }
.msim__sw--us { background: var(--m-green); }
.msim__sw--minus { background: #e2906d; }
.msim__sw--sub { background: #a3ada5; }
.msim__rows--3 { grid-template-columns: 1fr; }
.msim__summary { max-width: 40em; margin: 10px auto 0; font-size: 15px; line-height: 1.9; text-align: center; }
.msim__howto { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin-top: 12px; }
.msim__howto li { padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 12.5px; line-height: 1.6; color: var(--m-sub); }
.msim__howto b { margin-right: 6px; color: var(--m-ink); }
/* PCはグラフと凡例を横に並べ、グラフが横に長くなりすぎないように（人の指摘 2026-10-24） */
@media (min-width: 900px) {
  .msim__fwrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 18px; }
  .msim__fwrap .mchart { margin-top: 0; }
  .msim__fwrap .mchart__plot { height: 300px; }
  .msim__fside .msim__rows, .msim__fside .msim__rows--3 { grid-template-columns: 1fr; margin-top: 0; }
  .msim__fside .msim__big { margin-top: 10px; flex-direction: column; align-items: center; gap: 2px; }
}
.msim__disclaim { max-width: 900px; margin: 16px auto 0; padding: 12px 16px; border: 1px solid var(--m-line); border-radius: 12px; font-size: 12.5px; line-height: 1.8; color: var(--m-sub); }
.msim__disclaim strong { color: var(--m-ink); }
/* 手元の累計の折れ線（0円の線＝損益分岐点） */
.mchart { position: relative; margin-top: 18px; padding: 24px 92px 30px 52px; border-radius: 14px; background: #fff; }
.mchart__plot { position: relative; height: 280px; }
.mchart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mchart__grid line { stroke: var(--m-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mchart__zero { stroke: var(--m-ink); stroke-width: 1.5; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.mchart__line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mchart__line--us { stroke: var(--m-green); }
.mchart__line--minus { stroke: #e2906d; }
.mchart__line--sub { stroke: #a3ada5; }
.mchart__y { position: absolute; left: -48px; width: 40px; white-space: nowrap; transform: translateY(-50%); font-size: 11px; color: var(--m-sub); text-align: right; }
.mchart__y.is-zero { color: var(--m-ink); font-weight: 700; }
.mchart__x { position: absolute; bottom: -24px; transform: translateX(-50%); font-size: 11px; color: var(--m-sub); white-space: nowrap; }
.mchart__x:first-of-type { transform: none; }
.mchart__x.is-last { transform: translateX(-100%); }
.mchart__unit { position: absolute; left: 10px; top: 6px; font-size: 10px; color: var(--m-sub); }
.mchart__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.mchart__dot--us { background: var(--m-green); }
.mchart__dot--minus { background: #cf5f37; }
.mchart__dot--sub { background: #a3ada5; }
.mchart__mark { position: absolute; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; color: #fff; }
.mchart__mark--us { background: var(--m-green); }
.mchart__mark--minus { background: #cf5f37; }
.mchart__mark--sub { background: #8a958c; }
.mchart__mark--r { transform: translate(12px, -50%); }
.mchart__mark--ur { transform: translate(8px, calc(-100% - 8px)); }
.mchart__mark--dr { transform: translate(8px, 8px); }
.mchart__mark--up { transform: translate(-50%, calc(-100% - 10px)); }
.mchart__mark--down { transform: translate(-50%, 10px); }
.mchart__end { position: absolute; left: calc(100% + 8px); transform: translateY(-50%); font-family: var(--font-round); font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap; }
.mchart__end small { font-size: 10px; margin-left: 1px; }
.mchart__end--us { color: var(--m-green); }
.mchart__end--minus { color: #cf5f37; }
.mchart__end--sub { color: #6f7a72; }
.msim__row-name { font-weight: 700; font-size: 14px; line-height: 1.5; }
.msim__row-name small { display: block; font-weight: 400; font-size: 12px; color: var(--m-sub); }
.msim__row-num { font-family: var(--font-round); font-weight: 700; font-size: 20px; text-align: right; white-space: nowrap; }
.msim__row-num small { font-size: 12px; margin-left: 2px; }
.msim__row.is-minus .msim__row-num { color: var(--m-cta); }
.msim__row.is-us .msim__row-num, .msim__row.is-us .msim__row-name { color: var(--m-green); }
.msim__big { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: #fff; }
.msim__big span { font-weight: 700; font-size: 14px; }
.msim__big b { font-family: var(--font-round); font-size: clamp(34px, 4.4vw, 44px); line-height: 1.1; color: var(--m-green); }
.msim__big b small { font-size: 15px; margin: 0 3px; }
.msim__extra { max-width: 900px; margin: 16px auto 0; font-size: 14px; line-height: 1.9; text-align: center; color: var(--m-sub); }
.msim__fold { max-width: 900px; margin-left: auto; margin-right: auto; background: var(--m-sand); }
.msim__srcs { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0 18px 16px; font-size: 13px; }
.msim__srcs a { color: var(--m-green); font-weight: 700; }
@media (max-width: 899px) {
  .msim { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .msim--solo .msim__model, .msim--multi .msim__model { gap: 14px; }
  .msim--multi .msim__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .msim--multi .msim__specs li { white-space: normal; }
  .msim--solo .msim__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .msim--solo .msim__specs li { white-space: normal; }
  .msim__model { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 14px 14px; padding: 16px; text-align: left; }
  .msim__badge { grid-column: 1 / -1; justify-self: start; }
  .msim__house { width: 56px; height: 56px; margin: 0; }
  .msim__specs { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 0; font-size: 12px; }
  .msim__specs li { padding: 5px 10px; word-break: keep-all; }
  .msim__split { padding: 18px 16px; }
  .msim__future { padding: 22px 16px 16px; }
  .msim__rows { grid-template-columns: 1fr; gap: 8px; }
  .msim__summary { font-size: 14px; text-align: left; }
  .msim__howto { justify-content: flex-start; }
  .msim__howto li { font-size: 11.5px; padding: 3px 10px; }
  .msim__row { padding: 10px 12px; }
  .msim__row-num { font-size: 18px; }
  .mchart { padding: 22px 78px 28px 40px; }
  .mchart__plot { height: 240px; }
  .mchart__y { left: -38px; width: 32px; font-size: 10px; }
  .mchart__mark { font-size: 10.5px; padding: 1px 7px; }
  .mchart__end { left: calc(100% + 5px); font-size: 12.5px; }
  .msim__extra { font-size: 13px; text-align: left; }
}

/* 「放っておくと」のタイル：スマホは横にスワイプ（縦に3枚積むと文字が続いて見える） */
.mrisks__hint { display: none; }
@media (max-width: 899px) {
  .mlp-sec .mrisks { display: flex; gap: 12px; margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mlp-sec .mrisks::-webkit-scrollbar { display: none; }
  .mlp-sec .mrisk { flex: 0 0 84%; scroll-snap-align: start; }
  .mrisks__hint { display: block; margin-top: 12px; font-size: 12px; color: var(--m-sub); text-align: right; }
}
/* サービスページのプラン：スマホは横にスワイプ（縦に3枚積むと長い文字が続く。見比べは比較表で） */
@media (max-width: 899px) {
  .mlp-sec .mplans__cards--2, .mlp-sec .mplans__cards--3 { display: flex; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 16px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .mlp-sec .mplans__cards--2::-webkit-scrollbar, .mlp-sec .mplans__cards--3::-webkit-scrollbar { display: none; }
  .mlp-sec .mplans__cards--2 .mplan, .mlp-sec .mplans__cards--3 .mplan { flex: 0 0 86%; scroll-snap-align: start; }
  .mlp-sec #plans .mlp-title, #plans .mlp-title { margin-bottom: 12px; }
  /* ご相談の流れ：1枚ずつを詰めて、縦の長さを抑える */
  .dflow { gap: 12px; }
  .dflow__body { padding: 16px 16px 14px; border-radius: 14px; }
  .dflow__title { font-size: 16px; }
  .dflow__text { margin-top: 4px; font-size: 13.5px; line-height: 1.8; }
}
