/* テコンドー春吉道場 - Modern Redesign */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --navy: #1e3a8a;
  --red: #d03535;
  --red-dark: #b02020;
  --gold: #d97706;
  --white: #ffffff;
  --gray-50: #f5f8ff;
  --gray-100: #eef2fb;
  --gray-200: #d4ddf5;
  --gray-600: #4b5563;
  --gray-800: #1e3a8a;
  --text: #1e293b;
  --shadow: 0 4px 6px -1px rgba(30,58,138,0.12), 0 2px 4px -1px rgba(30,58,138,0.07);
  --shadow-lg: 0 10px 15px -3px rgba(30,58,138,0.15), 0 4px 6px -2px rgba(30,58,138,0.08);
  --nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--gray-50);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  box-shadow: 0 2px 16px rgba(30,58,138,0.4);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.nav-logo-sub {
  font-size: 11px;
  color: #bfdbfe;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  color: #dbeafe;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links .nav-contact a {
  background: var(--red);
  color: white;
  padding: 8px 14px;
}

.nav-links .nav-contact a:hover {
  background: var(--red-dark);
}

/* Mobile menu toggle (CSS only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  color: white;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #1e3a8a 100%);
  opacity: 0.92;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.04) 40px,
    rgba(255,255,255,0.04) 80px
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--red);
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff;
}

.hero-subtitle {
  font-size: 18px;
  color: #bfdbfe;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* ===== PHOTO GALLERY STRIP ===== */
.photo-strip {
  display: flex;
  height: 220px;
  overflow: hidden;
}

.photo-strip img {
  flex: 1;
  object-fit: cover;
  width: 0;
  filter: brightness(0.85);
  transition: all 0.3s;
}

.photo-strip img:hover {
  flex: 2;
  filter: brightness(1);
}

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

.section-white {
  background: white;
}

.section-gray {
  background: var(--gray-50);
}

.section-dark {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: white;
}

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

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

.section-title {
  font-size: 28px;
  font-weight: 900;
  color: #1e3a8a;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: var(--red);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
}

.section-subtitle {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 40px;
  margin-left: 16px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #fef2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e3a8a;
}

.card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== INFO BOXES ===== */
.info-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box.blue {
  background: #eff6ff;
  border-color: #bfdbfe;
  border-left-color: #2563eb;
}

.info-box.green {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #16a34a;
}

.info-box.gold {
  background: #fffbeb;
  border-color: #fde68a;
  border-left-color: var(--gold);
}

.info-box-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--navy);
}

/* ===== SCHEDULE TABLE ===== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-table th {
  background: #1d4ed8;
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.schedule-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:nth-child(even) td {
  background: var(--gray-50);
}

.schedule-table .day {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.schedule-table .time {
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.schedule-table .note {
  font-size: 13px;
  color: var(--gray-600);
}

.schedule-table .word {
  font-weight: 700;
  color: var(--navy);
}

.schedule-table .place {
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
}

/* ===== FEE TABLE ===== */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fee-table th {
  background: #1d4ed8;
  color: white;
  padding: 12px 18px;
  text-align: left;
  font-size: 14px;
}

.fee-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table .fee-amount {
  font-weight: 700;
  color: var(--red);
  text-align: right;
}

.fee-table tr:nth-child(even) td {
  background: var(--gray-50);
}

/* ===== SECTION NUMBERED ITEMS ===== */
.numbered-section {
  margin-bottom: 40px;
}

.numbered-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.number-badge {
  width: 32px;
  height: 32px;
  background: #1d4ed8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.numbered-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* ===== EVENT LIST ===== */
.event-year {
  margin-bottom: 32px;
}

.event-year-header {
  font-size: 22px;
  font-weight: 900;
  color: #1e3a8a;
  border-bottom: 3px solid #3b82f6;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

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

.event-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
}

.event-item:last-child {
  border-bottom: none;
}

.event-month {
  font-weight: 700;
  color: var(--gray-600);
  min-width: 40px;
  text-align: right;
  flex-shrink: 0;
}

.event-name {
  color: var(--text);
}

.event-name a {
  color: var(--red);
  text-decoration: none;
}

.event-name a:hover {
  text-decoration: underline;
}

.event-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

.tag-match {
  background: #fef2f2;
  color: var(--red);
}

.tag-event {
  background: #eff6ff;
  color: #1d4ed8;
}

.tag-exam {
  background: #f0fdf4;
  color: #15803d;
}

.tag-demo {
  background: #fffbeb;
  color: #b45309;
}

/* ===== ACCESS PAGE ===== */
.access-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.access-detail {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.access-detail h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.access-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.access-photo-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.access-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* 地図など全体を見せたい画像はトリミングしない */
.access-photo-card.map-card img {
  height: auto;
  object-fit: contain;
  display: block;
}

.access-photo-caption {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== CONTACT PAGE ===== */
.contact-card {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-email {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin: 16px 0;
}

/* ===== FIVE HEARTS ===== */
.hearts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.heart-item {
  background: white;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid #3b82f6;
}

.heart-kanji {
  font-size: 28px;
  font-weight: 900;
  color: #1e3a8a;
  display: block;
  margin-bottom: 4px;
}

.heart-reading {
  font-size: 13px;
  color: var(--gray-600);
}

/* ===== TAEKWONDO DISCIPLINES ===== */
.discipline {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.discipline:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.discipline-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.discipline-number {
  width: 48px;
  height: 48px;
  background: #1d4ed8;
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}

.discipline-title {
  font-size: 24px;
  font-weight: 900;
  color: #1e3a8a;
}

.discipline-title-sub {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 400;
}

.discipline-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.discipline-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.discipline-caption {
  font-size: 13px;
  color: var(--gray-600);
  font-style: italic;
  margin-top: 8px;
}

/* ===== VIDEO EMBED ===== */
.video-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin: 24px 0 0;
  align-items: start;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.video-embed.reel {
  padding-top: 125%; /* 縦型リール */
  background: var(--gray-50);
  max-width: 380px;
  margin: 0 auto;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* クリックで再生するサムネイル */
.video-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.9);
  transition: background 0.2s;
}

.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent white;
}

.video-facade:hover .video-play {
  background: #dc2626;
}

.discipline-caption a {
  color: #1d4ed8;
  font-weight: 600;
  font-style: normal;
  margin-left: 8px;
  white-space: nowrap;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: white;
  padding: 48px 24px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
}

.page-header p {
  color: #bfdbfe;
  font-size: 16px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--gray-100);
  padding: 12px 24px;
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb a {
  color: var(--red);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== ALERT / NOTICE ===== */
.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #ea580c;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #9a3412;
  margin: 16px 0;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: white;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}

.highlight-box h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
}

.highlight-box p {
  color: #bfdbfe;
  font-size: 16px;
  margin-bottom: 24px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #162d6b 0%, #1e3a8a 100%);
  color: #bfdbfe;
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 8px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
}

.footer-links li::before {
  content: '–';
  margin-right: 6px;
  color: rgba(255,255,255,0.3);
}

.footer-links a {
  font-size: 14px;
  color: #bfdbfe;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== MAP LINK ===== */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.map-link:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .photo-strip {
    height: 140px;
  }

  .hero {
    padding: 48px 16px;
  }

  .access-info {
    grid-template-columns: 1fr;
  }

  .discipline-images {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hearts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .nav-logo-sub {
    display: none;
  }

  .section {
    padding: 48px 16px;
  }
}
