/*
Theme Name: 買取大福
Theme URI: 
Author: メイト DX事業部
Author URI: 
Description: 金・プラチナ高価買取「買取大福」オリジナルテーマ。エンジ赤×ゴールド×クリーム白の上品なデザイン。50〜60代女性向け。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daifuku
*/

/* =========================================================
   金プラ買取 ｜ TOP デザインカンプ
   Theme: 上品な深い赤(エンジ) × ゴールド × クリーム白
   Target: 50〜60代女性 / 高級・上品・信頼
   ========================================================= */

:root {
  /* color（ロゴ #D01000 に寄せた明るい赤） */
  --red:       #C8201A;
  --red-dark:  #A0140F;
  --red-deep:  #7A120C; /* 濃い赤：明るくしすぎず、ロゴと同系の“濃い版”に */
  --gold:      #C8A24A;
  --gold-soft: #D8BC7C;
  --gold-dark: #A8842F;
  --cream:     #FAF6EE;
  --cream-2:   #F2EADC;
  --paper:     #FFFFFF;
  --ink:       #2A2422;
  --ink-2:     #6B625C;
  --line:      #E4DACA;
  --green:     #06C755; /* LINE */

  /* type */
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", "MS PMincho", serif;
  --sans:  "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* fixed CTA */
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- 共通見出し ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .32em;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.headline {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
  line-height: 1.4;
  margin: 14px 0 0;
}
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .headline { font-size: clamp(26px, 3.4vw, 38px); }
.section-head .eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-head .sub { color: var(--ink-2); margin: 16px 0 0; font-size: 16px; }

section { padding: 92px 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-paper  { background: var(--paper); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 17px 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: .25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(74,13,13,.18); }
.btn-primary:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--red-deep); }
.btn-gold:hover { background: var(--gold-dark); color:#fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: var(--green); color: #fff; }
.btn-lg { padding: 19px 44px; font-size: 17px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,246,238,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  height: 94px;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand .logo { height: 84px; width: auto; }
.brand .tag {
  font-size: 12px; letter-spacing: .14em; color: var(--ink-2);
  padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.4;
}
.brand .mark {
  font-family: var(--serif);
  font-size: 26px; font-weight: 700;
  color: var(--red);
  letter-spacing: .06em;
}
.brand .mark b { color: var(--gold-dark); font-weight: 700; }
/* フッター：濃赤背景でロゴが沈むため白チップに乗せる */
.brand--footer { display: inline-flex; }
.site-footer .brand--footer .logo {
  height: 120px; background: #fff; border-radius: 16px;
  padding: 8px 14px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.gnav { margin-left: auto; display: flex; gap: 30px; }
.gnav a {
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 6px 0; position: relative;
}
.gnav a::after {
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background: var(--gold); transition:.25s;
}
.gnav a:hover::after { width:100%; }

.header-tel { text-align: right; line-height: 1.2; }
.header-tel .lbl { font-size: 10px; letter-spacing: .2em; color: var(--ink-2); }
.header-tel .num {
  font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--red);
  letter-spacing: .02em;
}

/* ---- モバイルメニュー（768px以下で有効化） ---- */
.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* =========================================================
   ① MV
   ========================================================= */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.03);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(122,18,12,.93) 0%, rgba(168,22,16,.80) 42%, rgba(122,18,12,.30) 78%, rgba(122,18,12,.05) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__inner { max-width: 620px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.32;
  letter-spacing: .04em;
  margin: 20px 0 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero h1 .gold { color: var(--gold-soft); }
.hero p.lead {
  font-size: 18px; line-height: 1.9; margin: 22px 0 0;
  color: rgba(255,255,255,.92);
}
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* 安心バッジ帯 */
.assure {
  position: relative; z-index: 2;
  background: var(--red-deep);
  border-top: 1px solid rgba(200,162,74,.4);
}
.assure .wrap { display: flex; flex-wrap: wrap; }
.assure .item {
  flex: 1 1 0; min-width: 180px;
  padding: 22px 18px; text-align: center; color: #fff;
  border-left: 1px solid rgba(255,255,255,.12);
}
.assure .item:first-child { border-left: 0; }
.assure .item .k { font-family: var(--serif); font-size: 22px; color: var(--gold-soft); letter-spacing: .04em; }
.assure .item .v { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 2px; }

/* =========================================================
   ② 20%UP + 強み
   ========================================================= */
.up-banner {
  background:
    radial-gradient(120% 160% at 80% 0%, rgba(200,162,74,.18), transparent 60%),
    linear-gradient(180deg, var(--red), var(--red-dark));
  color: #fff;
  text-align: center;
  padding: 54px 28px;
  border-radius: 4px;
  border: 1px solid var(--gold-dark);
  position: relative;
}
.up-banner .ribbon {
  display:inline-block; font-size:13px; letter-spacing:.24em; color:var(--gold-soft);
  border:1px solid rgba(200,162,74,.5); border-radius:999px; padding:5px 18px; margin-bottom:18px;
}
.up-banner .big {
  font-family: var(--serif); font-weight: 700; letter-spacing: .03em;
  font-size: clamp(32px, 5vw, 52px); line-height: 1.25;
}
.up-banner .big em { color: var(--gold-soft); font-style: normal; font-size: 1.25em; }
.up-banner .note { margin: 12px 0 0; color: rgba(255,255,255,.85); font-size: 15px; }

.strengths {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 56px;
}
.s-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 30px; text-align: center;
  position: relative;
}
.s-card .ic {
  width: 58px; height: 58px; margin: 0 auto 20px;
  color: var(--red);
}
.s-card .no {
  font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: var(--gold-dark);
}
.s-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 6px 0 12px; }
.s-card p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.85; }

/* =========================================================
   ③ 相場
   ========================================================= */
.rate-wrap {
  max-width: 760px; margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: 0 18px 40px rgba(74,13,13,.06);
}
.rate-wrap .rh {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px;
  background: var(--red-deep); color:#fff; padding: 16px 28px;
}
.rate-wrap .rh .t { font-family: var(--serif); letter-spacing:.06em; font-size:18px; }
.rate-wrap .rh .upd { font-size: 12px; color: var(--gold-soft); letter-spacing:.06em; }
.rate-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px;
  padding: 26px 28px; border-bottom: 1px solid var(--line);
}
.rate-row:last-child { border-bottom: 0; }
.rate-row .metal { display:flex; align-items:baseline; gap:10px; }
.rate-row .metal .nm { font-family: var(--serif); font-size: 24px; font-weight:600; }
.rate-row .metal .krt { font-size: 13px; color: var(--ink-2); letter-spacing:.08em; }
.rate-row .price {
  font-family: var(--serif); font-size: clamp(30px,4vw,40px); font-weight: 700; color: var(--red);
  letter-spacing: .01em;
}
.rate-row .price small { font-size: 15px; color: var(--ink-2); font-family: var(--sans); margin-left: 4px; }
.rate-row .diff { font-size: 14px; font-weight: 700; white-space: nowrap; }
.rate-row .diff.up { color: var(--red); }
.rate-row .diff.up::before { content: "▲ "; }
.rate-row .diff.down { color: #2E5E8C; }
.rate-row .diff.down::before { content: "▼ "; }
.rate-note { text-align:center; color: var(--ink-2); font-size: 13px; margin: 18px 0 0; }
.dyn-tag {
  display:inline-block; font-size:11px; letter-spacing:.1em; color: var(--gold-dark);
  border:1px dashed var(--gold-dark); border-radius:3px; padding:2px 8px; margin-left:6px;
}

/* =========================================================
   ④ 買取実績
   ========================================================= */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.r-card { background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.r-card .ph { aspect-ratio: 4/3; overflow: hidden; }
.r-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.r-card:hover .ph img { transform: scale(1.06); }
.r-card .body { padding: 20px 22px; }
.r-card .cat { font-size: 12px; letter-spacing: .14em; color: var(--gold-dark); }
.r-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 4px 0 10px; }
.r-card .amt { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--red); }
.r-card .amt small { font-size: 13px; color: var(--ink-2); font-family: var(--sans); }

/* =========================================================
   安心バンド（対面相談・エディトリアル split）
   ========================================================= */
.assure-split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.assure-split .ph { position: relative; min-height: 420px; }
.assure-split .ph img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.assure-split .ph::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(74,13,13,.08));
}
.assure-split .tx { background: var(--red); color:#fff; padding: 64px 56px; display:flex; flex-direction:column; justify-content:center; }
.assure-split .tx .eyebrow { color: var(--gold-soft); }
.assure-split .tx .eyebrow::before { background: var(--gold-soft); }
.assure-split .tx h2 { font-family: var(--serif); font-weight:600; font-size: clamp(24px,3vw,32px); line-height:1.5; margin: 16px 0 18px; }
.assure-split .tx p { color: rgba(255,255,255,.9); font-size: 16px; margin: 0 0 26px; }
.assure-split .tx ul { list-style:none; margin:0 0 28px; padding:0; }
.assure-split .tx li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.assure-split .tx li::before {
  content:""; position:absolute; left:0; top:.55em; width:16px; height:8px;
  border-left:2px solid var(--gold-soft); border-bottom:2px solid var(--gold-soft);
  transform: rotate(-45deg);
}

/* =========================================================
   ⑤ サービス
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.sv-card {
  background: var(--paper); border: 1px solid var(--line); padding: 46px 44px;
  position: relative; overflow: hidden;
}
.sv-card::before {
  content:""; position:absolute; right:-40px; top:-40px; width:160px; height:160px;
  background: radial-gradient(circle, rgba(200,162,74,.12), transparent 70%);
}
.sv-card .ic { width: 56px; height: 56px; color: var(--red); margin-bottom: 22px; }
.sv-card .ja { font-family: var(--serif); font-size: 26px; font-weight:600; }
.sv-card .en { font-size: 12px; letter-spacing:.2em; color: var(--gold-dark); margin-top: 2px; }
.sv-card p { color: var(--ink-2); font-size: 15.5px; margin: 16px 0 24px; }
.sv-card .more {
  display:inline-flex; align-items:center; gap:8px; font-weight:700; color: var(--red);
  text-decoration:none; font-size:15px;
}
.sv-card .more::after { content:"→"; transition:.25s; }
.sv-card:hover .more::after { transform: translateX(5px); }

/* =========================================================
   ⑥ どんな状態でも
   ========================================================= */
.any-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.any-item {
  background: var(--paper); border: 1px solid var(--line);
  padding: 30px 26px; display: flex; gap: 18px; align-items: flex-start;
}
.any-item .ic { flex: none; width: 42px; height: 42px; color: var(--gold-dark); }
.any-item h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.any-item p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.7; }
.any-foot { text-align:center; margin-top: 44px; }

/* =========================================================
   ⑦ フォーム
   ========================================================= */
.contact { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.form-card {
  max-width: 780px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--gold);
  padding: 52px clamp(28px,5vw,60px);
  box-shadow: 0 24px 60px rgba(74,13,13,.08);
}
.form-card .lead { text-align:center; color: var(--ink-2); margin: 0 0 36px; }
.frow { margin-bottom: 22px; }
.frow label { display:block; font-weight:700; font-size:14px; margin-bottom: 8px; }
.frow label .req { color:#fff; background: var(--red); font-size:11px; padding:2px 8px; border-radius:3px; margin-left:8px; letter-spacing:.06em; }
.frow label .opt { color: var(--ink-2); font-size:11px; margin-left:8px; }
.frow input, .frow select, .frow textarea {
  width:100%; font-family: var(--sans); font-size:16px; color: var(--ink);
  background: var(--cream); border:1px solid var(--line); border-radius:3px;
  padding: 14px 16px;
}
.frow input:focus, .frow select:focus, .frow textarea:focus {
  outline:none; border-color: var(--gold-dark); background:#fff;
  box-shadow: 0 0 0 3px rgba(200,162,74,.15);
}
.frow textarea { min-height: 120px; resize: vertical; }
.f2 { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-card .submit { text-align:center; margin-top: 30px; }
.form-card .submit .btn { min-width: 320px; }
.form-card .privacy { text-align:center; font-size:13px; color: var(--ink-2); margin: 16px 0 0; }

/* =========================================================
   ⑧ フッター
   ========================================================= */
.site-footer { background: var(--red-deep); color: rgba(255,255,255,.86); padding: 70px 0 36px; }
.footer-top { display:grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer .brand .mark { color:#fff; }
.site-footer .brand .mark b { color: var(--gold-soft); }
.f-about { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.78); margin: 18px 0 0; }
.f-license { display:inline-block; margin-top:14px; font-size:12px; letter-spacing:.06em; border:1px solid rgba(200,162,74,.5); color:var(--gold-soft); padding:4px 12px; border-radius:3px; }
.site-footer h4 { font-family: var(--serif); font-size:16px; color:#fff; margin:0 0 16px; font-weight:600; }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration:none; font-size:14px; }
.site-footer a:hover { color: var(--gold-soft); }
.f-tel { font-family: var(--serif); font-size:24px; color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:48px; padding-top:24px; text-align:center; font-size:12px; color: rgba(255,255,255,.55); letter-spacing:.04em; }

/* =========================================================
   ⑨ 追従CTAバー
   ========================================================= */
.cta-bar {
  position: fixed; left:0; right:0; bottom:0; z-index: 70;
  background: rgba(42,36,34,.97); backdrop-filter: blur(6px);
  border-top: 2px solid var(--gold);
  display:flex; gap: 12px; padding: 12px clamp(14px,3vw,28px);
  justify-content: center;
}
.cta-bar a {
  flex:1; max-width: 300px; text-align:center; text-decoration:none;
  font-weight:700; font-size:15px; padding: 14px 10px; border-radius:3px;
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.cta-bar .c-line { background: var(--green); color:#fff; }
.cta-bar .c-form { background: var(--red); color:#fff; }
.cta-bar .c-tel  { background: transparent; color:#fff; border:1px solid var(--gold); }
.cta-bar .c-tel b { font-family: var(--serif); font-size:18px; }
.cta-ic { width:18px; height:18px; }

/* =========================================================
   レスポンシブ（崩れ防止の簡易対応）
   ========================================================= */
@media (max-width: 980px) {
  .strengths { grid-template-columns: 1fr; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .any-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .assure-split { grid-template-columns: 1fr; }
  .assure-split .ph { min-height: 280px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .gnav { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .results, .any-grid, .f2 { grid-template-columns: 1fr; }
  .header-tel { display:none; }
  .brand .tag { display:none; }
  .brand .logo { height: 66px; }
  .assure .item { flex-basis: 50%; }
  .cta-bar .c-tel { display:none; }
  .form-card .submit .btn { min-width: 0; width: 100%; }
}

/* =========================================================
   ▼▼▼ 子ページ用コンポーネント ▼▼▼
   ========================================================= */

/* ---- ページヘッダー帯（下層ページのMV代わり） ---- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  display: flex; align-items: center;
  min-height: 320px; padding: 64px 0;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(122,18,12,.95) 0%, rgba(168,22,16,.86) 50%, rgba(122,18,12,.62) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: .04em;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.4; margin: 16px 0 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.2);
}
.page-hero p.lead { font-size: 17px; color: rgba(255,255,255,.92); margin: 16px 0 0; max-width: 720px; }

/* ---- パンくず ---- */
.crumbs { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.crumbs .wrap { padding: 14px 0; font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 10px; color: var(--gold-dark); }

/* ---- 利用の流れ（ステップ） ---- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow .step {
  background: var(--paper); border: 1px solid var(--line);
  padding: 34px 24px 28px; text-align: center; position: relative;
}
.flow .step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -11px; z-index: 2;
  width: 14px; height: 14px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg); background: var(--cream);
}
.flow .step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--red);
  font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 16px;
}
.flow .step .n small { font-size: 9px; letter-spacing: .12em; }
.flow .step h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.flow .step p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.75; }

/* ---- 画像＋テキストの分割（明るい版・サービス紹介など） ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.split + .split { margin-top: 40px; }
.split .ph { position: relative; min-height: 380px; }
.split .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .tx { padding: 52px clamp(28px,4vw,52px); display: flex; flex-direction: column; justify-content: center; }
.split.alt { direction: rtl; }
.split.alt > * { direction: ltr; }
.split .tx .tag-en { font-size: 12px; letter-spacing: .2em; color: var(--gold-dark); }
.split .tx h3 { font-family: var(--serif); font-size: clamp(24px,3vw,30px); font-weight: 600; margin: 6px 0 18px; }
.split .tx p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 18px; }
.split .tx .mini { list-style: none; margin: 0 0 26px; padding: 0; }
.split .tx .mini li { padding-left: 28px; position: relative; margin-bottom: 10px; font-size: 15px; }
.split .tx .mini li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 7px;
  border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg);
}

/* ---- FAQ ---- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); padding: 26px 30px; }
.faq-item + .faq-item { margin-top: 14px; }
.faq-item .q, .faq-item .a { display: flex; gap: 16px; align-items: flex-start; }
.faq-item .q { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-item .a { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 15px; }
.faq-item .mk { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 15px; }
.faq-item .q .mk { background: var(--red); color: #fff; }
.faq-item .a .mk { background: var(--cream-2); color: var(--gold-dark); border: 1px solid var(--gold); }

/* ---- 会社概要テーブル ---- */
.biz-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.biz-table th, .biz-table td { text-align: left; padding: 20px 28px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.biz-table tr:last-child th, .biz-table tr:last-child td { border-bottom: 0; }
.biz-table th { width: 240px; background: var(--cream-2); font-family: var(--serif); font-weight: 600; color: var(--ink); }

/* ---- 地図 ---- */
.map-embed { border: 1px solid var(--gold); margin-top: 28px; line-height: 0; }
.map-embed iframe { width: 100%; height: 440px; border: 0; }

/* ---- 子ページ レスポンシブ ---- */
@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow .step:not(:last-child)::after { display: none; }
  .split, .split.alt { grid-template-columns: 1fr; direction: ltr; }
  .split .ph { min-height: 260px; }
}
@media (max-width: 600px) {
  .flow { grid-template-columns: 1fr; }
  .biz-table th { width: 130px; padding: 16px; }
  .biz-table td { padding: 16px; }
}

/* =========================================================
   ▼▼▼ スマートフォン（SP）整備 ▼▼▼
   ========================================================= */

/* ---- 768px以下：モバイルメニューに切替＋ヘッダー縮小 ---- */
@media (max-width: 768px) {
  .site-header .wrap { height: 64px; gap: 12px; }
  .brand .logo { height: 56px; }
  .brand .tag { display: none; }
  .gnav, .header-tel { display: none; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 46px; height: 46px; padding: 0;
    background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--red); margin: 0 auto; transition: .25s ease; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-nav {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 55;
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(0,0,0,.14);
    padding: 6px 20px 22px; max-height: calc(100vh - 64px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s ease;
  }
  body.nav-open .mobile-nav { display: block; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav a.m-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 17px 4px; border-bottom: 1px solid var(--line);
    text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 17px;
  }
  .mobile-nav a.m-link::after { content: "›"; color: var(--gold-dark); font-size: 18px; }
  .mobile-nav__cta { display: grid; gap: 10px; margin-top: 18px; }
  .mobile-nav__cta .btn { width: 100%; padding: 15px; font-size: 15px; }
}

/* ---- 600px以下：スマホ本格調整 ---- */
@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.85; padding-bottom: 76px; }
  .wrap { padding: 0 18px; }
  section { padding: 52px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head .headline { font-size: 25px; }
  .section-head .sub { font-size: 14px; }
  .btn { padding: 15px 24px; font-size: 15px; }
  .btn-lg { padding: 16px 28px; font-size: 16px; }

  /* MV */
  .hero { min-height: 480px; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(122,18,12,.86) 0%, rgba(122,18,12,.62) 55%, rgba(122,18,12,.78) 100%);
  }
  .hero__inner { max-width: 100%; }
  .hero h1 { font-size: 30px; line-height: 1.4; }
  .hero p.lead { font-size: 15.5px; }
  .hero__cta { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero__cta .btn { width: 100%; }

  /* 安心バッジ帯 */
  .assure .item { flex-basis: 50%; padding: 16px 10px; border-top: 1px solid rgba(255,255,255,.12); }
  .assure .item:nth-child(-n+2) { border-top: 0; }
  .assure .item:nth-child(odd) { border-left: 0; }
  .assure .item .k { font-size: 18px; }
  .assure .item .v { font-size: 12px; }

  /* 20%UP */
  .up-banner { padding: 38px 22px; }
  .strengths { margin-top: 36px; gap: 18px; }
  .s-card { padding: 32px 24px; }

  /* 相場：3カラム→縦スタック */
  .rate-wrap .rh { padding: 14px 18px; }
  .rate-wrap .rh .t { font-size: 15px; }
  .rate-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 18px; text-align: left; }
  .rate-row .price { font-size: 30px; }
  .rate-row .diff { justify-self: start; }

  /* 実績・サービス・状態別 */
  .results { gap: 16px; }
  .sv-card { padding: 34px 26px; }
  .any-item { padding: 24px 20px; }

  /* 安心split（TOP）・split */
  .assure-split .tx { padding: 44px 26px; }
  .split .tx { padding: 36px 24px; }
  .split + .split { margin-top: 28px; }

  /* フォーム */
  .form-card { padding: 36px 20px; }

  /* ページヘッダー帯 */
  .page-hero { min-height: 240px; padding: 48px 0; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p.lead { font-size: 15px; }

  /* 会社概要テーブル：th/td 縦積み */
  .biz-table, .biz-table tbody, .biz-table tr, .biz-table th, .biz-table td { display: block; width: 100%; }
  .biz-table tr { border-bottom: 1px solid var(--line); }
  .biz-table tr:last-child { border-bottom: 0; }
  .biz-table th { width: 100%; padding: 14px 16px 6px; border-bottom: 0; }
  .biz-table td { padding: 0 16px 16px; border-bottom: 0; }

  /* 地図 */
  .map-embed iframe { height: 300px; }

  /* FAQ */
  .faq-item { padding: 22px 20px; }
  .faq-item .q { font-size: 16px; }

  /* 追従CTAバー：3導線を維持してコンパクトに */
  .cta-bar { gap: 8px; padding: 10px 12px; }
  .cta-bar a { font-size: 13px; padding: 12px 6px; border-radius: 4px; }
  .cta-bar .c-tel { display: flex; }
  .cta-bar .c-tel b { display: none; }
  .cta-ic { width: 16px; height: 16px; }
}

/* ---- 400px以下：極小幅 ---- */
@media (max-width: 400px) {
  .section-head .headline { font-size: 22px; }
  .hero h1 { font-size: 26px; }
  .cta-bar a { font-size: 12px; }
  .up-banner .big { font-size: 28px; }
}

/* =========================================================
   WordPress 汎用テンプレート補助スタイル
   ========================================================= */
.page-hero--plain {
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  min-height: 220px;
  display: flex;
  align-items: center;
}
.page-hero--plain .wrap { position: relative; z-index: 2; }
.page-hero--plain h1 { color: #fff; }

.entry-content { font-size: 17px; line-height: 1.95; }
.entry-content h2 { font-family: var(--serif); color: var(--red-deep); margin-top: 1.6em; }
.entry-content h3 { font-family: var(--serif); color: var(--ink); margin-top: 1.4em; }
.entry-content a { color: var(--red); }
.entry-content img { max-width: 100%; height: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }

.post-summary { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-summary .headline a { color: var(--ink); text-decoration: none; }
.post-summary .headline a:hover { color: var(--red); }
.post-meta { color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }

.pager { margin-top: 32px; text-align: center; }
.pager .page-numbers {
  display: inline-block; padding: 8px 14px; margin: 0 4px;
  border: 1px solid var(--line); border-radius: 6px;
  color: var(--ink); text-decoration: none;
}
.pager .page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }

/* WordPress 標準クラス */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: var(--ink-2); text-align: center; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
}

/* =========================================================
   プライバシーポリシー等 法務ページ
   ========================================================= */
.legal { max-width: 880px; margin: 0 auto; }
.legal-lead { font-size: 17px; line-height: 1.95; margin-bottom: 8px; }
.legal-block { margin-top: 36px; }
.legal-title {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--red-deep);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin: 0 0 12px;
  line-height: 1.5;
}
.legal-block p { margin: 0 0 10px; }
.legal-block ul { padding-left: 1.4em; margin: 8px 0; }
.legal-block ul li { margin-bottom: 6px; }
.legal-block .biz-table { margin-top: 14px; }
.legal-date { margin-top: 40px; text-align: right; color: var(--ink-2); font-size: 15px; }

/* =========================================================
   Contact Form 7 調整
   ========================================================= */
/* CF7 は input 等を span.wpcf7-form-control-wrap で包むため幅100%を効かせる */
.form-card .wpcf7-form-control-wrap { display: block; }
.form-card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-list-item-label) { width: 100%; }
/* 送信ボタン */
.form-card .wpcf7 .submit,
.form-card form .submit { text-align: center; margin-top: 30px; }
.form-card .wpcf7-submit { min-width: 320px; }
/* バリデーションメッセージ */
.wpcf7-not-valid-tip { color: var(--red); font-size: 13px; margin-top: 6px; }
.wpcf7-form-control.wpcf7-not-valid { border-color: var(--red) !important; }
.wpcf7-response-output {
  margin: 24px 0 0 !important;
  border-radius: 6px;
  font-size: 15px;
}
/* CF7 未導入時の案内 */
.cf7-notice {
  text-align: center;
  color: var(--ink-2);
  background: var(--cream-2);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
}
@media (max-width: 600px) {
  .form-card .wpcf7-submit { min-width: 0; width: 100%; }
}
