@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ── VENEX ブランドガイドライン v3.2.2 準拠カラー ── */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #231f20;
  --text-soft: #6d6f71;
  --border: #ebe8e5;
  --border-strong: #d7d2cb;
  --price: #231f20;
  --accent: #f47920;
  --note: #b5471c;
  --frame: #3c3f42;
  --frame-inner: #d7d2cb;
  --frame-mat: #ebe8e5;
  --frame-bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.9;
  font-size: 14px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* draft notice */
.draft-notice {
  background: var(--bg);
  color: var(--text-soft);
  font-size: 11px;
  text-align: center;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
}
.flag { color: var(--note); font-weight: 700; }

/* simple site header */
header.site {
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
header.site .logo { font-weight: 900; font-size: 18px; letter-spacing: .02em; }
header.site nav { display: flex; gap: 22px; font-size: 12px; color: var(--text); flex-wrap: wrap; }

/* hero image */
.hero img { width: 100%; height: auto; }

/* lead copy block */
.lead { padding: 40px 20px 30px; text-align: center; }
.lead h1 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.lead .sub { font-size: 14px; color: var(--text-soft); margin-bottom: 22px; }
.lead p { max-width: 820px; margin: 0 auto 4px; font-size: 13.5px; color: var(--text); }

.cta-pill {
  display: inline-block;
  margin: 26px 0;
  padding: 11px 30px;
  background: var(--text);
  color: var(--bg);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-pill.cta-orange { background: var(--accent); color: #ffffff; }

details.acc {
  max-width: 640px; margin: 18px auto 0; text-align: left;
  border-top: 1px solid var(--border);
}
details.acc summary {
  cursor: pointer; list-style: none; padding: 14px 0; font-size: 14px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "▼"; font-size: 9px; color: var(--text-soft); }
details.acc[open] summary::after { content: "▲"; }
details.acc .body { padding: 0 0 20px; font-size: 13px; font-weight: 700; color: var(--text); }
details.acc .body ul { margin: 0; padding-left: 1.2em; }
details.acc .body li { margin-bottom: 10px; }

/* campaign box */
.camp-frame {
  position: relative;
  border: 1px solid var(--frame);
  background: var(--frame-mat);
  padding: 14px;
}
.camp-frame::before,
.camp-frame::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
  border: 0 solid var(--frame);
}
.camp-frame::before { top: 6px; left: 6px; border-top-width: 1px; border-left-width: 1px; }
.camp-frame::after { bottom: 6px; right: 6px; border-bottom-width: 1px; border-right-width: 1px; }
.camp-box {
  position: relative;
  border: 1px solid var(--frame-inner);
  background: var(--frame-bg);
  padding: 48px 44px 50px;
}
.camp-box .sec-head { margin-bottom: 30px; }
.camp-box .sec-head h2 { letter-spacing: .06em; line-height: 1.9; }
.camp-box .sec-head h2::after { width: 58px; height: 1px; background: var(--frame); }
@media (max-width: 560px) {
  .camp-frame { padding: 8px; }
  .camp-box { padding: 30px 16px 32px; }
}

/* store category buttons */
.store-btns {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 700px; margin: 0 auto 32px;
}
.store-btns .btn-outline { padding: 9px 18px; font-size: 12.5px; }
.store-btns .btn-outline .n { font-size: 11px; color: var(--text); margin-left: 4px; }
.store-btns .btn-outline:hover .n { color: inherit; }

/* store list modal */
.btn-outline {
  display: inline-block; padding: 10px 28px; border: 1px solid var(--text); border-radius: 20px;
  background: var(--bg); color: var(--text); font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: inherit;
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-outline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

dialog.stores {
  border: none; padding: 0; width: min(900px, 92vw); max-height: 86vh;
  background: var(--bg); color: var(--text);
}
dialog.stores::backdrop { background: rgba(0,0,0,.55); }
.stores-head {
  position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.stores-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.stores-head .cnt { font-size: 11px; color: var(--text-soft); font-weight: 400; margin-left: 8px; }
.stores-close {
  border: none; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text); padding: 4px 8px;
}
.stores-body { padding: 8px 24px 28px; overflow-y: auto; max-height: calc(86vh - 60px); }
.store-cat { margin-top: 22px; }
.store-cat h4 {
  margin: 0 0 10px; font-size: 13px; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.store-cat ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
@media (max-width: 640px) { .store-cat ul { columns: 1; } }
.store-cat li { font-size: 12.5px; line-height: 1.9; break-inside: avoid; color: var(--text); }
.store-cat li a { text-decoration: underline; }
.stores-note { font-size: 11px; color: var(--text-soft); margin-top: 24px; }

/* section heading */
section.sec { padding: 44px 20px; border-top: 1px solid var(--border); }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head h2 { font-size: 17px; font-weight: 700; margin: 0 0 20px; position: relative; display: inline-block; padding-bottom: 14px; }
.sec-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 40px; height: 2px; background: var(--text); }
.sec-head .sub { font-size: 12.5px; color: var(--text); }
.sec-head .eyebrow { font-size: 12.5px; letter-spacing: .14em; color: var(--text); margin-bottom: 8px; }

/* product grid */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 640px; margin: 0 auto; }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.product .photo {
  aspect-ratio: 1/1; background: #ffffff; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); overflow: hidden;
}
.product .photo img { width: 100%; height: 100%; object-fit: contain; }
.product .photo span { font-size: 11px; color: var(--text-soft); }
.product .name { font-size: 12.5px; margin-top: 10px; line-height: 1.6; }
.product .flagtag { color: var(--note); font-size: 11px; }
.product .price { color: var(--price); font-weight: 700; font-size: 14px; margin-top: 6px; }
.product .buy {
  margin-top: 10px; background: var(--text); color: var(--bg); text-align: center; padding: 9px 0; font-size: 12.5px;
}
.product .fn { font-size: 11px; color: var(--note); margin-top: 6px; }
.intro-copy { max-width: 640px; margin: 26px auto 0; text-align: center; font-size: 13px; color: var(--text); }

/* trust section */
.trust { display: flex; gap: 36px; max-width: 700px; margin: 0 auto; align-items: center; flex-wrap: wrap; justify-content: center; }
.trust .num { font-size: 34px; font-weight: 900; color: var(--accent); }
.trust .num small { font-size: 16px; font-weight: 700; color: var(--text); }
.trust .label { font-size: 11px; color: var(--text-soft); }
.trust .badges { display: flex; gap: 14px; }
.trust .medal {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; font-size: 9px; text-align: center; color: var(--text-soft);
  padding: 4px;
}
.flagnote { font-size: 11px; color: var(--note); text-align: center; margin-top: 10px; }

.video-block { max-width: 520px; margin: 30px auto 0; }
.video-thumb {
  aspect-ratio: 16/9; background: #111; position: relative; display: flex; align-items: center; justify-content: center;
}
.video-thumb .play { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.video-cap { text-align: center; font-size: 12px; color: var(--text-soft); margin-top: 10px; }

/* recovery wear explainer */
.needs-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.need-pill { border: 1px solid var(--border-strong); border-radius: 16px; padding: 7px 16px; font-size: 12px; color: var(--text-soft); }
.timing-row { display: flex; justify-content: center; gap: 36px; margin: 26px 0; flex-wrap: wrap; text-align: center; }
.timing-row .t { font-size: 12px; margin-top: 6px; }
.caution-row { text-align: center; font-size: 11.5px; color: var(--text-soft); }

/* athlete links */
.articles { max-width: 640px; margin: 24px auto 0; }
.article-row {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.article-row .cat { font-size: 10.5px; color: var(--text-soft); }
.more-link { display: block; text-align: center; margin-top: 20px; font-size: 12.5px; text-decoration: underline; }

/* ===== 上部フッター (白背景エリア) ===== */
/*
footer.site { border-top: 1px solid var(--border); padding: 40px 20px 24px; }
.lockup { text-align: center; margin-bottom: 20px; }
.lockup img { max-width: 420px; margin: 0 auto; }
.tagline { text-align: center; font-size: 13px; font-weight: 700; margin-bottom: 32px; }
*/
footer.site {
  border-top: 1px solid var(--border, #ebe8e5);
  padding: 40px 20px 32px;
  background-color: #ffffff;
}

footer.site .lockup {
  text-align: center;
  margin-bottom: 16px;
}

/* フッター画像のはみ出し防止調整 */
footer.site .lockup img {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

footer.site .tagline {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 32px;
}



.sitemap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; font-size: 12px; }
@media (max-width: 560px) { .sitemap { grid-template-columns: 1fr 1fr; } }
.sitemap h4 { font-size: 11px; color: var(--text-soft); margin: 0 0 10px; font-weight: 700; }
.sitemap a { display: block; padding: 3px 0; color: var(--text); }
.legal { text-align: center; font-size: 10.5px; color: var(--text-soft); margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ボタン内の数字タグへのクリック干渉を防ぐ */
.btn-outline .n {
  pointer-events: none;
}

/* ポップアップ（モーダル）の背景と本体のスタイル */
.venex-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

/* モーダルが開いている時 */
.venex-modal-overlay.is-active {
  display: flex !important;
}

.venex-modal-content {
  background: #ffffff;
  width: min(900px, 92vw);
  max-height: 86vh;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}