/* ============================================================
   CYEA — cyea.art  |  Individual Reading Site
   ============================================================ */

:root {
  --bg:         #06060e;
  --bg2:        #0c0b1a;
  --bg3:        #110f22;
  --border:     rgba(160, 130, 80, 0.25);
  --gold:       #c8a96e;
  --gold-light: #e0c98a;
  --gold-dim:   rgba(200, 169, 110, 0.7);
  --text:       #e8e4dc;
  --text-muted: #b0a898;
  --text-dim:   #706860;
  --crimson:    #7a1535;
  --violet:     #2a1550;
  --white:      #f4f0e8;
  --ff-display: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --ff-body:    'Noto Sans JP', 'Hiragino Kaku Gothic Pro', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

/* ── GOOGLE FONTS IMPORT ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@300;400;500&display=swap');

/* ── GLOBAL TYPOGRAPHY ───────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 300; letter-spacing: .06em; }

a { color: var(--gold); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }

/* ── HEADER / NAV ────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 6, 14, .92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.header-logo {
  font-family: var(--ff-display);
  font-size: 1.15rem; letter-spacing: .2em; color: var(--gold-light);
  font-weight: 300;
}
.header-logo span { font-size: .7rem; letter-spacing: .25em; color: var(--text-muted); display: block; margin-top: -2px; }
.header-nav { display: flex; gap: 28px; font-size: .85rem; letter-spacing: .1em; color: var(--text-muted); }
.header-nav a { color: var(--text-muted); }
.header-nav a:hover { color: var(--gold); opacity: 1; }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(42, 21, 80, .45) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(122, 21, 53, .12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: .72rem; letter-spacing: .35em; color: var(--gold-dim);
  margin-bottom: 24px; text-transform: uppercase;
}
.hero-name {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 300; letter-spacing: .18em;
  color: var(--white); line-height: 1;
  margin-bottom: 18px;
}
.hero-name em { font-style: italic; color: var(--gold-light); }
.hero-tagline {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: #c8bfb0; letter-spacing: .08em;
  margin-bottom: 52px; font-weight: 300;
}
.hero-divider {
  width: 1px; height: 60px; background: var(--border); margin: 0 auto 52px;
}
.hero-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 34px;
  font-size: .82rem; letter-spacing: .14em; font-family: var(--ff-body);
  border: 1px solid; border-radius: 1px;
  cursor: pointer; transition: all .22s;
  font-weight: 400;
}
.btn-primary {
  background: transparent; border-color: var(--gold);
  color: var(--gold);
}
.btn-primary:hover { background: var(--gold); color: var(--bg); opacity: 1; }
.btn-secondary {
  background: transparent; border-color: var(--border);
  color: var(--text-muted);
}
.btn-secondary:hover { border-color: var(--gold-dim); color: var(--text); opacity: 1; }
.btn-submit {
  background: var(--gold); border-color: var(--gold); color: var(--bg);
  width: 100%; padding: 16px; font-size: .9rem; letter-spacing: .12em;
}
.btn-submit:hover { background: var(--gold-light); border-color: var(--gold-light); opacity: 1; }

/* ── SECTION ─────────────────────────────────────────────── */
section { padding: 80px 24px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-label {
  font-size: .7rem; letter-spacing: .3em; color: var(--gold-dim); text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 300;
  color: var(--white); margin-bottom: 32px; line-height: 1.3;
}
.section-divider {
  width: 40px; height: 1px; background: var(--gold-dim); margin: 0 0 40px;
}

/* ── MENU CARDS (index) ──────────────────────────────────── */
.menu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 48px; }
@media (max-width: 640px) { .menu-cards { grid-template-columns: 1fr; } }
.menu-card {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 40px 36px; position: relative; overflow: hidden;
  transition: border-color .25s;
  text-decoration: none; display: block; color: inherit;
}
.menu-card:hover { border-color: var(--gold-dim); opacity: 1; }
.menu-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.menu-card-en {
  font-size: .68rem; letter-spacing: .28em; color: var(--gold-dim);
  text-transform: uppercase; margin-bottom: 14px;
}
.menu-card-title {
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 300;
  color: var(--white); margin-bottom: 14px; letter-spacing: .04em; line-height: 1.3;
}
.menu-card-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.menu-card-price {
  font-family: var(--ff-display); font-size: 1.7rem; color: var(--gold);
  letter-spacing: .04em;
}
.menu-card-price span { font-size: .85rem; color: var(--text-muted); }
.menu-card-arrow {
  position: absolute; bottom: 28px; right: 28px;
  font-size: .8rem; color: var(--text-dim);
  transition: color .2s, transform .2s;
}
.menu-card:hover .menu-card-arrow { color: var(--gold); transform: translateX(4px); }

/* ── PHILOSOPHY BLOCK ────────────────────────────────────── */
.philosophy { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.philosophy-body {
  font-family: var(--ff-display); font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text); line-height: 2.2; font-weight: 300;
}
.philosophy-body strong { color: var(--gold-light); font-weight: 400; }

/* ── PROFILE BLOCK ───────────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
@media (max-width: 640px) { .profile-grid { grid-template-columns: 1fr; gap: 24px; } }
.profile-initial {
  font-family: var(--ff-display); font-size: 5rem; font-weight: 300;
  color: var(--gold-dim); line-height: 1; letter-spacing: -.02em;
  font-style: italic;
}
.profile-name { font-size: 1.1rem; color: var(--white); letter-spacing: .08em; margin-bottom: 6px; }
.profile-name-sub { font-size: .72rem; letter-spacing: .22em; color: var(--text-muted); margin-bottom: 20px; }
.profile-text { font-size: .88rem; color: var(--text-muted); line-height: 2; }

/* ── MENU PAGE HERO ──────────────────────────────────────── */
.menu-hero {
  padding: 140px 24px 64px; text-align: center; position: relative;
  border-bottom: 1px solid var(--border);
}
.menu-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(42, 21, 80, .35) 0%, transparent 70%);
  pointer-events: none;
}
.menu-hero-en { font-size: .72rem; letter-spacing: .3em; color: var(--gold-dim); text-transform: uppercase; margin-bottom: 16px; }
.menu-hero-title { font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 300; color: var(--white); margin-bottom: 16px; letter-spacing: .06em; }
.menu-hero-sub { font-size: .85rem; color: var(--text-muted); letter-spacing: .06em; }

/* ── CONTENT BLOCKS (menu pages) ────────────────────────── */
.content-block { max-width: 720px; margin: 0 auto; padding: 72px 24px; }
.content-block + .content-block { border-top: 1px solid var(--border); }
.block-label { font-size: .68rem; letter-spacing: .28em; color: var(--gold-dim); text-transform: uppercase; margin-bottom: 10px; }
.block-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 300; color: var(--white); margin-bottom: 20px; }
.block-body { font-size: .95rem; color: var(--text-muted); line-height: 2.1; }
.block-body p + p { margin-top: 14px; }

/* ── PRICE TABLE (通話鑑定) ──────────────────────────────── */
.price-options { display: grid; gap: 2px; margin: 32px 0; }
.price-option {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: border-color .2s;
}
.price-option:hover { border-color: var(--gold-dim); }
.price-option input[type=radio] { appearance: none; width: 14px; height: 14px; border: 1px solid var(--text-dim); border-radius: 50%; margin-right: 16px; flex-shrink: 0; cursor: pointer; transition: all .2s; }
.price-option input[type=radio]:checked { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 3px var(--bg2), 0 0 0 4px var(--gold); }
.price-option-label { display: flex; align-items: center; flex: 1; }
.price-option-name { font-size: .9rem; color: var(--text); letter-spacing: .04em; }
.price-option-note { font-size: .75rem; color: var(--text-muted); margin-left: 12px; }
.price-option-amount { font-family: var(--ff-display); font-size: 1.5rem; color: var(--gold); letter-spacing: .02em; }
.price-option-amount span { font-size: .78rem; color: var(--text-muted); }

/* ── MAIL PRICE (メール鑑定) ─────────────────────────────── */
.price-display {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 28px 32px; margin: 32px 0;
  display: flex; align-items: baseline; gap: 12px;
}
.price-display .price-num { font-family: var(--ff-display); font-size: 3rem; color: var(--gold); font-weight: 300; }
.price-display .price-yen { font-size: .9rem; color: var(--gold-dim); }
.price-display .price-suffix { font-size: .78rem; color: var(--text-muted); }
.price-note { font-size: .8rem; color: var(--text-muted); margin-top: 12px; line-height: 1.9; }

/* ── FLOW LIST ───────────────────────────────────────────── */
.flow-list { list-style: none; margin: 24px 0; }
.flow-list li {
  padding: 16px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 20px; align-items: flex-start;
  font-size: .92rem; color: var(--text-muted); line-height: 1.9;
}
.flow-list li:first-child { border-top: 1px solid var(--border); }
.flow-num { font-family: var(--ff-display); font-size: .9rem; color: var(--gold-dim); flex-shrink: 0; width: 20px; margin-top: 2px; }

/* ── NOTICE BOX ──────────────────────────────────────────── */
.notice-box {
  border: 1px solid var(--border); padding: 20px 24px; margin: 24px 0;
  font-size: .88rem; color: var(--text-muted); line-height: 2;
}
.notice-box strong { color: var(--gold-dim); display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }

/* ── FORM ────────────────────────────────────────────────── */
.form-section { background: var(--bg2); border-top: 1px solid var(--border); }
.form-inner { max-width: 640px; margin: 0 auto; padding: 72px 24px; }
.form-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 300; color: var(--white); margin-bottom: 8px; }
.form-subtitle { font-size: .8rem; color: var(--text-muted); letter-spacing: .06em; margin-bottom: 40px; }
.form-group { margin-bottom: 24px; }
.form-label { font-size: .82rem; letter-spacing: .12em; color: var(--text-muted); display: block; margin-bottom: 8px; }
.form-label .req { color: var(--gold-dim); margin-left: 6px; font-size: .76rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 14px 16px; font-size: .95rem; font-family: var(--ff-body);
  transition: border-color .2s; outline: none; border-radius: 0;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--gold-dim); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-error { font-size: .78rem; color: #e05555; margin-top: 32px; display: none; }
.form-consent { font-size: .78rem; color: var(--text-muted); line-height: 1.9; padding: 16px; border: 1px solid var(--border); margin-bottom: 24px; }
.form-thanks { text-align: center; padding: 40px 0; display: none; }
.form-thanks h3 { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 300; color: var(--white); margin-bottom: 14px; }
.form-thanks p { font-size: .85rem; color: var(--text-muted); line-height: 2; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--ff-display); font-size: .9rem; letter-spacing: .2em; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; font-size: .75rem; letter-spacing: .08em; color: var(--text-dim); }
.footer-links a { color: var(--text-dim); }
.footer-copy { width: 100%; font-size: .7rem; color: var(--text-dim); letter-spacing: .08em; }

/* ── TOKUSHOHO ───────────────────────────────────────────── */
.tokushoho-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .85rem; }
.tokushoho-table tr { border-bottom: 1px solid var(--border); }
.tokushoho-table th { padding: 14px 0; color: var(--text-muted); font-weight: 400; letter-spacing: .06em; width: 36%; text-align: left; vertical-align: top; }
.tokushoho-table td { padding: 14px 0 14px 20px; color: var(--text); line-height: 1.9; }

/* ── BACK LINK ───────────────────────────────────────────── */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--text-muted); letter-spacing: .1em; margin: 24px 0; }
.back-link:hover { color: var(--gold); opacity: 1; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 640px) {
  #site-header { padding: 0 20px; }
  .header-nav { display: none; }
}
