@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Montserrat:wght@400;600;700;800&display=swap');

/* ===== RESET & TOKENS ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Base tokens (Spring default) */
  --primary: #2c3e2d;
  --primary-mid: #3a5240;
  --accent: #34b85e;
  --accent-light: #48d474;
  --accent-warm: #5edc82;
  --accent-glow: rgba(52,184,94,0.10);
  --bg: #f8faf8;
  --bg-alt: #eef5ef;
  --card: #ffffff;
  --text: #2c3e2d;
  --text-light: #5a6e5d;
  --text-lighter: #8a9a8c;
  --white: #ffffff;
  --border: #d8e6da;
  --border-light: #e6f0e8;

  /* Seasonal color tokens */
  --hero-gradient-1: rgba(255,255,255,0.25);
  --hero-gradient-2: rgba(240,248,240,0.15);
  --hero-gradient-3: rgba(44,62,45,0.45);
  --hero-badge-bg: rgba(52,184,94,0.25);
  --hero-badge-border: rgba(52,184,94,0.5);
  --hero-em-1: #5edc82;
  --hero-em-2: #a8f0be;
  --btn-shadow: rgba(52,184,94,0.3);
  --btn-dark-shadow: rgba(52,184,94,0.25);
  --stats-shadow: rgba(52,184,94,0.08);
  --card-hover-shadow: rgba(52,184,94,0.08);
  --feature-icon-border: rgba(52,184,94,0.12);
  --insta-overlay-bg: rgba(52,184,94,0.45);
  --insta-avatar-end: #2daa4a;
  --insta-p1: #c8e6cc;
  --insta-p2: #b8dcc0;
  --insta-p3: #c2e2c8;
  --insta-p4: #badebe;
  --insta-p5: #bee0c4;
  --insta-p6: #b4d8ba;
  --insta-p7: #c5e4ca;
  --insta-p8: #b6dabe;
  --badge-trip: #e8653a;
  --badge-training: #3b8dd6;
  --badge-meeting: #34b85e;
  --cta-overlay-1: rgba(44,62,45,0.75);
  --cta-overlay-2: rgba(44,62,45,0.65);
  --cta-btn-shadow: rgba(52,184,94,0.4);
  --page-overlay-1: rgba(44,62,45,0.65);
  --page-overlay-2: rgba(44,62,45,0.5);
  --step-done-border: rgba(52,184,94,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  padding: 0 2rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); background: rgba(255,255,255,0.97); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo img { height: 38px; width: 38px; object-fit: contain; }
.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 0.85rem; color: var(--primary);
  letter-spacing: 0.06em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-light); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 0.5rem 1.2rem; border-radius: 6px; font-weight: 600 !important;
  border: none;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-light) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--primary); transition: all 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 6px;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; transition: all 0.3s; cursor: pointer; border: none;
  letter-spacing: 0.02em; font-family: inherit;
}
.btn-primary {
  background: var(--accent); color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-light); transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--btn-shadow);
}
.btn-outline {
  background: rgba(255,255,255,0.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.2); transform: translateY(-2px);
}
.btn-primary-dark {
  background: var(--accent); color: var(--white);
}
.btn-primary-dark:hover {
  background: var(--accent-light); transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--btn-dark-shadow);
}
.btn-secondary {
  background: var(--bg-alt); color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border-light); transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent; color: var(--text-light);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--accent); color: var(--accent); transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
section { padding: 3.5rem 2rem; }
.section-header { text-align: center; margin-bottom: 1.5rem; }
.section-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.4; }
.section-desc { max-width: 600px; margin: 1rem auto 0; color: var(--text-light); font-size: 0.95rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    var(--hero-gradient-1) 0%,
    var(--hero-gradient-2) 40%,
    var(--hero-gradient-3) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 2rem; max-width: 900px;
}
.hero-badge {
  display: inline-block;
  background: var(--hero-badge-bg); border: 1px solid var(--hero-badge-border);
  padding: 0.4rem 1.4rem; border-radius: 50px;
  font-size: 0.78rem; letter-spacing: 0.12em; font-weight: 500;
  margin-bottom: 1.8rem; animation: fadeInUp 0.8s ease 0.2s both;
  color: var(--white);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 1.4rem;
  animation: fadeInUp 0.8s ease 0.4s both;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--hero-em-1), var(--hero-em-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.85); font-weight: 300;
  margin-bottom: 2.5rem; line-height: 2;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: bounce 2s ease infinite; color: rgba(255,255,255,0.5); z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.slide-dots {
  position: absolute; bottom: 5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.slide-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: all 0.3s;
}
.slide-dot.active { background: var(--accent-warm); transform: scale(1.4); }

/* ===== ABOUT (top page) ===== */
.about { background: var(--white); }
.about-content {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-img { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.about-img img { width: 100%; height: auto; display: block; }
.about-text h3 { font-size: 1.7rem; font-weight: 700; margin-bottom: 1.2rem; line-height: 1.4; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 0.95rem; }

/* ===== FEATURES ===== */
.features { background: var(--bg-alt); }
.features-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.feature-card {
  background: var(--white); border-radius: 14px;
  padding: 2.5rem; transition: all 0.3s; border: 1px solid var(--border-light);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--card-hover-shadow); border-color: var(--accent-light);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
  border: 1px solid var(--feature-icon-border);
  color: var(--accent);
}
.feature-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--primary); }
.feature-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.85; }

/* ===== INSTAGRAM ===== */
.instagram { background: var(--white); }
.insta-container { max-width: 1100px; margin: 0 auto; }
.insta-profile {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border-light); border-radius: 12px;
  padding: 1.5rem 2rem; margin-bottom: 2rem;
}
.insta-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--insta-avatar-end));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  padding: 2px;
}
.insta-avatar-inner {
  width: 100%; height: 100%; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.insta-avatar-inner img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.insta-profile-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.insta-profile-info p { font-size: 0.82rem; color: var(--text-light); margin-top: 0.2rem; }
.insta-follow-btn {
  margin-left: auto;
  background: var(--accent); color: var(--white);
  border: none; padding: 0.5rem 1.5rem;
  border-radius: 6px; font-weight: 600; font-size: 0.82rem;
  cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block;
}
.insta-follow-btn:hover { background: var(--accent-light); transform: translateY(-1px); }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.insta-item {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  position: relative; cursor: pointer; transition: all 0.3s;
}
.insta-item:hover { transform: scale(1.03); }
.insta-overlay {
  position: absolute; inset: 0; background: var(--insta-overlay-bg);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.82rem; font-weight: 600;
}
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-placeholder-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.insta-item:nth-child(1) .insta-placeholder-img { background: var(--insta-p1); }
.insta-item:nth-child(2) .insta-placeholder-img { background: var(--insta-p2); }
.insta-item:nth-child(3) .insta-placeholder-img { background: var(--insta-p3); }
.insta-item:nth-child(4) .insta-placeholder-img { background: var(--insta-p4); }
.insta-item:nth-child(5) .insta-placeholder-img { background: var(--insta-p5); }
.insta-item:nth-child(6) .insta-placeholder-img { background: var(--insta-p6); }
.insta-item:nth-child(7) .insta-placeholder-img { background: var(--insta-p7); }
.insta-item:nth-child(8) .insta-placeholder-img { background: var(--insta-p8); }

/* ===== SCHEDULE ===== */
.schedule { background: var(--bg); }
.schedule-list {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.schedule-item {
  display: flex; align-items: center; gap: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-date {
  width: 110px; flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.schedule-date span {
  font-size: 0.7rem; font-weight: 500; color: var(--text-lighter);
  margin-left: 0.3rem;
}
.schedule-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; flex-shrink: 0; margin-right: 0.8rem;
  font-size: 0.6rem; font-weight: 700;
  color: var(--white); padding: 1px 0; border-radius: 3px;
  letter-spacing: 0.03em;
}
.schedule-badge.trip { background: var(--badge-trip); }
.schedule-badge.training { background: var(--badge-training); }
.schedule-badge.meeting { background: var(--badge-meeting); }
.schedule-title { font-size: 0.88rem; font-weight: 500; color: var(--text); }

/* ===== CTA ===== */
.cta {
  position: relative; color: var(--white); text-align: center;
  padding: 6rem 2rem; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: url('https://ac-alpha.sakura.ne.jp/images/top_s_4.png') center/cover;
}
.cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--cta-overlay-1), var(--cta-overlay-2));
}
.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1rem; line-height: 1.9; }
.cta .btn-primary { background: var(--accent-warm); color: var(--white); }
.cta .btn-primary:hover { background: var(--accent-light); box-shadow: 0 6px 25px var(--cta-btn-shadow); }

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
  position: relative; height: 320px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-header-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--page-overlay-1) 0%, var(--page-overlay-2) 100%);
}
.page-header-content {
  position: relative; z-index: 2; text-align: center; color: var(--white);
  padding-top: 2rem;
}
.page-header-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

/* ===== PAGE CONTENT (subpages) ===== */
.page-main {
  padding: 2.5rem 2rem 3rem;
}
.page-content {
  max-width: 860px; margin: 0 auto;
}
.content-section {
  margin-bottom: 3rem;
  padding: 0;
}
.content-section h2 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem;
  padding-bottom: 0.6rem; border-bottom: 2px solid var(--accent);
  color: var(--primary);
}
.content-section p {
  color: var(--text-light); margin-bottom: 1rem; font-size: 0.95rem;
}
.content-figure {
  margin: 0.8rem 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.content-figure img {
  width: 100%; height: auto; display: block;
}

/* ===== DATA TABLE ===== */
.data-table {
  width: 100%; border-collapse: collapse; margin: 0.8rem 0;
  font-size: 0.92rem;
}
.data-table th, .data-table td {
  padding: 1rem 1.2rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border-light);
}
.data-table th {
  width: 140px; font-weight: 600; color: var(--primary);
  background: var(--bg); white-space: nowrap;
}
.data-table td { color: var(--text-light); }
.data-table img { border-radius: 6px; margin-top: 0.5rem; }

/* ===== RECORD TABLE (multi-column) ===== */
.record-table {
  width: 100%; border-collapse: collapse; margin: 1rem 0;
  font-size: 0.85rem;
}
.record-table thead th {
  padding: 0.5rem 0.8rem; text-align: center; font-weight: 600;
  color: var(--white); background: var(--primary);
  border: 1px solid var(--primary); white-space: nowrap;
  font-size: 0.8rem;
}
.record-table tbody td {
  padding: 0.4rem 0.8rem; border: 1px solid var(--border-light);
  vertical-align: middle; white-space: nowrap;
}
.record-table tbody td:nth-child(3),
.record-table tbody td:nth-child(4) { white-space: normal; }
.record-table tbody tr:nth-child(even) { background: var(--bg); }
.record-table tbody tr:hover { background: var(--bg-alt); }
.record-table .col-center { text-align: center; }
.page-content:has(.record-table) { max-width: 1060px; }

/* ===== STEPS ===== */
.steps { counter-reset: step; }
.step-item {
  position: relative; padding: 2rem; padding-left: 5rem;
  margin-bottom: 1.5rem; background: var(--white);
  border-radius: 12px; border: 1px solid var(--border-light);
}
.step-item::before {
  counter-increment: step;
  content: "Step " counter(step);
  position: absolute; left: 1.5rem; top: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.05em;
}
.step-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.step-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }
.step-note { color: var(--accent) !important; font-weight: 500; }

/* ===== RECORD LIST ===== */
.record-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.8rem; margin-top: 0.8rem;
}
.record-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 1rem 1.2rem; background: var(--white);
  border: 1px solid var(--border-light); border-radius: 8px;
  text-decoration: none; color: var(--text); font-weight: 500;
  font-size: 0.92rem; transition: all 0.2s;
}
.record-link:hover {
  border-color: var(--accent); background: var(--accent-glow);
  transform: translateY(-1px);
}
.record-link span { color: var(--accent); font-size: 0.8rem; margin-left: auto; }

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 1.8rem; }
.form-label {
  display: block; font-weight: 600; font-size: 0.9rem;
  margin-bottom: 1rem; color: var(--primary);
}
.form-label .required {
  color: #d44; font-size: 0.75rem; margin-left: 0.3rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.92rem; font-family: inherit;
  background: var(--white); transition: border-color 0.3s;
  color: var(--text);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { max-width: 320px; }
.form-input { max-width: 400px; }
.form-radio-group, .form-check-group {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.3rem;
}
.form-radio-group label, .form-check-group label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--text-light); cursor: pointer;
}
.form-hint {
  font-size: 0.82rem; color: var(--text-lighter); margin-top: 0.3rem;
}
.form-section-title {
  font-weight: 600; font-size: 0.92rem; margin-bottom: 1rem; color: var(--primary);
}
.spam-section {
  margin-top: 2.5rem; padding: 1.5rem; background: var(--bg);
  border-radius: 10px; border: 1px solid var(--border-light);
}
.spam-section .form-label { color: #d44; }
.form-error { color: #d44; font-size: 0.82rem; margin-top: 0.5rem; font-weight: 500; }

/* Steps Indicator (contact page) */
.steps-indicator {
  display: flex; justify-content: center; max-width: 420px;
  margin: 0 auto 3rem; gap: 0;
}
.step-ind {
  flex: 1; text-align: center; padding: 0.7rem 0.5rem;
  font-size: 0.82rem; font-weight: 600; color: var(--text-lighter);
  background: var(--bg-alt); border: 1px solid var(--border-light);
}
.step-ind:first-child { border-radius: 8px 0 0 8px; }
.step-ind:last-child { border-radius: 0 8px 8px 0; }
.step-ind.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.step-ind.done { background: var(--accent-glow); color: var(--accent); border-color: var(--step-done-border); }

/* Confirm table */
.confirm-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.92rem; }
.confirm-table th, .confirm-table td {
  padding: 1rem 1.2rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border-light);
}
.confirm-table th { width: 180px; font-weight: 600; color: var(--primary); background: var(--bg); white-space: nowrap; }
.confirm-table td { color: var(--text-light); }
.confirm-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.confirm-view { display: none; }
.confirm-view.active { display: block; }
.input-view.hidden { display: none; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-alt); color: var(--text-light);
  padding: 3rem 2rem 2rem; text-align: center; font-size: 0.82rem;
  border-top: 1px solid var(--border-light);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-lighter); text-decoration: none;
  transition: color 0.3s; font-size: 0.82rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a {
  color: var(--text-lighter); text-decoration: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; font-size: 0.9rem;
}
.footer-social a:hover {
  color: var(--accent); border-color: var(--accent);
  background: var(--accent-glow);
}
.footer-copy {
  width: 100%; text-align: center; margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-light); color: var(--text-lighter);
}

/* ===== SEASON: SUMMER (6-8月) ===== */
.season-summer {
  --primary: #1e3044;
  --primary-mid: #2a4058;
  --accent: #2d8ec9;
  --accent-light: #3da4e0;
  --accent-warm: #56b8f0;
  --accent-glow: rgba(45,142,201,0.10);
  --bg: #f6f9fc;
  --bg-alt: #edf2f8;
  --text: #1e3044;
  --text-light: #4a6178;
  --text-lighter: #8098ab;
  --border: #d0dde8;
  --border-light: #e2ecf4;
  --hero-gradient-1: rgba(30,48,68,0.3);
  --hero-gradient-2: rgba(30,48,68,0.15);
  --hero-gradient-3: rgba(30,48,68,0.55);
  --hero-badge-bg: rgba(45,142,201,0.25);
  --hero-badge-border: rgba(86,184,240,0.5);
  --hero-em-1: #56b8f0;
  --hero-em-2: #a0dcff;
  --btn-shadow: rgba(45,142,201,0.3);
  --btn-dark-shadow: rgba(45,142,201,0.25);
  --stats-shadow: rgba(45,142,201,0.08);
  --card-hover-shadow: rgba(45,142,201,0.08);
  --feature-icon-border: rgba(45,142,201,0.12);
  --insta-overlay-bg: rgba(30,48,68,0.45);
  --insta-avatar-end: #1a6fa0;
  --insta-p1: #c4ddf0;
  --insta-p2: #b4d2e8;
  --insta-p3: #bedaee;
  --insta-p4: #aecce4;
  --insta-p5: #b8d6ea;
  --insta-p6: #a8c8e0;
  --insta-p7: #c0daf0;
  --insta-p8: #aacae2;
  --badge-trip: #e07840;
  --badge-training: #2d8ec9;
  --badge-meeting: #34b85e;
  --cta-overlay-1: rgba(30,48,68,0.78);
  --cta-overlay-2: rgba(30,48,68,0.68);
  --cta-btn-shadow: rgba(45,142,201,0.4);
  --page-overlay-1: rgba(30,48,68,0.65);
  --page-overlay-2: rgba(30,48,68,0.5);
  --step-done-border: rgba(45,142,201,0.3);
}

/* ===== SEASON: AUTUMN (9-11月) ===== */
.season-autumn {
  --primary: #3a2e28;
  --primary-mid: #4e3e36;
  --accent: #d4683a;
  --accent-light: #e8804e;
  --accent-warm: #f0965e;
  --accent-glow: rgba(212,104,58,0.08);
  --bg: #fdf9f6;
  --bg-alt: #f6f0ea;
  --text: #3a2e28;
  --text-light: #6e5c52;
  --text-lighter: #a08e84;
  --border: #e6dbd2;
  --border-light: #f0e8e0;
  --hero-gradient-1: rgba(240,150,94,0.15);
  --hero-gradient-2: rgba(212,104,58,0.05);
  --hero-gradient-3: rgba(58,46,40,0.5);
  --hero-badge-bg: rgba(212,104,58,0.3);
  --hero-badge-border: rgba(240,150,94,0.5);
  --hero-em-1: #f0965e;
  --hero-em-2: #ffc48a;
  --btn-shadow: rgba(212,104,58,0.3);
  --btn-dark-shadow: rgba(212,104,58,0.25);
  --stats-shadow: rgba(212,104,58,0.06);
  --card-hover-shadow: rgba(212,104,58,0.06);
  --feature-icon-border: rgba(212,104,58,0.1);
  --insta-overlay-bg: rgba(212,104,58,0.4);
  --insta-avatar-end: #b8502a;
  --insta-p1: #f0ddd0;
  --insta-p2: #e8d2c2;
  --insta-p3: #ecdac8;
  --insta-p4: #e4ccbc;
  --insta-p5: #ead4c4;
  --insta-p6: #e0c8b8;
  --insta-p7: #eedcce;
  --insta-p8: #e2cabe;
  --badge-trip: #d4683a;
  --badge-training: #4a90b8;
  --badge-meeting: #5aa06a;
  --cta-overlay-1: rgba(58,46,40,0.72);
  --cta-overlay-2: rgba(58,46,40,0.62);
  --cta-btn-shadow: rgba(212,104,58,0.4);
  --page-overlay-1: rgba(58,46,40,0.65);
  --page-overlay-2: rgba(58,46,40,0.5);
  --step-done-border: rgba(212,104,58,0.3);
}

/* ===== SEASON: WINTER (12-2月) ===== */
.season-winter {
  --primary: #2e3338;
  --primary-mid: #3c4248;
  --accent: #6b8a9e;
  --accent-light: #7fa0b6;
  --accent-warm: #92b4ca;
  --accent-glow: rgba(107,138,158,0.10);
  --bg: #f7f8f9;
  --bg-alt: #eef0f2;
  --text: #2e3338;
  --text-light: #5a6168;
  --text-lighter: #8c949c;
  --border: #d4d8dc;
  --border-light: #e6e9ec;
  --hero-gradient-1: rgba(46,51,56,0.25);
  --hero-gradient-2: rgba(46,51,56,0.12);
  --hero-gradient-3: rgba(46,51,56,0.5);
  --hero-badge-bg: rgba(107,138,158,0.25);
  --hero-badge-border: rgba(107,138,158,0.5);
  --hero-em-1: #92b4ca;
  --hero-em-2: #c4dae8;
  --btn-shadow: rgba(107,138,158,0.3);
  --btn-dark-shadow: rgba(107,138,158,0.25);
  --stats-shadow: rgba(107,138,158,0.08);
  --card-hover-shadow: rgba(107,138,158,0.08);
  --feature-icon-border: rgba(107,138,158,0.12);
  --insta-overlay-bg: rgba(107,138,158,0.45);
  --insta-avatar-end: #506a7e;
  --insta-p1: #d8dce0;
  --insta-p2: #cdd2d8;
  --insta-p3: #d3d8dc;
  --insta-p4: #c8cdd4;
  --insta-p5: #ced4d8;
  --insta-p6: #c4cad0;
  --insta-p7: #d5dadf;
  --insta-p8: #c6ccd2;
  --badge-trip: #8a6e5c;
  --badge-training: #5a7e96;
  --badge-meeting: #6b8a9e;
  --cta-overlay-1: rgba(46,51,56,0.75);
  --cta-overlay-2: rgba(46,51,56,0.65);
  --cta-btn-shadow: rgba(107,138,158,0.4);
  --page-overlay-1: rgba(46,51,56,0.65);
  --page-overlay-2: rgba(46,51,56,0.5);
  --step-done-border: rgba(107,138,158,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,0.97); flex-direction: column;
    padding: 1.5rem 2rem 2rem; gap: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.7rem 0; font-size: 0.95rem; color: var(--text) !important; }
  .nav-links .nav-cta { text-align: center; margin-top: 0.5rem; color: var(--white) !important; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-logo-text { display: none; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); white-space: normal; }
  .hero-sub { font-size: 0.9rem; }
  .hero-sub br { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: -2rem 1rem 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-light); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(4) { border-right: none; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-profile { flex-wrap: wrap; }
  .insta-follow-btn { margin-left: 0; }
  .page-header { height: 240px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td {
    display: block; width: 100%;
  }
  .data-table th {
    font-size: 0.82rem; background: var(--bg-alt);
    padding: 0.6rem 1rem 0.4rem; border-bottom: none;
  }
  .data-table td {
    padding: 0.4rem 1rem 1rem; border-bottom: 1px solid var(--border-light);
  }
  .data-table img { max-width: 100% !important; }
  .record-table { font-size: 0.75rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .record-table thead th { padding: 0.5rem 0.4rem; font-size: 0.7rem; }
  .record-table tbody td { padding: 0.5rem 0.4rem; font-size: 0.75rem; }
  .record-grid { grid-template-columns: 1fr; }
  .schedule-date { width: 95px; font-size: 0.78rem; }
  .schedule-title { font-size: 0.82rem; }
  .confirm-table, .confirm-table tbody, .confirm-table tr, .confirm-table th, .confirm-table td {
    display: block; width: 100%;
  }
  .confirm-table th {
    font-size: 0.82rem; background: var(--bg-alt);
    padding: 0.6rem 1rem 0.3rem; border-bottom: none; white-space: normal;
  }
  .confirm-table td {
    padding: 0.3rem 1rem 0.8rem; border-bottom: 1px solid var(--border-light);
  }
  .confirm-buttons { flex-direction: column; align-items: center; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}
