/*
Theme Name: KHS Landing Page
Theme URI: https://re-goal.co.jp
Author: 関東ハウスサービス
Author URI: https://re-goal.co.jp
Description: 関東ハウスサービス 集客特化ランディングページ用WordPressテーマ
Version: 1.0.0
License: Private
Text Domain: khs-lp
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #1D9E75;
  --green-dark: #0F6E56;
  --green-light: #E1F5EE;
  --orange: #D85A30;
  --orange-light: #FAECE7;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: #e0e0e0;
  --bg-light: #f8f8f6;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 6px;
  --max-w: 900px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
}

/* ===== LAYOUT ===== */
.lp-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION BASE ===== */
.lp-section {
  padding: 64px 0;
}

.lp-section--alt {
  background: var(--bg-light);
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
}

.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
}

/* ===== STICKY HEADER ===== */
#lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.header-logo span {
  color: var(--green);
}

.header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
  line-height: 1;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn--line {
  background: #06C755;
  color: #fff;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}

.btn--orange {
  background: var(--orange);
  color: #fff;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ===== HERO ===== */
#lp-hero {
  background: linear-gradient(135deg, #0d4a35 0%, #1D9E75 60%, #3abf90 100%);
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

#lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  border-bottom: 3px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
}

.hero-sub {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== TRUST STRIP ===== */
#lp-trust {
  background: var(--text);
  color: #fff;
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.trust-item:last-child { border-right: none; }

.trust-num {
  font-size: 34px;
  font-weight: 700;
  color: #4ecca8;
  line-height: 1;
  margin-bottom: 4px;
}

.trust-label {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.4;
}

/* ===== ABOUT / 事業紹介 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.service-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.4;
}

/* ===== 施工事例 ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}

.work-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.work-body {
  padding: 16px;
}

.work-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.work-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.works-more {
  text-align: center;
  margin-top: 32px;
}

/* ===== 浴室リフォーム 新サービス ===== */
#lp-bathroom {
  background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
  border-top: 4px solid var(--orange);
}

.bathroom-header {
  text-align: center;
  margin-bottom: 40px;
}

.new-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* 2カラム */
.bathroom-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.bathroom-checklist {
  padding: 0;
}

.bathroom-lead {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.problem-list {
  list-style: none;
  margin: 0 0 20px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.5;
}

.problem-list li:last-child { border-bottom: none; }

.problem-list li::before {
  content: '✗';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.solution-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.6;
}

.bathroom-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-light);
}

.bathroom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* キャンペーンバナー（独立・目立つ） */
.campaign-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #D85A30, #e8763a);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(216,90,48,0.35);
}

.campaign-banner__icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}

.campaign-banner__title {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.campaign-banner__sub {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
}

/* CTAボタン中央 */
.bathroom-cta {
  text-align: center;
}

/* ===== お悩みチェックリスト ===== */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 40px 0;
}

.worry-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.15s, background 0.15s;
  cursor: default;
}

.worry-item:hover {
  border-color: var(--green);
  background: var(--green-light);
}

.worry-check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.15s;
}

.worry-item:hover .worry-check {
  border-color: var(--green);
}

.worry-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.worry-cta {
  text-align: center;
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 24px;
}

.worry-cta p {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
}

/* ===== お客様の声 ===== */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.voice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.voice-stars {
  color: #f5a623;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.voice-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
}

.voice-name {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ===== FLOW ===== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% / 3);
  right: calc(50% / 3);
  height: 2px;
  background: var(--green);
  z-index: 0;
}

.flow-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.flow-num {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.flow-step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.flow-step-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== 問い合わせ ===== */
#lp-contact {
  background: var(--green-dark);
  color: #fff;
}

.contact-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-sub {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 40px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.contact-method-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.contact-method-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.contact-method-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-method-card p {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* フォーム */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  text-align: left;
  margin-top: 32px;
}

.contact-form h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-required {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.15);
}

.form-row textarea { height: 120px; resize: vertical; }

.form-privacy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 16px 0;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: inherit;
}

.form-submit:hover { opacity: 0.85; }

/* ===== フッター ===== */
#lp-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 28px 0;
  font-size: 13px;
}

/* ===== FLOATING LINE ===== */
.float-line {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-line-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(6,199,85,0.45);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  animation: pulse 2.5s ease-in-out infinite;
}

.float-line-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(6,199,85,0.55);
  color: #fff;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(6,199,85,0.45); }
  50% { box-shadow: 0 4px 30px rgba(6,199,85,0.7); }
}

/* ===== RESPONSIVE ===== */

/* タブレット（768px以下） */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-image-wrap { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .works-grid { grid-template-columns: 1fr; }

  .bathroom-cols { grid-template-columns: 1fr; gap: 24px; }
  .bathroom-photo { aspect-ratio: 4/3; }

  .voices-grid { grid-template-columns: 1fr; }

  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flow-steps::before { display: none; }

  .contact-methods { grid-template-columns: 1fr; }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
  .lp-section { padding: 40px 0; }
  .lp-container { padding: 0 16px; }

  /* ヘッダー */
  .header-cta .btn--outline { display: none; }
  .header-logo { font-size: 13px; }

  /* ヒーロー */
  .hero-inner { gap: 20px; }
  .hero-eyebrow { font-size: 11px; }
  .hero-sub { font-size: 14px; }
  .hero-badges { gap: 6px; }
  .hero-badge { font-size: 12px; padding: 4px 10px; }
  .hero-cta-group { flex-direction: column; gap: 10px; }
  .hero-cta-group .btn { width: 100%; justify-content: center; text-align: center; }

  /* トラストバー */
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 12px 16px;
  }
  .trust-item:last-child { border-bottom: none; }
  .trust-num { font-size: 28px; }

  /* 事業紹介 */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-card { padding: 16px 12px; }
  .service-icon { font-size: 28px; }
  .service-name { font-size: 13px; }

  /* 施工事例 */
  .works-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-title { font-size: 14px; }
  .work-desc { font-size: 12px; }

  /* 浴室リフォーム */
  .bathroom-header { text-align: left; }
  .bathroom-cols { gap: 20px; }
  .bathroom-photo { aspect-ratio: 4/3; }
  .problem-list li { font-size: 14px; padding: 9px 0; }
  .solution-box { font-size: 13px; }
  .campaign-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px 16px;
  }
  .campaign-banner__icon { font-size: 28px; }
  .campaign-banner__title { font-size: 15px; }
  .bathroom-cta .btn { width: 100%; justify-content: center; }

  /* お悩み */
  .worry-grid { grid-template-columns: 1fr; gap: 8px; }
  .worry-text { font-size: 13px; }
  .worry-cta { padding: 24px 16px; }
  .worry-cta p { font-size: 15px; }
  .worry-cta .btn { width: 100%; justify-content: center; }

  /* お客様の声 */
  .voices-grid { grid-template-columns: 1fr; gap: 14px; }

  /* フロー */
  .flow-steps { grid-template-columns: 1fr; gap: 20px; }
  .flow-steps::before { display: none; }
  .flow-num { width: 44px; height: 44px; font-size: 17px; }
  .flow-step-title { font-size: 14px; }
  .flow-step-text { font-size: 12px; }

  /* お問い合わせ */
  .contact-title { font-size: 20px; }
  .contact-sub { font-size: 13px; }
  .contact-methods { grid-template-columns: 1fr; gap: 12px; }
  .contact-method-card { padding: 18px 14px; }
  .contact-form { padding: 20px 14px; }
  .contact-form h3 { font-size: 16px; }
  .form-submit { font-size: 15px; padding: 14px; }

  /* フローティングLINE */
  .float-line { bottom: 16px; right: 16px; }
  .float-line-btn { font-size: 13px; padding: 11px 16px; gap: 7px; }
}

/* ===== ビフォーアフタースライダー ===== */
.ba-slider {
  position: relative;
  cursor: ew-resize;
  user-select: none;
  overflow: hidden;
}

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-after {
  z-index: 1;
}

.ba-before {
  z-index: 2;
  width: 50%; /* 初期位置50% */
  overflow: hidden;
}

.ba-after img,
.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Before側の画像は親の幅に関係なく元の比率で表示 */
.ba-before img {
  width: auto;
  min-width: 100%;
  max-width: none;
}

.ba-badge-after {
  background: var(--green) !important;
  right: 10px;
  left: auto;
}

.ba-badge-before {
  background: #666 !important;
  left: 10px;
  right: auto;
}

/* ドラッグハンドル */
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.ba-handle-line {
  flex: 1;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.ba-handle-circle {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  flex-shrink: 0;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: -2px;
}

/* スライダーヒント */
.ba-slider::after {
  content: '← スライドして比較 →';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 4;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
}

.ba-slider.ba-active::after {
  opacity: 0;
}

/* ===== Before/After 横並び固定レイアウト ===== */
.work-image-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  aspect-ratio: 2/1;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.ba-side {
  position: relative;
  overflow: hidden;
}

.ba-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Before：左上ラベル（緑） */
.ba-label {
  position: absolute;
  top: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.05em;
}

.ba-label--before {
  left: 10px;
  background: var(--green);
}

/* After：右上ラベル（赤） */
.ba-label--after {
  right: 10px;
  background: #D32F2F;
}

/* 中央に仕切り線 */
.ba-side--before {
  border-right: 2px solid #fff;
}

/* ===== LINE一本化 お問い合わせセクション ===== */
.line-contact-box {
  max-width: 560px;
  margin: 0 auto;
}

.line-contact-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.line-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: #fff;
}

.line-feature-item span {
  font-weight: 600;
}

/* 大きなLINEボタン */
.btn--line-large {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #06C755;
  color: #fff;
  border-radius: 16px;
  padding: 20px 28px;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 6px 24px rgba(6,199,85,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-bottom: 20px;
}

.btn--line-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6,199,85,0.6);
  color: #fff;
}

.line-large-icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}

.line-large-text {
  flex: 1;
  text-align: left;
}

.line-large-text strong {
  display: block;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  margin-bottom: 4px;
}

.line-large-text small {
  font-size: 13px;
  opacity: 0.9;
}

.line-large-arrow {
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.line-contact-note {
  font-size: 13px;
  opacity: 0.75;
  text-align: center;
  line-height: 1.6;
}

/* SP対応 */
@media (max-width: 480px) {
  .line-contact-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .btn--line-large {
    padding: 16px 20px;
    gap: 12px;
  }
  .line-large-icon { font-size: 28px; }
}

/* ===== 断熱浴室リフォーム セクション ===== */
.heatshock-section {
  background: #EEF6FF;
  border: 1.5px solid #B3D9F5;
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 32px;
}

/* キャッチ＆導入 */
.hs-hero {
  text-align: center;
  margin-bottom: 32px;
}

.hs-newbadge {
  display: inline-block;
  background: #1565C0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hs-catch {
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 700;
  color: #1565C0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.hs-target {
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

/* 3カラム メリット */
.hs-merits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hs-merit-card {
  background: #fff;
  border: 1px solid #B3D9F5;
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.hs-icon {
  display: block;
  font-size: 30px;
  margin-bottom: 10px;
}

.hs-merit-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1565C0;
  margin-bottom: 6px;
}

.hs-merit-card p {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* 比較表 */
.hs-table-wrap {
  overflow-x: auto;
}

.hs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.hs-th {
  padding: 12px 16px;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid #B3D9F5;
}

.hs-th--label {
  text-align: left;
  color: var(--text-muted);
  width: 30%;
  background: #f5f5f5;
}

.hs-th--old {
  color: #666;
  background: #f5f5f5;
  width: 35%;
  font-size: 13px;
}

.hs-th--old span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-top: 3px;
}

.hs-th--new {
  background: #E1F5EE;
  color: #0F6E56;
  border-bottom-color: #1D9E75;
  width: 35%;
}

.hs-td {
  padding: 12px 16px;
  border-bottom: 0.5px solid #e0e0e0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.hs-td--label {
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.hs-td--old { color: #555; }
.hs-td--ng  { color: #bbb; }
.hs-td--new { background: #F0FBF6; color: #0F6E56; }

.hs-table-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: right;
}

@media (max-width: 768px) {
  .hs-merits { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  .heatshock-section { padding: 24px 16px; }
  .hs-merits { grid-template-columns: 1fr; }
  .hs-table { font-size: 12px; }
  .hs-td { font-size: 15px; padding: 10px 10px; }
  .hs-th, .hs-td--label { padding: 10px 10px; font-size: 12px; }
}
