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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --blue: #00a0e9;
  --blue-bright: #29c0ff;
  --blue-dark: #0078b8;
  --blue-glow: rgba(0,160,233,0.18);
  --navy: #050e1a;
  --navy-mid: #0b1f35;
  --navy-light: #132d4a;
  --white: #ffffff;
  --text: rgba(255,255,255,0.85);
  --text-dim: rgba(255,255,255,0.5);
  --gray-line: rgba(255,255,255,0.1);
  --gray-200: rgba(255,255,255,0.1);
  --gray-50: #0d1826;
  --gray-500: rgba(255,255,255,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Meiryo', sans-serif;
  font-size: 15px; line-height: 1.75;
  color: var(--text); background: var(--navy);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(5,14,26,0.97);
  border-bottom: 1px solid var(--gray-line);
  backdrop-filter: blur(12px);
}
.hdr-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 48px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.hdr-logo {
  font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: 17px; letter-spacing: 0.12em;
  color: var(--white); line-height: 1.2;
}
.hdr-logo span {
  display: block; font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px; font-weight: 300; color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em; margin-top: 2px;
}
.hdr-nav ul { display: flex; gap: 2px; }
.hdr-nav ul li a {
  display: block; padding: 0 14px; height: 68px; line-height: 68px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.hdr-nav ul li a:hover,
.hdr-nav ul li.nav-active a { color: var(--white); border-color: var(--blue); }
.menu-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--white); padding: 4px 8px; }
.mobile-nav { display: none; background: var(--navy-mid); border-bottom: 1px solid var(--gray-line); }
.mobile-nav.open { display: block; }
.mobile-nav ul li a {
  display: block; padding: 13px 24px;
  color: rgba(255,255,255,0.75); font-size: 14px;
  border-bottom: 1px solid var(--gray-line);
}
.mobile-nav ul li a:hover,
.mobile-nav ul li.nav-active a { background: var(--blue-glow); color: #fff; }

/* ===== PAGE HERO STRIP (subpages) ===== */
.page-hero {
  background: var(--navy-mid);
  padding: 36px 48px 40px;
  border-bottom: 1px solid var(--gray-line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,160,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,160,233,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
}
.page-hero-inner { max-width: 1300px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; letter-spacing: 0.04em; }
.breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 6px; opacity: 0.4; }
.page-hero h1 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(20px, 3vw, 32px); font-weight: 700;
  letter-spacing: 0.06em; color: var(--white);
}
.page-hero h1 .accent {
  background: linear-gradient(90deg, var(--white) 40%, var(--blue-bright) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== PAGE BODY ===== */
.page-body { max-width: 1300px; margin: 48px auto 80px; padding: 0 48px; }
.page-body.has-sidebar { display: grid; grid-template-columns: 1fr 240px; gap: 48px; align-items: start; }

/* ===== CONTENT SECTIONS ===== */
.content-section { margin-bottom: 40px; }
.section-heading {
  font-size: 13px; font-weight: 700; color: var(--white);
  padding: 10px 16px;
  background: var(--navy-light);
  border-left: 3px solid var(--blue);
  margin-bottom: 18px; letter-spacing: 0.04em;
}
.section-body { font-size: 14px; line-height: 1.9; color: var(--text); }
.section-body p { margin-bottom: 12px; }
.section-body p:last-child { margin-bottom: 0; }
.section-body a { color: var(--blue); }
.section-body a:hover { text-decoration: underline; }
.section-body img { margin: 14px 0; border: 1px solid var(--gray-line); }
.intro-flex {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 24px;
}
.intro-flex .intro-img {
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
  margin: 0;
}
.intro-flex .intro-text {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 700px) {
  .intro-flex {
    flex-direction: column;
    gap: 16px;
  }
  .intro-flex .intro-img {
    width: 100%;
    max-width: 420px;
    align-self: center;
  }
}
.apply-tag {
  display: inline-block;
  background: var(--blue-glow); color: var(--blue-bright);
  font-size: 13px; padding: 7px 16px;
  border: 1px solid rgba(0,160,233,0.3);
  margin-bottom: 16px; letter-spacing: 0.03em;
}

/* ===== SPEC TABLE ===== */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 14px 0; table-layout: fixed; }
.spec-table th, .spec-table td {
  padding: 10px 14px; border: 1px solid var(--gray-line);
  text-align: left; vertical-align: top; line-height: 1.65;
  word-break: break-word;
}
.spec-table th {
  background: var(--navy-light); font-weight: 500;
  color: rgba(255,255,255,0.7); width: 32%;
}
.spec-table td { background: var(--navy-mid); color: var(--text); }

/* ===== SPEC GROUP (sub-heading inside spec sections) ===== */
.spec-group { margin-top: 22px; }
.spec-group:first-child { margin-top: 0; }
.spec-group-title {
  font-size: 13px; font-weight: 600; color: var(--blue-bright);
  letter-spacing: 0.06em; margin-bottom: 8px;
  padding-left: 12px; border-left: 2px solid var(--blue);
}

/* ===== DATA TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 14px 0; }
.data-table th {
  background: var(--navy-light); color: var(--blue-bright);
  padding: 10px 14px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--gray-line);
}
.data-table td {
  padding: 9px 14px; border: 1px solid var(--gray-line);
  vertical-align: top; line-height: 1.65;
  background: var(--navy-mid); color: var(--text);
}
.data-table tr:nth-child(even) td { background: rgba(11,31,53,0.6); }

/* ===== INFO TABLE ===== */
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th, .info-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--gray-line);
  text-align: left; vertical-align: top; line-height: 1.75;
}
.info-table th { width: 140px; color: var(--text-dim); font-weight: 400; white-space: nowrap; }
.info-table td { color: var(--text); }
.info-table a { color: var(--blue); }

/* ===== SIDEBAR ===== */
.page-sidebar { position: sticky; top: 84px; }
.sidebar-section { margin-bottom: 20px; }
.sidebar-heading {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue);
  padding: 9px 14px;
  background: var(--navy-light);
  border-left: 3px solid var(--blue);
  margin-bottom: 2px;
}
.sidebar-links li a {
  display: block; padding: 9px 14px; font-size: 13px;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid var(--gray-line);
  transition: background 0.15s, color 0.15s; line-height: 1.5;
  background: var(--navy-mid);
}
.sidebar-links li a:hover,
.sidebar-links li.sb-active a {
  background: var(--blue-glow); color: var(--blue-bright);
  border-left: 2px solid var(--blue);
}

/* ===== YOUTUBE ===== */
.youtube-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 16px 0; border: 1px solid var(--gray-line); }
.youtube-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ===== GMAP ===== */
.gmap-wrap { position: relative; padding-bottom: 50%; height: 0; overflow: hidden; margin: 16px 0; border: 1px solid var(--gray-line); }
.gmap-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ===== PHOTO ROW ===== */
.photo-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 14px 0; }
.photo-row img { max-width: 300px; border: 1px solid var(--gray-line); }

/* ===== SITEMAP ===== */
.sitemap-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
.sitemap-cat {
  font-size: 14px; font-weight: 700; color: var(--white);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blue);
  margin-bottom: 14px;
}
.sitemap-cat a { color: var(--white); }
.sitemap-sub li { padding: 7px 0; border-bottom: 1px solid var(--gray-line); font-size: 13px; }
.sitemap-sub a { color: var(--blue); }
.sitemap-sub a:hover { text-decoration: underline; }

/* ===== REC TABLE ===== */
.rec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rec-table th {
  background: var(--navy-light); color: var(--blue-bright);
  padding: 11px 14px; text-align: left; font-weight: 600;
  border: 1px solid var(--gray-line); letter-spacing: 0.04em;
}
.rec-table td { padding: 9px 14px; border-bottom: 1px solid var(--gray-line); color: var(--text); background: var(--navy-mid); }
.rec-table tr:nth-child(even) td { background: rgba(11,31,53,0.7); }

/* ===== FOOTER ===== */
footer { background: var(--navy-mid); color: var(--text-dim); padding: 56px 48px 0; border-top: 1px solid var(--gray-line); }
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--gray-line);
}
.f-logo {
  font-family: 'Barlow', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--white); letter-spacing: 0.12em; display: block; margin-bottom: 2px;
}
.f-logo span {
  display: block; font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px; font-weight: 300; color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em; margin-top: 2px;
}
.f-info { margin-top: 16px; font-size: 12px; line-height: 2.2; }
.f-info a { color: var(--text-dim); transition: color 0.2s; }
.f-info a:hover { color: var(--blue); }
.footer-nav-block { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.footer-nav-block a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-nav-block a:hover { color: var(--white); }
.f-copy { max-width: 1300px; margin: 0 auto; padding: 18px 0; font-size: 10px; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }

/* ===== FADE IN ===== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .hdr-inner, .page-body, .page-hero { padding-left: 24px; padding-right: 24px; }
  .page-body.has-sidebar { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .sitemap-grid { grid-template-columns: 1fr; }
  footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 700px) {
  .hdr-nav { display: none !important; }
  .menu-btn { display: block !important; }
  .photo-row img { max-width: 100%; }
  .spec-table th { width: 100px; font-size: 12px; }
  .data-table th, .data-table td { font-size: 12px; padding: 7px 10px; }
  .rec-table th, .rec-table td { font-size: 12px; padding: 7px 10px; }
  .info-table th { width: 100px; font-size: 13px; }
  .page-hero h1 { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 28px; }
}
