/* ============================================================
   style.css — 白金ワークス（個人工務店風 全面リデザイン版）
   カラーパレット:
     --cream:    #FDFAF5  （ベース背景）
     --sand:     #E8DFD0  （セクション背景2）
     --brown:    #5C4033  （テキスト・見出し）
     --green:    #4A7C59  （アクセント）
     --orange:   #D97B3A  （メインCTA・電話）
     --text:     #2C1A0E
     --gray:     #888070
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --cream:        #FDFAF5;
  --sand:         #E8DFD0;
  --sand-dark:    #D9CCBA;
  --brown:        #5C4033;
  --brown-light:  #8B6455;
  --green:        #4A7C59;
  --green-dark:   #3D5A40;
  --green-deep:   #2C3E2D;
  --orange:       #D97B3A;
  --orange-dark:  #BF6828;
  --text:         #2C1A0E;
  --text-mid:     #5A3E30;
  --gray:         #888070;
  --border:       #DDD0C0;
  --white:        #FFFFFF;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}

a:hover { opacity: .78; }

ul, ol { list-style: none; }

address { font-style: normal; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.pc-only { display: inline; }
.sp-only { display: none; }


/* ---------- セクション共通パディング ---------- */
section { padding: 96px 0; }

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 14px;
  line-height: 1.4;
}

.section-desc {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.85;
}

.section-footer {
  text-align: center;
  margin-top: 56px;
}


/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .22s, color .22s, border-color .22s, transform .12s;
  text-align: center;
}

.btn:active { transform: scale(.97); }

/* オレンジ：メインCTA */
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  opacity: 1;
}

/* ヒーロー内アウトライン（白） */
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.75);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  opacity: 1;
}

/* ブラウンアウトライン */
.btn-outline-brown {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline-brown:hover {
  background: var(--brown);
  color: var(--white);
  opacity: 1;
}

.btn-large {
  padding: 18px 56px;
  font-size: 1rem;
  width: 100%;
}

/* LINEグリーン：LINE誘導CTA */
.btn-line {
  background: #06C755;
  color: var(--white);
  border-color: #06C755;
}
.btn-line:hover {
  background: #05A847;
  border-color: #05A847;
  opacity: 1;
}

/* LINEボタン大サイズ */
.btn-line-large {
  display: inline-block;
  padding: 18px 48px;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 8px;
  min-width: 260px;
}


/* ============================================================
   HEADER（スティッキー）
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* ほんのりクリーム背景＋ブラー */
  background: rgba(253,250,245,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 18px rgba(92,64,51,.13);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}

/* ロゴ */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
  flex-shrink: 0;
  margin-right: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: .03em;
}

.logo-sub {
  font-size: .62rem;
  color: var(--gray);
  font-weight: 300;
  letter-spacing: .04em;
}

/* ヘッダー右：電話＋CTAボタン */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-tel-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.tel-label {
  font-size: .6rem;
  color: var(--gray);
  letter-spacing: .05em;
}

.tel-num {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .06em;
}

.tel-num::before {
  content: "☎ ";
  font-size: .85rem;
}

.header-cta {
  padding: 9px 20px;
  font-size: .83rem;
}

/* デスクトップナビ */
.nav-desktop ul {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-desktop a {
  font-size: .83rem;
  font-weight: 400;
  color: var(--text-mid);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
  opacity: 1;
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 5px;
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  opacity: 1;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビ */
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.nav-mobile.open {
  max-height: 500px;
}

.nav-mobile ul {
  padding: 8px 0 16px;
}

.nav-mobile li a {
  display: block;
  padding: 13px 28px;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-mobile li a:hover {
  color: var(--green);
  border-left-color: var(--green);
  opacity: 1;
}

.mobile-nav-tel a {
  color: var(--green) !important;
  font-weight: 700 !important;
  background: #EEF5F0;
  border-left-color: var(--green) !important;
}


/* ============================================================
   HERO
   背景：ダークグリーン2段グラデーション＋ウッドテクスチャSVG
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

/* グラデーション本体 */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #3D5A40 0%, #2C3E2D 100%);
}

/* ウッド調テクスチャ：SVGの細い横線を重ねる */
.hero-texture {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='8'%3E%3Cpath d='M0 4 Q100 2 200 5 Q300 7 400 3' stroke='%23C8A96E' stroke-width='0.8' fill='none' opacity='0.6'/%3E%3Cpath d='M0 7 Q80 5 160 6.5 Q280 8 400 6' stroke='%23A07840' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 100% 8px;
}

/* コンテンツ */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 720px;
  text-align: center;      /* 中央揃え */
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: #A8D4B0;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.38;
  margin-bottom: 24px;
  /* 金文字風テキストシャドウ */
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* キャッチコピーの強調文字に金色を添える */
.hero-title em {
  font-style: normal;
  color: #F0D070;
}

.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 44px;
  line-height: 2;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center; /* ボタン中央揃え */
}

/* 対応エリアバー（hero内下部） */
.hero-area-bar {
  position: relative;
  z-index: 2;
  padding: 0 0 40px;
}

.hero-area-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center; /* 中央揃え */
  gap: 12px;
  flex-wrap: wrap;
}

.area-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  margin-right: 4px;
}

.area-badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* 下部を斜めに切る（clip-path） */
.hero-clip {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}


/* ============================================================
   サービス内容（SERVICES）
   背景：ダークグリーン＋テキスト白
   ============================================================ */
.services {
  background: var(--green-dark);
  /* 微細なノイズテクスチャ風SVG */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #3D5A40 0%, #2C3E2D 100%);
  padding: 96px 0;
  position: relative;
}

/* セクション上部を波形に */
.services::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(160deg, #FDFAF5 0%, #EDE4D3 60%, #E0D3C0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}

/* ラベル・タイトル・説明：白系 */
.services-label { color: #A8D4B0; }
.services-title { color: var(--white); }
.services-desc  { color: rgba(255,255,255,.65); }

/* 4カードグリッド */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 個別サービスカード */
.service-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 36px 22px;
  text-align: center;
  transition: background .25s, transform .25s;
}

.service-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card p {
  font-size: .84rem;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
}


/* ============================================================
   会社案内（ABOUT）
   背景：砂目グラデーション
   ============================================================ */
.about {
  background: linear-gradient(160deg, #FDFAF5 0%, #EDE4D3 60%, #E0D3C0 100%);
  padding: 104px 0;
  position: relative;
}

/* 上部をサービスセクションから自然につなぐ */
.about::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--green-deep);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.about-inner {
  padding-top: 16px;
  max-width: 700px;
  margin: 0 auto;          /* 中央揃え */
  text-align: center;
}

/* 会社案内カラム */
.about-col .section-label { color: var(--green); }
.about-col .section-title { margin-bottom: 28px; }

/* 代表写真エリア */
.about-message {
  margin-bottom: 36px;
}

.about-photo {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 24px; /* 中央揃え */
  border: 3px solid var(--sand-dark);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo.no-img img { display: none; }

.about-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
}

.about-photo img[src] + .about-photo-placeholder { display: none; }
.about-photo.no-img .about-photo-placeholder { display: flex; }

blockquote {
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-mid);
  border-left: 4px solid var(--green);
  padding: 4px 0 4px 18px;
  margin-bottom: 14px;
  line-height: 2.1;
  text-align: left; /* 引用文は左揃え維持 */
}

.about-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray);
}

/* 会社情報テーブル */
.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(92,64,51,.07);
  text-align: left; /* テーブル内は左揃えを維持 */
}

.about-table th,
.about-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.about-table tr:last-child th,
.about-table tr:last-child td {
  border-bottom: none;
}

.about-table th {
  width: 30%;
  font-weight: 700;
  color: var(--brown);
  background: rgba(232,223,208,.55);
  white-space: nowrap;
}

.about-table td {
  background: rgba(255,255,255,.7);
  color: var(--text-mid);
  line-height: 1.85;
}

.about-table a { color: var(--green); }


/* ============================================================
   お問い合わせ（CONTACT）
   背景：砂目グラデーション
   ============================================================ */
.contact-section {
  background: linear-gradient(160deg, #EDE4D3 0%, #FDFAF5 100%);
  padding: 96px 0;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(160deg, #FDFAF5 0%, #EDE4D3 60%, #E0D3C0 100%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.contact-section .section-label { color: var(--green); }

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

/* LINEメインCTAブロック */
.contact-line-block {
  text-align: center;
  background: var(--white);
  border: 2px solid #06C755;
  border-radius: 16px;
  padding: 40px 28px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(6,199,85,.13);
}

.contact-line-lead {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 20px;
}

.contact-line-note {
  font-size: .82rem;
  color: var(--gray);
  margin-top: 16px;
}

/* 電話バナー */
.contact-tel-banner {
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(217,123,58,.12);
}

.tel-banner-lead {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 6px;
}

.tel-banner-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .08em;
  line-height: 1;
  margin-bottom: 8px;
}

.tel-banner-num::before {
  content: "☎ ";
  font-size: 1.4rem;
}

.tel-banner-hours {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.7;
}

.tel-banner-hours small {
  color: var(--green);
  font-size: .78rem;
}

/* OR区切り */
.contact-or {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.contact-or::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.contact-or span {
  position: relative;
  background: linear-gradient(160deg, #EDE4D3, #FDFAF5);
  padding: 0 16px;
  font-size: .8rem;
  color: var(--gray);
}

/* フォーム */
.contact-form { }

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

.form-group label {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}

.required {
  font-size: .7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
}

.optional {
  font-size: .7rem;
  font-weight: 400;
  color: var(--gray);
  margin-left: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,124,89,.14);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  margin-top: 6px;
}

/* 送信完了メッセージ */
.contact-success {
  text-align: center;
  padding: 48px 24px;
  background: #EEF5F0;
  border-radius: 12px;
  border: 1px solid #B8D4C0;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.contact-success p {
  font-size: .92rem;
  line-height: 1.9;
  color: var(--green-dark);
}

.contact-success a {
  color: var(--green);
  font-weight: 700;
}


/* ============================================================
   FOOTER
   背景：ダークブラウン
   ============================================================ */
.site-footer {
  background: #2C1A0E;
  color: rgba(255,255,255,.78);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  letter-spacing: .04em;
}

.footer-logo p {
  font-size: .76rem;
  color: rgba(255,255,255,.48);
  margin-bottom: 14px;
}

.footer-logo address {
  font-size: .82rem;
  line-height: 2;
  color: rgba(255,255,255,.65);
}

.footer-logo a { color: #A5D6B0; }

.footer-area-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-area ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-area li {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}

.footer-area li::before {
  content: "▸ ";
  color: #A5D6B0;
  font-size: .72rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-end;
}

.footer-nav a {
  font-size: .8rem;
  color: rgba(255,255,255,.58);
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 18px 24px;
}

.footer-copy p {
  font-size: .73rem;
  color: rgba(255,255,255,.32);
}


/* ============================================================
   SP固定フッターCTAバー
   ============================================================ */
.sp-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 58px;
  box-shadow: 0 -2px 14px rgba(0,0,0,.22);
}

.sp-cta-tel,
.sp-cta-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 50%;
  height: 100%;
  font-weight: 700;
  font-size: .9rem;
  transition: opacity .15s;
}

/* 電話：グリーン */
.sp-cta-tel {
  background: var(--green);
  color: var(--white);
}

/* LINE相談：LINEグリーン */
.sp-cta-consult {
  background: var(--orange);
  color: var(--white);
}

.sp-cta-line {
  background: #06C755 !important;
}

.sp-cta-tel:hover,
.sp-cta-consult:hover { opacity: .88; }


/* ============================================================
   プライバシーポリシーモーダル
   ============================================================ */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.privacy-modal.open {
  display: flex;
}

.privacy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,15,5,.65);
  backdrop-filter: blur(3px);
}

.privacy-modal-inner {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  max-width: 660px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px 40px;
  z-index: 1;
}

.privacy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}

.privacy-modal-close:hover {
  background: var(--sand);
  color: var(--brown);
}

.privacy-modal-inner h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 24px;
}

.privacy-modal-inner h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--brown);
  margin: 22px 0 8px;
}

.privacy-modal-inner p {
  font-size: .87rem;
  color: var(--text-mid);
  line-height: 1.95;
}

.privacy-modal-inner a { color: var(--green); }


/* ============================================================
   スクロールフェードインアニメーション
   ============================================================ */
.fade-in,
.fade-in-up {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in {
  transform: translateY(0);
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in.visible,
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延クラス */
.delay-1 { transition-delay: .13s; }
.delay-2 { transition-delay: .26s; }
.delay-3 { transition-delay: .39s; }


/* ============================================================
   レスポンシブ — タブレット（≤900px）
   ============================================================ */
@media (max-width: 900px) {
  /* ヘッダー右の電話+ボタンを非表示 */
  .header-right { display: none; }

  /* サービス：2列 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* フッター */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-nav {
    grid-column: 1 / -1;
  }

  .footer-nav ul {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 24px;
  }
}

/* ============================================================
   レスポンシブ — モバイル（≤640px）
   ============================================================ */
@media (max-width: 640px) {
  html { font-size: 15px; }

  section { padding: 64px 0; }

  .pc-only { display: none; }
  .sp-only { display: inline; }

  /* ヘッダー：ハンバーガーのみ */
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: block; }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding-top: 70px;
    padding-bottom: 32px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .hero-clip {
    height: 48px;
  }

  /* サービス：1列 */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .services::before { display: none; }

  /* 会社情報テーブル */
  .about-table th { width: 35%; }

  /* フォームボタン */
  .btn-large {
    padding: 16px 32px;
  }

  /* フッター：1列 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: flex-start;
  }

  /* SP CTAバー表示 */
  .sp-cta-bar {
    display: flex;
  }

  /* フッターCTAバー分の余白 */
  .site-footer {
    padding-bottom: 58px;
  }

  /* プライバシーモーダル */
  .privacy-modal-inner {
    padding: 32px 20px;
  }

  /* 電話バナー */
  .tel-banner-num {
    font-size: 1.7rem;
  }
}

/* ============================================================
   印刷
   ============================================================ */
@media print {
  .site-header,
  .hamburger,
  .nav-mobile,
  .sp-cta-bar,
  .privacy-modal { display: none; }
  section { padding: 24px 0; }
}
