:root {
  --navy:   #0b1f3a;
  --blue:   #1253a4;
  --sky:    #2e8bc0;
  --accent: #00c6e0;
  --white:  #f5f8ff;
  --gray:   #7a90a8;
  --light:  #e8f0fb;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; background: var(--white); color: var(--navy); overflow-x: hidden; }

/* NAV */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(11,31,58,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,198,224,0.2); }
nav { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; }
.logo { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: .08em; color: #fff; text-decoration: none; }
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 28px; }
nav ul a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: .83rem; letter-spacing: .05em; transition: color .2s; }
nav ul a:hover, nav ul a.active { color: var(--accent); }
.nav-cta { background: var(--accent); color: var(--navy) !important; padding: 7px 16px; border-radius: 4px; font-weight: 700 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; background: var(--navy); padding: 16px 24px 24px; }
.mobile-menu a { color: rgba(255,255,255,0.85); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: .9rem; }
.mobile-menu.open { display: flex; }

/* PAGE HERO */
.page-hero { padding: 120px 24px 64px; background: linear-gradient(135deg, var(--navy) 0%, #0e2d5e 60%, #123d7a 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,198,224,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,198,224,0.06) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.page-hero .section-label { color: var(--accent); }
.page-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; margin-top: 8px; letter-spacing: .04em; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: .78rem; color: rgba(255,255,255,0.45); }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* CONTENT */
.content { max-width: 1100px; margin: 0 auto; padding: 72px 24px 96px; }
.section-label { font-family: 'Barlow Condensed', sans-serif; font-size: .78rem; letter-spacing: .18em; color: var(--sky); text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; margin-bottom: 32px; line-height: 1.25; }

/* INFO TABLE */
.info-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.info-table th, .info-table td { padding: 18px 20px; text-align: left; font-size: .9rem; line-height: 1.8; border-bottom: 1px solid rgba(18,83,164,0.1); vertical-align: top; }
.info-table th { width: 160px; color: var(--blue); font-weight: 700; white-space: nowrap; background: var(--light); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table a { color: var(--sky); }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid rgba(18,83,164,0.1); border-radius: 12px; padding: 28px; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--navy); }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.card ul li { font-size: .85rem; color: var(--gray); line-height: 1.6; padding-left: 14px; position: relative; }
.card ul li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

/* LIST */
.styled-list { list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: item; }
.styled-list li { display: flex; gap: 14px; align-items: baseline; font-size: .92rem; line-height: 1.7; color: var(--navy); counter-increment: item; }
.styled-list li::before { content: counter(item, decimal-leading-zero); font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; color: var(--accent); min-width: 28px; font-weight: 700; }

/* MAKER GRID */
.maker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.maker-card { background: #fff; border: 1px solid rgba(18,83,164,0.1); border-radius: 8px; padding: 16px 20px; font-size: .88rem; font-weight: 500; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.maker-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(18,83,164,0.1); border-color: var(--sky); color: var(--blue); }
.maker-card::before { content: '🔗'; font-size: .8rem; }

/* QUOTE BOX */
.quote-box { background: #fff; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 32px 36px; box-shadow: 0 4px 20px rgba(18,83,164,0.07); }
.quote-box p { font-size: 1rem; line-height: 2; color: #3a4a5e; }
.quote-box .sig { margin-top: 20px; font-weight: 700; color: var(--blue); font-size: .92rem; }

/* HISTORY */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.timeline-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(18,83,164,0.08); }
.timeline-year { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; color: var(--accent); min-width: 80px; padding-top: 2px; }
.timeline-text { font-size: .88rem; line-height: 1.7; color: var(--gray); }

/* CTA STRIP */
.cta-strip { background: linear-gradient(135deg, var(--navy), #0e2d5e); border-radius: 14px; padding: 48px 40px; text-align: center; margin-top: 64px; }
.cta-strip h3 { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,0.6); font-size: .9rem; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 6px; font-size: .88rem; font-weight: 700; text-decoration: none; letter-spacing: .04em; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--navy); box-shadow: 0 4px 18px rgba(0,198,224,0.3); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.35); color: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.07); padding: 40px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: .78rem; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
footer p { color: rgba(255,255,255,0.3); font-size: .75rem; }

/* ANIM */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .7s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav ul { display: none; }
  .hamburger { display: flex; }

  .page-hero { padding: 100px 20px 48px; }
  .content { padding: 56px 20px 80px; }

  .card-grid { grid-template-columns: 1fr; }
  .maker-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  .quote-box { padding: 24px 20px; }

  .info-table th { width: 110px; font-size: .82rem; }
  .info-table td { font-size: .85rem; }

  .cta-strip { padding: 36px 20px; }
  .cta-strip h3 { font-size: 1.2rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; justify-content: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 14px; }
}

@media (max-width: 480px) {
  .info-table, .info-table tbody, .info-table tr,
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; background: transparent; color: var(--sky); font-size: .75rem; letter-spacing: .06em; padding-top: 20px; padding-bottom: 2px; }
  .info-table td { padding-top: 4px; padding-bottom: 16px; }
  .info-table tr { border-bottom: 1px solid rgba(18,83,164,0.1); }
  .info-table tr:last-child { border-bottom: none; }

  .section-title { font-size: 1.35rem; }
  .section-label { font-size: .72rem; }

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

  .timeline-item { flex-direction: column; gap: 4px; }
  .timeline-year { font-size: 1.1rem; min-width: auto; }

  .page-hero { padding: 90px 20px 40px; }
  .page-hero h1 { font-size: 2rem; }
}
