/* =========================================
   cocolate 公式サイト スタイル
   ベース色  : #F1F2F4（ライトグレー）
   文字色    : #2F3338（濃グレー）/ #75808A（薄め）
   差し色    : #85939F（店舗外壁のブルーグレー）
   ========================================= */

:root {
  --bg: #F1F2F3;
  --card: #FFFFFF;
  --text: #2F3338;
  --text-soft: #75808A;
  --accent: #85939F;
  --accent-soft: #E3E8EC;
  --line: #DEE0E3;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.75; }

.serif { font-family: Georgia, "Times New Roman", serif; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 20px;
  background: rgba(241, 242, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-logo {
  grid-column: 1;
  justify-self: start;
}

.header-nav { grid-column: 2; justify-self: center; }

.header-logo {
  font-family: Georgia, serif;
  font-weight: bold;
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.05em;
}

.header-nav { display: flex; gap: 18px; }

.header-nav a {
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.08em;
}

/* ---------- ファーストビュー ---------- */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px 72px;
  text-align: center;
}

.hero-mark {
  width: 120px;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.hero-title {
  font-family: Georgia, serif;
  font-weight: bold;
  font-style: italic;
  font-size: 34px;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 6px 0 28px;
}

.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--accent-soft);
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.slideshow .slide.is-active { opacity: 1; }

.divider {
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin: 36px auto 24px;
}

.hero-copy { font-size: 16px; }

.hero-hours {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.hero-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn { margin-top: 0; }

/* ---------- セクション共通 ---------- */
.section {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 20px;
  border-top: 1px solid var(--line);
}

.section-label {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-align: center;
}

.section-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 6px 0 32px;
}

.section-lead {
  text-align: center;
  color: var(--text);
  margin-bottom: 40px;
}

/* ---------- お知らせ ---------- */
.news-list {
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
}

.news-list li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.news-date {
  flex-shrink: 0;
  font-family: Georgia, serif;
  font-size: 13px;
  color: var(--accent);
  min-width: 84px;
}

.news-text { font-size: 14px; }

.news-more {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 28px;
}

.news-action,
.map-action {
  text-align: center;
  margin-top: 4px;
}

.map-action { margin-top: 20px; }

/* ---------- カヌレについて ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.photo-grid figcaption {
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
  margin-top: 10px;
}

.flavor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.flavor-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  padding: 0 0 24px;
  text-align: center;
}

.flavor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 18px;
}

.flavor-card h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 0 22px 10px;
}

.flavor-card p { font-size: 13px; color: var(--text-soft); padding: 0 22px; }

/* ---------- 購入方法 ---------- */
.buy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.buy-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 26px;
}

.buy-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 20px;
}

.buy-card h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.buy-card p {
  font-size: 13px;
  color: var(--text-soft);
  padding: 0 18px;
}

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 26px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.btn:hover { opacity: 0.85; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.reserve-box {
  background: var(--accent-soft);
  border-radius: 8px;
  text-align: center;
  padding: 36px 24px;
}

.reserve-box h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.reserve-box p { font-size: 13px; }

/* ---------- アクセス ---------- */
.access-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.shop-info {
  max-width: 520px;
  margin: 36px auto 0;
}

.shop-info > div {
  display: flex;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.shop-info dt {
  flex-shrink: 0;
  width: 90px;
  color: var(--accent);
  font-size: 13px;
}

.shop-info dd { font-size: 14px; }

.access-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin: 20px 0 36px;
}

.map-wrap {
  border-radius: 6px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 48px 20px 40px;
}

.footer-logo {
  font-family: Georgia, serif;
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 18px 0;
}

.footer-links a { font-size: 13px; letter-spacing: 0.08em; }

.copyright {
  font-family: Georgia, serif;
  font-size: 11px;
  color: var(--text-soft);
}

/* ---------- ふわっと表示 ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- スマホ調整 ---------- */
.sp-only { display: none; }

@media (max-width: 640px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 6px;
    padding: 10px 16px;
  }
  .header-logo { grid-column: 1; justify-self: center; }
  .header-nav { grid-column: 1; gap: 14px; }
  .header-nav a { font-size: 11px; }

  .hero-actions .btn { width: 100%; max-width: 300px; }

  .hero { padding-top: 40px; }
  .hero-mark { width: 96px; }
  .hero-title { font-size: 28px; }

  .slideshow { aspect-ratio: 4 / 5; }

  .section { padding: 56px 20px; }

  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid figure:first-child { grid-column: 1 / -1; }
  .photo-grid figure:first-child img { aspect-ratio: 3 / 2; }

  .flavor-cards { grid-template-columns: 1fr; }
  .buy-cards { grid-template-columns: 1fr; }

  .news-list li { flex-direction: column; gap: 2px; }

  .map-wrap iframe { height: 280px; }
}
