/* アンシェントメモリーオイル 2027年新作 */
:root {
  --paper: #fbf6ee;
  --paper-2: #f5ede0;
  --card: #fffdf9;
  --ink: #3a3230;
  --muted: #74675f;
  --line: #e8dccb;
  --gold: #b8913f;
  --gold-soft: #c9a84c;
  --gold-pale: #efe2c0;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "BIZ UDPMincho", serif;
  --sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(120, 90, 50, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: #fff; padding: 6px 12px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, (100% - 1120px) / 2);
  background: rgba(251, 246, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.brand-en { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; }
.brand-year { font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: .12em; }
.site-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-size: 13px; text-decoration: none; white-space: nowrap;
  padding: 6px 10px; border-radius: 999px; color: var(--muted);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--gold-pale); color: var(--ink); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 700; letter-spacing: .04em; line-height: 1.4;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #c9a84c, #a8802f);
  box-shadow: 0 8px 20px rgba(168, 128, 47, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(168, 128, 47, .34); }
.btn-line { color: var(--ink); background: var(--card); border: 1px solid var(--gold-soft); }
.btn-line:hover { background: var(--gold-pale); }
.btn-wide { width: 100%; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 10vw, 112px) 0 clamp(48px, 8vw, 88px);
  text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #fffaf1 0%, var(--paper) 60%);
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hero-sky span {
  position: absolute; border-radius: 50%; filter: blur(48px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-sky span:nth-child(1) { width: 340px; height: 340px; left: -80px; top: 40px; background: #bcd0ee; }
.hero-sky span:nth-child(2) { width: 300px; height: 300px; left: 22%; bottom: -120px; background: #f2c6d4; animation-delay: -4s; }
.hero-sky span:nth-child(3) { width: 320px; height: 320px; right: 18%; bottom: -140px; background: #cfe2c6; animation-delay: -8s; }
.hero-sky span:nth-child(4) { width: 360px; height: 360px; right: -100px; top: 20px; background: #dccdee; animation-delay: -12s; }
.hero-sky span:nth-child(5) { width: 220px; height: 220px; left: 46%; top: -90px; background: #f3dfab; animation-delay: -6s; }
.hero-sky span:nth-child(6) { width: 180px; height: 180px; left: 8%; bottom: 10%; background: #f6e3b8; animation-delay: -10s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.08); }
}
.hero-inner { position: relative; }
.hero-kicker {
  font-family: var(--serif); color: var(--gold); letter-spacing: .32em;
  font-size: 13px; text-transform: uppercase; margin-bottom: 8px;
}
.hero-title { margin: 0; font-weight: 400; }
.hero-year {
  display: block; font-family: var(--serif);
  font-size: clamp(72px, 18vw, 168px); line-height: 1; letter-spacing: .06em;
  background: linear-gradient(180deg, #d6b45e 0%, #a37a2c 70%, #c9a84c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-h1 {
  display: block; margin-top: 14px; font-family: var(--serif);
  font-size: clamp(22px, 4.4vw, 34px); line-height: 1.5; letter-spacing: .12em;
}
.hero-lead { margin: 22px 0 6px; font-size: clamp(16px, 2.6vw, 19px); font-weight: 700; }
.hero-sub { margin: 14px 0 18px; }
.hero-sub span {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: clamp(18px, 3.4vw, 24px); letter-spacing: .24em; color: #6c5a3a;
}
.hero-sub span::before, .hero-sub span::after { content: ""; width: 36px; height: 1px; background: var(--gold-soft); }
.hero-text { max-width: 34em; margin: 0 auto 22px; color: var(--muted); }
.hero-names {
  list-style: none; padding: 0; margin: 0 auto 30px; max-width: 760px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.hero-names a {
  display: inline-block; text-decoration: none;
  font-family: var(--serif); font-size: 14px; letter-spacing: .04em;
  padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 249, .7);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.hero-names a:hover, .hero-names a:focus-visible {
  border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: color-mix(in srgb, var(--accent) 75%, #222);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- お知らせ ---------- */
.status {
  margin: -28px auto 0; position: relative; z-index: 2; max-width: 860px;
  background: var(--card); border: 1px solid var(--gold-soft); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow);
}
.status p:last-child { margin-bottom: 0; }
.status-title { font-weight: 700; color: #8a6a26; margin-bottom: .3em; }
.status-title::before { content: "◆ "; color: var(--gold-soft); }

/* ---------- 件数 ---------- */
.count { padding: 64px 0 8px; text-align: center; }
.count-num { font-family: var(--serif); font-size: 18px; margin: 0; }
.count-num span { font-size: 64px; color: var(--gold); line-height: 1.1; margin-right: 4px; }
.count-text { color: var(--muted); font-size: 15px; }

/* ---------- 発表ごと ---------- */
.release { padding: 56px 0 24px; }
.release + .release { border-top: 1px solid var(--line); }
.release-label {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--serif); color: var(--gold); letter-spacing: .2em; margin: 0;
}
.release-label span { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.release-title, .sec-title {
  font-family: var(--serif); font-weight: 600; text-align: center;
  font-size: clamp(22px, 4vw, 30px); line-height: 1.5; letter-spacing: .06em; margin: 8px 0 28px;
}
.sec-title::after {
  content: ""; display: block; width: 48px; height: 1px; margin: 14px auto 0; background: var(--gold-soft);
}
.release-intro { display: grid; gap: 28px; margin-bottom: 36px; }
.release-intro.has-fig { align-items: start; }
@media (min-width: 860px) {
  .release-intro.has-fig { grid-template-columns: 1fr 300px; }
}
.letter {
  margin: 0; padding: 28px clamp(20px, 4vw, 40px);
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  position: relative;
}
.letter::before {
  content: "“"; position: absolute; top: -8px; left: 18px;
  font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--gold-pale);
}
.letter-head { font-family: var(--serif); color: var(--gold); letter-spacing: .12em; font-size: 14px; }
.letter .letter-head { display: flex; align-items: center; gap: 14px; }
.donna {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%;
  border: 2px solid var(--gold-pale); box-shadow: 0 4px 12px rgba(120, 90, 50, .15); flex: none;
}
.oil-story .letter-head .donna { width: 88px; height: 88px; margin: 0 auto 4px; }
.letter p { font-family: var(--serif); line-height: 2.1; }
.letter-sign { text-align: right; font-family: var(--serif); color: var(--muted); font-size: 14px; margin-bottom: 0; }
.release-fig { margin: 0; }
.release-fig img { border-radius: var(--radius); box-shadow: var(--shadow); margin-inline: auto; width: min(300px, 100%); }
.release-fig figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- オイルカード ---------- */
.oil-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 860px) { .oil-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.oil-grid.small { margin-bottom: 32px; }
@media (min-width: 860px) { .oil-grid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.oil-card a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.oil-card a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 22%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.oil-card-img { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--paper-2); }
.oil-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.oil-card a:hover .oil-card-img img { transform: scale(1.04); }
.oil-card-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 16px; flex: 1; border-top: 3px solid var(--accent); }
.oil-card-en { font-family: var(--serif); font-size: clamp(16px, 2.2vw, 19px); line-height: 1.35; letter-spacing: .02em; }
.oil-card-ja { font-size: 13px; color: var(--muted); }
.oil-card-copy { font-size: 13.5px; line-height: 1.7; margin-top: 6px; flex: 1; }
.oil-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 6px; }
.tag { font-size: 11px; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, #fff); color: color-mix(in srgb, var(--accent) 70%, #333); white-space: nowrap; }
.more { font-size: 12px; color: var(--gold); white-space: nowrap; }
.more::after { content: " →"; }

/* ---------- 表 ---------- */
.table-sec { padding: 64px 0 24px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.oil-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14px; }
.oil-table th, .oil-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.oil-table thead th { background: var(--paper-2); font-weight: 700; font-size: 13px; color: var(--muted); }
.oil-table tbody tr:last-child > * { border-bottom: 0; }
.oil-table tbody th a { font-family: var(--serif); font-weight: 600; text-decoration: none; }
.oil-table tbody th a:hover { color: var(--gold); }
.oil-table tbody th span { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.oil-table td:last-child { white-space: nowrap; }

/* ---------- 使い方 ---------- */
.howto-teaser { padding: 64px 0 24px; }
.usage { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
@media (min-width: 700px) { .usage { grid-template-columns: 1fr 1fr; } }
.usage li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.usage p { margin: 0; }
.usage-title { font-family: var(--serif); font-weight: 700; font-size: 18px; margin-bottom: 6px !important; }
.usage-title::before { content: "✦ "; color: var(--gold-soft); }

/* ---------- FAQ ---------- */
.faq { padding: 64px 0 24px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; color: var(--gold); font-family: var(--serif); margin-right: 8px; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.past { padding: 48px 0 72px; }

/* ---------- 個別ページ ---------- */
.crumbs { font-size: 12px; color: var(--muted); padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.oil-hero { display: grid; gap: 28px; padding: 20px 0 40px; }
@media (min-width: 860px) { .oil-hero { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0 56px; } }
.oil-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px color-mix(in srgb, var(--accent) 20%, transparent); }
.oil-photo img { width: 100%; }
.oil-release { color: var(--gold); font-family: var(--serif); letter-spacing: .14em; font-size: 14px; margin-bottom: 6px; }
.oil-head h1 { margin: 0 0 12px; font-weight: 400; }
.oil-en { display: block; font-family: var(--serif); font-size: clamp(36px, 7vw, 56px); line-height: 1.15; letter-spacing: .01em; }
.oil-ja { display: block; font-family: var(--serif); font-size: clamp(18px, 3vw, 22px); color: var(--muted); margin-top: 8px; letter-spacing: .1em; }
.oil-copy {
  font-size: 18px; font-weight: 700; padding-left: 14px; border-left: 3px solid var(--accent); line-height: 1.6;
}
.facts, .spec { margin: 0 0 24px; border-top: 1px solid var(--line); }
.facts div, .spec div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.facts dt, .spec dt { color: var(--muted); font-size: 14px; }
.facts dd, .spec dd { margin: 0; }
.buy { display: grid; gap: 12px; }
.buy-wait { background: color-mix(in srgb, var(--accent) 8%, #fff); border: 1px dashed color-mix(in srgb, var(--accent) 45%, #fff); border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.buy-wait p { margin: 0; }
.buy-wait-title { font-weight: 700; color: color-mix(in srgb, var(--accent) 75%, #333); margin-bottom: 2px !important; }
.oil-story { padding: 24px 0 8px; }
.story {
  font-family: var(--serif); font-size: 17px; line-height: 2.2;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px clamp(20px, 4vw, 40px); margin-bottom: 10px;
}
.oil-info { padding: 40px 0 8px; }
.cautions { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.cautions summary { cursor: pointer; padding: 14px 20px; font-weight: 700; }
.cautions ul { margin: 0; padding: 0 20px 0 40px; font-size: 14px; color: var(--muted); }
.cautions p { padding: 10px 20px 16px; margin: 0; font-size: 14px; }
.related { padding: 56px 0 72px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.pager a { display: block; text-decoration: none; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-family: var(--serif); }
.pager a span { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.pager .next { text-align: right; }
.pager a:hover { border-color: var(--gold-soft); }

/* ---------- 使い方ページ ---------- */
.page-head { text-align: center; padding: 40px 0 8px; }
.page-title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 5vw, 38px); margin: 0 0 24px; letter-spacing: .08em; }
.important { background: #fff7f2; border: 1px solid #ecc3ad; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 48px; }
.important-title { font-weight: 700; color: #a4512c; }
.important ul, .caution-list { margin: 0; padding-left: 1.4em; }
.caution-list { margin-bottom: 40px; }
.caution-list li { margin-bottom: 6px; }

/* ---------- フッター ---------- */
.site-footer { background: #2f2826; color: #e9dfd0; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 20px; letter-spacing: .08em; margin-bottom: 8px; }
.footer-brand span { color: var(--gold-soft); }
.footer-note { color: #b9ab98; font-size: 13px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.footer-links a { text-decoration: none; color: #e9dfd0; }
.footer-links a:hover { color: var(--gold-soft); }
.copyright { text-align: center; color: #9c8f7f; font-size: 12px; margin: 32px 0 0; }
.copyright a { text-decoration: none; }

/* ---------- 表示アニメーション ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .site-header { flex-direction: column; align-items: stretch; gap: 4px; padding-top: 8px; padding-bottom: 6px; }
  .brand { justify-content: center; }
  .site-nav { justify-content: center; }
  .site-nav a { padding: 4px 8px; font-size: 12px; }
  .oil-grid { gap: 12px; }
  .oil-card-body { padding: 12px 10px 14px; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sky span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .oil-card a, .oil-card-img img, .btn { transition: none; }
}
