/* Jepang Notes — home (top page) design v2: Japanese Travel Editorial Magazine */
:root {
  --bg: #ffffff;
  --sub: #f7f5f0;
  --ink: #222222;
  --accent: #b53b32;
  --accent-dark: #96302a;
  --muted: #666666;
  --line: #e5e5e5;
  --serif: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "Yu Mincho", "Noto Serif JP", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Segoe UI", Arial, sans-serif;
  --shell: 1200px;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(34, 34, 34, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.shell { width: min(var(--shell), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-delay="60"] { transition-delay: 60ms; }
[data-delay="80"] { transition-delay: 80ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="120"] { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.site-header--scrolled { box-shadow: 0 4px 18px rgba(34,34,34,.07); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark__stamp {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1;
}
.wordmark__copy { display: flex; flex-direction: column; line-height: 1.25; }
.wordmark__copy strong { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .01em; }
.wordmark__copy small { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.desktop-nav a:hover { color: var(--accent); border-color: var(--accent); }
.desktop-nav__tea { color: var(--accent) !important; }
.header-search {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-size: 19px; color: var(--ink); transition: background .2s, color .2s;
}
.header-search:hover { background: var(--sub); color: var(--accent); }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__image { position: absolute; inset: 0; background-image: url('/assets/travel-hero.webp'); background-size: cover; background-position: center; }
.hero__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.72) 0%, rgba(20,16,12,.45) 46%, rgba(20,16,12,.08) 78%), linear-gradient(0deg, rgba(20,16,12,.45), transparent 45%); }
.hero__inner { position: relative; display: flex; align-items: center; min-height: 540px; padding-block: 84px; }
.hero__copy { max-width: 640px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.eyebrow__line { display: inline-block; width: 34px; height: 2px; background: var(--accent); }
.eyebrow--light { color: #ffd9d4; }
.eyebrow--light .eyebrow__line { background: #ffd9d4; }
.hero h1 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(40px, 5.6vw, 64px); line-height: 1.22; font-weight: 700; }
.hero h1 em { font-style: italic; }
.hero__lead { margin: 0 0 30px; font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.92); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 700; line-height: 1.3;
  transition: background .2s, color .2s, border-color .2s;
}
.button--primary { background: var(--accent); color: #fff; }
.button--primary:hover { background: var(--accent-dark); }
.button--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.85); }
.button--ghost:hover { background: rgba(255,255,255,.25); }

/* ---------- sections ---------- */
.section-pad { padding: 76px 0; }
.section-pad--sub { background: var(--sub); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.sec-head--wrap { flex-wrap: wrap; }
.sec-title {
  position: relative; margin: 0; padding-left: 18px;
  font-family: var(--serif); font-size: clamp(27px, 3.4vw, 36px); font-weight: 700; line-height: 1.3;
}
.sec-title::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: var(--accent); }
.sec-link { font-size: 14.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.sec-link:hover { color: var(--accent-dark); text-decoration: underline; }
.sec-note { margin: 6px 0 26px; color: var(--muted); font-size: 15.5px; max-width: 720px; }

/* destinations */
.dest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 28px; }
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 3.6; box-shadow: var(--shadow); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest-card:hover img { transform: scale(1.05); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,10,8,.62) 0%, transparent 46%); }
.dest-card__name { position: absolute; left: 16px; bottom: 13px; z-index: 1; color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.dest-list { margin-top: 34px; border-top: 1px solid var(--line); }
.dest-row { display: flex; align-items: center; gap: 18px; padding: 17px 6px; border-bottom: 1px solid var(--line); transition: background .2s; }
.dest-row:hover { background: var(--sub); }
.dest-row__number { font-family: var(--serif); color: var(--accent); font-size: 15px; font-weight: 700; }
.dest-row__body { display: flex; flex-direction: column; line-height: 1.5; }
.dest-row__body strong { font-size: 17px; }
.dest-row__body small { color: var(--muted); font-size: 13.5px; }
.dest-row__arrow { margin-left: auto; color: var(--accent); font-weight: 700; }

/* preparation cards */
.prep-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 24px; }
.prep-card {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 26px 10px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.prep-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.prep-card__icon { font-size: 30px; line-height: 1.2; }
.prep-card strong { font-size: 14.5px; line-height: 1.45; }
.prep-card__arrow { color: var(--accent); font-weight: 700; }

/* tea feature */
.tea-feature { background: var(--bg); }
.tea-feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tea-feature__photo img { width: 100%; height: 100%; max-height: 430px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.tea-feature__copy h2 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.35; font-weight: 700; }
.tea-feature__copy h2 em { font-style: italic; color: var(--accent); }
.tea-feature__copy p { color: #3d3d3d; }
.tea-feature__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; margin: 20px 0 26px; }
.tea-feature__sep { color: var(--line); }
.tea-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.whatsapp-link img { width: 34px; height: 34px; border-radius: 50%; }
.whatsapp-link small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* article cards */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.article-card2 { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.article-card2:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card2__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card2__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-card2:hover .article-card2__photo img { transform: scale(1.04); }
.article-card2__body { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 22px; }
.article-card2__meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.chip { background: #f6e3e0; color: var(--accent); font-weight: 700; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.article-card2__title { font-family: var(--serif); font-size: 18.5px; line-height: 1.5; font-weight: 700; }
.article-card2__excerpt { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* guides (search + filter preserved) */
.article-tools { display: flex; align-items: center; gap: 14px; }
.search-box { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.search-box input { border: 0; outline: 0; font: inherit; font-size: 14px; width: 170px; background: transparent; color: var(--ink); }
.result-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 26px; }
.topic-card {
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: all .2s;
}
.topic-card:hover { border-color: var(--accent); color: var(--accent); }
.topic-card.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.guide-card h3 { margin: 8px 0 8px; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.guide-card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.tag { background: var(--sub); border: 1px solid var(--line); color: var(--accent); font-weight: 700; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; }
.card-link { font-weight: 700; font-size: 14px; color: var(--accent); }
.card-link:hover { text-decoration: underline; }
.empty-state { margin-top: 18px; color: var(--muted); }

/* checklist */
.checklist__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 52px; align-items: start; }
.checklist__intro h2 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.35; }
.checklist__intro h2 em { font-style: italic; color: var(--accent); }
.body-large { font-size: 16.5px; color: #3d3d3d; }
.text-button { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--accent); }
.text-button:hover { text-decoration: underline; }
.checklist__items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist__items li { display: flex; gap: 18px; padding: 19px 4px; border-bottom: 1px solid var(--line); }
.checklist__items li > span { font-family: var(--serif); font-weight: 700; color: var(--accent); font-size: 15px; padding-top: 3px; }
.checklist__items strong { display: block; font-size: 16.5px; margin-bottom: 3px; }
.checklist__items p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* tiktok */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover img { transform: scale(1.05); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,10,8,.55), transparent 55%); }
.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-58%); z-index: 1;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--accent); font-size: 16px; padding-left: 3px;
}
.video-card__label { position: absolute; left: 14px; bottom: 11px; z-index: 1; color: #fff; font-weight: 700; font-size: 14.5px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--sub); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; padding: 38px 0 26px; }
.footer__note { margin: 0; color: var(--muted); font-size: 14px; max-width: 380px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-left: auto; font-size: 14px; font-weight: 600; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 6px 30px; justify-content: space-between; padding: 16px 0 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .prep-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .desktop-nav { gap: 20px; }
}
@media (max-width: 860px) {
  .desktop-nav, .header-search { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; margin-left: auto; padding: 10px;
    background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); }
  .mobile-nav {
    position: absolute; top: 100%; left: 12px; right: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 10px 18px 16px;
  }
  .mobile-nav.is-open { display: flex; flex-direction: column; }
  .mobile-nav a { padding: 11px 2px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; color: var(--accent); }
  .site-header { position: sticky; }
  .header__inner { position: relative; }
  .hero__inner { min-height: 460px; padding-block: 64px; }
  .section-pad { padding: 56px 0; }
  .tea-feature__grid, .checklist__grid { grid-template-columns: 1fr; gap: 30px; }
  .article-grid { grid-template-columns: 1fr; }
  .guide-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .prep-grid { grid-template-columns: repeat(2, 1fr); }
  .wordmark__copy small { display: none; }
  .hero h1 { font-size: 38px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .search-box input { width: 130px; }
}
