/* ===================================================
   GBP Preview Site Generator - Default Template
   スマホファースト / CSS Grid + Flexbox / アニメーション対応
   =================================================== */

/* ---------- CSS変数 ---------- */
:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #eff6ff;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-text: #1e293b;
  --color-text-secondary: #64748b;
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-border: #e2e8f0;
  --color-success: #10b981;

  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: 0.25s ease;
  --transition-slow: 0.5s ease;

  --header-h: 64px;
}

/* ---------- リセット・ベース ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { text-decoration: none; }

ul, ol { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- スクロールリビール ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease calc(var(--delay, 0s)), transform 0.65s ease calc(var(--delay, 0s));
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.section-label.light {
  color: rgba(255,255,255,0.7);
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 14px auto 0;
}
.section-title.left-align {
  text-align: left;
}
.section-title.left-align::after {
  margin-left: 0;
}
.services-title {
  color: #fff;
  text-align: left;
}
.services-title::after {
  background: #fff;
  margin-left: 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  margin-top: 4px;
  margin-bottom: 48px;
  font-size: 0.97rem;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.28); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary-light); color: var(--color-primary); }

.btn-phone {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}
.btn-phone:hover { background: var(--color-primary-dark); color: #fff; }

.btn-map {
  background: var(--color-bg-light);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  margin-top: 20px;
}
.btn-map:hover { background: var(--color-primary-light); color: var(--color-primary); }

.btn-large { padding: 16px 36px; font-size: 1rem; }
.btn-cta { min-width: 220px; }

.btn-cta-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-cta-primary:hover { background: var(--color-primary-light); color: var(--color-primary); }

.btn-cta-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ---------- 1. ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
  height: var(--header-h);
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.site-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.site-name:hover { color: var(--color-primary); }

.header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-link {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-link:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* モバイルナビ */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-tel {
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 8px;
}

/* ---------- 2. ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 20px 120px;
  max-width: 760px;
}
.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-catchcopy {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-subcopy {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  opacity: 0.88;
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.75;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  animation: bounce 2.2s ease infinite;
}
@keyframes bounce {
  0%, 60%, 100% { transform: translateX(-50%) translateY(0); }
  30% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- 3. クイック情報バー ---------- */
.quick-info-bar {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 0;
}
.quick-info-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.quick-icon { font-size: 1rem; }
.quick-label {
  font-size: 0.75rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
}
.quick-item strong { font-size: 1rem; }
.quick-sub { font-size: 0.8rem; opacity: 0.75; }
.quick-tel strong { color: #fff; font-size: 1.05rem; }
.quick-tel:hover strong { opacity: 0.8; }

/* ---------- 4. アバウト ---------- */
.about { background: var(--color-bg-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 8px;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-body {
  font-size: 1.03rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-top: 20px;
  margin-bottom: 24px;
}
.about-image {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-secondary);
}
.about-img-placeholder span { font-size: 3rem; }

.rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.stars { color: var(--color-accent); font-size: 1.1rem; letter-spacing: 1px; }
.rating-score { font-weight: 700; font-size: 1.25rem; }
.review-count { color: var(--color-text-secondary); font-size: 0.88rem; }
.rating-source {
  display: block;
  width: 100%;
  color: var(--color-text-secondary);
  font-size: 0.76rem;
  margin-top: 4px;
}

/* ---------- 5. ギャラリー ---------- */
.gallery { background: var(--color-bg); }

.gallery-grid {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

/* 1枚: 1列 */
.gallery-count-1 {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* 2枚: 2列 */
.gallery-count-2 {
  grid-template-columns: 1fr 1fr;
}
/* 3〜6枚: masonry風3列 */
.gallery-count-3,
.gallery-count-4,
.gallery-count-5,
.gallery-count-6 {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
}

/* 最初の画像を大きく（3枚以上のとき） */
.gallery-count-3 .gallery-item:first-child,
.gallery-count-4 .gallery-item:first-child,
.gallery-count-5 .gallery-item:first-child,
.gallery-count-6 .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--color-border);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

/* 1枚・2枚のときは高さをauto系に */
.gallery-count-1 .gallery-item,
.gallery-count-2 .gallery-item {
  aspect-ratio: 4/3;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-zoom { font-size: 2rem; color: #fff; }

/* ---------- 6. サービス ---------- */
.services { background: var(--color-bg-light); padding: 0 0 80px; }

.services-banner {
  width: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 60px;
}
.services-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.82) 0%, rgba(15,23,42,0.5) 100%);
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px 0 0 2px;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.service-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.service-description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}
.service-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

/* ---------- 7. 選ばれる理由 ---------- */
.strengths { background: var(--color-bg); }

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.strength-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.strength-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.strength-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.strength-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.strength-body { font-size: 0.92rem; color: var(--color-text-secondary); line-height: 1.75; }

/* ---------- 8. 口コミ傾向 ---------- */
.review-insights {
  background: linear-gradient(150deg, var(--color-primary-light) 0%, #f0fdf4 100%);
}
.review-summary {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  position: relative;
}
.review-quote-mark {
  font-size: 8rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  position: absolute;
  top: -20px;
  left: -16px;
  pointer-events: none;
}
.review-summary-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 28px;
  position: relative;
}
.review-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.review-point {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.point-icon { color: var(--color-success); font-weight: 700; }

/* ---------- 9. ご利用の流れ ---------- */
.process { background: var(--color-bg); }

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 48px;
  align-items: flex-start;
  justify-content: center;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
  padding: 0 16px;
}
.process-step-num {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.process-arrow {
  position: absolute;
  top: 22px;
  right: -16px;
  font-size: 1.8rem;
  color: var(--color-border);
  z-index: 0;
  line-height: 1;
}
.process-step-content {
  flex: 1;
}
.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.process-step-body {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---------- 10. FAQ ---------- */
.faq { background: var(--color-bg-light); }
.faq-list { max-width: 760px; margin: 0 auto; margin-top: 48px; }

.faq-item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--color-primary-light); }

.faq-q {
  min-width: 30px;
  height: 30px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-q-text { flex: 1; }
.faq-icon {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-question.open { background: var(--color-primary-light); }

.faq-answer {
  display: none;
  padding: 0 22px 20px 66px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
}
.faq-answer.open { display: flex; gap: 14px; align-items: flex-start; }

.faq-a {
  min-width: 30px;
  height: 30px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- 11. アクセス ---------- */
.access { background: var(--color-bg); }
.access-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th, .info-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
  vertical-align: top;
}
.info-table th {
  width: 30%;
  color: var(--color-text-secondary);
  font-weight: 500;
  background: var(--color-bg-light);
  white-space: nowrap;
}
.tel-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}
.access-description {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.map-link-wrapper {
  display: block;
  text-decoration: none;
}
.map-link-box {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.map-link-wrapper:hover .map-link-box {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.map-icon { font-size: 2.4rem; }
.map-link-text {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}
.map-link-sub {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.map-placeholder {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.access-thumb {
  margin-top: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.access-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 12. CTA ---------- */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 100px 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #4f46e5 100%);
  opacity: 0.93;
}
.cta-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.cta-heading {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-body {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- 13. フッター ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
}
.footer-main {
  padding: 56px 0 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-store-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.footer-address,
.footer-phone,
.footer-hours {
  font-size: 0.87rem;
  margin-top: 6px;
  color: rgba(255,255,255,0.65);
}
.footer-phone a { color: rgba(255,255,255,0.75); }
.footer-phone a:hover { color: #fff; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-copyright { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-attribution { font-size: 0.73rem; color: rgba(255,255,255,0.3); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  max-width: 540px;
  text-align: right;
  line-height: 1.6;
}

/* ---------- ライトボックス ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: min(90vw, 1000px);
  max-height: 90svh;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 60px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--transition);
  z-index: 10000;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2.4rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10000;
  line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.22); }

/* ---------- レスポンシブ: タブレット（768px以下） ---------- */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-cta .btn-phone { display: none; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image { order: -1; }
  .about-img { aspect-ratio: 16/9; border-radius: var(--radius-md); }

  .access-grid { grid-template-columns: 1fr; gap: 32px; }

  .gallery-count-3,
  .gallery-count-4,
  .gallery-count-5,
  .gallery-count-6 {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-count-3 .gallery-item:first-child,
  .gallery-count-4 .gallery-item:first-child,
  .gallery-count-5 .gallery-item:first-child,
  .gallery-count-6 .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .process-arrow { display: none; }
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .process-step {
    max-width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }
  .process-step-num { margin-bottom: 0; flex-shrink: 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 56px; }

  .section { padding: 60px 0; }
  .container { padding: 0 16px; }

  .hero { min-height: 85svh; min-height: 85vh; }
  .hero-content { padding: 80px 16px 100px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .quick-info-inner { gap: 16px; }
  .quick-item { font-size: 0.83rem; }

  .gallery-count-2,
  .gallery-count-3,
  .gallery-count-4,
  .gallery-count-5,
  .gallery-count-6 {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gallery-item { aspect-ratio: 4/3; }
  .gallery-count-3 .gallery-item:first-child,
  .gallery-count-4 .gallery-item:first-child,
  .gallery-count-5 .gallery-item:first-child,
  .gallery-count-6 .gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .services-grid { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-nav {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; font-size: 1.8rem; }
}

@media (max-width: 420px) {
  .info-table th, .info-table td { padding: 10px 12px; font-size: 0.86rem; }
}
