/* 2026-11 の作り直し。<html class="rd"> の時だけ効く。最後に読み込む。
   方針: 白と紺の2色に絞る／ヘッダーは細く、下の面の色に合わせる／最初の画面は写真を全面に／
   中盤の章は左に章の柱（縦書き）を立て、罫線と余白で組む。金は「ここが答え」の1か所（相談相手の章の持ち帰りの一文）だけ。 */

html.rd {
  --head:68px;
  --bar:68px;
  --rd-navy:#092b4f;
  --rd-paper:#fbfaf8;
  --rd-ecru:#fbf7ed;
  --rd-ice:#b9dcf0;
  --rd-mist:#edf2f6;
  --rd-line:rgba(9,43,79,.16);
  --rd-muted:#4b6377;
  --rd-gold:#b8912b;
  --rd-font:ZenBold,Zen,'Hiragino Kaku Gothic ProN','Hiragino Sans','Yu Gothic',Meiryo,sans-serif;
  --rd-radius:4px 56px 4px 4px;
  --rd-ease:cubic-bezier(.2,.7,.2,1);
  --wall:min(50vw, calc(80vw - 48svh));
}
@media (max-width:760px) {
  html.rd { --head:60px; --bar:60px; --rd-radius:3px 36px 3px 3px; }
}

/* ========== ヘッダー ========== */
html.rd .header {
  height:var(--bar);
  padding:0 var(--gutter);
  gap:20px;
  background:none;
  border:0;
  color:var(--rd-navy);
  font-family:var(--rd-font);
  transition:color .35s var(--rd-ease);
}
html.rd .header::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:var(--hb,#fbfaf8);
  border-bottom:1px solid var(--hl,rgba(9,43,79,.08));
  transition:opacity .35s var(--rd-ease), background-color .35s var(--rd-ease), border-color .35s var(--rd-ease);
}
html.rd[data-head="top"] .header::before { opacity:0; }
html.rd[data-head="ecru"] { --hb:#fbf7ed; }
html.rd[data-head="navy"] { --hb:#092b4f; --hl:rgba(255,255,255,.12); }
html.rd[data-head="navy"] .header { color:#fff; }

/* ロゴは色を変えられるよう、白い画像を型抜きにして塗る。 */
html.rd .header .brand picture {
  display:block;
  width:122px;
  aspect-ratio:1271 / 768;
  clip-path:inset(0 0 24% 0);
  transform:translateY(10%);
}
html.rd .header .brand img {
  width:100%;
  height:100%;
  clip-path:none;
  transform:none;
  /* 型抜きが使えないブラウザ向け: 白いロゴを濃い色に落として見せる。紺の面の上では白のまま。 */
  filter:brightness(0) saturate(100%) invert(13%) sepia(47%) saturate(2400%) hue-rotate(193deg) brightness(92%);
}
html.rd[data-head="navy"] .header .brand img { filter:none; }
@supports ((-webkit-mask-image:url('x')) or (mask-image:url('x'))) {
  html.rd .header .brand picture {
    background:currentColor;
    -webkit-mask:url('assets/mts-logo-official-white-2026-09-20-w384.webp') 0 0 / 100% 100% no-repeat;
    mask:url('assets/mts-logo-official-white-2026-09-20-w384.webp') 0 0 / 100% 100% no-repeat;
  }
  html.rd .header .brand img { opacity:0; filter:none; }
}
html.rd .header-tools {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px 5px 5px 26px;
  border-radius:999px;
  transition:background-color .35s var(--rd-ease), box-shadow .35s var(--rd-ease);
}
html.rd[data-head="top"] .header-tools {
  background:rgba(255,255,255,.9);
  box-shadow:0 10px 34px rgba(9,43,79,.14);
}
html.rd .header nav {
  margin-left:0;
  gap:28px;
  font-size:14px;
}
html.rd .header nav a { padding:10px 0; }
html.rd .header nav a::after { bottom:4px; background:currentColor; }
html.rd .header .motion {
  margin-left:14px;
  font-size:12.5px;
}
html.rd .header-cta {
  min-height:44px;
  padding:0 20px;
  gap:12px;
  border-radius:999px;
  background:var(--rd-navy);
  color:#fff;
  font-size:14px;
  font-weight:700;
  transition:background-color .25s, color .25s;
}
html.rd .header-cta:hover { background:#175b91; }
html.rd[data-head="navy"] .header-cta { background:#fff; color:var(--rd-navy); }
html.rd[data-head="navy"] .header-cta:hover { background:var(--rd-ice); }
/* 今いる場所を示す枠。明るい帯の上では濃い青、紺の帯の上では水色、空の上では白。 */
html.rd .header a:focus-visible, html.rd .header button:focus-visible { outline:3px solid #175b91; outline-offset:4px; }
html.rd[data-head="navy"] .header a:focus-visible, html.rd[data-head="navy"] .header button:focus-visible { outline-color:var(--rd-ice); }
html.rd .read-progress { top:calc(var(--bar) - 2px); }

@media (max-width:760px) {
  html.rd .header { gap:10px; }
  html.rd .header .brand picture { width:94px; }
  html.rd .header-tools { padding:0; gap:12px; background:none!important; box-shadow:none!important; }
  html.rd .header-cta { margin-left:0; min-height:40px; padding:0 15px; font-size:13px; gap:8px; }
  html.rd .header .motion { order:0; margin-left:0; width:48px; }
}

/* ========== 最初の画面 ========== */
/* 写真は最初から全面。舞台はヘッダーの下ではなく画面の上端から始める（--head を 0 にするのはこの章の中だけ）。 */
html.rd .opening {
  --head:0px;
  margin-top:calc(-1 * var(--bar));
}
html.rd.cinematic:not(.motion-paused) main > .agent-intro { margin-top:-100svh; }
html.rd #agent-intro { scroll-margin-top:0; }
html.rd .agent-intro { padding-top:calc(var(--bar) + 36px); background:var(--rd-paper); }
/* 白でそろえる: 生成りは最後の映像の章だけに残す。冒頭の受け渡しの面と、実績の本文の紙も白にする。 */
html.rd.cinematic .opening-preview { background:rgba(251,250,248,var(--portal-white,0)); }
html.rd .proof { --proof-paper:#fbfaf8; }
html.rd .opening .opening-stage { min-height:600px; }
html.rd.cinematic:not(.motion-paused) .opening .opening-stage { min-height:0; }
html.rd.cinematic.motion-paused .opening .opening-stage { min-height:600px; }
html.rd .opening .opening-room,
html.rd.cinematic.motion-paused .opening .opening-room {
  left:0;
  top:0;
  width:100%;
  height:100%;
  border-radius:0;
}
html.rd.motion-paused .opening-room .opening-poster,
html.rd:not(.photo-ready) .opening-room .opening-poster {
  object-position:80% 68%;
}

/* 見出しは写真の白い壁の上に置く。壁の幅（--wall）に収める。 */
html.rd .opening-copy {
  position:absolute;
  inset:0 auto 0 0;
  z-index:3;
  box-sizing:border-box;
  width:var(--wall);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:calc(var(--bar) + 1svh) 28px 15svh var(--gutter);
  font-family:var(--rd-font);
  mix-blend-mode:multiply;
}
html.rd .opening h1 {
  margin:.5em 0 .42em;
  font-size:clamp(34px, min(calc(var(--wall) * .113), 12.5svh), 88px);
  line-height:1.3;
  letter-spacing:-.055em;
  white-space:nowrap;
}
html.rd .opening-index { display:none; }
html.rd.cinematic .opening-next,
html.rd .opening .opening-next {
  inset:calc(var(--bar) + 15svh) auto auto var(--gutter);
  color:var(--rd-navy);
  text-shadow:none;
}
html.rd .opening .opening-next .opening-logo {
  width:min(34vw, calc(var(--wall) - var(--gutter) - 48px));
  filter:none;
}

/* 背の低い横長の画面（横向きのスマホなど）: 見出しまわりを詰める。 */
@media (max-height:560px) and (min-aspect-ratio:6/5) {
  html.rd .opening-copy { padding:calc(var(--bar) - 6px) 20px 9svh var(--gutter); }
  html.rd .opening h1 { margin:.28em 0 .26em; font-size:clamp(30px, min(calc(var(--wall) * .11), 11svh), 64px); line-height:1.26; }
  html.rd.cinematic .opening-next, html.rd .opening .opening-next { inset:calc(var(--bar) + 4svh) auto auto var(--gutter); }
  html.rd .opening .opening-next .opening-logo { width:min(30vw, 46svh); }
}

/* 見出しはその場で薄くなり、同じ壁の上でロゴと入れ替わる。 */
html.rd.v-herotext.cinematic:not(.motion-paused) .opening-copy {
  transform:translate3d(0,calc(var(--open,0) * -14px),0);
  opacity:calc(1 - var(--open,0) * 1.75);
}

/* 壁が狭い縦長の画面: 見出しは空の上に白で置く。 */
@media (max-aspect-ratio:6/5) {
  html.rd.motion-paused .opening-room .opening-poster,
  html.rd:not(.photo-ready) .opening-room .opening-poster {
    object-position:94% 68%;
  }
  html.rd[data-head="top"] .header { color:#fff; }
  html.rd[data-head="top"] .header a:focus-visible, html.rd[data-head="top"] .header button:focus-visible { outline-color:#fff; }
  html.rd[data-head="top"] .header-cta { background:#fff; color:var(--rd-navy); }
  html.rd[data-head="top"] .header-tools { background:none; box-shadow:none; }
  html.rd .opening-copy {
    inset:0;
    width:auto;
    justify-content:flex-start;
    padding:calc(var(--bar) + 6svh) var(--gutter) 0;
    color:#fff;
    mix-blend-mode:normal;
  }
  html.rd .opening-copy::before {
    content:'';
    position:absolute;
    inset:0 0 auto 0;
    height:54%;
    z-index:-1;
    background:linear-gradient(180deg,rgba(9,43,79,.7) 0%,rgba(9,43,79,.5) 55%,rgba(9,43,79,.18) 82%,rgba(9,43,79,0) 100%);
    pointer-events:none;
  }
  html.rd .opening h1 {
    margin:.42em 0 .36em;
    font-size:clamp(38px,11.4vw,88px);
    line-height:1.3;
    text-shadow:0 2px 26px rgba(9,43,79,.35);
  }
  html.rd .opening h1 .accent { color:inherit; }
  html.rd.cinematic .opening-next,
  html.rd .opening .opening-next {
    inset:calc(var(--bar) + 9svh) auto auto var(--gutter);
    color:#fff;
    text-shadow:0 2px 7px rgba(9,43,79,.45);
  }
  html.rd .opening .opening-next .opening-logo {
    width:min(72vw,420px);
    filter:brightness(0) invert(1) drop-shadow(0 2px 7px rgba(9,43,79,.35));
  }
}

/* 写真の輪の写真は、開いた直後には読み込ませない（冒頭の写真と回線を取り合うため）。
   head の小さなスクリプトが rd-hold を付け、輪のスクリプトが写真の住所を預かったら外す。外れなくても、読み込み完了の時に外れる。 */
html.rd-hold .orbit-card img { display:none; }

/* ========== 実績のあとの本文 ========== */
/* 写真の輪は、回りきるまで画面に留める。そのあとは本文が上にかぶさるのではなく、輪の舞台ごと上へ送られ、本文がその下に続く。 */
html.rd .proof-orbit.is-orbit-moving .orbit-journey { margin-bottom:0; }
html.rd .proof-orbit.is-orbit-moving .orbit-intro::before { content:none; }
html.rd .proof-orbit .orbit-intro {
  font-family:var(--rd-font);
  font-size:clamp(18px,2vw,28px);
  font-weight:700;
  line-height:1.85;
  letter-spacing:-.01em;
}
html.rd .proof-orbit .proof__facts {
  gap:clamp(28px,3.6vw,56px);
  margin-top:clamp(44px,6vw,88px);
}
html.rd .proof-fact {
  padding:24px 0 0;
  background:none;
  border:0;
  border-top:1px solid var(--rd-navy);
  border-radius:0;
  font-family:var(--rd-font);
}
html.rd .proof-fact > span {
  margin-bottom:20px;
  color:var(--rd-muted);
  font-size:12px;
  letter-spacing:.14em;
}
html.rd .proof-fact strong { font-size:clamp(21px,2.1vw,30px); line-height:1.45; }
html.rd .proof-fact p { margin-top:14px; font-size:15px; line-height:2; }
html.rd footer .consult-heading > p { font-size:15.5px; }

/* ========== 中盤の章の共通 ========== */
.rd-sec {
  position:relative;
  padding:clamp(84px,11vw,168px) var(--gutter);
  background:var(--rd-paper);
  color:var(--rd-navy);
  font-family:var(--rd-font);
  scroll-margin-top:var(--bar);
}
.rd-sec ol { margin:0; padding:0; list-style:none; }
.rd-sec p, .rd-sec li, .rd-sec th { word-break:auto-phrase; }
.rd-wrap {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(28px,4vw,48px);
}
.rd-rail {
  display:flex;
  align-items:center;
  gap:14px;
  margin:0;
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
}
.rd-rail__no { display:flex; align-items:center; gap:14px; }
.rd-rail__no::after { content:''; width:30px; height:1px; background:currentColor; opacity:.5; }
@media (min-width:1100px) {
  /* 章の柱は左の余白の中に立てる。本文の左端は全部の章でそろう。 */
  .rd-wrap { grid-template-columns:0 minmax(0,1fr); gap:0; }
  .rd-rail {
    position:sticky;
    top:calc(var(--bar) + 56px);
    align-self:start;
    flex-direction:column;
    gap:18px;
    width:24px;
    height:min(58svh,400px);
    margin-left:calc(var(--gutter) * -.5 - 12px);
  }
  .rd-rail__no::after { display:none; }
  .rd-rail__label { writing-mode:vertical-rl; font-size:13px; letter-spacing:.36em; }
  .rd-rail::after { content:''; flex:1; width:1px; background:currentColor; opacity:.22; }
}
.rd-h2 {
  margin:0;
  font-size:clamp(28px,3.5vw,52px);
  font-weight:900;
  line-height:1.42;
  letter-spacing:-.055em;
}
.rd-lead {
  margin:0;
  font-size:clamp(15.5px,1.2vw,17px);
  font-weight:400;
  line-height:2.05;
}
.rd-h2 + .rd-lead { margin-top:clamp(20px,2.4vw,32px); }
.rd-link {
  display:inline-flex;
  align-items:center;
  gap:18px;
  min-height:48px;
  font-size:15px;
  font-weight:700;
}
.rd-link > span {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid currentColor;
  border-radius:50%;
  font-family:Zen,'Hiragino Kaku Gothic ProN',sans-serif;
  font-size:20px;
  transition:background-color .25s, color .25s, transform .25s var(--rd-ease);
}
.rd-link:hover > span { background:var(--rd-navy); color:#fff; transform:rotate(45deg); }
.rd-sec a:focus-visible, .rd-sec button:focus-visible { outline:3px solid #175b91; outline-offset:5px; }

/* ========== 02 誰と進めるか ========== */
.rd-partner__grid { display:grid; gap:clamp(36px,5.4vw,84px); align-items:center; }
.rd-portrait { margin:0; }
.rd-portrait__img {
  position:relative;
  overflow:hidden;
  aspect-ratio:4 / 3;
  border-radius:var(--rd-radius);
  background:#d8d0c2;
}
.rd-portrait__img img { width:100%; height:100%; object-fit:cover; object-position:100% 30%; }
.rd-portrait figcaption {
  display:flex;
  align-items:baseline;
  gap:18px;
  margin-top:18px;
  font-size:13px;
}
.rd-portrait figcaption strong { font-size:21px; font-weight:900; letter-spacing:.06em; }
.rd-points { margin-top:clamp(28px,3vw,44px)!important; border-top:1px solid var(--rd-line); }
.rd-points li {
  display:flex;
  align-items:baseline;
  gap:22px;
  padding:19px 0;
  border-bottom:1px solid var(--rd-line);
  font-size:clamp(16px,1.35vw,19px);
}
.rd-points span { color:var(--rd-muted); font-size:12px; font-weight:700; letter-spacing:.12em; }
.rd-points strong { font-weight:700; }
/* 持ち帰りの一文。金の縦線はここだけ。 */
.rd-take {
  margin:clamp(28px,3vw,40px) 0 0;
  padding-left:20px;
  border-left:2px solid var(--rd-gold);
  font-size:15px;
  line-height:2;
}
@media (min-width:860px) {
  .rd-partner__grid { grid-template-columns:minmax(0,min(42%,580px)) minmax(0,1fr); }
  .rd-portrait__img { aspect-ratio:5 / 6; }
}

/* ========== 03 頼めること ========== */
.rd-services { padding-top:0; }
/* 上の余白を持たない章は、リンクで飛んだ時に見出しがヘッダーに貼り付かないよう、着地を少し手前にする。 */
.rd-services, .rd-pricing { scroll-margin-top:calc(var(--bar) + 44px); }
.rd-svcs { margin-top:clamp(36px,5vw,72px); border-bottom:1px solid var(--rd-line); }
.rd-svc {
  display:grid;
  gap:18px 40px;
  padding:clamp(36px,4.4vw,64px) 0;
  border-top:1px solid var(--rd-line);
  scroll-margin-top:var(--bar);
}
.rd-svc__name { display:flex; flex-direction:column; gap:7px; margin:0; }
.rd-svc__no { color:var(--rd-muted); font-size:12px; font-weight:700; letter-spacing:.14em; }
.rd-svc__name strong { font-size:clamp(19px,1.7vw,24px); font-weight:900; letter-spacing:-.02em; }
.rd-svc__name small { color:var(--rd-muted); font-size:12.5px; letter-spacing:.04em; }
.rd-svc h3 {
  margin:0;
  font-size:clamp(22px,2.3vw,33px);
  font-weight:900;
  line-height:1.45;
  letter-spacing:-.05em;
}
.rd-svc__body { margin:0; font-size:clamp(15px,1.15vw,16px); line-height:2; }
.rd-foot {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 24px;
  margin:28px 0 0;
  font-size:15px;
}
.rd-link--plain { text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; gap:6px; }
.rd-link--plain > span { width:auto; height:auto; border:0; font-size:17px; }
.rd-link--plain:hover > span { background:none; color:inherit; transform:translate(2px,-2px); }
@media (min-width:900px) {
  /* 名前・見出し・説明を横に3つ。上端をそろえ、罫線だけで区切る。 */
  .rd-svc { grid-template-columns:minmax(0,2.3fr) minmax(0,4.2fr) minmax(0,5.5fr); align-items:start; column-gap:clamp(32px,4vw,64px); }
  .rd-svc__name { padding-top:8px; }
  .rd-svc__body { padding-top:6px; }
}

/* ========== 04 費用の目安 ========== */
.rd-pricing { padding-top:0; }
.rd-price {
  display:grid;
  gap:clamp(28px,4vw,64px);
  padding:clamp(30px,5vw,80px);
  border-radius:var(--rd-radius);
  background:var(--rd-mist);
}
.rd-price table { width:100%; border-collapse:collapse; }
.rd-price thead th {
  padding:0 0 14px;
  border-bottom:1px solid var(--rd-navy);
  color:var(--rd-muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-align:left;
}
.rd-price thead th:last-child { text-align:right; }
.rd-price tbody th {
  padding:26px 16px 26px 0;
  border-bottom:1px solid var(--rd-line);
  font-size:clamp(16px,1.35vw,19px);
  font-weight:700;
  line-height:1.5;
  text-align:left;
  vertical-align:middle;
}
.rd-price tbody th small { display:block; margin-top:6px; color:var(--rd-muted); font-size:13.5px; font-weight:400; }
.rd-price tbody td {
  padding:18px 0;
  border-bottom:1px solid var(--rd-line);
  font-size:15px;
  font-weight:700;
  text-align:right;
  white-space:nowrap;
  vertical-align:middle;
}
.rd-price td strong {
  margin:0 5px 0 8px;
  font-size:clamp(34px,3.4vw,48px);
  font-weight:900;
  line-height:1;
  letter-spacing:-.03em;
}
.rd-price .featured td strong { font-size:clamp(46px,4.6vw,68px); }
.rd-price td small { color:var(--rd-muted); font-size:13px; font-weight:700; }
.rd-price td.private-price { font-size:16px; }
.rd-price__note { margin:18px 0 0; color:var(--rd-muted); font-size:13.5px; }
@media (max-width:600px) {
  .rd-price { padding:30px 18px 26px; gap:22px; }
  .rd-price tbody th { padding:20px 8px 20px 0; font-size:15.5px; }
  .rd-price tbody th small { font-size:12.5px; }
  .rd-price td strong { font-size:32px; margin:0 3px 0 5px; }
  .rd-price .featured td strong { font-size:40px; }
  .rd-price td small { font-size:12.5px; }
  .rd-price tbody td { font-size:13.5px; }
}
@media (min-width:900px) {
  .rd-price { grid-template-columns:minmax(0,4fr) minmax(0,7fr); align-items:start; }
}

/* ========== 05 最初の一歩（紺の締めの面） ========== */
.rd-contact { overflow:hidden; background:var(--rd-navy); color:#fff; }
.rd-contact::before {
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(56% 46% at 88% 0%,rgba(185,220,240,.17),transparent 70%),radial-gradient(46% 38% at 0% 100%,rgba(185,220,240,.08),transparent 70%);
  pointer-events:none;
}
.rd-contact a:focus-visible, .rd-contact button:focus-visible { outline-color:var(--rd-ice); }
.rd-contact .rd-card a:focus-visible, .rd-contact .rd-card button:focus-visible { outline-color:#175b91; }
/* 映像の章の上の帯は生成りの地。フッター共通の水色の枠では見えないので、明るい地用の色にする。 */
html.rd footer .consultation .section-top a:focus-visible { outline:3px solid #175b91; outline-offset:4px; }
/* 並びは 見出し→説明→申込みの札→手順。広い画面では札を右の列に置き、左の3つを札の高さの中央にそろえる。 */
.rd-contact__grid > .rd-card { margin-top:32px; }
.rd-steps {
  display:flex;
  flex-wrap:wrap;
  gap:12px 0;
  margin-top:clamp(28px,3.4vw,44px)!important;
  font-size:15px;
  font-weight:700;
}
.rd-steps li { display:flex; align-items:center; gap:10px; }
.rd-steps li + li::before { content:''; width:clamp(18px,2.6vw,40px); height:1px; margin:0 14px 0 4px; background:rgba(255,255,255,.45); }
.rd-steps span { color:var(--rd-ice); font-size:11px; letter-spacing:.12em; }
@media (max-width:600px) {
  .rd-steps { display:grid; gap:0; border-top:1px solid rgba(255,255,255,.2); }
  .rd-steps li { gap:16px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.2); }
  .rd-steps li + li::before { display:none; }
}
.rd-card {
  width:100%;
  max-width:560px;
  justify-self:end;
  padding:clamp(28px,3.4vw,48px);
  border-radius:var(--rd-radius);
  background:#fff;
  color:var(--rd-navy);
  box-shadow:0 30px 80px rgba(0,10,24,.36);
}
.rd-card p { margin:0; }
.rd-card__badge {
  display:inline-flex;
  padding:6px 14px;
  border-radius:999px;
  background:var(--rd-ice);
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
}
.rd-card .rd-card__title { margin:16px 0 8px; font-size:clamp(24px,2.4vw,32px); font-weight:900; letter-spacing:-.04em; line-height:1.4; }
.rd-card__text { color:var(--rd-muted); font-size:14.5px; line-height:1.9; }
.rd-btn {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  margin-top:24px;
  padding:0 11px 0 28px;
  border-radius:999px;
  background:var(--rd-navy);
  color:#fff;
  font-size:17px;
  font-weight:700;
  transition:background-color .25s;
}
.rd-btn > span {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#fff;
  color:var(--rd-navy);
  font-family:Zen,'Hiragino Kaku Gothic ProN',sans-serif;
  font-size:20px;
  transition:transform .25s var(--rd-ease);
}
.rd-btn:hover { background:#175b91; }
.rd-btn:hover > span { transform:rotate(45deg); }
.rd-card .rd-card__or { margin-top:26px; padding-top:22px; border-top:1px solid var(--rd-line); color:var(--rd-muted); font-size:13px; }
.rd-card__mail { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:8px; }
.rd-card__addr { font-size:clamp(17px,1.5vw,20px); font-weight:700; text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; padding:8px 0; }
.rd-card__copy { min-height:44px; padding:0 16px; border:1px solid var(--rd-navy); border-radius:999px; background:none; font-size:13px; font-weight:700; }
.rd-card__copy:hover { background:var(--rd-navy); color:#fff; }
.rd-card__done { display:block; color:var(--rd-muted); font-size:13px; }
.rd-card__done:not(:empty) { margin-top:10px; }
@media (min-width:900px) {
  .rd-contact__grid {
    display:grid;
    grid-template-columns:minmax(0,6fr) minmax(0,5fr);
    grid-template-rows:1fr auto auto auto 1fr;
    grid-template-areas:". card" "title card" "lead card" "steps card" ". card";
    column-gap:clamp(36px,5vw,80px);
  }
  .rd-contact__grid > .rd-h2 { grid-area:title; }
  .rd-contact__grid > .rd-lead { grid-area:lead; }
  .rd-contact__grid > .rd-steps { grid-area:steps; }
  .rd-contact__grid > .rd-card { grid-area:card; align-self:center; margin-top:0; }
}
@media (max-width:899.98px) {
  .rd-contact__grid > .rd-card { max-width:none; }
  .rd-contact__grid > .rd-steps { margin-top:36px!important; }
}
/* 結びの言葉。横書き2行で、相談の章の締めとして近くに置く。 */
.rd-closing {
  display:grid;
  justify-items:center;
  gap:clamp(18px,2vw,26px);
  margin:clamp(56px,6vw,88px) 0 0;
  padding-top:clamp(44px,5vw,72px);
  border-top:1px solid rgba(255,255,255,.18);
  text-align:center;
}
.rd-closing__main { font-size:clamp(26px,3.2vw,46px); font-weight:900; line-height:1.6; letter-spacing:-.04em; }
.rd-closing__main > span { display:block; }
.rd-closing small { color:var(--rd-ice); font-size:14.5px; letter-spacing:.1em; }

/* ========== フッター ========== */
/* 低い1段にまとめる（960px 以上）。ロゴは小さく、文字は控えめに。
   それより狭い幅は「ロゴと先頭へ / リンク / 地名と©」の3段。既存の重ねがけ（幅ごとの位置指定）は使わない。 */
html.rd body .footer-meta {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:0 28px;
  padding:20px var(--gutter);
  font-family:var(--rd-font);
  font-size:12.5px;
}
/* 押せる範囲は高さ 44px を保ち、画像の下にある小さな一文は picture の枠で切り落とす。 */
html.rd body .footer-meta .brand { flex:none; display:flex; align-items:center; width:92px; min-height:44px; }
html.rd body .footer-meta .brand picture { display:block; width:100%; aspect-ratio:1271 / 566; overflow:hidden; }
html.rd body .footer-meta .brand img { display:block; width:100%; height:auto; clip-path:none; }
html.rd body .footer-meta > span { order:0; font-size:11px; letter-spacing:.14em; opacity:.72; white-space:nowrap; }
html.rd body .footer-meta .footer-links { order:1; position:static; flex:none; gap:22px; }
html.rd body .footer-meta .footer-links a { display:inline-flex; align-items:center; min-height:44px; padding:0; font-size:12.5px; text-decoration-thickness:1px; }
html.rd body .footer-meta > .copyright { order:2; margin-left:auto; font-size:11.5px; opacity:.72; white-space:nowrap; }
html.rd body .footer-meta > .footer-top { order:3; flex:none; min-height:44px; margin-left:0; padding:0 18px 0 20px; gap:12px; font-size:12.5px; white-space:nowrap; }
html.rd body .footer-meta > .footer-top > span { font-size:17px; }
@media (max-width:959.98px) {
  html.rd body .footer-meta {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand top" "links links" "place copy";
    gap:0 16px;
    padding:22px var(--gutter) 20px;
  }
  html.rd body .footer-meta .brand { grid-area:brand; width:88px; }
  html.rd body .footer-meta > .footer-top { grid-area:top; }
  html.rd body .footer-meta .footer-links { grid-area:links; margin-top:14px; padding-top:4px; border-top:1px solid rgba(255,255,255,.16); }
  html.rd body .footer-meta > span { grid-area:place; }
  html.rd body .footer-meta > .copyright { grid-area:copy; margin-left:0; justify-self:end; }
}
@media (max-width:339.98px) {
  html.rd body .footer-meta { grid-template-areas:"brand top" "links links" "place place" "copy copy"; row-gap:0; }
  html.rd body .footer-meta > .copyright { justify-self:start; margin-top:6px; }
  html.rd body .footer-meta .footer-links { gap:16px; }
  html.rd body .footer-meta .brand { width:76px; }
  html.rd body .footer-meta > .footer-top { padding:0 14px 0 16px; gap:8px; font-size:12px; }
}

/* ========== とても狭い幅（340px 未満。折りたたみ端末の外側の画面や、細くしたブラウザの欄） ========== */
html.rd .header-cta { white-space:nowrap; }
@media (max-width:339.98px) {
  html.rd .header { gap:8px; }
  html.rd .header .brand picture { width:80px; }
  html.rd .header-tools { gap:6px; }
  html.rd .header-cta { padding:0 13px; font-size:12.5px; }
  html.rd .header-cta > span { display:none; }
  html.rd .header .motion { width:40px; }
  /* 「動きを止める」の文字は読み上げ用に残し、記号だけ見せる。 */
  html.rd .header .motion [data-motion-label] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .rd-price { padding:26px 14px 22px; }
  .rd-price tbody th { padding-right:6px; font-size:13.5px; word-break:auto-phrase; }
  .rd-price td strong { margin:0 2px 0 3px; font-size:25px; }
  .rd-price .featured td strong { font-size:30px; }
  .rd-price tbody td { font-size:12.5px; }
  .rd-price td.private-price { font-size:14.5px; }
  .rd-btn { min-height:54px; padding:0 8px 0 16px; font-size:13px; white-space:nowrap; }
  .rd-btn > span { width:36px; height:36px; font-size:17px; }
  html.rd .consultation-film__bridge > span { font-size:8.6vw; }
}

/* ========== 出現の動き（動きが有効な時だけ隠す。止めている時・JSなしは最初から見える） ========== */
html.rd-js.cinematic:not(.motion-paused) [data-rd] {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s var(--rd-ease), transform .7s var(--rd-ease);
  transition-delay:calc(var(--i,0) * 90ms);
}
html.rd-js.cinematic:not(.motion-paused) [data-rd].rd-in { opacity:1; transform:none; }
.rd-ln { display:block; overflow:hidden; padding:.14em .08em .16em; margin:-.14em -.08em -.16em; }
.rd-ln > span { display:block; }
html.rd-js.cinematic:not(.motion-paused) .rd-h2 .rd-ln > span {
  transform:translateY(112%);
  transition:transform .9s cubic-bezier(.19,1,.22,1);
  transition-delay:calc(var(--l,0) * 110ms);
}
html.rd-js.cinematic:not(.motion-paused) .rd-h2.rd-in .rd-ln > span { transform:none; }
.rd-mask::after {
  content:'';
  position:absolute;
  inset:0;
  background:var(--rd-mist);
  transform:scaleX(0);
  transform-origin:right;
  pointer-events:none;
}
html.rd-js.cinematic:not(.motion-paused) .rd-mask::after { transform:scaleX(1); transition:transform 1s cubic-bezier(.77,0,.18,1); }
html.rd-js.cinematic:not(.motion-paused) .rd-mask.rd-in::after { transform:scaleX(0); }
html.rd-js.cinematic:not(.motion-paused) .rd-mask img { transform:scale(1.08); transition:transform 1.5s var(--rd-ease); }
html.rd-js.cinematic:not(.motion-paused) .rd-mask.rd-in img { transform:none; }
@media (prefers-reduced-motion:reduce) {
  [data-rd], .rd-h2 .rd-ln > span, .rd-mask img { opacity:1!important; transform:none!important; transition:none!important; }
  .rd-mask::after { display:none; }
}

/* 写真の輪の下の案内は出さない。枠は輪の位置の計算に使うので、場所だけ残す。 */
html.rd .orbit-foot { visibility:hidden; }
/* 注釈を消したぶん、実績の章の下の余白を詰める。 */
html.rd .proof { padding-bottom:clamp(24px,3vw,48px); }
