@charset "UTF-8";
/* ==========================================================================
   共通スタイル / 株式会社浜中電設
   - 全ページで読み込む土台（変数・リセット・ヘッダー・フッター・共通パーツ）
   - 各ページ固有の装飾は css/<ページ名>.css 側に記述する
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* カラー：ロゴおよびデザイン参考データに準拠（ネイビー × ゴールド × 生成り） */
  --navy-900: #06213f;
  --navy-800: #06254a;
  --navy: #0a2450;
  --navy-600: #1b3f6e;
  --gold: #c9973b;
  --gold-400: #d8b573;
  --gold-200: #ecdcb8;
  --gold-100: #f7efdd;
  --cream: #f7f6f3;
  --cream-200: #efece5;
  --paper: #ffffff;
  --ink: #2c3138;
  --ink-muted: #6d747c;
  --line: #e4e1d9;
  --line-brand: #06c755;

  /* タイポグラフィ */
  /* 見出しは明朝、本文はゴシック（sample.png に準拠） */
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho",
    "YuMincho", "MS PMincho", serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --font-jp: var(--font-body);
  --font-en: var(--font-body);

  /* サイズ */
  --header-h: 84px;
  --container: 1160px;
  --gutter: 40px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --r-xl: 40px;

  --shadow-xs: 0 1px 2px rgba(11, 28, 48, .06);
  --shadow-sm: 0 6px 18px rgba(11, 28, 48, .06);
  --shadow: 0 14px 40px rgba(11, 28, 48, .09);
  --shadow-lg: 0 26px 70px rgba(11, 28, 48, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);

}

/* --------------------------------------------------------------------------
   2. リセット / ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: .02em;
  overflow-wrap: break-word;
  overflow-x: clip; /* リベール演出の初期位置で横スクロールが出るのを防ぐ */
  font-feature-settings: "palt";
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

/* カードの見出しなど、明朝にしない箇所 */
.u-gothic { font-family: var(--font-body); letter-spacing: .02em; }

img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), opacity .3s var(--ease);
}
a:hover { color: var(--gold); }

table { border-collapse: collapse; width: 100%; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 1.4rem;
  font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. レイアウトユーティリティ
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 880px; }
.container--wide { --container: 1360px; }

.section { padding: 112px 0; position: relative; }
.section--tight { padding: 76px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }

/* sample.png と同じく、白と薄いグレーの帯でリズムをつくる */
.section--wire { background: var(--cream); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* --------------------------------------------------------------------------
   4. タイポグラフィ・パーツ
   -------------------------------------------------------------------------- */
/* sample.png のセクション見出し（左右に細い罫線が伸びる） */
.shead {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 48px;
}
.shead::before,
.shead::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.shead__title {
  flex: 0 1 auto;
  font-size: clamp(2.2rem, 1.6rem + 1.7vw, 3.1rem);
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: .06em;
  text-align: center;
}
.shead__title em { font-style: normal; color: var(--gold); }

/* 左寄せ版（罫線は左右とも短く固定） */
.shead--left { justify-content: flex-start; }
.shead--left::before { flex: 0 0 34px; margin-left: calc(var(--gutter) * -1); }
.shead--left::after { flex: 0 0 58px; }
.shead--left .shead__title { text-align: left; }

.section--navy .shead__title { color: #fff; }
.section--navy .shead::before,
.section--navy .shead::after { background: rgba(255, 255, 255, .22); }

/* 見出し直下のリード文 */
.shead-lead {
  margin: -30px 0 44px;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2.05;
  color: var(--ink-muted);
}
.section--navy .shead-lead { color: rgba(255, 255, 255, .8); }

/* カラム内で使う見出し（罫線を伸ばさない版） */
.chead {
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem);
  color: var(--navy);
  letter-spacing: .05em;
  padding-bottom: 16px;
  margin-bottom: 22px;
  position: relative;
}
.chead::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 2px;
  background: var(--gold);
}

.subheading {
  font-size: clamp(2rem, 1.6rem + 1vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.subheading::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 64px; height: 2px;
  background: var(--gold);
}

.lead { font-size: 1.7rem; line-height: 2.2; }
.lead--center { text-align: center; }

.note { font-size: 1.3rem; color: var(--ink-muted); line-height: 1.9; }

/* --------------------------------------------------------------------------
   5. ボタン
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 34px;
  border-radius: 999px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.4;
  text-align: center;
  border: 1.5px solid transparent;
  overflow: hidden;
  isolation: isolate;
}

.btn svg { flex: none; }

/* ホバーで内側から色が満ちる */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy::before { background: var(--navy-600); }
.btn--navy:hover { color: #fff; }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold::before { background: var(--gold-400); }
.btn--gold:hover { color: #fff; }

.btn--line { background: var(--line-brand); color: #fff; }
.btn--line::before { background: #05ad4a; }
.btn--line:hover { color: #fff; }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline::before { background: var(--navy); }
.btn--outline:hover { color: #fff; }

.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: 10px 24px; font-size: 1.4rem; }

/* --------------------------------------------------------------------------
   6. リスト・テーブル
   -------------------------------------------------------------------------- */
.list-check { display: grid; gap: 14px; }
.list-check li {
  position: relative;
  padding-left: 32px;
  line-height: 1.85;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 15px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.table-def th,
.table-def td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 1.55rem;
  line-height: 1.95;
}
.table-def th {
  width: 230px;
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.table-def tr:first-child th,
.table-def tr:first-child td { border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   7. スクロールリベール
   （JSが無効な場合は .js が付かないため、常に表示される）
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* マスクリベール：幕が下へ抜けて写真が現れる
   （clip-path を対象要素そのものに掛けると Chromium では
     IntersectionObserver が「見えていない」と判定して発火しないため、
     擬似要素の幕をスライドさせる方式にしている） */
.js [data-reveal="mask"] {
  opacity: 1;
  transform: none;
  position: relative;
  overflow: hidden;
}
.js [data-reveal="mask"]::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 5;
  background: var(--mask-color, var(--cream));
  transform: translateY(0);
  transition: transform 1.05s cubic-bezier(.7, 0, .2, 1);
  transition-delay: var(--reveal-delay, 0s);
  pointer-events: none;
}
.js [data-reveal="mask"].is-revealed::after { transform: translateY(101%); }

.js [data-reveal="fade"] { transform: none; }

.js [data-reveal="right"] { transform: translateX(-26px); }
.js [data-reveal="right"].is-revealed { transform: none; }

.js [data-reveal="scale"] { transform: scale(.97); }
.js [data-reveal="scale"].is-revealed { transform: none; }

/* --------------------------------------------------------------------------
   8. ローダー（ロゴ配置エリア）
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--cream);
  /* JSが無効・失敗しても必ず消えるフォールバック */
  animation: loaderFallback .7s var(--ease) 3.4s forwards;
}

.loader.is-leaving {
  transform: translateY(-100%);
  transition: transform 1s cubic-bezier(.7, 0, .2, 1);
}
.loader.is-hidden { display: none; }
.loader.is-instant { display: none; }

.loader__inner { text-align: center; padding: 20px; position: relative; z-index: 1; }

.loader__logo {
  width: clamp(118px, 24vw, 164px);
  height: auto;
  mix-blend-mode: multiply;
}

.loader__name {
  display: block;
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: .34em;
  color: var(--navy);
  font-weight: 600;
}

.loader__bar {
  display: block;
  width: 168px;
  height: 2px;
  margin: 26px auto 0;
  background: var(--line);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderBar 1.5s var(--ease) forwards;
}

@keyframes loaderBar { to { transform: scaleX(1); } }
@keyframes loaderFallback { to { transform: translateY(-100%); } }

/* --------------------------------------------------------------------------
   9. ヘッダー
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1200;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), background-color .4s var(--ease),
              border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.header.is-scrolled {
  --header-h: 68px;
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(11, 28, 48, .05);
}

.header__inner {
  width: min(100% - 40px, 1400px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 読了進捗バー */
.header__progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 2px;
  overflow: hidden;
}
.header__progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
}

/* ロゴ配置エリア（ヘッダー） */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--navy);
}
.brand:hover { color: var(--navy); opacity: .72; }

.brand__mark {
  width: 54px; height: 54px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: width .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled .brand__mark { width: 44px; height: 44px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name {
  font-family: var(--font-jp);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .07em;
}
.brand__sub {
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: .18em;
  color: var(--ink-muted);
}

/* グローバルナビ */
.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 4px; }

.gnav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 13px 10px;
  color: var(--navy);
  position: relative;
}

.gnav__ja { font-family: var(--font-jp); font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.gnav__en {
  font-family: var(--font-en);
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color .3s var(--ease);
}

.gnav__list a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--ease);
}
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav__list a:hover .gnav__en { color: var(--gold); }
.gnav__list a[aria-current="page"] { color: var(--gold); }
.gnav__list a[aria-current="page"] .gnav__en { color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.header__tel { text-align: right; line-height: 1.25; display: block; }
.header__tel-label {
  display: block;
  font-size: 1rem;
  letter-spacing: .1em;
  color: var(--ink-muted);
}
.header__tel-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .01em;
}
.header__tel:hover .header__tel-num { color: var(--gold); }

/* ハンバーガー */
.hamburger {
  display: none;
  width: 50px; height: 50px;
  flex: none;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
}
.hamburger span {
  position: absolute;
  left: 15px;
  width: 20px; height: 1.6px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .38s var(--ease), opacity .22s var(--ease);
}
.hamburger span:nth-child(1) { top: 18px; }
.hamburger span:nth-child(2) { top: 24px; }
.hamburger span:nth-child(3) { top: 30px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ドロワー（ヘッダーより下のz-indexにして閉じるボタンを押せるようにする） */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--cream);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; }

.drawer__inner {
  position: relative;
  padding: calc(var(--header-h) + 24px) 28px 140px;
  max-width: 560px;
  margin-inline: auto;
}

.drawer__list { border-top: 1px solid var(--line); margin-bottom: 32px; }
.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  position: relative;
}
.drawer__en {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 66px;
}
.drawer__ja { font-family: var(--font-jp); font-size: 1.7rem; font-weight: 700; }
.drawer__list a::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 8px; height: 8px;
  border-top: 1.6px solid var(--gold);
  border-right: 1.6px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.drawer__list a[aria-current="page"] .drawer__ja { color: var(--gold); }

.drawer__contact { display: grid; gap: 14px; }
.drawer__tel {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
}
.drawer__tel-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
}
.drawer__tel-note { font-size: 1.2rem; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   10. 下層ページヘッダー
   -------------------------------------------------------------------------- */
.phead {
  position: relative;
  margin-top: var(--header-h);
  padding: 92px 0 84px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.phead::after {
  content: "";
  position: absolute;
  right: -110px; bottom: -170px;
  width: 380px; height: 380px;
  border: 1px solid rgba(203, 165, 95, .3);
  border-radius: 50%;
}

.phead__bg { display: none; }
.phead__inner { position: relative; z-index: 1; }
.phead__en {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.phead__title { font-size: clamp(2.8rem, 2rem + 2.6vw, 4.4rem); letter-spacing: .05em; }
.phead__lead {
  margin-top: 18px;
  font-size: 1.55rem;
  color: rgba(255, 255, 255, .8);
  max-width: 660px;
  line-height: 2.05;
}

/* パンくず */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 1.25rem;
  color: var(--ink-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: ""; width: 12px; height: 1px; background: var(--line); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   11. 複数ページで使う共通パーツ
   -------------------------------------------------------------------------- */

/* --- ご相談の流れ --- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.flow__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 26px 30px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.flow__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px; top: 50%;
  width: 9px; height: 9px;
  border-top: 1.6px solid var(--gold);
  border-right: 1.6px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.flow__num {
  position: absolute;
  top: -18px; left: 26px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 500;
  border: 3px solid var(--cream);
}

.flow__title { font-size: 1.8rem; color: var(--navy); margin-bottom: 10px; }
.flow__text { font-size: 1.38rem; line-height: 1.9; color: var(--ink-muted); }

/* --- FAQ アコーディオン --- */
.faq-list { display: grid; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item[open] { border-color: var(--gold-200); box-shadow: var(--shadow-xs); }

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 60px 22px 24px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::before {
  content: "Q";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 500;
  margin-top: 2px;
}

.faq-item__q::after {
  content: "";
  position: absolute;
  right: 26px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -6px;
  border-right: 1.8px solid var(--gold);
  border-bottom: 1.8px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-item__q::after { transform: rotate(-135deg); margin-top: -2px; }

.faq-item__a { display: flex; gap: 16px; padding: 0 26px 24px 24px; }
.faq-item__a::before {
  content: "A";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 500;
}
.faq-item__a p { font-size: 1.5rem; line-height: 2; margin-top: 1px; }

/* --- 写真プレースホルダ（施工写真が用意でき次第 img に差し替え） --- */
.ph {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold-200);
  background:
    repeating-linear-gradient(-45deg,
      var(--cream) 0 11px,
      var(--cream-200) 11px 22px);
}
.ph span {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   12. 共通CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}
.cta__bg { display: none; }
.cta__inner { position: relative; z-index: 1; text-align: center; }

.cta__en {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.cta__title {
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.cta__text { color: rgba(255, 255, 255, .8); font-size: 1.5rem; margin-bottom: 46px; }

.cta__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin-inline: auto;
  text-align: left;
}

.cta__card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 34px 28px 28px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease);
}
.cta__card:hover { transform: translateY(-5px); }
.cta__card--line { outline: 2px solid var(--line-brand); outline-offset: -2px; }

.cta__rank {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 12px;
}

.cta__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  margin-bottom: 14px;
}
.cta__card--line .cta__icon { background: var(--line-brand); color: #fff; }

.cta__card-title { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.cta__card-desc {
  font-size: 1.35rem;
  color: var(--ink-muted);
  line-height: 1.85;
  margin-bottom: 22px;
  flex: 1;
}
.cta__card-note { font-size: 1.18rem; color: var(--ink-muted); margin-top: 12px; word-break: break-all; }

.cta__tel-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.9rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   13. フッター
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .74);
  padding: 84px 0 0;
  font-size: 1.4rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 64px;
  padding-bottom: 56px;
}

/* ロゴ配置エリア（フッター） */
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--r);
  padding: 14px 22px 14px 14px;
  margin-bottom: 22px;
  color: var(--navy);
}
.footer__logo:hover { opacity: .86; color: var(--navy); }
.footer__logo img { width: 64px; height: 64px; object-fit: contain; }
.footer__logo-name { font-family: var(--font-jp); font-size: 1.7rem; font-weight: 700; line-height: 1.3; display: block; }
.footer__logo-sub { font-family: var(--font-en); font-size: 1rem; letter-spacing: .16em; color: var(--ink-muted); }

.footer__desc { line-height: 2; margin-bottom: 22px; color: rgba(255, 255, 255, .66); }

.footer__address { font-style: normal; line-height: 2.05; color: rgba(255, 255, 255, .78); }
.footer__address a { color: var(--gold-400); }
.footer__address a:hover { color: #fff; }

.footer__nav { display: flex; gap: 72px; }
.footer__col-title {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer__links { display: grid; gap: 12px; }
.footer__links a {
  color: rgba(255, 255, 255, .78);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__links a::before {
  content: "";
  width: 5px; height: 5px;
  border-top: 1.4px solid var(--gold);
  border-right: 1.4px solid var(--gold);
  transform: rotate(45deg);
}
.footer__links a:hover { color: var(--gold-400); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, .5);
}
.footer__copy { font-family: var(--font-en); letter-spacing: .06em; }

/* --------------------------------------------------------------------------
   14. 画面下部固定CTA（モバイル）
   -------------------------------------------------------------------------- */
.fixed-cta {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  z-index: 1000;
  display: none;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 22px rgba(11, 28, 48, .08);
  transform: translateY(110%);
  transition: transform .45s var(--ease);
}
.fixed-cta.is-visible { transform: none; }

.fixed-cta__list { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }

.fixed-cta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  border-radius: var(--r-sm);
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  padding: 6px 4px;
}
.fixed-cta__item:hover { color: #fff; opacity: .92; }
.fixed-cta__item--line { background: var(--line-brand); }
.fixed-cta__item--tel { background: var(--navy); }
.fixed-cta__item--mail { background: var(--gold); }

/* --------------------------------------------------------------------------
   15. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 1300px) {
  .gnav__list { gap: 0; }
  .gnav__list a { padding: 8px 10px 10px; }
  .gnav__ja { font-size: 1.28rem; }
  .header__tel-num { font-size: 1.9rem; }
}

@media (max-width: 1120px) {
  .gnav,
  .header__tel { display: none; }
  .header__actions { margin-left: auto; }
  .hamburger { display: block; }
}

@media (max-width: 1024px) {
  :root { --gutter: 28px; }
  .section { padding: 88px 0; }
  .section--tight { padding: 60px 0; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .flow__item:nth-child(2)::after { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 44px; }
  .cta__cards { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --gutter: 20px; }

  body { font-size: 1.5rem; line-height: 1.9; padding-bottom: 76px; }

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

  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }

  .header.is-scrolled { --header-h: 58px; }
  .brand__mark { width: 42px; height: 42px; }
  .header.is-scrolled .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.5rem; }
  .brand__sub { font-size: .9rem; }
  .header__actions .btn { display: none; }

  .hamburger { width: 44px; height: 44px; }
  .hamburger span { left: 12px; width: 20px; }
  .hamburger span:nth-child(1) { top: 15px; }
  .hamburger span:nth-child(2) { top: 21px; }
  .hamburger span:nth-child(3) { top: 27px; }

  .drawer__inner { padding: calc(var(--header-h) + 18px) 20px 130px; }

  .phead { padding: 54px 0 46px; }
  .phead__lead { font-size: 1.42rem; }

  .shead { gap: 14px; margin-bottom: 32px; }
  .shead__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.4rem); }
  .shead--left::before { flex: 0 0 18px; }
  .shead--left::after { flex: 0 0 24px; }
  .shead-lead { margin: -20px 0 30px; font-size: 1.42rem; }
  .lead { font-size: 1.52rem; line-height: 2.05; }

  .table-def th,
  .table-def td { display: block; width: 100%; }
  .table-def th { border-bottom: none; padding: 16px 18px 4px; }
  .table-def td { padding: 4px 18px 18px; }
  .table-def tr:first-child td { border-top: none; }

  .flow { grid-template-columns: 1fr; row-gap: 36px; }
  .flow__item:not(:last-child)::after {
    right: auto; top: auto;
    left: 50%; bottom: -23px;
    transform: translateX(-50%) rotate(135deg);
  }
  .flow__item { padding: 34px 22px 26px; }

  .faq-item__q { font-size: 1.5rem; padding: 18px 50px 18px 18px; }
  .faq-item__a { padding: 0 20px 20px 18px; }
  .faq-item__a p { font-size: 1.42rem; }

  .cta { padding: 64px 0; }
  .cta__text { margin-bottom: 30px; }

  .footer { padding-top: 56px; }
  .footer__nav { gap: 40px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__tag { font-size: 1.1rem; line-height: 1.8; }

  .fixed-cta { display: block; }
}

@media (max-width: 480px) {
  .footer__nav { flex-direction: column; gap: 28px; }
}

@media (max-width: 350px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.35rem; }
}

/* --------------------------------------------------------------------------
   16. モーション低減・印刷
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media print {
  .header, .drawer, .fixed-cta, .loader, .cta, .breadcrumb, .skip-link { display: none !important; }
  body { padding: 0; font-size: 11pt; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .section { padding: 24pt 0; }
}
