/*!
Theme Name: COCORO 2026
Theme URI: https://cocoro-web.jp/
Author: Kazuki Kikuchi
Author URI: https://cocoro-web.jp/
Description: COCORO 事業サイト（2026年リニューアル版）。SCSSは使わず、このファイルを直接編集します。
Version: 2.0.0
Requires PHP: 7.4
*/

/* =========================================================
   COCORO リニューアル案 v3
   読む人：30〜50代の営業担当者・Web担当者（真面目なビジネスの方）
   方針：安心・信頼。白とグレーの面に紺の文字、オレンジは行動してほしい所だけ。
   ========================================================= */
:root {
  --navy: #1f3344;       /* ロゴの紺：見出し・濃い面 */
  --navy-2: #2a4256;
  --orange: #ee7203;     /* ロゴのオレンジ：ボタン・強調 */
  --orange-d: #d86400;
  --orange-ink: #c25a00; /* 白地の小さい文字用 */
  --orange-pale: #fff4ea;
  --gray: #f3f5f7;       /* セクションの面 */
  --gray-2: #e8ecf0;
  --white: #ffffff;
  --ink: #26323d;        /* 本文 */
  --muted: #5d6975;
  --rule: #dde3e8;

  --f-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-en: "Montserrat", "Noto Sans JP", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(18px, 4.5vw, 40px);
  --r: 8px;
  --shadow: 0 12px 32px rgba(31, 51, 68, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-jp); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } .pc { display: none; } }

.preview-bar { background: var(--navy); color: #ffd2a8; font-size: 12px; text-align: center; padding: 6px 16px; line-height: 1.6; }
.preview-bar a { color: var(--white); }

/* ---------- 見出し ---------- */
.ttl { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.ttl__en { font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .2em; color: var(--orange-ink); text-transform: uppercase; }
.ttl__ja { margin-top: 6px; font-weight: 700; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.5; color: var(--navy); }
.ttl__lead { margin: 18px auto 0; max-width: 40em; color: var(--muted); }
.ttl--left { text-align: left; }
.ttl--left .ttl__lead { margin-left: 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 32px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none; line-height: 1.4;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn--cv { background: var(--orange); color: var(--white); box-shadow: 0 6px 16px rgba(238,114,3,.28); }
.btn--cv:hover { background: var(--orange-d); transform: translateY(-1px); }
.btn--line { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--line:hover { background: var(--gray); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--gray); }
.btn small { font-size: 12px; font-weight: 500; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--rule); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.hd__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.hd__logo img { width: 140px; }
.hd__logo span { font-size: 11px; color: var(--muted); line-height: 1.5; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { display: flex; gap: 24px; }
.nav__list a { font-size: 14px; font-weight: 500; text-decoration: none; }
.nav__list a:hover { color: var(--orange-ink); }
.nav__tel { text-align: right; line-height: 1.3; font-size: 12px; color: var(--muted); }
.nav__tel b { display: block; font-family: var(--f-en); font-size: 14px; color: var(--navy); letter-spacing: .02em; }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
.menu { display: none; }
@media (max-width: 1080px) {
  .nav__tel { display: none; }
}
@media (max-width: 960px) {
  .hd__logo span { display: none; }
  .menu { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 6px; background: var(--navy); color: var(--white); font-family: var(--f-en); font-size: 10px; font-weight: 700; letter-spacing: .1em; cursor: pointer; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px var(--gutter) 32px; background: var(--white); box-shadow: 0 16px 24px rgba(0,0,0,.08); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  .is-open .nav { visibility: visible; opacity: 1; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--rule); font-size: 16px; }
}

/* ---------- ファーストビュー ---------- */
.fv { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--gray) 0%, var(--white) 100%); }
.fv__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px); }
.fv__area { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); font-size: 13px; font-weight: 500; color: var(--navy); }
.fv__area::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.fv__title { margin-top: 22px; font-weight: 700; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.45; color: var(--navy); letter-spacing: .04em; }
.fv__title em { font-style: normal; color: var(--orange); }
.fv__lead { margin-top: 20px; font-size: clamp(15px, 1.5vw, 17px); color: var(--ink); }
.fv__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fv__checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; font-weight: 500; color: var(--navy); }
.fv__checks li { display: flex; align-items: center; gap: 8px; }
.fv__checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* 実際に作ったサイトを、ブラウザ画面として重ねて見せる */
.shots { position: relative; aspect-ratio: 1 / .78; }
.browser { position: absolute; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: 0 24px 48px rgba(31,51,68,.18), 0 2px 6px rgba(31,51,68,.08); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #eef1f4; border-bottom: 1px solid var(--rule); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6dc; }
.browser__bar span { margin-left: 10px; flex: 1; height: 14px; border-radius: 7px; background: var(--white); }
.browser img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }
.browser--1 { left: 0; top: 0; width: 78%; z-index: 1; }
.browser--2 { right: 0; top: 30%; width: 66%; z-index: 2; }
.browser--3 { left: 8%; bottom: 0; width: 54%; z-index: 3; }
.shots__badge {
  position: absolute; right: 4%; bottom: 6%; z-index: 4; display: grid; place-content: center; text-align: center;
  width: 124px; height: 124px; border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: var(--shadow);
  font-size: 12px; line-height: 1.4;
}
.shots__badge b { font-family: var(--f-en); font-size: 30px; line-height: 1.1; color: #ffb066; }
@media (max-width: 900px) {
  .fv__in { grid-template-columns: 1fr; }
  .shots { max-width: 560px; width: 100%; margin-inline: auto; }
  .shots__badge { width: 100px; height: 100px; font-size: 11px; }
  .shots__badge b { font-size: 24px; }
}

/* 数字の帯 */
.nums { position: relative; z-index: 2; margin-top: -40px; }
.nums__list { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.nums__item { padding: 26px 16px; text-align: center; }
.nums__item + .nums__item { border-left: 1px solid var(--rule); }
.nums__label { font-size: 13px; color: var(--muted); }
.nums__val { margin-top: 2px; font-weight: 700; color: var(--navy); font-size: 15px; }
.nums__val b { font-family: var(--f-en); font-size: clamp(28px, 3.4vw, 38px); color: var(--orange); margin-right: 2px; letter-spacing: 0; }
@media (max-width: 760px) {
  .nums { margin-top: -24px; }
  .nums__list { grid-template-columns: 1fr 1fr; }
  .nums__item:nth-child(3) { border-left: 0; }
  .nums__item:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- セクション ---------- */
.sec { padding-block: clamp(72px, 9vw, 112px); }
.sec--gray { background: var(--gray); }

/* お悩み別 */
.worry { display: grid; grid-template-columns: 300px 1fr; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.worry__tabs { background: var(--navy); padding: 12px; display: grid; gap: 4px; align-content: start; }
.worry__tab {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 16px 16px; border: 0; border-radius: 6px; background: transparent; color: rgba(255,255,255,.85);
  text-align: left; font-weight: 500; font-size: 15px; line-height: 1.5; cursor: pointer; transition: background .15s;
}
.worry__tab::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; }
.worry__tab:hover { background: rgba(255,255,255,.08); }
.worry__tab[aria-selected="true"] { background: var(--white); color: var(--navy); font-weight: 700; }
.worry__tab[aria-selected="true"]::after { opacity: 1; color: var(--orange); }
.worry__panel { padding: clamp(24px, 4vw, 44px); }
.worry__q { display: inline-block; padding: 4px 12px; border-radius: 4px; background: var(--orange-pale); color: var(--orange-ink); font-size: 13px; font-weight: 700; }
.worry__h { margin-top: 12px; font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; line-height: 1.55; color: var(--navy); }
.worry__a { margin-top: 12px; }
.worry__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.worry__fact { padding: 16px; border-radius: 6px; background: var(--gray); }
.worry__fact dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.worry__fact dd { margin-top: 2px; font-weight: 700; color: var(--navy); line-height: 1.55; }
.worry__fact dd b { font-family: var(--f-en); font-size: 22px; color: var(--orange); letter-spacing: 0; }
.worry__do { margin-top: 20px; display: grid; gap: 6px; }
.worry__do li { position: relative; padding-left: 26px; }
.worry__do li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.worry__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.worry__foot small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .worry { grid-template-columns: 1fr; }
  .worry__tabs { grid-template-columns: 1fr 1fr; }
  .worry__tab { font-size: 13px; padding: 12px; }
}
@media (max-width: 560px) { .worry__facts { grid-template-columns: 1fr; } }

/* サービス */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc__item { padding: 32px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); }
.svc__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange-pale); color: var(--orange); }
.svc__icon svg { width: 28px; height: 28px; }
.svc__h { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.svc__t { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.85; }
@media (max-width: 1000px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }

/* 選ばれる理由 */
.reason { display: grid; gap: 24px; }
.reason__item { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.reason__item:nth-child(even) .reason__body { order: -1; }
.reason__visual { position: relative; display: grid; place-content: center; padding: 36px; background: var(--navy); color: var(--white); text-align: center; }
.reason__visual b { font-family: var(--f-en); font-size: clamp(44px, 6vw, 68px); line-height: 1; color: #ffb066; letter-spacing: 0; }
.reason__visual b small { font-family: var(--f-jp); font-size: 18px; color: var(--white); margin-left: 4px; }
.reason__visual span { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.reason__body { padding: clamp(28px, 4vw, 48px); }
.reason__no { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .16em; color: var(--orange-ink); }
.reason__h { margin-top: 8px; font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; line-height: 1.55; color: var(--navy); }
.reason__t { margin-top: 14px; color: var(--ink); }
@media (max-width: 800px) {
  .reason__item { grid-template-columns: 1fr; }
  .reason__item:nth-child(even) .reason__body { order: 0; }
  .reason__visual { padding: 28px; }
}

/* 実績 */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work { display: block; text-decoration: none; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.work:hover { transform: translateY(-3px); }
.work__img { aspect-ratio: 2 / 1; overflow: hidden; background: var(--gray-2); }
.work__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work__body { padding: 18px 22px 22px; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work__tags span { padding: 2px 10px; border-radius: 4px; background: var(--gray); font-size: 12px; color: var(--muted); }
.work__tags span:first-child { background: var(--orange-pale); color: var(--orange-ink); font-weight: 700; }
.work__h { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--navy); }
.works__more { margin-top: 20px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 700px) { .works { grid-template-columns: 1fr; } }

/* 代理店さまバナー */
.pbn { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px); border-radius: var(--r); background: var(--navy); color: var(--white); text-decoration: none; position: relative; overflow: hidden; transition: background .2s; }
.pbn:hover { background: var(--navy-2); }
.pbn::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--orange); }
.pbn__for { display: inline-block; padding: 3px 12px; border-radius: 4px; background: var(--orange); font-size: 13px; font-weight: 700; }
.pbn__h { margin-top: 12px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; line-height: 1.55; }
.pbn__t { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.8); }
.pbn__go { justify-self: end; }
@media (max-width: 800px) { .pbn { grid-template-columns: 1fr; } .pbn__go { justify-self: start; } }

/* 料金 */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; background: var(--white); border-radius: var(--r); border: 1px solid var(--rule); }
.plan--main { border: 2px solid var(--orange); position: relative; }
.plan--main::before { content: "いちばん多いご相談"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 2px 14px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan__h { font-size: 18px; font-weight: 700; color: var(--navy); text-align: center; }
.plan__s { margin-top: 4px; font-size: 13px; color: var(--muted); text-align: center; }
.plan__p { margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); text-align: center; font-weight: 700; color: var(--navy); }
.plan__p b { font-family: var(--f-en); font-size: 36px; letter-spacing: 0; }
.plan__list { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
.plan__list li { display: flex; justify-content: space-between; gap: 12px; }
.plan__list li span:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.price__note { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; }
.flow__item { position: relative; padding: 28px 18px 24px; background: var(--white); border-radius: var(--r); border: 1px solid var(--rule); text-align: center; }
.flow__item::before { counter-increment: f; content: "STEP " counter(f, decimal-leading-zero); display: block; font-family: var(--f-en); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--orange-ink); }
.flow__item:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; z-index: 1; width: 8px; height: 8px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: translateY(-50%) rotate(45deg); }
.flow__h { margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--navy); }
.flow__t { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.8; text-align: left; }
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; }
  .flow__item { display: grid; grid-template-columns: 120px 1fr; text-align: left; column-gap: 16px; padding: 20px; }
  .flow__item::before { grid-row: span 2; align-self: center; }
  .flow__item:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -11px; transform: translateX(-50%) rotate(135deg); }
  .flow__h { margin-top: 0; }
}
@media (max-width: 480px) { .flow__item { grid-template-columns: 1fr; } .flow__item::before { grid-row: auto; } }

/* 代表メッセージ */
.msg { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.msg__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.msg__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.msg__h { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; line-height: 1.6; color: var(--navy); }
.msg__t { margin-top: 20px; }
.msg__t p + p { margin-top: 1em; }
.msg__sign { margin-top: 24px; font-size: 14px; color: var(--muted); }
.msg__sign b { margin-left: 10px; font-size: 20px; color: var(--navy); letter-spacing: .12em; }
.msg .btn { margin-top: 28px; }
@media (max-width: 860px) { .msg { grid-template-columns: 1fr; } .msg__photo { max-width: 360px; } }

/* よくあるご質問 */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--r); border: 1px solid var(--rule); }
.faq summary { position: relative; display: block; padding: 20px 56px 20px 60px; font-weight: 700; line-height: 1.7; cursor: pointer; list-style: none; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--f-en); font-size: 14px; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { position: relative; padding: 0 28px 22px 60px; }
.faq details p::before { content: "A"; position: absolute; left: 20px; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--white); font-family: var(--f-en); font-size: 14px; font-weight: 700; }

/* CTA */
.cta { background: var(--navy); color: var(--white); text-align: center; }
.cta__in { padding-block: clamp(64px, 8vw, 96px); }
.cta__h { font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; line-height: 1.5; }
.cta__t { margin: 16px auto 0; max-width: 36em; color: rgba(255,255,255,.85); }
.cta__box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 36px auto 0; }
.cta__card { padding: 24px; border-radius: var(--r); background: var(--white); color: var(--ink); }
.cta__card p { font-size: 14px; color: var(--muted); }
.cta__card .btn { width: 100%; margin-top: 12px; }
.cta__mail { font-family: var(--f-en); font-weight: 700; font-size: 18px; color: var(--navy); margin-top: 18px; letter-spacing: .02em; word-break: break-all; }
.cta__small { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.7); }
@media (max-width: 700px) { .cta__box { grid-template-columns: 1fr; } }

/* フッター */
.ft { background: #172836; color: rgba(255,255,255,.85); padding-block: 56px 28px; }
.ft__in { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.ft__logo { display: inline-block; padding: 10px 14px; border-radius: 6px; background: var(--white); }
.ft__logo img { width: 140px; }
.ft__txt { margin-top: 16px; font-size: 13px; line-height: 2; color: rgba(255,255,255,.7); }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; font-size: 14px; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { color: #ffb066; }
.ft__copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--f-en); font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 700px) { .ft__in { grid-template-columns: 1fr; } }

/* ---------- v4：会社の考え方＋顔の見える窓口 ---------- */
.fv__vision { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--orange-ink); }

/* 代表が窓口の帯 */
.rep { padding-block: clamp(56px, 7vw, 88px) 0; }
.rep__box { display: grid; grid-template-columns: 200px 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--orange-pale); }
.rep__photo { width: 200px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow); }
.rep__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.rep__h { font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--navy); line-height: 1.55; }
.rep__t { margin-top: 10px; }
.rep__sign { margin-top: 12px; font-size: 13px; color: var(--muted); }
.rep__sign b { margin-left: 8px; font-size: 17px; color: var(--navy); letter-spacing: .1em; }
@media (max-width: 900px) {
  .rep__box { grid-template-columns: 1fr; text-align: left; }
  .rep__photo { width: 140px; }
}

/* 大切にしている3つのこと */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.pillar__head { padding: 28px 28px 22px; background: var(--navy); color: var(--white); }
.pillar__en { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: #ffb066; }
.pillar__ja { margin-top: 2px; font-size: 30px; font-weight: 700; letter-spacing: .12em; }
.pillar__body { flex: 1; padding: 24px 28px 28px; }
.pillar__h { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.pillar__t { margin-top: 10px; font-size: 15px; }
.pillar__proof { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: 14px; }
.pillar__proof li { display: flex; justify-content: space-between; gap: 12px; }
.pillar__proof span:last-child { font-weight: 700; color: var(--navy); text-align: right; }
.pillar__proof b { font-family: var(--f-en); color: var(--orange); font-size: 18px; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* 体制 */
.team { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.team__t p + p { margin-top: 1em; }
.team__map { display: grid; grid-template-columns: 1fr 64px 1.2fr 64px 1fr; align-items: center; }
.team__node { padding: 22px 14px; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); text-align: center; font-size: 13px; color: var(--muted); line-height: 1.6; }
.team__node b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.team__node--center { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.8); padding: 26px 14px; }
.team__node--center b { color: var(--white); }
.team__node--center img { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid var(--orange); }
.team__link { position: relative; height: 2px; background: var(--orange); }
.team__link::before, .team__link::after { content: ""; position: absolute; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.team__link::before { left: 0; transform: rotate(-135deg); }
.team__link::after { right: 0; transform: rotate(45deg); }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .team__map { grid-template-columns: 1fr; gap: 0; }
  .team__link { width: 2px; height: 32px; margin: 0 auto; }
  .team__link::before { left: -4px; top: 0; transform: rotate(-45deg); }
  .team__link::after { left: -4px; right: auto; top: auto; bottom: 0; transform: rotate(135deg); }
}

/* =========================================================
   v5：デザイン性と動き
   ========================================================= */
.btn { border-radius: 4px; }
.btn--cv { box-shadow: none; }
.btn--round { border-radius: 999px; }

/* セクション見出し（左寄せ・番号つき） */
.shead { display: grid; grid-template-columns: auto 1fr; gap: 8px clamp(20px, 3vw, 40px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.shead__no { grid-row: span 2; font-family: var(--f-en); font-weight: 700; font-size: clamp(64px, 9vw, 120px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--navy); opacity: .9; }
.shead__en { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .24em; color: var(--orange-ink); text-transform: uppercase; }
.shead__ja { font-weight: 900; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.4; color: var(--navy); letter-spacing: .02em; }
.shead__lead { grid-column: 2; max-width: 40em; color: var(--muted); margin-top: 8px; }
.shead--light .shead__no { -webkit-text-stroke-color: rgba(255,255,255,.6); }
.shead--light .shead__ja { color: var(--white); }
.shead--light .shead__en { color: #ffb066; }
.shead--light .shead__lead { color: rgba(255,255,255,.75); }
@media (max-width: 640px) { .shead { grid-template-columns: 1fr; } .shead__no { grid-row: auto; font-size: 56px; } .shead__lead { grid-column: 1; } }

/* ---- ヒーロー ---- */
.hero5 { position: relative; overflow: hidden; background: var(--white); }
.hero5__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.hero5__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .1em; }
.hero5__meta::before { content: ""; width: 40px; height: 2px; background: var(--orange); }
.hero5__h { margin-top: 26px; font-weight: 900; font-size: clamp(38px, 6.2vw, 80px); line-height: 1.28; color: var(--navy); letter-spacing: .01em; }
.hero5__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero5__line > span { display: inline-block; }
.hito { position: relative; display: inline-block; color: var(--orange); padding: 0 .08em; }
.hito svg { position: absolute; left: -32%; top: -26%; width: 164%; height: 152%; overflow: visible; pointer-events: none; }
.hito path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.hero5__lead { margin-top: 28px; max-width: 30em; font-size: clamp(15px, 1.5vw, 17px); }
.hero5__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero5__stage { position: relative; aspect-ratio: 1 / .86; }
.rings { position: absolute; inset: -6% -14% -6% -4%; z-index: 0; }
.rings circle { fill: none; stroke-width: 34; stroke-linecap: round; }
.rings .r1 { stroke: var(--orange); opacity: .9; stroke-dasharray: 1100; stroke-dashoffset: 0; }
.rings .r2 { stroke: #dcc8b8; stroke-dasharray: 1100; stroke-dashoffset: 0; }
.rings g { transform-origin: 300px 250px; }
.hero5__stage .browser { box-shadow: 0 30px 60px rgba(31,51,68,.22); border-radius: 6px; }
.hero5__stage .browser--1 { left: 2%; top: 6%; width: 74%; }
.hero5__stage .browser--2 { right: 0; top: 36%; width: 62%; }
.hero5__stage .browser--3 { left: 12%; bottom: 0; width: 50%; }
.hero5__stage .shots__badge { right: 2%; bottom: 4%; border-radius: 50%; }
@media (max-width: 900px) {
  .hero5__in { grid-template-columns: 1fr; }
  .hero5__stage { max-width: 560px; width: 100%; margin: 12px auto 0; }
}

/* 流れる帯（旧サイトの COCORO の帯へのオマージュ） */
.ticker { overflow: hidden; border-block: 1px solid var(--rule); background: var(--white); }
.ticker__track { display: flex; width: max-content; }
.ticker__track span { flex: none; padding: 18px 28px; font-family: var(--f-en); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: .08em; color: var(--navy); white-space: nowrap; }
.ticker__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--navy); }
.ticker__track span::after { content: "●"; margin-left: 56px; font-size: .4em; vertical-align: middle; color: var(--orange); -webkit-text-stroke: 0; }

/* 数字 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(24px, 3vw, 36px) 20px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat__val { font-weight: 700; color: var(--navy); font-size: 15px; }
.stat__val b { font-family: var(--f-en); font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--navy); letter-spacing: -.02em; margin-right: 4px; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 8px; font-size: 13px; color: var(--muted); }
.stat__sub { margin-top: 6px; font-size: 11px; color: var(--muted); line-height: 1.6; opacity: .85; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }

/* 代表の帯（左に写真、右に言葉） */
.face { background: var(--navy); color: var(--white); overflow: hidden; }
.face__in { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.face__photo { position: relative; min-height: 420px; }
.face__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.face__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--navy)); }
.face__body { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px); max-width: 640px; }
.face__en { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .24em; color: #ffb066; }
.face__q { margin-top: 16px; font-weight: 900; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.55; }
.face__q em { font-style: normal; color: #ffb066; }
.face__t { margin-top: 18px; color: rgba(255,255,255,.82); }
.face__sign { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.7); }
.face__sign b { margin-left: 10px; font-size: 20px; color: var(--white); letter-spacing: .14em; }
.face .btn { margin-top: 28px; }
@media (max-width: 860px) {
  .face__in { grid-template-columns: 1fr; }
  .face__photo { min-height: 360px; }
  .face__photo::after { background: linear-gradient(180deg, transparent 60%, var(--navy)); }
  .face__body { padding: 32px var(--gutter) 48px; }
}

/* 人柄・知見・経験（大きな漢字） */
.kanji { border-top: 2px solid var(--navy); }
.kanji__row { display: grid; grid-template-columns: minmax(200px, 1fr) 1.6fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; padding-block: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--rule); transition: background .3s; }
.kanji__row:hover { background: var(--gray); }
.sec--gray .kanji__row:hover { background: var(--white); }
.kanji__big { display: flex; align-items: baseline; gap: 14px; }
.kanji__big b { font-weight: 900; font-size: clamp(64px, 8vw, 112px); line-height: 1; color: var(--navy); letter-spacing: .02em; transition: color .3s; }
.kanji__row:hover .kanji__big b { color: var(--orange); }
.kanji__big span { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--muted); writing-mode: vertical-rl; }
.kanji__h { font-size: clamp(18px, 2vw, 21px); font-weight: 700; color: var(--navy); line-height: 1.6; }
.kanji__t { margin-top: 10px; font-size: 15px; }
.kanji__proof { display: grid; gap: 14px; }
.kanji__proof li { padding-left: 16px; border-left: 3px solid var(--orange); font-size: 13px; color: var(--muted); line-height: 1.5; }
.kanji__proof b { display: block; font-size: 16px; color: var(--navy); }
.kanji__proof b i { font-style: normal; font-family: var(--f-en); font-size: 24px; color: var(--orange); }
@media (max-width: 900px) { .kanji__row { grid-template-columns: 1fr; } .kanji__proof { grid-template-columns: 1fr 1fr; } }

/* サービス（線で区切る4列） */
.svc5 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.svc5__item { position: relative; padding: 36px 28px 40px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); overflow: hidden; transition: color .3s; }
.svc5__item::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.7,.2,1); z-index: 0; }
.svc5__item > * { position: relative; z-index: 1; }
.svc5__item:hover::before { transform: none; }
.svc5__item:hover { color: rgba(255,255,255,.85); }
.svc5__item:hover .svc5__h { color: var(--white); }
.svc5__no { font-family: var(--f-en); font-weight: 700; font-size: 13px; color: var(--orange-ink); letter-spacing: .14em; }
.svc5__item:hover .svc5__no { color: #ffb066; }
.svc5__icon { display: block; width: 44px; height: 44px; margin-top: 28px; color: var(--orange); }
.svc5__h { margin-top: 18px; font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.5; transition: color .3s; }
.svc5__t { margin-top: 10px; font-size: 14px; line-height: 1.85; }
@media (max-width: 1000px) { .svc5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc5 { grid-template-columns: 1fr; } }

/* 制作実績：流れるサイト画面 */
.reel { overflow: hidden; padding-block: 8px 24px; }
.reel__track { display: flex; gap: 28px; width: max-content; }
.reel__item { flex: none; width: clamp(280px, 34vw, 460px); text-decoration: none; }
.reel__img { aspect-ratio: 2 / 1; overflow: hidden; border-radius: 6px; box-shadow: 0 16px 36px rgba(31,51,68,.14); background: var(--gray-2); }
.reel__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.reel__item:hover .reel__img img { transform: scale(1.05); }
.reel__cap { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.reel__cap b { font-size: 17px; color: var(--navy); }
.reel__cap span { font-size: 12px; color: var(--muted); }
.reel:hover .reel__track { animation-play-state: paused; }

/* 代理店さまバナー（全幅） */
.pbn5 { display: block; position: relative; overflow: hidden; background: var(--orange); color: var(--white); text-decoration: none; }
.pbn5__in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding-block: clamp(40px, 6vw, 72px); }
.pbn5__for { font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.pbn5__h { margin-top: 10px; font-weight: 900; font-size: clamp(22px, 3.2vw, 36px); line-height: 1.5; }
.pbn5__arrow { display: grid; place-items: center; width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--white); transition: background .3s, color .3s; }
.pbn5__arrow svg { width: 32%; transition: transform .3s; }
.pbn5:hover .pbn5__arrow { background: var(--white); color: var(--orange); }
.pbn5:hover .pbn5__arrow svg { transform: translateX(6px); }
.pbn5__bg { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); font-family: var(--f-en); font-weight: 700; font-size: clamp(80px, 14vw, 200px); color: rgba(255,255,255,.1); white-space: nowrap; pointer-events: none; }

/* 流れ（線が伸びる） */
.flow5 { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.flow5__line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--rule); }
.flow5__line i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(1); }
.flow5__item { position: relative; padding-top: 64px; }
.flow5__item::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 4px solid var(--orange); }
.flow5__no { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--orange-ink); }
.flow5__h { margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--navy); }
.flow5__t { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.8; }
@media (max-width: 900px) {
  .flow5 { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .flow5__line { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow5__line i { transform-origin: top; }
  .flow5__item { padding: 0 0 28px; }
  .flow5__item::before { left: -36px; top: 4px; }
}

/* 最後の相談（オレンジ全面ではなく紺＋大きな文字） */
.cta5 { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.cta5__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(72px, 9vw, 120px); }
.cta5__h { font-weight: 900; font-size: clamp(32px, 5vw, 60px); line-height: 1.35; }
.cta5__h em { font-style: normal; color: #ffb066; }
.cta5__t { margin-top: 18px; color: rgba(255,255,255,.82); max-width: 30em; }
.cta5__card { padding: 32px; border-radius: 6px; background: var(--white); color: var(--ink); }
.cta5__card .btn { width: 100%; min-height: 64px; font-size: 17px; }
.cta5__card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 22px; font-size: 14px; }
.cta5__card dt { font-weight: 700; color: var(--navy); }
.cta5__rings { position: absolute; right: -120px; bottom: -180px; width: 520px; opacity: .14; pointer-events: none; }
@media (max-width: 860px) { .cta5__in { grid-template-columns: 1fr; } }

/* ---- 動き ---- */
@media (prefers-reduced-motion: no-preference) {
  /* 開いた瞬間（JSなしでも最後は必ず表示される） */
  .hero5__meta { animation: fadeUp .8s .1s both cubic-bezier(.2,.7,.2,1); }
  .hero5__line > span { animation: lineUp 1s both cubic-bezier(.2,.8,.2,1); }
  .hero5__line:nth-child(1) > span { animation-delay: .2s; }
  .hero5__line:nth-child(2) > span { animation-delay: .38s; }
  .hito path { animation: draw 1.1s 1.1s both cubic-bezier(.6,0,.2,1); }
  .hero5__lead { animation: fadeUp .9s .7s both cubic-bezier(.2,.7,.2,1); }
  .hero5__act { animation: fadeUp .9s .85s both cubic-bezier(.2,.7,.2,1); }
  .rings .r1, .rings .r2 { animation: draw 2.2s .2s both cubic-bezier(.6,0,.2,1); }
  .rings .r2 { animation-delay: .5s; }
  .rings g { animation: spin 60s linear infinite; }
  .hero5__stage .browser { animation: rise 1.1s both cubic-bezier(.2,.8,.2,1); }
  .hero5__stage .browser--1 { animation-delay: .5s; }
  .hero5__stage .browser--2 { animation-delay: .7s; }
  .hero5__stage .browser--3 { animation-delay: .9s; }
  .hero5__stage .shots__badge { animation: pop .7s 1.4s both cubic-bezier(.3,1.6,.5,1); }
  .float { animation: bob 6s ease-in-out infinite; }
  .ticker__track { animation: marquee 40s linear infinite; }
  .reel__track { animation: marquee 50s linear infinite; }

  /* スクロールで現れる（JSが動くときだけ隠す） */
  .js .rv { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv-d1 { transition-delay: .12s; } .js .rv-d2 { transition-delay: .24s; } .js .rv-d3 { transition-delay: .36s; }
  .js .rv-mask { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
  .js .rv-mask.in { clip-path: inset(0 0 0 0); }
  .js .flow5__line i { transform: scaleX(0); transition: transform 1.8s cubic-bezier(.6,0,.2,1); }
  .js .flow5.in .flow5__line i { transform: scaleX(1); }
  @media (max-width: 900px) { .js .flow5__line i { transform: scaleY(0); } .js .flow5.in .flow5__line i { transform: scaleY(1); } }
}
/* ---- v8：ヘッダーをすっきり ---- */
.hd__logo { flex-direction: column; align-items: flex-start; gap: 6px; }
.hd__logo span { display: block !important; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--muted); line-height: 1; }
.nav__list a { white-space: nowrap; }
.nav__sub { display: flex; gap: 10px; }
.nav__sub .btn { min-height: 44px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.nav__sub .btn--line { border-width: 1.5px; }
@media (max-width: 960px) { .nav__sub { flex-direction: column; } .nav__sub .btn { min-height: 52px; } }

/* ---- v8：FV見出しのサイズと「人」の輪 ---- */
.hero5__h { font-size: clamp(32px, 4.6vw, 60px); }
.hero5__line { white-space: nowrap; padding: .32em .6em .12em; margin: -.32em -.6em -.12em; }

/* ---- v8：菊地の言葉 ---- */
.letter { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.letter__photo { position: sticky; top: 108px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.letter__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.letter__h { font-weight: 900; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.45; color: var(--navy); letter-spacing: .02em; }
.letter__h em { font-style: normal; color: var(--orange); }
.letter__body { margin-top: 28px; font-size: clamp(15px, 1.4vw, 17px); line-height: 2.1; }
.letter__body p + p { margin-top: 1.3em; }
.letter__body strong { color: var(--navy); background: linear-gradient(transparent 64%, rgba(238,114,3,.22) 64%); }
.letter__sign { margin-top: 32px; font-size: 13px; color: var(--muted); }
.letter__sign b { margin-left: 12px; font-size: 22px; color: var(--navy); letter-spacing: .16em; }
.letter__career { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; font-size: 14px; }
.letter__career li { display: grid; grid-template-columns: 84px 1fr; gap: 10px; }
.letter__career b { white-space: nowrap; }
.letter__career b { font-family: var(--f-en); color: var(--orange-ink); }
.letter__more { margin-top: 28px; }
@media (max-width: 860px) {
  .letter { grid-template-columns: 1fr; }
  .letter__photo { position: static; max-width: 320px; }
  .letter__career { grid-template-columns: 1fr; }
}

/* ---- v25：代理店さまバナー（フック＋依頼しない理由をつぶす） ---- */
.pbn5__in { grid-template-columns: 1fr auto; align-items: center; }
.pbn5__for { display: inline-block; padding: 3px 12px; border-radius: 3px; background: var(--white); color: var(--orange-ink); font-size: 13px; letter-spacing: .06em; }
.pbn5__h { margin-top: 14px; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.45; }
.pbn5__lead { display: block; margin-top: 12px; max-width: 46em; font-size: clamp(14px, 1.5vw, 16px); color: rgba(255,255,255,.92); line-height: 1.9; }
.pbn5__checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pbn5__checks span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 3px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); font-size: 14px; font-weight: 700; }
.pbn5__checks span::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.1L13 4.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.pbn5__go { display: grid; justify-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.pbn5__bg { right: -2%; top: auto; bottom: -.18em; transform: none; font-size: clamp(64px, 10vw, 150px); line-height: 1; }
@media (max-width: 800px) { .pbn5__in { grid-template-columns: 1fr; } .pbn5__go { justify-items: start; grid-auto-flow: column; align-items: center; } }

/* ---- v26：代理店さまへの入口（ページの隅に1行） ---- */
.corner { background: var(--white); border-top: 1px solid var(--rule); }
.corner a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-block: 18px; text-decoration: none; font-size: 14px; color: var(--ink); }
.corner b { color: var(--navy); }
.corner span { color: var(--muted); }
.corner i { margin-left: auto; font-style: normal; font-weight: 700; color: var(--orange-ink); transition: transform .2s; }
.corner a:hover i { transform: translateX(4px); }
.corner a:hover b { color: var(--orange-ink); }

/* 代理店さまページの最初の画面 */
.pfv__checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pfv__checks li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 3px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); font-size: 14px; font-weight: 700; }
.pfv__checks li::before { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.1L13 4.5' fill='none' stroke='%23ee7203' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---- v20：名前を出せない実績（業種・規模・やったこと） ---- */
.cases { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); }
.case { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding-block: 26px; border-bottom: 1px solid var(--rule); }
.case__ind { font-weight: 900; font-size: clamp(20px, 2.2vw, 24px); color: var(--navy); line-height: 1.4; }
.case__role { align-self: start; font-size: 12px; font-weight: 700; color: var(--white); background: var(--navy); padding: 3px 10px; border-radius: 3px; white-space: nowrap; }
.case__scale { grid-column: 1 / -1; font-weight: 700; font-size: 15px; color: var(--orange-ink); }
.case__do { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.case__do li { padding: 3px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--white); font-size: 13px; color: var(--ink); }
.case__do .is-wait { border: 1.5px dashed #e6b98d; color: var(--orange-ink); background: transparent; }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }
.cases__group { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-weight: 700; font-size: 15px; color: var(--navy); }
.cases__group::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.cases__group small { font-size: 13px; font-weight: 500; color: var(--muted); }
.cases__group + .cases { border-top: 1px solid var(--rule); margin-top: 12px; }

/* ---- v33：最後の相談（最大のCTA） ---- */
.cta5__in { align-items: center; }
.cta5__ease { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 28px; max-width: 560px; }
.cta5__ease li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.cta5__ease li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.cta5__card { padding: clamp(24px, 3vw, 36px); border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.cta5__who { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.cta5__who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid var(--orange-pale); }
.cta5__who p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.cta5__who b { display: block; font-size: 17px; color: var(--navy); }
.btn--big { position: relative; overflow: hidden; width: 100%; min-height: 72px; font-size: 18px; flex-direction: column; gap: 2px; line-height: 1.3; }
.btn--big::after { display: none; }
.btn--big small { font-size: 12px; font-weight: 500; opacity: .9; }
.btn--big .shine { position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.cta5__free { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--orange-ink); }
.cta5__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; counter-reset: cs; }
.cta5__steps li { position: relative; padding: 12px 8px 10px; border-radius: 6px; background: var(--gray); text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); }
.cta5__steps li::before { counter-increment: cs; content: "STEP " counter(cs); display: block; font-family: var(--f-en); font-weight: 700; font-size: 10px; letter-spacing: .12em; color: var(--orange-ink); }
.cta5__steps b { display: block; font-size: 13px; color: var(--navy); }
.cta5__mail2 { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.cta5__area { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.7; }
.cta5__mail2 b { color: var(--navy); font-family: var(--f-en); }
@media (prefers-reduced-motion: no-preference) {
  .btn--big .shine { animation: shine 3.6s 1.5s ease-in-out infinite; }
}
@keyframes shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@media (max-width: 520px) { .cta5__ease { grid-template-columns: 1fr; } .cta5__steps { grid-template-columns: 1fr; } }

/* =========================================================
   v38：日本語の折り返しを整える（1文字だけ次の行に落ちないように）
   ========================================================= */
body { word-break: auto-phrase; line-break: strict; }
h1, h2, h3, .shead__ja, .ph9__h, .alone__h, .big9, .letter__h, .kanji__h, .who li, .svt__name { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* サービス一覧：絵で分かるタイル */
.svt { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.svt > li { display: flex; }
.svt a { flex: 1; position: relative; display: flex; flex-direction: column; padding: 36px 30px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; background: var(--white); overflow: hidden; }
.svt a::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.svt a > * { position: relative; }
.svt a:hover::before { transform: none; }
.svt__no { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--orange-ink); }
.svt__pic { width: 88px; height: 88px; margin-top: 18px; color: var(--navy); transition: color .3s; }
.svt__pic .ac { color: var(--orange); }
.svt__name { margin-top: 18px; font-weight: 900; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--navy); transition: color .3s; }
.svt__t { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.8; transition: color .3s; }
.svt__price { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 14px; color: var(--orange-ink); transition: color .3s; }
.svt__price::after { content: "  →"; }
.svt a:hover .svt__pic, .svt a:hover .svt__name { color: var(--white); }
.svt a:hover .svt__t { color: rgba(255,255,255,.8); }
.svt a:hover .svt__price, .svt a:hover .svt__no { color: #ffb066; }
@media (max-width: 960px) { .svt { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svt { grid-template-columns: 1fr; } .svt a { padding: 28px 22px; } .svt__pic { width: 72px; height: 72px; } }

/* ---- v40：取り組みの例（サービスの組み合わせ） ---- */
.svt__pick { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 3px; background: var(--orange); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .06em; vertical-align: 3px; }
.cases9 { display: grid; gap: 28px; }
.case9 { padding: clamp(24px, 3.5vw, 40px); background: var(--white); border-top: 3px solid var(--navy); }
.case9__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
.case9__no { grid-row: span 2; font-family: var(--f-en); font-weight: 700; font-size: clamp(44px, 5vw, 60px); line-height: .9; color: transparent; -webkit-text-stroke: 1.2px var(--navy); }
.case9__label { font-size: 12px; font-weight: 700; color: var(--orange-ink); letter-spacing: .1em; }
.case9__q { font-weight: 900; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; color: var(--navy); }
.case9__flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 0; margin-top: 26px; }
.case9__step { flex: 1 1 0; min-width: 150px; padding: 16px 16px 18px; background: var(--gray); border-radius: 4px; }
.case9__step--goal { background: var(--orange-pale); }
.case9__tag { display: inline-block; padding: 2px 10px; border-radius: 3px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; text-decoration: none; }
a.case9__tag:hover { background: var(--orange); }
.case9__step--goal .case9__tag { background: var(--orange); }
.case9__t { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.case9__t small { display: block; margin-top: 4px; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.7; }
.case9__arrow { flex: none; display: grid; place-items: center; width: 28px; color: var(--orange); font-weight: 700; }
@media (max-width: 760px) {
  .case9__flow { flex-direction: column; }
  .case9__step { min-width: 0; }
  .case9__arrow { width: auto; height: 24px; transform: rotate(90deg); }
}

/* ---- v49：代理店さまページ ---- */
.wait { display: inline-block; padding: 6px 12px; border: 1.5px dashed #e6b98d; border-radius: 4px; color: var(--orange-ink); font-size: 14px; font-weight: 700; }
.ftabs--wrap { flex-wrap: wrap; overflow: visible; }
.promise5 { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.promise5 li { padding: 24px 18px 26px 0; border-bottom: 1px solid var(--rule); }
.promise5 li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
.promise5 b { display: block; font-family: var(--f-en); font-size: 13px; color: var(--orange-ink); letter-spacing: .12em; }
.promise5 h3 { margin-top: 6px; font-weight: 900; font-size: 17px; line-height: 1.5; color: var(--navy); }
.promise5 p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.8; }
@media (max-width: 1000px) { .promise5 { grid-template-columns: 1fr 1fr; } .promise5 li:nth-child(odd) { padding-left: 0; border-left: 0; } .promise5 li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); } }
@media (max-width: 560px) { .promise5 { grid-template-columns: 1fr; } .promise5 li, .promise5 li + li { padding: 20px 0; border-left: 0 !important; } }
.hear { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; border-top: 2px solid var(--navy); padding-top: 20px; }
.hear li { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; border-bottom: 1px solid var(--rule); font-weight: 700; color: var(--navy); }
.hear li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--orange); border-radius: 3px; }
.hear li small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .hear { grid-template-columns: 1fr; } }

/* ---- v48：お問い合わせ（送らない理由をつぶす） ---- */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 上の安心の帯 */
.trust { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center; padding: 26px 28px; border-radius: 8px; background: var(--gray); }
.trust__face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 4px solid var(--white); }
.trust__who { font-weight: 900; font-size: clamp(17px, 1.8vw, 20px); color: var(--navy); line-height: 1.5; }
.trust__who small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.trust__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust__list li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 6px; background: var(--white); font-size: 14px; line-height: 1.6; }
.trust__list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.trust__list b { display: block; color: var(--navy); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; text-align: left; } .trust__face { width: 72px; height: 72px; } .trust__list { grid-template-columns: 1fr; } }

.cform__lead { margin: 40px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.cform__lead b { font-weight: 900; font-size: 20px; color: var(--navy); }
.cform__lead span { font-size: 14px; color: var(--muted); }

/* 自作のチェック・丸 */
.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.picks--row { display: flex; flex-wrap: wrap; }
.pick { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1px solid #c9d1d8; border-radius: 6px; background: var(--white); font-weight: 500; line-height: 1.5; cursor: pointer; transition: border-color .45s, background-color .45s; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__mark { flex: none; position: relative; width: 22px; height: 22px; border: 2px solid #aab5bf; background: var(--white); transition: border-color .35s, background-color .35s; }
.pick--radio .pick__mark { border-radius: 50%; }
.pick--check .pick__mark { border-radius: 4px; }
.pick--radio .pick__mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.pick--check .pick__mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.pick:hover { border-color: var(--orange); }
.pick:has(input:checked) { border-color: var(--orange); background: var(--orange-pale); font-weight: 700; color: var(--navy); }
.pick input:checked + .pick__mark { border-color: var(--orange); }
.pick--radio input:checked + .pick__mark::after { transform: scale(1); }
.pick--check input:checked + .pick__mark { background: var(--orange); }
.pick--check input:checked + .pick__mark::after { transform: rotate(45deg) scale(1); }
.pick:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 640px) { .picks { grid-template-columns: 1fr; } }

.form__err { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #c0392b; }

/* 送信まわり */
.send9 { padding: 32px 28px 36px; text-align: center; }
.send9__assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 14px; font-weight: 700; color: var(--navy); }
.send9__assure span::before { content: "✓ "; color: var(--orange); }
.send9 .btn { margin-top: 20px; min-width: 340px; min-height: 68px; font-size: 18px; border: 0; cursor: pointer; }
.send9__steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.send9__steps b { color: var(--navy); }
.send9__privacy { margin-top: 14px; font-size: 12px; color: var(--muted); }
.send9__privacy a { color: var(--muted); }
@media (max-width: 560px) { .send9 { padding: 28px 18px; } .send9 .btn { min-width: 0; width: 100%; } }

/* ---- v47：お問い合わせ：ご希望の連絡方法 ---- */
.form__set { display: block; margin: 0; border: 0; border-bottom: 1px solid var(--rule); min-inline-size: 0; }
.form__set legend { float: left; width: 240px; margin-right: 20px; padding: 12px 0 0; font-weight: 700; color: var(--navy); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid #c9d1d8; border-radius: 6px; background: var(--white); font-weight: 500; cursor: pointer; transition: border-color .45s, background-color .45s; }
.choices label:has(input:checked) { border-color: var(--orange); background: var(--orange-pale); font-weight: 700; color: var(--navy); }
.form .choices input[type="radio"] { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--orange); }
.form__hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
/* legend は float を外すと枠線の上に乗ってしまい、上の余白がなくなるので、スマホでも float のまま横幅いっぱいにする */
@media (max-width: 700px) { .form__set legend { float: left; width: 100%; margin-right: 0; padding-top: 0; margin-bottom: 6px; } .form__set > div { clear: both; } }

/* ---- v45：札のすき間をなくす ---- */
.case__do { align-items: center; }
.case__do li { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; line-height: 1.4; text-wrap: nowrap; }

/* ---- v45：ご依頼の流れ（一般の方にも分かるように） ---- */
.howto { border-top: 2px solid var(--navy); counter-reset: hs; }
.howto__row { display: grid; grid-template-columns: 150px 1fr; gap: 6px clamp(20px, 3vw, 40px); padding-block: 28px; border-bottom: 1px solid var(--rule); }
.howto__no { grid-row: span 3; font-family: var(--f-en); font-weight: 700; line-height: 1; color: var(--orange-ink); font-size: 12px; letter-spacing: .14em; }
.howto__no b { display: block; margin-top: 6px; font-size: clamp(48px, 5vw, 64px); color: transparent; -webkit-text-stroke: 1.2px var(--navy); letter-spacing: 0; }
.howto__h { font-weight: 900; font-size: clamp(19px, 2vw, 22px); color: var(--navy); line-height: 1.5; }
.howto__t { font-size: 15px; line-height: 1.95; }
.howto__t strong { color: var(--navy); background: linear-gradient(transparent 64%, rgba(238,114,3,.22) 64%); }
.howto__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.howto__chips span { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border-radius: 3px; background: var(--orange-pale); color: var(--orange-ink); font-size: 13px; font-weight: 700; }
@media (max-width: 640px) { .howto__row { grid-template-columns: 1fr; } .howto__no { grid-row: auto; } .howto__no b { display: inline; margin: 0 0 0 10px; font-size: 40px; } }

/* ---- v43：ホバーは、ゆっくり落ち着いて ---- */
a, button, .btn, .jump a, .case9__tag, .case9__cta a, .nav__list a, .ft__nav a, .svt__price, .svcrow__go {
  transition: color .45s cubic-bezier(.2,.7,.2,1), background-color .45s cubic-bezier(.2,.7,.2,1), border-color .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
.btn--cv:hover { transform: none; }
a.case9__tag { position: relative; padding-right: 10px; }
a.case9__tag::after { content: "→"; display: inline-block; margin-left: 0; max-width: 0; opacity: 0; overflow: hidden; vertical-align: top; transition: max-width .45s cubic-bezier(.2,.7,.2,1), opacity .45s, margin-left .45s; }
a.case9__tag:hover { background: var(--navy-2); }
a.case9__tag:hover::after { max-width: 1.2em; margin-left: 6px; opacity: 1; }
.svt a::before { transition-duration: .6s; }

.sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
.sites .reel__item { width: auto; }
@media (max-width: 700px) { .sites { grid-template-columns: 1fr; } }
.cases9 + .case9__cta, .shead + .cases { margin-top: 0; }

/* 伴走プランを横いっぱいに */
.svt > li.is-wide { grid-column: 1 / -1; }
.svt > li.is-wide a { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto auto; column-gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 4vw, 48px); border-top: 4px solid var(--orange); }
.is-wide .svt__no { grid-column: 2; grid-row: 1; }
.is-wide .svt__pic { grid-column: 1; grid-row: 1 / 4; width: clamp(110px, 12vw, 150px); height: clamp(110px, 12vw, 150px); margin-top: 0; }
.is-wide .svt__name { grid-column: 2; grid-row: 2; margin-top: 6px; font-size: clamp(24px, 2.8vw, 32px); }
.is-wide .svt__t { grid-column: 2; grid-row: 3; font-size: 16px; }
.is-wide .svt__price { grid-column: 3; grid-row: 1 / 4; margin-top: 0; padding-top: 0; font-size: 16px; white-space: nowrap; }
.svt > li.is-help a { background: var(--gray); }
.svt > li.is-help .svt__name { color: var(--orange-ink); }
@media (max-width: 760px) {
  .svt > li.is-wide a { grid-template-columns: 1fr; padding: 28px 22px; }
  .is-wide .svt__no, .is-wide .svt__pic, .is-wide .svt__name, .is-wide .svt__t, .is-wide .svt__price { grid-column: 1; grid-row: auto; }
  .is-wide .svt__pic { width: 88px; height: 88px; margin-top: 14px; }
  .is-wide .svt__price { margin-top: 16px; }
}
.case9__cta { display: flex; justify-content: flex-end; margin-top: 20px; }
.case9__cta a { font-weight: 700; font-size: 15px; color: var(--orange-ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; transition: color .2s; }
.case9__cta a:hover { color: var(--navy); }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; font-size: 14px; }
.jump b { margin-right: 4px; color: var(--muted); font-weight: 700; }
.jump a { padding: 5px 12px; border: 1px solid var(--rule); border-radius: 3px; text-decoration: none; color: var(--navy); font-weight: 700; transition: border-color .2s, color .2s; }
.jump a:hover { border-color: var(--orange); color: var(--orange-ink); }

/* ---- v40：ホームページとランディングページの違い ---- */
.diff { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.diff__col { padding: 32px 32px 34px 0; border-bottom: 1px solid var(--rule); }
.diff__col + .diff__col { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--rule); }
.diff__pic { width: 120px; height: 72px; color: var(--navy); }
.diff__pic .ac { color: var(--orange); }
.diff__name { margin-top: 14px; font-weight: 900; font-size: clamp(22px, 2.4vw, 28px); color: var(--navy); }
.diff__col--lp .diff__name { color: var(--orange-ink); }
.diff dl { margin-top: 16px; display: grid; gap: 14px; }
.diff dt { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.diff dd { margin-top: 2px; font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1.6; }
.diff dd small { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .diff { grid-template-columns: 1fr; } .diff__col, .diff__col + .diff__col { padding: 28px 0; border-left: 0; } }

/* =========================================================
   v37：サービスページ・初めての方へ
   ========================================================= */
/* 下層ページの見出し（白抜き英字の大見出し） */
.ph9 { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); overflow: hidden; }
.ph9__en { font-family: var(--f-en); font-weight: 700; font-size: clamp(56px, 10vw, 128px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--navy); letter-spacing: -.01em; }
.ph9__h { margin-top: 18px; font-weight: 900; font-size: clamp(26px, 3.8vw, 44px); line-height: 1.45; color: var(--navy); }
.ph9__t { margin-top: 16px; max-width: 40em; font-size: clamp(15px, 1.5vw, 17px); line-height: 2; }
.crumb9 { padding-block: 14px; font-size: 13px; color: var(--muted); }
.crumb9 a { color: var(--muted); }

/* こんな方に */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.who li { padding: 26px 24px 26px 0; font-weight: 700; font-size: clamp(16px, 1.7vw, 18px); color: var(--navy); line-height: 1.7; border-bottom: 1px solid var(--rule); }
.who li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.who li::before { content: "“"; display: block; font-family: var(--f-en); font-size: 40px; line-height: .8; color: var(--orange); }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } .who li, .who li + li { padding: 20px 0; border-left: 0; } }

/* 料金のプラン */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.plan9 { display: flex; flex-direction: column; padding: 28px 22px 30px 0; border-bottom: 1px solid var(--rule); }
.plan9 + .plan9 { padding-left: 22px; border-left: 1px solid var(--rule); }
.plan9__pic { width: 72px; height: 72px; margin-bottom: 14px; color: var(--navy); }
.plan9__pic .ac { color: var(--orange); }
.plan9__rank { font-size: 13px; font-weight: 700; color: var(--orange-ink); letter-spacing: .1em; }
.plan9__name { margin-top: 4px; font-weight: 900; font-size: 20px; color: var(--navy); }
.plan9__price { margin-top: 14px; font-weight: 700; color: var(--navy); }
.plan9__price b { font-family: var(--f-en); font-size: clamp(32px, 3.4vw, 42px); letter-spacing: -.01em; }
.plan9__price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.plan9__list { margin-top: 16px; display: grid; gap: 6px; font-size: 14px; }
.plan9__list li { position: relative; padding-left: 16px; }
.plan9__list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--orange); }
.plan9__for { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--muted); }
.plan9--pick .plan9__name { color: var(--orange-ink); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr 1fr; } .plan9:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan9, .plan9 + .plan9 { padding: 24px 0; border-left: 0; } }

/* 料金の表（1行ずつ） */
.fee { border-top: 2px solid var(--navy); }
.fee__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.fee__name { font-weight: 700; color: var(--navy); font-size: 17px; }
.fee__name small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.fee__price { font-weight: 700; color: var(--navy); text-align: right; }
.fee__price b { font-family: var(--f-en); font-size: clamp(28px, 3vw, 36px); }
.fee__note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.ex9 { margin-top: 24px; padding: 20px 24px; border-left: 4px solid var(--orange); background: var(--orange-pale); font-size: 15px; line-height: 1.9; }
.ex9 b { color: var(--orange-ink); }

/* サービス一覧の行 */
.svcrow { border-top: 2px solid var(--navy); }
.svcrow a { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px clamp(16px, 3vw, 40px); align-items: center; padding-block: 26px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background .3s, padding .3s; }
.svcrow a:hover { background: var(--gray); padding-inline: 16px; }
.svcrow__no { font-family: var(--f-en); font-weight: 700; font-size: 52px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--navy); }
.svcrow a:hover .svcrow__no { -webkit-text-stroke-color: var(--orange); }
.svcrow__name { font-weight: 900; font-size: clamp(19px, 2.2vw, 24px); color: var(--navy); }
.svcrow__name small { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--orange-ink); }
.svcrow__t { margin-top: 4px; font-size: 15px; color: var(--muted); }
.svcrow__go { font-weight: 700; font-size: 14px; color: var(--orange-ink); white-space: nowrap; transition: transform .2s; }
.svcrow a:hover .svcrow__go { transform: translateX(4px); }
@media (max-width: 700px) { .svcrow a { grid-template-columns: 64px 1fr; } .svcrow__no { font-size: 36px; } .svcrow__go { grid-column: 2; } }

/* 担当者さまを、ひとりにしません */
.alone { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.alone__h { font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.5; color: var(--navy); }
.alone__h em { font-style: normal; color: var(--orange); }
.alone__body { font-size: clamp(15px, 1.4vw, 17px); line-height: 2.1; }
.alone__body p + p { margin-top: 1.2em; }
.alone__body strong { color: var(--navy); background: linear-gradient(transparent 64%, rgba(238,114,3,.22) 64%); }
@media (max-width: 860px) { .alone { grid-template-columns: 1fr; } }

/* 大きな一文（初めての方へ） */
.big9 { font-weight: 900; font-size: clamp(30px, 5vw, 64px); line-height: 1.4; color: var(--navy); letter-spacing: .01em; }
.big9 em { font-style: normal; color: var(--orange); }

/* ---- v35：最後の相談をシンプルに（文字をイラストとして） ---- */
.ask6 { background: var(--navy); color: var(--white); overflow: hidden; }
.ask6__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(72px, 9vw, 120px); }
.ask6__num { position: relative; font-family: var(--f-en); font-weight: 700; font-size: clamp(160px, 24vw, 320px); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); letter-spacing: -.04em; }
.ask6__num span { position: absolute; right: -.1em; bottom: -.05em; font-family: var(--f-jp); font-size: .16em; font-weight: 900; color: var(--orange); -webkit-text-stroke: 0; letter-spacing: .04em; white-space: nowrap; }
.ask6__en { font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .24em; color: #ffb066; }
.ask6__h { margin-top: 10px; font-weight: 900; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.4; }
.ask6__t { margin-top: 16px; font-size: clamp(15px, 1.5vw, 17px); color: rgba(255,255,255,.88); line-height: 2; }
.ask6__t b { color: var(--white); }
.ask6 .btn { margin-top: 32px; min-height: 68px; padding: 0 44px; font-size: 18px; }
.ask6__note { margin-top: 18px; display: grid; gap: 4px; font-size: 13px; color: rgba(255,255,255,.65); }
.ask6__face { width: clamp(220px, 26vw, 320px); }
.ask6__face img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; border-radius: 4px; }
.ask6__face p { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.6; }
.ask6__face b { display: block; font-size: 20px; color: var(--white); letter-spacing: .12em; }
.ask6__me { margin-top: 14px; font-weight: 700; font-size: clamp(16px, 1.7vw, 19px); color: #ffb066; }
@media (max-width: 860px) {
  .ask6__in { grid-template-columns: 1fr; }
  .ask6__num { font-size: 150px; }
  .ask6__face { width: 220px; }
  .ask6 .btn { width: 100%; padding: 0 20px; }
}

/* ---- v30：よくあるご質問のタブ ---- */
.ftabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; }
.ftabs::-webkit-scrollbar { display: none; }
.ftab { position: relative; flex: none; padding: 14px 22px; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .25s; }
.ftab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ftab:hover { color: var(--navy); }
.ftab[aria-selected="true"] { color: var(--navy); }
.ftab[aria-selected="true"]::after { transform: scaleX(1); }
.ftab small { margin-left: 6px; font-family: var(--f-en); font-size: 12px; color: var(--muted); }
.fpanel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .fpanel.is-show { animation: fpanelIn .45s both cubic-bezier(.2,.7,.2,1); }
}
@keyframes fpanelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .ftab { padding: 12px 14px; font-size: 14px; } }

/* ---- v16：よくあるご質問の開閉アニメーション ---- */
.faq details { position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.faq details[open] { border-color: #f0c9a0; box-shadow: 0 10px 28px rgba(31,51,68,.07); }
.faq details[open]::before { transform: scaleY(1); }
.faq details.is-closing { border-color: var(--rule); box-shadow: none; }
.faq details.is-closing::before { transform: scaleY(0); transform-origin: bottom; }
.faq summary { transition: color .25s; }
.faq summary::before { transition: background-color .25s, transform .25s; }
.faq summary:hover { color: var(--orange-ink); }
.faq summary:hover::before { background: var(--orange); transform: scale(1.08); }
.faq details.is-closing summary::after { transform: translateY(-70%) rotate(45deg); }
.faq__body { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open]:not(.is-closing) .faq__body p { animation: faqText .5s .1s both cubic-bezier(.2,.7,.2,1); }
  .faq details[open]:not(.is-closing) .faq__body p::before { animation: faqPop .45s .18s both cubic-bezier(.3,1.6,.5,1); }
  .faq details.is-closing .faq__body p { opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
}
@keyframes faqText { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes faqPop { from { transform: scale(0); } to { transform: none; } }

/* ---- v12：体制図（代表が手を動かす／プロは要所で） ---- */
.team { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; }
.team__t { font-size: 15px; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } }
.team__map { grid-template-columns: .8fr 48px 1.3fr 48px 1fr; align-items: stretch; }
.team__map .team__node { display: grid; align-content: center; justify-items: center; }
.team__map .team__link { align-self: center; }
.team__role { display: inline-block; margin: 2px 0 10px; padding: 1px 10px; border-radius: 3px; background: var(--orange); color: var(--white); font-size: 11px; font-weight: 700; }
.team__role--pro { background: var(--gray-2); color: var(--muted); }
.team__do { display: grid; gap: 4px; width: 100%; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; text-align: left; }
.team__do li { position: relative; padding-left: 14px; }
.team__do li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.team__node--center .team__do { color: var(--white); }
.team__node--pro { border-style: dashed; }
.team__node--pro .team__do { border-top-color: var(--rule); color: var(--ink); }
.team__node--pro .team__do li::before { background: var(--muted); }
.team__link--one::before { display: none; }
@media (max-width: 560px) { .team__map { grid-template-columns: 1fr; } }

/* ---- v9：実績の地域（路線図） ---- */
.line9 { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 8px; }
.line9::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 13px; height: 4px; border-radius: 2px; background: var(--navy); }
.line9 li { position: relative; display: grid; justify-items: center; gap: 2px; padding-top: 38px; text-align: center; }
.line9 li::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--navy); }
.line9 b { font-size: 17px; color: var(--navy); }
.line9 span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.line9 .is-home::before { width: 30px; height: 30px; top: 0; border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 6px rgba(238,114,3,.18); }
.line9 .is-home b { color: var(--orange-ink); }
.line9__dir { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--f-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.line9__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .line9 { grid-template-columns: 1fr; gap: 14px; padding-left: 40px; }
  .line9::before { left: 13px; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; }
  .line9 li { justify-items: start; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; padding-top: 0; text-align: left; }
  .line9 li::before { left: -36px; top: 2px; transform: none; }
  .line9 .is-home::before { left: -40px; top: -2px; }
  .line9__dir { display: none; }
}

/* ---- v9：名前を出せない実績 ---- */
.secret { margin-top: clamp(56px, 7vw, 88px); }
.secret__ttl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.secret__ttl b { font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); color: var(--navy); }
.secret__ttl span { font-size: 13px; color: var(--muted); }
.secret__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); }
.secret__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.secret__h { font-weight: 700; font-size: clamp(16px, 1.7vw, 18px); color: var(--navy); line-height: 1.6; }
.secret__h small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.secret__tag { font-size: 12px; font-weight: 700; color: var(--orange-ink); white-space: nowrap; padding: 2px 10px; border: 1px solid #f0c9a0; border-radius: 3px; }
@media (max-width: 800px) { .secret__list { grid-template-columns: 1fr; } }

/* 菊地一希の歩み：経歴を淡々と */
.road5 { border-top: 2px solid var(--navy); }
.road5__row { display: grid; grid-template-columns: 180px 1fr 1.3fr; gap: clamp(16px, 3vw, 40px); align-items: baseline; padding-block: 26px; border-bottom: 1px solid var(--rule); }
.road5__year { font-family: var(--f-en); font-weight: 700; font-size: clamp(40px, 4.6vw, 56px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--navy); letter-spacing: .01em; }
.road5__row:last-child .road5__year { -webkit-text-stroke-color: var(--orange); }
.road5__h { font-weight: 700; font-size: clamp(17px, 1.8vw, 19px); color: var(--navy); line-height: 1.6; }
.road5__t { font-size: 15px; color: var(--muted); }
.road5__more { margin-top: 32px; }
@media (max-width: 800px) {
  .road5__row { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
  .road5__year { font-size: 40px; }
}

/* 菊地一希という人：肩書きを大きな文字で */
.creds5 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.cred5 { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--rule); }
.cred5 + .cred5 { padding-left: 24px; border-left: 1px solid var(--rule); }
.cred5__big { font-family: var(--f-en); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.cred5__big small { font-family: var(--f-jp); font-size: .38em; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.cred5__big i { font-style: normal; color: var(--orange); }
.cred5__where { margin-top: 14px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.cred5__note { margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .creds5 { grid-template-columns: 1fr 1fr; } .cred5:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .creds5 { grid-template-columns: 1fr; } .cred5, .cred5 + .cred5 { padding: 22px 0; border-left: 0; } }

/* 一問一答 */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 88px); }
.qa__ttl { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.qa__ttl b { font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); color: var(--navy); }
.qa__ttl span { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--orange-ink); }
.qa__item { padding-block: 32px; border-bottom: 1px solid var(--rule); }
.qa__q { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; font-weight: 700; color: var(--muted); }
.qa__q::before { content: "Q."; font-family: var(--f-en); font-weight: 700; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--navy); }
.qa__a { position: relative; margin-top: 12px; padding-left: 56px; font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.75; color: var(--navy); }
.qa__a::before { content: "A."; position: absolute; left: 0; top: -.1em; font-family: var(--f-en); font-size: 34px; color: var(--orange); }
.qa__a em { font-style: normal; background: linear-gradient(transparent 62%, rgba(238,114,3,.25) 62%); }
.qa__item--wait .qa__a { color: var(--orange-ink); font-size: 14px; font-weight: 500; }
.qa__item--wait .qa__a span { display: block; padding: 14px 16px; border: 2px dashed #e6b98d; border-radius: 6px; }
@media (max-width: 800px) { .qa { grid-template-columns: 1fr; } }

/* お客様の声 */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice5 { position: relative; padding: 48px 28px 28px; background: var(--white); border-top: 3px solid var(--navy); }
.voice5::before { content: "“"; position: absolute; left: 20px; top: -6px; font-family: var(--f-en); font-weight: 700; font-size: 88px; line-height: 1; color: var(--orange); }
.voice5__wait { padding: 16px; border: 2px dashed #e6b98d; border-radius: 6px; color: var(--orange-ink); font-size: 14px; line-height: 1.8; }
.voice5__who { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; } }

/* サイト画面は「レイヤー（奥行き用）」の中に入れる */
.layer { position: absolute; z-index: 2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.layer > .browser { position: relative; inset: auto; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hito path { animation-name: drawS; }
  .browser--1 > .browser { animation-delay: .5s; }
  .browser--2 > .browser { animation-delay: .7s; }
  .browser--3 > .browser { animation-delay: .9s; }
}
@keyframes drawS { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1100; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 下層ページ ---------- */
.ph { background: var(--gray); padding-block: clamp(48px, 6vw, 72px); }
.ph__en { font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .2em; color: var(--orange-ink); text-transform: uppercase; }
.ph__h { margin-top: 6px; font-weight: 700; font-size: clamp(26px, 4vw, 40px); line-height: 1.45; color: var(--navy); }
.ph__t { margin-top: 14px; max-width: 42em; color: var(--muted); }
.crumb { padding-block: 14px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--rule); }
.crumb a { color: var(--muted); }

/* 代理店さまページ */
.pfv { background: var(--navy); color: var(--white); }
.pfv__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(52px, 7vw, 88px); }
.pfv__for { display: inline-block; padding: 4px 14px; border-radius: 4px; background: var(--orange); font-size: 13px; font-weight: 700; }
.pfv__h { margin-top: 18px; font-weight: 700; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.45; }
.pfv__h em { font-style: normal; color: #ffb066; }
.pfv__t { margin-top: 18px; color: rgba(255,255,255,.85); }
.pfv .btn { margin-top: 28px; }
.layers { display: grid; gap: 10px; }
.layers li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 6px; font-size: 14px; line-height: 1.6; }
.layers b { font-size: 16px; }
.layers li:nth-child(1) { border: 1px dashed rgba(255,255,255,.4); }
.layers li:nth-child(2) { background: var(--white); color: var(--navy); }
.layers li:nth-child(3) { background: var(--orange); color: var(--white); }
@media (max-width: 860px) { .pfv__in { grid-template-columns: 1fr; } }

.scene { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scene li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); font-weight: 500; }
.scene li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--gray-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v6' stroke='%231f3344' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='11' cy='15.5' r='1.3' fill='%231f3344'/%3E%3C/svg%3E") center / 22px no-repeat; }
.scene__a { margin-top: 32px; text-align: center; font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; color: var(--navy); line-height: 1.6; }
.scene__a span { color: var(--orange); }
@media (max-width: 700px) { .scene { grid-template-columns: 1fr; } }

.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promise li { padding: 28px 22px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.promise__no { font-family: var(--f-en); font-size: 13px; font-weight: 700; color: var(--orange-ink); letter-spacing: .12em; }
.promise h3 { margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.promise p { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .promise { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promise { grid-template-columns: 1fr; } }

.money { display: grid; grid-template-columns: 1fr 120px 1fr 120px 1fr; align-items: stretch; }
.money__node { display: grid; align-content: center; padding: 26px 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); text-align: center; }
.money__node b { font-size: 20px; color: var(--navy); }
.money__node span { margin-top: 6px; font-size: 14px; color: var(--muted); }
.money__node--you { border: 2px solid var(--orange); }
.money__node--us { background: var(--navy); border-color: var(--navy); }
.money__node--us b, .money__node--us span { color: var(--white); }
.money__arrow { display: grid; place-content: center; gap: 4px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.5; }
.money__arrow::before { content: "←"; font-size: 22px; color: var(--orange); }
.money__ex { margin-top: 24px; padding: 20px 24px; border-radius: var(--r); background: var(--orange-pale); font-size: 15px; }
.money__ex b { color: var(--orange-ink); }
@media (max-width: 860px) { .money { grid-template-columns: 1fr; } .money__arrow { padding: 10px 0; } .money__arrow::before { content: "↑"; } }

/* 表 */
.tbl { width: 100%; border-collapse: collapse; background: var(--white); }
.tbl th, .tbl td { padding: 18px 20px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.tbl th { width: 28%; background: var(--gray); color: var(--navy); font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { .tbl th, .tbl td { display: block; width: 100%; } .tbl td { border-top: 0; } }

.history { display: grid; }
.history li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--rule); }
.history li:first-child { border-top: 1px solid var(--rule); }
.history b { font-family: var(--f-en); font-size: 18px; color: var(--orange-ink); }
@media (max-width: 520px) { .history li { grid-template-columns: 1fr; gap: 2px; } }

/* フォーム */
.form { display: grid; gap: 0; background: var(--white); border-radius: var(--r); border: 1px solid var(--rule); }
.form__row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 22px 28px; border-bottom: 1px solid var(--rule); align-items: start; }
.form__row label { padding-top: 12px; font-weight: 700; color: var(--navy); }
.req, .opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 3px; font-size: 11px; vertical-align: 2px; }
.req { background: var(--orange); color: var(--white); }
.opt { background: var(--gray-2); color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid #c9d1d8; border-radius: 6px; background: var(--white); font: inherit; font-size: 16px; color: var(--ink); }
.form textarea { min-height: 180px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form__send { padding: 32px 28px; text-align: center; }
.form__send .btn { min-width: 300px; border: 0; cursor: pointer; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) {
  .form__row { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .form__row label { padding-top: 0; }
  .form__send .btn { min-width: 0; width: 100%; }
}
.contact-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.contact-guide li { padding: 20px; border-radius: var(--r); background: var(--gray); text-align: center; font-size: 14px; }
.contact-guide b { display: block; font-size: 16px; color: var(--navy); }
@media (max-width: 700px) { .contact-guide { grid-template-columns: 1fr; } }

/* ---- v56：代理店さまページの最初の画面（場面で見せる） ---- */
.pfv2 { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.pfv2::before, .pfv2::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.pfv2::before { width: 620px; height: 620px; right: -160px; top: -220px; border: 70px solid rgba(238,114,3,.08); }
.pfv2::after { width: 620px; height: 620px; right: 120px; top: -120px; border: 70px solid rgba(220,200,184,.06); }
.pfv2__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 72px); }
.pfv2__for { display: inline-block; padding: 5px 14px; border-radius: 3px; background: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.pfv2__h { margin-top: 22px; font-weight: 900; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.4; letter-spacing: .01em; }
.pfv2__h em { font-style: normal; color: #ffb066; }
.pfv2__t { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: rgba(255,255,255,.92); line-height: 1.8; }
.pfv2 .btn { margin-top: 30px; min-height: 64px; padding: 0 36px; font-size: 17px; }
.pfv2__proof { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid rgba(255,255,255,.18); }
.pfv2__proof li { padding: 18px 12px 0 0; font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5; }
.pfv2__proof li + li { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.pfv2__proof b { display: block; font-family: var(--f-en); font-size: clamp(22px, 2.4vw, 30px); color: var(--white); line-height: 1.2; letter-spacing: -.01em; }
.pfv2__proof b small { font-family: var(--f-jp); font-size: 12px; margin-left: 2px; }
@media (max-width: 960px) { .pfv2__in { grid-template-columns: 1fr; } .pfv2__proof { grid-template-columns: 1fr 1fr; row-gap: 16px; } .pfv2__proof li:nth-child(3) { padding-left: 0; border-left: 0; } }

/* 会話の場面 */
.talk { display: grid; gap: 14px; }
.talk__row { display: flex; align-items: flex-end; gap: 10px; }
.talk__row--me { justify-content: flex-end; }
.talk__who { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); text-align: center; line-height: 1.2; }
.talk__bubble { max-width: 78%; padding: 14px 18px; border-radius: 16px; font-weight: 700; font-size: 15px; line-height: 1.7; }
.talk__row--you .talk__bubble { background: var(--white); color: var(--navy); border-bottom-left-radius: 4px; }
.talk__row--me .talk__bubble { background: var(--orange); color: var(--white); border-bottom-right-radius: 4px; font-size: 17px; }
.talk__label { margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.6); }
.talk__row--me .talk__label { text-align: right; }
.talk__behind { display: flex; align-items: center; gap: 14px; margin: 8px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.talk__behind::before, .talk__behind::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.2); }
.talk__us { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.3); }
.talk__us img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid var(--orange); }
.talk__us p { font-weight: 700; font-size: 15px; line-height: 1.7; }
.talk__us small { display: block; margin-top: 2px; font-weight: 500; font-size: 12px; color: rgba(255,255,255,.65); }
@media (prefers-reduced-motion: no-preference) {
  .talk > * { animation: talkIn .6s both cubic-bezier(.2,.8,.2,1); }
  .talk > *:nth-child(1) { animation-delay: .5s; }
  .talk > *:nth-child(2) { animation-delay: 1.4s; }
  .talk > *:nth-child(3) { animation-delay: 2.3s; }
  .talk > *:nth-child(4) { animation-delay: 2.8s; }
  .pfv2__h, .pfv2__for { animation: fadeUp .9s both cubic-bezier(.2,.7,.2,1); }
  .pfv2__h { animation-delay: .1s; }
  .pfv2__t, .pfv2 .btn, .pfv2__proof { animation: fadeUp .9s .3s both cubic-bezier(.2,.7,.2,1); }
}
@keyframes talkIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---- v67：スマホ（370px前後）の読みやすさ ---- */
.howto__chips .is-area { background: var(--gray); color: var(--navy); font-weight: 500; }
@media (max-width: 640px) {
  .cases__group { flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 20px; position: relative; font-size: 16px; }
  .cases__group::before { position: absolute; left: 0; top: .55em; }
  .cases__group small { font-size: 13px; }
  .secret__ttl { gap: 6px; }
  .secret__ttl b { font-size: 21px; line-height: 1.5; }
  .case { grid-template-columns: 1fr auto; }
  .howto__t, .letter__body, .kanji__t, .alone__body { font-size: 15px; line-height: 1.95; }
  .howto__chips span { font-size: 12px; }
  /* よくあるご質問のタブは、スマホでは折り返して全部見せる */
  .ftabs { flex-wrap: wrap; overflow: visible; gap: 8px; border-bottom: 0; margin-bottom: 20px; }
  .ftab { padding: 10px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 13px; }
  .ftab::after { display: none; }
  .ftab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .ftab[aria-selected="true"] small { color: rgba(255,255,255,.7); }
}

/* ---- v65：フッター（3ブロック＋最下段） ---- */
.ft2 { background: #172836; color: rgba(255,255,255,.85); padding-block: 64px 0; }
.ft2__top { display: grid; grid-template-columns: 1.3fr 1fr 1.25fr 1fr; gap: 40px; padding-bottom: 48px; }
.ft2__logo { display: inline-block; padding: 10px 14px; border-radius: 6px; background: var(--white); }
.ft2__logo img { width: 140px; }
.ft2__txt { margin-top: 16px; font-size: 13px; line-height: 2; color: rgba(255,255,255,.7); }
.ft2__ttl { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: #ffb066; margin-bottom: 14px; }
.ft2__ttl a { color: inherit; text-decoration: none; }
.ft2__list { display: grid; gap: 10px; font-size: 14px; }
.ft2__list a { text-decoration: none; }
.ft2__list a:hover, .ft2__bottom a:hover { color: #ffb066; }
.ft2__head { display: block; font-weight: 700; font-size: 15px; color: var(--white); text-decoration: none; margin-bottom: 4px; }
.ft2__sub li { position: relative; padding-left: 20px; }
.ft2__sub li::before { content: "└"; position: absolute; left: 0; top: 0; color: rgba(255,255,255,.4); }
.ft2__cta { display: grid; gap: 12px; align-content: start; }
.ft2__cta .btn { width: 100%; min-height: 58px; }
.btn--ghostw { border: 1.5px solid rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn--ghostw:hover { background: rgba(255,255,255,.08); }
.ft2__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.55); }
.ft2__bottom small { font-family: var(--f-en); font-size: 12px; }
.ft2__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.ft2__legal a { text-decoration: none; color: rgba(255,255,255,.7); }
@media (max-width: 1000px) { .ft2__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ft2__top { grid-template-columns: 1fr; gap: 32px; } .ft2__bottom { flex-direction: column-reverse; align-items: flex-start; } }

/* お問い合わせの入力欄は縦にだけ伸ばせる */
.form textarea { resize: vertical; max-width: 100%; }

/* ---- v59：表と裏のパネル（飾りの線・数字の帯をやめる） ---- */
.stagebox { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.stagebox__front, .stagebox__back { position: relative; padding: 28px 28px 28px 64px; }
.stagebox__front { background: #2c4458; display: grid; gap: 14px; }
.stagebox__back { background: #132331; display: grid; grid-template-columns: 68px 1fr; gap: 16px; align-items: center; }
.stagebox__side { position: absolute; left: 20px; top: 28px; font-weight: 900; font-size: 15px; letter-spacing: .3em; writing-mode: vertical-rl; color: rgba(255,255,255,.4); }
.stagebox__back .stagebox__side { color: #ffb066; }
.stagebox__back img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.stagebox__back p { font-weight: 700; font-size: 16px; line-height: 1.7; }
.stagebox__back small { display: block; margin-top: 4px; font-weight: 500; font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.6; }
.stagebox .talk__row { margin: 0; }
.pfv2__cred { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.65); }
@media (prefers-reduced-motion: no-preference) {
  .stagebox__front > * , .stagebox__back { animation: talkIn .6s both cubic-bezier(.2,.8,.2,1); }
  .stagebox__front > *:nth-child(2) { animation-delay: .5s; }
  .stagebox__front > *:nth-child(3) { animation-delay: 1.4s; }
  .stagebox__back { animation-delay: 2.3s; }
}
@media (max-width: 560px) { .stagebox__front, .stagebox__back { padding: 22px 18px 22px 50px; } .stagebox__side { left: 14px; } }

/* ---- v53：セキュリティと作業環境 ---- */
.secenv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.secenv__h { padding-bottom: 12px; border-bottom: 2px solid var(--navy); font-weight: 900; font-size: 19px; color: var(--navy); }
.secenv__list { display: grid; }
.secenv__list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--muted); line-height: 1.8; }
.secenv__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.secenv__list b { display: block; font-size: 16px; color: var(--navy); }
.secenv__list .wait { margin-top: 6px; }
.secenv__spec { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.secenv__spec th, .secenv__spec td { padding: 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.secenv__spec th { width: 34%; padding-right: 16px; color: var(--navy); font-weight: 700; }
@media (max-width: 860px) { .secenv { grid-template-columns: 1fr; } }

/* ---- v52：プライバシーポリシー ---- */
.policy { max-width: 860px; counter-reset: pol; }
.policy__intro { font-size: 16px; line-height: 2; }
.policy__sec { margin-top: 48px; }
.policy__sec h2 { counter-increment: pol; display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); font-weight: 900; font-size: clamp(19px, 2vw, 22px); color: var(--navy); line-height: 1.5; }
.policy__sec h2::before { content: counter(pol, decimal-leading-zero); font-family: var(--f-en); font-size: 14px; color: var(--orange-ink); letter-spacing: .1em; }
.policy__sec p, .policy__sec li { font-size: 15px; line-height: 2; }
.policy__sec p { margin-top: 14px; }
.policy__sec ul { margin-top: 12px; display: grid; gap: 4px; }
.policy__sec li { position: relative; padding-left: 18px; }
.policy__sec li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 2px; background: var(--orange); }
.policy__sec h3 { margin-top: 22px; font-weight: 700; font-size: 16px; color: var(--navy); }
.policy__scroll { margin-top: 16px; overflow-x: auto; }
.policy__table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.policy__table th, .policy__table td { padding: 12px 14px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.policy__table th { background: var(--gray); color: var(--navy); white-space: nowrap; }
.policy__table a { color: var(--orange-ink); word-break: break-all; }
.policy__info { margin-top: 16px; }
.policy__date { margin-top: 56px; font-size: 14px; color: var(--muted); }

/* ---- v52：フォームが横にはみ出さないように ---- */
html, body { overflow-x: clip; }
.form__row { grid-template-columns: 240px minmax(0, 1fr); }
.form__row > div, .form__set > div { min-width: 0; }
.picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .picks { grid-template-columns: minmax(0, 1fr); } }

/* ---- v51：保守プランは真ん中そろえ ---- */
.plan9 { align-items: center; text-align: center; }
.plan9__pic { margin-inline: auto; }
.plan9__list { text-align: left; align-self: center; }
.plan9__for { align-self: stretch; }

/* ---- v64：COCOROについて ---- */
.road5__year small { font-size: .42em; -webkit-text-stroke: 0; color: var(--orange-ink); margin-left: 2px; }
.outline { border-top: 2px solid var(--navy); }
.outline th { width: 24%; }

/* ---- v70：スマホでの見え方 ---- */
/* 経験の数字（60サイト以上など）は、枠の上下まんなかにそろえる */
.kanji__proof li { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) {
  /* 代表の写真は、スマホでは待たずにすぐ見せる（白い隙間に見えないように）＋まんなかに */
  .js .letter__photo.rv-mask { clip-path: none; transition: none; }
  .letter__photo { margin-inline: auto; }
}
@media (max-width: 560px) {
  /* サービスのタイルは、スマホでは視線がまんなかに来るようにそろえる */
  .svt a { align-items: center; text-align: center; }
  .svt > li.is-wide a { justify-items: center; text-align: center; }
}
/* ---- v71：伴走プランの内容（4つの仕事を、中身ごと見せる） ---- */
.pw4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: none; }
.pw4__item { position: relative; padding: clamp(28px, 3.6vw, 44px); background: var(--white); border-top: 4px solid var(--navy); overflow: hidden; }
.pw4__item--goal { border-top-color: var(--orange); }
.pw4__no { position: absolute; top: 14px; right: 22px; font-family: var(--f-en); font-weight: 700; font-size: clamp(64px, 8vw, 104px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px #c9d1d8; pointer-events: none; }
.pw4__item--goal .pw4__no { -webkit-text-stroke-color: rgba(238,114,3,.45); }
.pw4__h { position: relative; font-weight: 900; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.5; color: var(--navy); }
.pw4__list { position: relative; margin-top: 20px; display: grid; gap: 12px; }
.pw4__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.75; color: var(--ink, #333); }
.pw4__list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pw4__loop { margin-top: clamp(24px, 3vw, 36px); display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 700; font-size: clamp(15px, 1.6vw, 17px); color: var(--navy); text-align: center; }
.pw4__loop span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--white); font-size: 22px; }
@media (max-width: 760px) {
  .pw4 { grid-template-columns: minmax(0, 1fr); }
  .pw4__list br { display: none; }
  .pw4__loop { flex-direction: column; gap: 10px; }
}

/* 料金：中身の4つは、項目の途中で改行しない */
.fee__items span { white-space: nowrap; }
.fee__items span:not(:last-child)::after { content: "／"; }
/* プランに含まれないもの：見出し → 説明 → 項目を、上から順に */
.fee-ex { margin-top: 32px; padding: 24px 28px; background: var(--gray); border-radius: 4px; }
.fee-ex__h { font-weight: 700; font-size: 17px; color: var(--navy); }
.fee-ex__t { margin-top: 4px; font-size: 14px; color: var(--muted); }
.fee-ex__list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.fee-ex__list li { padding: 6px 14px; border: 1px solid #c9d1d8; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14px; color: var(--navy); }
@media (max-width: 560px) { .fee-ex { padding: 20px 18px; } }
/* ---- v72：ページ見出しの英字（スマホではみ出さない・線が重ならない） ---- */
/* 文字の中で線が交差して見えないよう、白で塗ってから外側に線を引く */
.ph9__en { color: var(--white); -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  /* いちばん長い単語（PARTNERSHIP・MAINTENANCE）でも、画面幅におさまる大きさに */
  .ph9__en { font-size: calc((100vw - 40px) / 8.4); letter-spacing: 0; line-height: 1; }
}
/* =========================================================
   v74：お知らせ・コラム・菊地のブログ
   ========================================================= */
/* 種類のラベル */
.chip9 { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; background: var(--navy); color: var(--white); }
.chip9--kyugyo { background: var(--orange); }
.chip9--column { background: var(--white); color: var(--orange-ink); box-shadow: inset 0 0 0 1.5px var(--orange); }
.chip9--blog { background: var(--orange-pale); color: var(--orange-ink); }

/* 休業日のお知らせ（トップ・お問い合わせの上に、自動で出る） */
.hol9 { background: var(--orange-pale); border-bottom: 1px solid #f6d9bd; }
.hol9__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-block: 14px; font-size: 14px; line-height: 1.8; color: var(--navy); }
.hol9__in b { font-weight: 900; }
.hol9__in a { margin-left: auto; font-weight: 700; color: var(--orange-ink); white-space: nowrap; }
@media (max-width: 640px) { .hol9__in a { margin-left: 0; } }

/* 一覧の切り替え（タブ） */
.ntabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.ntabs::-webkit-scrollbar { display: none; }
.ntabs a { position: relative; flex: none; padding: 14px 22px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .25s; }
.ntabs a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ntabs a:hover { color: var(--navy); }
.ntabs a[aria-current="page"] { color: var(--navy); }
.ntabs a[aria-current="page"]::after { transform: scaleX(1); }

/* お知らせの一覧 */
.nlist { border-top: 2px solid var(--navy); }
.nlist a { display: grid; grid-template-columns: 110px 96px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background-color .4s; }
.nlist a:hover { background: var(--gray); }
.nlist time { font-family: var(--f-en); font-weight: 600; font-size: 14px; color: var(--muted); }
.nlist .chip9 { justify-self: start; }
.nlist__title { font-weight: 700; line-height: 1.7; color: var(--navy); }
.nlist__title small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--orange-ink); }
.nlist__go { width: 8px; height: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s, border-color .3s; }
.nlist a:hover .nlist__go { border-color: var(--orange); transform: translateX(3px) rotate(45deg); }
.nlist a:hover .nlist__title { color: var(--orange-ink); }
.sec--gray .nlist a:hover { background: var(--white); }
@media (max-width: 640px) {
  .nlist a { grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; padding: 18px 4px; }
  .nlist__title { grid-column: 1 / -1; }
  .nlist__go { display: none; }
}
.nlist__empty { padding: 32px 8px; color: var(--muted); border-bottom: 1px solid var(--rule); }
.nmore { margin-top: 32px; }

/* 記事（お知らせ・コラム）のページ */
.art9 { padding-top: 40px; }
.art9__in { max-width: 800px; }
.art9__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.art9__meta time { font-family: var(--f-en); font-weight: 600; font-size: 14px; color: var(--muted); }
.art9__h { margin-top: 16px; font-weight: 900; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.55; color: var(--navy); }
.art9__head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--rule); }
.art9__eye { margin-bottom: 36px; border-radius: 6px; overflow: hidden; }
.art9__eye img { width: 100%; height: auto; }

/* 休業期間の案内 */
.kyu9 { display: grid; gap: 0; margin-bottom: 40px; border: 2px solid var(--orange); border-radius: 6px; overflow: hidden; }
.kyu9__row { display: grid; grid-template-columns: 160px minmax(0, 1fr); }
.kyu9__row + .kyu9__row { border-top: 1px solid #f6d9bd; }
.kyu9__k { display: flex; align-items: center; padding: 16px 20px; background: var(--orange-pale); font-weight: 700; font-size: 14px; color: var(--orange-ink); }
.kyu9__v { padding: 16px 20px; font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1.7; }
.kyu9__v small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 560px) { .kyu9__row { grid-template-columns: 1fr; } .kyu9__k { padding: 10px 16px; } .kyu9__v { padding: 12px 16px; } }

/* 書いた人 */
.author9 { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 56px; padding: 28px; background: var(--gray); border-radius: 6px; }
.author9 img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.author9__k { font-family: var(--f-en); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--orange-ink); }
.author9__name { margin-top: 2px; font-weight: 900; font-size: 18px; color: var(--navy); }
.author9__t { margin-top: 6px; font-size: 14px; line-height: 1.85; color: var(--ink); }
.author9__t a { color: var(--orange-ink); font-weight: 700; }
@media (max-width: 560px) { .author9 { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px 18px; } }

/* 前後の記事 */
.pn9 { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: 14px; }
.pn9 a { color: var(--navy); font-weight: 700; text-decoration: none; line-height: 1.6; }
.pn9 a:hover { color: var(--orange-ink); }
.pn9 small { display: block; font-family: var(--f-en); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.pn9__next { text-align: right; }
@media (max-width: 640px) { .pn9 { grid-template-columns: 1fr 1fr; } .pn9__back { grid-column: 1 / -1; order: 3; justify-self: center; } }

/* 菊地のブログ：カード */
.bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.bcard a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: 6px; overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px var(--rule); transition: box-shadow .45s, transform .45s; }
.bcard a:hover { box-shadow: 0 0 0 1px var(--rule), 0 14px 32px rgba(31,51,68,.12); transform: translateY(-3px); }
.bcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bcard a:hover .bcard__img img { transform: scale(1.04); }
.bcard__noimg { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--orange-pale), #fde3c8); font-family: var(--f-en); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1.2px var(--orange); }
.bcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bcard__meta time { font-family: var(--f-en); font-weight: 600; font-size: 13px; color: var(--muted); }
.bcard__h { margin-top: 12px; font-weight: 900; font-size: 17px; line-height: 1.6; color: var(--navy); }
.bcard__t { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bcards { grid-template-columns: minmax(0, 1fr); } }

/* トップの「菊地のブログ」（少し目立たせる） */
.blog9 { background: var(--navy); color: var(--white); overflow: hidden; }
.blog9 .shead__no { -webkit-text-stroke-color: rgba(255,255,255,.6); }
.blog9 .shead__ja { color: var(--white); }
.blog9 .shead__lead { color: rgba(255,255,255,.78); }
.blog9__me { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.blog9__me img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 3px solid var(--orange); }
.blog9__me p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.85); }
.blog9__me b { display: block; font-size: 16px; color: var(--white); }
.blog9__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.blog9__tags span { padding: 3px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.85); }
.blog9 .bcard a { box-shadow: none; }
.blog9__more { margin-top: 36px; display: flex; justify-content: center; }

/* ブログ一覧の上の、書いている人 */
.bme { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 48px; padding: 32px; background: var(--gray); border-radius: 6px; }
.bme img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 3px solid var(--orange); }
.bme__name { font-weight: 900; font-size: 20px; color: var(--navy); }
.bme__name small { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.bme__t { margin-top: 8px; font-size: 15px; line-height: 1.9; }
@media (max-width: 640px) { .bme { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 20px; } }

/* ブログの記事ページ */
.bart__eye { margin-bottom: 40px; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--gray); }
.bart__eye img { width: 100%; height: 100%; object-fit: cover; }
.entry blockquote { padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--orange-pale); }
.bmore { margin-top: 72px; }
.bmore__h { margin-bottom: 24px; font-weight: 900; font-size: 20px; color: var(--navy); }.author9__name small { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }/* トップ：菊地のブログ・お知らせの見出し */
.blog9__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 40px; }
.blog9__en, .news9__en { font-family: var(--f-en); font-weight: 700; font-size: clamp(56px, 8vw, 104px); line-height: .9; letter-spacing: .02em; }
.blog9__en { color: var(--navy); -webkit-text-stroke: 3px rgba(255,255,255,.7); paint-order: stroke fill; }
.blog9__h { margin-top: 14px; font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); color: var(--white); }
.blog9__lead { margin-top: 10px; font-size: 15px; line-height: 1.95; color: rgba(255,255,255,.8); }
.blog9__me { margin-bottom: 0; }
.news9__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.news9__head { grid-column: 1; grid-row: 1; }
.news9__list { grid-column: 2; grid-row: 1 / 3; }
.news9__btn { grid-column: 1; grid-row: 2; margin-top: 28px; }
.news9__en { color: var(--gray); -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; }
.news9__h { margin-top: 14px; font-weight: 900; font-size: clamp(24px, 2.8vw, 32px); color: var(--navy); }
.news9__lead { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--muted); }
@media (max-width: 860px) {
  .news9__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .news9__head, .news9__list, .news9__btn { grid-column: 1; grid-row: auto; }
  .news9__list { margin-top: 28px; }
}
@media (max-width: 640px) {
  .blog9__en, .news9__en { font-size: calc((100vw - 40px) / 6); }
  .blog9__me { width: 100%; }
}.news9__en { font-size: clamp(48px, 5.2vw, 72px); }.nw { display: inline-block; white-space: nowrap; }
/* ---- v75：サービスのカードの左上は、番号ではなく「何をするか」の言葉で ---- */
.svt__no { align-self: flex-start; display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--orange-pale); font-family: var(--f-jp); font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; color: var(--orange-ink); transition: background-color .3s, color .3s; }
.svt a:hover .svt__no { background: rgba(255,255,255,.14); color: #ffb066; }
.is-wide .svt__no { justify-self: start; }
.svt > li.is-help .svt__no { background: var(--white); }
@media (max-width: 560px) {
  .svt__no { align-self: center; }
  .is-wide .svt__no { justify-self: center; }
}
/* ---- v76：ブログ「COMING SOON」（まだ記事がないとき） ---- */
.soon9 { padding: clamp(40px, 6vw, 72px) 24px; border: 1.5px dashed var(--rule); border-radius: 8px; background: var(--gray); text-align: center; }
.soon9__en { font-family: var(--f-en); font-weight: 700; font-size: clamp(34px, 6vw, 72px); line-height: 1; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1.5px var(--orange); }
.soon9__h { margin-top: 20px; font-weight: 900; font-size: 18px; color: var(--navy); }
.soon9__t { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.blog9 .soon9 { background: transparent; border-color: rgba(255,255,255,.3); }
.blog9 .soon9__h { color: var(--white); }
.blog9 .soon9__t { color: rgba(255,255,255,.75); }.soon9__en { color: var(--gray); -webkit-text-stroke: 3px var(--orange); paint-order: stroke fill; }
.blog9 .soon9__en { color: var(--navy); }
/* ---- v77：フッター（NEWS の見出し・菊地のブログのバナー） ---- */
.ft2__ttl--next { margin-top: 32px; }
.ftblog { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 8px; padding: 16px; border-radius: 8px; background: linear-gradient(135deg, rgba(238,114,3,.22), rgba(238,114,3,.06)); box-shadow: inset 0 0 0 1px rgba(255,176,102,.45); text-decoration: none; transition: background-color .45s, box-shadow .45s, transform .45s; }
.ftblog:hover { box-shadow: inset 0 0 0 1px #ffb066, 0 10px 24px rgba(0,0,0,.25); transform: translateY(-2px); }
.ftblog img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid var(--orange); }
.ftblog__body { display: grid; gap: 2px; }
.ftblog__k { font-weight: 900; font-size: 15px; color: var(--white); }
.ftblog__t { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.78); }
.ftblog__go { margin-top: 4px; font-weight: 700; font-size: 13px; color: #ffb066; }.ftblog { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 12px; }
.ftblog img { width: 48px; height: 48px; }
.ftblog__body { display: contents; }
.ftblog__k { align-self: center; }
.ftblog__t, .ftblog__go { grid-column: 1 / -1; }
.ftblog__t { font-size: 13px; }
/* ---- v78：ブログの「COMING SOON」とフッターのバナーを、飾らない形に ---- */
/* COMING SOON：点線の箱をやめて、上下の細い線だけ。文字は左そろえで静かに */
.soon9 { padding: 36px 0; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; background: none; text-align: left; }
.soon9__en { font-size: 13px; letter-spacing: .24em; color: var(--orange-ink); -webkit-text-stroke: 0; paint-order: normal; }
.soon9__h { margin-top: 12px; font-size: clamp(20px, 2.4vw, 26px); }
.soon9__t { margin-top: 6px; font-size: 15px; }
.blog9 .soon9 { background: none; border-color: rgba(255,255,255,.18); }
.blog9 .soon9__en { color: #ffb066; }

/* フッターの菊地のブログ：箱をやめて、文字のリンクに */
.ftblog { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; align-items: center; margin-top: 20px; padding: 20px 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid rgba(255,255,255,.14); transform: none; }
.ftblog:hover { box-shadow: none; transform: none; }
.ftblog img { width: 44px; height: 44px; border: 0; }
.ftblog__k { font-size: 15px; }
.ftblog__t { font-size: 13px; color: rgba(255,255,255,.7); }
.ftblog__go { margin-top: 2px; font-size: 13px; }
.ftblog:hover .ftblog__go { text-decoration: underline; text-underline-offset: 4px; }
/* ---- v79：写真が出てこない不具合の修正 ----
   写真の枠（.rv-mask）そのものを隠すと、ブラウザが「画面に入っていない」と判断して、表示のきっかけが来ない。
   枠は見えたままにして、中の写真だけを右から出す。 */
@media (prefers-reduced-motion: no-preference) {
  .js .rv-mask, .js .rv-mask.in { clip-path: none; transition: none; }
  .js .rv-mask > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
  .js .rv-mask.in > * { clip-path: inset(0 0 0 0); }
}@media (max-width: 900px) { .js .letter__photo.rv-mask > * { clip-path: none; transition: none; } }
/* ---- v80：人柄・経験・知見の行は、左右に同じ余白をとる（色が付いたときに、文字が端にくっつかないように） ---- */
@media (min-width: 901px) { .kanji__row { padding-inline: clamp(24px, 3vw, 40px); } }
/* ---- v81：トップの説明文は、言葉の切れ目（<wbr>）でだけ改行する。1文目と2文目のあいだに少し間をあける ---- */
.hero5__lead { max-width: 32em; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.hero5__lead > span { display: block; }
.hero5__lead > span + span { margin-top: .6em; }
/* ---- v82：お問い合わせ「送信中…」（押せたことが分かるように） ---- */
.send9.is-busy input[type="submit"] { pointer-events: none; cursor: wait; }
.send9.is-busy input[name="submitBack"] { opacity: .35; }
.form .send9 input[type="submit"].is-busy { color: transparent !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='rgba(255,255,255,.35)' stroke-width='5'/%3E%3Cpath d='M25 5a20 20 0 0 1 20 20' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 30px; }
.send9__busy { margin-top: 14px; font-weight: 700; font-size: 14px; line-height: 1.7; color: var(--orange-ink); }
/* ---- v83：人柄・経験・知見は、スマホでも左右に同じ余白をとる ---- */
@media (max-width: 900px) { .kanji__row { padding-inline: 20px; } }@media (max-width: 480px) { .kanji__proof { grid-template-columns: 1fr; } }
/* ---- v84：スマホでは「〜を見る」ボタンを中央に ---- */
@media (max-width: 640px) { .more9 { text-align: center; } }/* 2行を守る：1行ずつ折り返さない。狭い画面ではボタンの左右の余白を少しつめる */
@media (max-width: 640px) { .more9 .btn { max-width: 100%; padding-inline: 24px; } }
/* ---- v85：ご依頼の流れ STEP01 に、お問い合わせフォームへのボタン ---- */
.howto__link { grid-column: 2; margin-top: 12px; }
@media (max-width: 640px) { .howto__link { grid-column: 1; } .howto__link .btn { width: 100%; } }

/* =========================================================
   MW WP Form（お問い合わせフォーム）の見た目
   ========================================================= */
/* 入力 → 確認 → 送信完了 の目印 */
.formsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 22px 28px; list-style: none; border-bottom: 1px solid var(--rule); counter-reset: none; }
.formsteps li { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px; font-weight: 700; font-size: 14px; color: var(--muted); background: var(--gray); }
.formsteps li + li { margin-left: 14px; }
.formsteps li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--rule); border-right: 2px solid var(--rule); transform: translateY(-50%) rotate(45deg); }
.formsteps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--white); font-family: var(--f-en); font-size: 12px; }
.mw_wp_form_input .formsteps__input, .mw_wp_form_confirm .formsteps__confirm, .formsteps--done .formsteps__done { background: var(--navy); color: var(--white); }
.mw_wp_form_input .formsteps__input b, .mw_wp_form_confirm .formsteps__confirm b, .formsteps--done .formsteps__done b { background: var(--orange); color: var(--white); }
.formsteps--done { padding: 0; border: 0; margin-top: 32px; max-width: 560px; }
@media (max-width: 560px) { .formsteps { padding: 16px; } .formsteps li { font-size: 12px; flex-direction: column; gap: 4px; } }

/* 確認画面の案内（入力画面では出さない） */
.confirm-note { display: none; }
.mw_wp_form_confirm .confirm-note { display: block; margin: 24px 28px 8px; padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--orange-pale); font-size: 15px; line-height: 1.9; }
.confirm-note__h { font-weight: 900; font-size: 17px; color: var(--navy); }
main:has(.mw_wp_form_confirm) .trust, main:has(.mw_wp_form_confirm) .cform__lead span { display: none; }

/* ご確認いただきたい項目があるとき */
.err-summary { margin: 24px 28px 8px; padding: 16px 20px; border-radius: 6px; background: #fdf1ef; border: 1px solid #f1c7c0; font-size: 14px; line-height: 1.8; }
.err-summary__h { font-weight: 900; font-size: 16px; color: #b5382a; }
.form .form__err, .form .error { color: #b5382a; }
.form__row:has(.form__err:not([hidden])) input, .form__row:has(.error:not([hidden])) input, .form__row:has(.error:not([hidden])) textarea { border-color: #e2a39a; background: #fffaf9; }
.form .error[hidden], .form .form__err[hidden] { display: none !important; }
@media (max-width: 560px) { .confirm-note, .err-summary { margin-inline: 16px; } }

/* WordPressが勝手に入れる <br> や 空の <p> で、行の並びが崩れないように */
.form br { display: none; }
.form p:empty { display: none; }
.form > p:not([class]), .form__row > p:not([class]), .form__set > p:not([class]) { display: contents; }
.form__row > label, .form__set > legend { align-self: start; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form select, .form textarea { width: 100%; }
.form .mwform-checkbox-field, .form .mwform-radio-field { display: flex; margin: 0 !important; }
.form .mwform-checkbox-field label, .form .mwform-radio-field label { flex: 1; }
/* ご相談の内容のタイルは、すべて同じ高さにそろえる */
.form .picks:not(.picks--row) { grid-auto-rows: 1fr; }
.form .mwform-checkbox-field label, .form .mwform-radio-field label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1px solid #c9d1d8; border-radius: 6px; background: var(--white); font-weight: 500; line-height: 1.5; cursor: pointer; transition: border-color .45s, background-color .45s; }
.form .mwform-checkbox-field label:hover, .form .mwform-radio-field label:hover { border-color: var(--orange); }
.form .mwform-checkbox-field input, .form .mwform-radio-field input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; padding: 0; border: 2px solid #aab5bf; background: var(--white); cursor: pointer; transition: border-color .35s, background-color .35s, box-shadow .35s; }
.form .mwform-checkbox-field input { border-radius: 4px; }
.form .mwform-radio-field input { border-radius: 50%; }
.form .mwform-checkbox-field input:checked { border-color: var(--orange); background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.form .mwform-radio-field input:checked { border-color: var(--orange); box-shadow: inset 0 0 0 4px var(--white); background: var(--orange); }
.form .mwform-checkbox-field label:has(input:checked), .form .mwform-radio-field label:has(input:checked) { border-color: var(--orange); background: var(--orange-pale); font-weight: 700; color: var(--navy); }
.form .mwform-checkbox-field input:focus-visible, .form .mwform-radio-field input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.form .error { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: #c0392b; }
.form .mwform-tel-field input { width: 100%; }
.mw_wp_form_confirm .form__hint, .mw_wp_form_confirm .send9__assure, .mw_wp_form_confirm .send9__steps, .mw_wp_form_confirm .req, .mw_wp_form_confirm .opt { display: none; }
.mw_wp_form_confirm .form__row > div, .mw_wp_form_confirm .form__set > div { padding-top: 12px; font-weight: 500; }
.form .send9 input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; margin-top: 20px; min-width: 340px; min-height: 68px; padding: 0 32px; border: 0; border-radius: 4px; background: var(--orange); color: var(--white); font: inherit; font-weight: 700; font-size: 18px; letter-spacing: .06em; cursor: pointer; transition: background-color .45s; }
.form .send9 input[type="submit"]:hover { background: var(--orange-d); }
.form .send9 input[name="submitBack"] { margin-right: 12px; min-width: 200px; background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
@media (max-width: 560px) { .form .send9 input[type="submit"] { min-width: 0; width: 100%; margin-right: 0; } }

/* =========================================================
   記事（お知らせ・コラム・製作事例）と一覧
   ========================================================= */
.entry { font-size: 16px; line-height: 2; }
.entry > * + * { margin-top: 1.4em; }
.entry h2 { margin-top: 2.4em; padding-bottom: 10px; border-bottom: 2px solid var(--navy); font-weight: 900; font-size: 22px; line-height: 1.5; color: var(--navy); }
.entry h3 { margin-top: 2em; padding-left: 14px; border-left: 4px solid var(--orange); font-size: 18px; line-height: 1.6; color: var(--navy); }
.entry ul { list-style: disc; padding-left: 1.4em; }
.entry ol { list-style: decimal; padding-left: 1.4em; }
.entry a { color: var(--orange-ink); }
.entry img { border-radius: 6px; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 12px; border: 1px solid var(--rule); }
.post-list { border-top: 2px solid var(--navy); }
.post-list a { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.post-list time { font-family: var(--f-en); font-size: 14px; color: var(--muted); }
.post-list__title { font-weight: 700; color: var(--navy); }
.post-list a:hover .post-list__title { color: var(--orange-ink); }
.pager { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; }
.pager .current { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 560px) { .post-list a { grid-template-columns: 1fr; gap: 2px; } }
