/* サンダーマート HP
   デザイン：案I「4パネル＋縦書き」× こげ茶の背景
   ------------------------------------------------ */

:root {
  /* 色 */
  --bg: #3d2a22;        /* こげ茶（背景） */
  --bg-deep: #33231c;   /* 少し濃いこげ茶（区切り・フッター） */
  --fg: #f1e9df;        /* 生成り（文字） */
  --sub: #b9a99a;       /* 小さな文字 */
  --line: #5d4a40;      /* 線 */
  --accent: #f08a5d;    /* 差し色（稲妻・タグ） */

  /* 文字 */
  --f-ja: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;

  /* 余白 */
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 14vw, 180px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .08em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.sr-only { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 16px; }

/* ロゴ */
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark { width: 40px; height: 40px; fill: none; stroke-width: 1.2; }
.mark-box { stroke: var(--fg); }
.mark-bolt { stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.logo-text { display: grid; line-height: 1.5; }
.logo-ja { font-size: 11px; letter-spacing: .5em; }
.logo-en { font-family: var(--f-en); font-weight: 500; font-size: 19px; letter-spacing: .28em; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(61, 42, 34, .92);
  backdrop-filter: blur(6px);
}
.global-nav { display: flex; gap: clamp(20px, 3vw, 44px); font-family: var(--f-en); font-size: 18px; letter-spacing: .1em; }
.global-nav a { position: relative; padding: 4px 0; }
.global-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.global-nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* ヒーロー */
.hero {
  display: grid;
  grid-template-columns: 1fr clamp(150px, 15vw, 210px);
  padding-left: var(--gutter);
  overflow: hidden;
}
.panels {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  height: min(calc(100svh - var(--header-h) - 24px), 760px);
  min-height: 420px;
}
.panel { position: relative; overflow: hidden; background: var(--bg-deep); }
.panel img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.72) brightness(.92);
  transition: filter .6s, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.panel:hover img, .panel:focus-visible img { filter: saturate(1) brightness(1); transform: scale(1.04); }
.panel-label {
  position: absolute; left: 18px; bottom: 16px;
  font-family: var(--f-en); font-size: clamp(20px, 2vw, 28px); letter-spacing: .14em; color: #fff;
  text-shadow: 0 0 14px rgba(0, 0, 0, .55);
}
.hero-copy { display: flex; flex-direction: row-reverse; justify-content: center; gap: 18px; padding-top: 28px; }
.v-main {
  writing-mode: vertical-rl;
  font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .4em; line-height: 1.9;
}
.v-sub { writing-mode: vertical-rl; font-size: 12px; letter-spacing: .35em; color: var(--sub); margin-top: 48px; }

/* セクション共通 */
.section { padding: var(--section) var(--gutter) 0; max-width: 1280px; margin: 0 auto; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: clamp(40px, 6vw, 72px); }
.en-title {
  font-family: var(--f-en); font-weight: 400;
  font-size: clamp(56px, 8vw, 104px); line-height: 1; letter-spacing: .14em;
}
.v-label { font-size: 13px; letter-spacing: .3em; color: var(--sub); padding-left: .3em; }
.ja-title { font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.8; letter-spacing: .16em; margin-bottom: 28px; }
.more {
  display: inline-flex; gap: 12px; margin-top: 32px;
  font-family: var(--f-en); font-size: 17px; letter-spacing: .14em;
  border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s, color .3s;
}
.more:hover { border-color: var(--accent); color: var(--accent); }

/* イベント */
.event-list { border-top: 1px solid var(--line); max-width: 960px; }
.event-list li {
  display: grid; grid-template-columns: 11em 6.5em 1fr; gap: 16px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.ev-when { color: var(--sub); font-size: 14px; }
.ev-tag { font-family: var(--f-en); font-size: 14px; letter-spacing: .2em; color: var(--accent); }
.ev-what small { margin-left: 1em; font-size: 12px; color: var(--sub); }

/* お店のこと */
.about-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-text { max-width: 30em; }
.about-text p + p { margin-top: 1em; }
.about-text p { color: #e2d7ca; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); }

/* 売り場 */
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.shop-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.8); transition: filter .5s; }
.shop-card:hover img { filter: saturate(1); }
.shop-card h3 { display: grid; margin-top: 18px; font-weight: 500; font-size: 15px; letter-spacing: .2em; line-height: 1.6; }
.shop-card .en { font-family: var(--f-en); font-size: 24px; letter-spacing: .1em; }
.shop-card p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--sub); }

.others { margin-top: clamp(64px, 8vw, 104px); padding-top: 40px; border-top: 1px solid var(--line); }
.others-title { font-size: 16px; letter-spacing: .24em; margin-bottom: 24px; }
.others-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.others-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.75); }
.others-list span { display: block; margin-top: 8px; font-size: 13px; }
.others-note { margin-top: 24px; font-size: 13px; color: var(--sub); }

/* アクセス */
.access-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.access-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(.85); }
.info-list { border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--sub); font-size: 13px; }
.info-list small { color: var(--sub); font-size: 12px; }
.info-list a { border-bottom: 1px solid var(--line); }
.access-note { margin-top: 28px; font-size: 14px; }

/* SNS */
.follow { text-align: center; }
.follow-title { font-weight: 500; font-size: clamp(17px, 2vw, 22px); letter-spacing: .2em; margin-bottom: 40px; }
.sns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; border: 1px solid var(--line); }
.sns li { display: flex; }
.sns li + li { border-left: 1px solid var(--line); }
.sns a { flex: 1; display: grid; align-content: center; gap: 6px; padding: 36px 16px; transition: background .3s; }
.sns-name { line-height: 1.5; }
.sns a:hover { background: var(--bg-deep); }
.sns-name { font-family: var(--f-en); font-size: 26px; letter-spacing: .12em; }
.sns li:nth-child(3) .sns-name { font-family: var(--f-ja); font-size: 20px; }
.sns-desc { font-size: 12px; color: var(--sub); }

/* フッター */
.site-footer { margin-top: var(--section); background: var(--bg-deep); padding: 64px var(--gutter) 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-company { text-align: right; }
.footer-company p { font-size: 12px; color: var(--sub); letter-spacing: .3em; }
.footer-company a { font-size: 17px; letter-spacing: .16em; border-bottom: 1px solid var(--line); }
.footer-company a:hover { border-color: var(--accent); }
.copy { max-width: 1280px; margin: 48px auto 0; color: var(--sub); font-family: var(--f-en); letter-spacing: .2em; }

/* スクロールで ふわっと表示（JSが動くときだけ） */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .panel img { transition: none; }
}

/* タブレット */
@media (max-width: 960px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-body, .access-body { grid-template-columns: 1fr; }
}

/* スマホ */
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-en { font-size: 16px; }
  .menu-btn {
    display: grid; justify-items: center; gap: 4px;
    background: none; border: 0; color: var(--fg); font-family: var(--f-en); font-size: 12px; letter-spacing: .14em; cursor: pointer; padding: 6px;
  }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 26px; height: 1px; background: var(--fg); content: ""; transition: transform .3s; }
  .menu-lines { position: relative; margin: 6px 0; }
  .menu-lines::before { position: absolute; top: -7px; }
  .menu-lines::after { position: absolute; top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 32px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    font-size: 24px;
  }
  .global-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .global-nav[data-open="false"] { display: none; }

  .hero { grid-template-columns: 1fr 92px; }
  .hero-copy { gap: 8px; padding-top: 20px; }
  .panels { grid-template-columns: repeat(2, 1fr); height: auto; min-height: 0; }
  .panel { aspect-ratio: 3 / 4; }
  .panel-label { left: 12px; bottom: 10px; }
  .v-main { font-size: 17px; letter-spacing: .3em; line-height: 1.7; }
  .v-sub { font-size: 11px; margin-top: 28px; }
  .section-head { gap: 16px; }
  .event-list li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .ev-when { grid-column: 1; }
  .ev-tag { grid-column: 2; grid-row: 1; }
  .ev-what { grid-column: 1 / -1; }
  .others-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sns { grid-template-columns: 1fr; }
  .sns li + li { border-left: 0; border-top: 1px solid var(--line); }
  .footer-company { text-align: left; }
}
