@charset "utf-8";
/* CSS Document */

:root {
  --snc-primary: #003C71;
  --snc-primary-dark: #002B54;
  --snc-accent: #E63323;
  --snc-accent-hover: #C92A1D;
  --snc-blue-light: #EBF3FA;
  --snc-gray-50: #F8F9FB;
  --snc-gray-100: #EEF0F3;
  --snc-gray-200: #D5D9E0;
  --snc-gray-600: #5A6370;
  --snc-gray-800: #2C3340;
  --snc-white: #FFFFFF;
  --snc-gold: #D4A017;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--snc-gray-800);
  background: var(--snc-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.site-header {
  background: var(--snc-white);
  border-bottom: 3px solid var(--snc-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
}
.header-nav a {
  color: var(--snc-gray-600);
  text-decoration: none;
  transition: color .2s;
}
.header-nav a:hover { color: var(--snc-primary); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--snc-primary) 0%, var(--snc-primary-dark) 60%, #001A3A 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(230,51,35,.15), transparent),
    radial-gradient(ellipse 500px 500px at 20% 80%, rgba(0,100,180,.2), transparent);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--snc-white), transparent);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 72px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--snc-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero h1 {
  font-family: 'M PLUS 1', 'Noto Sans JP', sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  color: #FF8A7A;
}
.hero-sub {
  font-size: 16px;
  opacity: .85;
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.9;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--snc-accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 100px;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(230,51,35,.35);
}
.hero-cta:hover {
  background: var(--snc-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(230,51,35,.45);
}
.hero-cta svg { transition: transform .25s; }
.hero-cta:hover svg { transform: translateX(3px); }

.hero-features {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  opacity: .9;
}
.hero-feat-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.hero-feat strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

/* ── Section ── */
section { padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--snc-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--snc-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.section-desc {
  color: var(--snc-gray-600);
  font-size: 15px;
  max-width: 620px;
  margin-bottom: 40px;
}

/* ── Program ── */
.program-section { background: var(--snc-gray-50); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.program-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--snc-primary);
  transition: box-shadow .25s, transform .25s;
}
.program-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.program-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--snc-primary);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.program-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--snc-gray-800);
  margin-bottom: 8px;
}
.program-card p {
  font-size: 14px;
  color: var(--snc-gray-600);
  line-height: 1.7;
}
.program-tag {
  display: inline-block;
  background: #FFF3E0;
  color: #E65100;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 10px;
}
.program-tag.blue {
  background: var(--snc-blue-light);
  color: var(--snc-primary);
}
.program-tag.green {
  background: #E8F5E9;
  color: #2E7D32;
}

/* ── Schedule Table ── */
.schedule-section { background: white; }
.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--snc-gray-100);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
}
.schedule-table thead th {
  background: var(--snc-primary);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.schedule-table tbody tr {
  border-bottom: 1px solid var(--snc-gray-100);
  transition: background .15s;
}
.schedule-table tbody tr:hover {
  background: var(--snc-blue-light);
}
.schedule-table td {
  padding: 16px 18px;
  vertical-align: top;
}
.schedule-date {
  font-weight: 700;
  color: var(--snc-primary);
  white-space: nowrap;
}
.schedule-pref {
  font-weight: 600;
}
.venue-name {
  font-weight: 600;
  display: block;
}
.venue-addr {
  font-size: 12px;
  color: var(--snc-gray-600);
  margin-top: 2px;
}
.schedule-time {
  white-space: nowrap;
  font-weight: 500;
}
.schedule-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.status-open {
  background: #E8F5E9;
  color: #2E7D32;
}
.status-open::before {
  content: '';
  width: 6px; height: 6px;
  background: #4CAF50;
  border-radius: 50%;
}
.status-few {
  background: #FFF8E1;
  color: #F57F17;
}
.status-closed {
  background: var(--snc-gray-100);
  color: var(--snc-gray-600);
}
.btn-apply-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--snc-accent);
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.btn-apply-sm:hover {
  background: var(--snc-accent-hover);
  transform: scale(1.02);
}

/* ── Highlights ── */
.highlights-section { background: var(--snc-gray-50); }
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.highlight-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.highlight-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}
.highlight-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.highlight-card p {
  font-size: 13px;
  color: var(--snc-gray-600);
  line-height: 1.7;
}

/* ── Form ── */
.form-section {
  background: linear-gradient(180deg, white 0%, var(--snc-blue-light) 5%);
}
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-header {
  background: var(--snc-primary);
  color: white;
  padding: 28px 36px;
  text-align: center;
}
.form-header h2 {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.form-header p {
  font-size: 13px;
  opacity: .8;
  margin-top: 6px;
}
.form-body {
  padding: 36px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--snc-gray-800);
}
.form-group label .req {
  display: inline-block;
  background: var(--snc-accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--snc-gray-200);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--snc-gray-800);
  transition: border-color .2s, box-shadow .2s;
  background: var(--snc-gray-50);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--snc-primary);
  box-shadow: 0 0 0 3px rgba(0,60,113,.1);
  background: white;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-venue-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.venue-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--snc-gray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  background: var(--snc-gray-50);
}
.venue-option:hover {
  border-color: var(--snc-primary);
  background: var(--snc-blue-light);
}
.venue-option input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--snc-primary);
  cursor: pointer;
}
.venue-option-info {
  flex: 1;
}
.venue-option-date {
  font-weight: 700;
  font-size: 14px;
  color: var(--snc-primary);
}
.venue-option-place {
  font-size: 13px;
  color: var(--snc-gray-600);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--snc-gray-600);
  line-height: 1.6;
}
.form-checkbox input {
  margin-top: 4px;
  accent-color: var(--snc-primary);
}

.form-note {
  font-size: 12px;
  color: var(--snc-gray-600);
  margin-top: 4px;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--snc-accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .25s;
  margin-top: 32px;
  box-shadow: 0 4px 16px rgba(230,51,35,.3);
}
.form-submit:hover {
  background: var(--snc-accent-hover);
  box-shadow: 0 6px 24px rgba(230,51,35,.4);
  transform: translateY(-1px);
}
.form-submit:active { transform: translateY(0); }

/* ── Subsidy ── */
.subsidy-section { background: white; }
.subsidy-banner {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFF3E0 100%);
  border: 2px solid var(--snc-gold);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.subsidy-icon {
  width: 72px; height: 72px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 4px 12px rgba(212,160,23,.2);
  flex-shrink: 0;
}
.subsidy-content { flex: 1; min-width: 260px; }
.subsidy-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: #E65100;
  margin-bottom: 8px;
  font-family: 'M PLUS 1', sans-serif;
}
.subsidy-content p {
  font-size: 14px;
  color: var(--snc-gray-800);
  line-height: 1.8;
}
.subsidy-amounts {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.subsidy-amt {
  background: white;
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.subsidy-amt-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--snc-gray-600);
  margin-bottom: 2px;
}
.subsidy-amt-value {
  font-size: 20px;
  font-weight: 800;
  color: #E65100;
  font-family: 'M PLUS 1', sans-serif;
}

/* ── Footer ── */
.site-footer {
  background: var(--snc-primary-dark);
  color: rgba(255,255,255,.7);
  padding: 48px 24px 32px;
  font-size: 13px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center; 
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  text-align: center;  
}
.footer-logo {
  font-family: 'M PLUS 1', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
  margin-bottom: 10px;
}
  
.footer-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}	

.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;	
}

.footer-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color .2s;
}	

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}	

.footer-contact p { margin-bottom: 4px; }
.footer-contact a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-copy {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* ── Confirmation Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: white;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  animation: modalIn .3s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--snc-gray-100);
}
.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--snc-primary);
}
.modal-body {
  padding: 24px 28px;
}
.confirm-item {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--snc-gray-100);
  font-size: 14px;
}
.confirm-item:last-child { border-bottom: none; }
.confirm-label {
  font-weight: 600;
  color: var(--snc-gray-600);
  min-width: 120px;
  flex-shrink: 0;
}
.confirm-value {
  color: var(--snc-gray-800);
}
.modal-footer {
  padding: 20px 28px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid var(--snc-gray-100);
}
.btn-modal {
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-modal-cancel {
  background: var(--snc-gray-100);
  color: var(--snc-gray-600);
}
.btn-modal-cancel:hover { background: var(--snc-gray-200); }
.btn-modal-confirm {
  background: var(--snc-accent);
  color: white;
}
.btn-modal-confirm:hover { background: var(--snc-accent-hover); }

/* ── Complete ── */
.complete-view {
  display: none;
  text-align: center;
  padding: 48px 28px;
}
.complete-view.active { display: block; }
.complete-icon {
  width: 72px; height: 72px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: #4CAF50;
}
.complete-view h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--snc-primary);
  margin-bottom: 12px;
}
.complete-view p {
  font-size: 14px;
  color: var(--snc-gray-600);
  line-height: 1.8;
}

/* ── Float CTA ── */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: all .4s;
  pointer-events: none;
}
.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--snc-accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(230,51,35,.4);
  transition: all .25s;
}
.float-cta a:hover {
  background: var(--snc-accent-hover);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero-inner { padding: 48px 20px 56px; }
  .hero-features { gap: 20px; }
  section { padding: 48px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .form-body { padding: 24px 20px; }
  .subsidy-banner { padding: 24px; gap: 20px; }
  .footer-inner { flex-direction: column; }
  .schedule-table { font-size: 13px; }
  .schedule-table td, .schedule-table th { padding: 12px 14px; }
}