
/* ========================================
   共通設定
   ======================================== */

:root {
  --navy: #172b35;
  --navy-light: #263f4a;
  --gold: #c8a66a;
  --cream: #f7f5ef;
  --white: #ffffff;
  --text: #263238;
  --muted: #69767b;
  --border: #e4e2da;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Noto Sans JP",
    "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.section-wrap {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

/* ========================================
   ヘッダー
   ======================================== */

.site-header {
  background: #800000 ;;
  color: var(--white);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  color: var(--white);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.site-logo span {
  display: block;
  margin-top: 5px;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.campaign-year {
  color: #e5c98e;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ========================================
   メインビジュアル
   ======================================== */

.hero {
  min-height: 450px;
  display: flex;
  align-items: center;
  background: url("assets/background.jpg") center center / cover no-repeat;
  color: var(--white);
}

.hero-content {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 65px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.5vw, 1.9rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #87ceeb;
  -webkit-text-stroke: 1px #808080;
  text-shadow:
    -2px -2px 0 #fff,
     0px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  0px 0 #fff,
     2px  0px 0 #fff,
    -2px  2px 0 #fff,
     0px  2px 0 #fff,
     2px  2px 0 #fff;
}

.hero h2 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #fff;
  -webkit-text-stroke: 1px #808080;
  text-shadow:
    -3px -3px 0 #ffff00,
     0px -3px 0 #ffff00,
     3px -3px 0 #ffff00,
    -3px  0px 0 #ffff00,
     3px  0px 0 #ffff00,
    -3px  3px 0 #ffff00,
     0px  3px 0 #ffff00,
     3px  3px 0 #ffff00;
}

.hero-subtitle {
  margin: 20px 0 28px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff0000;
  -webkit-text-stroke: 0.5px #ffff00;
}

.button {
  display: inline-block;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.8;
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

/* ========================================
   キャンペーン説明
   ======================================== */

.intro {
  padding-top: 76px;
  padding-bottom: 76px;
}

.intro h2,
.stores-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.5;
}

.intro > p:not(.section-label) {
  max-width: 1030px;
}

.campaign-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.campaign-images img {
  width: calc(50% - 8px);
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.campaign-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.campaign-info > div {
  padding: 22px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.info-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.campaign-info strong {
  font-size: 1.05rem;
}

/* ========================================
   店舗一覧
   ======================================== */

.stores-section {
  padding: 72px 0 86px;
  background: var(--cream);
}

.section-description {
  margin: 0 0 30px;
  color: var(--muted);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.store-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(23, 43, 53, 0.08);
}

.store-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.store-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9e8e1;
}

.image-missing {
  object-fit: contain;
  min-height: 140px;
  background: #e9e8e1;
}

.store-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.store-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.store-address {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.store-benefit {
  width: 100%;
  margin: 0 0 20px;
  padding: 10px 12px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
}

.store-cta {
  margin-top: auto;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.store-description {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.5;
  color: #666;
  font-weight: normal;
}

/* ========================================
   店舗詳細
   ======================================== */

.detail-main {
  padding-top: 36px;
  padding-bottom: 80px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.detail-content {
  max-width: 850px;
  margin-inline: auto;
}

.detail-photo {
  width: 100%;
  max-height: 480px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e9e8e1;
}

.detail-body {
  padding-top: 30px;
}

.detail-title {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.45;
}

.detail-description {
  color: var(--muted);
  white-space: pre-line;
}

.benefit-box {
  margin: 32px 0 40px;
  padding: 26px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
}

.benefit-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.benefit-conditions {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.store-info {
  margin-top: 36px;
}

.store-info > h2 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.info-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.info-heading {
  margin: 0;
  font-size: 0.9rem;
}

.info-value {
  margin: 0;
  overflow-wrap: anywhere;
}

.info-row a {
  overflow-wrap: anywhere;
}


/* ========================================
   エラー・フッター
   ======================================== */

.error-message {
  padding: 16px;
  background: #fff1ed;
  color: #8c3020;
  border: 1px solid #e9c4ba;
}

.site-footer {
  padding: 22px 20px;
  background: #800000 ;;
  color: var(--white);
  text-align: center;
}

.site-footer p {
  margin: 5px 0;
  font-size: 0.85rem;
}

.footer-title {
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ========================================
   タブレット・スマートフォン対応
   ======================================== */

@media (max-width: 900px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 390px;
  }
}

@media (max-width: 600px) {
  .section-wrap,
  .header-inner,
  .hero-content {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .site-logo {
    font-size: 0.95rem;
  }

  .site-logo span {
    font-size: 0.55rem;
  }

  .campaign-year {
    font-size: 0.75rem;
  }

  .hero {
    min-height: 360px;
  }

  .hero-content {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .intro {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .campaign-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stores-section {
    padding: 52px 0 60px;
  }

  .store-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .store-card-link {
    flex-direction: row;
    align-items: stretch;
  }

  .store-photo {
    width: 38%;
    min-width: 110px;
    aspect-ratio: auto;
    min-height: 170px;
  }

  .store-card-content {
    padding: 14px;
  }

  .store-card h3 {
    font-size: 1rem;
  }

  .store-address {
    font-size: 0.78rem;
  }

  .store-benefit {
    padding: 8px;
    font-size: 0.82rem;
  }

  .detail-main {
    padding-top: 24px;
    padding-bottom: 55px;
  }

  .detail-photo {
    aspect-ratio: 4 / 3;
  }

  .benefit-box {
    padding: 20px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }
