@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap");

/* 統合フロント共通スタイル - カテゴリ別テーマは .theme-* で切り替え */
:root {
  --font-sans: "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --text-body: #233447;
  --primary: #1c2e4a;
  --accent: #b8860b;
  --gold: #c5a059;
  --bg-page: #e6ecf2;
  --card-shadow: 0 4px 15px rgba(0,0,0,0.08);
  --card-hover-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.theme-kokunai { --primary: #1a365d; --accent: #ff6b00; }
.theme-sonota { --primary: #4a148c; --accent: #00c853; }
.theme-taiyoko { --primary: #0d5c2e; --accent: #ffc107; }

* { box-sizing: border-box; }

/* PC: ベースフォント 16px（rem の基準） */
@media (min-width: 769px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--bg-page);
  margin: 0;
  padding: 0;
  color: var(--text-body);
  line-height: 1.9;
  letter-spacing: .1em;
}
body.bg-white{background-color: #fff;}
.container {padding: 20px 10px; max-width: 1200px; margin: 0 auto; }

/* サイトヘッダー（ロゴ左・ナビ＋CTA右・白背景） */
.site-header {
  margin-bottom: 0;
  padding: 12px 60px;
  background: #fff;
  border-bottom: 1px solid #e8ecf1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
.site-header > a:first-of-type {
  flex-shrink: 0;
}
.site-header-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 8px clamp(12px, 2vw, 28px);
  text-decoration: none;
}
.site-header-menu a {
  position: relative;
  text-decoration: none;
  padding: 6px 2px;
  color: var(--text-body);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.site-header-menu a:hover:not(.site-header-cta) {
  color: #1565c0;
}
.site-header-menu .site-header-cta {
  flex-shrink: 0;
  margin-left: clamp(4px, 1vw, 12px);
  padding: 0.55em 1.15em;
  background: #1565c0;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  line-height: 1.35;
  white-space: nowrap;
}
.site-header-menu .site-header-cta:hover {
  background: #0d47a1;
  color: #fff !important;
  opacity: 1;
}
.site-header-logo {
  height: clamp(28px, 4vw, 36px);
  width: auto;
  max-width: min(380px, calc(100vw - 108px));
  display: block;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 5px;
}

/* ハンバーガーボタン（PCでは非表示） */
.site-header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  gap: 5px;
  z-index: 101;
  position: relative;
}
.site-header-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.site-header-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-header-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* メニューオーバーレイ（スマホでメニュー開時） */
.site-header-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
}
body.menu-open .site-header-overlay {
  display: block;
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 16px;
    overflow-x: clip;
  }
  .site-header-hamburger {
    display: flex;
  }
  .site-header-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 280px);
    max-width: calc(100vw - 16px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 68px 24px 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .site-header-menu a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
  }
  .site-header-menu .site-header-cta {
    margin-left: 0;
    margin-top: 8px;
    padding: 12px 18px;
    font-size: 0.875rem;
    text-align: center;
    border-bottom: none;
    white-space: normal;
    align-self: stretch;
  }
  body.menu-open .site-header-menu {
    transform: translateX(0);
  }
  body.menu-open {
    overflow: hidden;
    overflow-x: hidden;
    touch-action: pan-y;
  }
}

.home-back-nav { margin-bottom: 20px; display: flex; align-items: center; }
.btn-home {
  text-decoration: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: bold;
  border: 1px solid var(--primary);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s;
  background: white;
}
.btn-home:hover { background: var(--primary); color: white; }

/* パンくずリスト（SUUMO風） */
.breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
  padding: 8px 0;
}
.breadcrumb a {
  color: var(--text-body);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 6px; color: #999; }

/* 物件一覧：ヘッダー直下ヒーロー（お問い合わせ .contact-page-hero と同じ高さ・余白） */
.list-hero {
  width: 100%;
  background-image: linear-gradient(to top, #024898, #013572);
  color: #fff;
  padding: 22px 16px 36px;
  box-sizing: border-box;
}
.list-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.list-hero-breadcrumb {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.list-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}
.list-hero-breadcrumb a:hover {
  text-decoration: underline;
}
.list-hero-breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.75;
}
.list-hero-title,
h1.list-hero-title {
  text-align: center;
  font-size: clamp(1.25rem, 4vw, 1.45rem);
  font-weight: 700;
  /* .contact-page-title と同じ（下余白でブロック高さを一致） */
  margin: 14px 0 22px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: #fff;
  border: none;
  padding: 0;
}
@media (min-width: 641px) {
  .list-hero-title,
  h1.list-hero-title {
    font-size: 24px;
  }
}
@media (max-width: 640px) {
  .list-hero {
    padding: 18px 12px 28px;
  }
  .list-hero-title,
  h1.list-hero-title {
    margin: 12px 0 18px;
  }
}

.list-page-body.container {
  padding-top: 0px;
}
.list-toolbar-container{
  background-color: #fff;
  padding: 20px 0px 5px;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}
.list-toolbar--subhero {
  margin-bottom: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.list-toolbar-container + .property-grid {
  margin-top: 20px;
}
.property-grid + .search-container {
  margin-top: 20px;
}
.list-toolbar--subhero .list-toolbar-left {
  gap: 14px 24px;
}
.list-toolbar--subhero .result-count {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-body);
  font-weight: 400;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  letter-spacing: 0.06em;
}
.list-toolbar--subhero .result-count-num {
  font-size: 1.425rem;
  font-weight: 700;
  color: var(--text-body);
  margin: 0 0.12em;
}
.list-toolbar--subhero .sort-select,
.list-toolbar--subhero .per-page-select {
  border: 1px solid #dce0e6;
  border-radius: 2px;
  background: #fff;
  min-height: 38px;
  padding: 8px 32px 8px 12px;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}
.list-toolbar--subhero .per-page-select {
  min-width: 88px;
}

.list-subtitle {
  font-size: 14px;
  color: #666;
  margin: -15px 0 20px 0;
  padding-left: 21px;
}

/* 一覧ツールバー（件数・ソート・表示件数） */
.list-toolbar {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0px auto 20px;
}
.list-toolbar-left { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.result-count { font-weight: bold; color: var(--primary); font-size: 15px; }
.sort-select, .per-page-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  min-width: 160px;
}
.per-page-label { font-size: 14px; color: #555; display: flex; align-items: center; gap: 8px; }
.per-page-select { min-width: 90px; }

h1 {
  text-align: left;
  color: var(--primary);
  border-left: 6px solid var(--accent);
  padding-left: 15px;
  margin-bottom: 25px;
  font-size: 24px;
}

/* 一覧：トップの hero-fv-search と同型（内側 .hero-fv-search に見た目を任せる） */
.search-container {
  margin-bottom: 30px;
}
.search-container .hero-fv-search {
  opacity: 1;
  transform: none;
  margin-bottom: 0;
}
.search-group { display: flex; flex-direction: column; gap: 8px; }
.search-group label { font-size: 13px; font-weight: bold; color: var(--primary); }
.search-group select {
  padding: 12px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  min-width: 180px;
  background: white;
  font-size: 14px;
}
.count-display { font-size: 14px; color: var(--accent); font-weight: bold; margin-left: auto; }

/* 物件一覧：トップ「おすすめの投資物件」と同型カード（PC は横3件） */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 16px;
  align-items: stretch;
  margin-bottom: 80px;
}
.property-grid .top-recommend-card {
  min-width: 0;
  flex: none;
  width: 100%;
  max-width: none;
  height: 100%;
}
@media (max-width: 900px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* SP：物件カードは1列（2列表示をやめる） */
@media (max-width: 768px) {
  .property-grid {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
}

/* 物件一覧：ページネーション */
.list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 80px 0 80px;
}
.list-pagination[hidden] {
  display: none;
}
.list-pagination-btn,
.list-pagination-num {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dce0e6;
  border-radius: 2px;
  background: #fff;
  color: var(--text-body);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.list-pagination-btn:hover:not(:disabled),
.list-pagination-num:hover:not(.is-current) {
  border-color: #1565c0;
  color: #1565c0;
}
.list-pagination-num.is-current {
  background: #1565c0;
  border-color: #1565c0;
  color: #fff;
  font-weight: 700;
  cursor: default;
}
.list-pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.list-pagination-ellipsis {
  min-width: 24px;
  text-align: center;
  color: #888;
}
@media (max-width: 560px) {
  .list-pagination {
    gap: 10px;
    margin: 40px 0 40px;
  }
  .list-pagination-btn,
  .list-pagination-num {
    min-width: 36px;
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.875rem;
  }
}
@media (max-width: 560px) {
  .list-toolbar-container {
    padding: 10px 10px 5px;
  }
}
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
}
.card-main-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  cursor: pointer;
}
.card-info-row {
  font-size: 12px;
  color: #555;
  margin-top: 6px;
  line-height: 1.5;
}
.card-info-row .label {
  font-weight: bold;
  color: var(--primary);
  margin-right: 4px;
}
.card-actions {
  display: flex;
  gap: 10px;
  padding: 12px 20px 20px;
  border-top: 1px solid #eee;
  margin-top: auto;
}
.btn-detail, .btn-inquiry {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}
.btn-detail {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}
.btn-detail:hover { background: #0f1e36; color: white; }
.btn-inquiry {
  background: white;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-inquiry:hover { background: var(--accent); color: white; }
.image-box {
  width: 100%;
  height: 210px;
  background: #e0e0e0;
  position: relative;
  overflow: hidden;
}
.yield-badge, .tag-badge {
  position: absolute;
  z-index: 1;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
}
.yield-badge { background: var(--accent); top: 15px; left: 15px; }
.tag-badge { background: rgba(28, 46, 74, 0.85); bottom: 10px; right: 10px; font-size: 12px; }
.property-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .property-img { transform: scale(1.05); }

.content { padding: 20px; flex-grow: 1; }
.dev-name, .type-tag { font-size: 12px; color: var(--accent); font-weight: bold; margin-bottom: 5px; }
.completion-tag { font-size: 12px; color: #555; margin-bottom: 4px; }
.title { font-size: 18px; font-weight: bold; margin-bottom: 12px; color: var(--primary); min-height: 52px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.price { font-size: 24px; color: #d31212; font-weight: bold; margin-bottom: 10px; }
.loc-info { font-size: 13px; color: #666; }
.access-info { font-size: 12px; color: #888; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 詳細ページ */
#detail-view .image-box { height: 450px; margin-bottom: 25px; border-radius: 8px; }

/* 詳細ページ・ヒーロー（モック準拠：タイトル上段／左画像・右タグ＋仕様表） */
.detail-hero {
  margin-bottom: clamp(28px, 4vw, 42px);
}
.detail-hero-title {
  margin: 0 0 clamp(18px, 2.5vw, 28px);
  padding: 0;
  border: none;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: left;
}
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
@media (min-width: 768px) {
  .detail-hero-grid {
    grid-template-columns: 500px minmax(0, 1fr);
  }
}
.detail-hero-visual {
  background: #e8eaed;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
}
.detail-hero-visual .detail-main-image {
  margin: 0;
  aspect-ratio: 3 / 2;
  height: auto;
  max-height: none;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
}
.detail-hero-panel {
  padding: 0;
  min-width: 0;
}
.detail-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin-bottom: 14px;
}
.detail-hero-tag {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.detail-hero-tag--text {
  color: #1a1a1a;
}
.detail-hero-tag--accent {
  color: var(--accent);
}
.detail-hero-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.detail-hero-spec-table th,
.detail-hero-spec-table td {
  border: 1px solid #d8dde5;
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}
.detail-hero-spec-table th {
  width: 38%;
  max-width: 11em;
  background: #eef1f6;
  color: #333;
  font-weight: 700;
}
.detail-hero-spec-table td {
  background: #fff;
}
.detail-hero-spec-price {
  color: #db5051;
  font-weight: 700;
}
.detail-section { margin-bottom: 35px; }
.detail-section-title {
  font-size: 18px;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 15px;
}

/* 詳細ページ・基本スペック（左見出し＋右：ラベル右寄せ・値左寄せ） */
.detail-basic-spec {
  margin-bottom: 35px;
  padding: clamp(18px, 2.5vw, 26px) 0;
  border-top: 1px solid #0e63c4;
}
.detail-basic-spec-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 640px) {
  .detail-basic-spec-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.detail-basic-spec-heading {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 150px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .detail-basic-spec-heading {
    white-space: normal;
  }
}
.detail-basic-spec-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}
.detail-basic-spec-row {
  display: grid;
  grid-template-columns: minmax(7.5em, 12.5em) minmax(0, 1fr);
  gap: 10px 18px;
  align-items: baseline;
}
@media (max-width: 640px) {
  .detail-basic-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.detail-basic-spec-label {
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-body);
  text-align: right;
  line-height: 1.65;
  font-weight: 600;
}
@media (max-width: 640px) {
  .detail-basic-spec-label {
    text-align: left;
  }
}
.detail-basic-spec-value {
  margin: 0;
  margin-inline-start: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-body);
  text-align: left;
  line-height: 1.65;
}
.detail-basic-spec-value--preline {
  white-space: pre-line;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.detail-gallery-item {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.detail-gallery-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #fff;
}
.detail-gallery-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.detail-gallery-type {
  display: block;
  padding: 8px 12px 8px 0px;
  font-size: 12px;
  font-weight: bold;
}

/* クリックで拡大できる画像 */
.detail-zoomable {
  position: relative;
  cursor: zoom-in;
}
.detail-zoomable img {
  transition: transform 0.3s ease;
}
.detail-zoomable:hover img {
  transform: scale(1.04);
}
.detail-zoomable:focus-visible {
  outline: 2px solid #1565c0;
  outline-offset: 2px;
}
.detail-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.85);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.detail-zoom-hint::before,
.detail-zoom-hint::after {
  content: '';
  position: absolute;
  background: #fff;
}
.detail-zoom-hint::before {
  top: 16px;
  left: 9px;
  width: 16px;
  height: 2px;
}
.detail-zoom-hint::after {
  top: 9px;
  left: 16px;
  width: 2px;
  height: 16px;
}
.detail-zoomable:hover .detail-zoom-hint,
.detail-zoomable:focus-visible .detail-zoom-hint {
  opacity: 1;
}

/* 画像拡大ライトボックス */
body.lightbox-open {
  overflow: hidden;
}
.detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-lightbox[aria-hidden="true"] {
  display: none;
}
.detail-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.detail-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(94vw, 1100px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.detail-lightbox-figure {
  margin: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.detail-lightbox-img {
  max-width: 86vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  background: #fff;
}
.detail-lightbox-caption {
  margin-top: 12px;
  color: #fff;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.detail-lightbox-btn {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.detail-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.detail-lightbox-prev,
.detail-lightbox-next {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}
.detail-lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}
.detail-lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}
@media (max-width: 768px) {
  .detail-lightbox-content {
    gap: 4px;
  }
  .detail-lightbox-prev,
  .detail-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .detail-lightbox-img {
    max-width: 80vw;
  }
  .detail-lightbox-close {
    top: -48px;
  }
}
.spec-table { width: 100%; border-collapse: collapse; margin-top: 25px; }
.spec-table th, .spec-table td { border-bottom: 1px solid #eee; padding: 18px; text-align: left; }
.spec-table th { color: #666; font-weight: bold; width: 30%; background: #fcfcfc; }
.inquiry-btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 780px;
  margin: 50px auto 50px;
  padding: 15px clamp(24px, 6vw, 60px);
  border: 2px solid #1565c0;
  border-radius: 9999px;
  background: #fff;
  color: #1565c0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.inquiry-btn:hover {
  background: #1565c0;
  color: #fff;
}
.inquiry-btn:focus-visible {
  outline: 2px solid #1565c0;
  outline-offset: 3px;
}
.loading { text-align: center; padding: 50px; font-size: 18px; color: var(--primary); font-weight: bold; }
.error-msg { text-align: center; padding: 50px; color: #c53030; font-weight: bold; }
.back-btn { cursor: pointer; color: var(--primary); font-weight: bold; margin-bottom: 25px; display: inline-block; }
.back-btn:hover { color: var(--accent); }

/* サイトフッター（青背景・白文字・中央揃え） */
.site-footer {
  padding: 40px 20px;
  text-align: center;
  background: #1565c0;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.site-footer-links {
  margin: 0 0 12px 0;
}
.site-footer-links a {
  color: #fff;
  text-decoration: none;
}
.site-footer-links a:hover {
  text-decoration: underline;
  opacity: 0.95;
}
.site-footer-sep {
  margin: 0 0.5em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}
.site-footer-copy {
  margin: 0;
  color: #fff;
}
