/* ============================================
   わちゃの手帳ひとま — 共通スタイル
   ZINE「M5のすすめ」の雰囲気に合わせた配色:
   生成りの紙色 × こげ茶 × 黄色マーカー × 空色
   ============================================ */

:root {
  --paper: #ffffff;        /* 背景（白） */
  --paper-dark: #f3f1ec;   /* うすい生成り（サムネ・ホバー用） */
  --ink: #4a3b2e;          /* こげ茶（本文） */
  --ink-light: #8a7a68;    /* 薄茶（補足文） */
  --brown: #6b543f;        /* 見出しの茶 */
  --marker: #f7e08e;       /* 黄色マーカー */
  --sky: #cfe3f2;          /* アイコンの空色 */
  --white: #ffffff;
  --line: #e6e1d6;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(74, 59, 46, 0.08);
  --card-border: 1px solid #eeeae0;
}

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

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

body {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.04em;
  animation: page-fade-in 0.4s ease;
}

/* ---------- ページ遷移アニメーション ---------- */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
body.page-leaving {
  animation: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  body.page-leaving { transition: none; opacity: 1; transform: none; }
}

/* ---------- 下からふんわりスワイプイン（お知らせ・カード類） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- クリック時のプレス感 ---------- */
a, button { -webkit-tap-highlight-color: transparent; }
.card:active,
.hc-slide:active,
.yt-card:active,
.link-item:active,
.article-item:active,
.event-card a:active,
.btn:active,
.social-btn:active,
.mini-social a:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sky);
}
.brand .brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}
.brand .brand-sub {
  font-size: 0.68rem;
  color: var(--ink-light);
  letter-spacing: 0.14em;
  display: block;
  line-height: 1.3;
}

/* ナビ */
.nav { display: flex; gap: 4px; flex-wrap: wrap; }

/* ハンバーガーボタン（モバイルで表示） */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn:active { background: var(--paper-dark); }
.menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
}

/* ドロワーメニュー（右からスライド） */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(105%);
  width: min(270px, 78vw);
  height: 100dvh;
  background: var(--white);
  z-index: 300;
  transition: transform 0.28s ease;
  padding: 70px 22px 30px;
  box-shadow: -6px 0 28px rgba(74, 59, 46, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
body.menu-open .drawer { transform: translateX(0); }
.drawer a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 12px;
  border-radius: 10px;
}
.drawer a:hover { background: var(--paper-dark); }
.drawer a.active {
  background: var(--marker);
  color: var(--ink);
}
.drawer-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--ink-light);
  cursor: pointer;
  padding: 6px 10px;
}
.drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(74, 59, 46, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
  z-index: 250;
}
body.menu-open .drawer-bg { opacity: 1; pointer-events: auto; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav a:hover { background: var(--paper-dark); }
.nav a.active {
  background: linear-gradient(transparent 55%, var(--marker) 55%);
}

/* ---------- ヒーロー ---------- */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 20px 48px;
  text-align: center;
}
.hero img.hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: 1.9rem;
  color: var(--brown);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.hero .tagline {
  color: var(--ink-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.hero .intro {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.98rem;
}

/* ---------- SNSアイコン行 ---------- */
.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.social-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--brown);
}
.social-btn:hover {
  background: var(--sky);
  transform: translateY(-3px);
}

/* ---------- ページ見出し用の大きめアイコン（ホームと同じ意匠） ---------- */
.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--brown);
}

/* ---------- ヒーローカルーセル（コンパクト・中央ピーク表示） ---------- */
.hero-carousel { position: relative; max-width: 1000px; margin: 0 auto; padding: 18px 0 2px; }
.hc-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 calc(50% - min(36vw, 140px));
}
.hc-track::-webkit-scrollbar { display: none; }
.hc-slide {
  position: relative;
  flex: 0 0 auto;
  width: min(72vw, 280px);
  height: clamp(110px, 26vw, 175px);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: center;
  display: block;
  text-decoration: none;
  border: var(--card-border);
  box-shadow: var(--shadow);
}
.hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hc-slide:hover img { transform: scale(1.04); }
.hc-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 59, 46, 0.72), rgba(74, 59, 46, 0) 60%);
}
.hc-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--marker);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.66rem;
  padding: 3px 10px;
  border-radius: 999px;
}
.hc-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(74, 59, 46, 0.55);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}
.hc-arrow:hover { background: rgba(74, 59, 46, 0.8); }
.hc-arrow.prev { left: 6px; }
.hc-arrow.next { right: 6px; }
.hc-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 2px;
}
.hc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}
.hc-dot.active { width: 18px; border-radius: 5px; background: var(--brown); }
@media (max-width: 720px) {
  .hc-arrow { display: none; }
}

/* ---------- ミニSNS行（カルーセル直下） ---------- */
.mini-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mini-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.mini-social a:hover { background: var(--sky); transform: translateY(-2px); }
.mini-social svg { width: 15px; height: 15px; fill: var(--brown); }
@media (max-width: 720px) {
  .mini-social { gap: 9px; padding: 12px 16px; }
  .mini-social a { width: 32px; height: 32px; }
}

@media (max-width: 720px) {
  .social-row { gap: 10px; }
  .social-btn { width: 42px; height: 42px; }
  .social-btn svg { width: 19px; height: 19px; }

  /* 紹介文を1行ずつに収める */
  .hero .intro {
    font-size: min(0.95rem, 3.5vw);
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  /* ブランド行とナビ行を分け、ナビは1段（横スクロール不要）で表示。ハンバーガーも併設 */
  .header-inner { flex-wrap: wrap; justify-content: center; padding: 12px 16px; position: relative; }
  .menu-btn { position: absolute; right: 12px; top: 37px; transform: translateY(-50%); }
  .nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    font-size: min(0.74rem, 2.75vw);
    letter-spacing: 0;
    padding: 6px 2px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .menu-btn { display: flex; }
}

/* ---------- セクション共通 ---------- */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}
.section-title {
  font-size: 1.35rem;
  color: var(--brown);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  display: inline-block;
  background: linear-gradient(transparent 60%, var(--marker) 60%);
  padding: 0 4px;
}
/* お知らせ見出しの右上にプロフィールへの控えめなリンクを添えるための行 */
.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.profile-discreet-link {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ink-light);
  text-decoration: none;
  white-space: nowrap;
  border: 1px dashed var(--ink-light);
  border-radius: 999px;
  padding: 6px 16px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.profile-discreet-link:hover { color: var(--brown); border-color: var(--brown); background: var(--paper-dark); }

/* ページ内の小見出し（本タイトルより一段小さく、スマホでも必ず1行に収まるサイズ） */
.section-title-sub {
  font-size: min(1.35rem, 4.3vw);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.section-lead {
  color: var(--ink-light);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* ---------- カードグリッド ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  border: var(--card-border);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 59, 46, 0.14);
}
.card .card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  overflow: hidden;
}
.card .card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 18px 20px 20px; flex: 1; }
.card h3 { font-size: 1.02rem; color: var(--brown); margin-bottom: 6px; }
.card p { font-size: 0.86rem; color: var(--ink-light); line-height: 1.7; }
.card .card-tag {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--sky);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

/* ---------- リンクリスト（アカウント） ---------- */
.link-list { display: grid; gap: 14px; max-width: 640px; margin: 0 auto; }
.link-item {
  border: var(--card-border);
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.link-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 59, 46, 0.14);
}
.link-item .link-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.link-item .link-icon svg {
  width: 21px;
  height: 21px;
  fill: var(--brown);
}
.link-item .link-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.link-item .link-icon.link-icon-photo {
  border-radius: 10px;
  border: var(--card-border);
  background: var(--white);
}
.link-item .link-icon.link-icon-photo img {
  border-radius: 8px;
}
.link-item .link-text { flex: 1; }
.link-item h3 { font-size: 1rem; color: var(--brown); }
.link-item p { font-size: 0.82rem; color: var(--ink-light); line-height: 1.6; }
.link-item .arrow { color: var(--ink-light); font-size: 1.1rem; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  background: var(--brown);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
  transition: transform 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn.btn-sub {
  background: var(--white);
  color: var(--brown);
  border: 2px solid var(--brown);
}

/* ---------- ZINE ---------- */
.page-index {
  display: flex;
  gap: 12px;
  margin: 18px 0 30px;
}
.page-index a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: var(--card-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s;
}
.page-index a:hover { background: var(--sky); transform: translateY(-2px); }
.page-index a:active { transform: scale(0.97); }
.page-index-num {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--white);
  background: var(--brown);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-index-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .page-index { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 24px; }
  .page-index a { padding: 12px 16px; gap: 10px; }
  .page-index-name { font-size: 0.84rem; }
}

.zine-feature {
  border: var(--card-border);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  scroll-margin-top: 90px;
}
.zine-feature .zine-cover img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(74, 59, 46, 0.2);
}
.zine-feature h3 { font-size: 1.3rem; color: var(--brown); margin-bottom: 4px; }
.zine-feature .zine-sub { color: var(--ink-light); font-size: 0.85rem; margin-bottom: 16px; }
.zine-feature .zine-desc { font-size: 0.94rem; margin-bottom: 20px; }
.zine-meta {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 14px;
  line-height: 1.7;
}
.free-badge {
  display: inline-block;
  background: var(--marker);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 10px;
}

/* ---------- イベント ---------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  align-items: start;
}
.event-grid .event-card { margin-bottom: 0; }
@media (max-width: 720px) {
  .event-grid { grid-template-columns: 1fr; }
}

.event-card {
  border: var(--card-border);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 34px;
  margin-bottom: 22px;
}
.event-card .event-status {
  display: inline-block;
  background: var(--marker);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 10px;
}
.event-card .event-status.closed { background: var(--paper-dark); color: var(--ink-light); }
.event-card h3 { color: var(--brown); font-size: 1.2rem; margin-bottom: 10px; }
.event-card dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 6px 14px;
  font-size: 0.9rem;
  margin: 14px 0 18px;
}
.event-card dt {
  color: var(--ink-light);
  font-weight: 700;
  font-size: 0.82rem;
  padding-top: 2px;
}
.event-card .event-desc { font-size: 0.92rem; margin-bottom: 16px; }

/* ---------- 記事 ---------- */
.article-list { display: grid; gap: 14px; }
.article-item {
  border: var(--card-border);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 59, 46, 0.14);
}
.article-item .article-text { flex: 1; }
.article-item h3 { font-size: 0.98rem; color: var(--brown); margin-bottom: 4px; }
.article-item p { font-size: 0.8rem; color: var(--ink-light); }
.article-item .article-tag {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--sky);
  border-radius: 999px;
  padding: 2px 10px;
  margin-right: 6px;
}

/* ---------- 動画／記事サムネイルグリッド ---------- */
.yt-grid, .article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.yt-card, .article-card {
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.yt-thumb, .article-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-dark);
  border: var(--card-border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.yt-thumb img, .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(74, 59, 46, 0.75);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}
.article-thumb .article-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--marker);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.66rem;
  padding: 3px 10px;
  border-radius: 999px;
}
.yt-card:hover .yt-thumb, .article-card:hover .article-thumb {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 59, 46, 0.16);
}
.yt-title, .article-title {
  display: block;
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.5;
  margin-top: 8px;
}
.yt-views, .article-meta {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-light);
  margin-top: 2px;
}
.yt-more-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--brown);
  font-size: 0.95rem;
  line-height: 1.6;
  background: linear-gradient(transparent 0%, var(--paper-dark) 100%), var(--white);
}
@media (max-width: 900px) {
  .yt-grid, .article-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ---------- ZINE図版 ---------- */
.zine-figure {
  max-width: 680px;
  margin: 26px auto 0;
}
.zine-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: var(--card-border);
  box-shadow: var(--shadow);
}
.zine-figure figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 10px;
}

/* ---------- お知らせ（コンパクトな縦リスト） ---------- */
.news-list {
  display: grid;
  gap: 8px;
}
.news-strip {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.84rem;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.news-strip .news-date {
  flex-shrink: 0;
  color: var(--ink-light);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--paper-dark);
  border-radius: 999px;
  padding: 2px 10px;
}
@media (max-width: 720px) {
  .news-strip { font-size: 0.8rem; padding: 9px 14px; gap: 8px; }
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 36px 20px 44px;
  text-align: center;
  color: var(--ink-light);
  font-size: 0.82rem;
}
.site-footer .footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.site-footer .footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
}
.site-footer .footer-nav a:hover { text-decoration: underline; }

/* ---------- 使っている手帳・文具まとめ ---------- */
.gear-notebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.gear-notebook-grid img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--card-border);
}

/* ---------- ギャラリー ---------- */
.gallery-grid {
  column-count: 3;
  column-gap: 14px;
  margin-top: 28px;
}
.gallery-item {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--card-border);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: var(--paper-dark);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(74, 59, 46, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@media (max-width: 720px) {
  .gallery-grid { column-count: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 1.2rem; }
  .lightbox-close { width: 34px; height: 34px; font-size: 1.2rem; top: 10px; right: 10px; }
}
@media (max-width: 420px) {
  .gallery-grid { column-count: 1; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 720px) {
  .zine-feature { grid-template-columns: 1fr; padding: 24px; scroll-margin-top: 118px; }
  .zine-feature .zine-cover { max-width: 240px; margin: 0 auto; }
  .hero { padding: 44px 20px 32px; }
  .hero h1 { font-size: 1.5rem; }
  .event-card { padding: 24px 20px; }
  .event-card dl { grid-template-columns: 1fr; gap: 2px; }
  .event-card dt { margin-top: 8px; }
}
