/*
 * カイトリのミカタ LP 共通スタイル
 * - スマートフォン優先。広い画面は末尾の @media で調整する。
 * - 色は :root の変数で管理する（website/SPEC.md 7. デザイン の現行値を基本にする）。
 * - 主要ターゲット（50〜70代女性）向けに、本文18px・タップ領域48px以上を基本とする。
 */

:root {
  --rose: #b43b54;
  --rose-soft: #f4dde2;
  --rose-pale: #fbf4f5;
  --gold: #b18a55;
  --ivory: #f4efe7;
  --paper: #fff;
  --ink: #272421;
  --sub: #706862;
  --line: #ded5ca;

  --font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", serif;

  --radius: 12px;
  --mobile-call-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: var(--mobile-call-height);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--ivory);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  line-height: 1.5;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--rose);
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
}

.header-call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  min-height: 48px;
  justify-content: center;
  color: var(--rose);
  font-weight: bold;
  text-decoration: none;
  line-height: 1.3;
}

.header-call small {
  font-size: 14px;
  font-weight: normal;
  color: var(--sub);
}

.event-bar {
  background: var(--rose-soft);
  font-size: 16px;
  text-align: center;
  padding: 6px 0;
}

/* ---------- ファーストビュー ---------- */

.hero {
  background: linear-gradient(180deg, var(--rose-pale) 0%, var(--paper) 100%);
  padding: 28px 0 36px;
}

.hero-title {
  font-size: 30px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 20px;
}

/* 開催情報（平日開催・営業時間・会場） */
.hero-event {
  background: var(--paper);
  border: 2px solid var(--rose-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.hero-event p {
  margin: 0;
}

.hero-event-when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.hero-event-tag {
  display: inline-block;
  background: var(--rose);
  color: var(--paper);
  font-weight: bold;
  font-size: 17px;
  border-radius: 6px;
  padding: 2px 10px;
}

.hero-event-hours {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.hero-event-closed {
  font-size: 16px;
  color: var(--sub);
  margin-top: 2px !important;
}

.hero-event-where {
  font-weight: bold;
  margin-top: 8px !important;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* ---------- 安心訴求 ---------- */

.appeals {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.appeals li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--rose-soft);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.4;
}

.appeals li::before {
  content: "✓";
  color: var(--rose);
  font-weight: bold;
  flex-shrink: 0;
}

/* 文字数が多い訴求は1行全体を使う */
.appeals li:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

/* ファーストビューの電話相談 */
.phone-lead {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

/* ---------- 電話CTA ---------- */

.phone-cta {
  margin: 8px 0 0;
}

.call-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 16px;
  background: var(--rose);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  line-height: 1.4;
}

.call-button .call-label {
  font-size: 17px;
}

.call-button .call-number {
  font-size: 26px;
  letter-spacing: 0.04em;
}

.phone-hours {
  text-align: center;
  font-size: 16px;
  color: var(--sub);
  margin: 8px 0 0;
}

/* ---------- セクション共通 ---------- */

.section {
  padding: 48px 0;
  background: var(--paper);
}

.section:nth-of-type(even) {
  background: var(--ivory);
}

.section-title {
  font-size: 24px;
}

.section-lead {
  color: var(--ink);
}

.note {
  font-size: 16px;
  color: var(--sub);
}

/* ---------- 品目 ---------- */

.categories {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.categories li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--rose-soft);
  border-radius: var(--radius);
  padding: 16px;
}

.categories h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.categories p {
  margin: 0;
  font-size: 17px;
  color: var(--sub);
}

/* ---------- ご自宅にありませんか？ ---------- */

.home-items {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.home-items li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  font-weight: bold;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.closing {
  font-size: 20px;
  font-weight: bold;
  color: var(--rose);
  text-align: center;
  margin-bottom: 8px;
}

/* ---------- まとめてお持ちください ---------- */

.bring-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
}

.bring-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: bold;
}

.bring-points li::before {
  content: "✓";
  color: var(--rose);
  flex-shrink: 0;
}

/* キャンペーン：入口として控えめに配置 */
.campaign-mini {
  background: var(--paper);
  border: 1px dashed var(--rose);
  border-radius: var(--radius);
  padding: 16px;
}

.campaign-mini p {
  margin: 0;
}

.campaign-intro {
  font-weight: bold;
}

.campaign-label {
  font-size: 16px;
  color: var(--sub);
  margin-top: 4px !important;
}

.campaign-terms {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 4px 0 !important;
}

.campaign-price {
  font-size: 22px;
  font-weight: bold;
  color: var(--rose);
}

.campaign-limit {
  font-weight: bold;
}

/* ---------- 査定の流れ ---------- */

.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.flow-steps li {
  display: flex;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.step-no {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: bold;
  color: var(--rose);
  line-height: 1.3;
  flex-shrink: 0;
}

.flow-steps h3 {
  font-size: 20px;
  margin-bottom: 2px;
}

.flow-steps p {
  margin: 0;
}

.flow-note {
  text-align: center;
  font-weight: bold;
  margin-bottom: 24px;
}

.middle-cta {
  background: var(--rose-pale);
  border-radius: var(--radius);
  padding: 20px 16px;
}

.phone-note {
  font-size: 16px;
  color: var(--sub);
  margin: 10px 0 0;
}

/* ---------- 地図ボタン ---------- */

.map-button-wrap {
  margin: 16px 0 0;
}

.map-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--rose);
  border: 2px solid var(--rose);
  border-radius: var(--radius);
  font-weight: bold;
  text-decoration: none;
}

/* ---------- よくあるご質問 ---------- */

.faq-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.faq-item dt {
  font-weight: bold;
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.faq-item dd {
  margin: 0;
  display: flex;
  gap: 8px;
}

.faq-mark {
  font-family: var(--font-serif);
  font-weight: bold;
  color: var(--rose);
  flex-shrink: 0;
}

.more-link {
  text-align: right;
  margin: 16px 0 0;
}

.more-link a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: bold;
}

/* ---------- 最終CTA：来店導線 ---------- */

.visit-cta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.visit-lead {
  font-weight: bold;
  color: var(--rose);
  margin-bottom: 4px;
}

/* ---------- 店舗・開催情報 ---------- */

.info-list {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px;
}

.info-list div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
}

.info-list dt {
  font-size: 16px;
  color: var(--sub);
}

.info-list dd {
  margin: 0;
  font-weight: bold;
}

/* ---------- 最終CTA ---------- */

.section-cta {
  background: var(--rose-pale);
  text-align: center;
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  padding: 32px 0;
}

.site-footer p {
  margin-bottom: 0.8em;
}

.site-footer details {
  margin: 12px 0;
}

.site-footer summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ---------- スマートフォン用 固定電話ボタン ---------- */

.mobile-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.13);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.mobile-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  background: var(--rose);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

/* ---------- 広い画面 ---------- */

@media (min-width: 761px) {
  body {
    padding-bottom: 0;
  }

  .mobile-call {
    display: none;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-event,
  .appeals,
  .hero-phone {
    max-width: 560px;
  }

  .appeals {
    grid-template-columns: repeat(3, 1fr);
  }

  .appeals li:nth-child(odd):last-child {
    grid-column: auto;
  }

  .hero-phone .phone-lead {
    text-align: left;
  }

  .categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-cta {
    max-width: 420px;
  }

  .section-cta .phone-cta,
  .visit-cta {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-items {
    grid-template-columns: repeat(4, 1fr);
  }

  .middle-cta .call-button {
    max-width: 420px;
  }

  .map-button-wrap {
    max-width: 420px;
  }

  .visit-cta .map-button-wrap {
    margin-left: auto;
    margin-right: auto;
  }
}
