/* ===================================
   Base / Reset
   =================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #0a1e3d;
  --color-primary-light: #132d5e;
  --color-primary-dark: #060f1f;
  --color-accent: #1a3a6b;
  --color-white: #ffffff;
  --color-off-white: #f4f6f9;
  --color-gray: #8a95a5;
  --color-gray-light: #d0d5dd;
  --color-text: #1a1a2e;
  --color-text-light: #4a5568;
  --color-red: #c53030;
  --color-sale: #b91c1c;
  --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Helvetica Neue", Arial, sans-serif;
  --header-height: 72px;
  --section-padding: 100px 0;
  --container-width: 1080px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

/* ===================================
   Header
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10, 30, 61, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.logo a {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
}

.logo a span {
  font-weight: 300;
  opacity: 0.8;
}

.nav ul {
  display: flex;
  gap: 36px;
}

.nav ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
}

.nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width var(--transition);
}

.nav ul li a:hover {
  color: var(--color-white);
}

.nav ul li a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ===================================
   Hero
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-accent) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 31, 0.7);
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  border-radius: 50%;
}


.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  opacity: 0.85;
  font-weight: 300;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 2;
  opacity: 0.8;
  margin-bottom: 40px;
  font-weight: 300;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
  text-align: center;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 18px 56px;
  font-size: 1.0625rem;
}

/* ===================================
   Sections Common
   =================================== */
.section {
  padding: var(--section-padding);
}

.section-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 4px;
}

.section-title-ja {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  color: var(--color-text);
}

/* ===================================
   Concept
   =================================== */
.concept {
  background: var(--color-off-white);
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.concept-card {
  background: var(--color-white);
  padding: 48px 32px;
  border-radius: 8px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 30, 61, 0.08);
}

.concept-icon {
  color: var(--color-primary);
  margin-bottom: 24px;
}

.concept-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.concept-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

.concept-ba {
  margin-top: 56px;
  text-align: center;
}

.concept-ba img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(10, 30, 61, 0.1);
}

/* ===================================
   Product
   =================================== */
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 48px;
}

.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.product-img {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  border-radius: 8px;
  background: var(--color-off-white);
  padding: 24px;
  object-fit: contain;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info .btn-order {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 8px auto 0;
  padding: 20px 48px;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 8px;
  background: linear-gradient(135deg, #1565c0 0%, #0a1e3d 100%);
  color: #fff;
  text-align: center;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(10, 30, 61, 0.3);
}

.product-info .btn-order:hover {
  background: linear-gradient(135deg, #1976d2 0%, #0d2a52 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(10, 30, 61, 0.4);
}

.product-image-placeholder {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  gap: 12px;
}

.product-image-placeholder span {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.product-image-placeholder small {
  font-size: 0.8125rem;
  opacity: 0.6;
}

.product-name {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.9;
}

.price-box {
  background: var(--color-off-white);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 28px;
  text-align: center;
}

.price-regular {
  margin-bottom: 8px;
}

.price-label {
  font-size: 0.8125rem;
  color: var(--color-gray);
  margin-right: 8px;
}

.price-amount {
  font-size: 1.25rem;
  font-weight: 700;
}

.price-amount.strikethrough {
  text-decoration: line-through;
  color: var(--color-gray);
  font-weight: 400;
}

.price-amount small {
  font-size: 0.75rem;
  font-weight: 400;
}

.price-arrow {
  color: var(--color-gray-light);
  font-size: 0.75rem;
  margin: 4px 0;
}

.price-sale {
  margin-top: 4px;
}

.price-badge {
  display: inline-block;
  background: var(--color-sale);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.price-amount.sale {
  font-size: 2.25rem;
  color: var(--color-sale);
}

.price-amount.sale small {
  font-size: 0.875rem;
}

.price-discount {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-sale);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ===================================
   Contact Form
   =================================== */
.contact {
  background: var(--color-off-white);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(10, 30, 61, 0.06);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.required {
  font-size: 0.6875rem;
  color: var(--color-white);
  background: var(--color-sale);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 600;
  vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-gray-light);
  border-radius: 6px;
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 30, 61, 0.08);
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-agree {
  text-align: center;
}

.form-agree label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}

.form-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.form-agree a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.form-submit .btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.form-submit .btn-primary:hover {
  background: var(--color-primary-light);
}

/* ===================================
   Modal
   =================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.modal-message {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 28px;
}

.modal-btn {
  display: inline-block;
  padding: 12px 40px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}

.modal-btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

/* reCAPTCHA badge position */
.grecaptcha-badge {
  visibility: hidden;
}

/* ===================================
   Company
   =================================== */
.company-table-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--color-gray-light);
}

.company-table th,
.company-table td {
  padding: 20px 16px;
  font-size: 0.9375rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.company-table th {
  width: 160px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.company-table td {
  color: var(--color-text-light);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 32px;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.footer-logo span {
  font-weight: 300;
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --section-padding: 64px 0;
  }

  /* Hamburger visible */
  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary-dark);
    transition: right var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav.open {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .nav ul li a {
    display: block;
    padding: 16px 40px;
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 0.875rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  /* Section titles */
  .section-title-ja {
    font-size: 1.375rem;
    margin-bottom: 40px;
  }

  /* Concept */
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .concept-card {
    padding: 36px 24px;
  }

  /* Product */
  .product-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }

  .product-image-placeholder {
    aspect-ratio: 4/3;
  }

  .price-amount.sale {
    font-size: 1.875rem;
  }

  /* Form */
  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
  }

  /* Company */
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .company-table th {
    padding-bottom: 0;
    border: none;
  }

  .company-table tr {
    padding: 12px 0;
  }

  /* Footer */
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-desc br {
    display: none;
  }

  .product-image-placeholder span {
    font-size: 1.125rem;
  }
}
