/*
Theme Name: CLEAN UP（株式会社レベルコア）
Theme URI: https://itoshima-cleanup.com/
Author: 株式会社A.I.M
Description: 糸島のお掃除屋さん CLEAN UP（株式会社レベルコア）のホームページ用テーマ。試作サイトをもとに作成。設定は「外観 → カスタマイズ → CLEAN UP の設定」。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: cleanup
*/

/* CLEAN UP（株式会社レベルコア）新サイト 共通スタイル
   方針：今のサイト（WordPress「Lightning」）の見た目を引き継ぎ、使いやすさを上げる。
   ・見出しは明朝体、本文は Lato＋Noto Sans JP（今のサイトと同じ）
   ・ヘッダーはオレンジ、英字の小見出しは金色、写真の帯は暗めのかぶせ＋白い明朝、下端は斜めに切る
   ・料金表は点線でつなぐ形、よくある質問は金色の帯
   色・文字・余白はこの :root だけで決める（WordPressテーマに移すときもここを移すだけ）。 */
:root {
  --orange: #DD870F;      /* ヘッダー・メニュー・スマホ下部メニュー */
  --orange-dark: #C4760B;
  --orange-foot: #DD8C1D; /* フッターの帯 */
  --gold: #DD9933;        /* 英字の小見出し・よくある質問の帯・強調の面 */
  --gold-dark: #B97A1F;   /* 金色の上の小さな文字や枠線 */
  --gold-num: #F3A838;    /* 大きな番号 */
  --gold-line: #D8C7A3;   /* 見出しの細い飾り線 */
  --red: #CF2E2E;         /* 見出しの頭文字の強調・必須マーク */
  --ink: #333333;         /* 本文・見出し */
  --ink-strong: #222222;
  --muted: #666666;
  --muted-2: #888888;
  --bg: #FFFFFF;
  --grey: #F3F4F5;        /* 薄いグレーの面 */
  --cream: #FBF6EE;       /* 薄い金色の面 */
  --dark: #181818;        /* 新着情報の帯 */
  --border: #E5E5E5;
  --line-green: #00D084;  /* 今のサイトのLINEボタンの色 */
  --line-green-dark: #00B874;
  --pill-from: #73D2E6;   /* ロゴ横のラベル（水色→青） */
  --pill-to: #2B4FC4;
  --focus: #1D4E89;
  --gold-hover: #D18E2B;
  --cta-label: #F7D9A6;
  --card-line: #EFE3CF;
  --pill-ink: #8A4E00;
  --pill-bg: #FDE7C8;
  --solve: #A9560A;
  --tbd-bg: #FFF4C2;
  --tbd-line: #C9A227;
  --tbd-ink: #5A4500;

  --font-body: "Lato", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-logo: "Montserrat", "Arial Black", sans-serif;
  --font-logo-jp: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;

  --wrap: 1140px;
  --bar-h: 62px;
  --nav-h: 0px;
  --sec-pad: 64px;
  color-scheme: light;
}
@media (min-width: 992px) { :root { --nav-h: 58px; --sec-pad: 96px; } }

/* ===== 基本 ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 0;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }
/* 日本語の改行：文節の切れ目（<wbr>）でだけ改行する。iPhoneのSafariにも効く */
body { word-break: keep-all; overflow-wrap: anywhere; }
.news-body, .news-list p, .wpcf7 .consent-box, input, textarea, select { word-break: normal; line-break: strict; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: .2em; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; text-wrap: balance; word-break: auto-phrase; font-feature-settings: "palt" 1; }
p { margin: 0; }
.err:empty { display: none; }
/* 日本語を文節で改行する（「見比べ／られます」のような不自然な改行を防ぐ） */
.sec-title .lead, .price-list .name, .tile-text, .faq summary, .cta p, .facts dd, .btn, .icon-cards b, .case h3, .quick span, .lead-text { word-break: auto-phrase; }
/* 長すぎて文節の区切りで折り返せない語は、はみ出す代わりに途中で折り返す */
h1, h2, h3, h4, p, dd, dt, li, figcaption, summary, .btn, .tile-text, .price-list .name { overflow-wrap: anywhere; }
/* 最後の行が1〜2文字だけになる改行を避ける */
p, dd, li, figcaption, .lead, .lead-text { text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.icon { width: 1em; height: 1em; flex: none; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 860px; margin-inline: auto; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border: 2px solid var(--focus); }
.skip-link:focus { top: 8px; }

/* ===== 試作の表示（公開時は消す） ===== */
.proto-bar { background: #2B2B2B; color: #fff; font-size: 12.5px; line-height: 1.6; }
.proto-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding-block: 7px; text-align: center; }
.proto-bar b { color: #FFE38A; font-weight: 700; }
.proto-bar button { appearance: none; border: 1px solid rgba(255,255,255,.6); background: transparent; color: #fff; font: 700 12px/1 var(--font-body); padding: 6px 10px; cursor: pointer; border-radius: 2px; }
.proto-bar button:hover { background: rgba(255,255,255,.12); }
.proto-bar .pm-short { display: none; }
@media (max-width: 599px) {
  .proto-bar .wrap { flex-wrap: wrap; justify-content: space-between; gap: 6px 8px; padding-block: 6px; text-align: left; }
  .proto-bar #proto-msg { flex: 1 0 100%; }
  .proto-bar .pm-long { display: none; }
  .proto-bar .pm-short { display: inline; white-space: nowrap; }
  .proto-bar button { flex: none; padding: 6px 9px; }
}

/* 未定の印：公開前にこのクラスが0件になっていることを確認する */
.tbd {
  display: inline-block;
  background: var(--tbd-bg);
  color: var(--tbd-ink);
  border: 1px dashed var(--tbd-line);
  border-radius: 3px;
  padding: 0 .45em;
  font: 700 .8em/1.65 var(--font-body);
  letter-spacing: 0;
  text-shadow: none;
  vertical-align: baseline;
}
.tbd::before { content: "未定｜"; color: #9A7400; }
.tbd-line { font-size: 14px; }
.proto-hide .tbd, .proto-hide .tbd-line, .proto-hide .tbd-block { display: none !important; }

/* ===== 写真（写真が届くまでは枠だけ表示） ===== */
.photo {
  position: relative; display: block;
  aspect-ratio: 4 / 3; max-width: 100%;
  overflow: hidden;
  background-color: #8F8A83;
  background-image: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.10));
}
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.ph-label {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); color: #555;
  font: 400 11px/1.6 var(--font-body); letter-spacing: .02em;
  padding: 2px 9px 2px 7px; border-radius: 2px;
}
.ph-label .icon { width: 13px; height: 13px; color: var(--gold-dark); }
.tilt .ph-label { top: 10px; bottom: auto; }
.photo.bg { position: absolute; inset: 0; aspect-ratio: auto; }

/* ===== ヘッダー（今のサイトと同じオレンジ） ===== */
.site-header { background: var(--orange); color: #fff; position: relative; z-index: 40; }
.header-top { display: flex; align-items: center; gap: 8px; min-height: 92px; padding-block: 8px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; min-width: 0; }
.logo:hover { color: #fff; }
.logo-mark { display: grid; justify-items: center; line-height: 1; flex: none; }
.logo-mark > span { white-space: nowrap; }
.logo-mark .l1 { font: 800 clamp(15px, 4.6vw, 21px)/1.1 var(--font-logo-jp); letter-spacing: .02em; }
.logo-mark .l2 { font: 800 clamp(10px, 3vw, 13px)/1.3 var(--font-logo-jp); letter-spacing: .08em; }
.logo-mark .l3 { font: 900 clamp(22px, 6.8vw, 38px)/1 var(--font-logo); letter-spacing: -.01em; border-bottom: 3px solid #fff; padding-bottom: 2px; }
.logo-mark .l3 b { font-size: 1.22em; font-weight: 900; }
.logo-pills { display: grid; gap: 3px; min-width: 0; }
.logo-pills span {
  display: block; text-align: center; white-space: nowrap; overflow: hidden;
  background: linear-gradient(90deg, var(--pill-from), var(--pill-to));
  color: #fff; font: 700 clamp(8.5px, 2.3vw, 11px)/1.75 var(--font-body); letter-spacing: 0;
  padding: 0 .9em; border-radius: 4px;
}
@media (max-width: 359px) { .logo-pills { display: none; } }

.header-catch { display: none; color: #fff; line-height: 1.4; }
.header-catch small { display: block; font-size: 12px; }
.header-catch b { display: block; font: 700 22px/1.35 var(--font-body); letter-spacing: .03em; }
.header-catch span { display: block; font-size: 12px; }
.header-actions { display: none; margin-left: auto; align-items: center; gap: 10px; }
.header-tel { color: #fff; text-decoration: none; text-align: right; line-height: 1.25; }
.header-tel:hover { color: #fff; }
.header-tel b { display: flex; align-items: center; gap: 6px; font: 700 22px/1.2 var(--font-body); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.header-tel b .icon { width: 18px; height: 18px; }
.header-tel small { font-size: 11px; }
.header-contact { white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.8); border-radius: 2px; padding: 10px 18px; font-size: 14px; font-weight: 700;
}
.header-contact:hover { background: rgba(255,255,255,.14); color: #fff; }

.menu-btn {
  margin-left: auto; flex: none;
  appearance: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255,255,255,.85); background: rgba(0,0,0,.10); color: #fff;
  border-radius: 2px; cursor: pointer; display: grid; place-items: center;
}
.menu-btn .icon { width: 24px; height: 24px; }

/* パソコンのメニュー（スクロールしても上に残る） */
.global-nav { display: none; position: sticky; top: 0; z-index: 45; background: var(--orange); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.global-nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; max-width: 1240px; }
.global-nav li { border-left: 1px solid rgba(255,255,255,.28); flex: 0 1 auto; }
.global-nav li:last-child { border-right: 1px solid rgba(255,255,255,.28); }
.global-nav a { display: grid; justify-items: center; align-content: center; min-height: var(--nav-h); padding: 6px clamp(8px, .9vw, 14px); color: #fff; text-decoration: none; line-height: 1.35; }
.global-nav a:hover, .global-nav a[aria-current="page"] { background: rgba(0,0,0,.10); color: #fff; }
.global-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #fff; }
.global-nav .jp { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.global-nav .jp .icon { width: 15px; height: 15px; }
.global-nav .en { font-size: 10px; letter-spacing: .06em; opacity: .95; }
@media (min-width: 992px) and (max-width: 1199px) {
  .global-nav .jp { font-size: 13px; }
  .global-nav .jp .icon { display: none; }
  .global-nav .tel .en { display: none; }
}

@media (min-width: 992px) {
  .header-top { min-height: 100px; gap: 28px; }
  .header-catch { display: block; }
  .header-actions { display: flex; }
  .menu-btn { display: none; }
  .global-nav { display: block; }
  .logo-mark .l3 { font-size: 40px; }
}

/* スマホのメニュー（右から出る） */
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .28s ease-out;
  padding: 0 20px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-block: 14px 10px; border-bottom: 2px solid var(--orange); position: sticky; top: 0; background: #fff; z-index: 1; }
.drawer-head p { font: 700 13px/1 var(--font-body); color: var(--orange-dark); letter-spacing: .14em; }
.drawer-close { appearance: none; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.drawer-close .icon { width: 22px; height: 22px; }
.drawer .nav-list { margin-top: 6px; }
.drawer-contact { margin-top: 20px; display: grid; gap: 10px; }
.drawer-contact p { font-size: 13px; color: var(--muted); text-align: center; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { display: flex; align-items: center; gap: 10px; padding: 13px 2px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); font-size: 15px; }
.nav-list a .icon { color: var(--gold-dark); width: 17px; height: 17px; }
.nav-list a[aria-current="page"] { color: var(--orange-dark); font-weight: 700; }
.nav-list .sub a { padding-left: 29px; font-size: 14px; color: var(--muted); }
.nav-list .sub a::before { content: "−"; color: var(--gold); margin-right: 2px; }

/* ===== 見出し（中央の明朝＋金色の英字） ===== */
.sec { padding-block: var(--sec-pad); }
.sec.grey { background: var(--grey); }
.sec.tight-top { padding-top: 24px; }
.sec.flush-top { padding-top: 0; }
.sec-title { text-align: center; margin-bottom: 40px; display: grid; gap: 6px; }
.sec-title h2 { font: 700 clamp(26px, 6vw, 38px)/1.45 var(--font-serif); color: var(--ink); letter-spacing: .05em; }
.sec-title .en { font: 400 14px/1.4 var(--font-body); color: var(--gold); letter-spacing: .18em; }
.sec-title .lead { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 40em; margin-inline: auto; }
.sec-title.small h2 { font-size: clamp(22px, 5vw, 28px); }
.accent-red { color: var(--red); }

/* ===== 写真の帯（暗めのかぶせ＋白い明朝）と斜めの区切り ===== */
.photo-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); z-index: 1; }
.photo-band .inner { position: relative; z-index: 2; }
.tilt { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%); }
@media (min-width: 992px) { .tilt { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 90px), 0 100%); } }

/* ===== ボタン（今のサイトと同じ角ばった形） ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: 10px 24px; border-radius: 2px;
  font: 700 16px/1.35 var(--font-body); letter-spacing: .04em; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn small { display: block; font-size: 12px; font-weight: 400; letter-spacing: .02em; }
.btn .stack { display: grid; text-align: left; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: var(--line-green-dark); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border-color: #CCCCCC; }
.btn-white:hover { border-color: var(--gold); color: var(--ink); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-more { background: #fff; color: var(--ink); border: 1px solid var(--ink); min-height: 50px; padding-inline: 44px; font-weight: 400; }
.btn-more::after { content: "›"; font-size: 1.2em; line-height: 1; margin-left: .2em; }
.btn-more:hover { background: var(--ink); color: #fff; }
.btn-row { margin-top: 36px; text-align: center; }
@media (max-width: 479px) {
  /* 小さい画面ではボタンの文字が2行に割れないよう、左右の余白を詰める */
  .btn { padding-inline: 16px; letter-spacing: .02em; }
  .btn-more { padding-inline: 26px; }
}

/* ===== 料金表（今のサイトと同じ「点線でつなぐ」形） ===== */
.price-wrap { max-width: 760px; margin-inline: auto; }
.tax-note { text-align: center; font-size: 14px; color: var(--muted); margin: -16px 0 24px; }
.price-cat { font: 500 18px/1.5 var(--font-body); color: var(--ink-strong); text-align: center; letter-spacing: .06em; border-bottom: 1px solid rgba(0,0,0,.12); padding-block: 26px 8px; margin-bottom: 18px; position: relative; }
.price-cat::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 35%; border-bottom: 1px solid var(--gold-line); }
.price-cat:first-of-type { padding-top: 4px; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.price-list li { display: flex; align-items: center; gap: 10px; }
.price-list .name { flex: 0 1 auto; min-width: 0; }
.price-list .name small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.price-list .dots { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dashed #B5B5B5; }
.price-list .val { flex: none; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-more { text-align: right; font-size: 14px; margin-top: 12px; }
.price-more a { color: var(--ink); }
.price-note { font-size: 14px; color: var(--ink); margin-top: 22px; display: grid; gap: 6px; }
.tax { font-size: .72em; font-weight: 400; margin-left: .25em; letter-spacing: 0; }

/* ===== よくある質問（金色の帯を開くと答え） ===== */
.faq-box { background: var(--grey); padding: 32px 20px; }
@media (min-width: 720px) { .faq-box { padding: 40px 48px; } }
.faq-head { font: 500 clamp(22px, 5vw, 28px)/1.5 var(--font-serif); color: var(--ink-strong); letter-spacing: .05em; border-top: 1px solid var(--gold-line); border-bottom: 1px solid rgba(0,0,0,.06); padding-block: 14px; margin-bottom: 8px; }
.faq-cat { font: 500 clamp(17px, 4.4vw, 21px)/1.5 var(--font-body); color: var(--ink-strong); text-align: center; letter-spacing: .05em; border-bottom: 1px solid rgba(0,0,0,.12); padding-block: 18px 10px; margin: 8px 0 14px; position: relative; }
.faq-cat::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 35%; border-bottom: 1px solid var(--gold-line); }
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; background: var(--gold); color: #fff;
  font-size: 15px; font-weight: 700; padding: 13px 44px 13px 16px; position: relative;
  text-shadow: 0 1px 1px rgba(0,0,0,.28); line-height: 1.6;
}
.faq summary:hover { background: var(--gold-hover); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; margin-right: .7em; font-family: var(--font-serif); }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .a { padding: 16px 18px 18px; font-size: 15px; display: grid; gap: .6em; }
.faq-more { margin-top: 24px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.faq-more p { font-size: 14px; color: var(--muted); }

/* ===== ビフォーアフター（つまみを動かして比べる） ===== */
.ba-list { display: grid; gap: 20px; }
@media (min-width: 900px) { .ba-list { grid-template-columns: 1fr 1fr; gap: 28px; } }
.ba { display: grid; gap: 12px; margin: 0; background: #fff; border: 1px solid var(--border); padding: 16px; }
.ba-frame { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; }
.ba-frame .photo { position: absolute; inset: 0; aspect-ratio: auto; }
.ba-frame .after { clip-path: inset(0 0 0 var(--pos, 50%)); background-color: #B3AEA6; }
.ba-frame .before { background-color: #6F675D; }
.ba-frame .after .ph-label { left: auto; right: 10px; }
.ba-frame .ph-label { bottom: 10px; }
.ba-tag { position: absolute; top: 10px; padding: 1px 10px; font: 700 12px/1.7 var(--font-body); letter-spacing: .12em; z-index: 4; }
.ba-tag.b { left: 10px; background: rgba(34,34,34,.85); color: #fff; }
.ba-tag.a { right: 10px; background: var(--gold); color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); z-index: 4; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B97A1F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.ba input[type=range] { width: 100%; accent-color: var(--gold-dark); margin: 0; }
.ba figcaption { font-size: 14px; display: grid; gap: 2px; }
.ba figcaption b { font-size: 15px; }
.ba-hint { font-size: 13px; color: var(--muted); text-align: center; }

/* ===== お問い合わせの帯 ===== */
.cta { text-align: center; }
.cta .inner { padding-block: 60px 68px; display: grid; gap: 18px; justify-items: center; }
.cta .en-label { font: 400 13px/1 var(--font-body); letter-spacing: .2em; color: var(--cta-label); }
.cta h2 { font: 700 clamp(22px, 5vw, 30px)/1.5 var(--font-serif); letter-spacing: .05em; }
.cta p { font-size: 15px; }
.cta-actions { display: grid; gap: 12px; width: 100%; max-width: 660px; }
@media (min-width: 720px) { .cta-actions { grid-template-columns: 1fr 1fr; } }
.cta-actions .btn { min-height: 64px; }
.cta .tel-alt { font-size: 14px; line-height: 1.8; }
.cta .tel-alt a { color: #fff; }

/* ===== フッター（オレンジの帯＋メニュー） ===== */
.foot-band { background: var(--orange-foot); color: #fff; }
.foot-band .wrap { display: grid; gap: 28px; padding-block: 52px; align-items: center; }
.foot-company { text-align: center; display: grid; gap: 12px; justify-items: center; }
.foot-company .name { font: 400 clamp(24px, 5.5vw, 32px)/1.4 var(--font-body); letter-spacing: .08em; }
.foot-company p { font-size: 15px; line-height: 1.8; }
.foot-company a { color: #fff; }
.foot-company .btns { display: grid; gap: 10px; width: 100%; max-width: 360px; margin-top: 4px; }
@media (min-width: 992px) { .foot-band .wrap { grid-template-columns: 1fr 1fr; gap: 48px; } }
.access-card { background: #fff; color: var(--ink); padding: 26px 24px; display: grid; gap: 12px; justify-items: start; }
.access-card .ttl { display: flex; align-items: center; gap: 8px; font: 700 18px/1.4 var(--font-serif); }
.access-card .ttl .icon { width: 20px; height: 20px; color: var(--gold-dark); }
.access-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; }
.access-card dt { color: var(--muted); }
.access-card dd { margin: 0; }
.access-card .note { font-size: 12.5px; color: var(--muted); }
.foot-nav { padding-block: 28px 12px; }
@media (min-width: 992px) {
  .foot-nav .nav-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; }
  .foot-nav .nav-list a { border-bottom: 0; padding: 6px 0; font-size: 14px; }
}
.copyright { text-align: center; font-size: 12px; color: var(--muted); padding-block: 18px; border-top: 1px solid var(--border); letter-spacing: .04em; }

/* ===== スマホ下部の固定メニュー（今のサイトと同じオレンジ） ===== */
.fixbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--orange); box-shadow: 0 -2px 8px rgba(0,0,0,.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.fixbar a { min-height: var(--bar-h); display: grid; place-items: center; align-content: center; gap: 3px; color: #fff; text-decoration: none; font-size: 11.5px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.fixbar a + a { border-left: 1px solid rgba(255,255,255,.22); }
.fixbar a:active { background: rgba(0,0,0,.12); }
.fixbar a .icon { width: 23px; height: 23px; }
@media (min-width: 992px) { .fixbar { display: none; } }

/* ページ上部へ戻る（下にスクロールしたら出る） */
.to-top {
  position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); z-index: 45;
  bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom, 0px));
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(30,30,30,.85); color: #fff; border: 1px solid rgba(255,255,255,.6); text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; background: #111; }
@media (min-width: 992px) { .to-top { bottom: 20px; } }

/* パソコン用：右の黒い縦帯と左下の「はじめての方へ」 */
.side-sns, .first-guide { display: none; }
@media (min-width: 1200px) {
  .side-sns {
    position: fixed; right: 0; top: 34%; z-index: 44;
    background: rgba(0,0,0,.82); width: 56px; padding: 18px 0;
    display: grid; justify-items: center; gap: 14px;
  }
  .side-sns p { writing-mode: vertical-rl; color: #fff; font: 700 12px/1 var(--font-body); letter-spacing: .22em; }
  .side-sns a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
  .side-sns a .icon { width: 19px; height: 19px; }
  .side-sns .s-line { background: var(--line-green); }
  .side-sns .s-insta { background: #C13584; }
  .side-sns .s-mail { background: #fff; color: #222; }
  .side-sns .s-tel { background: #3A7BD5; }
  .first-guide { position: fixed; left: 14px; bottom: 14px; z-index: 44; display: grid; justify-items: start; gap: 8px; text-decoration: none; }
  .first-guide .bubble { background: #fff; color: #111; border: 2px solid #111; border-radius: 6px; font: 700 13px/1.5 var(--font-body); padding: 7px 12px; text-align: center; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
  .first-guide .bubble::after { content: ""; position: absolute; left: 22px; bottom: -9px; border: 8px solid transparent; border-top-color: #111; border-bottom: 0; }
  .first-guide:hover .bubble { background: var(--cream); }
  .first-guide { transition: opacity .25s, visibility .25s, transform .25s; }
  .first-guide.is-away { opacity: 0; visibility: hidden; transform: translateY(12px); }
  .first-guide .photo { width: 120px; aspect-ratio: 3 / 4; }
}

/* ===== トップページ ===== */
.hero { min-height: 470px; display: grid; }
.hero .photo.bg { background-color: #6F7B76; }
.hero::after { background: linear-gradient(90deg, rgba(0,0,0,.30), rgba(0,0,0,.48)); }
.hero-inner { display: flex; align-items: center; justify-content: center; padding-block: 44px; width: 100%; justify-self: stretch; }
.hero-v {
  writing-mode: vertical-rl; color: #fff;
  font: 700 clamp(22px, 6.4vw, 40px)/1.62 var(--font-serif); letter-spacing: .08em;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  text-wrap: nowrap; word-break: normal;
}
.hero-v span { display: block; white-space: nowrap; }
@media (min-width: 992px) {
  .hero { min-height: 640px; }
  /* パソコンでは人物にかからない左側に文字を置き、左側だけ暗くして読みやすくする */
  .hero-inner { justify-content: flex-start; padding-left: 4%; }
  .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.22) 55%, rgba(0,0,0,.18)); }
}

/* 知りたいことに1タップで進む */
.quick { background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 6px 16px rgba(0,0,0,.04); position: relative; z-index: 3; }
.quick ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; }
.quick li + li { border-left: 1px solid var(--border); }
.quick a { display: grid; justify-items: center; gap: 2px; padding: 16px 4px 14px; text-decoration: none; color: var(--ink); text-align: center; height: 100%; transition: background-color .2s; }
.quick a:hover { background: var(--cream); color: var(--ink); }
.quick .icon { width: 26px; height: 26px; color: var(--gold-dark); margin-bottom: 2px; }
.quick b { font: 700 15px/1.4 var(--font-body); }
.quick span { font-size: 12px; color: var(--muted); }
@media (min-width: 992px) { .quick a { padding-block: 22px 18px; } .quick b { font-size: 18px; } .quick span { font-size: 13px; } }

/* 新着情報の黒い帯 */
.news-bar { background: var(--dark); color: #fff; }
.news-bar .wrap { display: grid; gap: 12px; padding-block: 22px; }
.news-bar h2 { font: 700 17px/1.4 var(--font-body); letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 8px; }
.news-bar ul { list-style: none; margin: 0; padding: 0; }
.news-bar li { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; align-items: center; }
.news-bar time { color: #BDBDBD; font-variant-numeric: tabular-nums; }
.news-bar li a { color: #fff; }
.news-more { justify-self: start; background: #fff; color: #212529; text-decoration: none; font-size: 14px; padding: 9px 26px; }
.news-more:hover { background: var(--cream); color: #212529; }
@media (min-width: 992px) {
  .news-bar .wrap { grid-template-columns: 120px 1fr auto; align-items: center; padding-block: 28px; }
  .news-bar h2 { border-bottom: 0; padding-bottom: 0; }
}

/* 会社の想い（写真の帯＋白い明朝＋斜めの区切り） */
.message .photo.bg { background-color: #5E5A55; }
.message .inner { padding-block: 64px calc(60px + 7vw); display: grid; gap: 20px; max-width: 960px; }
.message h2 { font: 700 clamp(18px, 4.9vw, 38px)/1.6 var(--font-serif); letter-spacing: .04em; }
.message p { font-size: 15px; line-height: 2.05; }
@media (min-width: 992px) { .message .inner { padding-block: 110px 176px; } .message p { font-size: 16px; } }

/* 事業内容の写真タイル */
.tiles { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: grid; place-items: center; min-height: 240px; text-decoration: none; color: #fff; overflow: hidden; text-align: center; isolation: isolate; }
.tile:hover { color: #fff; }
.tile > .photo { position: absolute; inset: 0; aspect-ratio: auto; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(30,30,30,.42); z-index: 1; transition: background-color .3s; }
.tile:hover > .photo { transform: scale(1.05); }
.tile:hover::after { background: rgba(30,30,30,.55); }
.tile .ph-label { z-index: 3; }
.tile-body { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: center; padding: 30px 18px; }
.tile-title { font: 400 clamp(22px, 5.6vw, 28px)/1.45 var(--font-body); letter-spacing: .08em; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.tile-text { font-size: 13px; line-height: 1.85; max-width: 26em; text-wrap: balance; }
.tile-price { font-weight: 700; font-size: 15px; border-top: 1px solid rgba(255,255,255,.7); padding-top: 7px; font-variant-numeric: tabular-nums; }
.tile-more { font-size: 13px; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 4px; }
.tile-more::after { content: "›"; font-size: 1.3em; line-height: 1; }
.tiles.small { grid-template-columns: 1fr 1fr; }
.tiles.small .tile { min-height: 132px; }
.tiles.small .tile-title { font-size: 16px; letter-spacing: .04em; }
.tiles.small .tile-body { padding: 16px 8px; }
.tiles.small .ph-label { display: none; }
@media (min-width: 992px) { .tiles.small { grid-template-columns: repeat(5, 1fr); } .tiles.small .tile { min-height: 150px; } }

/* 施工事例 */
.cases { display: grid; gap: 16px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.case { background: #fff; border: 1px solid var(--border); padding: 16px; display: grid; gap: 8px; align-content: start; }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.case-pair > div { position: relative; }
.case-pair .photo { aspect-ratio: 1; }
.case-pair .ph-label { display: none; }
.case-pair .b .photo { background-color: #6F675D; }
.case-pair .a .photo { background-color: #B3AEA6; }
.case-pair .ba-tag { top: 8px; font-size: 11px; padding: 0 8px; }
.case-pair .ba-tag.b { left: 8px; }
.case-pair .ba-tag.a { left: 8px; right: auto; }
.case-tag { font-size: 12px; color: var(--gold-dark); letter-spacing: .08em; font-weight: 700; margin-top: 4px; }
.case h3 { font: 700 17px/1.5 var(--font-body); }
.case p { font-size: 14px; }

/* 金色の面＋白いカード（法人のお客様へ・選ばれる理由） */
.biz { background: var(--gold); padding-block: 60px; }
.biz-card { background: #fff; max-width: 880px; margin-inline: auto; padding: 24px 20px 28px; display: grid; gap: 16px; }
.biz-label { background: var(--gold); color: #fff; text-align: center; font: 700 15px/1 var(--font-body); padding: 18px; letter-spacing: .1em; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.biz-card h2 { font: 700 clamp(19px, 4.6vw, 24px)/1.55 var(--font-body); text-align: center; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 1.7em; word-break: auto-phrase; }
.check-list li::before { content: ""; position: absolute; left: .2em; top: .55em; width: .55em; height: .9em; border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(40deg); }
@media (min-width: 992px) { .biz { padding-block: 88px; } .biz-card { padding: 40px 52px; } }
.biz .sec-title h2, .biz .sec-title .en { color: #fff; }
.biz .sec-title h2 { text-shadow: 0 1px 2px rgba(0,0,0,.18); }

/* 対応エリア */
.area-list { list-style: none; margin: 0 auto; padding: 0; max-width: 640px; border-top: 1px solid var(--border); }
.area-list li { text-align: center; font-size: 18px; padding: 13px 0; border-bottom: 1px solid var(--border); letter-spacing: .06em; }
.area-note { text-align: center; margin: 12px auto 0; font-size: 14px; max-width: 640px; line-height: 1.7; }

/* お問い合わせの帯 */
.cta .photo.bg { background-color: #5F5A54; }

/* ===== 下層ページ ===== */
.page-hero { min-height: 230px; display: grid; }
.page-hero .photo.bg { background-color: #6A6560; }
.page-hero .inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding-block: 40px calc(40px + 7vw); text-align: center; }
.page-hero h1 { font: 700 clamp(28px, 7.4vw, 44px)/1.4 var(--font-serif); letter-spacing: .08em; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.page-hero .en { font: 400 13px/1 var(--font-body); letter-spacing: .24em; opacity: .95; }
@media (min-width: 992px) { .page-hero { min-height: 340px; } }
.crumbs { font-size: 12px; color: var(--muted-2); padding-block: 12px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs a { color: var(--muted-2); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }

.intro { max-width: 860px; margin-inline: auto; display: grid; gap: 22px; }
.intro h2 { font: 700 clamp(20px, 5vw, 26px)/1.6 var(--font-body); letter-spacing: .03em; }
.intro h3 { font: 700 18px/1.5 var(--font-body); padding-left: 12px; border-left: 4px solid var(--gold); }
.lead-text { font-size: 16px; line-height: 2; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.facts > div { border: 1px solid var(--border); padding: 14px 6px 12px; text-align: center; display: grid; gap: 4px; align-content: start; background: #fff; }
.facts dt { font-size: 11.5px; color: var(--gold-dark); letter-spacing: .08em; font-weight: 700; }
.facts dd { min-width: 0; margin: 0; font-weight: 700; font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) {
  .facts { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
  .facts > div { grid-template-columns: 7.2em minmax(0, 1fr); align-items: center; text-align: left; gap: 10px; padding: 11px 14px; border-width: 0 1px 1px; }
  .facts dd br { display: none; }
}
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #CCCCCC; padding: 7px 14px; text-decoration: none; font-size: 14px; color: var(--ink); background: #fff; }
.jump a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); margin-left: 4px; }
.jump a:hover { border-color: var(--gold); color: var(--gold-dark); }
.jump.center { justify-content: center; }
.steps { margin: 0; display: grid; gap: 14px; }
.steps > div { display: grid; gap: 2px; }
.steps dt { font-weight: 700; }
.steps dd { margin: 0; }
@media (min-width: 720px) { .steps > div { grid-template-columns: 11em 1fr; gap: 16px; } }

/* 白いカード（説明つき） */
.icon-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .icon-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.icon-cards li { background: #fff; border: 1px solid var(--border); padding: 22px 20px; display: grid; gap: 6px; align-content: start; }
.icon-cards b { font-size: 17px; }
.icon-cards span { font-size: 15px; }

/* 流れ（STEPの金色の帯＋下向き三角） */
.flow-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 30px; max-width: 760px; }
.flow-steps li { background: #fff; border: 1px solid var(--border); display: grid; gap: 8px; padding: 0 0 20px; position: relative; text-align: center; }
.flow-steps li + li::before { content: ""; position: absolute; top: -23px; left: 50%; transform: translateX(-50%); border: 10px solid transparent; border-top: 13px solid var(--gold); border-bottom: 0; }
.flow-steps .step { background: var(--gold); color: #fff; font: 700 14px/1 var(--font-body); padding: 12px; letter-spacing: .14em; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.flow-steps b { font-size: 18px; padding-inline: 16px; }
.flow-steps p { font-size: 15px; padding-inline: 20px; text-align: left; }

/* 選ばれる理由 */
.reason-cards { display: grid; gap: 20px; }
@media (min-width: 992px) { .reason-cards { grid-template-columns: repeat(3, 1fr); } .reason-cards .biz-card { padding: 28px 24px; } }
.reason-cards .biz-card { margin: 0; align-content: start; }
.reason-cards h3 { font: 700 19px/1.5 var(--font-body); text-align: center; }

/* 高品質のヒミツ（NO＋大きな金色の数字） */
.secret-cards { display: grid; gap: 20px; }
@media (min-width: 992px) { .secret-cards { grid-template-columns: repeat(3, 1fr); } }
.secret { background: #fff; border: 1px solid var(--border); padding: 26px 20px; display: grid; gap: 10px; align-content: start; }
.secret .no { text-align: center; color: var(--muted-2); font-size: 12px; letter-spacing: 3px; line-height: 1; }
.secret .no-num { text-align: center; color: var(--gold-num); font: 600 58px/1 Arial, sans-serif; }
.secret h3 { font: 700 18px/1.5 var(--font-body); }
.secret p { font-size: 15px; }
.secret .photo { margin-top: 6px; }

/* 項目と内容の表（会社概要・募集要項など） */
.info-table { margin: 0; border-top: 1px solid var(--border); background: #fff; }
.info-table > div { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--border); }
.info-table dt { background: #F7F7F7; font-weight: 700; padding: 10px 16px; font-size: 15px; }
.info-table dd { margin: 0; padding: 12px 16px 14px; font-size: 15px; }
@media (min-width: 720px) { .info-table > div { grid-template-columns: 200px 1fr; } .info-table dt { padding: 16px 20px; } .info-table dd { padding: 16px 20px; } }

/* 絞り込みボタン（施工事例） */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.chip { appearance: none; border: 1px solid #CCCCCC; background: #fff; color: var(--ink); font: 400 14px/1.4 var(--font-body); padding: 9px 14px; cursor: pointer; min-height: 40px; }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 700; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.chip .count { font-size: 12px; margin-left: 4px; opacity: .8; }

/* 代表あいさつ */
.ceo { display: grid; gap: 28px; align-items: start; }
.ceo-photo { aspect-ratio: 3 / 4; max-width: 340px; width: 100%; justify-self: center; }
.ceo-text { display: grid; gap: 16px; }
.ceo-head { font: 700 clamp(18px, 4.9vw, 26px)/1.6 var(--font-serif); letter-spacing: .04em; }
.ceo-text p { font-size: 15.5px; line-height: 2.05; }
.sign { text-align: right; display: grid; justify-items: end; gap: 2px; margin-top: 8px; }
.sign small { font-size: 13px; }
.sign b { font: 700 24px/1.4 var(--font-serif); letter-spacing: .12em; }
.sign span { font-size: 12px; color: var(--muted-2); letter-spacing: .12em; }
@media (min-width: 900px) { .ceo { grid-template-columns: 340px 1fr; gap: 56px; } }

/* 募集職種・採用フロー */
.job-cards { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; }
@media (min-width: 720px) { .job-cards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.job { display: grid; gap: 10px; background: #fff; border: 1px solid var(--border); padding: 16px 16px 20px; text-decoration: none; color: var(--ink); align-content: start; }
.job:hover { border-color: var(--gold); color: var(--ink); }
.job b { font: 700 20px/1.4 var(--font-serif); letter-spacing: .06em; }
.hiring-flow { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 900px; counter-reset: h; }
@media (min-width: 720px) { .hiring-flow { grid-template-columns: repeat(6, 1fr); } }
.hiring-flow li { counter-increment: h; background: #fff; border-top: 3px solid var(--gold); padding: 14px 8px; text-align: center; font-weight: 700; display: grid; gap: 4px; }
.hiring-flow li::before { content: counter(h, decimal-leading-zero); color: var(--gold-num); font: 600 22px/1 Arial, sans-serif; }

/* フォーム */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.field em { font-style: normal; background: var(--red); color: #fff; font-size: 11px; padding: 1px 7px; line-height: 1.6; letter-spacing: .06em; }
.field .opt { font-size: 11px; color: var(--muted); border: 1px solid #CCCCCC; padding: 0 6px; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.6 var(--font-body); color: var(--ink);
  border: 1px solid #C8C8C8; background: #fff; padding: 12px 14px; border-radius: 2px;
}
.field input::placeholder, .field textarea::placeholder { color: #A0A0A0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF7F7; }
.field .err, .consent-err { color: var(--red); font-size: 13px; font-weight: 700; }
.field .err:empty { display: none; }
.consent { display: grid; gap: 8px; }
.consent-title { font-weight: 700; font-size: 14px; }
.consent-box { max-height: 168px; overflow: auto; border: 1px solid #C8C8C8; background: #fff; padding: 12px 14px; font-size: 13px; line-height: 1.85; }
.consent-box ul { margin: 6px 0 0; padding-left: 1.2em; }
.check { display: flex; align-items: center; gap: 10px; justify-content: center; font-weight: 700; padding-top: 6px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--gold-dark); }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 260px; }
.form-result { text-align: center; font-weight: 700; padding: 14px; border: 1px solid var(--border); background: #fff; }
.form-result.ng { color: var(--red); border-color: #F0C8C8; background: #FFF7F7; }

/* お問い合わせの3つの方法 */
.contact-ways { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact-ways { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.way { border: 1px solid var(--border); padding: 26px 22px; display: grid; gap: 12px; align-content: start; text-align: center; justify-items: center; background: #fff; }
.way-title { font: 700 20px/1.4 var(--font-serif); display: flex; gap: 8px; align-items: center; letter-spacing: .06em; }
.way-title .icon { width: 22px; height: 22px; color: var(--gold-dark); }
.way-num { font: 700 26px/1.3 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.way-num a { color: var(--ink); text-decoration: none; }
.way-note { font-size: 13px; color: var(--muted); }
.way .body { font-size: 14px; text-align: left; }

/* お知らせ一覧 */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.news-list > li { border-bottom: 1px solid var(--border); padding-block: 22px; }
.news-list article { display: grid; gap: 8px; }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.news-cat { background: var(--gold); color: #fff; font-size: 12px; padding: 1px 10px; text-shadow: 0 1px 1px rgba(0,0,0,.2); }
.news-list h3 { font: 700 18px/1.5 var(--font-body); }
.news-list p { font-size: 15px; }

/* 準備中のお知らせ（試作だけで使う） */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 70px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: #222; color: #fff; padding: 10px 16px; font-size: 14px; z-index: 90; max-width: calc(100% - 32px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* 文字が下からふわっと出る（今のサイトの動きと同じ） */
@keyframes slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* ページを切り替えたことが分かるよう、本文をふわっと表示する */
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
main { animation: page-in .38s ease-out both; }
@keyframes page-out { from { opacity: 1; } to { opacity: 0; } }
body.is-leaving main, body.is-leaving .site-footer { animation: page-out .14s ease-in both; }
.slide-up { animation: slide-up .8s ease-out .15s backwards; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 小さな調整用（直書きの style をやめてここで管理） */
.nw { display: inline-block; }
/* 改行させない場所では、文節の区切りを無効にする（iPhoneで文字が重複表示される不具合の対策） */
.hero-v wbr, .header-contact wbr, .global-nav wbr, .logo-mark wbr, .tile-title .sub wbr, .price-list .val wbr, .ptable td.v wbr, .header-tel wbr, .visually-hidden wbr { display: none; }
.mt-16 { margin-top: 16px; } .mt-18 { margin-top: 18px; } .mt-28 { margin-top: 28px; } .mt-36 { margin-top: 36px; }
.mb-12 { margin-bottom: 12px; } .mb-18 { margin-bottom: 18px; }
.access-card.is-center { border: 1px solid var(--border); justify-items: center; text-align: center; }
.to-top .icon { width: 20px; height: 20px; }

/* ===== トップ：こんなお悩みありませんか？（やわらかいトーン） ===== */
.worries-sec { background: var(--cream); }
.worries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 768px) { .worries { grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin-inline: auto; } }
.worries a {
  display: grid; justify-items: center; align-content: start; gap: 8px; height: 100%;
  padding: 10px 10px 16px; background: #fff; border: 1px solid var(--card-line); border-radius: 16px;
  box-shadow: 0 4px 12px rgba(150, 110, 40, .08); text-decoration: none; color: var(--ink); text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.worries a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(150, 110, 40, .16); color: var(--ink); }
.worries .photo.ill { width: 100%; aspect-ratio: 1; background: #EEF2F4; border-radius: 12px; }
.worries .photo.ill > img { object-fit: cover; }
.worries .photo.ill.is-empty { background: #F1EBDF; }
.worries .photo.ill .ph-label { display: none; }
.w-text { font: 700 14px/1.6 var(--font-body); word-break: auto-phrase; min-height: 3.2em; display: grid; place-items: center; }
.w-go { font-size: 12px; font-weight: 700; color: var(--pill-ink); background: var(--pill-bg); border-radius: 999px; padding: 3px 12px; line-height: 1.5; }
.w-go::after { content: " ›"; }
@media (min-width: 768px) { .w-text { font-size: 15px; } .worries a { padding: 12px 12px 20px; } }
.solve { margin-top: 32px; text-align: center; font: 700 clamp(20px, 5.4vw, 30px)/1.5 var(--font-body); color: var(--solve); letter-spacing: .04em; }
.solve span { display: inline-block; }
.solve::after { content: ""; display: block; width: 18px; height: 18px; margin: 14px auto 0; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); }

/* サービス4つ（スマホ1列・タブレット2列・パソコン4列） */
@media (min-width: 1100px) { .tiles.four { grid-template-columns: repeat(4, 1fr); } .tiles.four .tile { min-height: 300px; } }
@media (max-width: 767px) { .tiles.four .tile { min-height: 200px; } }

/* ＋法人のお客様（きっちりしたトーンの横長カード） */
.biz-banner { display: grid; margin-top: 16px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--gold); text-decoration: none; color: var(--ink); }
.biz-banner:hover { color: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.biz-banner .photo { aspect-ratio: 16 / 9; }
.biz-body { padding: 20px 18px 22px; display: grid; gap: 10px; align-content: center; }
.biz-label-s { justify-self: start; background: var(--gold); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em; padding: 4px 12px; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.biz-title { font: 700 clamp(17px, 4.4vw, 22px)/1.55 var(--font-body); word-break: auto-phrase; }
.biz-items { display: flex; flex-wrap: wrap; gap: 6px; }
.biz-items span { border: 1px solid var(--gold-line); background: var(--cream); padding: 2px 10px; font-size: 13px; }
.biz-banner .tile-more { justify-self: start; color: var(--gold-dark); font-weight: 700; }
@media (min-width: 768px) {
  .biz-banner { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .biz-banner .photo { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .biz-body { padding: 28px 32px; }
}

/* 法人：よくあるご相談（写真つきの4枚） */
.consult { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 768px) { .consult { grid-template-columns: 1fr 1fr; gap: 20px; } }
.consult li { background: #fff; border: 1px solid var(--border); display: grid; grid-template-rows: auto 1fr; }
.consult .photo { aspect-ratio: 16 / 9; }
.consult .c-body { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.consult .c-no { color: var(--gold-dark); font: 700 12px/1 var(--font-body); letter-spacing: .14em; }
.consult h3 { font: 700 18px/1.5 var(--font-body); }
.consult p { font-size: 14px; }

/* 施工事例：写真がない分類の絞り込みボタンは出さない */
.chip[hidden] { display: none; }
@media (min-width: 900px) { .cases.two { grid-template-columns: 1fr 1fr; } }
.biz-card .case { border-color: #EEE; }
/* 生前整理と特殊清掃のページを行き来するリンク */
.see-also { display: grid; gap: 2px; margin-top: 18px; padding: 14px 44px 14px 18px; border: 1px solid var(--gold-line); background: var(--cream); text-decoration: none; color: var(--ink); position: relative; }
.see-also b { font-size: 16px; }
.see-also span { font-size: 13px; color: var(--muted); word-break: auto-phrase; }
.see-also::after { content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--gold-dark); }
.see-also:hover { color: var(--ink); border-color: var(--gold); }

/* 電話番号の上の小さな見出し（フリーダイヤル） */
.way-num small { display: block; font-size: 12px; font-weight: 700; color: var(--gold-dark); letter-spacing: .08em; }

/* 生前整理・特殊清掃：どちらのご相談かを選ぶ2枚のカード */
.pick2 { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 768px) { .pick2 { grid-template-columns: 1fr 1fr; } }
.pick2 a { display: grid; gap: 2px; padding: 16px 44px 16px 18px; border: 1px solid var(--gold-line); background: var(--cream); text-decoration: none; color: var(--ink); position: relative; }
.pick2 a::after { content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(90deg); font-size: 24px; color: var(--gold-dark); }
.pick2 b { font-size: 17px; }
.pick2 span { font-size: 13px; color: var(--muted); word-break: auto-phrase; }
.pick2 a:hover { border-color: var(--gold); color: var(--ink); }


/* ===== 色の試作：緑系（議事録：清掃業らしい清潔感と見やすさ。今のオレンジと比べる）=====
   上部の「色」ボタンで切り替え。決まったら :root の値をこちらに置きかえる */
html.theme-green {
  --orange: #1AA06A; --orange-dark: #138556; --orange-foot: #1AA06A;
  --gold: #22A673; --gold-dark: #138556; --gold-num: #37C08C; --gold-line: #BFE6D2; --gold-hover: #1B9364;
  --cream: #EEF9F3; --cta-label: #BDF5DA; --card-line: #CDEBDB;
  --pill-ink: #0E6A44; --pill-bg: #D8F4E6; --solve: #128452;
}
html.theme-green .worries a { box-shadow: 0 4px 12px rgba(20, 110, 70, .08); }
.proto-bar .theme-pick { display: inline-flex; align-items: center; gap: 4px; }
.proto-bar .tp-label { font-weight: 700; margin-right: 2px; }
.proto-bar .theme-pick button { display: inline-flex; align-items: center; gap: 5px; }
.proto-bar .theme-pick button[aria-pressed="true"] { background: #fff; color: #222; }
.proto-bar .sw { width: 11px; height: 11px; border-radius: 50%; display: inline-block; border: 1px solid rgba(255,255,255,.7); }
.proto-bar .sw-green { background: #1AA06A; } .proto-bar .sw-blue { background: #1E9AD6; } .proto-bar .sw-orange { background: #DD870F; }

/* ===== 色の試作：水色系（青空と清潔感。白い文字が読める濃さの水色にしている）===== */
html.theme-blue {
  --orange: #1E9AD6; --orange-dark: #137CB2; --orange-foot: #1E9AD6;
  --gold: #2AA5DE; --gold-dark: #137CB2; --gold-num: #45B6EA; --gold-line: #BFE3F4; --gold-hover: #1C8DC5;
  --cream: #EEF7FC; --cta-label: #C9ECFF; --card-line: #CFE8F5;
  --pill-ink: #0B5E8C; --pill-bg: #DAF0FC; --solve: #0F7DB8;
}
html.theme-blue .worries a { box-shadow: 0 4px 12px rgba(20, 100, 150, .08); }

/* 料金の表（空室清掃・消臭など） */
.ptable { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: 15px; }
.ptable th, .ptable td { border-bottom: 1px dotted #BDBDBD; padding: 10px 6px; text-align: left; vertical-align: top; }
.ptable thead th { font-size: 13px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--border); }
.ptable td.v { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.price-sub { font: 700 15px/1.5 var(--font-body); margin: 18px 0 2px; }
.price-tip { font-size: 13px; color: var(--muted); margin-top: 4px; }
.note-small { font-size: 13px; color: var(--muted); }
/* 遺品整理の文字を大きく（議事録：主力サービス） */
.h1-big { font-size: 1.35em; }
.tile-title .big { display: block; font-size: 1.3em; line-height: 1.3; }
.small-note { margin-top: 22px; padding: 14px 16px; background: var(--grey); border-left: 3px solid var(--gold-line); font-size: 14px; }
.small-note .sn-title { font-weight: 700; margin-bottom: 2px; }
.tile-title .sub { display: block; font-size: .68em; letter-spacing: .04em; white-space: nowrap; }
.header-tel b { white-space: nowrap; }

/* 絞り込みで隠したカードを確実に消す（.case の display: grid に負けないように） */
[hidden] { display: none !important; }

/* 施工事例ページ：パソコンでは2列にして写真を大きく見せる */
@media (min-width: 900px) { .cases.two-wide { grid-template-columns: 1fr 1fr; gap: 28px; } .cases.two-wide .case h3 { font-size: 19px; } }

/* トップ：法人のお客様へ（見出しを大きく、ボタンで案内） */
.biz-head { display: grid; gap: 2px; font: 700 clamp(26px, 6.4vw, 36px)/1.3 var(--font-body); color: var(--orange-dark); letter-spacing: .06em; padding-left: 14px; border-left: 6px solid var(--gold); }
.biz-head small { font: 700 12px/1 var(--font-body); letter-spacing: .2em; color: var(--gold-dark); }
.biz-go { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 4px; }
.biz-go::after { content: "›"; font-size: 1.3em; line-height: 1; }
.biz-banner:hover .biz-go { background: var(--orange-dark); }
.biz-banner .biz-title { font-size: clamp(16px, 4.2vw, 19px); font-weight: 500; }
@media (min-width: 768px) { .biz-banner .photo { min-height: 300px; } }

/* 案内役のイラスト：背景を透明にしたので枠の色も消す */
.first-guide .photo { background: none; }
.first-guide .photo > img { object-fit: contain; }
.reason-cards .biz-label { line-height: 1.5; font-size: 16px; padding: 14px 12px; margin: 0; }

/* LINE・Instagramのロゴ（いただいたロゴ画像に差し替え） */
.line-logo { width: 22px; height: 22px; flex: none; border-radius: 5px; box-shadow: 0 0 0 1.5px #fff; }
.btn .line-logo { width: 1.35em; height: 1.35em; }
.fixbar .line-logo { width: 23px; height: 23px; }
.side-sns .s-line, .side-sns .s-insta { background: none; border-radius: 9px; overflow: hidden; }
.side-sns .sns-logo { width: 36px; height: 36px; display: block; }

/* 対応エリアの地図（11/17の打ち合わせで、文字の一覧から地図に変更）*/
.area-map { max-width: 640px; margin: 0 auto; }
.area-map-svg { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border, #ddd); }
.am-sea { fill: #e6f1f7; }
.am-land { fill: #faf8f3; stroke: #b9b2a3; stroke-width: 1; stroke-linejoin: round; }
.am-area { fill: var(--orange, #DD870F); fill-opacity: .26; stroke: var(--orange, #DD870F); stroke-width: 2; stroke-dasharray: 6 4; }
.am-dot { fill: #fff; stroke: #333; stroke-width: 2; }
.am-hq { fill: var(--orange, #DD870F); stroke: #fff; stroke-width: 3; }
.am-t { font-size: 17px; font-weight: 700; fill: #222; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.am-hqt { font-size: 18px; font-weight: 700; fill: var(--orange-dark, #b86c00); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.am-pref { font-size: 15px; fill: #8a8273; letter-spacing: .1em; }
.area-edges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.area-edges li { border: 1px solid var(--border, #ddd); border-radius: 999px; padding: 4px 14px; font-size: 15px; background: #fff; }
.area-edges b { color: var(--orange-dark, #b86c00); margin-right: 6px; }
.job-cards.one { max-width: 420px; }
@media (min-width: 720px) { .job-cards.one { grid-template-columns: 1fr; } }

/* ===== WordPress用の追加 ===== */
.news-list h3 a { color: inherit; text-decoration: none; }
.news-list h3 a:hover { text-decoration: underline; }
.news-single-title { font-size: 22px; line-height: 1.5; margin: 6px 0 18px; }
.news-body { line-height: 1.9; }
.news-body p { margin: 0 0 1em; }
.news-body img { height: auto; }
.nav-links { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.map-embed { margin-top: 12px; border-radius: 8px; overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 220px; border: 0; }
/* Contact Form 7 の表示を、試作のフォームに合わせる */
.wpcf7 .field { margin-bottom: 18px; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea { width: 100%; box-sizing: border-box; }
.wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.wpcf7-spinner { margin: 0 auto; display: block; }
