:root {
  --navy: #111c5b;
  --navy-dark: #071346;
  --blue: #284ca3;
  --pale: #f4f7ff;
  --line: #dbe2f4;
  --text: #151d35;
  --muted: #626d80;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(7, 19, 70, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Meiryo, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
  background: linear-gradient(180deg, #f8faff 0%, #fff 44%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-dark), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
}

.page-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: intro-hide 1.35s ease .9s forwards;
}
.intro-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .07), transparent 38%),
    var(--navy-dark);
}
.intro-panel.left {
  left: 0;
  transform-origin: left center;
  animation: curtain-left 1.05s cubic-bezier(.76,0,.24,1) .55s forwards;
}
.intro-panel.right {
  right: 0;
  transform-origin: right center;
  animation: curtain-right 1.05s cubic-bezier(.76,0,.24,1) .55s forwards;
}
.page-intro img {
  position: relative;
  z-index: 2;
  width: 136px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .28);
  animation: logo-reveal 1.1s ease forwards;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header {
  top: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy-dark);
  font-weight: 800;
  white-space: nowrap;
}
.brand-logo {
  flex: 0 0 auto;
  width: 54px;
  height: 42px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(7,19,70,.16);
}
.site-nav {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
}
.site-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.site-nav a {
  color: #33405d;
  background: var(--pale);
}
.site-nav a:hover {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(7,19,70,.08);
}
.header-cta {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(7,19,70,.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  color: var(--navy-dark);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.22;
}
h2 {
  color: var(--navy-dark);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.35;
}
h3 { color: var(--navy-dark); }
.hero-copy p:not(.eyebrow),
.section-heading p,
.split p,
.final-cta p,
.contact-hero p {
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 28px rgba(7,19,70,.2);
}
.button.secondary {
  color: var(--navy);
  background: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3ff, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-slider {
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .9s ease, transform 5.2s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}
.photo-hero img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}
.photo-hero::after,
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,70,.02), rgba(7,19,70,.28));
  pointer-events: none;
}
.curtain {
  position: absolute;
  top: -40px;
  bottom: -40px;
  width: 46%;
  background: linear-gradient(90deg, var(--navy-dark), var(--blue), var(--navy));
  opacity: .95;
  transform: skewX(-8deg);
}
.curtain-a { left: 12%; animation: curtain-wave 5s ease-in-out infinite alternate; }
.curtain-b { right: 6%; animation: curtain-wave 6s ease-in-out infinite alternate-reverse; }
.visual-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 1;
  padding: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.visual-card strong,
.visual-card span { display: block; }
.visual-card strong { color: var(--navy-dark); font-size: 20px; }
.visual-card span { color: var(--muted); }
.slider-dots {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 9px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(219,226,244,.86);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  background: #b9c5e7;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.slider-dots button.is-active {
  width: 28px;
  background: var(--navy);
}

.quick-points,
.section,
.final-cta,
.contact-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(18px, 4vw, 38px);
}
.quick-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}
.quick-points article,
.strength-grid article,
.flow-list li,
.faq-list details,
.form-block,
.product-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7,19,70,.08);
}
.quick-points article { padding: 22px; }
.quick-points strong,
.quick-points span { display: block; }
.quick-points strong { color: var(--navy-dark); }
.quick-points span { color: var(--muted); font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.section-photo {
  margin: 28px 0 0;
}
.section-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7,19,70,.08);
}
.section-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.strength-grid,
.product-grid,
.check-grid,
.flow-list {
  display: grid;
  gap: 16px;
}
.strength-content {
  display: grid;
  gap: 16px;
}
.strength-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strength-grid article { padding: 24px; }
.interview-panel {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.interview-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(7,19,70,.22);
}
.interview-panel span {
  color: #d9e4ff;
  font-size: 13px;
  font-weight: 800;
}
.interview-panel strong {
  font-size: 20px;
}
.strength-grid span,
.flow-list span {
  color: var(--blue);
  font-weight: 800;
}
.strength-grid p,
.flow-list p,
.faq-list p,
.product-detail p { color: var(--muted); }

.product-section,
.guide-section,
.faq-section {
  max-width: none;
  background: var(--pale);
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}
.product-grid,
.check-grid,
.flow-list,
.faq-list,
.product-detail {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 22px;
  text-align: left;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-card:hover,
.product-card.is-active {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.product-card span { color: var(--navy-dark); font-size: 18px; font-weight: 800; }
.product-card small { color: var(--muted); }
.product-detail {
  margin-top: 18px;
  padding: 28px;
}
.product-detail ul { margin-bottom: 0; }

.movie-section {
  max-width: none;
  background: linear-gradient(180deg, #ffffff 0%, var(--pale) 100%);
}
.movie-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.movie-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--navy-dark);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.movie-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.movie-copy {
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7,19,70,.08);
}
.movie-copy p:not(.eyebrow) {
  color: var(--muted);
}
.movie-copy .button {
  margin-top: 10px;
}

dl { margin: 0; }
dt { color: var(--blue); font-weight: 800; }
dd { margin: 0; color: var(--muted); }

.check-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 26px;
}
.check-grid span {
  padding: 13px 14px;
  color: var(--navy-dark);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.guide-section .button { margin: 0 auto; }

.flow-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}
.flow-list li { padding: 22px; }

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details { padding: 20px 22px; }
.faq-list summary {
  color: var(--navy-dark);
  font-weight: 800;
  cursor: pointer;
}
.faq-list p { margin: 12px 0 0; }

.message-section {
  max-width: 1040px;
}
.message-card {
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.message-card p:not(.eyebrow) {
  color: var(--muted);
}
.message-name {
  margin-bottom: 0;
  color: var(--navy-dark) !important;
  font-weight: 800;
}
.chief-message-section {
  max-width: 1180px;
  padding-top: 0;
}
.chief-message-layout {
  display: grid;
  grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}
.chief-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.chief-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,70,0), rgba(7,19,70,.18));
  pointer-events: none;
}
.chief-slider img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.chief-message-card {
  padding: clamp(28px, 5vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7,19,70,.08);
}
.chief-message-card p {
  color: var(--muted);
}
.company-section {
  padding-top: 0;
}
.company-list {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7,19,70,.08);
}
.company-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.company-list div:first-child {
  border-top: 0;
}
.company-list dt {
  color: var(--blue);
  font-weight: 800;
}
.company-list dd {
  margin: 0;
  color: var(--text);
}

.final-cta {
  text-align: center;
}
.final-cta .hero-actions { justify-content: center; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #dfe7ff;
  background: var(--navy-dark);
}
.site-footer img {
  width: 84px;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .24);
}
.site-footer p {
  margin: 0;
  color: #dfe7ff;
}

.contact-hero {
  text-align: center;
}
.phone-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--navy);
  font-weight: 800;
}
.contact-form {
  display: grid;
  gap: 24px;
}
.form-block { padding: clamp(24px, 4vw, 38px); }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-dark);
  font-weight: 800;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(40,76,163,.14);
  border-color: var(--blue);
  background: var(--white);
}
.wide { margin-top: 18px; }
.contact-form textarea { resize: vertical; }
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-status {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes curtain-left { to { transform: translateX(-102%); } }
@keyframes curtain-right { to { transform: translateX(102%); } }
@keyframes intro-hide { to { visibility: hidden; opacity: 0; } }
@keyframes logo-reveal {
  0% { opacity: 0; transform: translateY(12px) scale(.94); }
  42%, 72% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-12px) scale(.98); }
}
@keyframes curtain-wave {
  from { transform: skewX(-8deg) translateX(-8px); }
  to { transform: skewX(-5deg) translateX(14px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .brand-logo {
    width: 52px;
    height: 40px;
  }
  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .hero,
  .split,
  .chief-message-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
  }
  .product-grid,
  .flow-list,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .site-header {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: 12px 14px;
  }
  .brand {
    width: 100%;
  }
  .brand-logo {
    width: 52px;
    height: 40px;
  }
  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .header-cta { width: 100%; }
  .hero {
    padding: 36px 16px;
  }
  h1 {
    font-size: 34px;
    line-height: 1.28;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .button {
    width: 100%;
  }
  .hero-visual {
    min-height: 330px;
  }
  .chief-slider {
    min-height: 360px;
  }
  .photo-hero img,
  .hero-slide img,
  .chief-slider img {
    min-height: 330px;
  }
  .slider-dots {
    top: 14px;
    right: 14px;
  }
  .slider-dots button {
    width: 9px;
    height: 9px;
  }
  .slider-dots button.is-active {
    width: 24px;
  }
  .visual-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 18px;
  }
  .visual-card strong {
    font-size: 18px;
  }
  .quick-points,
  .product-grid,
  .flow-list,
  .check-grid,
  .strength-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .section,
  .quick-points,
  .final-cta,
  .contact-hero {
    padding: 42px 16px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer img {
    width: 84px;
    max-width: none;
  }
  .movie-layout {
    grid-template-columns: 1fr;
  }
}
