/* Vivid Gray — 共通スタイル（Instagramの雰囲気：アイボリー × ゴールド × クラシック） */
:root {
  --ivory: #FBF8F2;
  --cream: #F3ECE0;
  --cream-2: #EADFCC;
  --white: #FFFFFF;
  --ink: #2B2522;
  --ink-2: #4E4540;
  --muted: #6E625A;
  --gold: #B8975F;        /* 線・飾り */
  --gold-text: #7D6030;   /* 文字用（背景とのコントラスト確保） */
  --gold-light: #D9C39A;
  --line: #E2D6C2;
  --deep: #2B2520;        /* ロゴの黒に合わせた深い色 */
  --deep-text: #F3ECE0;
  --deep-muted: #CFC3B2;
  --serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --serif-ja: 'Shippori Mincho', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--gold-text); }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.center { text-align: center; }

/* ロゴ（Instagramのアイコンと同じ、黒い丸に白い文字） */
.mark {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--deep); color: var(--white);
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--gold-light);
  font-family: var(--serif-en); font-weight: 500; line-height: 0.95;
  font-size: 15px; text-decoration: none; text-align: center;
}
.mark:hover { color: var(--white); }
.mark.large { width: 120px; height: 120px; font-size: 30px; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 242, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand-link { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-link .name { font-family: var(--serif-en); font-size: 26px; font-weight: 500; letter-spacing: 0.06em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-family: var(--serif-ja); font-size: 14px; letter-spacing: 0.08em; }
.nav a { text-decoration: none; padding: 10px 0; }

/* 飾り線 */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); margin: 0 auto;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 72px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}
.ornament::after { --dir: left; }
.ornament svg { width: 22px; height: 22px; flex: 0 0 auto; }

/* 共通パーツ */
.eyebrow { margin: 0; font-family: var(--serif-en); font-size: 15px; letter-spacing: 0.24em; color: var(--gold-text); text-transform: uppercase; }
.section { padding-top: 104px; padding-bottom: 104px; }
.section-heading { text-align: center; margin-bottom: 56px; }
.section-title {
  margin: 0; font-family: var(--serif-en); font-weight: 500;
  font-size: clamp(40px, 6vw, 56px); line-height: 1.1; letter-spacing: 0.04em;
}
.section-sub { margin: 10px 0 18px; font-family: var(--serif-ja); font-size: 15px; color: var(--muted); letter-spacing: 0.1em; }
.placeholder {
  background: var(--cream); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px; font-size: 13px; letter-spacing: 0.08em;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px;
  text-decoration: none; font-family: var(--serif-ja); font-size: 15px; letter-spacing: 0.12em;
  border: 1px solid var(--gold); border-radius: 999px;
}
.btn-solid { background: var(--deep); color: var(--white); border-color: var(--deep); }
.btn-solid:hover { background: #4A3F37; color: var(--white); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--cream); color: var(--ink); }

/* ヒーロー */
.hero { padding-top: 72px; padding-bottom: 104px; text-align: center; }
.hero h1 {
  margin: 20px 0 0; font-family: var(--serif-en); font-weight: 500;
  font-size: clamp(60px, 10vw, 124px); line-height: 1; letter-spacing: 0.03em;
}
.hero .tagline { margin: 14px 0 26px; }
.hero .lead { margin: 0; font-family: var(--serif-ja); font-size: clamp(20px, 2.6vw, 28px); line-height: 1.8; letter-spacing: 0.08em; }
.hero .desc { margin: 18px auto 0; max-width: 34em; color: var(--ink-2); }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-figure { margin: 64px auto 0; max-width: 980px; }
.hero .visual {
  margin: 0 auto; width: 100%; max-width: 980px; aspect-ratio: 1445 / 1088; object-fit: cover;
  border: 1px solid var(--gold-light); outline: 1px solid var(--gold-light); outline-offset: 8px;
}

/* コンセプト */
.concept-band { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.concept { max-width: 760px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.concept .catch { margin: 24px 0 0; font-family: var(--serif-ja); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.9; letter-spacing: 0.06em; }
.concept .text { margin: 22px 0 0; color: var(--ink-2); text-align: left; }

/* 商品 */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 32px; }
.product {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); padding: 18px 18px 28px;
  border: 1px solid var(--line);
}
.product .placeholder, .product .photo { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.product .eyebrow { margin-top: 8px; font-size: 14px; }
.product h3 { margin: 0; font-family: var(--serif-ja); font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }
.product p { margin: 0; }
.product .text { color: var(--ink-2); font-size: 15px; }
.product .spec { font-size: 14px; color: var(--muted); }
.product .price { font-family: var(--serif-ja); }
.price-list { display: flex; flex-direction: column; gap: 6px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 12px; font-family: var(--serif-ja); }
.price-list div { display: flex; justify-content: space-between; gap: 12px; }

/* イベント */
.events-band { background: var(--cream); }
.events { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--gold); }
.event { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.event .date { margin: 0; flex: 0 0 200px; font-family: var(--serif-en); font-size: 30px; color: var(--gold-text); }
.event .date span { font-size: 18px; letter-spacing: 0.1em; }
.event .info { flex: 1 1 320px; min-width: 0; }
.event h3 { margin: 0; font-family: var(--serif-ja); font-size: 22px; font-weight: 700; }
.event p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.events-note { padding: 24px 0 0; color: var(--muted); font-size: 14px; margin: 0; text-align: center; }

/* 購入者ページ入口 */
.members-band { background: var(--deep); color: var(--deep-text); }
.members { max-width: 760px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.members .eyebrow { color: var(--gold-light); }
.members h2 { margin: 16px 0 0; font-family: var(--serif-ja); font-size: clamp(24px, 3vw, 30px); line-height: 1.6; font-weight: 500; letter-spacing: 0.06em; }
.members .copy p:last-child { margin: 20px 0 0; color: var(--deep-muted); }
.members .ornament { color: var(--gold-light); margin-top: 22px; }
.code-form { margin: 36px auto 0; max-width: 420px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.code-form label { font-family: var(--serif-ja); font-size: 14px; letter-spacing: 0.1em; color: var(--deep-text); }
.code-row { display: flex; gap: 12px; }
.code-row input {
  flex: 1 1 auto; min-width: 0; min-height: 54px; padding: 0 18px;
  background: transparent; border: 1px solid var(--gold-light); border-radius: 999px; color: var(--deep-text);
  font-family: var(--serif-en); font-size: 24px; letter-spacing: 0.4em; text-align: center;
}
.code-row input::placeholder { color: #8F8378; }
.code-row button {
  flex: 0 0 auto; min-height: 54px; padding: 0 30px; cursor: pointer;
  background: var(--gold-light); color: var(--deep); border: 0; border-radius: 999px;
  font-family: var(--serif-ja); font-size: 15px; letter-spacing: 0.12em;
}
.code-row button:hover { background: #E8D8B8; }
.code-error { margin: 0; min-height: 1.9em; font-size: 14px; color: #F2C9A8; text-align: center; }

/* ショップ・SNS */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.links a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 32px 24px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; text-align: center;
}
.links a:hover { border-color: var(--gold); color: var(--ink); }
.links .name { font-family: var(--serif-en); font-size: 32px; font-weight: 500; letter-spacing: 0.04em; }
.links .sub { font-size: 14px; color: var(--muted); }

/* フッター */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); text-align: center; }
.site-footer .inner { padding: 72px 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.site-footer .eyebrow { margin-top: 12px; }
.site-footer p { margin: 0; }
.site-footer .mail { font-family: var(--serif-en); font-size: 22px; letter-spacing: 0.04em; }
.site-footer .note { color: var(--muted); font-size: 14px; }
.copyright { margin: 0; padding: 24px 24px 32px; text-align: center; font-family: var(--serif-en); font-size: 14px; letter-spacing: 0.1em; color: var(--muted); }

/* 下層ページ（購入者ページ・404） */
.page { padding-top: 88px; padding-bottom: 104px; max-width: 800px; }
.page h1 { margin: 14px 0 28px; font-family: var(--serif-ja); font-size: clamp(26px, 4vw, 34px); line-height: 1.6; font-weight: 500; letter-spacing: 0.04em; }
.page p { margin: 0 0 16px; color: var(--ink-2); }
.page h2 { margin: 48px 0 16px; font-family: var(--serif-ja); font-size: 22px; }

@media (max-width: 640px) {
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; gap: 0 18px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .hero .visual { outline-offset: 5px; }
}

/* AI画像の注記 */
.ai-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-align: right; }
.hero-figure .ai-note { margin-top: 16px; }
.product .ai-note { margin-top: -6px; }

/* 1/4 カジュアルライン */
.casual-band { border-top: 1px solid var(--line); }
.casual { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.casual-figure { flex: 1 1 460px; min-width: 0; margin: 0; }
.casual-figure img { width: 100%; border: 1px solid var(--line); }
.casual-copy { flex: 1 1 320px; min-width: 0; }
.casual-copy h2 { margin: 16px 0 0; font-family: var(--serif-ja); font-size: clamp(24px, 3vw, 30px); line-height: 1.6; font-weight: 500; letter-spacing: 0.04em; }
.casual-copy p:last-child { margin: 20px 0 0; color: var(--ink-2); }

/* オンラインガチャ（テスト中） */
.gacha-box { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.test-notice { margin: 0; padding: 16px 20px; border: 1px solid var(--gold); background: #FFF8E8; color: #5C4520; font-size: 14px; line-height: 1.8; }
.test-notice b { font-size: 15px; }
