/* Beauty Trend Lab — site stylesheet */
:root {
  --bg: #fbf7ee;
  --bg-soft: #f5ead6;
  --bg-card: #ffffff;
  --ink: #3b2f23;
  --ink-soft: #857057;
  --rose: #cfa66b;
  --rose-deep: #a67c52;
  --rose-pale: #efe0c4;
  --gold: #b08d5c;
  --line: #e2c9a5;
  --shadow: 0 10px 30px rgba(140, 110, 75, 0.1);
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --latin: "Cormorant Garamond", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rose-deep); text-decoration: none; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; border-radius: 12px; }

/* header */
.site-header {
  background: rgba(251, 247, 238, 0.95);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1040px; margin: 0 auto; padding: 14px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
}
.brand { display: flex; flex-direction: column; color: var(--ink); }
.brand-en { font-family: var(--latin); font-size: 1.5rem; letter-spacing: 0.12em; line-height: 1.2; }
.brand-ja { font-size: 0.68rem; color: var(--ink-soft); letter-spacing: 0.2em; }
.genre-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.genre-nav a { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.06em; padding: 4px 2px; }
.genre-nav a:hover { color: var(--rose-deep); }

/* layout */
.site-main { max-width: 1040px; margin: 0 auto; padding: 36px 20px 80px; }
.narrow { max-width: 720px; margin: 0 auto; }

/* hero */
.hero { text-align: center; padding: 48px 12px 40px; }
.hero h1 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: 0.08em; }
.hero .hero-en { font-family: var(--latin); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.35em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.hero p.lead { color: var(--ink-soft); font-size: 0.92rem; margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* section titles */
.section-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.1em; margin: 56px 0 20px; display: flex; align-items: center; gap: 14px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-title .en { font-family: var(--latin); color: var(--gold); font-size: 0.8rem; letter-spacing: 0.3em; }

/* article cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.article-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 12px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.25s ease;
  overflow: hidden;
}
.article-card:hover { transform: translateY(-3px); }
.article-card .article-thumb {
  display: block;
  aspect-ratio: 1200 / 630;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-soft);
}
.article-card .article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.article-card .genre-tag { font-size: 0.7rem; color: var(--rose-deep); background: var(--rose-pale); border-radius: 999px; padding: 3px 12px; width: fit-content; letter-spacing: 0.08em; }
.article-card h3 { font-family: var(--serif); font-size: 1.02rem; font-weight: 500; line-height: 1.6; }
.article-card h3 a { color: var(--ink); }
.article-card .excerpt { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.7; }
.article-card .date { font-size: 0.72rem; color: var(--gold); font-family: var(--latin); letter-spacing: 0.1em; margin-top: auto; }

/* self check section（トップ下部・控えめ） */
.check-section { margin-top: 24px; }
.check-lead { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.check-links { display: flex; flex-wrap: wrap; gap: 10px; }
.check-links a {
  display: inline-block; font-size: 0.82rem; color: var(--ink);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; transition: all 0.2s ease;
}
.check-links a:hover { border-color: var(--rose); color: var(--rose-deep); opacity: 1; }

/* article page */
.article-header { padding: 24px 0 8px; }
.breadcrumb { font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.article-header h1 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.7; letter-spacing: 0.03em; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-top: 14px; font-size: 0.78rem; color: var(--ink-soft); }
.article-meta .genre-tag { font-size: 0.72rem; color: var(--rose-deep); background: var(--rose-pale); border-radius: 999px; padding: 3px 12px; }

.summary-box {
  background: var(--bg-soft); border-radius: 16px; padding: 22px 26px; margin: 28px 0;
  border-left: 3px solid var(--gold);
}
.summary-box .summary-label { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 8px; font-weight: 500; }
.summary-box ul { list-style: none; }
.summary-box li { font-size: 0.9rem; padding: 4px 0 4px 1.4em; position: relative; }
.summary-box li::before { content: "◆"; position: absolute; left: 0; color: var(--rose); font-size: 0.7rem; top: 9px; }

.article-body { margin-top: 8px; }
.article-body h2 {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.04em;
  margin: 52px 0 20px; padding: 14px 18px; background: var(--bg-soft); border-radius: 10px;
  border-left: 4px solid var(--rose);
}
.article-body h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.article-body p { margin: 0 0 1.5em; }
.article-body strong { color: var(--rose-deep); font-weight: 700; }
.article-body ul, .article-body ol { margin: 0 0 1.5em 1.5em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote { border-left: 3px solid var(--gold); padding: 8px 20px; color: var(--ink-soft); margin: 0 0 1.5em; background: #f7f0e0; border-radius: 0 10px 10px 0; }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 40px auto; width: 60%; }

/* quiz CTA box in articles */
.quiz-cta {
  margin: 48px 0; padding: 34px 30px; text-align: center;
  background: linear-gradient(150deg, #fff 0%, var(--rose-pale) 100%);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.quiz-cta .cta-label { font-family: var(--latin); color: var(--gold); font-size: 0.78rem; letter-spacing: 0.35em; text-transform: uppercase; }
.quiz-cta h2 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin: 12px 0 10px; background: none; border: none; padding: 0; }
.quiz-cta p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 22px; }
.btn-primary {
  display: inline-block; background: var(--rose-deep); color: #fff; font-weight: 500;
  padding: 14px 44px; border-radius: 999px; font-size: 0.95rem; letter-spacing: 0.1em;
  border: none; cursor: pointer; box-shadow: 0 6px 18px rgba(166, 124, 82, 0.35);
  transition: transform 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 1; color: #fff; }
.btn-line {
  display: inline-block; background: #06c755; color: #fff; font-weight: 700;
  padding: 16px 46px; border-radius: 999px; font-size: 1rem; letter-spacing: 0.05em;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.3);
}
.btn-line:hover { color: #fff; opacity: 0.9; }

/* FAQ */
.faq-section { margin: 56px 0 20px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: 14px; }
.faq-item .faq-q { font-weight: 600; font-size: 0.95rem; position: relative; padding-left: 2em; }
.faq-item .faq-q::before { content: "Q"; position: absolute; left: 0; font-family: var(--latin); color: var(--rose); font-size: 1.2rem; line-height: 1.5; }
.faq-item .faq-a { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; padding-left: 2em; position: relative; }
.faq-item .faq-a::before { content: "A"; position: absolute; left: 0; font-family: var(--latin); color: var(--gold); font-size: 1.2rem; line-height: 1.5; }

/* related */
.related-section { margin-top: 64px; }

/* quiz page */
.quiz-shell { max-width: 640px; margin: 0 auto; }
.quiz-panel {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 24px;
  padding: 44px 34px; box-shadow: var(--shadow); text-align: center;
}
.quiz-panel .quiz-genre-label { font-family: var(--latin); color: var(--gold); letter-spacing: 0.3em; font-size: 0.75rem; text-transform: uppercase; }
.quiz-panel h1 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 14px 0 12px; }
.quiz-panel .quiz-catch { color: var(--rose-deep); font-size: 0.95rem; margin-bottom: 14px; }
.quiz-panel .quiz-desc { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 28px; }
.progress-track { height: 6px; background: var(--bg-soft); border-radius: 999px; margin-bottom: 30px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); border-radius: 999px; width: 0%; transition: width 0.4s ease; }
.q-number { font-family: var(--latin); color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 12px; }
.q-text { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; margin-bottom: 26px; line-height: 1.8; }
.q-options { display: flex; flex-direction: column; gap: 12px; }
.q-option {
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 15px 18px; font-size: 0.92rem; cursor: pointer; text-align: left;
  font-family: var(--sans); color: var(--ink); transition: all 0.2s ease;
}
.q-option:hover { border-color: var(--rose); background: var(--rose-pale); }
.result-type { font-family: var(--latin); color: var(--gold); letter-spacing: 0.3em; font-size: 0.75rem; text-transform: uppercase; }
.result-headline { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 12px 0 18px; color: var(--rose-deep); }
.result-body { text-align: left; font-size: 0.92rem; color: var(--ink); margin-bottom: 18px; }
.result-advice { text-align: left; background: var(--bg-soft); border-radius: 12px; padding: 14px 20px; font-size: 0.88rem; margin-bottom: 28px; }
.result-advice::before { content: "アドバイス"; display: block; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 4px; }

/* lead form */
.lead-box { border-top: 1px dashed var(--line); padding-top: 28px; margin-top: 8px; }
.lead-box .lead-text { font-size: 0.9rem; font-weight: 500; margin-bottom: 18px; }
.lead-form { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin: 0 auto; }
.lead-form input[type="email"] {
  padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 0.95rem; font-family: var(--sans); text-align: center; background: var(--bg);
}
.lead-form input[type="email"]:focus { outline: none; border-color: var(--rose); }
.form-note { font-size: 0.7rem; color: var(--ink-soft); }
.form-note a { text-decoration: underline; }
.lead-thanks { background: var(--rose-pale); border-radius: 14px; padding: 20px; font-size: 0.9rem; }
.line-wrap { margin-top: 22px; }
.line-note { font-size: 0.76rem; color: var(--ink-soft); margin-top: 12px; }
.line-note strong { color: var(--rose-deep); font-size: 0.95rem; letter-spacing: 0.05em; }
.hidden { display: none !important; }

/* genre page */
.genre-hero { text-align: center; padding: 30px 0 10px; }
.genre-hero h1 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.06em; }
.genre-hero p { color: var(--ink-soft); font-size: 0.88rem; margin-top: 10px; }

/* static pages */
.page-body h1 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 20px 0 24px; }
.page-body h2 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 36px 0 14px; }
.page-body p, .page-body li { font-size: 0.92rem; color: var(--ink); }
.page-body ul { margin: 0 0 1.5em 1.5em; }
.page-body p { margin-bottom: 1.4em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 60px; }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 36px 20px; text-align: center; }
.footer-brand { font-family: var(--latin); letter-spacing: 0.2em; font-size: 1.1rem; }
.footer-nav { display: flex; justify-content: center; gap: 22px; margin: 14px 0; flex-wrap: wrap; }
.footer-nav a { font-size: 0.78rem; color: var(--ink-soft); }
.copyright { font-size: 0.72rem; color: var(--ink-soft); font-family: var(--latin); letter-spacing: 0.1em; }

@media (max-width: 600px) {
  .site-main { padding: 24px 16px 60px; }
  .hero { padding: 28px 6px 24px; }
  .hero h1 { font-size: 1.3rem; }
  .article-header h1 { font-size: 1.3rem; }
  .quiz-panel { padding: 32px 22px; }
  .header-inner { justify-content: center; text-align: center; }
}
