*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:        #1a56c2;
  --blue-dark:   #0f3a8a;
  --blue-light:  #dbeafe;
  --green:       #059669;
  --green-light: #d1fae5;
  --orange:      #d97706;
  --orange-light:#fef3c7;
  --purple:      #7c3aed;
  --purple-light:#ede9fe;
  --text:        #1e293b;
  --sub:         #475569;
  --bg:          #f8fafc;
  --white:       #ffffff;
  --line:        #e2e8f0;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
}
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===== Sticky Nav ===== */
#topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 0 20px;
}
.nav-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; gap: 4px;
  min-height: 52px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1;
}
.nav-brand {
  font-weight: 800; font-size: .9rem; color: var(--blue);
  white-space: nowrap; margin-right: 8px; padding-right: 12px;
  border-right: 1px solid var(--line);
}
.nav-links a {
  white-space: nowrap; font-size: .85rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; color: var(--sub);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }
.nav-links a.tournament {
  background: var(--blue); color: #fff; margin-left: auto;
}
.nav-links a.tournament:hover { background: var(--blue-dark); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--sub);
  transition: transform .2s, opacity .2s;
}
#topnav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#topnav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
#topnav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
#hero {
  color: #fff;
  padding: 72px 20px 60px;
  position: relative; overflow: hidden;
}
body.page-home #hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 45%, #2563eb 75%, #3b82f6 100%);
}
body.page-tournament #hero {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #059669 75%, #10b981 100%);
}
#hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center; position: relative;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  padding: 5px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 14px;
}
#hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.25; margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
#hero p.lead {
  font-size: 1.05rem; opacity: .92; margin-bottom: 28px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--green);
  font-weight: 800; padding: 13px 24px; border-radius: 10px;
  font-size: 1rem; transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); text-decoration: none; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  border: 2px solid rgba(255,255,255,.7); color: #fff;
  font-weight: 700; padding: 11px 22px; border-radius: 10px;
  font-size: .95rem; transition: background .15s;
}
.btn-outline:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.hero-photo {
  width: 280px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border: 3px solid rgba(255,255,255,.3); flex-shrink: 0;
}
.hero-photo img { width: 100%; object-fit: cover; }

/* ===== Layout ===== */
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
main { padding: 56px 0; }
.section-gap { margin-bottom: 64px; }

/* ===== Section heading ===== */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  color: var(--green); text-transform: uppercase; margin-bottom: 6px;
}
.section-label::before {
  content: ""; display: inline-block; width: 18px; height: 3px;
  background: var(--green); border-radius: 2px;
}
.section-label.blue { color: var(--blue); }
.section-label.blue::before { background: var(--blue); }
.section-label.orange { color: var(--orange); }
.section-label.orange::before { background: var(--orange); }
.section-label.purple { color: var(--purple); }
.section-label.purple::before { background: var(--purple); }

h2.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900; color: var(--text); margin-bottom: 24px; line-height: 1.35;
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow);
}

/* ===== History timeline ===== */
.history-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.history-text p { color: var(--sub); margin-bottom: 14px; font-size: .97rem; }
.history-text strong { color: var(--text); }
.history-highlight {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #6ee7b7;
  border-radius: 12px; padding: 20px 22px;
  margin-bottom: 16px;
}
.history-highlight .label {
  font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  color: var(--green); text-transform: uppercase; margin-bottom: 8px;
}
.history-highlight p { color: #064e3b; font-size: .93rem; line-height: 1.7; }

.timeline-list { display: flex; flex-direction: column; gap: 0; }
.tl-row {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 0; border-left: 3px solid var(--green); padding-left: 16px;
  padding-bottom: 20px; position: relative;
}
.tl-row::before {
  content: ""; position: absolute; left: -8px; top: 4px;
  width: 13px; height: 13px; background: var(--green);
  border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
}
.tl-row:last-child { padding-bottom: 0; border-left-color: transparent; }
.tl-year {
  font-weight: 800; font-size: .9rem; color: var(--green);
  white-space: nowrap;
}
.tl-desc { font-size: .9rem; color: var(--sub); padding-top: 1px; }
.tl-desc strong { color: var(--text); }

/* ===== Rules ===== */
.rules-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.rule-card {
  border-radius: 12px; padding: 20px 18px;
}
.rule-card.field { background: #e0f2fe; border: 1px solid #7dd3fc; }
.rule-card.players { background: var(--green-light); border: 1px solid #6ee7b7; }
.rule-card.scoring { background: var(--orange-light); border: 1px solid #fcd34d; }
.rule-card.spirit { background: var(--purple-light); border: 1px solid #c4b5fd; }
.rule-card h3 {
  font-size: .95rem; font-weight: 800; margin-bottom: 8px;
  display: flex; align-items: center; gap: 7px;
}
.rule-card p { font-size: .88rem; color: var(--sub); line-height: 1.65; }
.rules-detail-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.rule-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px;
}
.rule-icon {
  flex-shrink: 0; font-size: 1.5rem;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-light); border-radius: 10px;
}
.rule-body h4 { font-size: .92rem; font-weight: 700; margin-bottom: 3px; }
.rule-body p { font-size: .84rem; color: var(--sub); line-height: 1.55; }

/* Court diagram */
.court-wrap {
  background: #e0f2fe; border: 2px solid #7dd3fc;
  border-radius: 14px; padding: 24px; margin-top: 24px;
}
.court-wrap h3 {
  font-size: .95rem; font-weight: 800; color: #0c4a6e;
  margin-bottom: 16px; text-align: center;
}
.court-diagram {
  display: grid; grid-template-columns: 90px 1fr 90px;
  gap: 6px; align-items: stretch; margin-bottom: 12px;
}
.court-zone {
  background: #0369a1; color: #fff;
  border-radius: 10px; writing-mode: vertical-rl;
  font-weight: 700; font-size: .82rem; letter-spacing: .12em;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 6px; min-height: 110px;
}
.court-play {
  background: #bae6fd; border: 2px dashed #0284c7;
  border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 6px;
}
.court-play .disc { font-size: 2rem; }
.court-play .label { font-weight: 700; color: #0c4a6e; font-size: .92rem; }
.court-play .sub { font-size: .78rem; color: #0369a1; }
.court-notes {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.court-note {
  background: #fff; border: 1px solid #7dd3fc;
  border-radius: 8px; padding: 6px 12px;
  font-size: .8rem; color: #075985; font-weight: 600;
}

/* ===== Activity / Gallery ===== */
.activity-intro {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  align-items: center; margin-bottom: 28px;
}
.activity-photo {
  width: 220px; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); border: 2px solid var(--line);
  flex-shrink: 0;
}
.activity-photo img { width: 100%; object-fit: cover; }
.activity-text p { color: var(--sub); margin-bottom: 12px; font-size: .97rem; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.gallery-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .15s, transform .15s;
}
.gallery-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery-header {
  background: linear-gradient(90deg, var(--blue), #3b82f6);
  padding: 12px 16px; color: #fff;
}
.gallery-header .date { font-weight: 800; font-size: 1rem; }
.gallery-header .loc { font-size: .8rem; opacity: .85; margin-top: 2px; }
.gallery-body { padding: 14px 16px; }
.gallery-body p { font-size: .87rem; color: var(--sub); margin-bottom: 12px; }
.gallery-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 700; color: var(--blue);
  background: var(--blue-light); padding: 7px 12px;
  border-radius: 8px; transition: background .15s;
}
.gallery-link:hover { background: #bfdbfe; text-decoration: none; }

/* ===== Join CTA ===== */
.join-section {
  background: linear-gradient(135deg, #0f3a8a, #1a56c2 50%, #2563eb);
  color: #fff; border-radius: 20px;
  padding: 48px 40px; text-align: center; position: relative; overflow: hidden;
}
.join-section::before {
  content: "🥏";
  position: absolute; font-size: 12rem; opacity: .05;
  top: -20px; right: -20px; line-height: 1;
}
.join-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900; margin-bottom: 14px;
}
.join-section p {
  font-size: 1.03rem; opacity: .92; max-width: 600px;
  margin: 0 auto 28px; line-height: 1.75;
}
.join-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; max-width: 720px; margin: 0 auto 32px;
}
.join-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px; padding: 18px 16px;
  text-align: center;
}
.join-card .jicon { font-size: 2rem; margin-bottom: 8px; }
.join-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: 5px; }
.join-card p { font-size: .83rem; opacity: .85; line-height: 1.55; }
.join-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue);
  font-weight: 800; padding: 14px 28px;
  border-radius: 10px; font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); text-decoration: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.7); color: #fff;
  font-weight: 700; padding: 12px 24px; border-radius: 10px;
  font-size: .95rem; transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); text-decoration: none; }

/* ===== Tournament banner ===== */
.tournament-banner {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff; border-radius: var(--radius);
  padding: 28px 32px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  box-shadow: 0 8px 32px rgba(124,58,237,.3);
}
.tournament-banner .sub {
  font-size: .82rem; font-weight: 700; opacity: .8; letter-spacing: .06em;
  margin-bottom: 6px;
}
.tournament-banner h3 {
  font-size: 1.2rem; font-weight: 900; margin-bottom: 8px;
}
.tournament-banner p {
  font-size: .9rem; opacity: .9; line-height: 1.6;
}
.btn-tournament {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #7c3aed;
  font-weight: 800; padding: 13px 22px;
  border-radius: 10px; font-size: .95rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform .15s;
}
.btn-tournament:hover { transform: translateY(-2px); text-decoration: none; }

/* ===== Footer ===== */
footer {
  background: #ffffff; color: #475569;
  text-align: center; padding: 36px 20px;
  font-size: .88rem; line-height: 1.8;
}
footer a { color: #2563eb; }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .nav-inner {
    min-height: 52px;
    flex-wrap: wrap;
    padding: 6px 0;
  }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 0 10px;
  }
  #topnav.is-open .nav-links { display: flex; }
  .nav-links a {
    width: 100%;
    border-radius: 10px;
    padding: 10px 12px;
  }
  .nav-links a.tournament { margin-left: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { width: 100%; max-width: 320px; margin: 0 auto; }
  .history-grid, .rules-intro { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .activity-intro { grid-template-columns: 1fr; }
  .activity-photo { width: 100%; }
  .tournament-banner { grid-template-columns: 1fr; text-align: center; }
  .btn-tournament { justify-content: center; }
  .join-section { padding: 36px 24px; }
  .court-diagram { grid-template-columns: 60px 1fr 60px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   1st.html 専用スタイル
   ============================================================ */

/* ===== Hero (大会ページ) ===== */
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 14px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .88rem; font-weight: 600;
}
.hero-chip .icon { font-size: 1rem; }

/* ===== About section grid ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.about-text { }

/* ===== Rules list ===== */
.rules-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.rules-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .92rem; color: var(--sub);
}
.rule-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800;
}

/* ===== About banner ===== */
.about-banner {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 48px;
}
.about-banner h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.about-banner p { font-size: .88rem; color: var(--sub); }
.btn-about {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: #fff;
  font-weight: 800; padding: 11px 20px; border-radius: 10px;
  font-size: .9rem; white-space: nowrap;
  transition: opacity .15s;
}
.btn-about:hover { opacity: .85; text-decoration: none; }

/* ===== Overview table ===== */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th,
.info-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: .93rem;
}
.info-table th {
  width: 120px; font-weight: 700; color: var(--sub);
  white-space: nowrap; background: var(--bg);
  border-radius: 6px;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: 2px 8px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; vertical-align: middle;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-orange { background: var(--orange-light); color: var(--orange); }

/* ===== Schedule ===== */
.schedule-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.day-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.day-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; color: #fff; font-weight: 800; font-size: 1.05rem;
}
.day-header.sat { background: linear-gradient(90deg, var(--blue), #3b82f6); }
.day-header.sun { background: linear-gradient(90deg, #dc2626, #ef4444); }
.timeline { padding: 16px 20px; display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: grid; grid-template-columns: 70px 1fr;
  gap: 0; border-left: 3px solid var(--line);
  padding-left: 14px; padding-bottom: 16px; position: relative;
}
.tl-item::before {
  content: ""; position: absolute; left: -7px; top: 4px;
  width: 11px; height: 11px;
  background: var(--blue-light); border: 2px solid var(--blue);
  border-radius: 50%;
}
.tl-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.tl-time { font-size: .82rem; font-weight: 700; color: var(--sub); padding-top: 2px; }
.tl-event { font-size: .9rem; color: var(--text); line-height: 1.55; }
.tl-highlight { font-weight: 700; color: var(--blue); }

/* ===== Entry ===== */
.apply-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.step-list { display: flex; flex-direction: column; gap: 16px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--blue); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800;
}
.step-body h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.step-body p { font-size: .87rem; color: var(--sub); line-height: 1.55; }
.entry-note {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.entry-note h4 { font-weight: 800; margin-bottom: 12px; font-size: .95rem; }
.entry-note ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.entry-note li {
  padding-left: 1em; position: relative; font-size: .88rem; color: var(--sub);
}
.entry-note li::before {
  content: "•"; position: absolute; left: 0; color: var(--blue);
}

/* ===== Fee ===== */
.fee-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 16px;
}
.fee-card {
  border-radius: var(--radius); padding: 22px 18px;
  text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--white);
}
.fee-label { font-size: .82rem; font-weight: 700; color: var(--sub); margin-bottom: 8px; }
.fee-amount { font-size: 1.7rem; font-weight: 900; line-height: 1.1; margin-bottom: 4px; }
.fee-sub { font-size: .78rem; color: var(--sub); }
.free-color { color: var(--green); }
.standard-color { color: var(--blue); }
.student-color { color: var(--orange); }
.party-color { color: var(--purple); }
.note-box {
  background: #fefce8; border: 1px solid #fde68a;
  border-radius: 10px; padding: 12px 18px;
  font-size: .88rem; color: #78350f;
}

/* ===== Party ===== */
.party-card {
  background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
  color: #fff; border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  box-shadow: var(--shadow);
}
.party-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.party-detail { font-size: .9rem; opacity: .9; line-height: 1.85; }
.btn-party {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  color: #fff; font-weight: 700;
  padding: 11px 18px; border-radius: 10px;
  font-size: .9rem; white-space: nowrap;
  transition: background .15s;
}
.btn-party:hover { background: rgba(255,255,255,.25); text-decoration: none; }

/* ===== Photo gallery ===== */
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 20px;
}
.photo-link {
  display: block; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 16px; text-align: center;
  color: var(--text); transition: box-shadow .15s, transform .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.photo-link:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.photo-icon { font-size: 2rem; margin-bottom: 8px; }
.photo-date { font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  font-size: 1.5rem; width: 44px; height: 44px;
  background: var(--blue-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: .78rem; font-weight: 700; color: var(--sub); margin-bottom: 3px; }
.contact-val { font-size: 1rem; font-weight: 700; }
.contact-val a { color: var(--blue); }

/* ===== Organizers ===== */
.org-row {
  display: flex; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: .9rem;
}
.org-row:last-child { border-bottom: none; }
.org-key { width: 50px; font-weight: 700; color: var(--sub); flex-shrink: 0; }
.org-val { color: var(--text); }

/* ===== Nav about-link ===== */
.nav-inner a.about-link {
  background: var(--green-light); color: var(--green);
}
.nav-inner a.about-link:hover { background: #a7f3d0; }

/* ===== Responsive (1st.html) ===== */
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-banner { flex-direction: column; }
  .schedule-grid { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .party-card { flex-direction: column; }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .fee-grid { grid-template-columns: 1fr 1fr; }
}
