/*
Theme Name: いこい工房 Lightning Child
Theme URI: https://azabit.net/ikoiko/
Description: いこい工房 バレルサウナサイト用 Lightning チャイルドテーマ
Author: あざbit
Author URI: https://azabit.net
Template: lightning
Version: 1.0.0
*/

/* 親テーマCSSはfunctions.phpで読み込む */

/* ========================================
   Base / Reset
======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { border: none; padding: 0; }

:root {
  --primary: #3d2e1e;
  --primary-light: #6b4c2e;
  --gold: #b8874a;
  --gold-light: #d4a86a;
  --text: #2a2218;
  --text-muted: #6b6055;
  --bg: #faf8f4;
  --bg-dark: #f0ebe2;
  --white: #ffffff;
  --border: #e0d8cc;
  --max: 1180px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.8;
}

/* Lightning のデフォルトスタイルをリセット */
#page, #wrapper, .site-content, .entry-content, .entry-body {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
.lp-is-fullwidth .entry-content,
.lightning-design-block-full-width {
  max-width: none !important;
}

/* ========================================
   ヘッダー
======================================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(61,46,30,0.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px; font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em; line-height: 1.2;
}
.logo-text small {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; color: var(--gold);
  letter-spacing: 0.3em; font-weight: 300;
}
.global-nav ul { list-style: none; display: flex; align-items: center; }
.global-nav ul li a {
  display: block; padding: 0 18px;
  height: 72px; line-height: 72px;
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--text); text-decoration: none;
  transition: all 0.2s; white-space: nowrap;
}
.global-nav ul li a:hover { color: var(--primary); background: #fff; }
.global-nav ul li a.current { color: var(--primary); box-shadow: inset 0 -3px 0 var(--gold); }
.nav-cta-item a {
  background: var(--gold) !important; color: var(--white) !important;
  margin-left: 12px;
  height: 40px !important; line-height: 40px !important;
  padding: 0 22px !important; border-radius: 2px; font-weight: 500 !important;
}
.nav-cta-item a:hover { background: var(--primary) !important; }

/* ハンバーガー */
.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.menu-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   内ページヒーロー（page-hero）
======================================== */
.page-hero {
  background: var(--primary);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(88deg, transparent, transparent 10px, rgba(255,255,255,0.012) 10px, rgba(255,255,255,0.012) 11px);
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; letter-spacing: 0.5em;
  color: var(--gold-light); text-transform: uppercase; margin-bottom: 10px;
}
.page-hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(26px, 3vw, 38px); font-weight: 600;
  color: #f0ebe2; letter-spacing: 0.05em;
}
.breadcrumb { margin-top: 14px; font-size: 12px; color: #6a5a4a; }
.breadcrumb a { color: #8a7060; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ========================================
   セクション共通
======================================== */
.section { padding: 88px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; letter-spacing: 0.5em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 3vw, 34px); font-weight: 600;
  color: var(--primary); letter-spacing: 0.05em; margin-bottom: 16px;
}
.section-desc { font-size: 14px; color: var(--text-muted); line-height: 2; max-width: 520px; margin: 0 auto 16px; }
.section-title-line { width: 48px; height: 2px; background: var(--gold); margin: 0 auto; }
.bg-light { background: #fff; }

/* ========================================
   ボタン
======================================== */
.btn-main {
  display: inline-block;
  background: var(--gold); color: var(--white);
  padding: 16px 40px; font-size: 14px; font-weight: 500;
  letter-spacing: 0.1em; text-decoration: none;
  border-radius: 2px; transition: all 0.25s;
}
.btn-main:hover { background: var(--primary); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--primary); color: var(--primary);
  padding: 13px 40px; font-size: 13px; letter-spacing: 0.15em;
  text-decoration: none; transition: all 0.25s;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sub {
  color: #c9b49a;
  font-size: 13px; letter-spacing: 0.15em; text-decoration: none;
  border-bottom: 1px solid rgba(201,180,154,0.4); padding-bottom: 2px;
  transition: all 0.25s;
}
.btn-sub:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ========================================
   CTA バナー
======================================== */
.cta-banner { background: var(--primary); padding: 88px 24px; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(88deg, transparent, transparent 10px, rgba(255,255,255,0.015) 10px, rgba(255,255,255,0.015) 11px);
}
.cta-banner-inner { max-width: var(--max); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-eyebrow { font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.5em; color: var(--gold-light); text-transform: uppercase; margin-bottom: 16px; }
.cta-title { font-family: 'Shippori Mincho', serif; font-size: clamp(22px, 3vw, 34px); font-weight: 600; color: #f0ebe2; margin-bottom: 14px; line-height: 1.6; }
.cta-sub { font-size: 14px; color: #a09080; line-height: 2; margin-bottom: 36px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-btn-primary { background: var(--gold); color: var(--white); padding: 18px 48px; font-size: 15px; font-weight: 500; letter-spacing: 0.1em; text-decoration: none; border-radius: 2px; transition: all 0.25s; display: inline-block; }
.cta-btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.cta-btn-secondary { background: transparent; color: #c9b49a; border: 1px solid rgba(201,180,154,0.4); padding: 18px 48px; font-size: 14px; letter-spacing: 0.1em; text-decoration: none; border-radius: 2px; transition: all 0.25s; display: inline-block; }
.cta-btn-secondary:hover { border-color: var(--gold-light); color: var(--gold-light); }
.cta-free { margin-top: 20px; font-size: 12px; color: #6a5a4a; letter-spacing: 0.1em; }

/* ========================================
   フッター
======================================== */
.site-footer { background: var(--text); color: #a09080; border-top: none; }
.footer-main {
  max-width: var(--max); margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand .logo-text { color: #f0ebe2; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 12px; line-height: 2; }
.footer-sns { display: inline-flex; align-items: center; gap: 8px; color: #887060; text-decoration: none; font-size: 12px; letter-spacing: 0.1em; margin-top: 16px; transition: color 0.2s; }
.footer-sns:hover { color: var(--gold-light); }
.footer-nav h4 { font-size: 11px; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul a { font-size: 13px; color: #887060; text-decoration: none; transition: color 0.2s; }
.footer-nav ul a:hover { color: var(--gold-light); }
.footer-contact h4 { font-size: 11px; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.footer-tel { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: #f0ebe2; letter-spacing: 0.05em; margin-bottom: 4px; }
.footer-hours { font-size: 11px; margin-bottom: 20px; }
.footer-contact-btn { display: block; background: var(--gold); color: var(--white); text-align: center; padding: 12px; text-decoration: none; font-size: 13px; letter-spacing: 0.1em; transition: background 0.25s; }
.footer-contact-btn:hover { background: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; text-align: center; font-size: 11px; color: #665040; }

/* ========================================
   スマホ固定CTA
======================================== */
.fixed-sp-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 2px solid var(--primary); display: none; z-index: 999; }
.fixed-sp-cta a { flex: 1; padding: 14px 8px; text-align: center; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-decoration: none; }
.fsp-tel { background: #fff; color: var(--primary); border-right: 1px solid var(--border); }
.fsp-contact { background: var(--gold); color: var(--white); }

/* ========================================
   トップページ — メインビジュアル
======================================== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--primary);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,12,5,0.75) 0%, rgba(40,28,15,0.55) 60%, rgba(20,12,5,0.4) 100%);
}
.hero-texture {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(85deg, transparent 0px, transparent 8px, rgba(255,255,255,0.012) 8px, rgba(255,255,255,0.012) 9px);
}
.steam-wrap { position: absolute; right: 20%; top: 8%; }
.steam-line { position: absolute; width: 2px; border-radius: 2px; background: linear-gradient(to top, rgba(201,180,154,0.6), transparent); animation: steamUp 3.5s ease-in-out infinite; }
.steam-line:nth-child(1) { left: 0; height: 80px; animation-delay: 0s; }
.steam-line:nth-child(2) { left: 18px; height: 60px; animation-delay: 1.1s; }
.steam-line:nth-child(3) { left: 36px; height: 90px; animation-delay: 0.5s; }
@keyframes steamUp {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-120px) scaleX(2); }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: 0 48px; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; letter-spacing: 0.5em;
  color: var(--gold-light); text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(36px, 5vw, 58px); line-height: 1.35;
  color: #f5f0e8; font-weight: 600; margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em { font-style: normal; color: var(--gold-light); }
.hero-sub { font-size: 15px; color: #c9b49a; line-height: 2; max-width: 460px; margin-bottom: 12px; opacity: 0.9; }
.hero-note { font-size: 12px; color: #a09080; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; align-items: center; }

/* ========================================
   トップページ — 3つの特徴
======================================== */
.features { background: var(--primary); padding: 0; }
.features-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.feature-item { padding: 44px 36px; border-right: 1px solid rgba(255,255,255,0.1); display: flex; align-items: flex-start; gap: 20px; transition: background 0.25s; }
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,0.06); }
.feature-icon { width: 48px; height: 48px; flex-shrink: 0; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-title { font-family: 'Shippori Mincho', serif; font-size: 16px; color: #f0ebe2; margin-bottom: 8px; font-weight: 600; }
.feature-desc { font-size: 13px; color: #a09080; line-height: 1.8; }

/* ========================================
   トップページ — 製品ラインナップ
======================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: all 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(61,46,30,0.15); border-color: var(--gold); }
.product-thumb { height: 220px; position: relative; overflow: hidden; }
.product-thumb-img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.5s ease; }
.product-card:hover .product-thumb-img { transform: scale(1.05); }
.thumb-1 { background: radial-gradient(ellipse at 50% 55%, #5a3d22 0%, #1e160e 75%); }
.thumb-3 { background: radial-gradient(ellipse at 55% 45%, #523820 0%, #1a120a 75%); }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--white); font-size: 10px; letter-spacing: 0.15em; padding: 4px 12px; }
.barrel-silhouette { position: absolute; bottom: 10px; right: 16px; opacity: 0.2; width: 80px; }
.product-body { padding: 28px 24px 22px; }
.product-name { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.product-target { font-size: 12px; color: var(--gold); letter-spacing: 0.05em; margin-bottom: 10px; }
.product-spec { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.product-price { font-size: 13px; color: var(--gold); font-weight: 500; letter-spacing: 0.05em; border-top: 1px solid var(--border); padding-top: 14px; }

/* ========================================
   トップページ — 施工事例グリッド
======================================== */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.works-grid .work-item:first-child { grid-row: span 2; }
.work-item { position: relative; overflow: hidden; background: var(--primary); cursor: pointer; }
.work-thumb { position: relative; overflow: hidden; }
.work-item:first-child .work-thumb { height: 480px; }
.work-item:not(:first-child) .work-thumb { height: 228px; }
.work-bg { position: absolute; inset: 0; transition: transform 0.5s ease; background-size: cover; background-position: center; }
.work-item:hover .work-bg { transform: scale(1.06); }
.work-tag { position: absolute; top: 16px; left: 16px; background: rgba(184,135,74,0.9); color: var(--white); font-size: 10px; letter-spacing: 0.2em; padding: 5px 12px; z-index: 2; }
.work-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 20px 16px; background: linear-gradient(to top, rgba(30,22,14,0.92), transparent); z-index: 2; }
.work-type { font-size: 10px; letter-spacing: 0.3em; color: var(--gold-light); margin-bottom: 4px; }
.work-name { font-family: 'Shippori Mincho', serif; font-size: 16px; color: #f0ebe2; }
.works-more { text-align: center; margin-top: 40px; }

/* ========================================
   トップページ — 購入の流れ
======================================== */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-steps::after { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 0; }
.flow-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 3px solid var(--bg-dark); }
.step-title { font-family: 'Shippori Mincho', serif; font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.step-desc { font-size: 12px; color: var(--text-muted); line-height: 1.8; }
.flow-note { text-align: center; margin-top: 40px; font-size: 13px; color: var(--text-muted); background: var(--bg); padding: 16px 24px; border-radius: 2px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ========================================
   バレルサウナとは — ページ固有
======================================== */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.intro-text h3 { font-family: 'Shippori Mincho', serif; font-size: 26px; font-weight: 600; color: var(--primary); margin-bottom: 24px; line-height: 1.6; }
.intro-text p { font-size: 14px; color: var(--text-muted); line-height: 2.2; margin-bottom: 18px; }
.intro-visual { display: flex; align-items: center; justify-content: center; }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-card { background: var(--white); border: 1px solid var(--border); padding: 40px 32px; transition: all 0.3s; }
.reason-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(61,46,30,0.1); }
.reason-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 16px; }
.reason-title { font-family: 'Shippori Mincho', serif; font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.reason-desc { font-size: 13px; color: var(--text-muted); line-height: 1.9; }
.heat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.heat-card { padding: 44px 40px; }
.heat-card.wood { background: var(--primary); }
.heat-card.elec { background: var(--white); border: 1px solid var(--border); }
.heat-tag { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 12px; }
.heat-card.wood .heat-tag { color: var(--gold-light); }
.heat-card.elec .heat-tag { color: var(--gold); }
.heat-name { font-family: 'Shippori Mincho', serif; font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.heat-card.wood .heat-name { color: #f0ebe2; }
.heat-card.elec .heat-name { color: var(--primary); }
.heat-features { list-style: none; }
.heat-features li { font-size: 13px; padding: 10px 0; border-bottom: 1px solid; }
.heat-card.wood .heat-features li { color: #c9b49a; border-color: rgba(255,255,255,0.1); }
.heat-card.elec .heat-features li { color: var(--text-muted); border-color: var(--border); }
.heat-features li::before { content: '—  '; }
.heat-card.wood .heat-features li::before { color: var(--gold-light); }
.heat-card.elec .heat-features li::before { color: var(--gold); }
.heat-rec { margin-top: 24px; font-size: 12px; padding: 12px 16px; border-radius: 2px; }
.heat-card.wood .heat-rec { background: rgba(255,255,255,0.06); color: #a09080; }
.heat-card.elec .heat-rec { background: #fff; color: var(--text-muted); }
.heat-rec strong { display: block; margin-bottom: 4px; color: var(--gold); font-size: 11px; letter-spacing: 0.2em; }

/* ========================================
   製品・料金 — ページ固有
======================================== */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; }
.model-card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.model-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(61,46,30,0.12); }
.model-head { background: var(--primary); padding: 32px 28px; min-height: 160px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; background-size: cover; background-position: center; position: relative; }
.model-head::before { content: ''; position: absolute; inset: 0; background: rgba(20,13,6,0.62); }
.model-head > * { position: relative; z-index: 1; }
.model-card.featured .model-head { background: var(--gold); }
.model-badge { font-size: 10px; letter-spacing: 0.25em; color: var(--gold-light); margin-bottom: 10px; }
.model-card.featured .model-badge { color: rgba(255,255,255,0.85); }
.model-name { font-family: 'Shippori Mincho', serif; font-size: 22px; font-weight: 600; color: #f0ebe2; }
.model-target { font-size: 12px; color: #d4c8b8; margin-top: 6px; }
.model-card.featured .model-target { color: rgba(255,255,255,0.75); }
.model-body { padding: 28px; flex: 1; }
.spec-list { list-style: none; margin-bottom: 0; }
.spec-list li { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.spec-list li:last-child { border-bottom: none; }
.spec-list li .label { color: var(--text-muted); }
.spec-list li .val { color: var(--primary); font-weight: 500; }
.model-foot { background: var(--primary); padding: 20px 28px; border-top: 2px solid var(--gold); font-size: 16px; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th { background: var(--primary); color: #f0ebe2; font-family: 'Shippori Mincho', serif; font-weight: 600; font-size: 14px; padding: 16px 20px; text-align: center; }
.compare-table th:first-child { background: #2a2218; text-align: left; }
.compare-table td { padding: 13px 20px; font-size: 13px; border-bottom: 1px solid var(--border); text-align: center; }
.compare-table td:first-child { text-align: left; color: var(--text-muted); font-size: 12px; background: #fff; }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: var(--gold); font-size: 17px; }
.dash { color: var(--border); }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.option-item { background: var(--white); border: 1px solid var(--border); padding: 28px; display: flex; gap: 20px; align-items: flex-start; transition: border-color 0.2s; }
.option-item:hover { border-color: var(--gold); }
.option-icon { width: 44px; height: 44px; background: #fff; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.option-title { font-family: 'Shippori Mincho', serif; font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.option-desc { font-size: 12px; color: var(--text-muted); line-height: 1.9; }

/* ========================================
   施工事例（一覧ページ）— ページ固有
======================================== */
.works-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.work-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: all 0.3s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(61,46,30,0.14); border-color: var(--gold); }
.work-photo { height: 200px; position: relative; overflow: hidden; }
.work-photo-bg { position: absolute; inset: 0; transition: transform 0.5s; background-size: cover; background-position: center; filter: blur(3px) brightness(0.55); transform: scale(1.05); }
.work-card:hover .work-photo-bg { transform: scale(1.05); }
.work-photo-tag { position: absolute; top: 16px; left: 16px; background: rgba(184,135,74,0.92); color: var(--white); font-size: 10px; letter-spacing: 0.2em; padding: 5px 14px; z-index: 1; }
.work-photo-placeholder { background: var(--primary); }
.work-info { padding: 28px; }
.work-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.work-area { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.work-model { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; }
.work-title { font-family: 'Shippori Mincho', serif; font-size: 19px; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.work-desc { font-size: 13px; color: var(--text-muted); line-height: 1.9; }
.works-note { text-align: center; margin-top: 48px; font-size: 13px; color: var(--text-muted); }
.works-more-note { text-align: center; margin-top: 32px; padding-bottom: 8px; }
.works-more-note p { font-family: 'Shippori Mincho', serif; font-size: 14px; letter-spacing: 0.2em; color: var(--text-muted); margin: 16px 0; }
.works-more-line { width: 48px; height: 1px; background: var(--gold); margin: 0 auto; }

/* ========================================
   よくある質問 — ページ固有
======================================== */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 52px; }
.faq-category-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px; font-weight: 600; color: var(--primary);
  padding: 0 0 14px 20px; border-bottom: 2px solid var(--gold);
  margin-bottom: 4px; position: relative;
}
.faq-category-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 20px 16px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q:hover { background: #fff; }
.faq-q-text { font-size: 14px; font-weight: 500; color: var(--primary); line-height: 1.6; text-align: left; }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 16px; font-weight: 300; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 16px 20px 16px; font-size: 13px; color: var(--text-muted); line-height: 2.1; }
.faq-item.open .faq-a { display: block; }

/* ========================================
   会社案内 — ページ固有
======================================== */
.message-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.message-text .section-label { text-align: left; }
.message-text h2 { font-family: 'Shippori Mincho', serif; font-size: clamp(22px, 2.5vw, 30px); font-weight: 600; color: var(--primary); margin-bottom: 28px; line-height: 1.7; }
.message-text p { font-size: 14px; color: var(--text-muted); line-height: 2.3; margin-bottom: 18px; }
.message-sig { margin-top: 32px; font-family: 'Shippori Mincho', serif; font-size: 16px; color: var(--primary); }
.message-sig span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; letter-spacing: 0.05em; }
.message-photo { background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; height: 400px; }
.photo-placeholder { text-align: center; color: var(--text-muted); }
.photo-placeholder svg { margin-bottom: 12px; opacity: 0.4; }
.photo-placeholder p { font-size: 12px; letter-spacing: 0.1em; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table th { text-align: left; padding: 18px 24px; font-size: 13px; font-weight: 500; color: var(--text-muted); background: #fff; width: 200px; white-space: nowrap; }
.company-table td { padding: 18px 24px; font-size: 14px; color: var(--text); }
.business-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.business-card { padding: 40px 36px; }
.business-card.main { background: var(--primary); }
.business-card.sub { background: var(--white); border: 1px solid var(--border); }
.biz-label { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 12px; }
.business-card.main .biz-label { color: var(--gold-light); }
.business-card.sub .biz-label { color: var(--gold); }
.biz-title { font-family: 'Shippori Mincho', serif; font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.business-card.main .biz-title { color: #f0ebe2; }
.business-card.sub .biz-title { color: var(--primary); }
.biz-desc { font-size: 13px; line-height: 2; }
.business-card.main .biz-desc { color: #a09080; }
.business-card.sub .biz-desc { color: var(--text-muted); }
.biz-list { list-style: none; margin-top: 16px; }
.biz-list li { font-size: 12px; padding: 6px 0; border-bottom: 1px solid; }
.business-card.main .biz-list li { color: #c9b49a; border-color: rgba(255,255,255,0.1); }
.business-card.sub .biz-list li { color: var(--text-muted); border-color: var(--border); }
.biz-list li::before { content: '— '; }
.business-card.main .biz-list li::before { color: var(--gold-light); }
.business-card.sub .biz-list li::before { color: var(--gold); }
.access-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.access-info h3 { font-family: 'Shippori Mincho', serif; font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.access-info dl { font-size: 14px; }
.access-info dt { color: var(--text-muted); font-size: 12px; letter-spacing: 0.1em; margin-top: 16px; margin-bottom: 4px; }
.access-info dd { color: var(--text); line-height: 1.8; }
.access-map { background: #fff; border: 1px solid var(--border); height: 280px; display: flex; align-items: center; justify-content: center; }
.map-placeholder { text-align: center; color: var(--text-muted); }
.map-placeholder svg { margin-bottom: 10px; opacity: 0.4; }
.map-placeholder p { font-size: 12px; letter-spacing: 0.08em; }

/* ========================================
   無料相談（お問い合わせ）— ページ固有
======================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.form-block { background: var(--white); border: 1px solid var(--border); padding: 48px; }
.form-group { margin-bottom: 28px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--primary); margin-bottom: 8px; letter-spacing: 0.05em; }
.form-label .req { background: var(--gold); color: var(--white); font-size: 10px; padding: 2px 8px; border-radius: 2px; margin-left: 8px; letter-spacing: 0.1em; }
.form-label .opt { background: #fff; color: var(--text-muted); font-size: 10px; padding: 2px 8px; border-radius: 2px; margin-left: 8px; letter-spacing: 0.1em; }
.form-input, .form-select, .form-textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); background: var(--bg);
  font-family: 'Noto Sans JP', sans-serif; font-size: 14px; color: var(--text);
  transition: border-color 0.2s; border-radius: 0; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus,
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-textarea, .wpcf7-form textarea { height: 160px; resize: vertical; line-height: 1.8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 6px; line-height: 1.7; }
.form-submit,
.wpcf7-form input[type="submit"] {
  width: 100%; padding: 18px;
  background: var(--gold); color: var(--white);
  font-family: 'Noto Sans JP', sans-serif; font-size: 15px; font-weight: 500;
  letter-spacing: 0.15em; border: none; cursor: pointer; transition: background 0.25s; margin-top: 8px;
}
.form-submit:hover, .wpcf7-form input[type="submit"]:hover { background: var(--primary); }
.form-privacy { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 16px; line-height: 1.8; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.side-card { padding: 32px 28px; }
.side-card.tel-card { background: var(--primary); }
.side-card.info-card { background: var(--white); border: 1px solid var(--border); }
.side-label { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 12px; }
.side-card.tel-card .side-label { color: var(--gold-light); }
.side-card.info-card .side-label { color: var(--gold); }
.side-tel { font-family: 'Cormorant Garamond', serif; font-size: 34px; color: #f0ebe2; letter-spacing: 0.05em; margin-bottom: 4px; }
.side-tel a { color: inherit; text-decoration: none; }
.side-hours { font-size: 12px; color: #a09080; margin-bottom: 20px; }
.side-tel-note { font-size: 12px; color: #6a5a4a; line-height: 1.8; }
.side-info-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.side-info-list li { font-size: 13px; color: var(--text-muted); display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.side-info-list li::before { content: '✓'; color: var(--gold); flex-shrink: 0; font-size: 14px; }

/* ========================================
   施工体制セクション
======================================== */
.trust-section { background: var(--primary); }
.trust-message { text-align: center; margin-bottom: 56px; }
.trust-title { font-family: 'Shippori Mincho', serif; font-size: clamp(22px, 3vw, 34px); color: var(--white); line-height: 1.7; letter-spacing: 0.05em; margin-bottom: 16px; }
.trust-sub { font-family: 'Shippori Mincho', serif; font-size: 15px; color: var(--gold-light); letter-spacing: 0.1em; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item { text-align: center; }
.trust-icon { width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.trust-item-title { font-family: 'Shippori Mincho', serif; font-size: 14px; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 8px; }
.trust-item-desc { font-size: 13px; color: #c9b49a; line-height: 1.8; }

/* ========================================
   施工実績モザイク
======================================== */
.works-mosaic { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 220px); gap: 4px; }
.mosaic-img { background-size: cover; background-position: center; filter: brightness(0.45); }
.mosaic-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; z-index: 2; background: rgba(0,0,0,0.25); }
.mosaic-stat { font-family: 'Cormorant Garamond', serif; font-size: 80px; color: var(--white); line-height: 1; margin-bottom: 4px; }
.mosaic-stat span { font-size: 28px; }
.mosaic-label { font-family: 'Shippori Mincho', serif; font-size: 18px; color: var(--gold-light); letter-spacing: 0.15em; margin-bottom: 20px; }
.mosaic-title { font-family: 'Shippori Mincho', serif; font-size: 32px; color: var(--white); letter-spacing: 0.1em; line-height: 1.5; margin-bottom: 22px; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.mosaic-desc { font-size: 13px; color: rgba(240,235,226,0.85); line-height: 2; margin-bottom: 32px; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.mosaic-btn { border-color: rgba(240,235,226,0.6); color: #f0ebe2; }
.mosaic-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ========================================
   ブログ
======================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(61,46,30,0.12); border-color: var(--gold); }
.blog-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-thumb { overflow: hidden; }
.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.blog-date { font-family: 'Cormorant Garamond', serif; font-size: 12px; color: var(--gold); letter-spacing: 0.1em; }
.blog-meta .cat-item { list-style: none; }
.blog-meta .cat-item a { font-size: 10px; letter-spacing: 0.15em; color: var(--text-muted); border: 1px solid var(--border); padding: 2px 10px; }
.blog-title { font-family: 'Shippori Mincho', serif; font-size: 17px; font-weight: 600; color: var(--primary); margin-bottom: 10px; line-height: 1.6; }
.blog-title a { color: inherit; text-decoration: none; }
.blog-title a:hover { color: var(--gold); }
.blog-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.blog-more { font-size: 12px; color: var(--gold); letter-spacing: 0.1em; }
.blog-pagination { text-align: center; margin-top: 48px; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.blog-pagination .page-numbers { padding: 8px 16px; border: 1px solid var(--border); font-size: 13px; color: var(--primary); }
.blog-pagination .page-numbers.current { background: var(--primary); color: var(--white); border-color: var(--primary); }
.blog-empty { text-align: center; color: var(--text-muted); padding: 60px 0; }

/* ========================================
   記事詳細
======================================== */
.single-post-wrap { max-width: 800px; margin: 0 auto; }
.single-post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.single-post-thumb { margin-bottom: 40px; }
.single-post-thumb img { width: 100%; height: auto; display: block; }
.single-post-content { font-size: 15px; line-height: 2; color: var(--text); }
.single-post-content h2 { font-family: 'Shippori Mincho', serif; font-size: 22px; color: var(--primary); margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.single-post-content h3 { font-family: 'Shippori Mincho', serif; font-size: 18px; color: var(--primary); margin: 32px 0 12px; }
.single-post-content p { margin-bottom: 20px; }
.single-post-content img { max-width: 100%; height: auto; margin: 24px 0; }
.single-post-nav { margin-top: 56px; text-align: center; }

/* ========================================
   レスポンシブ — タブレット (〜1023px)
======================================== */
@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow-steps::after { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .option-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-side { display: grid; grid-template-columns: 1fr 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .company-table th { width: 140px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   レスポンシブ — スマホ (〜767px)
======================================== */
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .logo-img { width: 40px; height: 40px; }
  .logo-text { font-size: 15px; }
  .menu-toggle { display: flex; }
  .global-nav {
    display: none; position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(61,46,30,0.12); z-index: 99;
  }
  .global-nav.open { display: block; }
  .global-nav ul { flex-direction: column; }
  .global-nav ul li a { height: auto; line-height: 1.5; padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .nav-cta-item a { height: auto !important; line-height: 1.5 !important; padding: 16px 24px !important; margin-left: 0; border-radius: 0; text-align: center; }
  .section { padding: 60px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 32px; }
  .fixed-sp-cta { display: flex; }
  .page-hero { padding: 40px 20px; }
  .cta-banner { padding: 60px 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-btn-primary, .cta-btn-secondary { width: 100%; text-align: center; padding: 16px 24px; }
  /* トップページ */
  .hero { height: auto; min-height: 520px; }
  .hero-content { padding: 72px 24px 44px; }
  .steam-wrap { display: none; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 16px; }
  .btn-main { text-align: center; }
  .features-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .feature-item:last-child { border-bottom: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-thumb { height: auto; aspect-ratio: 4 / 3; background: #fff; }
  .model-grid { grid-template-columns: 1fr !important; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .work-item:first-child { grid-row: span 1; }
  .work-item:first-child .work-thumb { height: 280px; }
  .work-item:not(:first-child) .work-thumb { height: 220px; }
  .flow-steps { grid-template-columns: 1fr; gap: 32px; }
  .works-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(4, 140px); }
  .mosaic-stat { font-size: 56px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-title { font-size: 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  /* 内ページ */
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-visual { display: none; }
  .reasons-grid { grid-template-columns: 1fr; }
  .heat-grid { grid-template-columns: 1fr; }
  .heat-card { padding: 32px 24px; }
  .works-list { grid-template-columns: 1fr; gap: 24px; }
  .work-photo { height: 240px; }
  .message-grid { grid-template-columns: 1fr; gap: 32px; }
  .message-photo { height: 260px; }
  .company-table th { width: 110px; padding: 14px 16px; }
  .company-table td { padding: 14px 16px; font-size: 13px; }
  .access-inner { grid-template-columns: 1fr; }
  .business-card { padding: 28px 24px; }
  .form-block { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 12px; }
}
