/* =====================================================
   雑貨シュランシュラン
===================================================== */

:root {
  color-scheme: only light;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fbf8f2;
  color: #443b32;
  font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif;
  line-height: 1.8;
}


/* =====================================================
   ヘッダー
===================================================== */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: 64px;
  padding: 0 24px;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8dfd3;
}

.site-logo img {
  display: block;
  width: auto;
  height: 40px;
}

.back-link {
  color: #80664c;
  font-size: 13px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}


/* =====================================================
   メイン画像
===================================================== */

.hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}


/* =====================================================
   店舗紹介
===================================================== */

.shop-intro {
  max-width: 850px;
  margin: 0 auto;
  padding: 48px 24px 60px;
  text-align: center;
}

.shop-intro h1 {
  margin-bottom: 16px;
  color: #72563d;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.shop-intro p {
  font-size: 15px;
  line-height: 2;
}


/* =====================================================
   商品エリア
===================================================== */

.products {
  width: 100%;
  padding: 60px 24px 80px;
  background: #f2ece2;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-subtitle {
  display: block;
  margin-bottom: 8px;
  color: #a68a67;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: #72563d;
  font-size: 28px;
  letter-spacing: 0.06em;
}

.section-heading p {
  font-size: 14px;
}

.free-label {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 22px;

  border: 1px solid #a68a67;
  border-radius: 30px;

  color: #8b704e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}


/* =====================================================
   カレンダー各セクション
===================================================== */

.calendar-section {
  max-width: 1050px;
  margin: 0 auto 70px;
  padding: 36px;

  background: #fffdf9;
  border: 1px solid #e8dfd3;
  border-radius: 12px;
}

.calendar-section:last-child {
  margin-bottom: 0;
}

.calendar-heading {
  margin-bottom: 24px;
  text-align: center;
}

.calendar-heading h3 {
  margin-bottom: 6px;
  color: #72563d;
  font-size: 22px;
}

.calendar-heading p {
  color: #817466;
  font-size: 13px;
}


/* =====================================================
   一括ダウンロード
===================================================== */

.download-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 420px;
  min-height: 68px;
  margin: 0 auto 32px;
  padding: 10px 20px;

  background: #8b704e;
  border-radius: 8px;

  color: #fff;
  text-decoration: none;

  transition: background 0.2s ease;
}

.download-all:hover {
  background: #705638;
}

.download-all span {
  font-size: 16px;
  font-weight: 700;
}

.download-all small {
  font-size: 11px;
  opacity: 0.85;
}


/* =====================================================
   月別カレンダー
===================================================== */

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 18px;
}

.calendar-item {
  min-width: 0;
  text-align: center;
}

.calendar-item img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 10px;

  border: 1px solid #e8dfd3;
  border-radius: 4px;
}

.calendar-item a {
  display: block;
  padding: 7px 4px;

  background: #eee6da;
  border-radius: 5px;

  color: #6d5439;
  font-size: 12px;
  text-decoration: none;

  transition: background 0.2s ease;
}

.calendar-item a:hover {
  background: #e1d2bd;
}


/* =====================================================
   フッター
===================================================== */

.site-footer {
  padding: 32px 20px;

  background: #554638;
  color: #fff;

  text-align: center;
}

.site-footer a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin-top: 14px;
  color: #d7cabb;
  font-size: 11px;
}


/* =====================================================
   タブレット
===================================================== */

@media (max-width: 768px) {

  .shop-intro {
    padding: 36px 20px 44px;
  }

  .shop-intro h1 {
    font-size: 24px;
  }

  .products {
    padding: 44px 14px 60px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .calendar-section {
    padding: 24px 16px;
  }

  .calendar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
  }

}

/* =====================================================
   カレンダー画像の拡大表示
===================================================== */

.calendar-item img {
  cursor: zoom-in;
}

.image-viewer {
  position: fixed;
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  margin: auto;
  padding: 12px;
  border: 1px solid #c5a36b;
  border-radius: 8px;
  background: #2b2119;
  overflow: visible;
}

.image-viewer::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.image-viewer img {
  display: block;
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.image-viewer-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 38px;
  height: 38px;
  border: 2px solid #d6b574;
  border-radius: 50%;
  background: #554638;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* =====================================================
   スマートフォン
===================================================== */

@media (max-width: 480px) {

  .site-header {
    height: 56px;
    padding: 0 14px;
  }

  .site-logo img {
    height: 34px;
  }

  .back-link {
    font-size: 11px;
  }

  .shop-intro h1 {
    font-size: 21px;
  }

  .shop-intro p {
    font-size: 13px;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .section-heading p {
    font-size: 12px;
  }

  .calendar-section {
    padding: 20px 12px;
  }

  .calendar-heading h3 {
    font-size: 18px;
  }

  .calendar-heading p {
    font-size: 11px;
  }

  .download-all span {
    font-size: 14px;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
  }

  .calendar-item a {
    font-size: 11px;
  }

}