:root {
  --primary: #EF7AB3;
  --primary-light: #FDE8F3;
  --primary-dark: #C8588E;
  --primary-mid: #F4A0CB;
  --accent: #AADC3C;
  --accent-dark: #8BBF25;
  --line-green: #06C755;
  --line-green-dark: #05A847;
  --text: #1F2937;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-purple: #FEF2F8;
  --border: #F9D0E8;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(239, 122, 179, 0.12);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.section-lead a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.section-lead a:hover { color: var(--primary); }
.footnote-ref {
  color: var(--primary-dark);
  font-size: 0.85em;
  font-weight: 700;
  vertical-align: super;
  text-decoration: none;
  margin-left: 2px;
}
.footnote-ref:hover { color: var(--primary); }

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 40px;
  width: auto;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.logo-text span { color: var(--accent-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn-line {
  background: var(--line-green);
  color: #fff;
}
.btn-line:hover {
  background: var(--line-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.4);
}
.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #d4eb82 100%);
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg-code {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}
.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2));
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 6.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  opacity: 0.88;
  margin-bottom: 44px;
  font-weight: 500;
}

/* Floating code symbols */
.code-symbol {
  position: absolute;
  color: rgba(255, 255, 255, 0.07);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  user-select: none;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { transform: translateY(-20vh) rotate(180deg); opacity: 0; }
}

/* Sections */
.section { padding: 80px 0; }
.section-light { background: var(--bg); }
.section-alt   { background: var(--bg-purple); }
.section-cta   {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}
.section-alt .section-title { color: var(--primary-dark); }
.section-lead {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 52px;
  line-height: 1.9;
}

/* About: features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-purple);
  border-radius: var(--radius);
  border: 1px solid var(--primary-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Tools */
.tools { text-align: center; }
.tools-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-dark);
}
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.tool-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tool-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}
.tool-badge.beginner { background: #D1FAE5; color: #065F46; }
.tool-badge.advanced { background: #DBEAFE; color: #1E40AF; }
.tool-badge.other    { background: #FEF3C7; color: #92400E; }
.tool-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.tools-note {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* Schedule / Info */
.schedule-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .schedule-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

.info-table-wrap {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: top;
  line-height: 1.7;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }
.info-table th {
  width: 80px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  white-space: nowrap;
}
.info-table small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.timeline-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.timeline-note {
  font-size: 0.8rem;
  color: #854D0E;
  margin-bottom: 24px;
  padding: 10px 14px;
  background: #FEF9C3;
  border-radius: 8px;
  border-left: 3px solid #EAB308;
  line-height: 1.6;
}
.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 66px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--primary-light);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0;
  position: relative;
}
.timeline-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 40px;
  text-align: right;
  padding-top: 3px;
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid #fff;
  outline: 2px solid var(--primary-light);
  margin-top: 5px;
  flex-shrink: 0;
}
.timeline-label {
  font-size: 0.95rem;
  font-weight: 500;
  padding-top: 2px;
}
.timeline-label small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Notes */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.note-card {
  background: var(--bg-purple);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.note-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.note-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary);
}
.note-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.9;
}

/* About us */
.about-us-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.about-us-content p {
  margin-bottom: 18px;
  line-height: 1.9;
}
.about-us-content p:last-child { margin-bottom: 0; }

/* Slide embed */
.slide-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 28px;
}
.slide-label a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.slide-label a:hover { color: var(--primary); }
.slide-wrap {
  position: relative;
  width: 100%;
  padding-top: 58.82%; /* 350/595 */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.slide-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Access */
.access-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.access-info { text-align: center; }
.access-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.access-address {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
}
@media (min-width: 768px) {
  .map-wrap iframe { height: 420px; }
}

/* CTA */
.cta-content { text-align: center; }
.cta-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-sub {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 40px;
}
.cta-next-date {
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0;
  text-align: center;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  text-align: left;
  line-height: 1.3;
}
.footer-logo span { opacity: 0.65; }
.footer-copy {
  font-size: 0.78rem;
  margin-bottom: 20px;
  opacity: 0.5;
}
.footer-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--line-green);
  font-weight: 600;
  transition: opacity var(--transition);
}
.footer-line:hover { opacity: 0.75; }
.footer-line svg {
  width: 20px;
  height: 20px;
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.features .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features .feature-card:nth-child(3) { transition-delay: 0.2s; }

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .hero { min-height: 85vh; }
}
