﻿@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =====================================================
   和彩堂ハウス カラーシステム (Phase 2 / 2026-05-07)
   ===================================================== */
:root {
  --wh-main:   #2C2318;
  --wh-accent: #8B6914;
  --wh-base:   #FAF8F4;
  --wh-text:   #3D3530;
  --wh-sub:    #C8B89A;
}

body {
  color: var(--wh-text);
  background-color: var(--wh-base);
  font-family: 'Noto Sans JP', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--wh-main);
  font-family: 'Noto Serif JP', serif;
}

a { color: var(--wh-accent); }
a:hover { opacity: 0.75; }

/* SWELLメインカラー上書き */
:root {
  --swl-color-main: #8B6914;
  --swl-color-main-thin: rgba(139, 105, 20, 0.12);
}
.c-btn, .wp-block-button__link {
  background-color: var(--wh-accent) !important;
  border-color: var(--wh-accent) !important;
}
.c-btn:hover, .wp-block-button__link:hover {
  background-color: var(--wh-main) !important;
  border-color: var(--wh-main) !important;
}

/* セクション区切り線 */
.wh-divider {
  width: 40px;
  height: 2px;
  background-color: var(--wh-accent);
  margin: 1rem auto;
}


/* =====================================================
   Override: ページヒーローセクション 縮小 + eyebrow非表示
   対象: 内部ページのみ（HOME は除外）
   変更: eyebrow非表示 / padding 40px→20px / title縮小 / min-height縮小
   ===================================================== */
.page-template-default .luna-page-hero {
  min-height: 10vh !important;
  padding: 20px 20px !important;
}
.page-template-default .luna-page-hero__eyebrow {
  display: none !important;
}
.page-template-default .luna-page-hero__title {
  font-size: clamp(22px, 4vw, 40px) !important;
}
.page-template-default .luna-page-hero__sub {
  margin-top: 8px !important;
}

/* =====================================================
   Override: ページヒーロー上部ギャップ解消
   原因: l-content padding-top(64px) + post_content margin-top(64px) = 128px の空白
   対象: 内部ページのみ（HOME は除外）
   ===================================================== */
.page-template-default .post_content .luna-page-hero:first-child {
  margin-top: -128px !important;
}
.admin-bar.page-template-default .post_content .luna-page-hero:first-child {
  margin-top: -96px !important;
}

/* ================================================
   fix_header 非表示 (2026-05-03)
   luna-header-transparent クラスとSWELL内部JSの衝突で
   スクロール時に fix_header が逆順フェードして2重表示になるため抑制
   ================================================ */
html.luna-header-transparent #fix_header {
  display: none !important;
}

/* =====================================================
   Fix: トップページ FV - SWELLコンテンツパディング除去 (2026-05-05)
   原因: .top #content に padding-top: 4em (64px) がSWELL側から自動設定される
         透過ヘッダー(-transparent)時はヒーローをビューポートトップから開始させる必要あり
         その結果、白いギャップが発生し白背景上で白文字ヘッダーが不可視になっていた
   ===================================================== */
.home #content {
  padding-top: 0 !important;
}

/* =====================================================
   Scroll Animation - js-* classes (2026-05-04)
   IntersectionObserver で .is-visible を付与して発火
   ===================================================== */

/* 下からスライド+フェイド（最頻出） */
.js-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* フェイドのみ */
.js-fade-only {
  opacity: 0;
  transition: opacity 1.0s ease;
}

/* 左からスライドイン */
.js-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 右からスライドイン */
.js-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 発火後（全クラス共通） */
.js-fade-up.is-visible,
.js-fade-only.is-visible,
.js-slide-left.is-visible,
.js-slide-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* =====================================================
   Fix: フッター copyright リンク文字色 (2026-05-05)
   原因: SWELLグローバルリンク色(#1a1a1a)がフッター背景と同色で不可視
   ===================================================== */
.l-footer .copyright a {
  color: #aaaaaa !important;
  text-decoration: underline !important;
}
.l-footer .copyright a:hover {
  color: #ffffff !important;
}
/* =====================================================
   Design System: 全ページ タイポグラフィ統一 (2026-05-05)
   ===================================================== */

/* ページタイトル：格式 */
/* .c-pageTitle と .c-pageTitle__inner はSWELLデフォルトに戻す（2026-05-06 過剰上書き削除） */

/* セクション padding（サブページのみ inline padding-top を上書き） */
.wp-block-group.alignfull { padding-top: 2.5rem; padding-bottom: 2.5rem; }
#body_wrap:not(.home) .wp-block-group.alignfull { padding-top: 2.5rem !important; }
/* サブページ: ヒーロー(wp-block-cover)直後の余白を抑制 */
#body_wrap:not(.home) .post_content .wp-block-cover.alignfull { margin-bottom: 0 !important; }

/* H2 基本マージン */
.post_content h2 { margin: 1.5rem 0 1.25rem !important; }
.wp-block-group.alignfull h2.wp-block-heading { margin-top: 1.5rem !important; margin-bottom: 1.25rem !important; }

/* H2 ボーダー付き（上マージンゼロ） */
.wp-block-group.alignfull h2.wp-block-heading[style*='border'] { margin-top: 0 !important; margin-bottom: 0.75rem !important; }
.kensetsu-section-h2 { margin-top: 0 !important; margin-bottom: 0.75rem !important; border-bottom: 2px solid #c8a96e; padding-bottom: 0.75rem; }

/* H3 */
.wp-block-group.alignfull h3.wp-block-heading { margin-top: 1.25rem !important; margin-bottom: 0.5rem !important; }

/* カラム内 padding-top（!important 除去 → inline style が優先される） */
.wp-block-group.alignfull .wp-block-columns { padding-top: 1.5rem; }

/* ENラベル(p) -> H2 密接 */
.wp-block-group.alignfull p + h2.wp-block-heading { margin-top: 0.5rem !important; }

/* カバーブロック内 H1/H2 */
.wp-block-cover h1.wp-block-heading { margin-top: 0.5rem !important; margin-bottom: 0 !important; }
.wp-block-cover h2.wp-block-heading { margin-top: 1.5rem !important; margin-bottom: 0.75rem !important; }
.wp-block-cover p + h1.wp-block-heading,
.wp-block-cover p + h2.wp-block-heading { margin-top: 0.5rem !important; }

/* =====================================================
   Fix: OUR STRENGTHS - 画像高さ統一 (2026-05-05)
   原因: strength-01-jisseki.jpg が800x1000px（縦長）のため
         カラム01だけ縦に伸びてレイアウト崩れが発生
   対策: aspect-ratio + object-fit:cover で4枚を同一高さに固定
   ===================================================== */
.taihoku-strength-img img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =====================================================
   Fix: CONTACT label gold color + 2-column height align (2026-05-06)
   SWELLが .wp-block-group.alignfull 配下の p タグに color:white を強制継承するため
   !important で c8a96e を持つ p のみゴールドを再適用
   ===================================================== */
[style*="#1a2b3c"] p[style*="c8a96e"] { color: #c8a96e !important; }
[style*="#1a2b3c"] .wp-block-columns.alignwide { align-items: stretch; }
[style*="#1a2b3c"] .wp-block-columns.alignwide > .wp-block-column { display: flex; flex-direction: column; }
[style*="#1a2b3c"] .wp-block-column .wp-block-buttons { flex: 1; display: flex; flex-direction: column; }
[style*="#1a2b3c"] .wp-block-column .wp-block-button { flex: 1; display: flex; flex-direction: column; }
[style*="#1a2b3c"] .wp-block-column .wp-block-button__link { flex: 1 !important; display: flex !important; align-items: center; justify-content: center; }
[style*="#1a2b3c"] .wp-block-column .wp-block-group[style*="border"] { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* =====================================================
   和彩堂ハウス — カスタムテンプレート共通CSS (Phase 4)
   ===================================================== */

/* ── コンテナ ── */
.wh-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.wh-container--narrow {
  max-width: 780px;
}

/* ── セクション共通 ── */
.wh-section {
  padding: 80px 0;
}
.wh-section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--wh-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.wh-section-h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3.5vw, 36px);
  color: var(--wh-main);
  line-height: 1.5;
  margin: 0 0 16px !important;
}
.wh-section-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--wh-text);
  margin-bottom: 40px;
}
.wh-section-cta {
  text-align: center;
  margin-top: 48px;
}
.wh-text-center { text-align: center; }

/* ── ボタン ── */
.wh-btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}
.wh-btn--primary {
  background-color: var(--wh-accent);
  border-color: var(--wh-accent);
  color: #fff !important;
}
.wh-btn--primary:hover {
  background-color: var(--wh-main);
  border-color: var(--wh-main);
  opacity: 1;
}
.wh-btn--outline {
  background-color: transparent;
  border-color: var(--wh-accent);
  color: var(--wh-accent) !important;
}
.wh-btn--outline:hover {
  background-color: var(--wh-accent);
  color: #fff !important;
  opacity: 1;
}
.wh-btn--outline-light {
  background-color: transparent;
  border-color: rgba(255,255,255,0.8);
  color: #fff !important;
}
.wh-btn--outline-light:hover {
  background-color: rgba(255,255,255,0.15);
  opacity: 1;
}
.wh-btn--light {
  background-color: #fff;
  border-color: #fff;
  color: var(--wh-main) !important;
}
.wh-btn--light:hover {
  background-color: var(--wh-main);
  border-color: var(--wh-main);
  color: #fff !important;
  opacity: 1;
}
.wh-btn--full { width: 100%; text-align: center; }
.wh-text-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--wh-accent) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--wh-accent);
  padding-bottom: 2px;
}
.wh-text-link:hover { opacity: 0.7; }

/* ── プロース（本文ブロック）── */
.wh-prose { line-height: 2.1; color: var(--wh-text); }
.wh-prose p { margin-bottom: 1.4em; }

/* ─────────────────────────────────────────────────
   FV（ファーストビュー）
───────────────────────────────────────────────── */
.wh-fv {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wh-fv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.wh-fv:hover .wh-fv__bg { transform: scale(1.0); }
.wh-fv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,15,8,0.52);
}
.wh-fv__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.wh-fv__eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--wh-sub);
  margin-bottom: 20px;
}
.wh-fv__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 24px !important;
}
.wh-fv__sub {
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}
.wh-fv__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.wh-fv__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.7);
}
.wh-fv__scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.5);
  margin: 0 auto 8px;
  animation: wh-scroll-line 1.8s ease infinite;
}
.wh-fv__scroll p { font-family: 'Cormorant Garamond',serif; font-size: 11px; letter-spacing: 0.2em; }
@keyframes wh-scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─────────────────────────────────────────────────
   コンセプト紹介（ホーム）
───────────────────────────────────────────────── */
.wh-concept-intro { text-align: center; }
.wh-concept-intro__text { font-size: 15px; line-height: 2.2; color: var(--wh-text); margin-bottom: 32px; }

/* ─────────────────────────────────────────────────
   選ばれる理由グリッド
───────────────────────────────────────────────── */
.wh-strengths__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.wh-strength-item {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
  border-top: 2px solid var(--wh-accent);
}
.wh-strength-item__icon { font-size: 32px; margin-bottom: 16px; }
.wh-strength-item__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: var(--wh-main);
  margin-bottom: 12px;
}
.wh-strength-item__text { font-size: 13px; line-height: 1.9; color: var(--wh-text); }

/* ─────────────────────────────────────────────────
   施工事例カード（一覧）
───────────────────────────────────────────────── */
.wh-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.works-card { background: #fff; overflow: hidden; }
.works-card__link { display: block; text-decoration: none; color: inherit; }
.works-card__img { aspect-ratio: 4/3; overflow: hidden; }
.works-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.works-card:hover .works-card__img img { transform: scale(1.05); }
.works-card__body { padding: 20px; }
.works-card__cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wh-accent);
  border: 1px solid var(--wh-accent);
  padding: 2px 10px;
  margin-bottom: 10px;
}
.works-card__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: var(--wh-main);
  margin-bottom: 8px;
  line-height: 1.5;
}
.works-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.works-card__meta li { font-size: 12px; color: #888; }
.works-card__meta li + li::before { content: '/ '; color: #ccc; }

/* ─────────────────────────────────────────────────
   交互フィーチャー行
───────────────────────────────────────────────── */
.wh-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.wh-feature-row:last-child { margin-bottom: 0; }
.wh-feature-row--reverse .wh-feature-row__img { order: 2; }
.wh-feature-row--reverse .wh-feature-row__body { order: 1; }
.wh-feature-row__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.wh-feature-row__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: var(--wh-sub);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.wh-feature-row__en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--wh-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.wh-feature-row__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: var(--wh-main);
  margin-bottom: 16px;
}
.wh-feature-row__text { font-size: 14px; line-height: 2; color: var(--wh-text); margin-bottom: 20px; }

/* ─────────────────────────────────────────────────
   お客様の声
───────────────────────────────────────────────── */
.wh-voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.wh-voice-card {
  background: #F2EDE4;
  padding: 28px;
  border-left: 3px solid var(--wh-accent);
}
.wh-voice-card__text { font-size: 14px; line-height: 1.9; color: var(--wh-text); margin-bottom: 20px; font-style: italic; }
.wh-voice-card__meta { display: flex; gap: 12px; align-items: center; }
.wh-voice-card__meta img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.wh-voice-card__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--wh-sub); color: var(--wh-main); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond',serif; font-size: 12px; flex-shrink: 0; }
.wh-voice-card__name { font-family: 'Noto Serif JP', serif; font-size: 13px; color: var(--wh-main); }
.wh-voice-card__info { font-size: 11px; color: #999; margin-top: 2px; }

/* ─────────────────────────────────────────────────
   流れ（ホーム版・簡易）
───────────────────────────────────────────────── */
.wh-flow-steps {
  display: flex;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
}
.wh-flow-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--wh-sub);
}
.wh-flow-step:last-child { border-right: none; }
.wh-flow-step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--wh-accent);
  display: block;
  margin-bottom: 8px;
}
.wh-flow-step__title { font-family: 'Noto Serif JP', serif; font-size: 14px; color: var(--wh-main); margin-bottom: 8px; }
.wh-flow-step__text { font-size: 12px; color: #888; line-height: 1.7; }

/* ─────────────────────────────────────────────────
   CTAバナー
───────────────────────────────────────────────── */
.wh-cta-banner {
  position: relative;
  padding: 120px 24px;
  text-align: center;
  overflow: hidden;
}
.wh-cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.wh-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,15,8,0.6);
}
.wh-cta-banner__content { position: relative; z-index: 2; color: #fff; }
.wh-cta-banner__eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--wh-sub);
  margin-bottom: 16px;
}
.wh-cta-banner__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px !important;
  line-height: 1.6;
}
.wh-cta-banner__sub { font-size: 14px; line-height: 2; color: rgba(255,255,255,0.8); margin-bottom: 36px; }

/* ─────────────────────────────────────────────────
   内部ページ共通ヒーロー
───────────────────────────────────────────────── */
.wh-page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.wh-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,15,8,0.5);
}
.wh-page-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.wh-page-hero__eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--wh-sub);
  margin-bottom: 12px;
}
.wh-page-hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 400;
  color: #fff;
  margin: 0 !important;
}

/* ─────────────────────────────────────────────────
   流れ（詳細ページ）
───────────────────────────────────────────────── */
.wh-flow-detail { }
.wh-flow-detail__step {
  position: relative;
  background: #fff;
  padding: 40px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
}
.wh-flow-detail__arrow {
  text-align: center;
  font-size: 24px;
  color: var(--wh-accent);
  padding: 8px 0;
  grid-column: 1 / -1;
}
.wh-flow-detail__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--wh-accent);
  border: 1px solid var(--wh-accent);
  padding: 8px 12px;
  text-align: center;
  align-self: start;
}
.wh-flow-detail__title { font-family: 'Noto Serif JP', serif; font-size: 18px; color: var(--wh-main); margin-bottom: 12px; }
.wh-flow-detail__text { font-size: 14px; line-height: 2; color: var(--wh-text); margin-bottom: 8px; }
.wh-flow-detail__note { font-size: 12px; color: var(--wh-accent); background: rgba(139,105,20,0.08); padding: 6px 12px; display: inline-block; }

/* ─────────────────────────────────────────────────
   価格プラン
───────────────────────────────────────────────── */
.wh-price-guide {
  display: flex;
  gap: 2px;
  margin-top: 40px;
}
.wh-price-guide__item {
  flex: 1;
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}
.wh-price-guide__label { font-size: 12px; color: #888; margin-bottom: 8px; }
.wh-price-guide__value { font-family: 'Cormorant Garamond',serif; font-size: 36px; color: var(--wh-accent); }
.wh-price-guide__value span { font-size: 16px; }
.wh-price-note { font-size: 12px; color: #999; margin-top: 12px; }

.wh-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.wh-plan-card {
  border: 1px solid #e8e0d5;
  background: #fff;
  position: relative;
}
.wh-plan-card--featured {
  border-color: var(--wh-accent);
  box-shadow: 0 4px 24px rgba(139,105,20,0.12);
}
.wh-plan-card__badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--wh-accent);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
}
.wh-plan-card__header {
  padding: 32px 24px 24px;
  text-align: center;
  border-bottom: 1px solid #f0e8dc;
}
.wh-plan-card__en { font-family: 'Cormorant Garamond',serif; font-size: 13px; letter-spacing: 0.15em; color: var(--wh-accent); margin-bottom: 8px; }
.wh-plan-card__title { font-family: 'Noto Serif JP',serif; font-size: 18px; color: var(--wh-main); margin-bottom: 12px; line-height: 1.5; }
.wh-plan-card__price { font-family: 'Cormorant Garamond',serif; font-size: 20px; color: var(--wh-accent); }
.wh-plan-card__list { list-style: none; padding: 24px; margin: 0; }
.wh-plan-card__list li { font-size: 13px; color: var(--wh-text); padding: 8px 0; border-bottom: 1px solid #f0e8dc; }
.wh-plan-card__list li::before { content: '✓ '; color: var(--wh-accent); }
.wh-plan-card .wh-btn { margin: 0 24px 24px; width: calc(100% - 48px); }

/* ─────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────── */
.wh-faq-group { margin-bottom: 48px; }
.wh-faq-group__cat {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: var(--wh-main);
  border-bottom: 2px solid var(--wh-accent);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.wh-faq-item { margin-bottom: 20px; }
.wh-faq-item__q {
  background: var(--wh-main);
  color: #fff;
  padding: 14px 20px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.wh-faq-item__q span, .wh-faq-item__a span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}
.wh-faq-item__a {
  background: #FAF8F4;
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.9;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.wh-faq-item__a span { color: var(--wh-accent); }

/* ─────────────────────────────────────────────────
   会社概要テーブル
───────────────────────────────────────────────── */
.wh-company-table { width: 100%; border-collapse: collapse; }
.wh-company-table th, .wh-company-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e8e0d5;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.wh-company-table th {
  width: 160px;
  color: var(--wh-accent);
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  background: #fff;
  white-space: nowrap;
}
.wh-company-table td { background: #FAF8F4; color: var(--wh-text); }

/* ─────────────────────────────────────────────────
   アクセスマップ
───────────────────────────────────────────────── */
.wh-map-wrap { width: 100%; border: 1px solid #e8e0d5; margin-bottom: 12px; }
.wh-map-wrap iframe { display: block; }
.wh-map-link { margin-bottom: 16px; }
.wh-map-link a { font-size: 13px; color: var(--wh-accent); text-decoration: none; }
.wh-access-info { font-size: 14px; color: var(--wh-text); line-height: 1.8; }

/* ─────────────────────────────────────────────────
   お問い合わせフォーム
───────────────────────────────────────────────── */
.wh-contact-form { margin-bottom: 48px; }
.wh-form__row { margin-bottom: 20px; }
.wh-form__label { display: block; font-size: 13px; color: var(--wh-main); margin-bottom: 6px; font-family: 'Noto Serif JP',serif; }
.wh-form__req { display: inline-block; background: var(--wh-accent); color: #fff; font-size: 10px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }
.wh-form__input, .wh-form__select, .wh-form__textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d8cfc4;
  background: #fff;
  font-size: 14px;
  color: var(--wh-text);
  font-family: 'Noto Sans JP', sans-serif;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.wh-form__input:focus, .wh-form__select:focus, .wh-form__textarea:focus { border-color: var(--wh-accent); }
.wh-form__textarea { resize: vertical; }
.wh-form__row--check { display: flex; align-items: center; }
.wh-form__check { font-size: 13px; color: var(--wh-text); cursor: pointer; }
.wh-form__check input { margin-right: 8px; }
.wh-form__submit { margin-top: 24px; }
.wh-form__note { font-size: 11px; color: #999; margin-top: 8px; }
.wh-contact-info {
  background: #F2EDE4;
  padding: 28px 32px;
  border-left: 3px solid var(--wh-accent);
}
.wh-contact-info__title { font-family: 'Noto Serif JP',serif; font-size: 15px; color: var(--wh-main); margin-bottom: 8px; }
.wh-contact-info__tel { font-family: 'Cormorant Garamond',serif; font-size: 28px; color: var(--wh-accent); margin-bottom: 4px; }
.wh-contact-info__hours { font-size: 12px; color: #888; }

/* ─────────────────────────────────────────────────
   内部ページ CTA
───────────────────────────────────────────────── */
.wh-inner-cta { text-align: center; }
.wh-inner-cta__text { font-size: 15px; line-height: 2; color: var(--wh-text); margin-bottom: 28px; }

/* ─────────────────────────────────────────────────
   施工事例 一覧・詳細
───────────────────────────────────────────────── */
.wh-works-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.wh-filter-btn {
  display: inline-block;
  padding: 6px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  border: 1px solid #ccc;
  color: var(--wh-text) !important;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s;
}
.wh-filter-btn:hover, .wh-filter-btn.is-active {
  background: var(--wh-accent);
  border-color: var(--wh-accent);
  color: #fff !important;
  opacity: 1;
}
.wh-pagination { margin-top: 48px; text-align: center; }
.wh-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 2px;
  border: 1px solid #ddd;
  color: var(--wh-text);
  text-decoration: none;
  font-size: 13px;
}
.wh-pagination .page-numbers.current { background: var(--wh-accent); border-color: var(--wh-accent); color: #fff; }
.wh-no-posts { text-align: center; color: #999; padding: 60px 0; }
.wh-works-hero {
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}
.wh-works-hero__overlay { position: absolute; inset: 0; background: rgba(20,15,8,0.45); }
.wh-works-hero__content { position: relative; z-index: 2; padding: 0 40px; color: #fff; }
.wh-works-hero__cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  border: 1px solid var(--wh-sub);
  color: var(--wh-sub);
  padding: 3px 12px;
  margin-bottom: 10px;
}
.wh-works-hero__title { font-family: 'Noto Serif JP',serif; font-size: clamp(20px,3vw,32px); color: #fff; margin: 0 !important; }

.wh-works-info { background: var(--wh-main); }
.wh-works-info__list { display: flex; flex-wrap: wrap; gap: 0; padding: 0; }
.wh-works-info__item { display: flex; gap: 8px; padding: 16px 32px; border-right: 1px solid rgba(255,255,255,0.1); }
.wh-works-info__item:last-child { border-right: none; }
.wh-works-info__item dt { font-family: 'Cormorant Garamond',serif; font-size: 11px; letter-spacing: 0.15em; color: var(--wh-sub); white-space: nowrap; }
.wh-works-info__item dd { font-size: 13px; color: #fff; }

.wh-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  color: var(--wh-main);
  margin-bottom: 32px;
}
.wh-section-title span {
  display: block;
  font-family: 'Cormorant Garamond',serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--wh-accent);
  margin-bottom: 4px;
}

.wh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.wh-gallery-grid__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.wh-points-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.wh-point-item {
  background: var(--wh-base);
  border-top: 2px solid var(--wh-accent);
  padding: 24px;
}
.wh-point-item__num { font-family: 'Cormorant Garamond',serif; font-size: 32px; color: var(--wh-sub); display: block; margin-bottom: 8px; }
.wh-point-item__text { font-size: 14px; line-height: 1.9; color: var(--wh-text); }

.wh-voice-block {
  background: #F2EDE4;
  border-left: 3px solid var(--wh-accent);
  padding: 32px;
  font-size: 15px;
  line-height: 2;
  color: var(--wh-text);
  font-style: italic;
  margin: 0;
}

.wh-works-body { padding: 72px 0; }
.wh-works-gallery { padding: 72px 0; background: #F2EDE4; }
.wh-works-points { padding: 72px 0; }
.wh-works-voice { padding: 72px 0; background: #F2EDE4; }
.wh-related-works { padding: 72px 0; background: #F2EDE4; }
.wh-works-nav { padding: 40px 0; }

/* ─────────────────────────────────────────────────
   SWELL: ヘッダー・フッター suppress for custom templates
───────────────────────────────────────────────── */
.wh-home #content, .wh-inner-page #content,
.wh-works-archive #content, .wh-single-works #content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.wh-home .post_content, .wh-inner-page .post_content,
.wh-works-archive .post_content, .wh-single-works .post_content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ─────────────────────────────────────────────────
   Responsive
───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .wh-section { padding: 56px 0; }
  .wh-feature-row { grid-template-columns: 1fr; gap: 24px; }
  .wh-feature-row--reverse .wh-feature-row__img { order: 0; }
  .wh-feature-row--reverse .wh-feature-row__body { order: 0; }
  .wh-flow-steps { gap: 0; }
  .wh-flow-step { min-width: 100%; border-right: none; border-bottom: 1px solid var(--wh-sub); }
  .wh-flow-step:last-child { border-bottom: none; }
  .wh-plans { grid-template-columns: 1fr; }
  .wh-price-guide { flex-direction: column; gap: 2px; }
  .wh-company-table th { width: 100px; }
  .wh-works-info__list { flex-direction: column; }
  .wh-works-info__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .wh-flow-detail__step { grid-template-columns: 80px 1fr; gap: 16px; }
  .wh-fv__ctas { flex-direction: column; align-items: center; }
}
.wh-header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 12px;
}

@media (max-width: 1199px) {
  .wh-header-cta { display: none !important; }
}

@media (min-width: 960px) {
  .l-header .l-header__inner.l-container,
  #header.l-header .l-header__inner.l-container,
  #fix_header .l-fixHeader__inner.l-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: clamp(12px, 2.5vw, 40px) !important;
    padding-right: clamp(12px, 2.5vw, 40px) !important;
    box-sizing: border-box !important;
  }
  .l-header__inner.wh-cta-active .l-header__gnav,
  .l-fixHeader__inner.wh-cta-active .l-fixHeader__gnav {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .wh-header-cta {
    margin-left: clamp(8px, 1.5vw, 20px);
  }
}

.wh-header-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  margin-right: 4px;
  margin-top: 4px;
}

.wh-header-tel__num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-family: 'Noto Serif JP', serif;
  color: var(--wh-main) !important;
  position: relative;
  top: 2px;
}

.wh-header-tel__hours {
  font-size: 10px;
  letter-spacing: 0;
  white-space: nowrap;
  color: #666666 !important;
}

.wh-hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.04em;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none !important;
}

.wh-hbtn svg { flex-shrink: 0; }

.wh-hbtn--showroom {
  background: transparent;
  border: 2px solid var(--wh-main);
  color: var(--wh-main) !important;
}

.wh-hbtn--showroom:hover {
  background: var(--wh-main) !important;
  color: #ffffff !important;
}

.wh-hbtn--estimate {
  background: var(--wh-accent);
  border: 2px solid var(--wh-accent);
  color: #ffffff !important;
}

.wh-hbtn--estimate:hover {
  background: var(--wh-main) !important;
  border-color: var(--wh-main) !important;
  color: #ffffff !important;
}


/* ===== ヒーロー全幅化 2026-05-22 ===== */
.wh-fv {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
}


}


/* ===== wpautop対策: グリッド内の空p要素を非表示 2026-05-28 ===== */
[style*="display:grid"] > p:empty,
[style*="display: grid"] > p:empty {
  display: none !important;
}
/* ===== wpautop対策: wh-feature-row内の空p要素を非表示 2026-05-28 ===== */
.wh-feature-row > p:empty {
  display: none !important;
}
/* Fix: works-card always visible (disable fade animation) (2026-06-27) */
.works-card {
  opacity: 1 !important;
  transform: none !important;
}

/* === ヘッダーテキストロゴ縦潰れ防止 T10 (2026-06-28) === */
.l-header__logo { flex-shrink: 0 !important; }
.c-headLogo.-txt,
.c-headLogo.-txt .c-headLogo__link { white-space: nowrap !important; }
/* === /ヘッダーテキストロゴ縦潰れ防止 T10 === */
