/* ===== リセット・ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

/* ===== ヒーロー ===== */
.hero {
  background:
    linear-gradient(160deg, rgba(0,60,100,0.62) 0%, rgba(0,100,140,0.55) 60%, rgba(0,60,100,0.62) 100%),
    url('images/_DSF1414.jpg') center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

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

.hero-sub {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero h1 span {
  font-size: clamp(2rem, 6vw, 3.5rem);
  display: block;
}

.hero-copy {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ===== エントリーボタン ===== */
.btn-entry {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,53,0.5);
}

.btn-entry--large {
  font-size: 1.2rem;
  padding: 20px 48px;
  text-align: center;
  line-height: 1.5;
}

/* ===== ナビ ===== */
.nav {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0;
}

.nav ul li a {
  display: block;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #555;
  transition: color 0.2s;
}

.nav ul li a:hover { color: #0077b6; }

/* ===== セクション共通 ===== */
.section { padding: 72px 20px; }
.section-gray { background: #f5f7fa; }

.section-ocean {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #fff;
  text-align: center;
}

.container { max-width: 900px; margin: 0 auto; }

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #00b4d8;
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-title--white::after { background: rgba(255,255,255,0.6); }

/* ===== 大会について ===== */
.about-lead {
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.about-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.about-icon { margin-bottom: 16px; }
.about-icon svg { width: 40px; height: 40px; stroke: #00b4d8; stroke-width: 1.5; }

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0077b6;
}

.about-card p { font-size: 0.9rem; color: #555; }

.info-table-wrap { overflow-x: auto; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table th, .info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
}

.info-table th {
  background: #f0f7ff;
  color: #0077b6;
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}

/* ===== 参加カテゴリー ===== */
.category-lead {
  text-align: center;
  color: #555;
  margin-bottom: 36px;
  font-size: 1rem;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}

.category-icon { margin-bottom: 16px; }
.category-icon svg { width: 44px; height: 44px; stroke: #0077b6; stroke-width: 1.5; }

.category-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0077b6;
  margin-bottom: 10px;
}

.category-card p { font-size: 0.9rem; color: #555; }

.category-badge {
  display: inline-block;
  margin-top: 14px;
  background: #48cae4;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

/* ===== タイムライン ===== */
.timeline { max-width: 600px; margin: 0 auto; }

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 68px;
  top: 32px;
  bottom: -32px;
  width: 2px;
  background: #dde3ea;
}

.timeline-item:last-child::before { display: none; }

.timeline-time {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: #0077b6;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
}

.timeline-content {
  padding-top: 8px;
}

.timeline-content strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-content p { font-size: 0.9rem; color: #666; }

/* ===== 参加費 ===== */
.fee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.fee-card {
  border: 2px solid #dde3ea;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  background: #fff;
}

.fee-card--main {
  border-color: #0077b6;
  box-shadow: 0 4px 20px rgba(0,119,182,0.12);
  transform: scale(1.03);
}

.fee-card--challenge {
  border-color: #48cae4;
}

.fee-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.fee-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.fee-price {
  font-size: 2rem;
  font-weight: 900;
  color: #0077b6;
  margin-bottom: 12px;
}

.fee-desc { font-size: 0.85rem; color: #777; line-height: 1.6; }
.fee-note-top { text-align: center; color: #888; font-size: 0.9rem; margin-bottom: 28px; }

.option-box {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 24px 32px;
}

.option-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0077b6;
}

.option-box ul { list-style: none; }
.option-box li { padding: 6px 0; font-size: 0.95rem; }
.option-box li strong { color: #0077b6; }

/* ===== エントリー ===== */
.entry-text { font-size: 1.1rem; margin-bottom: 12px; opacity: 0.95; }
.entry-period { margin-bottom: 32px; opacity: 0.8; }
.entry-search { margin-top: 16px; font-size: 0.85rem; opacity: 0.7; }

/* ===== 持ち物・注意事項 ===== */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.two-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0077b6;
}

.checklist { list-style: none; }

.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00b4d8;
  font-weight: 700;
}

.checklist--caution li::before { content: "⚠"; color: #ff6b35; }

/* ===== アクセス ===== */
.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 600px) {
  .access-content { grid-template-columns: 1fr; }
}

.access-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0077b6;
  margin: 20px 0 6px;
}

.access-info p { font-size: 0.95rem; }

.map-placeholder {
  background: #e8f4f8;
  border-radius: 12px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1rem;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #dde3ea;
  padding: 20px 0;
}

.faq-q {
  font-weight: 700;
  color: #0077b6;
  margin-bottom: 10px;
  font-size: 0.98rem;
}

.faq-a { font-size: 0.95rem; color: #555; padding-left: 4px; }

/* ===== お問い合わせ ===== */
.contact-text { text-align: center; margin-bottom: 24px; }

.btn-contact {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  background: #0077b6;
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-contact:hover { background: #005f8e; }

.contact-org {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin-top: 12px;
}

/* ===== ギャラリー ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s;
}

.gallery-img:hover { transform: scale(1.03); }

.gallery-empty {
  text-align: center;
  color: #aaa;
  padding: 48px;
  width: 100%;
}

/* ===== フッター ===== */
.footer {
  background: #1a1a2e;
  color: #aaa;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.85rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .nav ul li a { padding: 10px 12px; font-size: 0.8rem; }
  .fee-card--main { transform: none; }
  .timeline-time { width: 52px; height: 52px; font-size: 0.8rem; }
  .timeline-item::before { left: 55px; }
}
