/* ===============================================
   ラビットR24御所店 スタイルシート
   白基調 + ラビットレッド / 高齢者にも読みやすい大きめ文字
   =============================================== */

:root {
  --red: #e60012;
  --red-dark: #c3000f;
  --text: #2b2b2b;
  --text-sub: #555555;
  --bg-gray: #f7f6f4;
  --border: #e0ddd8;
  --green: #1a8a3c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }

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

.accent { color: var(--red); }
.sp-only { display: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: #fff;
  border-top: 6px solid var(--red);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-logo, .footer-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.logo-rabbit {
  font-weight: 900;
  font-size: 34px;
  color: #fff;
  background: var(--red);
  padding: 2px 16px;
  border-radius: 8px;
  letter-spacing: 1px;
  font-style: italic;
}

.logo-shop {
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}

.header-contact { text-align: right; }

.header-tel {
  text-decoration: none;
  color: var(--text);
  display: inline-block;
  line-height: 1.4;
}

.tel-label {
  display: block;
  font-size: 14px;
  color: var(--red);
  font-weight: 700;
}

.tel-number {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 1px;
}

.header-hours {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 2px;
}

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(180deg, #fff 0%, #fdf3f3 100%);
  border-bottom: 1px solid var(--border);
}

.hero-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.hero-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px 48px;
  text-align: center;
}

.hero-sub {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-sub);
}

.hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.4;
  margin: 8px 0 14px;
}

.hero-lead {
  font-size: 21px;
  margin-bottom: 20px;
}

.hero-badges {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-badges li {
  background: #fff;
  border: 3px solid var(--red);
  color: var(--red);
  border-radius: 999px;
  padding: 6px 24px;
  font-size: 19px;
  font-weight: 700;
}

.hero-badges li strong { font-size: 23px; }

/* ---------- ボタン ---------- */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 14px;
  padding: 14px 36px;
  min-width: 320px;
  text-align: center;
  line-height: 1.5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.btn-small { display: block; font-size: 15px; font-weight: 700; }
.btn-big { display: block; font-size: 26px; font-weight: 900; letter-spacing: 1px; }

.btn-tel {
  background: var(--green);
  color: #fff;
}

.btn-satei {
  background: var(--red);
  color: #fff;
}

.btn-satei-white {
  background: #fff;
  color: var(--red);
  border: 3px solid #fff;
}

/* ---------- セクション共通 ---------- */
.section { padding: 64px 0; }
.section-gray { background: var(--bg-gray); }

.section-title {
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.5;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  background: var(--red);
  margin: 12px auto 0;
  border-radius: 3px;
}

.section-lead {
  text-align: center;
  font-size: 19px;
  margin-bottom: 36px;
  color: var(--text-sub);
}

/* ---------- 選ばれる理由 ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--red);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.reason-icon { font-size: 44px; line-height: 1; margin-bottom: 12px; }

.reason-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.reason-card p { font-size: 17px; }
.reason-card strong { color: var(--red); }

.staff-photo {
  margin-top: 44px;
  text-align: center;
}

.staff-photo img {
  margin: 0 auto;
  border-radius: 14px;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.staff-photo figcaption {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 500;
}

.staff-photo strong { color: var(--red); }

/* ---------- サービス ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-icon { font-size: 40px; margin-bottom: 8px; }

.service-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}

.service-card p { font-size: 16px; color: var(--text-sub); }

/* ---------- 流れ ---------- */
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: flow;
  margin-bottom: 40px;
}

.flow-step {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 26px 20px 22px;
  text-align: center;
  position: relative;
}

.flow-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.flow-step h3 { font-size: 21px; margin-bottom: 8px; }
.flow-step p { font-size: 16px; text-align: left; }

/* ---------- 開閉ボックス(査定の流れ詳細) ---------- */
.detail-box {
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 14px;
  overflow: hidden;
}

.detail-box summary {
  cursor: pointer;
  list-style: none;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 18px 20px;
  user-select: none;
}

.detail-box summary::-webkit-details-marker { display: none; }
.detail-box summary:hover { background: var(--red-dark); }

.detail-box[open] summary { border-bottom: 1px solid var(--border); }

.detail-body { padding: 28px 30px; }

.detail-body h3 {
  font-size: 22px;
  color: var(--red);
  margin: 22px 0 8px;
  padding-left: 14px;
  border-left: 6px solid var(--red);
  line-height: 1.5;
}

.detail-body h3:first-child { margin-top: 0; }
.detail-body p { margin-bottom: 8px; }
.detail-body strong { color: var(--red); }

.doc-list {
  margin: 10px 0 10px 4px;
  list-style: none;
}

.doc-list li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 4px;
  font-weight: 500;
}

.doc-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 700;
  padding: 18px 56px 18px 58px;
  position: relative;
  user-select: none;
  line-height: 1.6;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}

.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
}

.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: #fdf3f3; }

.faq-answer {
  padding: 4px 24px 20px 58px;
  position: relative;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}

.faq-answer::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 12px;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}

.faq-answer strong { color: var(--red); }

/* ---------- 店舗情報・アクセス ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

.info-table th, .info-table td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background: var(--bg-gray);
  width: 38%;
  font-weight: 700;
  white-space: nowrap;
}

.tel-link {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
  font-size: 20px;
}

.tel-link.big { font-size: 26px; }
.note { font-size: 14px; color: var(--text-sub); }

.access-note {
  margin-top: 16px;
  font-size: 17px;
  background: #fdf3f3;
  border-radius: 10px;
  padding: 14px 18px;
}

.shop-map iframe {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-link {
  text-align: center;
  margin-top: 12px;
}

.map-link a {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 999px;
  padding: 8px 24px;
  text-decoration: none;
}

.map-link a:hover {
  background: #fdf3f3;
}

.chirashi {
  margin-top: 48px;
  text-align: center;
}

.chirashi img {
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.chirashi figcaption {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-sub);
}

/* ---------- 締めCTA ---------- */
.closing-cta {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 56px 0 64px;
}

.closing-cta h2 { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.closing-cta > .container > p { font-size: 19px; margin-bottom: 28px; }
.closing-hours { margin-top: 20px; font-size: 16px; opacity: 0.95; }

.closing-cta .btn-tel {
  background: #fff;
  color: var(--green);
}

/* ---------- フッター ---------- */
.site-footer {
  background: #2b2b2b;
  color: #eee;
  text-align: center;
  padding: 40px 0 120px; /* 下部固定バーに隠れないよう余白 */
}

.site-footer .footer-logo { justify-content: center; margin-bottom: 16px; }
.site-footer .logo-shop { color: #fff; }

.footer-info { font-size: 16px; margin-bottom: 14px; }
.footer-info a { color: #fff; font-weight: 700; }

.footer-links a { color: #ffd2d6; }

.copyright { margin-top: 18px; font-size: 14px; color: #aaa; }

/* ---------- スマホ用固定バー ---------- */
.fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: 100;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
}

.fixed-bar a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  padding: 12px 6px 10px;
  line-height: 1.3;
}

.fixed-tel { background: var(--green); }
.fixed-satei { background: var(--red); }

.fixed-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.95;
}

/* ---------- レスポンシブ ---------- */
@media (min-width: 861px) {
  /* PCでは固定バーを隠す(ヘッダーに電話があるため) */
  .fixed-bar { display: none; }
  .site-footer { padding-bottom: 40px; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .sp-only { display: inline; }

  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .header-contact { text-align: center; }
  .logo-rabbit { font-size: 28px; }
  .logo-shop { font-size: 18px; }
  .tel-number { font-size: 26px; }

  .hero-title { font-size: 32px; }
  .hero-lead { font-size: 18px; }
  .hero-badges li { font-size: 16px; padding: 4px 18px; }
  .hero-badges li strong { font-size: 19px; }

  .btn { min-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }

  .section { padding: 44px 0; }
  .section-title { font-size: 26px; }
  .section-lead { font-size: 17px; }

  .detail-box summary { font-size: 18px; }
  .detail-body { padding: 20px 18px; }
  .detail-body h3 { font-size: 19px; }

  .faq-item summary { font-size: 17px; padding: 16px 46px 16px 56px; }

  .access-grid { grid-template-columns: 1fr; }
  .info-table th { width: 34%; }

  .closing-cta h2 { font-size: 24px; }
}
