@charset "UTF-8";

/* =========================================
   Tokens (white & blue)
   ========================================= */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7fb;
  --color-bg-blue: #0e3b73;          /* primary blue (deep) */
  --color-bg-blue-2: #144a8a;
  --color-bg-blue-light: #eaf1fa;
  --color-text: #142033;             /* near navy */
  --color-text-on-blue: #ffffff;
  --color-muted: #5a6478;
  --color-muted-on-blue: rgba(255,255,255,0.78);
  --color-border: #d8e0ea;
  --color-border-blue: rgba(255,255,255,0.18);
  --color-accent: #1f5fa3;           /* main blue */
  --color-accent-bright: #2d7dd2;    /* lighter blue */
  --color-accent-soft: #c8dcf3;
  --color-secondary: #0b3d7d;        /* darker blue */
  --color-news-badge: #c8252b;
  --container-width: 1240px;
  --font-en: "Bebas Neue", "Oswald", "Inter", "Helvetica Neue", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: underline; }
a:hover { text-decoration: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================
   Site header (white glass, dark text)
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
  transition: background .25s, box-shadow .25s;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(15, 50, 100, 0.08);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--color-text);
}

.site-name .en-tag {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  font-weight: 400;
  margin-bottom: 2px;
}

.site-name a {
  color: inherit;
  text-decoration: none;
}

.site-name a:hover { color: var(--color-accent); }

/* Global navigation */
.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.global-nav a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--color-text);
  text-align: center;
  line-height: 1.15;
  position: relative;
  transition: color .15s;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.global-nav a:hover { color: var(--color-accent); }
.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav a[aria-current="page"] { color: var(--color-accent); }

.global-nav .ja {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.global-nav .en {
  display: block;
  font-family: var(--font-en);
  font-size: 9px;
  color: var(--color-muted);
  letter-spacing: 0.2em;
  margin-top: 2px;
  font-weight: 400;
}

.global-nav a:hover .en,
.global-nav a[aria-current="page"] .en {
  color: var(--color-accent);
}

/* =========================================
   Hero (white & blue cinematic slideshow)
   ========================================= */
.hero-cinema {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
}

.hero-slides { position: absolute; inset: 0; }

.hero-slides .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: heroFade 24s infinite;
  filter: brightness(0.9) saturate(0.95) contrast(1.05);
}

.hero-slides .slide-1 { animation-delay: 0s; }
.hero-slides .slide-2 { animation-delay: 8s; }
.hero-slides .slide-3 { animation-delay: 16s; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; }
  29%  { opacity: 1; transform: scale(1.0); }
  33%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.0); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(14, 59, 115, 0.55);
  pointer-events: none;
}

.hero-grain { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.hero-content .eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.45em;
  color: #fff;
  margin: 0;
  padding-left: 56px;
  position: relative;
}

.hero-content .eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 40px; height: 1px;
  background: #fff;
}

.hero-content .hero-title {
  font-family: var(--font-jp);
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 24px rgba(11, 39, 80, 0.55);
}

.hero-content .hero-title .accent {
  color: #aed0f5;
}

.hero-content .hero-sub {
  margin: 4px 0 0;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.85);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s, color .2s;
}

.hero-cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-accent);
}

.hero-cta .arrow {
  width: 28px; height: 1px;
  background: currentColor;
  position: relative;
}
.hero-cta .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero-meta {
  position: absolute;
  left: 28px; bottom: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.78);
  pointer-events: none;
}

.hero-meta .scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
  letter-spacing: 0.4em;
}

.hero-meta .scroll-hint::after {
  content: "";
  display: block;
  width: 1px; height: 56px;
  background: rgba(255, 255, 255, 0.6);
  animation: scrollHint 2.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* Marquee */
.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.25);
  background: rgba(14, 59, 115, 0.85);
  z-index: 3;
  padding: 10px 0;
  pointer-events: none;
}

.hero-marquee .track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.78);
}
.hero-marquee .track span {
  margin: 0 28px;
}
.hero-marquee .track .dot {
  color: #aed0f5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================
   Page hero (sub-pages, white & blue)
   ========================================= */
.page-hero {
  position: relative;
  color: #fff;
  padding: 200px 0 80px;
  min-height: 360px;
  overflow: hidden;
  background: var(--color-bg-blue);
}

.page-hero .page-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.78) saturate(0.9);
}

.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(14, 59, 115, 0.7);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero .eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: #aed0f5;
  margin: 0 0 12px;
}

.page-hero .crumbs {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin: 16px 0 0;
}

.page-hero .crumbs a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.page-hero .crumbs a:hover { color: #aed0f5; }

.page-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* =========================================
   Sections
   ========================================= */
section {
  padding: 96px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 36px;
  padding: 0;
  background: transparent;
  border: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--color-text);
}

.section-title .section-en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--color-accent);
  font-weight: 400;
}

.section-title .section-jp {
  display: inline-block;
  padding-left: 18px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.2;
}

.sub-title {
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
}

.lead {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 24px;
}

.about { background: #fff; }

.about-text {
  font-size: 16px;
  line-height: 2.1;
  margin: 0 0 40px;
  max-width: 940px;
}

.about-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 16px;
}

.about-figures figure {
  margin: 0;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  padding: 14px;
  text-align: center;
}

.about-figures figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* Stats banner */
.stats {
  background: var(--color-bg-blue);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats::before { display: none; }

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-item .num {
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 1;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stats-item .num small {
  font-size: 18px;
  color: #aed0f5;
  margin-left: 4px;
}

.stats-item .label {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.82);
}

/* =========================================
   News / progress list (light tone)
   ========================================= */
.news {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.news-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.news-list .date {
  flex: 0 0 auto;
  width: 130px;
  color: var(--color-muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  font-family: var(--font-en);
}

.news-list .badge {
  display: inline-block;
  background: var(--color-news-badge);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.15em;
}

.news-list a {
  flex: 1 1 320px;
  word-break: break-word;
  color: var(--color-text);
  text-decoration: none;
}
.news-list a:hover { color: var(--color-accent); text-decoration: underline; }

/* Highlight grid */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 18px;
}

.highlight-card {
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 50, 100, 0.05);
}

.highlight-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--color-accent);
}

.highlight-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  letter-spacing: 0.04em;
}

.highlight-card h3 a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  text-decoration: none;
}

.highlight-card h3 a:hover { text-decoration: underline; }

.highlight-card .news-list { border-top: 0; }
.highlight-card .news-list li:last-child { border-bottom: 0; }
.highlight-card .news-list .date { width: 100px; font-size: 12px; }

/* =========================================
   Info table
   ========================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 32px;
  font-size: 15px;
  background: #fff;
}

.info-table th,
.info-table td {
  border: 1px solid var(--color-border);
  padding: 14px 16px;
  vertical-align: top;
  line-height: 1.8;
}

.info-table th {
  background: var(--color-bg-blue-light);
  text-align: left;
  width: 26%;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
}

/* =========================================
   Contact form
   ========================================= */
.contact-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 0 24px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-family: inherit;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.18);
}

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form .required {
  color: var(--color-news-badge);
  font-size: 11px;
  margin-left: 6px;
  letter-spacing: 0.1em;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  cursor: pointer;
  font-family: var(--font-en);
  text-transform: uppercase;
  transition: background .15s;
}

.btn-submit:hover { background: var(--color-secondary); }

/* =========================================
   Footer (deep blue)
   ========================================= */
.site-footer {
  background: var(--color-bg-blue);
  color: #fff;
  padding: 64px 0 24px;
  margin-top: 0;
  border-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--color-border-blue);
}

.footer-brand .brand-en {
  font-family: var(--font-en);
  font-size: 30px;
  letter-spacing: 0.2em;
  color: #aed0f5;
  margin: 0 0 8px;
}

.footer-brand .brand-jp {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-brand .brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.9;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links a:hover { color: #aed0f5; }

.footer-links a .en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-en);
}

.to-top {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.to-top:hover { color: #aed0f5; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 960px) {
  .header-inner {
    padding: 12px 18px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-name { text-align: center; font-size: 13px; }
  .global-nav ul { justify-content: center; }
  .global-nav a { padding: 4px 8px; }
  .global-nav .en { display: none; }
  .hero-cinema { min-height: 560px; }
  .hero-content .eyebrow { font-size: 11px; padding-left: 36px; letter-spacing: 0.3em; }
  .hero-content .eyebrow::before { width: 24px; }
  .hero-cta { padding: 12px 22px; font-size: 11px; letter-spacing: 0.2em; }
  .hero-meta { display: none; }
  .page-hero { padding: 170px 0 60px; min-height: 280px; }
  section { padding: 64px 0; }
  .section-title { font-size: 22px; }
  .about-figures { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stats-item .num { font-size: 40px; }
  .news-list li { gap: 6px; }
  .news-list .date { width: 100%; font-size: 12px; }
  .news-list a { flex-basis: 100%; }
  .info-table th { width: 38%; font-size: 13px; }
  .info-table td { font-size: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { justify-content: flex-start; gap: 28px; }
}

@media (max-width: 480px) {
  .global-nav a { padding: 4px 6px; }
  .global-nav .ja { font-size: 12px; }
  .hero-cinema { min-height: 520px; }
  .page-hero { padding: 150px 0 50px; }
}
