﻿@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700;800&display=swap');
/*@import url('https://googleapis.com');*/
/* ===================================================
   ワックスカクチ style.css ? PC width:1200px
   ベージュ系プロフェッショナルデザイン
=================================================== */

/* ---------- Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size: 16px; scroll-behavior:smooth}
body{font-family:'M PLUS Rounded 1c','Hiragino Kaku Gothic ProN','Meiryo',sans-serif;font-size:20px;color:#3A4960;background:#f5ede0;line-height:1.85}
body .big{font-size:16px;color:#E98864;font-weight:bold;line-height:1.8em}
a{color:inherit;text-decoration:none;transition:opacity .2s}
a:hover{opacity:.75}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
.clearfix::after{content:'';display:table;clear:both}

/* ---------- Wrapper（1200px固定） ---------- */
#site-wrap,
#wrapper{max-width:1200px;margin:0 auto;background:#fff;box-shadow:0 2px 24px rgba(180,140,80,.12)}

/* ===== SEO BAR ===== */
#seo-bar{width: 1200px; margin:0 auto 0 auto; background:#fff;padding:5px 10px;text-align:left}
#seo-bar p{font-size:10px;color:#a09080;letter-spacing:.08em}
#seo-bar span{color:#c8a05a;margin:0 6px}

/* ---------- HEADER ---------- */
.waxkakuchi_logo{widh:368px; height:50px;}/*修正前は150-45だった*/

/* ---------- HEADER ---------- */
/*#site-header{background:#fff;border-bottom:1px solid #BFB197;position:sticky;top:0;z-index:100}*/
/* 修正後 */
#site-header {
  background: #fff;
  border-bottom: 1px solid #BFB197;
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate; /* ← 追加 20260508 */
}
.header-inner{max-width:1200px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between}
.header-logo{display:flex;flex-direction:column}
.header-logo a{display:flex;flex-direction:column}
.logo-ja{font-size:22px;font-weight:800;letter-spacing:.1em;color:#DDB86F}
.logo-en{font-size:10px;letter-spacing:.25em;color:#c8a05a;text-transform:uppercase;margin-top:2px}
.header-tel{text-align:right}
.tel-label{font-size:10px;letter-spacing:.15em;color:#c8a05a;font-weight:700;display:block}
.tel-number{font-size:30px;font-weight:800;color:#3A4960;letter-spacing:.05em}
.tel-hours{font-size:10px;color:#999;display:block;margin-top:2px}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--beige);
  position: relative;
}
/* ==SP版メニューHEADER END 20260505追記=========*/




/* =============================================
   CSS Variables
   ============================================= */
:root {
  --gold:        #b8954a;
  --gold-dark:   #8b7030;
  --gold-light:  #d4b06a;
  --gold-pale:   #f5efd8;
  --brown:       #6b4e2a;
  --brown-light: #9d7a50;
  --cream:       #faf8f2;
  --beige:       #ede8dc;
  --accent:      #c0703a;
  --text-dark:   #2a1f10;
  --text-mid:    #5a4028;
  --text-light:  #9a8060;
  --white:       #ffffff;
  --shadow-gold: 0 4px 20px rgba(184, 149, 74, 0.18);
  --shadow-card: 0 6px 28px rgba(100, 70, 30, 0.12);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
  /* スマホオーバーレイメニュー色 */
  --sp-overlay-bg:   #7a5c2e;
  --sp-overlay-text: #ffffff;
  --sp-overlay-sub:  rgba(255,255,255,0.68);
  --sp-divider:      rgba(255,255,255,0.18);
}
/* ==CSS Variables END 20260505追記================*/


/* ---------- GLOBAL NAV ---------- */
.global-nav{background:#A18048;max-width:1200px;margin:0 auto}
#footer-nav-wrap #global-nav{max-width:100%;margin:0}
.nav-inner{max-width:1200px;margin:0 auto}
.nav-list{display:flex;justify-content:space-between}
/*.nav-item{flex:1}*/

/* 5/1追記分 */
/* ── PC グローバルナビ ── */
/*
.global-nav {
  background: var(--gold);
}

.global-nav ul {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

.global-nav ul li {
  flex: 1;
}

.global-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition);
  text-align: center;
  gap: 3px;
}

.global-nav ul li a span {
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.85;
  font-weight: 400;
}

.global-nav ul li a:hover,
.global-nav ul li a.active {
  background: var(--gold-dark);
}

.global-nav ul li:first-child a {
  border-left: 1px solid rgba(255,255,255,0.2);
}
*/
/* 追記分おわり */




.nav-item{flex:1;position:relative}/*メニューの下にプルダウン配置*/

.nav-item a{display:flex;flex-direction:column;align-items:center;padding:11px 4px;border-top:1px solid #E7D7C4;border-right:1px solid #E7D7C4;transition:background .2s}
.nav-item:first-child a{border-left:1px solid #E7D7C4}
.nav-item a:hover,.nav-item.active a{background:#c8a05a;opacity:1}
.nav-item a:hover .nav-ja,.nav-item.active a .nav-ja,
.nav-item a:hover .nav-en,.nav-item.active a .nav-en{color:#fff}
.nav-ja{font-size:12px;font-weight:600;color:#fff;letter-spacing:.04em}
.nav-en{font-size:8px;letter-spacing:.12em;color:#fff;margin-top:2px;text-transform:uppercase}

/* プルダウン */
.nav-dropdown{display:none;position:absolute;top:100%;left:0;min-width:180px;background:#A18048;border-top:2px solid #c8a05a;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:300}
.nav-dropdown a{display:block;padding:11px 18px;font-size:13px;color:#fff;border-bottom:1px solid #f0e8d8;transition:background .2s}
.nav-dropdown a:hover{background:#E7D8C5;color:#A18048;opacity:1}/* A18048*/
.nav-item:hover .nav-dropdown,.nav-item:focus-within .nav-dropdown{display:block}
/*.has-dropdown>a::after{content:' ↓';font-size:9px;color:#fff;margin-top:1px}*/


/*--
.nav-contact a{background:#c8a05a}
.nav-contact .nav-ja,.nav-contact .nav-en{color:#fff}
.nav-contact a:hover{background:#a88040}
--*/




/* ==============================================
   ★ [CSS A-START]
   スマホ専用ヘッダーバー .sp-header
   PCでは非表示。600px以下の @media 内で表示します。
   ============================================== */
.sp-header {
  display: none; /* PC では非表示 */
}

/* ==============================================
   ★ [CSS B-START]
   スマホ専用オーバーレイメニュー .sp-menu-overlay
   PCでは非表示。600px以下の @media 内で制御します。
   ============================================== */
.sp-menu-overlay {
  display: none;  /*PC では非表示 5/5修正*/
}

/* ==============================================
   ★ [CSS C-START]
   @media (max-width: 600px)
   スマホ専用スタイルすべて。この {} の中が対象範囲。
   ============================================== */
@media (max-width: 768px) {

  /* PC専用要素を隠す */
  .header-inner,
  .global-nav {
    display: none;
/*   display: block !important;*/
  }
  .nav-menu{
   display: none;/* 初期は非表示 */
  }

  /* メリット3つ：スマホでは1カラム */
  .merit-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .merit-section {
    padding: 32px 16px;
  }

  /* ------------------------------------------
     .sp-header : スマホ固定ヘッダーバー
     ------------------------------------------ */
  .sp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 14px;
    background: #fff;
    border-bottom: 2px solid var(--gold-light);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(107, 78, 42, 0.1);
  }

  /* 電話ボタン（左） */
  .sp-tel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    color: #FFFFFF;/*#DDB96F*/
    font-size: 17px;
    flex-shrink: 0;
    transition: background var(--transition);
  }
  .sp-tel-btn:hover {
    background: var(--gold-dark);
  }

  /* ロゴ（中央） */
  .sp-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    line-height: 1.2;
  }
  .sp-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 0.03em;
    font-style: italic;
  }
  .sp-logo-sub {
    font-size: 9px;
    letter-spacing: 0.18em;
/*    color: var(--text-light);*/
    color: #fff;
    margin-top: 1px;
  }

  /* ハンバーガーボタン（右） */
  .sp-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
  }
  .hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold-dark);
    border-radius: 2px;
    transition: background var(--transition);
  }
  .sp-menu-btn:hover .hamburger-bar {
    background: var(--gold);
  }
  .sp-menu-label {
    font-size: 9px;
    letter-spacing: 0.14em;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 500;
  }

  /* ------------------------------------------
     .sp-menu-overlay : フルスクリーンオーバーレイ
     ------------------------------------------ */
  .sp-menu-overlay {
/*
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--sp-overlay-bg);
    z-index: 300;
    overflow-y: auto;
    padding: 0 0 40px;    初期：右へスライドアウト 
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition:
      transform  0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity    0.35s ease,
      visibility 0s linear 0.35s;
*/
  display: block !important;   /* ← !important を追加 */
  position: fixed !important;  /* ← fixed を確実に効かせる */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--sp-overlay-bg);
  z-index: 9999;               /* ← 300 → 9999 に変更（他要素との競合回避） */
  overflow-y: auto;
  padding: 0 0 40px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition:
    transform  0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity    0.35s ease,
    visibility 0s linear 0.35s;

  }

  /* 開いた状態 */
  .sp-menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition:
      transform  0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity    0.35s ease,
      visibility 0s linear 0s;
  }

  /* 閉じるボタン（右上） */
  .sp-menu-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--sp-overlay-text);
  }
  .close-icon {
    font-size: 20px;
    line-height: 1;
  }
  .close-label {
    font-size: 9px;
    letter-spacing: 0.14em;
    opacity: 0.75;
    font-weight: 500;
  }

  /* ナビリスト */
  .sp-nav-list {
    margin-top: 64px;
    padding: 0 28px;
  }

  /* 各アイテム */
  .sp-nav-item {
    border-bottom: 1px solid var(--sp-divider);
  }
  .sp-nav-item:first-child {
    border-top: 1px solid var(--sp-divider);
  }

  /* 通常リンク */
  .sp-nav-link {
    display: block;
    padding: 18px 4px;
    color: var(--sp-overlay-text);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: opacity var(--transition);
  }
  .sp-nav-link:hover {
    opacity: 0.72;
  }

  /* 親ボタン（サービス ? アコーディオン） */
  .sp-nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sp-overlay-text);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: inherit;
    text-align: left;
  }

  /* アコーディオン矢印 */
  .sp-arrow {
    font-size: 12px;
    transition: transform 0.28s ease;
    opacity: 0.75;
  }
  .sp-arrow.is-rotated {
    transform: rotate(180deg);
  }

  /* 子メニュー（初期：閉じた状態） */
  .sp-nav-child {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    padding: 0 0 0 16px;
  }
  .sp-nav-child.is-open {
    max-height: 200px;
  }
  .sp-nav-child li {
    border-top: 1px solid var(--sp-divider);
  }
  .sp-nav-child li a {
    display: block;
    padding: 14px 8px;
/*    color: var(--sp-overlay-sub);*/
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: opacity var(--transition);
  }
  .sp-nav-child li a:hover {
    opacity: 0.7;
  }
  .sp-child-dash {
    margin-right: 8px;
    opacity: 0.6;
    font-size: 12px;
  }



} /* ★ [CSS C-END] @media (max-width: 600px) のスマホ版メニュー終わり */










/* ---------- MAIN ---------- */
#main{padding:0}
#contents{width:100%}

/* ---------- 区切り曲線（上・下） ---------- */
.wrap {
  overflow: hidden;
}
.curveline_box01 {
  background: #E6D7C4;
  border-bottom-left-radius: 1200px 100px;
  border-bottom-right-radius: 1200px 100px;
  height: 50px;
  position: relative;
  z-index:20;
}
.curveline_box02 {
  margin: 0 auto 0 auto;
  background: #E6D7C4;
  border-top-left-radius: 1200px 100px;
  border-top-right-radius: 1200px 100px;
  height: 50px;
  position: relative;/*relative,absolute,fixed（固定）*/
  z-index:20;
}


/* ---------- HERO SLIDER ---------- */
.hero-slider{position:relative;width:100%;background:#E6D7C4;overflow:hidden}
.slider-track{position:relative;height:500px}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease}
.slide.active{opacity:1}
.slide-bg{width:100%;height:100%;object-fit:cover;filter:brightness(.97)}
.slide-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(58,46,34,.7) 0%,rgba(200,160,90,.35) 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:24px}
.slide-overlay h2{font-size:34px;font-weight:900;letter-spacing:.1em;text-shadow:0 2px 8px rgba(0,0,0,.5);line-height:1.4}
.slide-overlay p{font-size:13px;letter-spacing:.12em;margin-top:12px;opacity:.9}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(58,46,34,.5);color:#fff;border:none;font-size:18px;width:42px;height:42px;cursor:pointer;z-index:10;transition:background .2s}
.slider-btn:hover{background:#c8a05a}
.slider-btn.prev{left:12px}
.slider-btn.next{right:12px}
.slider-dots{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:10}
.slider-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.5);border:none;cursor:pointer;padding:0;transition:background .3s}
.slider-dot.active{background:#fff}
.dot{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;transition:background .2s}
.dot.active{background:#c8a05a}

/* ---------- SECTION 共通 ---------- */
.page-section{width: 95%; margin: 0 auto 0 auto; padding:52px 32px}
.page-section.bg-beige{background:#FFFFFF}
.page-section.bg-cream{background:#faf4eb}
.section-title{font-size:26px;font-weight:800;letter-spacing:.1em;color:#3A4960;border-left:4px solid #E98864;padding-left:14px;margin-bottom:28px}
.section-title span{font-size:11px;letter-spacing:.2em;color:#c8a05a;display:block;margin-top:4px;font-weight:600;text-transform:uppercase}
.section-lead{color:#6a5a48;margin-bottom:28px;line-height:1.9;font-size:14px}
p.attention{color:#E98864;}
p span{font-size:18px;letter-spacing:.2em;color:#39485F;}
p.orange_big, div.orange_big, { font-size: 18px; letter-spacing: .2em; color: #FC8F70; font-weight: bold;}
div.greeting-text a { font-size: 20px; letter-spacing: .2em; color:#E98864; font-weight: bold;}
.page-section img{width:100%;border-radius:20px}


/* ---------- PAGE HERO（初期） ---------- */
/*
.page-hero{background:linear-gradient(135deg,#3A4960 0%,#6a5038 100%);border-bottom:3px solid #BFB197;padding:48px 24px;text-align:center}
.page-title{font-size:32px;font-weight:800;letter-spacing:.15em;color:#fff}
.page-subtitle{font-size:12px;letter-spacing:.25em;color:#c8a05a;margin-top:6px;text-transform:uppercase}
*/

/* ---------- PAGE HERO(カーブデザインの大見出し) ---------- */
.page-hero-curve-design {
  background: #BFAF98;
  border-bottom-left-radius: 1000px 200px;
  border-bottom-right-radius: 1200px 200px;
  height: 170px;
  text-align: center;
  padding-top: 20px;
  margin-bottom: 50px;
  position: relative;
  z-index:1;
}

.page-title{font-size:32px;font-weight:800;letter-spacing:.15em;color:#fff}
.page-subtitle{font-size:12px;letter-spacing:.25em;color:#fff;margin-top:6px;text-transform:uppercase}




/* ──index.html内の Concept セクション全体 ── */
.concept-section {
  background: none;
  padding: 60px 20px;
}

.concept-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* ── 左カラム（ベージュ背景・テキスト側） ── */
.concept-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

/* ラベル・見出し */
.concept-label {
  font-size: 13px;
  color: #D8A95A;
  margin: 0 0 6px;
  letter-spacing: 0.12em;
}

.concept-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #3A4960;
  margin: 0 0 16px;
  letter-spacing: 0.08em;
}

.concept-divider {
  border: none;
  border: 1px dotted #E4D5C2;
  margin: 0 0 16px;
}

.concept-sublabel {
  font-size: 14px;
  color: #D8A95A;
  margin: 0 0 10px;
}

/* 本文 */
.concept-body {
  font-size: 14px;
  line-height: 1.85;
  color: #3A4960;
}

.concept-body p {
  margin: 0 0 10px;
}

.concept-body em {
  font-style: normal;
  font-weight: 700;
  color: #E98864;
}

/* ボタン */
/*
.concept-btn-wrap {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.concept-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #5a4628;
  color: #f5f0d6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.concept-btn:hover {
  background: #3b2e1e;
  transform: translateY(-1px);
  color: #f5f0d6;
}

.concept-btn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f5f0d6;
  flex-shrink: 0;
}
*/

/* ── 右カラム（白背景・大見出し側） ── */
.concept-right {
  flex: 0 0 42%;
  background: #E6D7C4;
  border: 1px solid #BEB09A;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  min-height: 260px;
}

.concept-main-text {
  font-family: 'Sawarabi Gothic', sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.55;
  color: #3b2e1e;
  margin: 0;
  letter-spacing: 0.04em;
}

.concept-highlight {
  color: #E88865;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .concept-inner {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .concept-right {
    flex: none;
    min-height: 180px;
    padding: 32px 28px;
  }

  .concept-main-text {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
}
/* ──index.html内の Concept セクション全体 END ── */













/* ---------- CTA ボタン ---------- */
.cta-block{text-align:center;margin-top:44px}
.btn-primary{display:inline-block;background:#c8a05a;color:#fff;font-size:15px;font-weight:600;letter-spacing:.1em;padding:16px 48px;border:none;cursor:pointer;transition:background .2s,transform .15s;border-radius:20px}
.btn-primary:hover{background:#a88040;transform:translateY(-2px);opacity:1}

/* ---------- GREETING BOX ---------- */
.greeting-box{background:#fffdf8;border:2px solid #e8d0a0;border-radius:20px;padding:32px;box-shadow:0 3px 16px rgba(200,160,90,.1)}
.greeting-photo{float:left;width:160px;height:200px;margin:0 28px 16px 0;border:0px solid #e8d0a0;background:#f0e8d8;overflow:hidden;border-radius:20px;flex-shrink:0}
.greeting-photo img{width:100%;height:100%;object-fit:cover}
.greeting-photo.no-photo{display:flex;align-items:center;justify-content:center;font-size:12px;color:#c8a05a;text-align:center;padding:12px}
.greeting-text p{font-size:18px;color:#4a3c2c;line-height:2;margin-bottom:14px}
.highlight{background:linear-gradient(transparent 60%,#fde9a0 60%);font-weight:700;color:#3A4960}
.sign{font-size:20px;color:#888;text-align:right;margin-top:8px;margin-bottom:0 !important}
.fun-note{font-size:12px;color:#b09070;border-top:1px dashed #e8d0a0;padding-top:12px;margin-top:8px}

/* ---------- ケーニッヒ認定証 BOX ---------- */
.certificate-photo{float:left;width:300px;height:225px;margin:0 28px 16px 0;border:3px solid #e8d0a0;background:#f0e8d8;overflow:hidden;border-radius:20px;flex-shrink:0}
.certificate-photo img{width:100%;height:100%;object-fit:cover}

@media (max-width: 600px) {
  .certificate-photo{
    float: none;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 0 16px 0;
  }
}


/* ---------- PR BOX ---------- */
.pr-box{background:#fffdf8;border:2px solid #e8d0a0;border-radius:20px;padding:32px;box-shadow:0 3px 16px rgba(200,160,90,.1)}
.pr-photo{float:right;width:220px;height:160px;margin:0 0 16px 28px;border:3px solid #e8d0a0;background:#f0e8d8;overflow:hidden;border-radius:20px;flex-shrink:0}
.pr-photo img{width:100%;height:100%;object-fit:cover}
.pr-lead{font-size:22px;font-weight:800;color:#E98864;text-align:center;border:2px solid #c8a05a;padding:12px;margin-bottom:20px;border-radius:20px;letter-spacing:.04em;background:#fffbf0}
.pr-text h4{font-size:20px;font-weight:700;color:#3A4960;margin:16px 0 6px;border-bottom:1px solid #e8d0a0;padding-bottom:4px}
.pr-text p{font-size:16px;color:#4a3c2c;line-height:1.9;margin-bottom:50px}
.merit-list{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 50px 0}
.merit-tag{background:#fdf0d8;border:1px solid #e8c880;color:#8a6020;font-size:16px;padding:5px 12px;border-radius:20px;font-weight:600}

/* ---------- REASON GRID ---------- */
.reason-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.reason-card{background:#fff;border:1px solid #e8d8c0;border-radius:20px 20px 20px 20px;overflow:hidden;box-shadow:0 2px 8px rgba(180,140,80,.08);transition:transform .2s,box-shadow .2s}
.reason-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(180,140,80,.15)}

.reason-thumb{
	height:210px;
	overflow:hidden;
	background:#ffffff;/*#E88865;*/
  display: flex;           /* 親要素指示 */
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央 */
}
.reason-thumb img{width:100%;height:100%;border-radius:20px 20px 0 0;object-fit:cover;transition:transform .3s}

.point_big{font-size:50px;color:#fff;text-align:center;}
.point_nomal{font-size:20px;color:#fff;text-align:center;}

.reason-card:hover .reason-thumb img{transform:scale(1.05)}
.reason-body{padding:18px 16px}
.reason-num{font-size:10px;letter-spacing:.2em;color:#c8a05a;font-weight:700;margin-bottom:6px;text-transform:uppercase}
.reason-body h4{font-size:14px;font-weight:800;color:#3A4960;margin-bottom:8px;line-height:1.5}
.reason-body p{font-size:12px;color:#6a5a48;line-height:1.85}

/* ---------- NEWS GRID ---------- */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.news-card{background:#fff;border:1px solid #e8d8c0;overflow:hidden;transition:box-shadow .2s,transform .2s}
.news-card:hover{box-shadow:0 6px 20px rgba(180,140,80,.13);transform:translateY(-3px)}
.news-thumb{height:140px;overflow:hidden;background:#e8dcc8}
.news-thumb img{width:100%;height:100%;border-radius:20px 20px 0 0;object-fit:cover;transition:transform .3s}
.news-card:hover .news-thumb img{transform:scale(1.05)}
.news-body{padding:12px 14px 16px}
.news-date{font-size:10px;color:#b09070;letter-spacing:.06em}
.news-title{font-size:12px;font-weight:600;color:#3A4960;margin-top:5px;line-height:1.6}

/* ---------- PLAN GRID ---------- */
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:32px}
.plan-card{background:#fff;border:2px solid #e8d8c0;border-radius:20px;padding:28px 20px 24px;text-align:center;position:relative;box-shadow:0 3px 12px rgba(180,140,80,.08);transition:transform .2s,box-shadow .2s}
.plan-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(180,140,80,.15)}
.plan-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:#c8a05a;color:#fff;font-size:11px;font-weight:700;padding:4px 16px;border-radius:20px;letter-spacing:.1em;white-space:nowrap}

.plan-a{border-color:#A1D2A1;box-shadow:0 4px 20px rgba(200,160,90,.2)}
.plan-b{border-color:#DDB96F;box-shadow:0 4px 20px rgba(200,160,90,.2)}
.plan-c{border-color:#C79393;box-shadow:0 4px 20px rgba(200,160,90,.2)}

.plan-iconA{color:#A1D2A1;font-size:40px;margin-bottom:10px}
.plan-iconB{color:#DDB96F;font-size:40px;margin-bottom:10px}
.plan-iconC{color:#C79393;font-size:40px;margin-bottom:10px}

.plan-name{font-size:16px;font-weight:800;color:#3A4960;margin-bottom:8px}
.plan-freq{display:inline-block;background:#fdf0d8;border:1px solid #e8c880;color:#8a6020;font-size:13px;font-weight:700;padding:4px 16px;border-radius:20px;margin-bottom:18px;letter-spacing:.06em}
.plan-table{width:100%;border-collapse:collapse;font-size:13px}
.plan-table td{padding:7px 8px;border-top:1px solid #f0e8d8;text-align:left}
.plan-table td:first-child{width:30%;color:#6a5a48;}
.plan-price{font-size:20px;font-weight:700;color:#E88865;text-align:right !important}
.price-note{font-size:12px;color:#999;line-height:2;margin-bottom:8px;padding-left:4px}
.price-note p::before{content:'※ '}


/* ---------- PRICE（価格ページ）表タイプ１ ---------- */
.table_design {
  border-collapse: separate;
  table-layout: fixed;
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  text-align: center;
}
.table_design tr {
  background-color: #F7F1E8;
}
tr:first-child td:first-child {
  background-color: white;
  width: 300px;
}

.table_design tr:nth-child(even) {
  background-color: #fff;
}
.table_design th, .table_design td {
  font-size:20px;
  font-weight:700;
  color:#E88865;
  !important;
  border-radius: 20px;
  padding: 1em;
}
.table_design thead td {
  background-color: #B8AA8D;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.table_design tr th {
  color: #39485F;
}

@media screen and (max-width: 768px) {
  .table_design {
    border-radius: 0;
    text-align: left;
  }
  .table_design thead {
    display:none;
  }
  .table_design tr {
    background-color: unset;
  }
  .table_design th, .table_design td {
    display: block;
    border: 0;
    border-bottom: 1px solid #B7A98C;
  }
  .table_design tbody th{
    background: #B7A98C;
    color:#fff;
    text-align: center;
  }
  .table_design td::before{
    color:#827760;
    content: attr(data-label);
    background-color: #E6D6C4;
    font-weight: bold;
    display: inline-block;
    width: 40%;
    min-width: 4em;
    text-align: center;
    margin-right: 0.5em;
    padding: 4px;
    border-radius: 100vh;
  }
}




/* ---------- FLOW LIST ---------- */
.flow-list{margin-bottom:8px;list-style:none}
.flow-item{display:flex;align-items:flex-start;gap:20px;padding:24px 0;border-bottom:1px solid #ede5d8}
.flow-item:last-child{border-bottom:none}
.flow-step{flex-shrink:0;background:#F4EBDD;color:#E98864;font-size:18px;font-weight:800;letter-spacing:.12em;padding:8px 12px;min-width:70px;text-align:center;margin-top:4px;border-radius:10px}
.flow-body h4{font-size:15px;font-weight:700;margin-bottom:6px;color:#3A4960}
.flow-body p{font-size:13px;color:#6a5a48;line-height:1.9}

/* ---------- FAQ ---------- */
.faq-list{margin:0}
.faq-q{font-size:15px;font-weight:700;color:#3A4960;background:#FFFFFF;border-left:4px solid #c8a05a;padding:14px 18px;margin:0 0 2px}
.faq-q::before{content:'Q. ';color:#c8a05a}
.faq-a{font-size:13px;color:#4a3c2c;background:#fff;border:1px solid #ede5d8;border-top:none;padding:14px 18px 16px 22px;line-height:1.9;margin-bottom:16px}
.faq-a::before{content:'A. ';color:#888;font-weight:600}






/* ---------- WORKS ---------- */
.works-filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.filter-btn{background:#fff;border:1px solid #d8c8b0;color:#6a5a48;font-size:13px;padding:7px 18px;cursor:pointer;transition:all .2s;letter-spacing:.05em;border-radius:20px}
.filter-btn:hover,.filter-btn.active{background:#3A4960;border-color:#fff;color:#fff}
.works-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.works-card{background:#fff;border:1px solid #e8d8c0;border-radius:20px;overflow:hidden;box-shadow:0 2px 8px rgba(180,140,80,.07);transition:box-shadow .2s,transform .2s}
.works-card:hover{box-shadow:0 6px 20px rgba(180,140,80,.15);transform:translateY(-3px)}
.works-thumb{height:180px;overflow:hidden;background:#e8dcc8}
.works-thumb img{width:100%;height:100%;border-radius:20px 20px 0 0;object-fit:cover;transition:transform .3s}
.works-card:hover .works-thumb img{transform:scale(1.05)}
.works-body{padding:14px 16px 18px;border-radius:0 0 20px 20px}
.works-cat{display:inline-block;background:#c8a05a;color:#fff;font-size:10px;padding:2px 10px;letter-spacing:.1em;margin-bottom:8px;border-radius:20px}
.works-body h4{font-size:14px;font-weight:700;margin-bottom:6px;color:#3A4960}
.works-body p{font-size:12px;color:#7a6a58;line-height:1.8}
.voice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:8px}
.voice-card{background:#fff;border:1px solid #e8d8c0;border-top:3px solid #c8a05a;padding:20px 18px;box-shadow:0 2px 8px rgba(180,140,80,.06)}
.voice-cat{font-size:11px;font-weight:700;color:#c8a05a;letter-spacing:.1em;margin-bottom:10px}
.voice-text{font-size:13px;color:#4a3c2c;line-height:1.9;font-style:italic}
.voice-text::before{content:'「'}
.voice-text::after{content:'」'}

/* ---------- CONTACT ---------- */
.contact-wrap{max-width:680px;margin:0 auto}
.form-group{margin-bottom:28px}
.form-label{display:block;font-size:14px;font-weight:600;margin-bottom:8px;color:#3A4960}
.form-input,.form-textarea{width:100%;padding:12px 14px;border:1px solid #d8c8b0;font-size:14px;font-family:inherit;background:#fafaf7;transition:border-color .2s,box-shadow .2s;border-radius:20px;outline:none;color:#3A4960}
.form-input:focus,.form-textarea:focus{border-color:#c8a05a;box-shadow:0 0 0 3px rgba(200,160,90,.15);background:#fff}
.form-input.input-error,.form-textarea.input-error{border-color:#c0392b}
.form-textarea{resize:vertical}
.form-error{display:block;color:#c0392b;font-size:12px;margin-top:5px;min-height:16px}
.char-count{display:block;text-align:right;font-size:11px;color:#aaa;margin-top:4px}
.form-submit{text-align:center;margin-top:36px}
.btn-submit{min-width:200px;font-size:16px;padding:18px 60px;cursor:pointer}
.success-msg{text-align:center;background:#f0faf0;border:1px solid #a8d5a8;padding:40px 24px;color:#2d7a2d;font-size:16px;line-height:2;margin:24px 0}
.required-note{font-size:12px;color:#999}
.req{display:inline-block;background:#c0392b;color:#fff;font-size:10px;padding:1px 6px;border-radius:6px;margin-left:6px;vertical-align:middle}
.phone-block{text-align:center;padding:16px 0}
.phone-num{font-size:36px;font-weight:800;color:#3A4960;margin-bottom:10px}
.phone-num a{color:#3A4960}
.phone-num a:hover{color:#c8a05a;opacity:1}
.phone-hours{font-size:13px;color:#7a6a58;margin-bottom:4px}

/* ---------- ABOUT ---------- */
.info-table{width:100%;border-collapse:collapse;font-size:14px;margin-bottom:8px}
.info-table th,.info-table td{padding:14px 18px;border:1px solid #e0d4c0;vertical-align:top;text-align:left}
.info-table th{background:#F2E9DA;color:#E98864;font-weight:600;white-space:nowrap;width:160px}
.info-table tr:nth-child(even) td{background:#FFFFFF}
.info-table thead tr{background:#3A4960}
.info-table thead th{color:#c8a05a;padding:12px 16px;font-weight:600;letter-spacing:.06em;border:1px solid #5a4a38}
.about-profile{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap;margin-top:24px}
.profile-img{flex-shrink:0;width:160px}
.profile-img img{width:100%;border:0px solid #e8d0a0;border-radius:10px}
.profile-body{flex:1;min-width:240px}
.profile-name{font-size:18px;font-weight:800;color:#3A4960;margin-bottom:10px}
.profile-name span{font-size:12px;color:#c8a05a;letter-spacing:.15em;margin-left:8px}
.profile-body p{font-size:13px;color:#4a3c2c;margin-bottom:8px}
.about-sns{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px;align-items: center}
.about-sns img{width:110px;height:auto;}
.sns-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;color:#fff;font-size:13px;font-weight:700;letter-spacing:.06em;border-radius:10px;transition:opacity .2s}
.sns-btn:hover{opacity:.82}
.sns-btn.line{background:#06c755}
.sns-btn.insta{background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888)}
.sns-btn img{height:20px;width:auto}
.map-wrap{margin-top:8px}
.map-wrap iframe{display:block;border-radius:20px}

/* ---------- FOOTER SNS ---------- */
#footer-sns{background:#3A4960;max-width:1200px;margin:0 auto}
.footer-sns-inner{max-width:1200px;margin:0 auto;padding:24px;text-align:center}
.sns-lead{color:#FFFFFF;font-size:13px;margin-bottom:16px}
.sns-lead strong{color:#E98864}
.sns-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}



/* ===== 対応AREA SECTION ===== */

.area-section{
max-width:1200px;
width:100%;
margin:0 auto;
background:#3A4960;
padding:36px 48px;
/*margin-top:48px;*/
box-sizing:border-box;
}

.area-title{
font-size:16px;
font-weight:800;
color:#E98864;
letter-spacing:.15em;
text-align:center;
margin-bottom:22px
}

.area-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;
margin-bottom:24px
}

.area-item{
background:rgba(255,255,255,.06);
border:1px solid rgba(200,160,90,.25);
padding:10px 14px;
text-align:center
}

.area-item .area-city{
font-size:20px;
font-weight:700;
color:#fff
}

.area-item .area-towns{
font-size:10px;
color:#fff;
margin-top:4px;
line-height:1.6
}

.contact-note{
background:rgba(255,255,255,.04);
border:1px solid rgba(200,160,90,.2);
padding:20px 24px;
border-radius:10px
}

.contact-note h4{
font-size:13px;
font-weight:700;
color:#E98864;
margin-bottom:12px;
letter-spacing:.1em
}

.contact-note dl{
display:grid;
grid-template-columns:80px 1fr;
gap:6px 12px;
font-size:12px
}

.contact-note dt{
color:#E98864;
font-weight:700
}

.contact-note dd{
color:#fff;
line-height:1.75
}


/* ===== AREA SECTION ===== */
/* ===== タブレット版 ===== */
@media screen and (max-width:1024px){

.area-section{
padding:28px 24px;
}

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

}


/* ===== AREA SECTION ===== */
/* ===== スマホ版 ===== */
@media screen and (max-width:768px){

.area-section{
padding:24px 16px;
}

.area-grid{
grid-template-columns:1fr;
gap:10px;
}

.area-item .area-city{
font-size:18px;
}

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

.contact-note dt{
margin-top:8px;
}

}




/* ---------- FOOTER NAV ---------- */
#footer-nav-wrap{background:#3A4960;max-width:1200px;margin:0 auto}
#footer-nav-wrap .nav-list{border-top:1px solid #5a4a38}

/* ---------- PAGETOP ---------- */
#pagetop{text-align:right;padding:16px 32px 0}
#pagetop a{display:inline-block;background:#3A4960;color:#fff;font-size:20px;font-weight: 900;padding:8px 20px;letter-spacing:.1em;transition:background .2s;border-radius:30px}
#pagetop a:hover{background:#c8a05a;opacity:1}

/* ---------- FOOTER ---------- */
#site-footer{background:#3A4960;max-width:1200px;margin:0 auto;padding:18px 24px;text-align:center}
.copyright{font-size:11px;color:#FFFFFF;letter-spacing:.08em}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1200px){
  #site-wrap,#wrapper,#site-header,#global-nav,#footer-sns,#footer-nav-wrap,#site-footer{max-width:100%}
}
@media(max-width:768px){
  .header-inner{flex-direction:column;gap:10px;text-align:center}
  .nav-list{flex-wrap:wrap}
  .nav-item{flex:0 0 33.333%}
  .slider-track{height:260px}
  .slide-overlay h2{font-size:22px}
  .reason-grid,.news-grid,.plan-grid,.works-grid,.voice-grid{grid-template-columns:repeat(1,1fr)}
  .greeting-photo{width:120px;height:160px;margin:0 18px 12px 0}
  .pr-photo{width:160px;height:120px}
  .about-profile{flex-direction:column}
}
@media(max-width:480px){
  .nav-item{flex:0 0 50%}
  .reason-grid,.news-grid,.plan-grid,.works-grid,.voice-grid{grid-template-columns:1fr}
  .greeting-photo,.pr-photo{float:none;width:100%;height:300px;margin:0 0 16px 0}
  .phone-num{font-size:26px}
}





/*　床ワックス清掃ページ一式　*/
/* ========== プロに頼むメリット 4カラム ========== */
.merit-section {
  width: 95%;
  margin: 0 auto;
  padding: 52px 32px;
}

.merit-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.merit-card-4 {
  background: #fff;
  border: 1px solid #e8d8c0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(180,140,80,.09);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.merit-card-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(180,140,80,.18);
}

.merit-thumb-4 {
  height: 150px;
  overflow: hidden;
  position: relative;
}

.merit-thumb-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.merit-card-4:hover .merit-thumb-4 img {
  transform: scale(1.06);
}

/* 画像がない場合の背景色代用 */
.merit-thumb-4.bg-01 { background: linear-gradient(135deg, #E98864 0%, #c8a05a 100%); }
.merit-thumb-4.bg-02 { background: linear-gradient(135deg, #7aab8a 0%, #4a8a68 100%); }
.merit-thumb-4.bg-03 { background: linear-gradient(135deg, #6a84b0 0%, #3A4960 100%); }
.merit-thumb-4.bg-04 { background: linear-gradient(135deg, #b07a9a 0%, #7a4a6a 100%); }

.merit-thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.merit-thumb-icon .merit-num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .05em;
  opacity: .5;
}

.merit-thumb-icon .merit-icon-txt {
  font-size: 13px;
  letter-spacing: .18em;
  margin-top: 4px;
  font-weight: 700;
  opacity: .85;
}

.merit-card-body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.merit-card-label {
  font-size: 10px;
  font-weight: 700;
  color: #c8a05a;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.merit-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #3A4960;
  margin-bottom: 8px;
  line-height: 1.5;
}

.merit-card-text {
  font-size: 12px;
  color: #6a5a48;
  line-height: 1.85;
  flex: 1;
}

/* ========== 施工の流れ 3列3行グリッド ========== */
.flow-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}

/* 矢印コネクター */
.flow-grid-item {
  background: #fff;
  border: 1px solid #e8d8c0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(180,140,80,.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}

.flow-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(180,140,80,.15);
}

.flow-grid-thumb {
  height: 130px;
  overflow: hidden;
  position: relative;
}

.flow-grid-thumb img {
  width: 100%;
  height: 100%;
  border-radius:20px 20px 0 0;
  object-fit: cover;
  transition: transform .3s;
}

.flow-grid-item:hover .flow-grid-thumb img {
  transform: scale(1.05);
}

/* 画像なしの代用背景 */
.flow-grid-thumb.fbg-01 { background: linear-gradient(135deg, #f4e8d4 0%, #e8d0a8 100%); }
.flow-grid-thumb.fbg-02 { background: linear-gradient(135deg, #d4e8d4 0%, #a8d0a8 100%); }
.flow-grid-thumb.fbg-03 { background: linear-gradient(135deg, #d4dce8 0%, #a8b8d0 100%); }
.flow-grid-thumb.fbg-04 { background: linear-gradient(135deg, #e8d4d8 0%, #d0a8b0 100%); }
.flow-grid-thumb.fbg-05 { background: linear-gradient(135deg, #e8e0d4 0%, #c8b898 100%); }
.flow-grid-thumb.fbg-06 { background: linear-gradient(135deg, #FFE7BA 0%, #FBCF7C 100%); }

.flow-grid-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.flow-step-badge {
  background: #E98864;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 4px 14px;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
}

.flow-step-num-big {
  font-size: 56px;
  font-weight: 900;
  color: rgba(58,73,96,.15);
  line-height: 1;
  letter-spacing: .02em;
}

.flow-step-icon {
  font-size: 36px;
  margin-top: -8px;
}

.flow-grid-body {
  padding: 14px 16px 18px;
  flex: 1;
}

.flow-grid-title {
  font-size: 14px;
  font-weight: 800;
  color: #3A4960;
  margin-bottom: 6px;
  line-height: 1.5;
}

.flow-grid-text {
  font-size: 12px;
  color: #6a5a48;
  line-height: 1.85;
}

/* 行間の矢印（→） */
.flow-row-arrow {
  grid-column: 1 / -1;
  text-align: center;
  color: #c8a05a;
  font-size: 22px;
  letter-spacing: 40px;
  padding: 4px 0;
  line-height: 1;
}

/* ========== Before & After ========== */
.ba-section {
  width: 95%;
  margin: 0 auto;
  padding: 52px 32px;
}

.ba-title-block {
  text-align: center;
  margin-bottom: 36px;
}

.ba-main-title {
  font-size: 24px;
  font-weight: 900;
  color: #3A4960;
  letter-spacing: .1em;
}

.ba-main-title span {
  color: #E98864;
  font-size: 28px;
}

.ba-sub {
  font-size: 11px;
  letter-spacing: .25em;
  color: #c8a05a;
  margin-top: 6px;
  text-transform: uppercase;
  font-weight: 700;
}

/* タブ */
.ba-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e8d8c0;
  padding-bottom: 0;
}

.ba-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 700;
  color: #999;
  padding: 10px 24px;
  cursor: pointer;
  letter-spacing: .08em;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  font-family: inherit;
}

.ba-tab-btn.active {
  color: #E98864;
  border-bottom-color: #E98864;
}

.ba-tab-btn:hover {
  color: #c8a05a;
}

/* パネル */
.ba-panel {
  display: none;
}

.ba-panel.active {
  display: block;
}

.ba-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(180,140,80,.14);
}

.ba-side {
  position: relative;
}

.ba-side-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 5px 16px;
  border-radius: 20px;
}

.ba-side-label.before-label {
  background: #6a5a48;
  color: #fff;
}

.ba-side-label.after-label {
  background: #E98864;
  color: #fff;
}

.ba-img-wrap {
  height: 320px;
  overflow: hidden;
}

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

/* 画像なし代用 */
.ba-img-wrap.ba-before-bg {
  background: linear-gradient(135deg, #d4c8b4 0%, #b0a08c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-img-wrap.ba-after-bg {
  background: linear-gradient(135deg, #f0e8d0 0%, #dcc89c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-placeholder-txt {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
}

.ba-divider {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  box-shadow: 0 0 20px rgba(0,0,0,.08);
}

.ba-divider-arrow {
  font-size: 24px;
  color: #E98864;
  font-weight: 900;
}

.ba-divider-label {
  font-size: 9px;
  font-weight: 800;
  color: #c8a05a;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.ba-caption {
  padding: 14px 20px;
  background: #fffdf8;
  text-align: center;
  font-size: 13px;
  color: #6a5a48;
  line-height: 1.7;
  border-top: 1px solid #f0e8d8;
}

.ba-caption-before {
  background: #f5f0e8;
}

.ba-caption-after {
  background: #fff9f0;
}

/* ========== レスポンシブ ========== */
@media (max-width: 1024px) {
  .merit-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-grid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-row-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .merit-section,
  .ba-section {
    padding: 36px 16px;
  }
  .merit-grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .merit-card-4 {
    flex-direction: row;
    border-radius: 12px;
  }
  .merit-thumb-4 {
    width: 110px;
    height: auto;
    min-height: 110px;
    flex-shrink: 0;
    border-radius: 0;
  }
  .merit-thumb-icon .merit-num {
    font-size: 32px;
  }
  .flow-grid-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .flow-grid-thumb {
    height: 110px;
  }
  .ba-compare {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .ba-divider {
    width: 100%;
    height: 44px;
    flex-direction: row;
  }
  .ba-divider-arrow {
    transform: rotate(90deg);
  }
  .ba-divider-label {
    writing-mode: horizontal-tb;
  }
  .ba-img-wrap {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .merit-card-4 {
    flex-direction: column;
  }
  .merit-thumb-4 {
    width: 100%;
    height: 140px;
  }
}

/*　床ワックス清掃ページ一式　END*/


/* =============================================
   サービスのトップページ　SERVICE GRID ? 3 columns
   ============================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Service Card ── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(184, 149, 74, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(100, 70, 30, 0.18);
}

/* Thumbnail */
.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--beige);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  border-radius:20px 20px 0 0;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .card-thumb img {
  transform: scale(1.04);
}

.card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(107, 78, 42, 0.12) 100%
  );
  pointer-events: none;
}

/* Card body */
.card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  line-height: 1.4;
}

.card-title-en {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding-left: 16px;
  margin-top: -4px;
}

.card-desc {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-top: 8px;
  flex: 1;
}

/* CTA Button */
.card-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 28px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  align-self: flex-start;
  transition: background var(--transition), transform var(--transition);
}

.card-btn:hover {
  background: var(--gold-dark);
  transform: translateX(3px);
}


/* =============================================
   フロアコーティングページ　メリット GRID ? 3 columns
   ============================================= */
/* ========== プロに頼むメリット 3カラム ========== */
.merit-section {
  width: 95%;
  margin: 0 auto;
  padding: 52px 32px;
}

.merit-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.merit-card-3 {
  background: #fff;
  border: 1px solid #e8d8c0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(180,140,80,.09);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.merit-card-3:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(180,140,80,.18);
}

.merit-thumb-3 {
  height: 150px;
  overflow: hidden;
  position: relative;
}

.merit-thumb-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.merit-card-3:hover .merit-thumb-4 img {
  transform: scale(1.06);
}

/* 画像がない場合の背景色代用 */
.merit-thumb-3.bg-01 { background: linear-gradient(135deg, #E98864 0%, #c8a05a 100%); }
.merit-thumb-3.bg-02 { background: linear-gradient(135deg, #7aab8a 0%, #4a8a68 100%); }
.merit-thumb-3.bg-03 { background: linear-gradient(135deg, #6a84b0 0%, #3A4960 100%); }
.merit-thumb-3.bg-04 { background: linear-gradient(135deg, #b07a9a 0%, #7a4a6a 100%); }

.merit-thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.merit-thumb-icon .merit-num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .05em;
  opacity: .5;
}

.merit-thumb-icon .merit-icon-txt {
  font-size: 13px;
  letter-spacing: .18em;
  margin-top: 4px;
  font-weight: 700;
  opacity: .85;
}

.merit-card-body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.merit-card-label {
  font-size: 10px;
  font-weight: 700;
  color: #c8a05a;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.merit-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #3A4960;
  margin-bottom: 8px;
  line-height: 1.5;
}

.merit-card-text {
  font-size: 12px;
  color: #6a5a48;
  line-height: 1.85;
  flex: 1;
}

/* =============================================
   フロアコーティング本文の　肉球アイコン
   ============================================= */

/* ① アイコン全体のコンテナ */
.paw {
  display: inline-block;
  position: relative;   /* 子要素を絶対配置するための基準 */
  width: 26px;
  height: 24px;
  margin-right: 6px;        /* テキストとの間隔 */
  vertical-align: middle;   /* テキストと縦位置を揃える */
  flex-shrink: 0;           /* flex内で縮まないように */
}

/* ② 全パーツ共通（丸い肉球の基本形） */
.pad {
  position: absolute;       /* .paw を基準に自由配置 */
  background: #E98864;      /* 肉球の色 ← ここを変える */
  border-radius: 50%;        /* 円形に */
}

/* ③ メイン肉球（大きめの楕円） */
.main {
  width: 13px;
  height: 11px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* 横中央揃え */
  border-radius: 50% 50% 55% 55%; /* 下をやや広くして自然な形に */
}

/* ④ 指肉球 4つ（左外・左内・右内・右外） */
.t1 { width: 6px; height: 6px;  bottom: 11px; left: 0;    } /* 左外：低め */
.t2 { width: 6px; height: 7px;  bottom: 15px; left: 5px;  } /* 左内：高め */
.t3 { width: 6px; height: 7px;  bottom: 15px; right: 5px; } /* 右内：高め */
.t4 { width: 6px; height: 6px;  bottom: 11px; right: 0;   } /* 右外：低め */

/* ⑤ リスト行（肉球＋テキストの横並び） */
.list-item {
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 2.8;
  color:#4A3C2C;
  font-weight: bold;
}


/* =============================================
   RESPONSIVE ? Tablet (?900px)
   ============================================= */
@media (max-width: 900px) {
  .header-inner {
    padding: 14px 24px;
  }

  .phone-number {
    font-size: 22px;
  }

  .global-nav ul li a {
    font-size: 11px;
    padding: 12px 4px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-section {
    padding: 44px 20px 60px;
  }

  .section-tab {
    padding: 12px 40px;
    font-size: 16px;
  }
}

/* =============================================
   RESPONSIVE ? Mobile (?600px)
   ============================================= */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    text-align: center;
  }

  .header-contact {
    text-align: center;
  }

  .phone-number {
    font-size: 24px;
  }

  /* Scrollable nav */
  .global-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .global-nav ul {
    width: max-content;
    min-width: 100%;
  }

  .global-nav ul li a {
    font-size: 11px;
    padding: 12px 14px;
    white-space: nowrap;
  }

  .page-hero {
    height: 90px;
  }

  .service-section {
    padding: 32px 16px 48px;
  }

  .section-tab {
    padding: 12px 24px;
    font-size: 15px;
  }

  /* Single column on mobile */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* メリット3つ：スマホでは1カラム（600px以下でも確実に適用） */
  .merit-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-body {
    padding: 20px 18px 22px;
  }

  .card-title {
    font-size: 16px;
  }
}


/* =============================================
   サービスのトップページEND　SERVICE GRID ? 3 columns
   ============================================= */




/* ===================================================
   SNS QR レイアウト修正（2026 Responsive Fix）
   LINE・Instagram QRコード崩れ防止
=================================================== */

/* SNS全体を中央揃え */
.about-sns{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:32px;
  margin-top:24px;
}

/* 各SNSブロック */
.about-sns-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  width:220px;
  text-align:center;
}

/* QRコードサイズ統一 */
.about-sns-item img{
  width:160px;
  max-width:100%;
  height:auto;
  display:block;
}

/* ボタン幅統一 */
.about-sns-item .sns-btn{
  width:160px;
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-weight:700;
}

/* タブレット */
@media screen and (max-width: 768px){

  .about-sns{
    gap:20px;
    align-items:center;
  }

  .about-sns-item{
    width:calc(50% - 10px);
  }

  .about-sns-item img{
    width:140px;
  }

  .about-sns-item .sns-btn{
    width:140px;
    font-size:12px;
  }
}

/* スマホ */
@media screen and (max-width: 480px){

  .about-sns{
    flex-direction:column;
    align-items:center;
    gap:28px;
  }

  .about-sns-item{
    width:100%;
    max-width:220px;
  }

  .about-sns-item img{
    width:150px;
  }

  .about-sns-item .sns-btn{
    width:150px;
  }
}