:root {
  --bg: #f7f9fc;
  --bg-alt: #eef3f8;
  --text: #1d2630;
  --muted: #5c6875;
  --primary: #0077ff;
  --primary-dark: #005ed0;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(20, 44, 81, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #dde5ef;
}

.menu-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  appearance: none;
}

.header-inner {
  position: relative;
  z-index: 120;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.35rem;
}

.main-nav {
  display: flex;
  gap: 1.8rem;
  font-size: 1.05rem;
  color: #000;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 119, 255, 0.12);
}

.nav-toggle:hover {
  background: rgba(0, 119, 255, 0.08);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 1.35rem;
  pointer-events: none;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

#menu-drawn:checked ~ .header-inner .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-drawn:checked ~ .header-inner .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

#menu-drawn:checked ~ .header-inner .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 28, 45, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#menu-drawn:checked ~ .nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  width: min(18rem, 88vw);
  height: 100vh;
  height: 100dvh;
  padding: 5.25rem 1.25rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #fff;
  box-shadow: -8px 0 32px rgba(20, 44, 81, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  pointer-events: none;
}

#menu-drawn:checked ~ .nav-drawer {
  transform: translateX(0);
  pointer-events: auto;
}

.nav-drawer a:not(.btn) {
  padding: 0.95rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #000;
}

.nav-drawer a:not(.btn):hover {
  background: var(--bg-alt);
}

.nav-drawer-cta {
  margin-top: 0.75rem;
  text-align: center;
}

body:has(#menu-drawn:checked),
body.menu-open {
  overflow: hidden;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border: 0;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid #d8e2ef;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding-bottom: clamp(2rem, 7vh, 5rem);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(3, 20, 46, 0.72), rgba(3, 36, 92, 0.35));
}

.hero-content {
  position: relative;
  color: #f4f9ff;
  z-index: 2;
}

.hero-kicker,
.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #9db8d9;
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0.2rem 0 0.8rem;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.section {
  padding: 5rem 0;
}

.is-hidden {
  display: none;
}

.section-alt {
  background: var(--bg-alt);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 1.6rem;
  line-height: 1.4;
}

.grid-3,
.grid-2,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.case,
.price-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.case {
  padding: 0 0 1.2rem;
  overflow: hidden;
}

.case-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  margin-bottom: 0.9rem;
}

.case h3 {
  text-align: center;
  margin: 0.2rem 0 0.45rem;
  padding: 0 1rem;
}

.case p {
  text-align: center;
  padding: 0 1rem;
}

.strength-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.strength-list li {
  background: #fff;
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--primary);
  padding: 0.9rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price {
  font-weight: 800;
  font-size: 1.6rem;
  margin: 0.4rem 0 0.8rem;
}

.price-card ul {
  margin: 0;
  padding-left: 1rem;
}

.price-card.featured {
  border: 2px solid var(--primary);
  position: relative;
}

.badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 99px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.note {
  color: var(--muted);
  margin-top: 1rem;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.flow-list li {
  background: #fff;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #dce9ff;
  color: #0f4fb4;
  font-size: 0.8rem;
  font-weight: 700;
}

.faq-list details {
  background: #fff;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.cta {
  text-align: center;
  color: #f6fbff;
  background: linear-gradient(120deg, #003d8f, #0066d8);
}

.cta .section-label {
  color: #d7e7ff;
}

.cta-phone {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.contact-form label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid #cad6e3;
  border-radius: 8px;
  font: inherit;
}

.required {
  color: #cb223f;
  font-size: 0.86rem;
  margin-left: 0.3rem;
}

.site-footer {
  padding: 3rem 0;
}

.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.company-by {
  margin: -0.8rem 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.copyright {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 961px) {
  .nav-overlay,
  .nav-drawer {
    display: none;
  }

  #menu-drawn:checked ~ .nav-drawer {
    transform: translateX(100%);
    pointer-events: none;
  }

  #menu-drawn:checked ~ .nav-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 960px) {
  .grid-3,
  .grid-2,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-actions > .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 82vh;
  }

  .grid-3,
  .grid-2,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
