/* マモリエ 2026 テーマのCSS（元：design/2026-09-25_新生マモリエ/mamorie2026.css・2026-10-30 テーマ用に移植） 
   本番未反映。新テーマ mamorie2026 の見た目の基準にする。 */

:root {
  /* ブランド色（現行テーマの #fc9010・#42210b を受け継いで調整） */
  --orange-500: #F08A0C;   /* 面・アクセント（文字色には使わない） */
  --orange-100: #FDEBD3;
  --orange-700: #B85600;   /* ボタン（白文字でコントラスト4.8） */
  --brown-900: #3B2314;    /* 本文 */
  --brown-600: #6B4A33;    /* 補足文 */
  --green-700: #3F7A2E;    /* 安心・チェック（白文字でコントラスト5.2） */
  --green-100: #E5F0DF;
  --cream-50: #FBF7F0;     /* 背景 */
  --cream-100: #F5EBDC;
  --line: #E6D9C6;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(59, 35, 20, .08);
  --maxw: 1120px;
  --font-body: "BIZ UDPGothic", "BIZ UDPゴシック", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif; /* 端末に入っているフォント（Windows 10 以降は BIZ UDPゴシックが標準）。Web フォントにすると1ページ約700KB・74ファイルになるため（v0.23.0） */
  --font-head: "Zen Maru Gothic", var(--font-body);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream-50);
  color: var(--brown-900);
  font-family: var(--font-body);
  font-size: 18px;            /* 高齢の方にも読める大きさ */
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-700); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.4; margin: 0 0 .6em; }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream-100); }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 700; color: var(--green-700); letter-spacing: .08em; margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--brown-600); }
.center { text-align: center; }
.note { font-size: 15px; color: var(--brown-600); }
.mock-label { font-size: 13px; background: #fff3cd; color: #6b5200; border: 1px dashed #d4b000; padding: 2px 8px; border-radius: 6px; display: inline-block; }

/* ヘッダー */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown-900); }
.logo-mark { width: 48px; height: 48px; display: block; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.1; }
.logo-text small { display: block; font-size: 12px; font-weight: 500; color: var(--brown-600); }
.header-tel { text-align: right; line-height: 1.3; }
.header-tel a { font-size: 24px; font-weight: 700; color: var(--brown-900); text-decoration: none; font-family: var(--font-head); }
.header-tel span { display: block; font-size: 13px; color: var(--brown-600); }
.global-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.global-nav ul { list-style: none; margin: 0 auto; padding: 0 16px; max-width: var(--maxw); display: flex; gap: 4px; flex-wrap: wrap; }
.global-nav a { display: block; padding: 12px 14px; text-decoration: none; color: var(--brown-900); font-weight: 700; font-size: 16px; border-bottom: 3px solid transparent; }
.global-nav a:hover, .global-nav a[aria-current="page"] { border-bottom-color: var(--orange-500); }
.global-nav .nav-main a { color: var(--orange-700); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 18px; text-decoration: none; border: 2px solid transparent; }
.btn--primary { background: var(--orange-700); color: #fff; }
.btn--line { background: #06C755; color: #083b1f; }
.btn--ghost { background: #fff; color: var(--brown-900); border-color: var(--line); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ヒーロー */
.hero { background: linear-gradient(180deg, var(--orange-100), var(--cream-50)); padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(240,138,12,.35) 62%); }
.hero .price-badge { display: inline-flex; align-items: baseline; gap: 6px; background: #fff; border: 2px solid var(--orange-500); border-radius: 12px; padding: 8px 16px; margin: 8px 0 24px; font-weight: 700; }
.hero .price-badge strong { font-size: 34px; color: var(--orange-700); font-family: var(--font-head); }
.hero .price-badge { flex-wrap: wrap; }
.hero .price-badge small { flex-basis: 100%; font-size: 14px; line-height: 1.5; }  /* 契約期間の注記は必ず次の行へ */
.photo { background: repeating-linear-gradient(45deg, #efe4d3, #efe4d3 12px, #f6ecdf 12px, #f6ecdf 24px); border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: var(--brown-600); font-size: 15px; padding: 16px; min-height: 280px; border: 1px solid var(--line); }

/* カード */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); margin-bottom: 12px; }

/* プラン */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan--rec { border-color: var(--orange-500); box-shadow: 0 6px 24px rgba(240,138,12,.18); }
.plan--rec::before { content: "いちばん選ばれています"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange-700); color: #fff; font-size: 14px; font-weight: 700; padding: 2px 14px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.plan-for { color: var(--brown-600); font-size: 15px; min-height: 3.4em; }
.plan-price { font-family: var(--font-head); font-weight: 700; color: var(--orange-700); font-size: 40px; line-height: 1.2; }
.plan-price small { font-size: 16px; color: var(--brown-900); }
.plan-tax { font-size: 14px; color: var(--brown-600); margin-bottom: 12px; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 20px; flex: 1; }
.plan li { padding: 6px 0 6px 30px; position: relative; border-bottom: 1px dashed var(--line); font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 16px; height: 9px; border-left: 3px solid var(--green-700); border-bottom: 3px solid var(--green-700); transform: rotate(-45deg); }
.plan .meta { font-size: 15px; background: var(--cream-50); border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; }

/* 悩みから探す */
.worry { text-align: center; padding: 20px 14px; text-decoration: none; color: var(--brown-900); }
.worry .icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: var(--orange-100); display: grid; place-items: center; font-size: 30px; }
.worry strong { display: block; font-size: 17px; }
.worry span { font-size: 14px; color: var(--brown-600); }

/* 知識ボックス */
.learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.learn .card { border-top: 6px solid var(--green-700); }
.learn .tag { font-size: 13px; font-weight: 700; color: var(--green-700); }

/* 表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; font-size: 16px; }
table.compare th, table.compare td { border: 1px solid var(--line); padding: 12px 10px; text-align: center; }
table.compare thead th { background: var(--cream-100); font-family: var(--font-head); }
table.compare thead th.rec { background: var(--orange-100); }
table.compare tbody th { text-align: left; background: var(--cream-50); font-weight: 700; }
table.compare .yes { color: var(--green-700); font-weight: 700; }
table.compare .no { color: #b9ab97; }

/* 報告サンプル */
.report { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.phone { max-width: 320px; margin: 0 auto; background: #1f1f1f; border-radius: 36px; padding: 14px; }
.phone-screen { background: #8cabd9; border-radius: 26px; padding: 16px 12px; min-height: 420px; }
.bubble { background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 14px; margin-bottom: 10px; line-height: 1.6; }
.bubble .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
.bubble .thumbs i { display: block; aspect-ratio: 1; border-radius: 6px; background: repeating-linear-gradient(45deg, #e7dccb, #e7dccb 6px, #f3eadc 6px, #f3eadc 12px); }

/* 流れ */
.flow { counter-reset: step; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; list-style: none; padding: 0; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: center; font-size: 15px; }
.flow li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--orange-500); color: #fff; font-weight: 700; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 14px; color: var(--orange-700); }
.faq details[open] summary::after { content: "－"; }
.faq details p { padding: 0 20px 16px; margin: 0; }

/* CTA帯 */
.cta { background: var(--brown-900); color: #fff; padding: 56px 0; }
.cta h2 { color: #fff; }
.cta .tel { font-family: var(--font-head); font-size: clamp(32px, 5vw, 48px); font-weight: 700; color: #fff; text-decoration: none; }
.cta p { color: #f0e4d6; }

/* 流れの中の強調 */
.alert { background: #fff; border-left: 6px solid var(--orange-500); border-radius: 10px; padding: 20px 24px; box-shadow: var(--shadow); }

/* フッター */
.site-footer { background: #2a190e; color: #e9dccb; padding: 40px 0 100px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer h2 { color: #fff; margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }

/* スマホ固定ボタン */
.sp-bar { display: none; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero .wrap, .report { grid-template-columns: 1fr; }
  .grid-3, .plans, .learn { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .header-tel { display: none; }
  .global-nav ul { overflow-x: auto; flex-wrap: nowrap; }
  .global-nav a { white-space: nowrap; }
  .section { padding: 44px 0; }
  .plan--rec { order: -1; }
  .hero .price-badge { flex-wrap: wrap; font-size: 16px; }
  .hero .price-badge strong { font-size: 30px; }
  .btn { width: 100%; }
  .sp-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
  .sp-bar a { display: grid; place-items: center; min-height: 60px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--brown-900); }
  .sp-bar a.tel { background: var(--orange-700); color: #fff; }
  .sp-bar a.line { background: #06C755; color: #083b1f; }
}

/* ---- ここからテーマ用の追加（2026-10-30） ---- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.entry { max-width: 900px; }
.entry h1 { font-size: clamp(26px, 3.6vw, 38px); }
.entry h2 { margin-top: 1.6em; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
/* 料金（inc/prices.php） */
.price-amount { font-family: var(--font-head); font-weight: 700; color: var(--orange-700); }
.price-amount small { font-size: .5em; color: var(--brown-900); }
.price-tax { display: block; font-size: 14px; color: var(--brown-600); font-weight: 400; }
.price-condition { display: block; font-size: 14px; color: var(--brown-900); font-weight: 400; margin-top: 2px; }
.price-ask { font-size: 16px; color: var(--brown-600); font-weight: 700; }
.plan-price .price-amount { font-size: 40px; line-height: 1.2; }
.plan-price .price-tax, .plan-price .price-condition { font-family: var(--font-body); }
.price-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.price-table th { background: var(--cream-50); width: 40%; }
.price-table .price-amount { font-size: 22px; }
.price-table-title { margin-top: 1.4em; }
@media (max-width: 860px) { .sp-bar.sp-bar--2 { grid-template-columns: repeat(2, 1fr); } }
/* 空き家管理ページ */
.compare .price-amount { font-size: 18px; }
.compare .price-tax, .compare .price-condition { font-size: 13px; }
.hero .price-badge .price-tax { display: inline; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.tel-large { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--brown-900); text-decoration: none; }
/* サービスページ（template-parts/service.php） */
.hero--sub { padding: 40px 0 48px; }
.hero--sub h1 { font-size: clamp(26px, 3.6vw, 40px); }
.menu-index { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0 8px; }
.menu-index a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--brown-900); font-weight: 700; font-size: 15px; }
.menu-group { margin-top: 40px; scroll-margin-top: 90px; }
.menu-group > h3 { border-left: 6px solid var(--orange-500); padding-left: 12px; }
.menu-items { display: grid; gap: 12px; }
.menu-item { display: grid; grid-template-columns: 1fr minmax(180px, 34%); gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; align-items: center; }
.menu-item p { margin: 4px 0 0; font-size: 16px; color: var(--brown-600); }
.menu-item-price { text-align: right; }
.menu-item-price .price-amount { font-size: 22px; }
@media (max-width: 860px) { .menu-item { grid-template-columns: 1fr; } .menu-item-price { text-align: left; } }
/* 本文へ移動・キーボード操作の印・パンくず（v0.4） */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--brown-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange-700); outline-offset: 2px; }
#main:focus { outline: none; }
.breadcrumb { background: var(--cream-50); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--brown-600); }
.breadcrumb .wrap { padding-top: 8px; padding-bottom: 8px; }
.breadcrumb a { color: var(--brown-600); }
/* お問い合わせフォーム（Contact Form 7・v0.4）。高齢の方にも入力しやすい大きさ */
.wpcf7 form p { margin: 0 0 20px; }
.wpcf7 label { display: block; font-weight: 700; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
  display: block; width: 100%; max-width: 640px; margin-top: 6px; padding: 14px 16px; font: inherit; font-size: 18px;
  color: var(--brown-900); background: #fff; border: 2px solid var(--line); border-radius: 10px;
}
.wpcf7 textarea { min-height: 160px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--orange-500); }
.wpcf7 input[type="submit"] { min-height: 56px; padding: 0 40px; border: 0; border-radius: 999px; background: var(--orange-700); color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.wpcf7-list-item { display: inline-block; margin: 6px 16px 6px 0; }
.wpcf7-not-valid-tip { color: #b42318; font-size: 15px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border-radius: 10px; border-width: 2px; }
.wpcf7-spinner { vertical-align: middle; }
.searchform, .search-form { display: flex; gap: 8px; margin: 12px 0 24px; max-width: 640px; }
.search-form input[type="search"] { flex: 1; padding: 12px 14px; font: inherit; border: 2px solid var(--line); border-radius: 10px; }
.search-form input[type="submit"] { padding: 0 20px; border: 0; border-radius: 10px; background: var(--brown-900); color: #fff; font: inherit; font-weight: 700; }

/* 写真（旧サイトの写真・2026-11-03） */
.photo--img { padding: 0; background: none; overflow: hidden; min-height: 0; margin: 0; }
.photo--img img { display: block; width: 100%; height: 100%; min-height: 280px; max-height: 420px; object-fit: cover; }
.worry-photo { margin: -20px -14px 12px; aspect-ratio: 7 / 5; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.worry-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.photo-banner { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.photo-banner img { display: block; width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.photo-banner:hover img, .photo-banner:focus img { opacity: .9; }
.photo-pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.photo-pair { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.photo-pair figcaption { font-weight: 700; margin: 0 0 8px; }
.photo-pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-pair-img { position: relative; }
.photo-pair-img img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 6px; }
.photo-tag { position: absolute; left: 6px; top: 6px; background: rgba(60, 40, 20, .78); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.photo-tag--after { background: var(--orange-700); }
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.photo-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { display: block; width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.photo-card figcaption { padding: 10px 14px; font-weight: 700; }
.photo-row { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: end; margin-top: 28px; }
.photo-figure { margin: 0; text-align: center; }
.photo-figure img { height: auto; }
.photo-figure figcaption { font-size: 14px; color: var(--brown-600); margin-top: 6px; }
.photo-figure img { max-width: min(100%, 460px); }
.photo-figure--sm img { max-width: 220px; }
.photo-figure--center { margin: 16px auto 0; }
.card-photo { display: block; margin: -24px -24px 16px; }
.card-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
.cta--photo { position: relative; background-color: var(--brown-900); background-image: linear-gradient(rgba(40, 26, 14, .82), rgba(40, 26, 14, .82)), var(--cta-photo, none); background-size: cover; background-position: center; }
@media (max-width: 860px) {
  .photo-banners, .photo-cards { grid-template-columns: 1fr 1fr; }
  .photo-pairs, .photo-row { grid-template-columns: 1fr; }
  .photo--img img { min-height: 200px; max-height: 300px; }
}
@media (max-width: 480px) {
  .photo-banners, .photo-cards { grid-template-columns: 1fr; }
}
.page-band { margin: 16px 0 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.page-band img { display: block; width: 100%; height: 180px; object-fit: cover; }
@media (max-width: 860px) { .page-band img { height: 120px; } }

/* トップのスライド */
.hero-slider { position: relative; }
.hero-slides { position: relative; aspect-ratio: 6 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--orange-100); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; color: #fff; font-weight: 700; font-size: 15px; background: linear-gradient(transparent, rgba(40, 26, 14, .75)); }
.hero-slider-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; }
.hero-slider-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #d8c8b4; cursor: pointer; }
.hero-slider-dot.is-active { background: var(--orange-700); width: 22px; border-radius: 6px; }
.hero-slider-dot:focus-visible, .hero-slider-pause:focus-visible { outline: 2px solid var(--orange-700); outline-offset: 2px; }
.hero-slider-pause { margin-left: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 11px; padding: 2px 10px; cursor: pointer; color: var(--brown-600); }
.hero-slider-note { text-align: right; font-size: 12px; color: var(--brown-600); margin: 4px 0 0; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* v0.8.0 作り込み */
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-collage figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 7 / 5; background: var(--orange-100); }
.hero-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-collage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; color: #fff; font-size: 13px; font-weight: 700; background: linear-gradient(transparent, rgba(40, 26, 14, .7)); }
.card > .card-photo--cover { aspect-ratio: 16 / 9; overflow: hidden; }
.card > .card-photo--cover img { width: 100%; height: 100%; object-fit: cover; }
.photo-pairs--3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.photo-pair-more { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; }
.photo-pair-more:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand small { flex-basis: 100%; font-size: 12px; font-weight: 500; opacity: .8; }
@media (max-width: 860px) { .photo-pairs--3 { grid-template-columns: 1fr; } }
.hero-slider-dot { box-sizing: content-box; padding: 7px; background-clip: content-box; }
.hero-slider-dots { gap: 0; }
.hero-slider-pause { min-height: 28px; min-width: 40px; }


/* v0.9.0 アイコン（旧サイトのアイコン） */
.menu-item.has-icon { grid-template-columns: 44px 1fr minmax(180px, 34%); align-items: center; }
@media (max-width: 860px) { .menu-item.has-icon { grid-template-columns: 44px 1fr; } .menu-item.has-icon .menu-item-price { grid-column: 2; } }
.menu-icon { width: 44px; height: 44px; object-fit: contain; }
.worry-card .worry-icon { width: 56px; height: 56px; object-fit: contain; display: block; margin-bottom: 8px; }
.flow--icons li::before { display: none; }
.flow-icon { display: block; width: 88px; height: 88px; object-fit: contain; margin: 0 auto 8px; }
.flow-icon--sm { width: 56px; height: 56px; }
.compare th .row-icon { width: 24px; height: 24px; object-fit: contain; vertical-align: -6px; margin-right: 6px; }
.faq details > summary { position: relative; padding-left: 56px; }
.faq details > summary::before { content: ""; position: absolute; left: 14px; top: 50%; width: 30px; height: 30px; margin-top: -15px; background: url(../icons/faq_q.png) center / contain no-repeat; }
.faq details > p { position: relative; padding-left: 56px; min-height: 30px; }
.faq details > p::before { content: ""; position: absolute; left: 14px; top: 0; width: 30px; height: 30px; background: url(../icons/faq_a.png) center / contain no-repeat; }
.pagetop { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
.pagetop.is-shown { opacity: 1; visibility: visible; pointer-events: auto; }
.pagetop img { width: 56px; height: 56px; display: block; }
@media (max-width: 860px) { .pagetop { bottom: 84px; right: 12px; width: 48px; height: 48px; } .pagetop img { width: 48px; height: 48px; } .flow-icon { width: 72px; height: 72px; } .flow-icon--sm { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .pagetop { transition: none; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


/* v0.10.0 */
.site-header { transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 4px 14px rgba(60, 40, 20, .12); }
.js-reveal .section .card, .js-reveal .photo-pair, .js-reveal .photo-card, .js-reveal .photo-banner, .js-reveal .menu-group, .js-reveal .flow li, .js-reveal .plan { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .is-in { opacity: 1 !important; transform: none !important; }
.price-table-title { display: flex; align-items: center; gap: 10px; }
.price-cat-icon { width: 40px; height: 40px; object-fit: contain; }
.contact-icon { width: 56px; height: 56px; object-fit: contain; display: block; margin-bottom: 6px; }
.photo-pair--wide { max-width: 640px; margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }


/* v0.11.0 */
.about-card-icon { width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 auto 10px; }
.sitemap-cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sitemap-cards a { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--brown-900); font-weight: 700; box-shadow: var(--shadow); }
.sitemap-cards a:hover, .sitemap-cards a:focus { border-color: var(--orange-500); }
.sitemap-icon { width: 40px; height: 40px; object-fit: contain; flex: none; }
.sitemap-cards--small { max-width: 640px; margin: 24px auto; }
.notfound-icon { width: 96px; height: 96px; object-fit: contain; display: block; margin: 0 auto 12px; }


/* v0.12.0 */
.plan-icon { width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 auto 6px; }
.trust-badges { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.trust-badges li { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brown-900); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 6px; }
.trust-icon { width: 24px; height: 24px; object-fit: contain; }

/* v0.12.1 */
@media print { .js-reveal * { opacity: 1 !important; transform: none !important; transition: none !important; } .pagetop { display: none; } }

/* v0.13.0 WebP */
picture { display: contents; }

/* v0.14.0 スマホでは写真を先に・ラベルを1行に */
@media (max-width: 860px) {
  .hero .wrap > :last-child { order: -1; }
  .hero .hero-slider, .hero .hero-collage, .hero .photo--img { margin-bottom: 4px; }
  .hero .hero-slides { aspect-ratio: 16 / 10; }
  .hero .hero-slide figcaption { font-size: 13px; padding: 20px 12px 10px; }
}
@media (max-width: 480px) {
  .eyebrow { font-size: 12.5px; letter-spacing: 0; }
}


/* v0.15.0 */
.entry .learn { margin-top: 16px; }

/* v0.15.2 */
.learn { margin-top: 28px; }
.entry .learn { margin-top: 16px; }
.hero-media .hero-slider-note { margin-top: 6px; }


/* v0.16.0 */
.area-box { display: flex; gap: 20px; align-items: center; background: var(--orange-100); border-radius: var(--radius); padding: 24px 28px; }
.area-box h2 { margin: 4px 0 8px; font-size: clamp(22px, 3vw, 30px); }
.area-box p { margin: 0; }
.area-icon { width: 72px; height: 72px; object-fit: contain; flex: none; }
@media (max-width: 600px) { .area-box { flex-direction: column; text-align: center; padding: 20px 16px; } }
/* スマホの横に流れるメニューに「続きがある」ことを示す影 */
@media (max-width: 860px) {
  .global-nav { position: relative; }
  .global-nav::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; pointer-events: none; background: linear-gradient(to right, rgba(255,255,255,0), var(--white, #fff)); }
}

.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px; }
.jump-nav a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--brown-900); }
.jump-nav a:hover, .jump-nav a:focus { border-color: var(--orange-500); }
.jump-icon { width: 28px; height: 28px; object-fit: contain; }
[id^="price-"], [id^="faq-"] { scroll-margin-top: 90px; }


/* v0.18.0 アイコン付きのメニュー */
.icon-menu { list-style: none; margin: 0 auto; padding: 4px 16px; max-width: var(--maxw); display: flex; justify-content: space-between; gap: 2px; }
.icon-menu li { flex: 1 1 0; }
.icon-menu a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px 10px; text-decoration: none; color: var(--brown-900); font-weight: 700; font-size: 14px; border-bottom: 3px solid transparent; border-radius: 10px 10px 0 0; text-align: center; line-height: 1.3; }
.icon-menu a:hover, .icon-menu a:focus-visible { background: var(--orange-100); }
.icon-menu a[aria-current="page"] { border-bottom-color: var(--orange-500); }
.icon-menu .nav-main a { color: var(--orange-700); }
.nav-icon { width: 36px; height: 36px; object-fit: contain; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .js .global-nav { display: none; }
  .js .global-nav.is-open { display: block; box-shadow: 0 8px 16px rgba(60, 40, 20, .12); }
  .global-nav::after { display: none; }
  .icon-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 12px 14px; }
  .icon-menu a { border: 1px solid var(--line); border-radius: 12px; padding: 10px 2px; font-size: 12px; background: #fff; }
  .icon-menu a[aria-current="page"] { border-color: var(--orange-500); }
  .nav-icon { width: 32px; height: 32px; }
  .js .menu-toggle { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 11px; font-weight: 700; color: var(--brown-900); cursor: pointer; }
  .menu-toggle-bars { display: block; width: 22px; height: 14px; background: linear-gradient(var(--brown-900) 0 2px, transparent 2px 6px, var(--brown-900) 6px 8px, transparent 8px 12px, var(--brown-900) 12px 14px); }
  .menu-toggle[aria-expanded="true"] { border-color: var(--orange-500); }
}
@media (max-width: 380px) { .icon-menu { grid-template-columns: repeat(3, 1fr); } }
/* フッターのサービス */
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.footer-menu a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 0; }
.footer-menu a:hover span, .footer-menu a:focus span { text-decoration: underline; }
.footer-menu .nav-icon { width: 26px; height: 26px; background: #fff; border-radius: 6px; padding: 2px; }

/* v0.18.0 補正：古い .global-nav ul の指定より強くする */
.global-nav .icon-menu { flex-wrap: nowrap; overflow: visible; white-space: normal; }
.global-nav .icon-menu a { display: flex; padding: 8px 4px 10px; font-size: 14px; border-bottom: 3px solid transparent; white-space: normal; }
.global-nav .icon-menu a[aria-current="page"] { border-bottom-color: var(--orange-500); }
.menu-toggle { white-space: nowrap; }
@media (max-width: 860px) {
  .global-nav .icon-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 12px 14px; }
  .global-nav .icon-menu a { border: 1px solid var(--line); border-radius: 12px; padding: 10px 2px; font-size: 12px; background: #fff; }
  .global-nav .icon-menu a[aria-current="page"] { border-color: var(--orange-500); }
  .logo-text small { font-size: 10.5px; }
}
@media (max-width: 380px) { .global-nav .icon-menu { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 861px) and (max-width: 1100px) { .global-nav .icon-menu a { font-size: 12.5px; } .global-nav .nav-icon { width: 30px; height: 30px; } }


/* v0.19.0 */
@media (max-width: 480px) { .logo-sub { display: none; } .logo-text small { font-size: 11px; } }
.scroll-hint { display: none; font-size: 13px; color: var(--brown-600); text-align: center; margin: 8px 0 4px; }
@media (max-width: 860px) {
  .scroll-hint { display: block; }
  .table-wrap--sticky table th:first-child, .table-wrap--sticky table td:first-child { position: sticky; left: 0; z-index: 1; background: #fffaf3; box-shadow: 2px 0 4px rgba(60, 40, 20, .08); }
  .table-wrap--sticky table thead th:first-child { z-index: 2; }
  .table-wrap--sticky .compare th:first-child { min-width: 112px; max-width: 128px; }
}

/* v0.19.0 お問い合わせフォーム（本番のフォームの表の形に合わせる） */
.wpcf7 table { width: 100%; border-collapse: separate; border-spacing: 0; border-top: 1px solid var(--line); margin: 16px 0 24px; }
.wpcf7 th.form-input__hdg, .wpcf7 td.form-input__item { border-bottom: 1px solid var(--line); vertical-align: top; padding: 16px 14px; }
.wpcf7 th.form-input__hdg { width: 30%; text-align: left; background: #fffaf3; font-weight: 700; }
.wpcf7 th.form-input__hdg p, .wpcf7 td.form-input__item p { margin: 0; }
.wpcf7 td.form-input__item p + p { margin-top: 10px; }
.wpcf7 .c-must { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: #b42318; color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.wpcf7 .cap { display: block; font-size: 12px; font-weight: 500; color: var(--brown-600); }
.wpcf7 .item { display: block; margin-bottom: 10px; }
.wpcf7 .item__ttl { font-size: 13px; color: var(--brown-600); }
.wpcf7 .item br { display: none; }
@media (max-width: 600px) {
  .wpcf7 table, .wpcf7 tbody, .wpcf7 tr, .wpcf7 th.form-input__hdg, .wpcf7 td.form-input__item { display: block; width: 100%; }
  .wpcf7 th.form-input__hdg { padding: 12px 12px 8px; border-bottom: 0; }
  .wpcf7 td.form-input__item { padding: 8px 12px 16px; }
}

/* v0.19.1 メニューの開き方（CTO点検） */
@media (max-width: 860px) {
  .js .global-nav.is-open { position: fixed; left: 0; right: 0; z-index: 9; max-height: calc(100dvh - 160px); overflow-y: auto; border-bottom: 1px solid var(--line); }
  .js .menu-toggle { min-width: 64px; }
}
.global-nav .icon-menu { padding: 4px 16px; gap: 2px; }

/* v0.20.0 記事 */
.entry img { max-width: 100%; height: auto; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.post-nav a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--brown-900); font-weight: 700; }
.post-nav a span { display: block; font-size: 12px; font-weight: 500; color: var(--brown-600); margin-bottom: 4px; }
.post-nav-next { grid-column: 2; text-align: right; }
.post-nav a:hover, .post-nav a:focus { border-color: var(--orange-500); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav-next { grid-column: 1; } }


/* v0.21.0 検索結果の種類の札 */
.result-tag { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 999px; background: var(--orange-100); color: var(--brown-900); font-size: 12px; font-weight: 700; vertical-align: 1px; }

/* v0.22.0 速さ・見やすさ */
.area-box .eyebrow { color: #33661f; } /* 生成りのオレンジの上でも文字の濃さ 4.5 以上 */

/* v0.23.1 見出しの順番（見た目は前と同じ） */
h2.eyebrow { font-family: var(--font-body); line-height: 1.6; margin: 0 0 8px; }
h2.price-table-title { font-size: 21px; }

/* v0.24.0 画面には出さず、読み上げだけで伝える見出し */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* v0.26.0 空き家の4つの選択肢（2列×2段。スマホは1列） */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; scroll-margin-top: 120px; }
.choice { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto 1fr auto; column-gap: 16px; align-items: start; }
.choice .choice-icon { grid-row: 1 / span 3; width: 56px; height: 56px; object-fit: contain; margin: 0; }
.choice h3 { margin: 4px 0 6px; }
.choice p { margin: 0 0 10px; }
.choice a { font-weight: 700; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }

/* v0.27.0 丸ゴシックは太字（700）だけ読む。細めの小さい文字は本文のフォントで出す */
.logo-text small, .footer-brand small { font-family: var(--font-body); }
