/* ============================================================
   MyEO Tours · GLC 2027 Kyoto — 「京都の夜明け」トーン
   ink(藍黒) × washi(生成り) × vermilion(朱) × gold(金)
   ============================================================ */
:root {
  --ink: #0f1826;
  --ink-2: #1b2637;
  --ink-3: #2b394d;
  --washi: #f4efe4;
  --washi-2: #ebe4d5;
  --paper: #fbf8f1;
  --mist: #c9cfd8;
  --text: #1a2030;
  --muted: #5d6675;
  --muted-light: #9aa4b5;
  --vermilion: #c8452a;
  --vermilion-2: #a8361f;
  --gold: #c9a45c;
  --gold-2: #e5cd93;
  --line: rgba(15, 24, 38, .12);
  --line-light: rgba(244, 239, 228, .16);
  --radius: 4px;
  --display: "Fraunces", "Shippori Mincho", Georgia, serif;
  --body: "Manrope", "Zen Kaku Gothic New", system-ui, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang="ja"] body { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
html[lang="ja"] {
  --display: "Shippori Mincho", "Fraunces", serif;
  --body: "Zen Kaku Gothic New", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--washi);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 em, h1 em { font-style: italic; font-weight: 300; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.kicker {
  font-family: var(--body);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--vermilion);
  font-weight: 700;
  margin-bottom: 1rem;
}
.kicker--light { color: var(--gold-2); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; margin-top: 1.1rem; }
.note { font-size: .82rem; color: var(--muted); margin-top: 1.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--vermilion); color: #fff; box-shadow: 0 10px 30px -12px rgba(200, 69, 42, .7); }
.btn--accent:hover { background: var(--vermilion-2); }
.btn--ghost { color: var(--washi); border-color: rgba(244, 239, 228, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--washi); background: rgba(244, 239, 228, .08); }
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--washi); }
.btn--sm { padding: .6rem 1.1rem; font-size: .8rem; }
.btn--lg { padding: 1.2rem 2.2rem; font-size: 1.02rem; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1rem, 3vw, 2.4rem);
  color: var(--washi);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, color .4s;
}
.nav.is-scrolled {
  background: rgba(15, 24, 38, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav__brand { display: flex; align-items: center; gap: .8rem; }
.nav__logo { height: 26px; width: auto; display: block; }
.nav__wordmark { font-family: var(--display); font-size: 1.35rem; font-weight: 300; letter-spacing: .01em; }
.nav__wordmark b { font-weight: 700; }
.nav__sep { width: 1px; height: 18px; background: currentColor; opacity: .35; }
.nav__event { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.nav__links { display: flex; gap: 1.6rem; font-size: .84rem; font-weight: 600; }
.nav__links a { opacity: .78; transition: opacity .2s; position: relative; }
.nav__links a:hover { opacity: 1; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--gold-2); transition: right .3s var(--ease); }
.nav__links a:hover::after { right: 0; }
.nav__right { display: flex; align-items: center; gap: .8rem; }
.lang {
  font: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: inherit; background: transparent; border: 1px solid rgba(244, 239, 228, .4);
  border-radius: 999px; padding: .5rem .9rem; cursor: pointer; transition: background .2s, border-color .2s;
}
.lang:hover { border-color: var(--washi); background: rgba(244, 239, 228, .08); }
@media (max-width: 900px) { .nav__links, .nav__event, .nav__sep { display: none; } }
@media (max-width: 480px) {
  .nav { padding: .7rem 1rem; }
  .nav__right { gap: .5rem; }
  .nav .btn--sm { padding: .5rem .8rem; font-size: .72rem; }
  .lang { padding: .4rem .7rem; font-size: .72rem; }
  .hero__dates { font-size: 1.05rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--washi); background: var(--ink); overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: kenburns 18s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 24, 38, .86) 0%, rgba(15, 24, 38, .62) 38%, rgba(15, 24, 38, .12) 70%, rgba(15, 24, 38, 0) 100%),
    linear-gradient(180deg, rgba(15, 24, 38, .5) 0%, rgba(15, 24, 38, .1) 30%, rgba(15, 24, 38, .55) 70%, rgba(15, 24, 38, .96) 100%);
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative; width: min(var(--max), 100% - 2 * clamp(1rem, 4vw, 3rem)); margin: 0 auto;
  padding: 9rem 0 5rem;
}
.hero__title { font-size: clamp(2.8rem, 8.2vw, 7.4rem); font-weight: 500; line-height: .98; letter-spacing: -.02em; display: grid; text-shadow: 0 2px 6px rgba(15, 24, 38, .55), 0 12px 40px rgba(15, 24, 38, .5); }
.hero__title span { display: block; }
.hero__title span:empty { display: none; }
html[lang="ja"] .hero__title { font-size: clamp(1.6rem, 5.4vw, 4.4rem); font-weight: 700; line-height: 1.15; }
.hero__title-accent { font-style: italic; font-weight: 300; color: var(--gold-2); }
.hero__title span:nth-child(2) { font-weight: 400; font-size: .62em; margin-top: .35em; color: var(--washi); }
.hero__lead { max-width: 56ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--washi); font-weight: 500; margin-top: 1.6rem; text-shadow: 0 1px 3px rgba(15, 24, 38, .6); }
.hero__dates { margin-top: 1.4rem; font-family: var(--display); font-size: 1.25rem; font-style: italic; color: var(--gold-2); }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__disclaimer {
  margin-top: 2.4rem; display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; letter-spacing: .06em; color: rgba(244, 239, 228, .9); background: rgba(15, 24, 38, .35);
  padding: .5rem .9rem; border: 1px solid rgba(244, 239, 228, .22); border-radius: 999px;
}
.hero__disclaimer .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero__scroll {
  position: absolute; right: clamp(1rem, 3vw, 2.4rem); bottom: 2rem;
  display: flex; align-items: center; gap: .8rem; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; opacity: .6;
}
.hero__scroll i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--washi), transparent); animation: drip 2.2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

.reveal { opacity: 0; transform: translateY(24px); animation: reveal 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: var(--washi);
  border-top: 1px solid var(--line-light);
}
.stat { padding: 1.6rem clamp(1rem, 3vw, 2.4rem); border-right: 1px solid var(--line-light); display: flex; align-items: baseline; gap: .8rem; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--display); font-size: 2.4rem; font-weight: 300; color: var(--gold-2); }
.stat span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat { border-bottom: 1px solid var(--line-light); } }

/* ---------- sections ---------- */
.section { width: min(var(--max), 100% - 2 * clamp(1rem, 4vw, 3rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.section__head { max-width: 760px; }

/* ---------- timeline ---------- */
.timeline { margin-top: 3rem; position: relative; }
.timeline__zones { display: grid; grid-template-columns: 10fr 4fr 6fr; gap: 6px; }
.zone { padding: 1rem 1.2rem; border-radius: var(--radius); display: grid; gap: .2rem; }
.zone b { font-family: var(--display); font-size: 1.25rem; font-weight: 500; }
.zone span { font-size: .78rem; opacity: .8; }
.zone--pre { background: var(--washi-2); }
.zone--glc { background: var(--vermilion); color: #fff; }
.zone--post { background: var(--ink); color: var(--washi); }
.timeline { --lbl: 15rem; }
.timeline__axis { display: grid; grid-template-columns: var(--lbl) repeat(var(--days, 20), 1fr); margin-top: 10px; border-top: 1px solid var(--line); position: sticky; top: 64px; background: var(--washi); z-index: 2; }
.timeline__axis span { font-size: .66rem; color: var(--muted); padding: .4rem 0 .3rem 3px; text-align: left; border-left: 1px solid var(--line); letter-spacing: .02em; }
.timeline__axis span.timeline__corner { border-left: 0; }
.timeline__axis span.is-weekend { background: rgba(0,0,0,.035); }
.timeline__axis span.is-glc { color: var(--vermilion); font-weight: 700; }
.timeline__bars { display: grid; gap: 6px; margin-top: 1rem; }
.timeline__bars { gap: 0 !important; }
.bar { display: grid; grid-template-columns: var(--lbl) 1fr; align-items: center; height: 34px; border-bottom: 1px dashed rgba(0,0,0,.07); }
.bar__label { font-size: .78rem; font-weight: 600; color: var(--ink); padding-right: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__label.is-glc { color: var(--vermilion); font-weight: 700; }
.bar__label.is-welcome { color: #8a6a2a; font-weight: 700; }
.bar__label.is-tentative { color: var(--muted); }
.bar__track {
  display: grid; grid-template-columns: repeat(var(--days, 20), 1fr); height: 100%; align-items: center;
  background-image: repeating-linear-gradient(to right, rgba(0,0,0,.09) 0 1px, transparent 1px calc(100% / var(--days, 20)));
}
.bar__fill {
  grid-row: 1; height: 22px; border-radius: 3px; display: flex; align-items: center; justify-content: center; padding: 0 .3rem;
  font-size: .66rem; font-weight: 700; white-space: nowrap; overflow: hidden;
  background: var(--ink-3); color: #fff;
}
.bar__fill.is-tentative { background: #fff; color: var(--muted); border: 1.5px dashed var(--gold); }
.bar__fill.is-welcome { background: var(--gold); color: var(--ink); }
.timeline__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem; font-size: .74rem; color: var(--muted); }
.timeline__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.timeline__legend i { display: inline-block; width: 22px; height: 12px; padding: 0; border-radius: 2px; }
.timeline__legend i.bar__fill { height: 12px; }
.bar__fill.is-glc { background: var(--vermilion); color: #fff; }
.timeline__swipe { display: none; }
/* スマホ: 1日の幅を確保して横スクロール。ツアー名は左に固定し2行まで折り返す(2026-10-20 山本さん「iPhoneで見にくい」) */
@media (max-width: 720px) {
  .timeline__zones { grid-template-columns: 1fr; }
  .timeline { --lbl: 7.8rem; }
  .timeline__swipe { display: block; font-size: .72rem; color: var(--muted); margin: .9rem 0 .2rem; }
  .timeline__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .timeline__axis, .bar { min-width: calc(var(--lbl) + var(--days, 20) * 32px); }
  .timeline__axis { position: static; }
  .timeline__axis span { font-size: .6rem; padding-left: 2px; letter-spacing: 0; }
  .timeline__axis span.timeline__corner, .bar__label { position: sticky; left: 0; z-index: 3; background: var(--washi); }
  .bar__track { position: relative; z-index: 0; }
  .bar { height: 44px; }
  .bar__label { font-size: .68rem; line-height: 1.25; white-space: normal; align-self: stretch; display: flex; align-items: center; overflow: hidden; padding-right: .5rem; box-shadow: 6px 0 6px -6px rgba(0,0,0,.18); }
  .bar__fill { font-size: .58rem; padding: 0 .2rem; }
}

/* ---------- map ---------- */
.section--map { padding-bottom: 2rem; }
.map { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2.5rem; align-items: start; }
.map__canvas { position: sticky; top: 90px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; aspect-ratio: 1; }
.map__canvas svg { width: 100%; height: 100%; display: block; }
.map__canvas .prefecture path, .map__canvas .prefecture polygon { fill: var(--washi-2); stroke: var(--paper); stroke-width: 1.2; transition: fill .3s; }
.map__canvas .prefecture.is-tour path, .map__canvas .prefecture.is-tour polygon { fill: var(--ink-3); cursor: pointer; }
.map__canvas .prefecture.is-tour:hover path, .map__canvas .prefecture.is-tour:hover polygon,
.map__canvas .prefecture.is-active path, .map__canvas .prefecture.is-active polygon { fill: var(--vermilion); }
.map__canvas .boundary-line { stroke: var(--mist); stroke-dasharray: 4 4; fill: none; }
.pin { cursor: pointer; }
.pin circle.ring { fill: none; stroke: var(--vermilion); stroke-width: 1.5; opacity: .6; transform-origin: center; transform-box: fill-box; animation: pulse 2.6s infinite; }
.pin circle.core { fill: var(--vermilion); stroke: var(--paper); stroke-width: 2; }
.pin text { font-family: var(--body); font-size: 24px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.pin.is-active circle.core, .pin:hover circle.core { fill: var(--gold); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.route { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 8 7; stroke-linecap: round; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -30; } }
.map__legend { position: absolute; left: 1rem; bottom: 1rem; font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.map__legend i { width: 22px; height: 0; border-top: 3px dashed var(--gold); }

.map__list { counter-reset: area; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.map__list li { border-bottom: 1px solid var(--line); }
.map__list a {
  display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: 1rem;
  padding: .9rem .4rem; transition: background .2s, padding-left .3s var(--ease);
}
.map__list a::before { counter-increment: area; content: counter(area, decimal-leading-zero); font-family: var(--display); font-style: italic; color: var(--vermilion); font-size: 1rem; }
.map__list a:hover, .map__list li.is-active a { background: var(--paper); padding-left: .9rem; }
.map__list b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; }
.map__list small { display: block; font-size: .74rem; color: var(--muted); }
.map__list .count { font-size: .74rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .map { grid-template-columns: 1fr; } .map__canvas { position: static; } }

/* ---------- areas & tour cards ---------- */
.area { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.area:first-child { border-top: 0; }
.area__media { position: sticky; top: 90px; }
.area__media figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--ink-2); }
.area__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.area:hover .area__media img { transform: scale(1.04); }
.area__media figcaption { position: absolute; left: 1.2rem; bottom: 1.2rem; color: var(--washi); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.area__no { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--display); font-style: italic; font-size: 3.4rem; font-weight: 300; color: rgba(244, 239, 228, .85); line-height: 1; }
.area__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.area__head h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.area__host { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cards { display: grid; gap: 1.2rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem;
  display: grid; gap: 1.1rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vermilion); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(15, 24, 38, .45); }
.card:hover::before { opacity: 1; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.card__title { font-size: 1.45rem; }
.card__badges { display: flex; gap: .4rem; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.badge { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge--pre { background: var(--washi-2); color: var(--ink); border-color: transparent; }
.badge--post { background: var(--ink); color: var(--washi); border-color: transparent; }
.badge--soon { background: var(--gold-2); color: var(--ink); border-color: transparent; }
.badge--family { display: inline-flex; align-items: center; gap: .35rem; background: #e7f0ea; color: #1f5a3a; border-color: transparent; }
.badge--family svg { flex: none; }
.badge--kids { display: inline-flex; align-items: center; gap: .35rem; background: #fdf0d5; color: #7a4b00; border-color: transparent; }
.badge--kids svg { flex: none; }
.card__summary { color: var(--muted); font-size: .96rem; }
.card__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta { display: grid; gap: .15rem; }
.meta small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta b { font-weight: 600; font-size: .92rem; }
.meta b.is-tbd { color: var(--muted-light); font-weight: 500; font-style: italic; }
.meta--wide { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .76rem; padding: .3rem .7rem; border-radius: 999px; background: var(--washi-2); color: var(--ink); }
.card__cta { display: flex; flex-direction: column; align-items: flex-end; }
@media (max-width: 900px) {
  .area { grid-template-columns: 1fr; }
  .area__media { position: static; }
  .area__media figure { aspect-ratio: 16 / 9; }
  .card__meta { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- know before you go ---------- */
.section--know { border-top: 1px solid var(--line); }
.know { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.kcard { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem; display: grid; gap: .8rem; }
.kcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.kcard__head h3 { font-size: 1.3rem; }
.kcard__temp { font-family: var(--display); font-size: 1.5rem; font-weight: 300; color: var(--vermilion); white-space: nowrap; }
.kcard__temp small { font-size: .8rem; color: var(--muted); font-family: var(--body); }
.kcard dl { margin: 0; display: grid; gap: .55rem; }
.kcard dt { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kcard dd { margin: 0; font-size: .88rem; }
.kcard__highlight { font-size: .9rem; color: var(--muted); font-style: italic; font-family: var(--display); font-size: 1rem; }

/* ---------- notes ---------- */
.section--notes { width: 100%; max-width: none; background: var(--ink); color: var(--washi); padding-left: clamp(1rem, 4vw, 3rem); padding-right: clamp(1rem, 4vw, 3rem); }
.section--notes > * { width: min(var(--max), 100%); margin-left: auto; margin-right: auto; }
.notes__official {
  margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 3px solid var(--gold);
  background: rgba(244, 239, 228, .05); font-size: .98rem; max-width: 900px;
}
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.notes__group h3 { display: flex; align-items: center; gap: .8rem; font-size: 1.15rem; margin-bottom: 1rem; }
.notes__group h3 span { font-family: var(--display); font-style: italic; color: var(--gold-2); font-size: 1.6rem; font-weight: 300; }
.notes__group h3 em { font-style: normal; }
.notes__group li { font-size: .9rem; color: rgba(244, 239, 228, .82); padding: .55rem 0; border-top: 1px solid var(--line-light); }
.notes__policies { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.notes__policies h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.notes__policies p { font-size: .88rem; color: rgba(244, 239, 228, .75); }
@media (max-width: 900px) { .notes, .notes__policies { grid-template-columns: 1fr; } }

/* ---------- register ---------- */
.section--register { text-align: center; }
.register { max-width: 640px; margin: 0 auto; display: grid; justify-items: center; }
.register .lead { text-align: center; }
.register .btn { margin-top: 2rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2.5rem clamp(1rem, 4vw, 3rem); font-size: .8rem; color: var(--muted); display: grid; gap: .5rem; }
.footer__brand { color: var(--ink); display: flex; align-items: center; gap: .5rem; }
.footer__logo { height: 22px; width: auto; }
.footer__fine { font-size: .72rem; color: var(--muted-light); }

/* ---------- toast (エラー可視化) ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--vermilion); color: #fff; padding: .9rem 1.3rem; border-radius: 6px; font-size: .88rem; z-index: 99; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); max-width: 90vw; }

/* ---------- scroll reveal ---------- */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade-up.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
}

/* 準備中のツアー（日程が仮・金額未定）: 募集中のツアーと見分けがつくように */
.card--preparing { background: repeating-linear-gradient(135deg, rgba(201,164,92,.07) 0 10px, transparent 10px 20px), var(--washi); border: 1.5px dashed var(--gold); box-shadow: none; }
.card--preparing .card__title { color: var(--muted); }
.card--preparing .meta b { color: var(--muted); }
.card--preparing .badge--soon { background: var(--gold); color: #fff; }

.card__notes { display: block; margin-top: .55rem; font-size: .74rem; color: var(--vermilion); text-decoration: underline; text-underline-offset: 3px; }
.card__notes:hover { color: var(--vermilion-2); }
html { scroll-behavior: smooth; }

.notes__cancel { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-light); }
.notes__cancel h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.notes__cancel p, .cancel-points { font-size: .88rem; color: rgba(244, 239, 228, .75); }
.cancel-table { width: 100%; max-width: 640px; border-collapse: collapse; margin: 1rem 0 1.2rem; font-size: .88rem; }
.cancel-table th, .cancel-table td { text-align: left; padding: .55rem .8rem; border-bottom: 1px solid var(--line-light); }
.cancel-table th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.cancel-table td:last-child { font-weight: 700; white-space: nowrap; }
.cancel-points { padding-left: 1.1rem; display: grid; gap: .35rem; }

.card__notice { margin: .2rem 0 0; padding: .55rem .75rem; border-left: 3px solid var(--gold, #b8860b); background: rgba(184,134,11,.08); font-weight: 700; font-size: .85rem; line-height: 1.6; }
.prep-note { color: #c0392b; font-weight: 700; font-size: .8rem; margin: -.3rem 0 0; }
.prep-note--inline { font-size: .72rem; font-style: normal; margin: 0 0 0 .4rem; vertical-align: middle; letter-spacing: 0; white-space: nowrap; }
