/* =========================================================
   株式会社おうち本舗 — site.css (2026-11 刷新)
   色はロゴの実測値から取っている（赤 #D80000・橙 #D85008・空 #58A0D8・
   黄 #F0D040・緑 #60B048・マゼンタ #D80074）。
   事業ごとに色を固定: 売る=赤 / 投資=橙 / 借りる=空 / 任せる=緑 / 専門家・相続=黄。
   ========================================================= */

:root {
  --ink: #111C33;
  --ink-2: #2B3954;
  --ink-3: #5A6680;
  --line: #D8DFEA;
  --line-2: #E8EDF4;
  --mist: #F1F4F8;
  --paper: #FFFFFF;

  --red: #D80000;      --red-d: #B10000;    --red-t: #FDE9E9;
  --orange: #D85008;   --orange-d: #A93D00; --orange-t: #FDEDE3;
  --sky: #58A0D8;      --sky-d: #1A68A8;    --sky-t: #E6F1FA;
  --yellow: #F0D040;   --yellow-d: #7A6200; --yellow-t: #FCF4D2;
  --green: #60B048;    --green-d: #2D7A22;  --green-t: #E8F4E3;
  --magenta: #D80074;  --magenta-d: #AE005D;

  /* ページの事業色（body の theme-* で上書き） */
  --c: var(--magenta);
  --c-d: var(--magenta-d);
  --c-t: #FBE5F0;

  --maxw: 1120px;
  --r: 4px;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --num: "Outfit", "Zen Kaku Gothic New", sans-serif;
}

body.theme-sell    { --c: var(--red);    --c-d: var(--red-d);    --c-t: var(--red-t); }
body.theme-invest  { --c: var(--orange); --c-d: var(--orange-d); --c-t: var(--orange-t); }
body.theme-rent    { --c: var(--sky);    --c-d: var(--sky-d);    --c-t: var(--sky-t); }
body.theme-manage  { --c: var(--green);  --c-d: var(--green-d);  --c-t: var(--green-t); }
body.theme-expert  { --c: var(--yellow); --c-d: var(--yellow-d); --c-t: var(--yellow-t); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; }
small { font-size: .85em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin: .25em 0; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 900; letter-spacing: .01em; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.05rem); }
h3 { font-size: clamp(1.12rem, 1rem + .6vw, 1.32rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
h1, h2, h3, .door__sub, .biz__tag span, .asks a, .card b { word-break: auto-phrase; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name b { font-size: 1.22rem; font-weight: 900; letter-spacing: .04em; }
.brand__name small { font-size: .66rem; color: var(--ink-3); letter-spacing: .06em; font-weight: 500; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.gnav a {
  position: relative; display: block; padding: 22px 10px 20px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.gnav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 4px;
  background: var(--k, var(--ink)); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.gnav a:hover::after, .gnav a[aria-current="true"]::after { transform: scaleX(1); }
.gnav a[data-k="sell"] { --k: var(--red); }
.gnav a[data-k="invest"] { --k: var(--orange); }
.gnav a[data-k="rent"] { --k: var(--sky); }
.gnav a[data-k="manage"] { --k: var(--green); }
.gnav a[data-k="company"] { --k: var(--yellow); }
.head-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; text-decoration: none; color: var(--ink); margin-left: 6px; white-space: nowrap; }
.head-tel b { font-family: var(--num); font-size: 1.2rem; font-weight: 800; letter-spacing: .01em; }
.site-header .btn-cta { padding: 10px 16px; white-space: nowrap; font-size: .95rem; }
.head-tel small { font-size: .68rem; color: var(--ink-3); }
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--magenta); color: #fff; text-decoration: none; font-weight: 900;
  padding: 12px 20px; border-radius: var(--r); border: 0; cursor: pointer; font-family: inherit; font-size: 1rem;
  box-shadow: 0 3px 0 var(--magenta-d);
  transition: transform .08s ease, box-shadow .08s ease, background .15s;
}
.btn-cta:hover { color: #fff; background: var(--magenta-d); }
.btn-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--magenta-d); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 700;
  padding: 11px 18px; border-radius: var(--r); border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--r); padding: 6px 10px; font: 700 .85rem var(--font); color: var(--ink); cursor: pointer; }

@media (max-width: 1180px) {
  .head-tel { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--ink); flex-direction: column; align-items: stretch; padding: 6px 0 14px; }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 13px 22px; border-left: 6px solid var(--k, var(--ink)); margin: 2px 16px; }
  .gnav a::after { display: none; }
  .site-header .btn-cta { display: none; }
  .gnav .gnav__cta { display: block; margin: 10px 16px 0; text-align: center; background: var(--magenta); color: #fff; border: 0; border-radius: var(--r); }
}
@media (min-width: 901px) { .gnav .gnav__cta { display: none; } }

/* ---------- パンくず ---------- */
.crumbs { font-size: .8rem; color: rgba(255,255,255,.88); padding: 14px 0 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .7; }
.crumbs a { color: #fff; }

/* ---------- 下層ページの見出し帯 ---------- */
.phero {
  position: relative; background: var(--c-d); color: #fff;
  padding: 0 0 92px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 50% 100%, 0 calc(100% - 46px));
}
.phero__kicker { display: inline-block; margin: 26px 0 12px; font-weight: 700; font-size: .9rem; letter-spacing: .08em; border: 2px solid rgba(255,255,255,.75); padding: 2px 12px; border-radius: 2px; }
.phero h1 { font-size: clamp(1.7rem, 1.15rem + 2.6vw, 2.75rem); margin: 0 0 .5em; max-width: 21em; }
.phero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.12rem); max-width: 42em; margin: 0; opacity: .96; }
body.theme-expert .phero { color: var(--ink); background: var(--yellow); }
body.theme-expert .crumbs, body.theme-expert .crumbs a { color: var(--ink); }
body.theme-expert .phero__kicker { border-color: var(--ink); }

/* 答えの箱（ページ冒頭の結論。AI と人の両方が最初に読む部分） */
.answer {
  position: relative; z-index: 2; margin: -58px auto 40px; background: #fff;
  border: 3px solid var(--ink); border-radius: var(--r); padding: 26px 28px 18px;
  box-shadow: 8px 8px 0 var(--c);
}
.answer__label { display: inline-block; font-weight: 900; font-size: .85rem; background: var(--ink); color: #fff; padding: 2px 12px; margin-bottom: 12px; letter-spacing: .1em; }
.answer p:last-child, .answer ul:last-child { margin-bottom: .4em; }
.answer ul { margin-top: .2em; }

/* ---------- セクション ---------- */
.sec { padding: 64px 0; }
.sec--mist { background: var(--mist); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink a { color: #fff; }
.sec--tight { padding: 40px 0; }
.sec__head { margin-bottom: 30px; }
.sec__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--num); font-weight: 800; font-size: .85rem; letter-spacing: .18em; color: var(--c-d); text-transform: uppercase; margin-bottom: 6px; }
.sec__kicker::before { content: ""; width: 26px; height: 4px; background: var(--c); }
.sec--ink .sec__kicker { color: #fff; }
.sec__lead { max-width: 46em; color: var(--ink-2); }
.sec--ink .sec__lead { color: rgba(255,255,255,.86); }

/* 記事本文 */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2.4em; padding-bottom: .35em; border-bottom: 4px solid var(--ink); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 88px; height: 4px; background: var(--c); }
.prose h2:first-child { margin-top: .4em; }
.prose h3 { margin-top: 1.9em; padding-left: 14px; border-left: 6px solid var(--c); }
.prose h4 { margin-top: 1.4em; }
.prose ul li::marker { color: var(--c-d); }
.prose ol li::marker { color: var(--c-d); font-weight: 700; font-family: var(--num); }
.prose .src { font-size: .82rem; color: var(--ink-3); }
.prose .src a { color: var(--ink-3); }
.marker { background: linear-gradient(transparent 62%, var(--c-t) 62%); font-weight: 700; }

/* 目次 */
.toc { border: 2px solid var(--line); border-radius: var(--r); padding: 16px 22px 10px; margin: 0 0 32px; background: #fff; }
.toc__title { font-weight: 900; margin-bottom: 6px; }
.toc ol { margin: 0 0 .5em; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; line-height: 1.7; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.tbl thead th { background: var(--ink); color: #fff; font-weight: 700; }
.tbl tbody th { background: var(--mist); font-weight: 700; white-space: nowrap; }
.tbl td.ok { color: var(--green-d); font-weight: 700; }
.tbl td.ng { color: var(--red-d); font-weight: 700; }
.tbl--us thead th:last-child, .tbl--us td:last-child { background: var(--c-t); }
.tbl--us thead th:last-child { background: var(--c-d); color: #fff; }

/* ---------- 注意・補足の箱 ---------- */
.box { border-radius: var(--r); padding: 18px 22px 8px; margin: 0 0 1.5em; border: 2px solid var(--line); background: #fff; }
.box__t { font-weight: 900; margin-bottom: .4em; display: flex; align-items: center; gap: 8px; }
.box--warn { border-color: var(--red); background: #fff; }
.box--warn .box__t { color: var(--red-d); }
.box--point { border-color: var(--c); background: var(--c-t); }
.box--law { border-color: var(--ink-3); background: var(--mist); font-size: .94rem; }

/* ---------- 手順 ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 1.6em; counter-reset: st; }
.steps > li { position: relative; padding: 0 0 22px 66px; margin: 0; counter-increment: st; }
.steps > li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 48px; height: 48px;
  background: var(--c-d); color: #fff; font: 800 1.15rem/48px var(--num); text-align: center; border-radius: var(--r);
}
.steps > li::after { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3, .steps h4 { margin: 8px 0 .3em; border: 0; padding: 0; }

/* ---------- 番号付きの要点（強み） ---------- */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.point { padding: 26px 24px 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 74px 1fr; gap: 0 14px; }
.point__n { font: 800 3rem/1 var(--num); color: var(--k, var(--c)); letter-spacing: -.02em; }
.point h3 { margin: 4px 0 .4em; }
.point p { margin: 0 0 .6em; color: var(--ink-2); font-size: .97rem; }
.sec--ink .point { border-color: rgba(255,255,255,.18); }
.sec--ink .points { border-color: #fff; }
.sec--ink .point p { color: rgba(255,255,255,.85); }

/* ---------- トップ: ヒーロー ---------- */
.hero { padding: 54px 0 0; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: start; }
.hero__place { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--ink-2); border-bottom: 3px solid var(--magenta); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.1rem); line-height: 1.22; letter-spacing: -.005em; margin: 0 0 .5em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 64%, #FFD4EA 64%); }
.hero__lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem); color: var(--ink-2); max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.hero__note { font-size: .84rem; color: var(--ink-3); }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.door {
  --k: var(--red); --kd: var(--red-d);
  position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 34px 18px 16px;
  background: var(--k); color: #fff; text-decoration: none; border-radius: 2px;
  clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%);
  transition: transform .15s ease;
}
.door:nth-child(even) { clip-path: polygon(0 0, 100% 16px, 100% 100%, 0 100%); }
.door:hover { transform: translateY(-3px); color: #fff; }
.door--sell { --k: var(--red); }
.door--invest { --k: #C04500; }
.door--rent { --k: var(--sky-d); }
.door--manage { --k: var(--green-d); }
.door__verb { font-size: 2.2rem; font-weight: 900; line-height: 1.1; }
.door__sub { font-size: .9rem; font-weight: 700; margin: 8px 0 14px; opacity: .95; }
.door__go { margin-top: auto; font-weight: 800; font-size: .85rem; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.door__go::after { content: "→"; font-size: 1.1rem; }

.asks { margin: 46px 0 0; padding: 24px 0 30px; border-top: 3px solid var(--ink); }
.asks__t { font-weight: 900; font-size: 1.05rem; margin-bottom: 12px; }
.asks ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.asks li { margin: 0; }
.asks a {
  display: inline-block; padding: 9px 14px; border: 2px solid var(--k, var(--ink)); border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; background: #fff;
}
.asks a:hover { background: var(--k, var(--ink)); color: #fff; }

/* 事業ブロック（トップの4事業） */
.biz { display: grid; grid-template-columns: 220px 1fr; gap: 0 36px; padding: 40px 0; border-top: 1px solid var(--line); }
.biz:first-of-type { border-top: 0; }
.biz__tag { --k: var(--red); }
.biz__tag b { display: block; font-size: 2.6rem; line-height: 1.05; font-weight: 900; color: var(--k); }
.biz__tag span { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-3); font-weight: 700; }
.biz__body h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
.biz__links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 18px; }
.biz__links li { margin: 0; }
.biz__links a { display: block; padding: 10px 0; border-bottom: 2px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.biz__links a::after { content: " →"; color: var(--k, var(--ink)); }
.biz__links a:hover { border-color: var(--k, var(--ink)); }

/* ---------- カード（関連ページ） ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.card {
  display: block; padding: 18px 18px 14px; border: 2px solid var(--ink); border-radius: var(--r);
  text-decoration: none; color: var(--ink); background: #fff; position: relative;
}
.card::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 6px; background: var(--k, var(--c)); border-radius: var(--r) var(--r) 0 0; }
.card b { display: block; font-size: 1.05rem; margin: 4px 0 4px; }
.card span { display: block; font-size: .88rem; color: var(--ink-3); line-height: 1.7; }
.card:hover { background: var(--ink); color: #fff; }
.card:hover span { color: rgba(255,255,255,.8); }
.k-sell { --k: var(--red); } .k-invest { --k: var(--orange); } .k-rent { --k: var(--sky); } .k-manage { --k: var(--green); } .k-expert { --k: var(--yellow); } .k-company { --k: var(--magenta); }

/* ---------- FAQ ---------- */
.faqs { border-top: 3px solid var(--ink); margin-bottom: 1.6em; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq > summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 46px; position: relative; font-weight: 700; line-height: 1.6;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::before { content: "Q"; position: absolute; left: 4px; top: 14px; font: 800 1.4rem/1.3 var(--num); color: var(--c-d); }
details.faq > summary::after { content: "+"; position: absolute; right: 10px; top: 12px; font: 400 1.6rem/1.3 var(--num); color: var(--ink-3); }
details.faq[open] > summary::after { content: "−"; }
.faq-a { padding: 0 10px 14px 46px; position: relative; color: var(--ink-2); }
.faq-a::before { content: "A"; position: absolute; left: 4px; top: -2px; font: 800 1.4rem/1.3 var(--num); color: var(--ink-3); }

/* ---------- 書いた人 ---------- */
.author { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; border: 2px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 40px 0 0; background: #fff; }
.author__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; }
.author__name { font-weight: 900; margin-bottom: 2px; }
.author p { margin: 0 0 .4em; font-size: .9rem; color: var(--ink-2); line-height: 1.75; }
.updated { font-size: .82rem; color: var(--ink-3); margin-top: 18px; }

/* ---------- 相談の帯 ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 56px 0 60px; position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--red) 0 20%, var(--orange) 20% 40%, var(--sky) 40% 60%, var(--yellow) 60% 80%, var(--green) 80% 100%); }
.cta-band__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.cta-band h2 { margin-bottom: .35em; font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.85rem); }
.cta-band p { color: rgba(255,255,255,.86); margin-bottom: .8em; }
.cta-band__btns { display: flex; flex-direction: column; gap: 12px; }
.cta-band .btn-cta { font-size: 1.08rem; padding: 16px 20px; box-shadow: 0 3px 0 #6b0039; }
.tel-big { display: flex; flex-direction: column; align-items: center; padding: 12px 16px; border: 2px solid rgba(255,255,255,.7); border-radius: var(--r); text-decoration: none; color: #fff; }
.tel-big b { font: 800 1.7rem/1.2 var(--num); letter-spacing: .03em; }
.tel-big small { font-size: .78rem; opacity: .85; }
.tel-big:hover { background: #fff; color: var(--ink); }
.cta-band__quiet { font-size: .86rem; color: rgba(255,255,255,.78); border-left: 3px solid var(--magenta); padding-left: 12px; }

/* ---------- 会社の事実 ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.fact { padding: 16px 16px 14px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: .8rem; color: var(--ink-3); font-weight: 700; letter-spacing: .06em; }
.fact dd { margin: 2px 0 0; font-weight: 700; }
dl.dl { display: grid; grid-template-columns: 180px 1fr; border-top: 3px solid var(--ink); margin: 0 0 1.6em; }
dl.dl dt, dl.dl dd { padding: 14px 12px; border-bottom: 1px solid var(--line); margin: 0; }
dl.dl dt { font-weight: 700; background: var(--mist); }

/* ---------- 2列 ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { border-top: 6px solid var(--k, var(--c)); background: #fff; padding: 18px 18px 8px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tile h3 { margin-top: 0; }
.sec--mist .tile { border-color: transparent; border-top-color: var(--k, var(--c)); }

/* チェックリスト */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin: .45em 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--c-d); border-bottom: 3px solid var(--c-d); transform: rotate(-45deg); }
.nots { list-style: none; padding: 0; }
.nots li { position: relative; padding-left: 30px; margin: .45em 0; }
.nots li::before { content: "×"; position: absolute; left: 3px; top: -.05em; color: var(--red-d); font-weight: 900; font-size: 1.15rem; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 18px; max-width: 760px; }
.form label, .form .lbl { font-weight: 700; display: block; margin-bottom: 6px; }
.form .req { display: inline-block; background: var(--magenta); color: #fff; font-size: .72rem; padding: 0 7px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
.form .opt { display: inline-block; background: var(--line); color: var(--ink-2); font-size: .72rem; padding: 0 7px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form textarea { min-height: 170px; line-height: 1.7; }
.form .help { font-size: .84rem; color: var(--ink-3); margin-top: 4px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { font-weight: 500; margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; }
.radios input { accent-color: var(--magenta); }
.form .hp { position: absolute; left: -9999px; }
.form-quiet { background: var(--mist); border-left: 4px solid var(--magenta); padding: 14px 18px; font-size: .92rem; }

/* ---------- フッター ---------- */
.site-footer { background: #0B1426; color: rgba(255,255,255,.86); padding: 54px 0 100px; font-size: .9rem; line-height: 1.85; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(300px, 1.75fr) repeat(4, 1fr); gap: 28px; }
.foot-brand img { width: 64px; background: #fff; border-radius: 4px; padding: 6px; margin-bottom: 10px; }
.foot-brand b { display: block; font-size: 1.15rem; color: #fff; }
.foot-col h3 { font-size: .85rem; letter-spacing: .1em; color: #fff; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 3px solid var(--k, #fff); display: inline-block; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin: .3em 0; }
.foot-legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .78rem; color: rgba(255,255,255,.62); }
.foot-legal a { color: rgba(255,255,255,.75); }

/* スマホ下部の固定ボタン */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 2px solid var(--ink); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mbar a { display: flex; align-items: center; justify-content: center; flex-direction: column; text-decoration: none; border-radius: var(--r); padding: 6px 4px; font-weight: 900; line-height: 1.25; }
  .mbar__tel { border: 2px solid var(--ink); color: var(--ink); }
  .mbar__tel small { font-weight: 500; font-size: .66rem; }
  .mbar__form { background: var(--magenta); color: #fff; }
  .mbar__form small { font-weight: 500; font-size: .66rem; opacity: .9; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .hero__grid, .cta-band__grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .three { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 48px 0; }
  .hero { padding-top: 30px; }
  .doors { gap: 8px; }
  .door { min-height: 160px; padding: 28px 14px 12px; }
  .door__verb { font-size: 1.75rem; }
  .door__sub { font-size: .8rem; }
  .biz { grid-template-columns: 1fr; gap: 6px; padding: 30px 0; }
  .biz__tag b { font-size: 2rem; }
  .two { grid-template-columns: 1fr; }
  .answer { padding: 20px 18px 12px; margin-top: -54px; box-shadow: 5px 5px 0 var(--c); }
  .phero { padding-bottom: 80px; }
  dl.dl { grid-template-columns: 1fr; }
  dl.dl dt { border-bottom: 0; padding-bottom: 4px; }
  .point { grid-template-columns: 54px 1fr; padding-right: 0; }
  .point__n { font-size: 2.3rem; }
  .steps > li { padding-left: 58px; }
  .foot-grid { grid-template-columns: 1fr; }
  .author { grid-template-columns: 48px 1fr; }
  .author__mark { width: 48px; height: 48px; font-size: 1.1rem; }
}
@media print {
  .site-header, .mbar, .cta-band, .site-footer { display: none; }
  .phero { clip-path: none; background: #fff; color: #000; }
}

/* 判子風の印（番号の代わり。項目の中身を一文字で表す） */
.point__n--stamp {
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 3px solid var(--k, var(--c)); border-radius: 3px; color: var(--k, var(--c));
  font: 900 1.7rem/1 var(--font); letter-spacing: 0; transform: rotate(-4deg);
}
.sec--ink .point__n--stamp { background: #fff; }
@media (max-width: 760px) { .point__n--stamp { width: 46px; height: 46px; font-size: 1.4rem; } }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards--3 { grid-template-columns: 1fr; } }

/* LINE（公式アカウントの緑） */
.line-big { display: flex; flex-direction: column; align-items: center; padding: 12px 16px; border-radius: var(--r); text-decoration: none; color: #fff; background: #00843A; }
.line-big b { font-size: 1.15rem; font-weight: 900; }
.line-big small { font-size: .78rem; opacity: .92; }
.line-big:hover { color: #fff; filter: brightness(.95); }
@media (max-width: 760px) {
  .mbar { grid-template-columns: .9fr .9fr 1.3fr; }
  .mbar__line { background: #00843A; color: #fff; }
  .mbar__line small { font-weight: 500; font-size: .66rem; opacity: .92; }
}

/* 相談の帯の大きなボタン（見出しと補足を縦に並べる） */
.cta-band .btn-cta { flex-direction: column; gap: 2px; text-align: center; }

/* 担当からの要望（11/10） */
.prose .point h3 { border: 0; padding-left: 0; margin-top: 4px; }
.tbl--wide { min-width: 760px; }
@media (max-width: 760px) { .tbl tbody th { white-space: normal; min-width: 6.5em; } }

/* トップの大見出し: 句の途中（「も、」だけの行）で折り返さないよう、左の列の幅に合わせて文字の大きさを決める（2026-11-10） */
.hero__grid > div:first-child { container-type: inline-size; min-width: 0; }
@supports (font-size: 1cqi) {
  .hero h1 { font-size: clamp(2rem, 10.4cqi, 4.1rem); }
}
