/* まるっとくん 塗装版（/toso/）専用スタイル
   デザイン確定: 2026-08-31 案4（和紙×墨×朱×橙・書類テープ留め・法被柴犬）
   トークンはFVモック（デザイン案_toso_20260831/案4）から採取 */
:root {
  --washi: #f4eddb;        /* 生成り和紙 */
  --washi-deep: #ede4cc;   /* 和紙の濃いところ */
  --paper: #fdfcf8;        /* 書類の白 */
  --sumi: #2b2620;         /* 墨色（見出し・本文） */
  --sumi-soft: #59524a;    /* 本文サブ */
  --shu: #c8402c;          /* 朱（下線・判子） */
  --daidai: #e8731a;       /* 橙（月3万円・CTA） */
  --daidai-deep: #d05f0c;
  --line: #ddd2b8;         /* 罫線 */
  --tape: rgba(214, 200, 164, .75);
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--sumi); font-family: var(--font);
  font-size: 16px; line-height: 2; letter-spacing: .02em;
  background: var(--washi) url("/assets/img/toso/washi.jpg");
  background-size: 900px auto;
  word-break: auto-phrase; /* 日本語の文節単位で折り返し（対応ブラウザのみ・1文字残り対策） */
}
h1, h2, h3, .sec-title, .kami b, .dg b { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- ヘッダー ---------- */
.t-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 22px;
  background: color-mix(in srgb, var(--washi) 88%, white);
  border-bottom: 1px solid var(--line);
}
.t-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.t-logo img { width: 36px; height: 36px; object-fit: contain; }
.t-logo span { align-self: flex-end; padding-bottom: 3px; }
.t-logo b { font-size: 19px; letter-spacing: .04em; }
.t-logo span { font-size: 11.5px; color: var(--sumi-soft); }
.t-nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 700; }
.t-nav a { text-decoration: none; }
.t-nav a:hover { color: var(--shu); }
.t-tel { font-size: 13px; color: var(--sumi-soft); text-align: right; line-height: 1.4; }
.t-tel b { font-size: 15px; color: var(--sumi); letter-spacing: .03em; }
.t-cta {
  background: var(--daidai); color: #fff; font-weight: 800; text-decoration: none;
  padding: 10px 22px; border-radius: 4px; font-size: 14.5px;
  box-shadow: 0 2px 0 var(--daidai-deep);
}
.t-cta:hover { transform: translateY(1px); box-shadow: 0 1px 0 var(--daidai-deep); }
.t-nav-sp { display: none; }

/* SP用ミニナビ（ページ間移動・横スクロール） */
.t-subnav { display: none; }

/* ページ見出し（下層ページ） */
.page-head { padding: 54px 0 0; }
.page-head h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 8px; }
.page-head p { color: var(--sumi-soft); margin: 0; }

.ph-flex { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* トップのダイジェスト一覧 */
.digest-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 46px; margin: 30px 0 6px; }
.digest-list .dg { padding: 14px 2px; border-bottom: 1px dashed var(--line); }
.digest-list b { font-size: 16px; }
.digest-list p { margin: 2px 0 0; font-size: 13.5px; color: var(--sumi-soft); line-height: 1.8; }
.more-link { display: inline-block; margin-top: 22px; font-weight: 800; text-decoration: none; color: var(--shu); font-size: 15px; }
.more-link::after { content: " →"; }
.more-link:hover { text-decoration: underline; }

/* トップの代表ミニ紹介 */
.mini-daihyo { display: flex; gap: 26px; align-items: center; }
.mini-daihyo img { width: 130px; border: 6px solid #fff; box-shadow: 0 6px 16px rgba(90, 70, 30, .18); transform: rotate(-2deg); flex: none; }

/* 会社ページ: 代表メッセージ */
.msg-wrap { display: flex; gap: 44px; align-items: flex-start; }
.msg-body { flex: 1; }

/* 仕事の中身: やることリスト（旧guide） */
.guide-lead { max-width: 800px; }
.guide-item { max-width: 800px; margin: 0 0 30px; padding: 24px 30px; }
.guide-item h2 { font-size: 19px; margin: 0 0 10px; display: flex; gap: 14px; align-items: baseline; }
.guide-item h2 .gno { font-family: var(--serif); color: var(--shu); font-size: 24px; flex: none; }
.guide-item h2 .icn { margin-left: auto; width: 46px; height: 46px; object-fit: contain; align-self: center; flex: none; }
.guide-item dl { margin: 0; }
.guide-item dt { font-weight: 800; font-size: 13px; color: var(--shu); margin-top: 12px; }
.guide-item dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.95; }

/* 会社ページ: プロフィール */
.prof { max-width: 760px; }
.prof p { margin: 14px 0; }
.prof-name { font-size: 21px; font-weight: 900; letter-spacing: .06em; margin: 0 0 2px !important; }
.prof-name span { font-size: 12.5px; font-weight: 500; color: var(--sumi-soft); margin-left: 12px; letter-spacing: .12em; }
.prof-role { font-size: 14px; color: var(--sumi-soft); margin: 0 0 18px !important; padding-bottom: 14px; border-bottom: 1px solid var(--line); }

/* シーン柴犬（ページ挿絵） */
.page-shiba { display: block; width: 120px; margin: 0 auto 14px; }
.yaranai-shiba { float: right; width: 104px; margin: 0 0 8px 16px; }

/* CTAバンド */
.cta-band { text-align: center; background: rgba(255, 255, 255, .5); border-top: 1px solid var(--line); }
.cta-band .btn-main { font-size: 19px; padding: 18px 60px; }
.cta-band .tel-band { margin-top: 18px; }

/* ---------- 共通 ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; }
.sec-title { font-size: clamp(24px, 3.4vw, 33px); line-height: 1.6; margin: 0 0 14px; letter-spacing: .03em; }
.sec-note { color: var(--sumi-soft); font-size: 15px; margin: 0 0 40px; }
.brush-u { position: relative; display: inline-block; }
.brush-u::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .38em;
  background: url("/assets/img/toso/brush_shu.png") no-repeat center / 100% 100%;
  z-index: -1;
}
.hanko {
  display: inline-block; width: 74px; height: 74px; flex: none;
  background: url("/assets/img/toso/hanko_marutto.png") no-repeat center / contain;
}

/* 紙パネル（テープ留め） */
.kami {
  position: relative; background: var(--paper);
  border: 1px solid #eee7d6;
  box-shadow: 0 6px 22px rgba(90, 70, 30, .13);
  padding: 26px 28px;
}
.kami::before {
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 92px; height: 26px; background: var(--tape); opacity: .9;
}
.tilt-l { transform: rotate(-1.6deg); }
.tilt-r { transform: rotate(1.4deg); }

/* scroll reveal（main.js の .sr/.on を利用） */
.sr { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.sr.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
}

/* ---------- FV ---------- */
.hero { padding: 64px 0 90px; overflow: hidden; }
.hero .wrap { display: flex; gap: 40px; align-items: center; }
.hero-copy { flex: 1 1 46%; position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.55; margin: 0 0 6px; letter-spacing: .02em;
}
.hero-price {
  font-size: clamp(58px, 8.6vw, 108px); font-weight: 900; color: var(--daidai);
  line-height: 1.15; letter-spacing: .01em; margin: 6px 0 10px;
}
.hero-price small { font-size: .38em; font-weight: 800; color: var(--sumi); margin-left: 6px; }
.hero-sub { font-size: 16.5px; color: var(--sumi-soft); margin: 0 0 30px; }
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-main {
  display: inline-block; background: var(--daidai); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 18px; padding: 16px 44px; border-radius: 5px;
  box-shadow: 0 3px 0 var(--daidai-deep); border: none; cursor: pointer; font-family: var(--font);
}
.btn-main:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--daidai-deep); }
.hero-tel { font-size: 13.5px; color: var(--sumi-soft); line-height: 1.5; }
.hero-tel b { font-size: 17px; color: var(--sumi); }
.hero-cta-row .hanko { transform: rotate(-8deg); opacity: .92; margin-left: 2px; }

/* FV右: 書類2枚＋柴犬 */
.hero-papers { flex: 1 1 54%; position: relative; min-height: 460px; }
.hp-doc {
  position: absolute; background: var(--paper); border: 1px solid #ece5d2;
  box-shadow: 0 10px 30px rgba(90, 70, 30, .18); overflow: hidden;
}
.hp-doc::before {
  content: ""; position: absolute; top: -2px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 96px; height: 24px; background: var(--tape); z-index: 3;
}
.hp-mitsumori { width: 54%; left: 2%; top: 4%; transform: rotate(-3deg); padding: 20px 22px; z-index: 1; }
.hp-kuchikomi { width: 46%; right: 0; top: 16%; transform: rotate(2.4deg); padding: 18px 20px; z-index: 2; }
.hero-shiba {
  position: absolute; right: -18px; top: -48px; width: 150px; z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(90, 70, 30, .2));
}
.hero-note { position: absolute; right: 4px; bottom: -34px; font-size: 11px; color: var(--sumi-soft); }

/* 見積書ミニチュア（HTML再現） */
.doc-h { font-weight: 800; font-size: 15px; border-bottom: 2px solid var(--sumi); padding-bottom: 6px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.doc-h small { font-weight: 500; font-size: 10px; color: var(--sumi-soft); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 11px; line-height: 1.7; }
.doc-table td { border-bottom: 1px solid #eee3cd; padding: 3px 4px; }
.doc-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.doc-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; margin-top: 8px; }

/* マップ検索結果ミニチュア（HTML再現） */
.map-bar { border: 1.5px solid #ddd5c2; border-radius: 20px; padding: 5px 14px; margin-bottom: 10px;
  font-size: 12px; color: var(--sumi); background: #fff; display: flex; align-items: center; gap: 8px; }
.map-bar::before { content: ""; width: 11px; height: 11px; border: 2px solid #9a9284; border-radius: 50%;
  box-shadow: 3px 4px 0 -1.5px #9a9284; flex: none; margin-right: 2px; }
.map-canvas { position: relative; height: 84px; background: #eef0e2; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.map-canvas .rd { position: absolute; background: #fff; }
.map-canvas .rd1 { left: 18%; top: -10%; width: 12px; height: 120%; transform: rotate(14deg); }
.map-canvas .rd2 { left: -5%; top: 52%; width: 110%; height: 10px; transform: rotate(-4deg); }
.map-canvas .pin { position: absolute; width: 13px; height: 13px; background: var(--shu); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); }
.map-canvas .pin1 { left: 44%; top: 26%; width: 17px; height: 17px; box-shadow: 0 0 0 3px rgba(200, 64, 44, .25); }
.map-canvas .pin2 { left: 70%; top: 58%; opacity: .55; }
.map-canvas .pin3 { left: 20%; top: 66%; opacity: .55; }
.map-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  border-top: 1px solid #eee3cd; padding: 6px 2px; font-size: 11.5px; }
.map-row b { font-size: 12px; }
.map-row .map-meta { color: var(--sumi-soft); font-size: 10.5px; white-space: nowrap; }
.map-row.you { background: #fdf4e7; border-left: 3px solid var(--daidai); padding-left: 7px; }
.map-row.you b { color: var(--daidai-deep); }

/* クチコミミニチュア（HTML再現） */
.rv-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.rv-head b { font-size: 26px; }
.rv-stars { color: #e8a90c; letter-spacing: 2px; font-size: 13px; }
.rv-count { font-size: 11px; color: var(--sumi-soft); }
.rv-item { border-top: 1px solid #eee3cd; padding: 7px 0; font-size: 11px; line-height: 1.65; }
.rv-item b { display: block; font-size: 11.5px; }
.rv-item .rv-stars { font-size: 10px; }

/* FVの登場モーション（reduced-motion時は無効） */
@media (prefers-reduced-motion: no-preference) {
  .hp-mitsumori { animation: doc-in-l .7s cubic-bezier(.2,.8,.3,1) .15s backwards; }
  .hp-kuchikomi { animation: doc-in-r .7s cubic-bezier(.2,.8,.3,1) .35s backwards; }
  .hero-shiba { animation: shiba-in .55s cubic-bezier(.2,.8,.3,1) .6s backwards,
                           shiba-bob 3.6s ease-in-out 2.2s infinite; }
  .hero-cta-row .hanko { animation: hanko-in .35s ease .95s backwards; }
}
@keyframes doc-in-l { from { opacity: 0; transform: translateY(26px) rotate(-5deg); } to { opacity: 1; transform: translateY(0) rotate(-3deg); } }
@keyframes doc-in-r { from { opacity: 0; transform: translateY(30px) rotate(4.5deg); } to { opacity: 1; transform: translateY(0) rotate(2.4deg); } }
@keyframes shiba-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shiba-bob { 50% { transform: translateY(-7px); } }
@keyframes hanko-in { from { opacity: 0; transform: scale(1.7) rotate(-8deg); } to { opacity: .92; transform: scale(1) rotate(-8deg); } }

/* ---------- 共感（あるある） ---------- */
.naya { background: rgba(255, 255, 255, .45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.naya-memos { display: flex; gap: 26px; flex-wrap: wrap; margin: 36px 0 42px; }
.naya-memos .kami { flex: 1 1 260px; font-size: 15px; line-height: 1.9; }
.naya-memos .kami b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.naya-data { display: flex; gap: 26px; align-items: center; }
.naya-data .num { font-size: clamp(44px, 6vw, 68px); font-weight: 900; color: var(--shu); line-height: 1; flex: none; font-family: var(--serif); }
.naya-data p { margin: 0; }
.naya-data .src { display: block; font-size: 12px; color: var(--sumi-soft); }

/* ---------- ぜんぶの中身 ---------- */
.nakami-list { display: flex; flex-wrap: wrap; gap: 24px; }
.nakami-list .kami { flex: 1 1 300px; padding: 22px 24px; }
.nakami-list .kami:nth-child(2n) { transform: rotate(1.1deg); }
.nakami-list .kami:nth-child(3n) { transform: rotate(-1.2deg); }
.nakami-list b { display: block; font-size: 17px; margin-bottom: 4px; }
.nakami-list .icn { float: right; width: 54px; height: 54px; object-fit: contain; margin: 0 0 8px 12px; }
.data-note { margin: 10px 0 0; padding: 2px 0 2px 12px; border-left: 3px solid var(--shu); font-size: 12.5px; color: var(--sumi-soft); line-height: 1.7; }
.data-note b { display: inline; font-size: 12.5px; color: var(--shu); }
.nakami-list p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--sumi-soft); }
.nakami-list .fee { display: inline-block; font-size: 12px; color: var(--shu); border: 1px solid var(--shu); border-radius: 3px; padding: 0 8px; margin-left: 8px; vertical-align: 2px; }
.yaranai { margin-top: 46px; border-left: 4px solid var(--shu); padding: 4px 0 4px 22px; }
.yaranai b { font-size: 17px; }
.yaranai p { margin: 6px 0 0; color: var(--sumi-soft); font-size: 15px; }

/* ---------- 社長の仕事は3つ ---------- */
.sancho { background: rgba(255, 255, 255, .45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sancho .wrap { display: flex; gap: 46px; align-items: center; }
.sancho-photo { flex: 1 1 40%; }
.sancho-photo img { display: block; box-shadow: 0 10px 26px rgba(90, 70, 30, .2); transform: rotate(-1.6deg); border: 8px solid #fff; }
.sancho-body { flex: 1 1 60%; }
.sancho-item { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.sancho-item .no { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--shu); flex: none; width: 40px; }
.sancho-item b { font-size: 17px; }
.sancho-item p { margin: 2px 0 0; font-size: 14.5px; color: var(--sumi-soft); }

/* ---------- 料金 ---------- */
.price-flex { display: flex; gap: 30px; align-items: stretch; flex-wrap: wrap; }
.price-in { flex: 2 1 420px; }
.price-out { flex: 1 1 280px; background: transparent; border: 2px solid var(--line); padding: 24px 26px; }
.price-in .kami { padding: 30px 34px; }
.price-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--sumi); padding-bottom: 12px; margin-bottom: 16px; }
.price-head .p { font-size: 40px; font-weight: 900; color: var(--daidai); line-height: 1; }
.price-head .p small { font-size: 15px; color: var(--sumi); font-weight: 700; }
.price-ul { margin: 0; padding: 0; list-style: none; column-count: 2; column-gap: 34px; font-size: 15px; }
.price-ul li { padding: 5px 0 5px 22px; position: relative; break-inside: avoid; }
.price-ul li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 10px; height: 4px; background: var(--shu); transform: rotate(-4deg); }
.price-out b { display: block; font-size: 16px; margin-bottom: 8px; }
.price-out ul { margin: 0; padding: 0 0 0 2px; list-style: none; font-size: 14.5px; color: var(--sumi-soft); }
.price-out li { padding: 4px 0; }
.yakusoku { display: flex; gap: 34px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.yakusoku .maru {
  width: 148px; height: 148px; border: 3px solid var(--shu); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--shu); font-weight: 800; line-height: 1.5; font-size: 16.5px; text-align: center;
  transform: rotate(-2deg); background: rgba(255, 255, 255, .5);
}
.yakusoku .maru:nth-child(2) { transform: rotate(1.5deg); }
.yakusoku .maru:nth-child(3) { transform: rotate(-1deg); }
.yakusoku .maru small { font-size: 12px; font-weight: 700; }

/* ---------- 独自調査スタッツ（トップ） ---------- */
.stat-rows { max-width: 760px; margin: 34px 0 0; }
.stat-row { display: flex; align-items: center; gap: 16px; padding: 9px 0; }
.stat-label { flex: 0 0 46%; font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.stat-bar { flex: 1; height: 15px; position: relative; }
.stat-bar::before { content: ""; position: absolute; inset: 0; border-bottom: 1px dashed var(--line); }
.stat-bar i { position: absolute; left: 0; top: 0; height: 100%; min-width: 14px;
  background: url("/assets/img/toso/brush_daidai.png") no-repeat left center / 100% 100%; }
.stat-row.hl .stat-bar i { filter: hue-rotate(-18deg) saturate(1.2); }
.stat-val { flex: 0 0 64px; text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; font-size: 16px; }
.stat-row.hl .stat-val { color: var(--shu); }
@media (max-width: 860px) {
  .stat-label { flex-basis: 52%; font-size: 12.5px; }
  .stat-val { flex-basis: 52px; font-size: 14px; }
}

/* ---------- 他社比較（料金ページ） ---------- */
.hikaku-flex { display: flex; gap: 40px; align-items: center; }
.hikaku-yoso { flex: 1 1 52%; display: flex; flex-direction: column; gap: 12px; }
.hk-slip { padding: 12px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.hk-slip::before { width: 60px; height: 18px; top: -8px; }
.hk-slip b { font-size: 14.5px; flex: none; }
.hk-slip span { font-size: 13px; color: var(--sumi-soft); text-align: right; }
.hk-sum { text-align: right; font-size: 14px; color: var(--sumi-soft); padding-top: 6px; border-top: 2px solid var(--sumi); }
.hk-sum b { color: var(--sumi); font-size: 16px; }
.hk-vs { flex: none; font-size: 30px; color: var(--shu); font-weight: 900; transform: rotate(-90deg); }
.hk-ours { flex: 1 1 40%; text-align: center; padding: 34px 26px 64px; position: relative; }
.hk-ours-label { margin: 0; font-weight: 700; font-size: 15px; }
.hk-ours-price { margin: 4px 0 6px; font-size: clamp(44px, 5vw, 60px); font-weight: 900; color: var(--daidai); line-height: 1.2; }
.hk-ours-note { margin: 0; font-weight: 700; }
.hk-ours-note small { font-weight: 500; color: var(--sumi-soft); }

/* ---------- ご利用の流れ ---------- */
.flow { max-width: 800px; margin: 26px auto 0; }
.flow-item { display: flex; gap: 18px; padding: 18px 4px; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.flow-item:last-child { border-bottom: none; }
.flow-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--shu); color: #fff;
  font-weight: 900; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.flow-item b { display: block; font-size: 16px; }
.flow-item b small { font-weight: 700; font-size: 12.5px; color: var(--daidai); margin-left: 8px; }
.flow-item p { margin: 4px 0 0; font-size: 14.5px; color: var(--sumi-soft); }

/* ---------- LINE副CTA ---------- */
.btn-line { display: inline-block; background: #06C755; color: #fff; font-weight: 800; font-size: 15px;
  padding: 11px 26px 12px; border-radius: 8px; text-decoration: none; margin-top: 14px; line-height: 1.4;
  box-shadow: 0 4px 10px rgba(6,199,85,.25); }
.btn-line:hover { opacity: .92; }
.btn-line small { display: block; font-size: 11px; font-weight: 700; opacity: .9; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 2px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 16.5px; padding: 14px 30px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; color: var(--shu); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 4px 18px; font-size: 15px; color: var(--sumi-soft); }

/* ---------- 運営会社 ---------- */
.unei { background: rgba(255, 255, 255, .45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.unei-photo { width: 230px; flex: none; margin: 6px 0 0; position: relative; }
.unei-photo img { display: block; border: 8px solid #fff; box-shadow: 0 8px 22px rgba(90, 70, 30, .2); transform: rotate(-2deg); }
.unei-photo::before { content: ""; position: absolute; top: -13px; left: 50%; transform: translateX(-50%) rotate(-2deg); width: 86px; height: 24px; background: var(--tape); z-index: 2; }
.unei-photo figcaption { text-align: center; font-size: 13px; color: var(--sumi-soft); margin-top: 10px; }
.unei-body p { margin: 8px 0; font-size: 15px; }
.unei-body dl { display: grid; grid-template-columns: 110px 1fr; gap: 4px 18px; font-size: 14.5px; margin: 18px 0 0; }
.unei-body dt { color: var(--sumi-soft); }
.unei-body dd { margin: 0; }

/* ---------- 問い合わせ ---------- */
.contact .kami { max-width: 640px; margin: 40px auto 0; padding: 34px 38px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin: 16px 0 4px; }
.form label small { font-weight: 500; color: var(--sumi-soft); }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 4px;
  padding: 11px 12px; font-size: 15px; font-family: var(--font);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--daidai); border-color: var(--daidai); }
.form textarea { min-height: 90px; }
.form .btn-main { width: 100%; margin-top: 22px; }
.form .privacy { font-size: 12.5px; color: var(--sumi-soft); text-align: center; margin: 12px 0 0; }
.tel-band { text-align: center; margin-top: 30px; font-size: 14.5px; }
.tel-band a { font-weight: 800; font-size: 19px; text-decoration: none; margin: 0 8px; }

/* ---------- フッター ---------- */
.gyoshu-band { text-align: center; font-size: 13px; padding: 18px 10px; border-top: 1px solid var(--line); color: var(--sumi-soft); }
.gyoshu-band a { margin: 0 10px; }
footer { text-align: center; padding: 26px 10px 40px; font-size: 12.5px; color: var(--sumi-soft); }
footer a { margin: 0 8px; }

/* ---------- ブログ ---------- */
.blog-list { max-width: 760px; }
.blog-card { display: block; text-decoration: none; padding: 22px 26px; margin-bottom: 22px; }
.blog-card b { font-size: 17.5px; line-height: 1.7; }
.blog-card p { margin: 6px 0 0; font-size: 14px; color: var(--sumi-soft); }
.blog-card .bdate { font-size: 12.5px; color: var(--sumi-soft); }
.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.65; margin: 0 0 6px; }
.article .a-meta { font-size: 13px; color: var(--sumi-soft); margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: 20px; margin: 44px 0 12px; padding-left: 14px; border-left: 4px solid var(--shu); line-height: 1.6; }
.article h3 { font-size: 16.5px; margin: 28px 0 8px; }
.article p { margin: 14px 0; }
.article ul, .article ol { margin: 14px 0; padding-left: 24px; }
.article li { margin: 6px 0; }
.article .rei { background: rgba(255, 255, 255, .65); border: 1px solid var(--line); padding: 16px 20px; font-size: 14.5px; margin: 16px 0; }
.article .rei b { display: block; margin-bottom: 4px; font-size: 13px; color: var(--shu); }
.a-cta { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14.5px; color: var(--sumi-soft); }

/* ---------- SP ---------- */
.swipe-hint { display: none; }

@media (max-width: 860px) {
  body { font-size: 14.5px; line-height: 1.9; }
  section { padding: 42px 0; }
  .sec-note { margin-bottom: 22px; }
  .kami { padding: 18px 18px; }
  .naya-memos .kami { flex-basis: 100%; font-size: 14px; line-height: 1.75; }
  .naya-memos .kami b { font-size: 15.5px; margin-bottom: 2px; }
  .naya-data .num { font-size: 40px; }
  .naya-data p { font-size: 14px; }
  .form label { margin: 12px 0 3px; }
  .form input, .form textarea { padding: 9px 10px; }
  .contact .kami { padding: 22px 18px; margin-top: 24px; }
  .unei-body p { font-size: 14px; }

  /* 「ぜんぶの中身」は横スワイプ（縦圧縮） */
  .nakami-list { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 14px 4px 18px; margin: 0 -22px; scrollbar-width: none; }
  .nakami-list::-webkit-scrollbar { display: none; }
  .nakami-list .kami { flex: 0 0 76%; scroll-snap-align: center; margin-left: 14px; }
  .nakami-list .kami:last-child { margin-right: 14px; }
  .swipe-hint { display: block; text-align: center; font-size: 12.5px; color: var(--sumi-soft); margin-top: 2px; }
  .naya-memos { gap: 14px; margin: 26px 0 30px; }
  .yakusoku { gap: 16px; margin-top: 36px; }
  .yakusoku .maru { width: 108px; height: 108px; font-size: 13px; border-width: 2px; }
  .yakusoku .maru small { font-size: 10.5px; }
  .t-nav, .t-tel { display: none; }
  .t-cta { margin-left: auto; padding: 9px 16px; font-size: 13.5px; }
  .t-header { min-height: 66px; }
  .t-subnav { display: flex; gap: 20px; overflow-x: auto; white-space: nowrap;
    padding: 9px 16px; font-size: 13px; font-weight: 700;
    background: color-mix(in srgb, var(--washi) 88%, white);
    border-bottom: 1px solid var(--line); scrollbar-width: none;
    position: sticky; top: 66px; z-index: 49; }
  .t-subnav::-webkit-scrollbar { display: none; }
  .t-subnav a { text-decoration: none; }
  .t-subnav a.cur { color: var(--shu); border-bottom: 2px solid var(--shu); padding-bottom: 2px; }
  .digest-list { grid-template-columns: 1fr; gap: 0; }
  .hikaku-flex { flex-direction: column; align-items: stretch; gap: 20px; }
  .hk-vs { transform: none; text-align: center; }
  .hk-ours { padding: 26px 18px 58px; }
  .mini-daihyo { flex-direction: row; gap: 18px; }
  .mini-daihyo img { width: 100px; }
  .page-head { padding-top: 36px; }
  .ph-flex { display: block; }
  .pagehead-shiba { width: 110px !important; display: block; margin: 14px 0 0 auto; }
  .hero { padding: 34px 0 60px; }
  .hero .wrap { flex-direction: column; gap: 30px; }
  .hero-copy { z-index: 2; position: relative; }
  .hero-cta-row .hanko { width: 56px; height: 56px; }
  .hero-papers { width: 100%; flex: none; min-height: 0; height: 400px; }
  .hero-shiba { width: 100px; top: -34px; right: -4px; }
  .hp-mitsumori { width: 57%; top: 0; padding: 12px 14px; }
  .hp-kuchikomi { width: 50%; top: 9%; padding: 12px 14px; }
  .hp-mitsumori .doc-table { font-size: 10px; }
  .hp-mitsumori .doc-table td:last-child { display: none; }
  .hp-kuchikomi .rv-item { font-size: 10px; }
  .doc-h { font-size: 11px; white-space: nowrap; }
  .doc-h small { display: none; }
  .doc-total { font-size: 11px; white-space: nowrap; gap: 6px; }
  .rv-head { white-space: nowrap; }
  .rv-head b { font-size: 20px; }
  .rv-count { font-size: 10px; }
  .hero-papers { height: 380px; }
  .hero-note { bottom: 2px; }
  .naya-data { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sancho .wrap { flex-direction: column; gap: 24px; }
  .sancho-photo { max-width: 78%; margin: 0 auto; }
  .price-ul { column-count: 2; column-gap: 18px; font-size: 13px; }
  .price-ul li { padding: 3px 0 3px 16px; }
  .price-in .kami { padding: 22px 20px; }
  .price-out { padding: 18px 20px; font-size: 14px; }
  .hero-sub { margin-bottom: 20px; }
  .hero { padding-bottom: 40px; }
  .unei-body dl { grid-template-columns: 84px 1fr; font-size: 13.5px; }
  .unei-photo { width: 180px; margin: 0 auto; }
  .msg-wrap { flex-direction: column; gap: 24px; }
  .msg-wrap .unei-photo { margin: 0 auto; }
  .guide-item { padding: 18px 16px; }
  .guide-item h2 { font-size: 16.5px; }
  .guide-item h2 .icn { width: 38px; height: 38px; }
  .contact .kami { padding: 26px 20px; }
}
