/* ============================================
   2020年度クラーク卒業生 同窓会サイト
   テーマ: クリーム × ゴールド × 桜(高校同窓会)
   ============================================ */

:root {
  --cream: #fdf6e3;
  --cream-deep: #faedc8;
  --gold: #c9a227;
  --gold-dark: #a8841c;
  --gold-pale: #e8d9a8;
  --brown: #8a6d3b;
  --label-bg: #a9814f;
  --ink: #3b3225;
  --ink-soft: #6b5f4b;
  --white: #fffdf7;
  --sakura: #f6c9d4;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: "Zen Kurenaido", "Klee One", "Noto Sans JP", sans-serif;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(201, 162, 39, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  line-height: 1.9;
}

/* ---------- ナビゲーション ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(253, 246, 227, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gold-pale);
}

.nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 2rem);
  list-style: none;
  padding: 0.7rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav a {
  color: var(--brown);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.2rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* ---------- ヒーロー ---------- */

.hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 201, 212, 0.25) 0, transparent 32%),
    radial-gradient(circle at 88% 75%, rgba(201, 162, 39, 0.16) 0, transparent 32%),
    linear-gradient(180deg, var(--cream-deep) 0%, #fbf2d8 100%);
  text-align: center;
  padding: clamp(4rem, 10vw, 6.5rem) 1.5rem clamp(5rem, 11vw, 7.5rem);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* 桜の枝(コーナー) */
.deco {
  position: absolute;
  pointer-events: none;
}

.tree-l {
  bottom: 18px;
  left: clamp(-70px, -4vw, -30px);
  width: clamp(200px, 30vw, 360px);
  height: clamp(226px, 34vw, 408px);
  opacity: 0.6;
}

.tree-r {
  bottom: 18px;
  right: clamp(-70px, -4vw, -30px);
  width: clamp(200px, 30vw, 360px);
  height: clamp(226px, 34vw, 408px);
  opacity: 0.6;
  transform: scaleX(-1);
}

/* キラキラ */
.spark {
  position: absolute;
  fill: var(--gold);
  opacity: 0.8;
  animation: twinkle 3.2s ease-in-out infinite;
  pointer-events: none;
}

.s1 { top: 16%; left: 22%; width: 16px; height: 16px; }
.s2 { top: 30%; right: 18%; width: 22px; height: 22px; animation-delay: 1s; }
.s3 { bottom: 26%; left: 14%; width: 14px; height: 14px; animation-delay: 2s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1.15) rotate(20deg); }
}

/* 舞い散る花びら */
.petal {
  position: absolute;
  top: -32px;
  width: 18px;
  height: 22px;
  opacity: 0.85;
  animation: fall linear infinite;
  pointer-events: none;
}

.p1 { left: 12%; animation-duration: 11s; }
.p2 { left: 32%; width: 14px; height: 17px; animation-duration: 14s; animation-delay: 3s; }
.p3 { left: 55%; animation-duration: 12s; animation-delay: 6s; }
.p4 { left: 74%; width: 15px; height: 18px; animation-duration: 15s; animation-delay: 1.5s; }
.p5 { left: 90%; width: 13px; height: 16px; animation-duration: 13s; animation-delay: 8s; }

@keyframes fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.85; }
  100% { transform: translateY(115vh) translateX(-70px) rotate(320deg); opacity: 0.3; }
}

/* 角帽 */
.hero-cap {
  width: clamp(64px, 12vw, 92px);
  height: clamp(51px, 9.6vw, 74px);
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 4px 8px rgba(59, 50, 37, 0.18));
  animation: bob 4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-7px) rotate(3deg); }
}

.hero-eyebrow {
  font-family: "Yuji Syuku", "Klee One", serif;
  font-size: clamp(1rem, 3vw, 1.3rem);
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: "Yuji Syuku", "Klee One", serif;
  font-size: clamp(1.9rem, 7vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.hero-title .tilde {
  color: var(--gold);
  font-weight: 400;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.6rem auto;
  color: var(--gold);
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  display: block;
  width: clamp(50px, 12vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-date {
  font-family: "Yuji Syuku", "Klee One", serif;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.06em;
}

.hero-date .dow {
  font-size: 0.7em;
}

.hero-place {
  margin-top: 0.4rem;
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.hero-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2.4rem;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: 1;
}

/* ---------- セクション共通(カード) ---------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.5rem 2rem;
}

.card {
  position: relative;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid var(--gold-pale);
  border-radius: 18px;
  padding: clamp(1.8rem, 5vw, 2.6rem) clamp(1.4rem, 5vw, 2.6rem);
  box-shadow: 0 8px 26px rgba(169, 129, 79, 0.1);
}

/* カード四隅の飾り */
.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  opacity: 0.75;
  pointer-events: none;
}

.card::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top-left-radius: 8px;
}

.card::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-bottom-right-radius: 8px;
}

.divider {
  display: flex;
  justify-content: center;
  color: var(--gold);
  padding: clamp(1.2rem, 3.5vw, 2rem) 0;
}

.divider svg {
  width: min(320px, 70vw);
  height: 26px;
}

.section-label {
  display: inline-block;
  background: var(--label-bg);
  color: var(--white);
  font-family: "Yuji Syuku", "Klee One", serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  padding: 0.35rem 1.6rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
  box-shadow: 2px 3px 0 var(--gold-pale);
}

.section-lead {
  font-family: "Klee One", "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

/* ---------- 開催日時タイムライン ---------- */

.timeline {
  list-style: none;
  margin-top: 1rem;
  border-left: 2px solid var(--gold-pale);
  padding-left: 1.4rem;
}

.timeline li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.5rem 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.4rem - 6px);
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--cream);
}

.timeline .time {
  font-family: "Klee One", "Noto Serif JP", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-dark);
  min-width: 4.2rem;
}

.timeline .what {
  font-size: 1.05rem;
}

/* ---------- 会場 ---------- */

.venue-access {
  color: var(--ink-soft);
}

.venue-photo {
  margin: 1.2rem 0 0;
}

.venue-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--gold-pale);
  box-shadow: 0 6px 18px rgba(169, 129, 79, 0.16);
}

.venue-photo figcaption {
  text-align: right;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

.venue-address {
  font-style: normal;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--gold-pale);
  border-radius: 8px;
}

#map {
  height: 320px;
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid var(--gold-pale);
  box-shadow: 0 6px 18px rgba(169, 129, 79, 0.14);
  z-index: 1;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.map-link:hover {
  color: var(--brown);
}

.map-link::before {
  content: "📍 ";
}

/* ---------- 会費・人数 ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
}

.fee {
  font-family: "Klee One", "Noto Serif JP", serif;
  font-size: clamp(2.2rem, 7vw, 3rem);
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1.3;
}

.fee .unit {
  font-size: 0.5em;
}

.count {
  font-size: 1.1rem;
  font-weight: 600;
}

.teachers {
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- 参加方法 ---------- */

.deadline {
  font-size: 1.05rem;
}

.deadline strong {
  color: var(--gold-dark);
  font-family: "Klee One", "Noto Serif JP", serif;
  font-size: 1.2em;
}

.bank-box {
  margin-top: 1.6rem;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.12);
}

.bank-title {
  font-family: "Klee One", "Noto Serif JP", serif;
  text-align: center;
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 0.9rem;
  letter-spacing: 0.1em;
}

.bank-info div {
  display: flex;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px dotted var(--gold-pale);
}

.bank-info div:last-child {
  border-bottom: none;
}

.bank-info dt {
  min-width: 5.5em;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.9;
}

.bank-info dd {
  font-weight: 600;
}

/* ---------- 服装 ---------- */

#dresscode p {
  margin-bottom: 0.4rem;
}

.dress-main {
  font-size: 1.15rem;
}

.dress-main strong {
  color: var(--gold-dark);
  font-family: "Klee One", "Noto Serif JP", serif;
  font-size: 1.25em;
}

/* ---------- キャンセル ---------- */

.cancel-list {
  list-style: none;
}

.cancel-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.cancel-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8em;
  top: 0.35em;
}

.cancel-list strong {
  color: var(--gold-dark);
}

/* ---------- フッター ---------- */

.footer {
  position: relative;
  text-align: center;
  padding: 3rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-top: 1px solid var(--gold-pale);
  margin-top: 2rem;
  overflow: hidden;
}

.footer-motif {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.footer-cap {
  width: 72px;
  height: 58px;
  filter: drop-shadow(0 3px 6px rgba(59, 50, 37, 0.18));
}

.footer-diploma {
  width: 64px;
  height: 38px;
  transform: rotate(8deg);
}

.f1 { top: 24%; left: 24%; width: 15px; height: 15px; }
.f2 { top: 30%; right: 22%; width: 19px; height: 19px; animation-delay: 1.4s; }

.footer-message {
  font-family: "Yuji Syuku", "Klee One", serif;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-small {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 560px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tree-l,
  .tree-r {
    width: 150px;
    height: 170px;
    opacity: 0.4;
  }

  #map {
    height: 260px;
  }
}
