/* ===================================================
   GBP Preview Site Generator - Default Template
   清潔感・信頼感・親しみやすさを重視したスタイル
   スマホファースト設計
   =================================================== */

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

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #eff6ff;
  --color-accent: #f59e0b;
  --color-text: #1e293b;
  --color-text-secondary: #64748b;
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-border: #e2e8f0;
  --color-success: #10b981;

  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.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); }

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

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

.btn-phone {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.9rem;
}

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

.btn-large { padding: 14px 30px; font-size: 1rem; }
.btn-cta { min-width: 240px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.site-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}
.header-nav {
  display: flex;
  gap: 24px;
}
.nav-link {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}
.nav-link:hover { color: var(--color-primary); text-decoration: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  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;
}
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}
.hero-catchcopy {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}
.hero-subcopy {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 72px 0;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ---------- イントロ ---------- */
.intro { background: var(--color-bg-light); }
.intro-body {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
}
.rating-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.stars { color: var(--color-accent); font-size: 1.2rem; }
.rating-score { font-weight: 700; font-size: 1.3rem; }
.review-count { color: var(--color-text-secondary); font-size: 0.9rem; }
.rating-source {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ---------- 選ばれる理由 ---------- */
.strengths { background: var(--color-bg); }
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.strength-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.strength-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.strength-icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--color-primary); }
.strength-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.strength-body { font-size: 0.93rem; color: var(--color-text-secondary); line-height: 1.7; }

/* ---------- 口コミ傾向 ---------- */
.review-insights {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
}
.review-summary {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
}
.review-summary-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 24px;
}
.review-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
}
.review-point {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.point-icon { color: var(--color-success); font-weight: 700; }

/* ---------- サービス ---------- */
.services { background: var(--color-bg-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.service-name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.service-description { font-size: 0.9rem; color: var(--color-text-secondary); margin-bottom: 12px; }
.service-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}

/* ---------- アクセス ---------- */
.access { background: var(--color-bg); }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.info-table th {
  width: 30%;
  color: var(--color-text-secondary);
  font-weight: 500;
  background: var(--color-bg-light);
}
.tel-link { font-size: 1.1rem; font-weight: 700; color: var(--color-primary); }
.access-description {
  margin-top: 16px;
  font-size: 0.93rem;
  color: var(--color-text-secondary);
}
.map-placeholder {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.map-link-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 24px;
}
.map-icon { font-size: 2rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--color-bg-light); }
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-question:hover { background: var(--color-primary-light); }
.faq-q {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-icon { margin-left: auto; font-size: 0.8rem; transition: transform var(--transition); }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px 60px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}
.faq-answer.open { display: flex; gap: 12px; }
.faq-a {
  width: 28px;
  height: 28px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
  color: #fff;
  text-align: center;
}
.cta-heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-body {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- フッター ---------- */
.site-footer {
  background: #1e293b;
  color: rgba(255,255,255,0.8);
}
.footer-main {
  padding: 40px 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-store-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-address, .footer-phone {
  font-size: 0.88rem;
  margin-top: 4px;
}
.footer-phone a { color: rgba(255,255,255,0.8); }
.footer-attribution {
  text-align: right;
}
.footer-attribution small { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-copyright { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  max-width: 600px;
  text-align: right;
  line-height: 1.5;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero { min-height: 55vh; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; text-align: center; }

  .strengths-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .services-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-attribution { text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .info-table th, .info-table td { padding: 10px 12px; font-size: 0.88rem; }
}
