/*
Theme Name: Toyotasell 2026
Description: センチュリー21豊川 売却・買取専門サイトの新デザイン（濃い地×ゴールド）。旧テーマ toyotasell の取り込みページ・ブログ・フォームの仕組みを引き継いでいます。
Version: 1.0.0
Text Domain: toyotasell
*/

/* ==========================================================================
   色・文字（センチュリー21本部の色 century21.jp を元に、配分を「濃い地×ゴールド」に反転）
   ========================================================================== */
:root {
	--ink: #252526;        /* 濃い地 */
	--charcoal: #414042;   /* 本部チャコール */
	--gold: #BEAF87;       /* 本部ゴールド */
	--gold-deep: #AA9A6F;  /* 濃いゴールド */
	--gold-text: #7F6F45;  /* 白地に置くゴールドの文字（読みやすさのため濃くしている） */
	--beige: #F2EFE7;      /* 本部の薄いベージュ */
	--paper: #FAF8F3;
	--text: #2B2B2C;
	--muted: #5E5C58;
	--line: #DDD6C6;
	--mincho: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	--gothic: "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Hiragino Sans", "Meiryo", sans-serif;
	--latin: "Cormorant Garamond", "Times New Roman", serif;
	--wrap: 1180px;

	/* 旧テーマの変数（取り込んだ本文・フォームのCSSが参照している） */
	--ts-dark: #414042; --ts-gold: #beaf87; --ts-gold-dark: #917f4e; --ts-beige: #ece7dd;
	--ts-grey-bg: #f4f4f4; --ts-line: #cccccc; --ts-red: #cf4430; --ts-text: #333333; --ts-link: #0000ff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--gothic); font-size: 17px; line-height: 1.85; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; font-feature-settings: "palt"; }
html.is-drawer body { overflow: hidden; }
img:not(:where(.ts-legacy) img) { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote, ol, ul { margin: 0; }
:where(.hd, .ft, .front, .phead, .cards, .catnav, .mbar, .drawer, .sec, .final, .entries, .hero) ul { list-style: none; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.screen-reader-text { position: absolute; left: -9999px; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: var(--gothic); letter-spacing: .06em; transition: background .2s, color .2s; white-space: nowrap; line-height: 1.3; }
.btn--gold { background: var(--gold); color: var(--ink); padding: 14px 26px; font-size: 15px; }
.btn--gold:hover { background: #CFC2A0; }
.btn--dark { background: var(--ink); color: var(--gold); padding: 18px; font-size: 17px; width: 100%; }
.btn--dark:hover { background: #000; }
.btn--line { border: 1px solid var(--gold); color: var(--gold); padding: 13px 24px; font-size: 15px; background: transparent; }
.btn--line:hover { background: rgba(190,175,135,.12); }
.btn--lg { padding: 18px 40px; font-size: 17px; }
.btn .arw { font-family: var(--latin); font-size: 20px; line-height: 1; }
.link-arw { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold-deep); padding-bottom: 2px; white-space: nowrap; }
.link-arw:hover { color: var(--gold-text); }
.more { margin-top: 30px; text-align: right; }
.eyebrow { font-family: var(--latin); letter-spacing: .32em; font-size: 14px; color: var(--gold); text-transform: uppercase; }
.num { font-family: var(--latin); font-size: 15px; letter-spacing: .3em; color: var(--gold-text); padding-top: 14px; border-top: 1px solid currentColor; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(37,37,38,.97); border-bottom: 1px solid rgba(190,175,135,.25); }
.admin-bar .hd { top: 32px; }
.hd__in { display: flex; align-items: center; gap: 26px; height: 76px; }
.hd__logo { flex: none; line-height: 0; }
.hd__logo img { height: 20px; width: auto; }
.hd__nav { display: flex; gap: 22px; margin-left: auto; }
.hd__nav a { color: #E9E4D6; text-decoration: none; font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
.hd__nav a:hover { color: var(--gold); }
.hd__tel { color: var(--gold); text-decoration: none; font-family: var(--latin); font-size: 26px; line-height: 1; white-space: nowrap; }
.hd__tel small { display: block; font-family: var(--gothic); font-size: 10.5px; color: #BDB6A4; letter-spacing: .08em; margin-top: 4px; }
.hd__menu { display: none; background: none; border: 0; cursor: pointer; padding: 6px; width: 48px; flex-direction: column; align-items: center; gap: 5px; }
.hd__menu span { display: block; width: 26px; height: 2px; background: var(--gold); transition: .2s; }
.hd__menu b { font-size: 10px; color: #CFC6AE; font-weight: 400; margin-top: 2px; white-space: nowrap; }
[id] { scroll-margin-top: 96px; }
.hd__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { background: var(--ink); border-top: 1px solid rgba(190,175,135,.25); max-height: calc(100vh - 62px); overflow-y: auto; }
.drawer__in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding-top: 32px; padding-bottom: 40px; }
.drawer__h { font-family: var(--latin); color: var(--gold); letter-spacing: .2em; font-size: 13px; margin-bottom: 10px; }
.drawer li a { display: block; color: #EDE8DA; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(190,175,135,.15); }
.drawer__cta { display: flex; flex-direction: column; gap: 12px; }
.drawer__tel { color: var(--gold); text-decoration: none; font-family: var(--latin); font-size: 30px; line-height: 1.1; margin-top: 8px; }
.drawer__tel small { display: block; font-family: var(--gothic); font-size: 12px; color: #BDB6A4; }

/* ==========================================================================
   トップ：ヒーロー・入口
   ========================================================================== */
.hero { background: var(--ink); color: #F4F1E8; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border: 70px solid rgba(190,175,135,.07); border-radius: 50%; pointer-events: none; }
/* トップの背景に豊田スタジアムと花火の写真（社長作成の画像を切り抜いたもの。人物は含まない） */
.hero--night { background: linear-gradient(90deg, var(--ink) 22%, rgba(37,37,38,.86) 40%, rgba(37,37,38,.38) 62%, rgba(37,37,38,.6) 100%), url("assets/img/hero-night.jpg") right 26% center / auto 112% no-repeat, var(--ink); }
.hero--night::before { display: none; }
@media (max-width: 1000px) {
	.hero--night { background: linear-gradient(180deg, rgba(37,37,38,.55) 0, rgba(37,37,38,.88) 340px, var(--ink) 520px), url("assets/img/hero-night.jpg") center top / 100% auto no-repeat, var(--ink); }
}
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; padding-top: 72px; padding-bottom: 84px; position: relative; }
.hero__h1 { font-family: var(--mincho); font-weight: 800; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.32; letter-spacing: .02em; margin: 18px 0 22px; }
.hero__h1 em { font-style: normal; color: var(--gold); }
.hero__sr { position: absolute; left: -9999px; }
.hero__lead { font-size: 17px; color: #D9D3C3; max-width: 34em; }
.hero__lead strong { color: #fff; }
.hero__facts { display: flex; flex-wrap: wrap; margin-top: 36px; border-top: 1px solid rgba(190,175,135,.3); }
.hero__facts div { padding: 16px 20px 0 0; margin-right: 20px; border-right: 1px solid rgba(190,175,135,.2); }
.hero__facts div:last-child { border: 0; margin-right: 0; }
.hero__facts b { display: block; font-family: var(--mincho); font-size: 26px; color: var(--gold); font-weight: 700; line-height: 1.2; }
.hero__facts span { font-size: 12.5px; color: #BDB6A4; }

.qcard { background: var(--paper); color: var(--text); padding: 34px 32px 30px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.35); align-self: start; }
.qcard::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.qcard__step { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.qcard__step i { flex: 1; height: 3px; background: var(--line); position: relative; }
.qcard__step i::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 50%; background: var(--gold-deep); }
.qcard__h { font-family: var(--mincho); font-size: 25px; line-height: 1.45; margin: 12px 0 4px; }
.qcard__sub { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.qlabel { font-size: 14px; font-weight: 700; margin: 16px 0 8px; display: block; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; text-align: center; border: 1px solid #CFC6AE; background: #fff; padding: 11px 4px; font-size: 15px; cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.qcard select, .qcard input[type=text] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #CFC6AE; background: #fff; border-radius: 0; }
.selrow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.qcard .btn--dark { margin-top: 22px; }
.qcard__safe { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.qcard__safe span::before { content: "✓ "; color: var(--gold-text); font-weight: 700; }

.entries { background: var(--charcoal); }
.entries__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(190,175,135,.25); padding: 0; }
.entry { background: var(--charcoal); color: #EDE8DA; padding: 30px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: background .2s; }
.entry:hover { background: #4a494b; }
.entry small { font-family: var(--latin); letter-spacing: .25em; color: var(--gold); font-size: 13px; }
.entry b { font-family: var(--mincho); font-size: 22px; color: #fff; }
.entry span { font-size: 14px; color: #C9C2B0; }
.entry em { font-style: normal; margin-top: 8px; color: var(--gold); font-size: 14px; }

/* ==========================================================================
   セクション共通
   ========================================================================== */
.sec { padding: 110px 0; }
.sec--beige { background: var(--beige); }
.sec--ink { background: var(--ink); color: #EDE8DA; }
.sec--ink .num { color: var(--gold); }
.sec__head { display: grid; grid-template-columns: 280px 1fr; gap: 48px; margin-bottom: 56px; align-items: start; }
.sec__head h2 { font-family: var(--mincho); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.4; font-weight: 700; }
.sec__head p { color: var(--muted); max-width: 40em; margin-top: 12px; }
.sec--ink .sec__head p { color: #BDB6A4; }

/* 相場 */
.market { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.mk { padding: 26px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.mk:last-child { border-right: 0; }
.mk h3 { font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.mk h3 small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.mk__med { font-family: var(--mincho); font-size: 40px; font-weight: 700; line-height: 1.2; margin: 14px 0 2px; }
.mk__med small { font-size: 16px; margin-left: 2px; }
.mk__lbl { font-size: 12.5px; color: var(--muted); }
.mk__rng { margin-top: 14px; font-size: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.market__note { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 22px; font-size: 13px; color: var(--muted); }

/* お悩み */
.worries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wr { background: #fff; padding: 26px 24px 24px; text-decoration: none; border-top: 3px solid var(--gold); display: flex; flex-direction: column; gap: 8px; min-height: 200px; transition: transform .2s, box-shadow .2s; }
.wr:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(37,37,38,.08); }
.wr small { font-family: var(--latin); color: var(--gold-text); letter-spacing: .2em; font-size: 13px; }
.wr b { font-family: var(--mincho); font-size: 21px; line-height: 1.5; }
.wr span { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* 売り方 */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(190,175,135,.35); }
.way { padding: 36px 32px; border-right: 1px solid rgba(190,175,135,.35); }
.way:last-child { border-right: 0; }
.way .tag { display: inline-block; font-size: 12px; letter-spacing: .12em; border: 1px solid var(--gold); color: var(--gold); padding: 2px 10px; }
.way h3 { font-family: var(--mincho); font-size: 28px; color: #fff; margin: 16px 0 8px; }
.way p { font-size: 15px; color: #C9C2B0; }
.way dl { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.way dt { color: var(--gold); }
.way dd { color: #E9E4D6; }
.way .btn { margin-top: 26px; }

/* 人 */
.people { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: center; }
/* 元写真は 500×600px。高精細な画面でボケないよう、表示は最大320pxに抑える（より大きく出すなら、大きな写真に差し替える） */
.people__photo { position: relative; z-index: 0; width: 100%; max-width: 320px; justify-self: center; }
.people__photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.people__photo::after { content: ""; position: absolute; left: -18px; top: -18px; right: 18px; bottom: 18px; border: 1px solid var(--gold-deep); z-index: -1; }
.people .num { margin-bottom: 18px; display: inline-block; }
.people blockquote { font-family: var(--mincho); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.7; font-weight: 700; }
.people blockquote::before { content: "\201C"; display: block; font-family: var(--latin); font-size: 80px; line-height: .6; color: var(--gold); }
.who { margin-top: 26px; font-size: 15px; }
.who b { font-size: 19px; font-family: var(--mincho); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.creds span { font-size: 13px; background: var(--beige); padding: 4px 12px; }
.people__text { margin: 22px 0; color: var(--muted); font-size: 15.5px; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 64px; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--beige); }
.team figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.team figcaption b { display: block; color: var(--text); font-size: 15px; }
.team__link { display: block; color: inherit; text-decoration: none; }
.team__link img { transition: opacity .2s; }
.team__link:hover img, .team__link:focus-visible img { opacity: .88; }
.team__more { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--gold-text); }
.team__link:hover .team__more { text-decoration: underline; }
.people__photo a { display: block; }

/* 記事カード */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(37,37,38,.08); }
.card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img--none { display: none; }
.card__meta { display: flex; gap: 12px; align-items: center; padding: 20px 22px 0; font-size: 12.5px; color: var(--muted); }
.card__meta em { font-style: normal; color: var(--gold-text); border: 1px solid var(--gold-deep); padding: 0 8px; }
.card__title { font-family: var(--mincho); font-size: 18px; line-height: 1.6; padding: 10px 22px 0; }
.card__text { font-size: 13.5px; color: var(--muted); padding: 10px 22px 22px; line-height: 1.7; }
.catnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; align-items: center; }
.catnav a { font-size: 14px; text-decoration: none; border: 1px solid #CFC6AE; padding: 7px 16px; background: #fff; }
.catnav a small { margin-left: 6px; color: var(--muted); }
.catnav a.is-on, .catnav a:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.catnav a.is-on small { color: #BDB6A4; }
.catnav__search { margin-left: auto; }
.catnav__search input { font: inherit; font-size: 14px; padding: 7px 12px; border: 1px solid #CFC6AE; background: #fff; width: 220px; }

/* サービス */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc__item { background: #fff; text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--line); }
.svc__item img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.svc__item b { font-family: var(--mincho); font-size: 18px; padding: 16px 18px 4px; }
.svc__item span { font-size: 13.5px; color: var(--muted); padding: 0 18px 18px; }
.svc__item .svc__ph { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; background: var(--ink); color: var(--gold); font-family: var(--latin); font-size: 15px; letter-spacing: .3em; padding: 0; }
.svc__item .svc__ph em { font-style: normal; font-family: var(--mincho); font-size: 34px; letter-spacing: 0; color: #fff; }

/* 流れ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; list-style: none; padding: 0; }
.steps li { padding-right: 28px; position: relative; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--latin); font-size: 56px; color: var(--gold-deep); line-height: 1; }
.steps li::after { content: ""; position: absolute; top: 30px; left: 76px; right: 20px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-family: var(--mincho); font-size: 20px; margin: 10px 0 6px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq summary { list-style: none; cursor: pointer; font-family: var(--mincho); font-size: 19px; font-weight: 700; display: flex; gap: 16px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--latin); color: var(--gold-text); font-size: 24px; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--latin); font-size: 26px; color: var(--gold-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0 34px; color: var(--muted); font-size: 15.5px; }

/* 店舗 */
.shop { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.shop__photo img { width: 100%; }
.shop .num { display: inline-block; margin-bottom: 18px; }
.shop__h { font-family: var(--mincho); font-size: clamp(26px, 3vw, 36px); line-height: 1.5; margin-bottom: 24px; }
.shop__dl { display: grid; grid-template-columns: 6em 1fr; border-top: 1px solid var(--line); font-size: 15px; }
.shop__dl dt, .shop__dl dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.shop__dl dt { color: var(--muted); }
.shop__links { margin-top: 24px; }

/* 最後の案内 */
.final { background: var(--ink); color: #EDE8DA; padding: 96px 0; text-align: center; }
.final h2 { font-family: var(--mincho); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.5; color: #fff; }
.final p { color: #BDB6A4; margin: 14px 0 34px; }
.final__acts { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.final__tel { font-family: var(--latin); font-size: 44px; color: var(--gold); text-decoration: none; line-height: 1; display: inline-block; margin-top: 34px; }
.final__tel small { display: block; font-family: var(--gothic); font-size: 13px; color: #BDB6A4; margin-top: 8px; }

/* ==========================================================================
   下層ページ
   ========================================================================== */
.phead { background: var(--ink); color: #F4F1E8; padding: 26px 0 56px; position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 420px; height: 420px; border: 50px solid rgba(190,175,135,.07); border-radius: 50%; }
.phead .eyebrow { margin-top: 34px; font-size: 13px; }
.phead h1 { font-family: var(--mincho); font-size: clamp(28px, 4vw, 46px); line-height: 1.4; margin-top: 10px; max-width: 26em; position: relative; z-index: 1; }
.phead__lead { color: #CFC8B6; margin-top: 14px; max-width: 42em; }
.phead__count { color: var(--gold); font-size: 13px; margin-top: 12px; }
.phead--slim { padding: 18px 0 20px; }
.phead--slim::after { display: none; }
.phead__title { font-family: var(--mincho); font-size: 20px; color: #fff; margin-top: 6px; }
.phead--post h1 { font-size: clamp(24px, 3.2vw, 36px); }
.phead__meta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #BDB6A4; }
.phead__meta a { color: var(--gold); text-decoration: none; border: 1px solid var(--gold); padding: 0 10px; }
.crumb { font-size: 12.5px; color: #A9A396; }
.crumb a { color: #CFC6AE; text-decoration: none; }
.crumb a:hover { color: var(--gold); }

.pg { padding-bottom: 0; }
.pg__narrow { max-width: 880px; padding-top: 64px; padding-bottom: 40px; }
.pg__legacy { padding-top: 40px; padding-bottom: 40px; }
.pg__legacy.wrap { max-width: 1048px; }
.pg__cta { padding-top: 20px; padding-bottom: 96px; max-width: 880px; }
.satei-note { background: var(--beige); border-bottom: 1px solid var(--line); font-size: 14px; }
.satei-note .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; }
.satei-note span::before { content: "✓ "; color: var(--gold-text); font-weight: 700; }
.satei-note a { font-weight: 700; color: var(--ink); }

/* 新しく作るページの本文 */
.prose { font-size: 17px; line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--mincho); font-size: 28px; line-height: 1.5; margin-top: 2.4em; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--gold-deep); }
.prose h3 { font-family: var(--mincho); font-size: 22px; margin-top: 2em; }
.prose h4 { font-size: 18px; margin-top: 1.6em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.6em 0; font-size: 15.5px; background: #fff; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--beige); font-weight: 700; }
.prose tr:first-child th { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { color: var(--gold-text); }
.ts-content iframe { max-width: 100%; }

/* ==========================================================================
   書き直したサービスページ（本文が <div class="lp"> で始まるページ）
   本文は「カスタムHTML」ブロックで編集できる。使える部品はこの下のクラス
   ========================================================================== */
.lp { font-size: 16.5px; }
.lp :where(ul, ol) { list-style: none; padding: 0; }
.lp .sec { padding: 88px 0; }
.lp .sec + .sec:not(.sec--beige, .sec--ink) { border-top: 1px solid var(--line); }
.lp-lead { font-family: var(--mincho); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.8; max-width: 36em; }
.lp-lead + p { margin-top: 18px; color: var(--muted); max-width: 46em; }
.lp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.lp-toc a { text-decoration: none; border: 1px solid var(--line); background: #fff; padding: 8px 16px; font-size: 14.5px; }
.lp-toc a:hover { border-color: var(--gold-deep); }
.lp-toc a::before { content: "↓ "; color: var(--gold-text); }
.lp h3 { font-family: var(--mincho); font-size: 22px; line-height: 1.5; margin: 0 0 12px; }
.lp p + p { margin-top: 12px; }
.lp small, .lp .lp-note { font-size: 13.5px; color: var(--muted); }
.lp .sec--ink small, .lp .sec--ink .lp-note { color: #BDB6A4; }
.lp strong { background: linear-gradient(transparent 62%, rgba(190,175,135,.45) 62%); }
.lp .sec--ink strong { background: none; color: var(--gold); }

/* 横並びのカード */
.lp-grid { display: grid; gap: 18px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.lp-card { background: #fff; border: 1px solid var(--line); padding: 28px 26px; }
.lp-card--top { border-top: 3px solid var(--gold); }
.lp-card h3 { font-size: 20px; }
.lp-card p { font-size: 15px; color: var(--muted); }
.sec--ink .lp-card { background: transparent; border-color: rgba(190,175,135,.35); }
.sec--ink .lp-card p { color: #BDB6A4; }
.lp-card .lp-tag { display: inline-block; font-size: 12px; letter-spacing: .1em; color: var(--gold-text); border: 1px solid currentColor; padding: 0 8px; margin-bottom: 12px; }
.sec--ink .lp-card .lp-tag { color: var(--gold); }

/* 流れ（縦のタイムライン） */
.lp-flow { counter-reset: f; border-left: 1px solid var(--gold-deep); margin-left: 22px; }
.lp-flow > li { position: relative; padding: 0 0 34px 44px; }
.lp-flow > li:last-child { padding-bottom: 0; }
.lp-flow > li::before { counter-increment: f; content: counter(f, decimal-leading-zero); position: absolute; left: -23px; top: -4px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--gold-deep); border-radius: 50%; font-family: var(--latin); font-size: 19px; color: var(--gold-text); }
.sec--beige .lp-flow > li::before { background: var(--beige); }
.lp-flow h3 { font-size: 20px; margin-bottom: 4px; }
.lp-flow p { font-size: 15.5px; color: var(--muted); }
.lp-flow .lp-point { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--beige); padding: 2px 10px; margin-bottom: 6px; }
.sec--beige .lp-flow .lp-point { background: #fff; }
.lp-flow--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-left: 0; margin-left: 0; }
.lp-flow--2col > li { border-left: 1px solid var(--gold-deep); margin-left: 22px; }

/* 表 */
.lp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-table { border-collapse: collapse; width: 100%; background: #fff; font-size: 15px; min-width: 560px; }
.lp-table th, .lp-table td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; line-height: 1.7; }
.lp-table thead th { background: var(--ink); color: var(--gold); border-color: var(--ink); font-weight: 700; }
.lp-table tbody th { background: var(--beige); white-space: nowrap; }
.lp-table .is-rec { background: #FBF7EC; }
.lp-table thead .is-rec { background: var(--gold); color: var(--ink); }
.lp-table td.c { text-align: center; }
.lp-table b.o { color: var(--gold-text); font-size: 18px; }

/* 区切りのある説明リスト */
.lp-dl { display: grid; grid-template-columns: 13em 1fr; border-top: 1px solid var(--ink); }
.lp-dl dt, .lp-dl dd { padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.lp-dl dt { font-weight: 700; padding-right: 20px; }
.lp-dl dt small { display: block; font-weight: 400; }
.lp-dl dd { color: var(--muted); font-size: 15.5px; }

/* 計算式・強調の帯 */
.lp-formula { background: var(--ink); color: #fff; font-family: var(--mincho); font-size: clamp(18px, 2.2vw, 24px); text-align: center; padding: 26px 20px; letter-spacing: .04em; }
.lp-formula b { color: var(--gold); font-weight: 700; }
.lp-box { background: #fff; border-left: 3px solid var(--gold-deep); padding: 22px 26px; }
.lp-box > * + * { margin-top: 8px; }

/* 2列（左に見出し・右に本文） */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lp-split > *, .sf-card .wpcf7, .sf-card form { min-width: 0; }

/* チェックリスト */
.lp-check li { position: relative; padding-left: 28px; margin: 8px 0; }
.lp-check li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }

/* 査定コースの選択 */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(190,175,135,.35); border: 1px solid rgba(190,175,135,.35); }
.course { background: var(--ink); color: #EDE8DA; padding: 30px 26px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: background .2s; }
.course:hover { background: #2F2F31; }
.course__id { font-family: var(--latin); font-size: 46px; line-height: 1; color: var(--gold); }
.course__id small { font-family: var(--gothic); font-size: 13px; color: #BDB6A4; margin-left: 8px; letter-spacing: .1em; }
.course__h { font-family: var(--mincho); font-size: 20px; color: #fff; }
.course__p { font-size: 14px; color: #BDB6A4; }
.course__go { margin-top: auto; padding-top: 12px; color: var(--gold); font-weight: 700; font-size: 14.5px; }
.course--rec { box-shadow: inset 0 3px 0 var(--gold); }

/* 成約相場（自動集計） */
.mk__cmp { margin-top: 10px; font-size: 13px; color: var(--muted); }
.mk__cmp b { color: var(--gold-text); font-size: 15px; }
.souba-box { margin: 1.6em 0; }
.souba-box h3 { font-family: var(--mincho); font-size: 20px; margin-bottom: 14px; }
.souba-box .market__note { flex-wrap: wrap; }
.lp-table.towns th a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold-deep); }
.towns-links { display: flex; flex-wrap: wrap; gap: 8px; }
.towns-links a { text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 8px 14px; font-size: 14.5px; }
.towns-links a:hover { border-color: var(--gold-deep); }
.towns-links small { color: var(--muted); margin-left: 6px; }
.jisseki { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.jisseki li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 14px 18px; display: grid; gap: 2px; }
.jisseki time { font-size: 12.5px; color: var(--muted); }
.jisseki b { font-family: var(--mincho); font-size: 17px; }
.jisseki span { font-size: 13.5px; color: var(--gold-text); }

/* ==========================================================================
   査定フォーム・お問合せフォーム（inc/forms.php）
   ========================================================================== */
.phead__sub { display: block; font-size: .5em; color: var(--gold); margin-top: 8px; font-family: var(--gothic); font-weight: 700; letter-spacing: .04em; }
.ftabs { background: var(--charcoal); }
.ftabs__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(190,175,135,.25); padding: 0; }
.ftab { background: var(--charcoal); color: #CFC8B6; text-decoration: none; padding: 16px 20px; display: flex; align-items: center; gap: 14px; transition: background .2s; }
.ftab:hover { background: #4b4a4d; }
.ftab__id { font-family: var(--latin); font-size: 28px; line-height: 1; color: var(--gold); min-width: 1.4em; }
.ftab__h { font-size: 14px; line-height: 1.5; }
.ftab.is-on { background: var(--paper); color: var(--ink); box-shadow: inset 0 3px 0 var(--gold); }
.ftab.is-on .ftab__id { color: var(--gold-text); }
.fpage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 48px; padding-bottom: 96px; align-items: start; }
.fpage__intro { font-family: var(--mincho); font-size: 19px; margin-bottom: 22px; }
.fpage__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.fside { background: #fff; border: 1px solid var(--line); padding: 24px; }
.fside__h { font-family: var(--mincho); font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.fside__steps { list-style: none; padding: 0; counter-reset: fs; display: grid; gap: 14px; }
.fside__steps li { position: relative; padding-left: 40px; display: grid; }
.fside__steps li::before { counter-increment: fs; content: counter(fs); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold-deep); color: var(--gold-text); font-family: var(--latin); font-size: 16px; display: grid; place-items: center; }
.fside__steps b { font-size: 15px; }
.fside__steps span { font-size: 13px; color: var(--muted); }
.fside__safe { list-style: none; padding: 16px 0 0; margin-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.fside__safe li::before { content: "✓ "; color: var(--gold-text); font-weight: 700; }
.fside--ink { background: var(--ink); border-color: var(--ink); color: #CFC8B6; }
.fside--ink .fside__h { color: #fff; font-size: 16px; margin-bottom: 4px; }
.fside__tel { display: block; font-family: var(--latin); font-size: 34px; color: var(--gold); text-decoration: none; line-height: 1.2; }
.fside__note { font-size: 13px; margin: 8px 0 14px; }
.fside--ink .btn { width: 100%; }

.ff .wpcf7 { margin: 0; }
.ff-sec { border: 0; margin: 0 0 28px; padding: 0; background: #fff; border: 1px solid var(--line); }
.ff-sec legend { float: left; width: 100%; padding: 16px 24px; background: var(--ink); color: #fff; font-family: var(--mincho); font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.ff-sec legend span { font-family: var(--latin); font-size: 15px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.ff-sec legend + * { clear: both; }
.ff-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 24px; padding: 20px 24px; border-top: 1px solid #EEE9DD; }
.ff-row[hidden] { display: none; }
.ff-sec legend + .ff-row { border-top: 0; }
.ff-label { font-weight: 700; font-size: 15px; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ff-req, .ff-opt { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; letter-spacing: .05em; }
.ff-req { background: var(--gold); color: var(--ink); }
.ff-opt { border: 1px solid var(--line); color: var(--muted); font-weight: 400; }
.ff-field { display: grid; gap: 8px; min-width: 0; }
.ff-help { font-size: 13px; color: var(--muted); }
.ff-typehint { margin: 0; padding: 12px 24px; background: var(--beige); font-size: 14px; color: var(--muted); border-top: 1px solid #EEE9DD; }
.ff-typehint[hidden] { display: none; }
.ff input[type="text"], .ff input[type="tel"], .ff input[type="email"], .ff select, .ff textarea { font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid #CFC6AE; background: var(--paper); color: var(--text); border-radius: 0; box-sizing: border-box; max-width: 100%; width: 100%; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; background: #fff; }
.ff .ff-s { width: 150px; }
.ff .ff-m { width: 100%; max-width: 360px; }
.ff .ff-l { width: 100%; }
.ff select { width: auto; min-width: 150px; }
.ff textarea { min-height: 120px; }
.ff-inline { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ff-inline .wpcf7-form-control-wrap { flex: 0 1 auto; }
.ff-zip { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ff-zip__note { font-size: 12.5px; color: var(--muted); }
/* ラジオ・チェックボックスは選びやすいチップに */
.ff-chips .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-chips .wpcf7-list-item { margin: 0; }
.ff-chips .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #CFC6AE; background: var(--paper); padding: 9px 14px; cursor: pointer; font-size: 15px; line-height: 1.3; }
.ff-chips .wpcf7-list-item input { accent-color: var(--gold-deep); margin: 0; }
.ff-chips .wpcf7-list-item label:has(input:checked) { border-color: var(--gold-deep); background: #FBF7EC; box-shadow: inset 0 0 0 1px var(--gold-deep); font-weight: 700; }
.ff-inline .wpcf7-radio .wpcf7-list-item { margin: 0 10px 0 0; }
.ff .wpcf7-not-valid { border-color: #C0392B !important; }
.ff .wpcf7-not-valid-tip { color: #B3261E; font-size: 13px; margin-top: 4px; }
.ff-submit { text-align: center; padding: 8px 0 0; }
.ff-privacy { font-size: 15px; margin-bottom: 14px; }
.ff-privacy input { accent-color: var(--gold-deep); margin-right: 6px; transform: scale(1.2); }
.ff .ff-btn { display: inline-block; width: 100%; max-width: 440px; padding: 19px 24px; font: inherit; font-size: 18px; font-weight: 700; letter-spacing: .06em; background: var(--gold); color: var(--ink); border: 0; cursor: pointer; transition: background .2s; }
.ff .ff-btn:hover { background: #CFC2A0; }
.ff .ff-btn:disabled { opacity: .5; cursor: not-allowed; }
.ff-after { font-size: 13px; color: var(--muted); margin-top: 10px; }
.ff .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 16px !important; font-size: 14.5px; border: 1px solid #B3261E !important; background: #FDF3F2; }
.ff .wpcf7 form.sent .wpcf7-response-output { display: none; }
.ff-done { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 40px 32px; text-align: center; display: grid; gap: 10px; }
.ff-done[hidden] { display: none; }
.ff-done__eyebrow { font-family: var(--latin); letter-spacing: .3em; color: var(--gold-text); font-size: 13px; }
.ff-done__h { font-family: var(--mincho); font-size: 26px; font-weight: 700; }
.ff-done a { color: var(--gold-text); font-weight: 700; }
@media (max-width: 1000px) {
	.fpage { grid-template-columns: 1fr; }
	.fpage__side { position: static; }
	.ftabs__in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.ftab { padding: 12px 14px; gap: 10px; }
	.ftab__id { font-size: 22px; }
	.ftab__h { font-size: 12.5px; }
	.ff-row { grid-template-columns: 1fr; padding: 16px; gap: 6px; }
	.ff-label { padding-top: 0; }
	.ff-sec legend { padding: 14px 16px; font-size: 17px; }
	.ff-typehint { padding: 10px 16px; }
	.ff .ff-s { width: 130px; }
	.fpage { padding-top: 32px; }
}

/* メール講座の申込ページ（/form1/） */
.sf-hero .lp-split { align-items: center; }
.sf-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); }
.sf-points li { background: #fff; padding: 16px 14px; display: flex; flex-direction: column; gap: 2px; }
.sf-points b { font-family: var(--mincho); font-size: 22px; color: var(--gold-text); line-height: 1.3; }
.sf-points span { font-size: 13px; color: var(--muted); }
.sf-card { background: var(--ink); color: #EDE8DA; padding: 36px 34px 30px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.sf-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold); }
.sf-card__eyebrow { font-family: var(--latin); letter-spacing: .3em; color: var(--gold); font-size: 13px; }
.sf-card__h { font-family: var(--mincho); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.5; color: #fff; margin-top: 8px; }
.sf-card__sub { font-size: 13.5px; color: #BDB6A4; margin: 8px 0 18px; }
.sf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.sf input { min-width: 0; max-width: 100%; }
.sf__label { font-size: 14px; font-weight: 700; color: #fff; margin-top: 8px; }
.sf__label em { font-style: normal; font-size: 11px; background: var(--gold); color: var(--ink); padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.sf input[type="email"] { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #5a5a5c; background: #fff; color: var(--text); border-radius: 0; }
.sf input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.sf__privacy { font-size: 13.5px; margin-top: 10px; }
.sf__privacy a { color: var(--gold); }
.sf__privacy input { margin-right: 6px; accent-color: var(--gold); }
.sf .sf__submit { width: 100%; margin-top: 10px; padding: 17px; font: inherit; font-weight: 700; font-size: 17px; letter-spacing: .06em; background: var(--gold); color: var(--ink); border: 0; cursor: pointer; transition: background .2s; }
.sf .sf__submit:hover { background: #CFC2A0; }
.sf .sf__submit:disabled { opacity: .55; cursor: not-allowed; }
.sf__note { font-size: 12.5px; color: #BDB6A4; margin-top: 6px; }
.sf-card .wpcf7-not-valid-tip { color: #FFB4A8; font-size: 13px; }
.sf-card .wpcf7-response-output { margin: 14px 0 0 !important; padding: 12px 14px !important; border: 1px solid var(--gold) !important; color: #fff; font-size: 14px; }
.sf-card .wpcf7-spinner { display: block; margin: 8px auto 0; }
.sf-days { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; counter-reset: none; }
.sf-days li { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); padding: 14px 20px; }
.sf-days__d { font-family: var(--latin); font-size: 12px; letter-spacing: .2em; color: var(--muted); display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 44px; }
.sf-days__d b { font-size: 30px; font-weight: 600; color: var(--gold-text); letter-spacing: 0; margin-top: 4px; }
.sf-days__t { font-family: var(--mincho); font-size: 17px; line-height: 1.5; }
@media (max-width: 1000px) { .sf-days { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.sf-points { grid-template-columns: 1fr; }
	.sf-points li { flex-direction: row; align-items: baseline; gap: 12px; }
	.sf-card { padding: 28px 20px 24px; }
	.sf-days li { padding: 12px 14px; gap: 14px; }
}

/* スタッフ */
.staff { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.staff__item { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.staff__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--beige); }
.staff__role { font-size: 13px; color: var(--gold-text); letter-spacing: .1em; }
.staff__name { font-family: var(--mincho); font-size: 26px; line-height: 1.4; margin: 4px 0 2px; }
.staff__name small { font-family: var(--gothic); font-size: 13px; color: var(--muted); margin-left: 10px; }
.staff__creds { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.staff__creds span { font-size: 12.5px; border: 1px solid var(--line); background: #fff; padding: 2px 10px; }
.staff__item h3 { font-size: 15px; font-family: var(--gothic); color: var(--muted); margin: 16px 0 4px; }
.staff__item p { font-size: 15.5px; }

/* お客様の声 */
.voices { columns: 3 300px; column-gap: 18px; }
.voice { break-inside: avoid; background: #fff; border: 1px solid var(--line); padding: 24px 24px 20px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.voice__text { font-family: var(--mincho); font-size: 17px; line-height: 1.85; }
.voice__text { white-space: pre-line; }
.lp-more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--gold); padding: 14px 26px; font-weight: 700; list-style: none; }
.lp-more summary::-webkit-details-marker { display: none; }
.lp-more summary::after { content: "+"; font-family: var(--latin); font-size: 22px; line-height: 1; }
.lp-more[open] summary::after { content: "\2212"; }
.lp-more[open] summary { margin-bottom: 28px; }
.voice__text::before { content: "\201C"; font-family: var(--latin); font-size: 40px; line-height: 0; color: var(--gold-deep); vertical-align: -14px; margin-right: 4px; }
.voice__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.voice__star { color: var(--gold-text); font-weight: 700; }

/* マンガ・本部資料の画像を縦に並べる */
.lp-comic { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.lp-comic img { width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }

/* 地図・写真 */
.lp-map { position: relative; aspect-ratio: 16 / 10; background: var(--beige); }
.lp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.lp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ブログ一覧・記事 */
.bloglist { padding-top: 56px; padding-bottom: 40px; }
.pager { margin: 48px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pager .page-numbers { display: inline-block; min-width: 44px; padding: 9px 12px; text-align: center; border: 1px solid #CFC6AE; text-decoration: none; background: #fff; font-size: 15px; }
.pager .current { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.pager .dots { border: 0; background: none; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

.post { max-width: 880px; padding-top: 56px; padding-bottom: 20px; }
/* コラム本文：すべての記事を同じ文字組み・同じ部品で表示（旧記事の装飾は inc/postclean.php で外している） */
.post__body { font-size: 17px; line-height: 1.95; color: var(--text); overflow-wrap: anywhere; }
.post__body > * + *, .post__body div > * + * { margin-top: 1em; }
.post__body p { margin: 0 0 1em; }
.post__body .post__by { font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 28px; }
.post__body .post__by a { color: var(--gold-text); font-weight: 700; }
.post__body h2 { font-family: var(--mincho); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.5; margin: 2.2em 0 .9em; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.post__body h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--gold-deep); }
.post__body h3 { font-family: var(--mincho); font-size: 20px; line-height: 1.5; margin: 1.8em 0 .7em; padding-left: 14px; border-left: 3px solid var(--gold); }
.post__body h4, .post__body h5 { font-size: 17.5px; font-weight: 700; margin: 1.6em 0 .5em; }
.post__body strong, .post__body b { font-weight: 700; background: linear-gradient(transparent 64%, rgba(190,175,135,.38) 64%); }
.post__body a { color: var(--gold-text); }
.post__body img { max-width: 100%; height: auto; }
.post__body ul, .post__body ol { padding-left: 1.4em; margin: 0 0 1em; }
.post__body li + li { margin-top: .3em; }
.post__body table { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; display: block; overflow-x: auto; }
.post__body th, .post__body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.post__body th { background: var(--beige); }
.post__body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post__body dl { margin: 0 0 1em; }
.post__body dt { font-weight: 700; }
.post__body dd { margin: 0 0 .6em; }
.post__body .b-center { text-align: center; }
.post__body .b-box { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold-deep); padding: 18px 22px; margin: 1.2em 0; }
.post__body .b-box > :last-child { margin-bottom: 0; }
.post__body .b-ttl { font-family: var(--mincho); font-weight: 700; font-size: 18px; margin-bottom: .4em; }
.post__body .b-note { font-size: 14px; color: var(--muted); }
.post__body .b-num { display: inline-block; font-family: var(--latin); font-size: 20px; color: var(--gold-text); margin-right: 8px; }
.post__body .b-video { aspect-ratio: 16 / 9; margin: 1.4em 0; background: var(--ink); }
.post__body .b-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.post__body iframe { max-width: 100%; }
/* ブロックエディタで書いた記事の部品（色・文字サイズの指定は inc/postclean.php で外し、ここで統一） */
.post__body figure { margin: 1.4em 0; }
.post__body figcaption, .post__body .wp-element-caption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.post__body .aligncenter, .post__body .has-text-align-center { text-align: center; margin-left: auto; margin-right: auto; }
.post__body .has-text-align-right { text-align: right; }
.post__body .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 45%; }
.post__body .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 45%; }
.post__body h2, .post__body h3 { clear: both; }
.post__body .wp-block-image img { display: block; margin: 0 auto; }
.post__body .wp-block-columns { display: flex; flex-wrap: wrap; gap: 20px; }
.post__body .wp-block-column { flex: 1 1 240px; min-width: 0; }
.post__body .wp-block-column > :first-child { margin-top: 0; }
.post__body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 1.6em 0; }
.post__body .wp-block-button__link { display: inline-block; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 700; padding: 14px 28px; letter-spacing: .04em; }
.post__body .wp-block-button__link:hover { background: #CFC2A0; }
.post__body .is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--gold-deep); color: var(--gold-text); }
.post__body blockquote, .post__body .wp-block-quote { margin: 1.4em 0; padding: 14px 22px; border-left: 3px solid var(--gold); background: var(--beige); font-family: var(--mincho); }
.post__body blockquote cite { display: block; font-family: var(--gothic); font-size: 13px; color: var(--muted); margin-top: 6px; font-style: normal; }
.post__body .wp-block-group.b-box, .post__body .b-box { background: #fff; }
.post__body .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em auto; }
.post__body .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.post__body .wp-block-gallery figure { margin: 0; }
.post__body .wp-block-embed.is-type-video .wp-block-embed__wrapper, .post__body .wp-block-embed-youtube .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.post__body .wp-block-embed iframe { width: 100%; height: 100%; }
.post__body .wp-block-table table { display: table; }
.post__body .wp-block-details { border: 1px solid var(--line); background: #fff; padding: 14px 18px; margin: 1em 0; }
.post__body .wp-block-details summary { font-weight: 700; cursor: pointer; }
@media (max-width: 640px) { .post__body .alignleft, .post__body .alignright { float: none; max-width: 100%; margin: 1em 0; } }
.author__acts { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; }
.author__acts .btn { padding: 10px 18px; font-size: 14px; }
.author .author__acts .btn--gold { color: var(--ink); }
.author .author__acts .btn--line { color: var(--gold-text); border-color: var(--gold-deep); }
.post__after { margin-top: 48px; display: grid; gap: 32px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.share span { color: var(--muted); margin-right: 6px; }
.share a { text-decoration: none; border: 1px solid #CFC6AE; padding: 5px 14px; background: #fff; }
.share a:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.author { display: grid; grid-template-columns: 96px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); padding: 26px; }
.author img { width: 96px; height: 115px; object-fit: cover; }
.author__label { font-size: 12px; color: var(--gold-text); letter-spacing: .12em; }
.author__name { font-family: var(--mincho); font-size: 20px; font-weight: 700; }
.author__name small { font-family: var(--gothic); font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.author__creds { font-size: 13px; color: var(--muted); }
.author__text { font-size: 14.5px; margin: 8px 0; }
.author a { font-size: 14px; font-weight: 700; color: var(--ink); }
.related { padding: 80px 0; }
.related__h { font-family: var(--mincho); font-size: 26px; margin-bottom: 30px; }

/* 査定・相談の案内ボックス */
.ctabox { background: var(--ink); color: #EDE8DA; padding: 44px 40px; text-align: center; position: relative; }
.ctabox::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(190,175,135,.35); pointer-events: none; }
.ctabox__eyebrow { font-family: var(--latin); letter-spacing: .3em; color: var(--gold); font-size: 13px; }
.ctabox__title { font-family: var(--mincho); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.6; color: #fff; margin-top: 10px; }
.ctabox__text { color: #BDB6A4; font-size: 14.5px; margin: 12px 0 24px; }
.ctabox__acts { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }

/* ==========================================================================
   旧サイトから取り込んだ本文・フォーム（旧テーマから引き継ぎ）
   ========================================================================== */
:where(.ts-sateiform) .wpcf7 { background: var(--ts-grey-bg); padding: 30px; margin: 20px 0 40px; }
:where(.ts-sateiform) .wpcf7 table { width: 100%; border-collapse: collapse; background: #fff; }
:where(.ts-sateiform) .wpcf7 th, :where(.ts-sateiform) .wpcf7 td { border: 1px solid var(--ts-line); padding: 12px; text-align: left; vertical-align: top; }
:where(.ts-sateiform) .wpcf7 th { width: 30%; background: var(--ts-beige); }
:where(.ts-sateiform) .wpcf7 .req { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 11px; color: #fff; background: var(--ts-red); border-radius: 2px; }
:where(.ts-sateiform) .wpcf7 input[type=text], :where(.ts-sateiform) .wpcf7 input[type=email], :where(.ts-sateiform) .wpcf7 input[type=tel], :where(.ts-sateiform) .wpcf7 select, :where(.ts-sateiform) .wpcf7 textarea { width: 100%; padding: 8px; border: 1px solid #bbb; font-size: 16px; font-family: inherit; }
:where(.ts-sateiform) .wpcf7 input[size="4"], :where(.ts-sateiform) .wpcf7 input[size="5"], :where(.ts-sateiform) .wpcf7 input[size="10"] { width: auto; max-width: 160px; }
:where(.ts-sateiform) .wpcf7 .wpcf7-form-control-wrap { display: inline-block; }
:where(.ts-sateiform) .wpcf7 td > .wpcf7-form-control-wrap:has(textarea), :where(.ts-sateiform) .wpcf7 td > .wpcf7-form-control-wrap:only-child { display: block; }
/* 送信ボタンは新デザインに合わせる（濃い地×ゴールド） */
.wpcf7 input[type=submit]:not(.sf__submit):not(.ff-btn) { display: block; width: 360px; max-width: 100%; margin: 28px auto 0; padding: 18px; font-size: 18px; font-weight: 700; letter-spacing: .08em; color: var(--gold) !important; background: var(--ink) !important; border: 0 !important; border-radius: 0 !important; cursor: pointer; font-family: var(--gothic); }
.wpcf7 input[type=submit]:not(.sf__submit):not(.ff-btn):hover { background: #000 !important; }

/* ==========================================================================
   フッター・スマホ固定バー
   ========================================================================== */
.ft { background: #1B1B1C; color: #A9A396; padding: 64px 0 40px; font-size: 14px; }
.ft__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ft__info { line-height: 1.9; }
.ft__u { white-space: nowrap; display: inline-block; }
.ft__sep { margin: 0 2px; }
.ft__logo { height: 18px; width: auto; margin-bottom: 18px; }
.ft__h { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .15em; margin-bottom: 14px; }
.ft ul { display: grid; gap: 6px; }
.ft a { text-decoration: none; }
.ft a:hover { color: var(--gold); }
.ft__legal { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.mbar { display: none; }

/* ==========================================================================
   画面幅ごとの調整
   ========================================================================== */
@media (max-width: 1240px) {
	.hd__nav { display: none; }
	.hd__tel { margin-left: auto; }
	.hd__menu { display: flex; }
	.ft__in { grid-template-columns: repeat(3, 1fr); }
	.ft__co { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
	.hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
	.sec__head { grid-template-columns: 1fr; gap: 16px; }
	.num { justify-self: start; }
	.market { grid-template-columns: repeat(2, 1fr); }
	.worries, .svc { grid-template-columns: repeat(2, 1fr); }
	.ways { grid-template-columns: 1fr; }
	.way { border-right: 0; border-bottom: 1px solid rgba(190,175,135,.35); }
	.way:last-child { border-bottom: 0; }
	.people, .shop { grid-template-columns: 1fr; gap: 40px; }
	.people__photo { max-width: 260px; justify-self: start; margin-left: 18px; }
	.team { grid-template-columns: repeat(3, 1fr); }
	.cards--3 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.steps li::after { display: none; }
	.ft__in { grid-template-columns: 1fr 1fr; }
	.drawer__in { grid-template-columns: 1fr 1fr; }
	.drawer__cta { grid-column: 1 / -1; }
	.lp-grid { grid-template-columns: repeat(2, 1fr); }
	.lp-split, .lp-flow--2col { grid-template-columns: 1fr; gap: 32px; }
	.lp-flow--2col { gap: 34px; }
	.courses { grid-template-columns: repeat(2, 1fr); }
	.market[style] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 782px) {
	.admin-bar .hd { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 16.5px; padding-bottom: 62px; }
	.wrap { padding: 0 16px; }
	.hd__in { height: 62px; gap: 10px; }
	.hd__logo img { height: 14px; }
	.hd__tel, .hd__cta { display: none; }
	.hd__menu { margin-left: auto; }
	.drawer__in { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
	.hero__in { padding-bottom: 48px; }
	.hero__facts div { padding-right: 14px; margin-right: 14px; }
	.hero__facts b { font-size: 20px; }
	.qcard { padding: 26px 20px 22px; }
	.chips { grid-template-columns: repeat(2, 1fr); }
	.selrow { grid-template-columns: 1fr; }
	.entries__in { grid-template-columns: 1fr; }
	.entry { padding: 22px 20px; }
	.sec { padding: 64px 0; }
	.sec__head { margin-bottom: 32px; }
	.market { grid-template-columns: 1fr; }
	.mk { border-right: 0; }
	.market__note { flex-direction: column; align-items: flex-start; }
	.worries, .svc, .cards--3 { grid-template-columns: 1fr; }
	.wr { min-height: 0; }
	.team { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: 1fr; }
	.final { padding: 64px 0; }
	.final__tel { font-size: 36px; }
	.catnav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
	.catnav a { flex: none; }
	.catnav__search { margin-left: 0; flex: none; width: 200px; }
	.catnav__search input { width: 100%; }
	.author { grid-template-columns: 72px 1fr; padding: 18px; gap: 14px; }
	.author img { width: 72px; height: 86px; }
	.ctabox { padding: 34px 20px; }
	.ft__in { grid-template-columns: 1fr; }
	.pg__narrow { padding-top: 40px; }
	.lp .sec { padding: 56px 0; }
	.lp-grid, .courses { grid-template-columns: 1fr; }
	.market[style] { grid-template-columns: 1fr !important; }
	.lp-dl { grid-template-columns: 1fr; }
	.lp-dl dt { padding-bottom: 0; border-bottom: 0; }
	.lp-dl dd { padding-top: 6px; }
	.lp-flow > li { padding-left: 36px; }
	.lp-box { padding: 18px 18px; }
	.staff__item { grid-template-columns: 110px 1fr; gap: 18px; padding: 28px 0; }
	.staff__name { font-size: 21px; }
	.staff__name small { display: block; margin-left: 0; }
	.lp-photos { grid-template-columns: 1fr; }
	/* 書き直したページの表は横スクロールで見せる（縦並びにしない） */
	.lp .lp-table, .lp .lp-table tbody, .lp .lp-table thead { display: table-row-group; }
	.lp .lp-table { display: table; }
	.lp .lp-table tr { display: table-row; }
	.lp .lp-table th, .lp .lp-table td { display: table-cell; width: auto; padding: 10px 12px; font-size: 14px; }
	/* 取り込んだ本文の表はスマホで縦並びに（旧テーマと同じ） */
	.ts-content table, .ts-content tbody, .ts-content tr, .ts-content th, .ts-content td { display: block; width: 100%; }
	.ts-content th { white-space: normal; }
	:where(.ts-sateiform) .wpcf7 { padding: 16px; }
	/* お問合せページ（旧フォーム）：画像と入力欄を画面幅に収める */
	.ts-inquiry img { max-width: 100%; height: auto; }
	.ts-content .wpcf7 :is(input, textarea, select) { max-width: 100%; box-sizing: border-box; }
	.ts-content { overflow-wrap: anywhere; }
	.ts-content span { white-space: normal !important; }
	:where(.ts-sateiform) .wpcf7 th, :where(.ts-sateiform) .wpcf7 td { display: block; width: 100%; }
	.mbar { display: grid; grid-template-columns: 1fr 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid var(--gold-deep); }
	.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 8px 4px 10px; color: #BDB6A4; text-decoration: none; font-size: 11px; }
	.mbar a b { font-size: 15px; color: #EDE8DA; }
	.mbar .mbar__main { background: var(--gold); color: var(--ink); }
	.mbar .mbar__main b { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ==========================================================================
 * 町別の相場マップ（inc/soubamap.php・assets/soubamap.js）
 * ======================================================================== */
.smap { margin: 0 0 28px; }
.smap__map { height: 460px; background: var(--beige); border: 1px solid var(--line); z-index: 0; }
.smap__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 6px; font-size: 13px; color: #555; }
.smap__lgttl { font-weight: 700; color: var(--ink); }
.smap__scale { display: inline-flex; align-items: center; }
.smap__scale em { font-style: normal; font-size: 12px; margin: 0 6px; }
.smap__scale i { width: 30px; height: 12px; display: block; }
.smap__size { margin-left: auto; }
.smap .lp-note { margin: 0; }
.smap .leaflet-container { font-family: inherit; }
.smap .leaflet-popup-content-wrapper { border-radius: 0; box-shadow: 0 6px 20px rgba(37,37,38,.18); }
.smap .leaflet-popup-content { margin: 14px 16px; font-size: 13.5px; line-height: 1.7; }
.smap .leaflet-popup-content span { display: block; }
.smap__ptown { display: block; font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-size: 17px; color: var(--ink); }
.smap__pcnt { color: #666; font-size: 12.5px; }
.smap__pdiff { color: var(--gold-text); font-weight: 700; }
.smap__plink { display: inline-block; margin-top: 6px; color: var(--gold-text) !important; font-weight: 700; text-decoration: none; }
.smap__tip { font-size: 12.5px; font-weight: 700; border-radius: 0; padding: 3px 8px; }
@media (max-width: 760px) {
	.smap__map { height: 360px; }
	.smap__size { margin-left: 0; width: 100%; }
}
