@charset "UTF-8";
/* ============================================================
   common.css
   サイト全体で共通利用するスタイル
   - リセット / グローバル変数
   - ベース typography
   - ヘッダー / ハンバーガーメニュー
   - フッター
   - 共通ボタン
   - スクロール時フェードイン (.reveal)
   - ユーティリティ
   ============================================================ */


/* ============================================
   GLOBAL VARIABLES
   サイト全体で使うカラー・フォント・余白
   ============================================ */
:root {
  /* ----- color ----- */
  --c-bg:        #fbfaf7;   /* オフホワイト（紙のような白） */
  --c-bg-alt:    #f3f0eb;   /* セカンダリ背景（淡いベージュ） */
  --c-text:      #2a2a28;   /* 墨色 */
  --c-text-soft: #6b6963;   /* 補足テキスト */
  --c-text-mute: #9a9690;   /* 控えめなテキスト */
  --c-line:      #d9d4cb;   /* 罫線 */
  --c-line-soft: #ece8e0;   /* 淡い罫線 */
  --c-accent:       #fa6914; /* オレンジ（アクセント） */
  --c-accent-dark:  #d24f00; /* 暗いオレンジ（補助・別用途用） */
  --c-accent-light: #fc9961; /* 明るいオレンジ（ホバー時の白っぽい遷移用） */
  --c-white: #ffffff;

  /* ----- font-family ----- */
  --ff-serif:   "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --ff-sans:    "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ff-display: "Cormorant Garamond", "Noto Serif JP", serif;

  /* ----- spacing ----- */
  --space-section: clamp(72px, 10vw, 140px);
}


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


/* ============================================
   BASE TYPOGRAPHY
   ============================================ */
body {
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.95;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
.font-serif { font-family: var(--ff-serif); }

/* 本文(p)はデフォルトで均等割り付け（両端揃え）にする。
   ・折り返しのある段落のみ両端揃えになり、最終行・1行段落は従来どおり。
   ・個別に解除したい要素には text-align: left; を指定してください。 */
p {
  text-align: justify;
}
/* ただし中央寄せコンテナ内の p は中央寄せを維持する。
   （p に直接 justify が入ると継承が切れ、中央寄せコピーが左起点になるのを防ぐ）
   ※ 他に中央寄せが崩れる箇所があれば、このセレクタリストに追記してください。 */
.cta-block p,
footer .footer-head p,
footer .copy p {
  text-align: center;
}


/* ============================================
   DISPLAY FONT — NUMERIC ALIGNMENT
   --ff-display (Cormorant Garamond) は既定で oldstyle-nums が適用され、
   "POINT 01" のような英字+数字並びでベースラインがずれて見える
   （0/1/2 が x-height、3/4/5/7/9 がベースライン下まで降りる）。
   ここでは ff-display を使用する全箇所に lining-nums を一律適用し、
   英大文字と同じ高さ・ベースラインに揃う「ライニング数字」に切り替える。

   ※ 新しく --ff-display を使うセレクタを追加した場合は、
     ここのセレクタリストにも追記してください。
   ============================================ */
.top-header .logo .logo-mark,
.menu-panel .menu-label,
.ph-canvas .ph-label,
footer .footer-head .brand-mark,
footer h4,
footer .footer-contact .showroom-info dt,
.kv-scroll,
.point-item .point-number,
.spec-table .price-row td strong,
.fc-card-no,
.env-table td.dist,
.qa-item > summary::before,
.qa-a::before {
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}


/* ============================================
   MAIN CONTENT
   <main>はレイアウト指定を持たず、画面全幅を継承します。
   各セクション側で個別に最大幅・余白を指定する設計です。
   ※ 1280px幅に収めたいセクションは、セクション内で
     max-width: 1280px; margin: 0 auto; を指定します。
   ※ 画面全幅にしたいセクション（KV、CTA、フルブリードセクション）は
     何も指定しなくてOK（デフォルトで全幅）。
   ============================================ */


/* ============================================
   HEADER
   - <body>直下に配置されており、デフォルトで画面全幅
   - position: fixed でKVに重ねる
   - 初期：背景透明・白文字（KV上に溶け込む）
   - .scrolled 付与時：白背景＋blur、墨色文字に遷移
   - 内側のコンテンツ群は基本32px左右padding、画面幅>1280pxでは
     calcで余白を吸収して中央寄せ
   ============================================ */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(32px, calc((100vw - 1280px) / 2 + 32px));
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  color: #ffffff;
}
.top-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--c-line-soft);
  padding: 14px max(32px, calc((100vw - 1280px) / 2 + 32px));
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 20px -16px rgba(0,0,0,.18);
  color: var(--c-text);
}

/* ロゴ（英字+和字の2行構成） */
.top-header .logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  white-space: nowrap;
}
.top-header .logo > span {
  display: inline-block;
  flex-shrink: 0;
}
.top-header .logo .logo-mark {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
/* ロゴSVG：KV時（透明ヘッダー）は白／スクロール時はSVG本来の墨色 */
.top-header .logo .logo-mark img {
  display: block;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.top-header.scrolled .logo .logo-mark img {
  filter: none;
}
.top-header .logo .logo-jp {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  opacity: 0.75;
  line-height: 1;
}

/* PCグローバルナビ */
.top-header .header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-family: var(--ff-sans);
}
.top-header .header-nav a {
  text-decoration: none;
  color: inherit;
  position: relative;
  padding: 4px 0;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}
.top-header .header-nav a:hover { opacity: 0.65; }

/* 右側：電話／CTA／ハンバーガー */
.top-header .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}
.top-header .header-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  background: var(--c-white);
  color: var(--c-accent);
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--c-accent);
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.top-header .header-tel:hover {
  background: var(--c-accent);
  color: var(--c-white);
}
.top-header .header-tel svg { width: 14px; height: 14px; }

.top-header .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--c-accent);
  color: var(--c-white);
  border: 1px solid var(--c-accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  border-radius: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.top-header .header-cta:hover {
  background: var(--c-accent-light);
  border-color: var(--c-accent-light);
  transform: translateY(-1px);
}

/* ナビ・電話の段階的非表示 */
@media (max-width: 1200px) {
  .top-header .header-nav {
    display: none;
  }
}
@media (max-width: 900px) {
  .top-header .header-tel {
    display: none;
  }
}
@media (max-width: 600px) {
  .top-header {
    padding: 16px max(16px, calc((100vw - 1280px) / 2 + 16px));
  }
  .top-header.scrolled {
    padding: 10px max(16px, calc((100vw - 1280px) / 2 + 16px));
  }
  .top-header .logo .logo-mark {
    font-size: 20px;
  }
  .top-header .logo .logo-mark img {
    height: 22px;
  }
  .top-header .logo .logo-jp {
    display: none;
  }
  .top-header .header-cta {
    padding: 8px 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .top-header .header-right {
    gap: 10px;
  }
}


/* ============================================
   HAMBURGER BUTTON
   - ヘッダー右端のメニュートグル
   - 親ヘッダーの色変化に追従（currentColor使用）
   ============================================ */
.hamburger-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  color: inherit;
}
.hamburger-btn:hover {
  background: rgba(255,255,255,0.12);
}
.top-header.scrolled .hamburger-btn:hover {
  background: rgba(42, 42, 40, 0.08);
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 1.2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger-btn.open {
  background: var(--c-text);
  color: var(--c-white);
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }


/* ============================================
   HAMBURGER MENU (overlay + slide panel)
   ============================================ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 16, 8, 0.42);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 88%;
  height: 100%;
  background: var(--c-bg);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.32s ease;
  overflow-y: auto;
  padding: 28px 28px 40px;
}
/* 影は開いた時のみ表示（閉時は画面外パネルから漏れる影を防止） */
.menu-panel.open {
  transform: translateX(0);
  box-shadow: -8px 0 40px rgba(0,0,0,0.16);
}
.menu-panel .menu-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.menu-panel .menu-close button {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-text-soft);
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.menu-panel .menu-close button:hover {
  background: var(--c-bg-alt);
  color: var(--c-text);
}
.menu-panel .menu-label {
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--c-text-mute);
  margin-bottom: 12px;
  text-transform: uppercase;
}
/* ============================================
   HAMBURGER MENU — MENU LIST (main)
   トップレベル項目はリンク or アコーディオントグル
   ============================================ */
.menu-panel .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-panel .menu-list > li {
  border-bottom: 1px solid var(--c-line-soft);
}
/* 共通：トップレベル項目の見た目（リンクとアコーディオン両方に適用） */
.menu-panel .menu-list > li > a,
.menu-panel .menu-list > li > .accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--c-text);
  font-family: var(--ff-serif);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
  transition: padding 0.2s ease, color 0.2s ease;
}
.menu-panel .menu-list > li > a:hover,
.menu-panel .menu-list > li > .accordion-toggle:hover {
  padding-left: 10px;
  color: var(--c-accent);
}
/* リンク項目には "→" 矢印を付与（アコーディオン項目には付けない） */
.menu-panel .menu-list > li > a::after {
  content: "→";
  color: var(--c-text-mute);
  font-size: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.menu-panel .menu-list > li > a:hover::after {
  transform: translateX(4px);
  color: var(--c-accent);
}

/* ============================================
   ACCORDION TOGGLE — "+" → "−" 切替
   ============================================ */
.menu-panel .accordion-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.menu-panel .accordion-icon::before,
.menu-panel .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--c-text-mute);
  transition: transform 0.3s ease, background 0.2s ease;
}
.menu-panel .accordion-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}
.menu-panel .accordion-icon::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}
/* 展開時：縦線を消して "+" → "−" に */
.menu-panel .accordion-toggle[aria-expanded="true"] .accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}
.menu-panel .accordion-toggle:hover .accordion-icon::before,
.menu-panel .accordion-toggle:hover .accordion-icon::after {
  background: var(--c-accent);
}

/* ============================================
   SUBMENU — アコーディオン子階層
   ============================================ */
.menu-panel .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-panel .accordion-toggle[aria-expanded="true"] + .submenu {
  max-height: 600px;
}
.menu-panel .submenu li {
  border-top: 1px dashed var(--c-line-soft);
}
.menu-panel .submenu li:first-child {
  border-top: 1px dashed var(--c-line-soft);
}
.menu-panel .submenu a {
  display: flex;
  align-items: center;
  padding: 12px 4px 12px 20px;
  font-size: 13px;
  color: var(--c-text-soft);
  text-decoration: none;
  font-family: var(--ff-serif);
  letter-spacing: 0.04em;
  line-height: 1.5;
  transition: padding 0.2s ease, color 0.2s ease;
}
.menu-panel .submenu a::before {
  content: "—";
  margin-right: 10px;
  color: var(--c-text-mute);
  transition: color 0.2s ease;
}
.menu-panel .submenu a:hover {
  padding-left: 28px;
  color: var(--c-accent);
}
.menu-panel .submenu a:hover::before {
  color: var(--c-accent);
}

/* ============================================
   EXTERNAL LINK ICON
   外部リンクであることを示すアイコン（メニュー内）
   - 親のテキスト色を継承（currentColor）
   - 通常時は半透明、hover時は親と同じ色（フェードイン）
   - margin-left: auto で右端に揃える（親がflex前提）
   ============================================ */
.menu-panel .ext-icon {
  width: 11px;
  height: 11px;
  margin-left: auto;
  padding-left: 8px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  box-sizing: content-box;
}
.menu-panel a:hover .ext-icon {
  opacity: 0.9;
}

/* ============================================
   SUBLIST — 二次ナビ（情報系）
   ============================================ */
.menu-panel .menu-sublist {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.menu-panel .menu-sublist::before {
  content: "Information";
  display: block;
  font-family: var(--ff-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--c-text-mute);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-feature-settings: "lnum" 1;
}
.menu-panel .menu-sublist li {
  border-bottom: 1px solid var(--c-line-soft);
}
.menu-panel .menu-sublist a {
  display: flex;
  align-items: center;
  padding: 12px 4px;
  font-size: 13px;
  color: var(--c-text-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: padding 0.2s ease, color 0.2s ease;
}
.menu-panel .menu-sublist a:hover {
  padding-left: 10px;
  color: var(--c-accent);
}

/* ============================================
   MENU SEARCH — SNSアイコンと統一感のあるシンプルな円ピル
   ============================================ */
.menu-panel .menu-search {
  margin-top: 24px;
  display: flex;
  align-items: center;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 0 4px 0 18px;
  transition: border-color 0.2s ease;
}
.menu-panel .menu-search:focus-within {
  border-color: var(--c-text);
}
.menu-panel .menu-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 13px;
  color: var(--c-text);
  font-family: inherit;
  letter-spacing: 0.04em;
  outline: none;
  min-width: 0;
}
.menu-panel .menu-search input::placeholder {
  color: var(--c-text-mute);
  letter-spacing: 0.08em;
}
.menu-panel .menu-search button {
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-soft);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.menu-panel .menu-search button:hover {
  background: var(--c-text);
  color: var(--c-white);
}
.menu-panel .menu-search button svg {
  width: 15px;
  height: 15px;
}
.menu-panel .menu-cta {
  margin-bottom: 32px;
  display: grid;
  gap: 10px;
}
.menu-panel .menu-cta a {
  display: block;
  padding: 14px;
  background: var(--c-accent);
  color: var(--c-white);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 0;
  transition: background 0.25s ease, opacity 0.2s ease;
}
.menu-panel .menu-cta a:hover {
  background: var(--c-accent-light);
}
.menu-panel .menu-cta a.outline {
  background: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
}
.menu-panel .menu-cta a.outline:hover {
  background: var(--c-text);
  color: var(--c-white);
}
/* ハンバーガーメニュー内のSNSアイコン群（明背景：暗色アウトライン→hoverで墨色塗り） */
.menu-panel .menu-social {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line-soft);
}
.menu-panel .menu-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.menu-panel .menu-social a:hover {
  background: var(--c-text);
  border-color: var(--c-text);
  color: var(--c-white);
}
.menu-panel .menu-social svg {
  width: 16px;
  height: 16px;
}


/* ============================================
   COMMON BUTTONS (CTA)
   サイト全体で共通のボタンスタイル
   ============================================ */
.cta-btn {
  display: block;
  padding: 28px 20px;
  background: var(--c-accent);
  color: var(--c-white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 0;
  text-align: center;
  line-height: 1.6;
  position: relative;
  transition: background 0.3s ease, letter-spacing 0.3s ease;
}
.cta-btn:hover {
  background: var(--c-accent-light);
  color: var(--c-white);
  letter-spacing: 0.14em;
}
.cta-btn.secondary {
  background: var(--c-white);
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
}
.cta-btn.secondary:hover {
  background: var(--c-accent);
  color: var(--c-white);
}
.cta-btn .sub {
  display: block;
  font-size: 13px;
  font-weight: 300;
  margin-top: 8px;
  letter-spacing: 0.15em;
  opacity: 0.85;
}
/* CTAボタン先頭アイコン（参考: .yoyaku-cta__yoyaku span::before 方式）
   - メインテキストを<span>でラップ→::beforeでアイコン挿入
   - デフォルト：来場予約アイコン
   - .secondaryの場合：資料請求アイコンに差し替え */
.cta-btn > span:not(.sub) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cta-btn > span:not(.sub)::before {
  content: '';
  display: inline-block;
  width: 44px;
  height: 44px;
  background-color: #fff5eb;
  background-image: url('../images/common/icon-yoyaku.svg');
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.cta-btn.secondary > span:not(.sub)::before {
  background-image: url('../images/common/icon-request.svg');
}
/* .cta-showroom：ショールーム来社ボタン用。
   プライマリ（accent色）ボタンのまま、先頭アイコンをショールーム用に差し替え。 */
.cta-btn.cta-showroom > span:not(.sub)::before {
  background-image: url('../images/common/icon-showroom.svg');
}
/* SP: CTAボタンを縦幅約半分に圧縮（タップ可能サイズは保ちつつコンパクト化） */
@media (max-width: 600px) {
  .cta-btn {
    padding: 14px 16px;
    font-size: 14.5px;
    letter-spacing: 0.08em;
  }
  .cta-btn:hover {
    letter-spacing: 0.1em;
  }
  .cta-btn > span:not(.sub) {
    gap: 10px;
  }
  .cta-btn > span:not(.sub)::before {
    width: 36px;
    height: 36px;
    background-size: 26px 26px;
  }
  .cta-btn .sub {
    font-size: 11.5px;
    margin-top: 4px;
    letter-spacing: 0.1em;
  }
}


/* ============================================
   SHOWROOM PHOTO GRID (フッター上部)
   PC 4列、SP 2列のフルブリード写真グリッド
   ============================================ */
.footer-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.footer-photos .footer-photo {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
.footer-photos .footer-photo .ph-canvas {
  position: absolute;
  inset: 0;
}
/* ホバーで写真(img)のみをズーム。ラベル(.ph-label)は据え置き。
   .footer-photo は overflow:hidden／img は object-fit:cover のため枠内でクロップされる */
.footer-photos .footer-photo img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.footer-photos .footer-photo:hover img {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .footer-photos .footer-photo:hover img { transform: none; }
}
/* 写真セル全体をショールームへのリンクに（footer-lp.php で .ph-canvas を <a> で内包） */
.footer-photos .footer-photo .footer-photo-link {
  display: block;
  position: absolute;
  inset: 0;
  color: inherit;
  text-decoration: none;
}
.footer-photos .footer-photo .footer-photo-link:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: -2px;
}
@media (max-width: 700px) {
  .footer-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* プレースホルダー用キャンバス（実画像配置までの代替表示） */
.ph-canvas {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}
.ph-canvas[data-tone="warm"] {
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(255, 196, 130, 0.35), transparent 60%),
    linear-gradient(160deg, var(--c-bg-alt), #e3ddd0);
}
.ph-canvas[data-tone="cool"] {
  background:
    radial-gradient(100% 60% at 70% 10%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(180deg, var(--c-bg-alt), #d8d4ca);
}
.ph-canvas[data-tone="sage"] {
  background:
    linear-gradient(170deg, #d8d8c4, #b9b8a3);
}
.ph-canvas .ph-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(42, 42, 40, 0.08) 0, transparent 1.2px),
    radial-gradient(circle at 75% 65%, rgba(42, 42, 40, 0.06) 0, transparent 1.4px),
    radial-gradient(circle at 45% 85%, rgba(42, 42, 40, 0.04) 0, transparent 1px);
  background-size: 24px 24px, 32px 32px, 18px 18px;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ph-canvas .ph-label {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  font-family: var(--ff-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(42, 42, 40, 0.7);
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* ============================================
   FOOTER
   ブランド見出し中央＋4カラム＋SNS
   ============================================ */
footer {
  background: #f5f5f5;
  color: var(--c-text-soft);
  padding: 88px 32px 32px;
  font-size: 13px;
  margin-top: 0;
  letter-spacing: 0.04em;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--c-line);
}
footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
footer .footer-head {
  text-align: center;
  margin-bottom: 64px;
}
footer .footer-head .brand-mark {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--c-text);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
/* ロゴSVGは元の墨色のまま表示（暗色SVGがライト背景に映えるため、filterは不要） */
footer .footer-head .brand-mark img {
  display: block;
  height: 40px;
  width: auto;
}
footer .footer-head .brand-jp {
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--c-text-mute);
  margin-bottom: 20px;
}
footer .footer-head .brand-tagline {
  font-family: var(--ff-serif);
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--c-text);
  letter-spacing: 0.18em;
  line-height: 2;
  margin: 0;
  font-weight: 400;
}
footer .footer-head .brand-tagline em {
  font-style: normal;
  background: linear-gradient(transparent 70%, rgba(250, 105, 20, 0.22) 70%);
  padding: 0 4px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 900px) {
  footer {
    padding: 56px 20px 24px;
  }
  footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  footer .footer-head {
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
footer h4 {
  font-family: var(--ff-display);
  font-size: 11px;
  color: var(--c-text);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
footer p { margin: 6px 0; line-height: 1.95; }
footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover { color: var(--c-accent); }
footer .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
footer .footer-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 16px;
}
footer .footer-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--c-text-mute);
}
/* ============================================
   FOOTER - SHOWROOM CARDS
   2拠点のショールーム情報を構造化レイアウトで表示
   - TEL/FAX/住所/営業 を dt/dd のグリッドで縦に整列
   - 拠点間は破線で区切り、本社は badge で強調
   ============================================ */
footer .footer-contact .showroom-list {
  display: grid;
  gap: 24px;
}
footer .footer-contact .showroom + .showroom {
  border-top: 1px dashed var(--c-line);
  padding-top: 24px;
}
footer .footer-contact .showroom-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
footer .footer-contact .showroom-name {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.1em;
  line-height: 1.4;
}
footer .footer-contact .showroom-badge {
  font-family: var(--ff-display);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  padding: 3px 7px;
  border: 1px solid var(--c-line);
  color: var(--c-text-soft);
  border-radius: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
/* TEL/FAX/住所/営業 を grid で揃える（dt=ラベル / dd=値） */
footer .footer-contact .showroom-info {
  display: grid;
  grid-template-columns: 48px 1fr;
  row-gap: 8px;
  column-gap: 14px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: left;
}
footer .footer-contact .showroom-info dt {
  margin: 0;
  color: var(--c-text-mute);
  font-family: var(--ff-display);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  padding-top: 3px;
  text-transform: uppercase;
  font-weight: 400;
}
footer .footer-contact .showroom-info dd {
  margin: 0;
  color: var(--c-text);
}
/* TEL リンク：dd の継承スタイル（ff-sans / 12.5px）に合わせ、色とホバーのみ装飾 */
footer .footer-contact .showroom-info dd a {
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
footer .footer-contact .showroom-info dd a:hover {
  color: var(--c-accent);
}
footer .footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
footer .footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
footer .footer-social a:hover {
  background: var(--c-text);
  border-color: var(--c-text);
  color: var(--c-white);
}
footer .footer-social svg { width: 16px; height: 16px; }
footer .copy {
  text-align: center;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line-soft);
  color: var(--c-text-mute);
  letter-spacing: 0.12em;
  font-size: 10px;
}


/* ============================================
   LIGHTBOX (画像クリックで拡大表示)
   - .zoomable クラスの画像をクリックすると暗背景のオーバーレイで拡大表示
   - JSでオープン制御（common.js の initLightbox）
   ============================================ */
.zoomable {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.zoomable:hover {
  opacity: 0.85;
}
.zoom-hint {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.85em;
  color: var(--c-text-mute);
  letter-spacing: 0.08em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: default;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
/* ライトボックス表示中は背景スクロールを止める */
body.lightbox-open {
  overflow: hidden;
}
@media (max-width: 600px) {
  .lightbox {
    padding: 16px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}


/* ============================================
   SCROLL-REVEAL ANIMATION
   要素が画面内に入ったらフェードイン
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================
   COMMON WIREFRAME PLACEHOLDER
   画像未配置時のプレースホルダ
   - imgが内側に入った場合は、imgが親領域いっぱいに広がるよう
     position: relative / overflow: hidden で受け皿を作る
   ============================================ */
.wf-image {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-alt);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,0.03) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(0,0,0,0.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,0.03) 25%, transparent 25%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 0, 12px -12px, 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-mute);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 16px;
  border: 1px solid var(--c-line-soft);
}


/* ============================================================
   共通 LP セクションコンポーネント
   toyosawa.php / renovation.php で共通のセクションを集約。
   （パンくず / CTAブロック / 資料請求バナー）
   ※各ページCSS側からは削除済み。
   ============================================================ */


/* ============================================
   SECTION: パンくず
   ============================================ */
.breadcrumb {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--c-text-mute);
  padding: 18px max(40px, calc((100vw - 1280px) / 2 + 40px));
  border-bottom: 1px solid var(--c-line-soft);
  background: var(--c-bg);
}
.breadcrumb .current { color: var(--c-text-soft); }
.breadcrumb a {
  color: var(--c-text-soft);
  text-decoration: underline;
  text-decoration-color: var(--c-text-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--c-text);
  text-decoration-thickness: 2px;
}
@media (max-width: 600px) {
  .breadcrumb {
    font-size: 10px;
    padding: 14px max(20px, calc((100vw - 1280px) / 2 + 20px));
  }
}


/* ============================================
   SECTION: CTAブロック
   画面端まで広がる予約・資料請求セクション
   ============================================ */
.cta-block {
  /* <main>に幅制約がないため、デフォルトで画面全幅 */
  padding: clamp(56px, 8vw, 96px) 32px;
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
  text-align: center;
}
.cta-block .lead {
  font-family: var(--ff-serif);
  font-size: 18px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: var(--c-text);
}
.cta-block .tel-note {
  font-size: 14px;
  color: var(--c-text-soft);
  letter-spacing: 0.08em;
  margin-top: 24px;
}
/* tel-note内のTELリンク：本文と同色に揃え、太字＋アクセント色下線で控えめに装飾 */
.cta-block .tel-note a {
  color: var(--c-text-soft);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}
.cta-block .tel-note a:hover {
  color: var(--c-text);
  text-decoration-thickness: 2.5px;
}
.cta-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 814px;
  margin: 0 auto;
}
.cta-buttons.single {
  grid-template-columns: 1fr;
  max-width: 420px;
}
@media (max-width: 700px) {
  .cta-buttons {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  /* SP: CTAブロック内のリード文を縮小（長文「＼まずはお気軽に…／」対応） */
  .cta-block .lead {
    font-size: 15px;
    letter-spacing: 0.06em;
    line-height: 1.7;
  }
  .cta-block .tel-note {
    font-size: 12.5px;
  }
}


/* ============================================
   SECTION: 資料請求バナー
   ============================================ */
.section:has(+ .catalog-banner-wrap) {
  padding-bottom: clamp(28px, 4vw, 48px);
}
.catalog-banner-wrap {
  padding:
    clamp(28px, 4vw, 48px)
    max(32px, calc((100vw - 1280px) / 2 + 32px))
    clamp(56px, 8vw, 96px);
  background: var(--c-bg);
}
@media (max-width: 600px) {
  .section:has(+ .catalog-banner-wrap) {
    padding-bottom: 28px;
  }
  .catalog-banner-wrap {
    padding: 28px max(20px, calc((100vw - 1280px) / 2 + 20px)) 56px;
  }
}
.catalog-banner {
  max-width: 880px;
  margin: 0 auto;
}
.catalog-banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease, transform 0.4s ease;
}
.catalog-banner-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}
.catalog-banner-image {
  background: var(--c-bg-alt);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,0.04) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(0,0,0,0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,0.04) 25%, transparent 25%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 0, 14px -14px, 0 14px;
  width: 100%;
  aspect-ratio: 5 / 1;
  border: 1px solid var(--c-line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-soft);
  font-family: var(--ff-serif);
  font-size: 14.5px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 20px;
  font-weight: 400;
}
@media (max-width: 600px) {
  .catalog-banner-image {
    aspect-ratio: 3 / 1;
    font-size: 12.5px;
  }
}
.catalog-banner-image:has(> img) {
  background-image: none;
  border-color: transparent;
  padding: 0;
  aspect-ratio: auto;
}
.catalog-banner-image > img {
  width: 100%;
  height: auto;
  display: block;
}
.catalog-banner-caption {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-text-soft);
  text-align: center;
  margin-top: 20px;
  line-height: 1.9;
}


/* ============================================
   SECTION: 建物スペック（カルーセル）［共通コンポーネント］
   toyosawa.php / renovation.php など複数LPで共通利用するため
   common.css に集約。
   - PC=3枚表示、SP/タブレット=1枚表示、中央寄せ＋両端チラ見え
   - 通常カード（非is-portrait）は設置画像の比率に合わせて可変表示（トリミングなし）
   - .feature-carousel.is-portrait 付与時は縦長画像（間取り等）を
     4:5 コンテナ＋contain で見切らず表示
   ============================================ */
.feature-carousel {
  max-width: none;
  width: 100%;
  margin: 32px auto 0;
  position: relative;
}
/* カルーセル導入文(.lead)内の補助テキスト（スワイプ案内）を少し小さく */
.fc-hint {
  font-size: 0.75em;
  color: var(--c-text-mute);
}
.fc-viewport {
  overflow: hidden;
  padding: 20px 0 28px;
}
.fc-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
/* SP/タブレット（〜999px）：1枚表示 */
.fc-card {
  flex: 0 0 calc(100% - 80px);
  max-width: 480px;
  margin: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-line-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}
.fc-card:hover {
  box-shadow: 0 12px 36px rgba(40,40,38,0.06);
}
/* PC（1000px〜）：3枚表示
   両端のチラ見え量を合計240px（片側120px）確保し、隣のカードをしっかり見せる */
@media (min-width: 1000px) {
  .fc-card {
    flex: 0 0 calc((100% - 40px - 240px) / 3);
    max-width: none;
  }
}
.fc-card-image {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-alt);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,0.03) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(0,0,0,0.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,0.03) 25%, transparent 25%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 0, 12px -12px, 0 12px;
  border: 1px solid var(--c-line-soft);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-mute);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 16px;
  margin-bottom: 24px;
}
/* 個室活用例カルーセル：縦長の間取り画像を画角保ったまま表示
   - aspect-ratio: 4/5 で縦長コンテナ
   - object-fit: contain で画像を見切らずフィット
   - 余白部は白背景でクリーンに */
.feature-carousel.is-portrait .fc-card-image {
  height: auto;
  aspect-ratio: 4 / 5;
  background: #ffffff;
  background-image: none;
}
.feature-carousel.is-portrait .fc-card-image > img {
  object-fit: contain;
  background: #ffffff;
}
/* 建物スペックカルーセル：設置した画像の比率に合わせて枠を可変表示（トリミングしない）
   - 画像がある場合は 3/2 の固定を解除し、画像本来の縦横比で表示
   - 画像未設置時は .fc-card-image 既定の 3/2 プレースホルダを維持 */
.feature-carousel:not(.is-portrait) .fc-card-image {
  padding: 0;
}
.feature-carousel:not(.is-portrait) .fc-card-image:has(> img) {
  aspect-ratio: auto;
  display: block;
}
.feature-carousel:not(.is-portrait) .fc-card-image > img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: initial;
  display: block;
}
.fc-card-no {
  font-family: var(--ff-display);
  font-size: 14px;
  color: var(--c-text-mute);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.fc-card-no .label {
  color: var(--c-accent);
  font-family: var(--ff-serif);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0.1em;
}
.fc-card-heading {
  font-family: var(--ff-serif);
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0 0 16px;
  color: var(--c-text);
  letter-spacing: 0.06em;
}
.fc-card-body {
  font-size: 15px;
  line-height: 2.05;
  color: var(--c-text-soft);
  margin: 0;
  letter-spacing: 0.04em;
}

/* カルーセル ナビゲーション
   - 円形ボタン、枠線なし、背景は白の85%透過
   - 中の矢印は CSS擬似要素で描く "<" ">" のシェブロン（おしゃれな細線） */
.fc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  z-index: 5;
  /* HTML内のテキスト（◀▶）は非表示にして、擬似要素で描画 */
  font-size: 0;
  line-height: 0;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
  /* ほのかな影で浮かせる */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
/* 中央のシェブロン（<>） */
.fc-arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transition: border-color 0.25s ease;
}
.fc-arrow.prev::before {
  /* 左向き "<" */
  transform: translateX(2px) rotate(-45deg);
}
.fc-arrow.next::before {
  /* 右向き ">" */
  transform: translateX(-2px) rotate(135deg);
}
.fc-arrow:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.08);
}
.fc-arrow.prev { left: 8px; }
.fc-arrow.next { right: 8px; }
@media (min-width: 1000px) {
  .fc-arrow.prev {
    left: 24px;
  }
  .fc-arrow.next {
    right: 24px;
  }
}
.fc-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.fc-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.fc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.fc-dot.active {
  background: var(--c-text);
  transform: scale(1.4);
}


/* ============================================
   IMAGE FILL FOR PLACEHOLDERS
   .wf-image / .fc-card-image / .ph-canvas の中に
   <img>が入った場合、親領域いっぱいに表示する。
   - position: absolute で枠いっぱいに広げる
   - object-fit: cover でアスペクト比保持トリミング
   - imgがある親のpaddingやborderはリセットして見栄えを整える
   ============================================ */
.wf-image > img,
.fc-card-image > img,
.ph-canvas > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* imgを内包したプレースホルダはパターン背景・枠線・余白を消す */
.wf-image:has(> img),
.fc-card-image:has(> img) {
  padding: 0;
  border-color: transparent;
  background-image: none;
}
/* :has() 非対応ブラウザ向けの代替：imgの背面を埋めるための無地背景 */
.wf-image > img,
.fc-card-image > img {
  z-index: 1;
}


/* ============================================
   THEME OVERRIDE — テーマ(style.css)のフォント指定を打ち消す
   body, button, input, select, textarea に Noto Sans JP 系（--ff-sans）を適用。
   html を前置して詳細度を上げ、読み込み順に依存せず勝つようにする。
   ============================================ */
html body,
html button,
html input,
html select,
html textarea {
  font-family: var(--ff-sans);
}


/* ============================================================
   Q&A アコーディオン（ネイティブ <details> / <summary>）
   renovation / toyosawa / petlife 各LP 共通のスタイル。
   マークアップ：
     <div class="qa-list">
       <details class="qa-item">
         <summary><span class="qa-q-text">質問テキスト</span></summary>
         <div class="qa-a-wrap"><p class="qa-a">回答テキスト</p></div>
       </details>
       …
     </div>
   ============================================================ */
.qa-list {
  max-width: 800px;
  margin: 32px auto 0;
}
/* SP：full-bleed配置のセクションでも左右余白を確保 */
@media (max-width: 600px) {
  .qa-list {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.qa-item {
  border-bottom: 1px solid var(--c-line-soft);
}
.qa-item:first-child {
  border-top: 1px solid var(--c-line-soft);
}
.qa-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 40px 24px 32px;
  position: relative;
  font-family: var(--ff-serif);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.85;
  color: var(--c-text);
  transition: color 0.2s ease;
}
.qa-item > summary::-webkit-details-marker { display: none; }
.qa-item > summary::before {
  content: "Q";
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  line-height: 1.85;
}
.qa-item > summary .qa-q-text {
  flex: 1;
  min-width: 0;
}
/* 開閉インジケーター（閉：＋／開：−） */
.qa-item > summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--c-text-mute), var(--c-text-mute)) center/12px 1.5px no-repeat,
    linear-gradient(var(--c-text-mute), var(--c-text-mute)) center/1.5px 12px no-repeat;
  transition: opacity 0.2s ease;
}
.qa-item[open] > summary::after {
  /* 縦棒を消し、横棒（−）だけを表示（回転させない） */
  background:
    linear-gradient(var(--c-accent), var(--c-accent)) center/12px 1.5px no-repeat;
}
.qa-item > summary:hover { color: var(--c-accent-dark); }
.qa-a-wrap {
  padding: 0 32px 24px 32px;
}
.qa-a {
  font-size: 15px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 2.05;
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 32px;
}
.qa-a::before {
  content: "A";
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--c-text-mute);
  letter-spacing: 0.1em;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
}
@media (max-width: 600px) {
  .qa-item > summary {
    font-size: 15px;
    padding: 20px 34px 20px 28px;
  }
  .qa-a-wrap {
    padding: 0 28px 20px 28px;
  }
}
/* 開閉をなめらかにする（ネイティブ <details> のスムーズ開閉）
   ・対応ブラウザ：メニューのアコーディオンと同じ cubic-bezier でスライド展開
   ・非対応ブラウザ：従来どおり瞬時に開閉（レイアウト崩れなし） */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qa-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
      block-size 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      content-visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1) allow-discrete;
  }
  .qa-item[open]::details-content {
    block-size: auto;
  }
}
