/* ════════════════════════════════
   富士登山部 — 共用スタイルシート
   対象: index.html / event.html
   ════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design Tokens ── */
:root {
  --green-50:   #EAF3DE;
  --green-100:  #C0DD97;
  --green-200:  #97C459;
  --green-400:  #639922;
  --green-600:  #3B6D11;
  --green-800:  #27500A;
  --green-900:  #173404;
  --stone-50:   #F7F5F0;
  --stone-100:  #EDE9DF;
  --stone-200:  #D9D3C5;
  --stone-400:  #A09A8A;
  --stone-600:  #6B6558;
  --stone-800:  #3A3630;
  --stone-900:  #1E1B17;
  --accent:       #3B6D11;
  --accent-light: #EAF3DE;
  --serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --sans:  'DM Sans', sans-serif;
}

/* ── Base ── */
body {
  font-family: var(--sans);
  background-color: var(--stone-50);
  color: var(--stone-800);
  min-height: 100vh;
  line-height: 1.7;
}

/* ════════════════════════════════
   Hero
   ════════════════════════════════ */
.hero {
  position: relative;
  background-color: var(--green-900);
  overflow: hidden;
  padding: 80px 24px 64px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 110%, rgba(59,109,17,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 60%,  rgba(97,196,89,0.08) 0%, transparent 60%);
}

.hero-mountain {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 100%;
  opacity: 0.18;
}

.hero-eyebrow {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-100);
  margin-bottom: 14px;
}

.hero-title {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 12px;
}

/* index.html 用サブコピー */
.hero-sub {
  position: relative;
  font-size: 14px;
  color: var(--green-100);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* event.html 用ヒーローメタ情報 */
.hero-meta {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

.hero-meta-item {
  font-size: 13px;
  font-weight: 300;
  color: var(--green-100);
  letter-spacing: 0.05em;
}

.hero-meta-item span {
  font-weight: 400;
  color: #fff;
  margin-left: 6px;
}

/* ════════════════════════════════
   Layout
   ════════════════════════════════ */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Back link (event.html) ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--stone-600);
  text-decoration: none;
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }
.back-link::before { content: '←'; font-size: 14px; }

/* ════════════════════════════════
   Section commons
   ════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.section-label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--green-200), transparent);
}

.section-heading {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 24px;
}

section + section { margin-top: 56px; }

/* ════════════════════════════════
   index.html — Members
   ════════════════════════════════ */
.members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.member-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
}

.member-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-600);
  flex-shrink: 0;
}

.member-name {
  font-size: 14px;
  color: var(--stone-800);
  white-space: nowrap;
}

/* ════════════════════════════════
   index.html — Event list (timeline)
   ════════════════════════════════ */
.event-list {
  display: flex;
  flex-direction: column;
}

.event-item {
  display: flex;
  align-items: stretch;
  position: relative;
}

.event-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--stone-200);
}

.event-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 20px;
  padding-top: 10px;
  flex-shrink: 0;
}

.event-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #fff;
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.event-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  text-decoration: none;
  display: block;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.event-card:hover {
  border-color: var(--green-200);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,109,17,0.10);
}

.event-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}

.event-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--stone-900);
}

.event-arrow {
  font-size: 16px;
  color: var(--stone-400);
  float: right;
  margin-top: 2px;
}

/* ════════════════════════════════
   event.html — Info cards (基本情報)
   ════════════════════════════════ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 16px 18px;
}

.info-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.info-card-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--stone-900);
}

/* ════════════════════════════════
   event.html — Time table (タイム)
   ════════════════════════════════ */
.time-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  overflow: hidden;
}

.time-table th,
.time-table td {
  padding: 12px 18px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--stone-100);
}

.time-table th {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--stone-600);
  background: var(--stone-50);
  width: 38%;
}

.time-table tr:last-child th,
.time-table tr:last-child td { border-bottom: none; }

.time-table td {
  font-family: var(--serif);
  color: var(--stone-900);
}

.time-table tr.total th,
.time-table tr.total td {
  background: var(--green-50);
  font-weight: 600;
}

/* ════════════════════════════════
   event.html — Food list (食べたもの)
   ════════════════════════════════ */
.food-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.food-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 10px;
  padding: 14px 18px;
}

.food-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }

.food-body { flex: 1; }

.food-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.food-value {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--stone-900);
}

/* ════════════════════════════════
   event.html — Comment (感想)
   ════════════════════════════════ */
.comment-card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 24px 24px 24px 20px;
}

.comment-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--stone-900);
}

/* ════════════════════════════════
   State messages (loading / error)
   ════════════════════════════════ */
.state-msg {
  font-size: 14px;
  color: var(--stone-400);
  padding: 24px 0;
  line-height: 1.8;
}

/* ════════════════════════════════
   Footer
   ════════════════════════════════ */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 12px;
  color: var(--stone-400);
  border-top: 1px solid var(--stone-200);
  letter-spacing: 0.08em;
}
