/*
Theme Name: Ace Tsunematsu Mizumawari LP
Theme URI: https://github.com/hkharmfulbear/ace-tsunematsu
Author: ACE Direction
Description: 男前の大工います!!（エルデザイン／恒松建築株式会社）水回りリフォームLP用WordPressテーマ。「棟梁の図面」＝明朝見出し×職人のエディトリアル。白基調×焦茶の墨、エルデザイングリーンを主色・オレンジを相棒に、LP寄りの構成で水回りリフォームへ誘導する。
Version: 5.7.1
Requires at least: 6.0
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: ace-tsunematsu
*/

/* ==========================================================================
   Design tokens ─「棟梁の図面」
   ・見出し＝明朝（大工の書・高級・和）／本文＝ゴシック
   ・白基調 × 焦茶の墨。主色は緑、橙を相棒に少量
   ・角丸と影に頼らず、細い罫（1px）で構造をつくる（直角＝精度）
   ========================================================================== */
:root {
  /* ブランド */
  --green: #00693e;          /* テーマカラー（唯一の指し色） */
  --green-dark: #004e2f;
  --orange: #eb6100;         /* 相棒＝落款の朱のように少量だけ */

  /* 墨・木（黒は使わない。社長の言う「高級＝焦茶」で通す） */
  --ink: #2f2418;            /* 焦茶の墨（見出し・濃色文字） */
  --ink-soft: #4a3d31;
  --wood: #3b2a1a;           /* 焦茶のダーク面（フッター・木の面） */

  /* 面（白基調。先方のご要望で生成り→白へ） */
  --paper: #ffffff;          /* 基本の白 */
  --paper-2: #f2f5f2;        /* 交互セクション：緑をごく僅かに含んだ淡色 */
  --card: #ffffff;           /* カード面（罫で仕切る） */

  /* 文字 */
  --text: #33302b;
  --text-muted: #6f6a62;

  /* 罫 */
  --rule: #e4e1d9;           /* 標準の細罫 */
  --rule-strong: #c3bcae;    /* 強い罫（見出し下線など） */

  /* 書体 */
  --font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-display: var(--font-serif);
  --font-body: var(--font-sans);
  --font-quote: var(--font-serif);

  --container: 1080px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font-body);
  /* リフォーム世代（45〜65歳）に配慮し本文を17pxへ */
  font-size: 17px;
  line-height: 1.95;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 0.6em;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; position: relative; }
.section--tone { background-color: var(--paper-2); }
.section--wood { background: var(--wood); color: var(--paper); }
.section--wood h2, .section--wood h3 { color: var(--paper); }

/* ブランド地：エルデザイングリーンのベタ面（最終CTA） */
.section--brand { background: var(--green); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }

/* 章マストヘッド：緑の縦アクセント ─ 明朝タイトル ─ 罫（LP寄りの主張） */
.section-head { margin-bottom: 52px; }
.section__title {
  display: grid;
  grid-template-columns: auto auto minmax(24px, 1fr);
  align-items: center;
  gap: 18px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 37px);
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0;
}
.section__title::before {
  content: "";
  width: 6px;
  align-self: stretch;
  min-height: 1.1em;
  background: var(--green);
}
.section__title::after {
  content: "";
  height: 1px;
  background: var(--rule-strong);
}
.section--brand .section__title::before { background: var(--orange); }
.section--wood .section__title,
.section--brand .section__title { color: var(--paper); }
.section--wood .section__title::after,
.section--brand .section__title::after { background: rgba(244, 239, 228, 0.4); }
.section__lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--text-muted);
}

.note { font-size: 12px; color: var(--text-muted); }
.section--wood .note,
.section--brand .note { color: rgba(255, 255, 255, 0.72); }

/* 差し金の目盛り罫（署名的ディテール。使うのはヒーロー裾の一度きり） */
.measure {
  background:
    linear-gradient(var(--rule-strong), var(--rule-strong)) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 12px);
}

/* Fade-in（JS有効時のみ。no-JS・reduced-motionでは素の見た目） */
.js .fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--stagger, 0s);
}
.js .fade-in.is-visible { opacity: 1; transform: none; }

@keyframes ace-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.js .hero__qualify   { animation: ace-rise 0.7s 0.05s both; }
.js .hero__title-sub { animation: ace-rise 0.7s 0.18s both; }
.js .hero__logo      { animation: ace-rise 0.7s 0.32s both; }
.js .hero__sub       { animation: ace-rise 0.7s 0.48s both; }
.js .hero__cta       { animation: ace-rise 0.7s 0.62s both; }
.js .hero__visual    { animation: ace-rise 0.9s 0.36s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js *, .js *::before, .js *::after { animation: none !important; transition: none !important; }
  .js .fade-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Buttons ─ 直角・ベタ・確かな状態
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--primary:active { background: #003a23; }
.btn--primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }

/* 相棒＝オレンジ。緑地の上でだけ主ボタンになる */
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: #cc5400; color: #fff; }
.btn--accent:active { background: #b34a00; }
.btn--accent:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn--tel {
  flex-direction: column;
  gap: 0;
  padding: 11px 30px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn--tel:hover { border-color: var(--ink); }
.btn--tel .btn__number {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.btn--tel .btn__hours { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(1.05) blur(6px);
  /* 天地をエルデザイングリーンで挟む（上＝緑罫／下＝フッターの緑罫） */
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-brand { text-decoration: none; line-height: 1.3; }
.site-brand__catch {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.site-brand__logo { display: block; height: 46px; width: auto; }

.site-header__cta { display: flex; align-items: center; gap: 18px; }
.site-header__tel { text-decoration: none; text-align: right; line-height: 1.3; color: var(--ink); }
.site-header__tel-number { font-family: var(--font-serif); font-weight: 800; font-size: 20px; display: block; }
.site-header__tel-hours { font-size: 11px; color: var(--text-muted); }
.site-header__btn { padding: 11px 24px; font-size: 13px; }

@media (max-width: 782px) {
  .site-header__tel { display: none; }
  .site-brand__catch { display: none; }
  .site-brand__logo { height: 38px; }
}

/* ==========================================================================
   Hero（Q：絞り込み）
   ========================================================================== */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero::after {                     /* 裾：差し金の目盛り */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 9px;
  opacity: 0.55;
  background:
    linear-gradient(var(--rule-strong), var(--rule-strong)) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 12px);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  padding: 84px 24px 72px;
  max-width: 1120px;
  margin: 0 auto;
}
.hero__qualify {                   /* QUALIFY：角のあるキッカー＋緑罫 */
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  padding: 0 0 10px;
  margin: 0 0 22px;
  border-bottom: 2px solid var(--green);
}
.hero__title { margin: 0 0 24px; }
.hero__title-sub {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 25px);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.hero__logo { display: block; width: min(346px, 80%); height: auto; }
.hero__sub {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 500;
  max-width: 520px;
  margin: 0 0 34px;
  color: var(--text);
}
.hero__sub strong { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* 電話・フォームのボタンは同じ大きさに揃える（コメントバック 1-6/11-2） */
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.hero__cta .btn { min-height: 68px; }

/* 右カラム：額装した施工写真＋男前くん */
.hero__visual { position: relative; }
.hero__photo {
  margin: 0;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--rule-strong);
  position: relative;
}
.hero__photo img { display: block; width: 100%; }
.hero__photo-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--wood);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  z-index: 1;
}
.hero__mascot {
  position: absolute;
  right: -10px;
  bottom: -28px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  outline: 1px solid var(--rule-strong);
  overflow: hidden;
  background: var(--paper-2);
}
/* 頭が切れないよう、上寄せ＋やや引き（顔全体を円内に収める） */
.hero__mascot img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.hero__bubble {                    /* 「現地調査・見積もり無料」：角のある小札 */
  position: absolute;
  right: 92px;
  bottom: 4px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  white-space: nowrap;
}

/* 実績帯：カードをやめ、罫で区切ったエディトリアルの数値帯 */
.hero__badges {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.badge { padding: 22px 24px; border-left: 1px solid var(--rule); }
.badge:first-child { border-left: none; padding-left: 0; }
.badge__value {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 36px;
  color: var(--green);
  line-height: 1.1;
  display: block;
}
.badge__value small { font-size: 16px; font-weight: 600; }
.badge__label { font-size: 13px; font-weight: 700; display: block; margin-top: 4px; color: var(--ink); }
.badge__note { font-size: 10.5px; color: var(--text-muted); display: block; margin-top: 2px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 40px; }
  /* スマホはロゴ・コピー先行、写真が後（2026-08 コメントバック 1-10） */
  .hero__copy { order: 1; }
  .hero__visual { order: 2; max-width: 520px; margin: 4px auto 0; }
  .hero__badges { order: 3; grid-template-columns: repeat(2, 1fr); }
  .badge:nth-child(3) { border-left: none; padding-left: 0; }
  .badge { border-top: 1px solid var(--rule); }
  .badge:nth-child(1), .badge:nth-child(2) { border-top: none; }
}
/* スマホではCVボタンが密集するため、ヒーローの電話ボタンは省く
   （画面下の固定バーに電話導線があるため導線は失われない） */
@media (max-width: 782px) {
  .hero__tel { display: none; }
}

/* ==========================================================================
   悩み（U：共感）─ 箱をやめ、罫と「」の声の一覧
   ========================================================================== */
.worries {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: grid;
  gap: 0 48px;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule-strong);
}
.worries li {
  position: relative;
  padding: 19px 8px 19px 40px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
  line-height: 1.7;
}
.worries li::before {
  content: "「";
  position: absolute;
  left: 4px;
  top: 15px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--green);
}
@media (max-width: 640px) { .worries { grid-template-columns: 1fr; } }

.worries-answer {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--wood);
  color: var(--paper);
  padding: 34px 38px;
}
.worries-answer__mascot {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--green);
  overflow: hidden;
  background: var(--ink-soft);
}
.worries-answer__mascot img { width: 100%; height: 100%; object-fit: cover; }
.worries-answer p { margin: 0; font-weight: 500; }
.worries-answer strong { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #4f9d6d; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 640px) { .worries-answer { flex-direction: column; text-align: center; } }

/* ==========================================================================
   選ばれる理由（E：教育）─ 平面・細罫・明朝の番号
   ========================================================================== */
.reasons { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule); }
.reason {
  background: transparent;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 34px 34px 32px;
}
.reason__num {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
}
.reason h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.reason p { margin: 0; color: var(--text-muted); font-size: 15px; }
@media (max-width: 782px) { .reasons { grid-template-columns: 1fr; } }

.award-banner { position: relative; margin: 48px 0 0; padding: 8px; background: var(--card); border: 1px solid var(--rule-strong); }
.award-banner img { width: 100%; display: block; }
.award-banner__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: var(--green);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
}
.award-banner__cap { margin: 10px 4px 2px; font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }

/* ==========================================================================
   サービス（E：教育）
   ========================================================================== */
.services { display: grid; gap: 26px 24px; grid-template-columns: repeat(3, 1fr); }
.services--4 { grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.service { background: var(--card); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.service--wide { grid-column: 1 / -1; flex-direction: row; }
.service__media { background: var(--paper-2); min-height: 200px; position: relative; }
.service--wide .service__media { flex: 0 0 42%; min-height: 250px; }
.service__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service__body { padding: 26px 28px 30px; flex: 1; }
.service h3 { font-family: var(--font-serif); font-weight: 800; font-size: 21px; margin: 0 0 8px; color: var(--ink); }
.service__tagline {
  color: var(--green);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.service__desc { font-size: 15px; color: var(--text-muted); margin: 0 0 18px; }
.services--4 .service__body { padding: 22px 22px 26px; }
.services--4 .service h3 { font-size: 20px; }
.service__meta { list-style: none; margin: 0; padding: 0; }
.service__meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.service__meta .k { color: var(--text-muted); flex-shrink: 0; }
.service__meta .v { font-family: var(--font-serif); font-weight: 800; text-align: right; color: var(--ink); }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .services--4 { grid-template-columns: repeat(2, 1fr); }
  .service--wide { flex-direction: column; }
}
@media (max-width: 560px) {
  .services--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ダブルターゲット（S：興奮）
   ========================================================================== */
.dual { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); }
.dual__col { background: var(--card); border: 1px solid var(--rule); padding: 0 34px 34px; }
.dual__col + .dual__col { border-left: none; }
.dual__for {
  display: inline-block;
  background: var(--wood);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 20px;
  margin: 0 0 24px;
}
.dual__col--spec .dual__for { background: var(--green); }
.dual__col h3 { font-family: var(--font-serif); font-weight: 800; font-size: 23px; color: var(--ink); }
.dual__list { list-style: none; margin: 0; padding: 0; }
.dual__list li {
  padding: 13px 0 13px 26px;
  border-top: 1px solid var(--rule);
  position: relative;
  font-size: 15px;
  font-weight: 500;
}
.dual__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 9px;
  height: 9px;
  background: var(--green);
}
.dual__col:not(.dual__col--spec) .dual__list li::before { background: var(--orange); }
.dual__list strong { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 782px) {
  .dual { grid-template-columns: 1fr; }
  .dual__col + .dual__col { border-left: 1px solid var(--rule); border-top: none; }
}

/* ==========================================================================
   施工の流れ（T）─ 箱をやめ、明朝の通し番号＋罫
   ========================================================================== */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; border-top: 1px solid var(--rule-strong); }
.flow li {
  counter-increment: flow;
  padding: 26px 8px 26px 82px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 6px;
  top: 24px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 32px;
  color: var(--green);
  line-height: 1;
}
.flow h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.flow p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ==========================================================================
   施工事例（S）
   ========================================================================== */
.works { display: grid; gap: 26px 24px; grid-template-columns: repeat(3, 1fr); }
.work { background: var(--card); border: 1px solid var(--rule); transition: border-color 0.18s ease; }
.work:hover { border-color: var(--ink); }
.work__media {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  overflow: hidden;
}
.work__media img { width: 100%; height: 100%; object-fit: cover; }
.work__body { padding: 18px 20px 20px; }
.work__cat {
  display: inline-block;
  color: var(--green);
  border: 1px solid var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 11px;
  margin-bottom: 10px;
}
.work h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 800; margin: 0; }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; } }

/* ==========================================================================
   代表挨拶（S：信頼）
   ========================================================================== */
.president { display: grid; gap: 50px; grid-template-columns: 300px 1fr; align-items: start; }
.president__photo { padding: 8px; background: var(--card); border: 1px solid var(--rule-strong); }
.president__photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.president__name { font-size: 14px; margin-top: 22px; color: var(--text-muted); }
.president__name strong { font-family: var(--font-serif); font-weight: 800; font-size: 21px; display: block; color: var(--ink); margin-top: 2px; }
.president__quote {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  margin: 0 0 24px;
  line-height: 1.7;
}
.president__quote em { font-style: normal; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 782px) { .president { grid-template-columns: 1fr; } .president__photo { max-width: 300px; } }

/* ==========================================================================
   FAQ（T）
   ========================================================================== */
.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:first-child { border-top: 1px solid var(--rule-strong); }
.faq__q {
  width: 100%;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  text-align: left;
  padding: 22px 50px 22px 44px;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}
.faq__q::before {
  content: "Q";
  position: absolute;
  left: 6px;
  top: 20px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 20px;
  color: var(--green);
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__q:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a {
  display: none;
  padding: 0 20px 24px 44px;
  position: relative;
  color: var(--text-muted);
  font-size: 15px;
}
.faq__a::before {
  content: "A";
  position: absolute;
  left: 6px;
  top: -2px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 20px;
  color: var(--orange);
}
.faq__item.is-open .faq__a { display: block; animation: ace-faq-open 0.28s ease; }
@keyframes ace-faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   コラム（最新記事）
   ========================================================================== */
.columns-list { display: grid; gap: 26px 24px; grid-template-columns: repeat(3, 1fr); }
.column-card {
  background: var(--card);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease;
}
.column-card:hover { border-color: var(--ink); color: inherit; }
.column-card__media { aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.column-card__media img { width: 100%; height: 100%; object-fit: cover; }
.column-card__body { padding: 18px 20px; flex: 1; }
.column-card time { font-size: 12px; color: var(--text-muted); }
.column-card h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 800; margin: 6px 0 0; }
@media (max-width: 900px) { .columns-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   会社概要
   ========================================================================== */
.company-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule-strong); }
.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.company-table th {
  width: 190px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: none; padding-bottom: 2px; }
}

/* ==========================================================================
   CTA セクション（T：行動）─ エルデザイングリーンのベタ面
   ========================================================================== */
.cta-section { text-align: center; }
.cta-section__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.55;
  color: #fff;
  letter-spacing: 0.03em;
}
/* 強調は色替えではなく、相棒オレンジの下敷き（ロゴ以外で書体・色をいじらない方針） */
.cta-section__title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}
.cta-section p { max-width: 640px; margin: 18px auto 0; color: rgba(255, 255, 255, 0.88); }
.cta-section__buttons { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: stretch; margin-top: 34px; }
.cta-section__buttons .btn { min-height: 68px; }
.cta-section .btn--tel { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-section .btn--tel:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.cta-section .btn--tel .btn__hours { color: rgba(255, 255, 255, 0.75); }

/* ==========================================================================
   Footer ─ 焦茶地＋緑ライン
   ========================================================================== */
.site-footer {
  background: var(--wood);
  color: #c8bfb0;
  padding: 60px 0 56px;
  font-size: 14px;
  border-top: 3px solid var(--green);
}
/* モバイルは固定CTAぶんの余白を足す */
@media (max-width: 782px) { .site-footer { padding-bottom: 112px; } }
.site-footer a { color: var(--paper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer a:hover { color: #ffa754; }

/* ブランド表示はロゴ画像のみ（ロゴ書体＝ADS歩明。他書体での組み直しは不可）。
   フッターは白窓を使わず白抜き版ロゴを直置き（コメントバック 13-1） */
.site-footer__brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0 0 20px; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { display: block; height: 56px; width: auto; }
.site-footer__brand-text { font-size: 14px; color: #cfc6b6; }
.site-footer__license { font-size: 12px; opacity: 0.8; margin-top: 22px; }
.site-footer__copy { margin-top: 24px; font-size: 12px; opacity: 0.58; }

/* ==========================================================================
   モバイル固定CTA
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  display: none;
  border-top: 1px solid var(--green-dark);
}
.sticky-cta a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.sticky-cta__tel { background: var(--paper); color: var(--ink); }
.sticky-cta__tel strong { font-family: var(--font-serif); font-weight: 800; font-size: 15px; }
.sticky-cta__form { background: var(--green); color: #fff; }
.sticky-cta__form strong { font-size: 15px; }
@media (max-width: 782px) { .sticky-cta { display: flex; } }

/* ==========================================================================
   記事・下層ページ（AIOコラム用）
   ========================================================================== */
.entry { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.entry__header { margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--rule-strong); }
.entry__title { font-family: var(--font-serif); font-size: clamp(25px, 4vw, 34px); font-weight: 800; color: var(--ink); }
.entry__meta { font-size: 13px; color: var(--text-muted); }
.entry__content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  margin-top: 2em;
  padding-left: 16px;
  border-left: 4px solid var(--green);
  color: var(--ink);
}
.entry__content h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 800; margin-top: 1.8em; padding-bottom: 8px; border-bottom: 1px solid var(--rule-strong); }
.entry__content ul, .entry__content ol { padding-left: 1.4em; }
.entry__content blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--green); color: var(--text-muted); }
.entry__content table { width: 100%; border-collapse: collapse; }
.entry__content th, .entry__content td { border: 1px solid var(--rule); padding: 10px 14px; }
.entry__content th { background: var(--paper-2); }

.archive-list { max-width: 760px; margin: 0 auto; padding: 60px 24px; display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.archive-list > h1 { font-family: var(--font-serif); font-weight: 800; color: var(--ink); padding-bottom: 20px; }
.archive-card { padding: 26px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; display: block; }
.archive-card time { font-size: 12px; color: var(--text-muted); }
.archive-card h2 { font-family: var(--font-serif); font-size: 19px; font-weight: 800; margin: 4px 0 0; }

.pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 24px 56px; }
.pagination .page-numbers { padding: 8px 15px; border: 1px solid var(--rule-strong); text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }

/* ==========================================================================
   ブランド地の上のゴーストボタン（最終CTA帯）
   ========================================================================== */
.btn--ghost-on-brand { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost-on-brand:hover { background: #fff; color: var(--green); border-color: #fff; }

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */
.formcard {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--rule-strong);
  padding: 40px 40px 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.form-field { margin: 0 0 24px; }
.form-grid .form-field { margin: 0; }
.form-field > label,
.form-field__label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field--req > label::after {
  content: "必須";
  margin-left: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  padding: 2px 8px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;                 /* iOSのズーム抑止のため16px以上 */
  color: var(--text);
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 1px;
  padding: 13px 14px;
}
.form-field textarea { resize: vertical; min-height: 128px; }
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }

/* minmax(0,1fr) で列が縮めるようにし、ファイル名テキストのはみ出しを防ぐ */
.form-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.form-file {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.form-file input[type="file"] {
  font-size: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-file input[type="file"]::file-selector-button {
  font: inherit;
  font-size: 12px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 1px;
  cursor: pointer;
  margin-right: 10px;
}

.form-field--check { font-size: 15px; }
.form-field--check label { display: inline; font-weight: 500; }
.form-field--check input { margin-right: 8px; transform: translateY(1px); }

.form-actions { margin-top: 30px; text-align: center; }
.form-actions .btn { min-width: 260px; }
.form-actions--review { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.form-actions--review .btn { min-width: 180px; }

/* ハニーポットは非表示 */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 確認画面 */
.form-review { margin-top: 30px; border-top: 1px solid var(--rule-strong); padding-top: 26px; }
.form-review__title { font-weight: 700; color: var(--ink); margin: 0 0 18px; }
.form-review__list { display: grid; grid-template-columns: 160px 1fr; gap: 0; margin: 0; }
.form-review__list dt {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  padding: 14px 16px;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.form-review__list dd {
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--rule);
  white-space: pre-wrap;
  word-break: break-word;
}
.form-review__list dt:last-of-type,
.form-review__list dd:last-of-type { border-bottom: 1px solid var(--rule); }

.form-alert {
  max-width: 760px;
  margin: 0 auto 20px;
  background: #fdecec;
  border: 1px solid #e0a0a0;
  color: #9a2b2b;
  padding: 14px 18px;
  font-weight: 700;
}
.formcard--done { text-align: center; }
.form-done__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 24px;
  color: var(--green);
  margin: 0 0 14px;
}

@media (max-width: 640px) {
  .formcard { padding: 28px 20px 32px; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .form-files { grid-template-columns: 1fr; }
  .form-review__list { grid-template-columns: 1fr; }
  .form-review__list dt { border-bottom: none; padding-bottom: 4px; }
  .form-review__list dd { border-top: none; padding-top: 4px; }
  .form-review__list dt:first-of-type { border-top: 1px solid var(--rule); }
  .form-actions .btn, .form-actions--review .btn { width: 100%; min-width: 0; }
}

/* ==========================================================================
   施工事例CMS（アーカイブ／カテゴリ／個別）
   ========================================================================== */
.case-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.case-nav__link {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid var(--rule-strong);
  border-radius: 1px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.case-nav__link:hover { border-color: var(--green); color: var(--green); }
.case-nav__link.is-current { background: var(--green); color: #fff; border-color: var(--green); }

.case-empty { color: var(--text-muted); padding: 20px 0 8px; }

/* サービスカードの「施工事例を見る」 */
.service__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.service__more::after { content: "→"; }
.service__more:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

/* 施工事例「もっと見る」 */
.works__more { text-align: center; margin: 40px 0 0; }

/* 個別ページ */
.entry__cats { display: flex; gap: 8px; margin: 0 0 12px; }
.entry__back { max-width: 760px; margin: 40px auto 0; }
.entry__back a { font-weight: 700; }

/* ==========================================================================
   2026-08 修正案ラウンド2（こちらボール分）
   ========================================================================== */

/* 悩み：全体＋設備別グループ（修正案2-2） */
.worries-group__label {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--green);
  line-height: 1.5;
}
.worries-group--all { margin-bottom: 36px; }
.worries-group--all .worries { margin-bottom: 0; }
.worries-groups4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 48px;
  margin-bottom: 44px;
}
.worries--single { grid-template-columns: 1fr; margin: 0; }
@media (max-width: 700px) {
  .worries-groups4 { grid-template-columns: 1fr; gap: 14px; }
}

/* 実績数値にアイコンを添える（修正案1-8） */
.badge__icon { display: block; color: var(--green); margin-bottom: 10px; }
.badge__icon svg { width: 30px; height: 30px; display: block; }

/* 施工の流れの各ステップにアイコン（修正案8-3） */
.flow li { padding-right: 64px; }
.flow__icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  opacity: 0.9;
}
.flow__icon svg { width: 36px; height: 36px; display: block; }
@media (max-width: 700px) {
  .flow li { padding-right: 52px; }
  .flow__icon svg { width: 28px; height: 28px; }
}

/* ダブル訴求：設備別の開閉リスト（修正案5-3） */
.dual-by-type { margin-top: 36px; }
.dual-by-type__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 3px solid var(--green);
}
.dual-acc { border-bottom: 1px solid var(--rule); }
.dual-acc:first-of-type { border-top: 1px solid var(--rule-strong); }
.dual-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 36px 15px 8px;
  font-weight: 700;
  position: relative;
}
.dual-acc summary::-webkit-details-marker { display: none; }
.dual-acc summary::after {
  content: "＋";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-weight: 700;
}
.dual-acc[open] summary::after { content: "−"; }
.dual-acc .dual__list { padding: 0 8px 16px; }
.dual-acc .dual__list li:first-child { border-top: none; }

/* FAQ：設備別グループ見出し（修正案9-1） */
.faq__group {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  margin: 36px 0 0;
  padding: 0 0 8px 14px;
  border-left: 3px solid var(--green);
  border-bottom: 1px solid var(--rule-strong);
}
.faq__group:first-child { margin-top: 0; }

/* 施工事例の見本4件表示（修正案6-2：4カテゴリ揃え） */
.works--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .works--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .works--4 { grid-template-columns: 1fr; }
}

/* 見本カードの写真未支給枠（洗面化粧台）：写真差し替えまでの線画表示 */
.work__media--placeholder { color: var(--rule-strong); }
.work__media--placeholder svg { width: 64px; height: 64px; }

/* ==========================================================================
   2026-09 修正案ラウンド3
   ========================================================================== */

/* 設備カテゴリのピクトグラム（全体/キッチン/お風呂/トイレ/洗面台の識別） */
.type-icon { display: inline-flex; vertical-align: -5px; margin-right: 9px; color: var(--green); }
.type-icon svg { width: 22px; height: 22px; display: block; }
.dual-acc summary .type-icon { vertical-align: -5px; }

/* 施工の流れ01〜03の（無料）はオレンジで強調 */
.flow__free { color: var(--orange); }

/* ==========================================================================
   施工事例ページ（2026-09 先方サンプル準拠）
   ========================================================================== */
.case-entry { padding: 76px 0 0; }
.case-entry__header { margin: 0 0 30px; }
.case-entry__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(23px, 3.2vw, 33px);
  margin: 8px 0 0;
}

/* Before / After（写真比率は 4:3） */
.ba { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 26px; }
.ba__item { position: relative; margin: 0; border: 1px solid var(--rule); background: var(--paper-2); }
.ba__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ba__label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 6px 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
}
.ba__label--before { background: var(--ink); }
.ba__label--after { background: var(--green); }
@media (max-width: 600px) { .ba { grid-template-columns: 1fr; } }

/* ご依頼の理由 */
.case-reason { border-top: 1px solid var(--rule-strong); padding: 22px 0 26px; }
.case-reason__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  padding-left: 13px;
  border-left: 3px solid var(--green);
}
.case-reason p { margin: 0; }

/* 本文の写真は2枚ずつ・4:3・キャプション付き */
.case-entry__content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; margin: 10px 0 34px; }
.case-entry__content > * { grid-column: 1 / -1; margin: 0; }
.case-entry__content figure,
.case-entry__content .wp-block-image { grid-column: auto; margin: 0; }
.case-entry__content figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--rule); }
.case-entry__content figcaption { font-size: 13px; color: var(--text-muted); margin-top: 7px; line-height: 1.7; }
@media (max-width: 600px) { .case-entry__content { grid-template-columns: 1fr; } }

/* 工事概要の表 */
.case-spec { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: 15px; }
.case-spec th,
.case-spec td { border: 1px solid var(--rule); padding: 12px 16px; text-align: left; vertical-align: top; }
.case-spec th { width: 170px; background: var(--paper-2); font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) { .case-spec th { width: 108px; padding: 10px 12px; } .case-spec td { padding: 10px 12px; } }

/* 工事を行なった感想 */
.case-voice { background: var(--paper-2); border: 1px solid var(--rule); padding: 26px 30px; margin: 30px 0 0; }
.case-voice__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
}
.case-voice p { margin: 0; }

/* 担当者 */
.case-staff { display: flex; align-items: center; gap: 20px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); }
.case-staff__photo { flex: 0 0 76px; width: 76px; }
.case-staff__photo img { width: 76px; height: 76px; object-fit: cover; object-position: top center; border: 1px solid var(--rule); }
.case-staff__role {
  display: inline-block;
  background: var(--wood);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  margin-bottom: 6px;
}
.case-staff__name { margin: 0; font-weight: 700; line-height: 1.7; }
.case-staff__name small { font-weight: 500; font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   巻頭＝4設備の入口（2026-09）
   検索キーワードとLPのズレによる離脱を防ぐため、巻頭で4設備を一望させ、
   そのまま各設備の説明へ飛べるようにする。
   ========================================================================== */
.hero__pick-label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 10px;
  padding-left: 11px;
  border-left: 3px solid var(--green);
  line-height: 1.5;
}
.hero__pick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.hero__pick-item {
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  background: var(--card);
  overflow: hidden;
}
.hero__pick-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.hero__pick-item:hover img { transform: scale(1.04); }
.hero__pick-name {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(47, 36, 24, 0.86);
  color: var(--paper);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  padding: 7px 16px;
}
.hero__pick-item:hover .hero__pick-name { background: var(--green); }
.hero__pick-item:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* 男前くんと「無料」札は写真に重ねず、グリッドの下に並べる */
.hero__aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}
.hero__aside .hero__bubble { position: static; right: auto; bottom: auto; }
.hero__aside .hero__mascot { position: static; right: auto; bottom: auto; flex: 0 0 auto; }

@media (max-width: 900px) {
  .hero__pick { gap: 8px; }
  .hero__pick-name { font-size: 13px; padding: 5px 12px; }
  .hero__aside .hero__mascot { width: 84px; height: 84px; }
}

/* Before/Afterが揃っていない事例は1枚で見せる */
.ba--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* 受賞バッジ（該当する事例のみ） */
.case-award { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; }
.case-award img { width: 116px; height: auto; flex: 0 0 116px; }
.case-award figcaption { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.7; }
@media (max-width: 600px) {
  .case-award img { width: 84px; flex-basis: 84px; }
  .case-award figcaption { font-size: 12px; }
}

/* 担当者（事例ごとに変わる） */
.case-staff__title { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); }

/* ==========================================================================
   パンくず（構造化データと対で出力）
   ========================================================================== */
.breadcrumb { border-bottom: 1px solid var(--rule); background: var(--paper); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  list-style: none;
  margin: 0;
  padding: 13px 0;
  font-size: 12.5px;
  color: var(--text-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--rule-strong); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }
@media (max-width: 600px) { .breadcrumb ol { font-size: 11.5px; padding: 10px 0; } }

/* パンくずが入るぶん、事例ページ冒頭の余白を詰める */
.breadcrumb + main .case-entry,
.case-entry { padding-top: 46px; }
