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

:root {
  --gold:      #c9a84c;
  --gold-lt:   #e8d08a;
  --dark:      #0d1119;
  --dark2:     #161d2b;
  --offwhite:  #f8f6f2;
  --text:      #1e1e1e;
  --muted:     #777;
  --border:    #e2ddd6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', Georgia, serif;
  color: var(--text);
  background: #fff;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(170deg, rgba(13,17,25,0.88) 0%, rgba(13,17,25,0.72) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 60px 24px;
}

.hero-inner { max-width: 680px; width: 100%; }

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-logo img {
  height: 44px;
  width: auto;
  opacity: 0.9;
}

.hero-logo span,
.hero-logo a:not(:has(img)) {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  text-decoration: none;
}
.hero-logo a:not(:has(img)):hover {
  color: rgba(255,255,255,1);
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
  opacity: 0.6;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  letter-spacing: 0.18em;
  color: var(--gold-lt);
  font-weight: 300;
}

.hero-meta {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 28px 0 36px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 32px;
}

.hero-meta-sep {
  width: 1px;
  height: 44px;
  background: rgba(201,168,76,0.35);
  align-self: center;
  flex-shrink: 0;
}

.meta-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  color: var(--gold);
}

.meta-value {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}

.meta-link {
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(201,168,76,0.4);
  transition: color 0.2s, border-color 0.2s;
}

.meta-link:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

.btn-hero {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  padding: 13px 44px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.22em;
  transition: background 0.3s, color 0.3s;
}

.btn-hero:hover { background: var(--gold); color: var(--dark); }

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: dropline 2s ease-in-out infinite;
}

@keyframes dropline {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }

.sec-head {
  text-align: center;
  margin-bottom: 40px;
}

.sec-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sec-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
}

.sec-head.light .sec-en  { color: var(--gold-lt); }
.sec-head.light .sec-ja  { color: #fff; }

/* ===== MESSAGE ===== */
.sec-message { background: var(--offwhite); }

.message-wrap {
  max-width: 660px;
  margin: 0 auto;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

.message-wrap p {
  font-size: 0.97rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 2;
}

.msg-sign {
  font-size: 0.85rem !important;
  color: var(--muted) !important;
  letter-spacing: 0.12em;
}

/* ===== REGISTER ===== */
.sec-register {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.sec-register::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reg-card {
  border: 1px solid rgba(201,168,76,0.18);
  padding: 32px 26px;
  color: #fff;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}

.reg-card:hover {
  border-color: rgba(201,168,76,0.45);
  background: rgba(255,255,255,0.03);
}

.reg-card-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 10px;
}

.reg-card h3 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.reg-card-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 22px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--dark);
  padding: 11px 26px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: background 0.25s, transform 0.2s;
}

.btn-gold:hover { background: var(--gold-lt); transform: translateX(3px); }

/* 参加費 */
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fee-cat { font-size: 0.88rem; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; }

.fee-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--gold-lt);
  line-height: 1;
}

.fee-num small { font-size: 0.75rem; margin-left: 2px; opacity: 0.75; }

.fee-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* 振込先 */
.bank-list { margin-top: 4px; }

.bank-list dt {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-top: 12px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.bank-list dd {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

.bank-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.sec-contact { background: var(--offwhite); }

.contact-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 24px 32px;
  background: #fff;
  border: 1px solid var(--border);
  min-width: 190px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.contact-ico  { font-size: 1.5rem; }
.contact-lbl  { font-size: 0.62rem; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase; }
.contact-val  { font-size: 0.88rem; color: var(--text); letter-spacing: 0.04em; }

/* ===== GALLERY ===== */
.sec-gallery { background: #fff; padding-bottom: 60px; }

.gallery-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  cursor: grab;
  user-select: none;
}

.gallery-track-wrap:active { cursor: grabbing; }

.gallery-track-wrap::-webkit-scrollbar { height: 4px; }
.gallery-track-wrap::-webkit-scrollbar-track { background: transparent; }
.gallery-track-wrap::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.gallery-track {
  display: flex;
  gap: 10px;
  padding: 0 28px 16px;
  width: max-content;
}

.gallery-item {
  flex-shrink: 0;
  width: 280px;
  height: 210px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s;
  filter: brightness(0.92);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  text-align: center;
  padding: 36px 20px;
  border-top: 1px solid rgba(201,168,76,0.12);
}

.footer-logo {
  height: 36px;
  width: auto;
  margin: 0 auto 12px;
  opacity: 0.7;
}

.footer-org  { font-size: 0.75rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.2); }

/* ===== MOBILE ===== */
@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .sec-head { margin-bottom: 28px; }

  .hero { padding: 50px 18px; min-height: 100svh; }
  .hero-logo img { height: 34px; }
  .hero-logo span { font-size: 0.68rem; letter-spacing: 0.18em; }

  .hero-meta { flex-direction: column; gap: 18px; }
  .hero-meta-item { padding: 0; }
  .hero-meta-sep { display: none; }

  .reg-grid { grid-template-columns: 1fr; gap: 14px; }
  .reg-card { padding: 24px 20px; }

  .contact-row { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 340px; }

  .gallery-item { width: 220px; height: 165px; }
  .gallery-track { padding: 0 18px 14px; }

  .message-wrap { padding-left: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.3rem; }
  .btn-hero { padding: 12px 32px; font-size: 0.88rem; }
  .gallery-item { width: 180px; height: 135px; }
}
