/* ===== VARIABLES ===== */
:root {
  --navy:        #0d1b2a;
  --navy-mid:    #162233;
  --navy-light:  #1e3048;
  --navy-border: #2a4060;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-pale:   #f5e8c0;
  --white:       #f8f5ef;
  --white-dim:   rgba(248,245,239,0.75);
  --white-faint: rgba(248,245,239,0.12);
  --text-body:   #c8d4de;
  --text-muted:  #7a9bb8;
  --accent:      #4a90b8;
  --shadow:      0 4px 32px rgba(0,0,0,0.35);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.45);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--navy);
  color: var(--text-body);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,27,42,0.97);
  border-bottom: 1px solid rgba(201,168,76,0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* 切り出し済みアイコン画像（484×325px） */
.logo-img-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: invert(1) sepia(0.15);
  mix-blend-mode: screen;
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.logo-sub {
  font-size: 9.5px;
  color: var(--gold);
  letter-spacing: 0.10em;
  line-height: 1.3;
}

.logo-tagline {
  font-size: 11px;
  color: rgba(248,245,239,0.80);
  letter-spacing: 0.05em;
  line-height: 1.3;
  font-family: 'Noto Serif JP', serif;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color 0.3s;
  font-weight: 400;
}

nav a:hover { color: var(--gold); }
nav a.active { color: var(--gold); }

.nav-contact {
  padding: 8px 20px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  transition: all 0.3s !important;
}

.nav-contact:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(74,144,184,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, #0a1520 60%, #101e30 100%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }

.hero-eyebrow-text {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 12px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-title strong {
  display: block;
  font-weight: 500;
  color: var(--gold-light);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  font-family: 'Cormorant Garamond', serif;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 480px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after { opacity: 0.1; }

.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(201,168,76,0.10);
  border-color: var(--gold);
}

/* Hero stat card */
.hero-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 40px;
  position: relative;
  animation: fadeLeft 1s ease 0.4s both;
}

.hero-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-num span { font-size: 1.4rem; color: var(--gold); }

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.10em;
}

.stat-divider {
  height: 1px;
  background: rgba(201,168,76,0.15);
  margin-bottom: 28px;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  padding: 110px 5% 56px;
  background: linear-gradient(160deg, var(--navy) 0%, #0a1520 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.page-banner-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

.page-banner-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.page-banner-line { width: 32px; height: 1px; background: var(--gold); }

.page-banner-en {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-banner-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
}

/* ===== SECTION COMMON ===== */
section.content {
  padding: 96px 5%;
}

section.content.alt {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { margin-bottom: 56px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eyebrow-line { width: 32px; height: 1px; background: var(--gold); }

.eyebrow-text {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
}

.section-title em { font-style: normal; color: var(--gold-light); }

.section-desc {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 2;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.10);
}

.product-card {
  background: var(--navy-mid);
  padding: 40px 32px;
  transition: background 0.3s;
  position: relative;
}

.product-card:hover { background: var(--navy-light); }

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 32px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}

.product-card:hover::after { width: calc(100% - 64px); }

.product-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(201,168,76,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 20px;
}

.product-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(201,168,76,0.08);
}

.feature-item {
  background: var(--navy);
  padding: 48px 40px;
  display: flex;
  gap: 28px;
  transition: background 0.3s;
}

.feature-item:hover { background: var(--navy-mid); }

.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201,168,76,0.20);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
}

.feature-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  border: 1px solid rgba(201,168,76,0.15);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.industry-card:hover {
  border-color: rgba(201,168,76,0.40);
  background: rgba(201,168,76,0.04);
}

.industry-card:hover::before { opacity: 1; }

.industry-icon { font-size: 2rem; margin-bottom: 16px; display: block; }

.industry-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.industry-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact-info-block {
  max-width: 600px;
  border: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
}

.contact-info-item {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  width: 100px;
  flex-shrink: 0;
  padding: 16px 18px;
  background: rgba(201,168,76,0.04);
  border-right: 1px solid rgba(201,168,76,0.10);
  display: flex;
  align-items: center;
}

.contact-info-value {
  font-size: 14px;
  color: var(--text-body);
  padding: 16px 20px;
  line-height: 1.7;
  display: flex;
  align-items: center;
}

.contact-info-value a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-value a:hover { color: var(--gold-pale); }

/* ===== COMPANY TABLE ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(201,168,76,0.15);
}

.company-table th,
.company-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
  line-height: 1.8;
  vertical-align: top;
}

.company-table th {
  width: 160px;
  background: rgba(201,168,76,0.04);
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 11px;
  border-right: 1px solid rgba(201,168,76,0.10);
}

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

.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

.company-table a { color: var(--gold-light); text-decoration: none; }
.company-table a:hover { color: var(--gold-pale); }

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 12px; bottom: -48px;
  width: 1px;
  background: rgba(201,168,76,0.20);
}

.timeline-item:last-child::before { display: none; }

.timeline-year-col {
  text-align: right;
  padding-top: 8px;
  flex-shrink: 0;
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.timeline-era {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.timeline-body {
  padding-left: 32px;
  position: relative;
}

.timeline-body::before {
  content: '';
  position: absolute;
  left: -6px; top: 12px;
  width: 12px; height: 12px;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.timeline-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 24px 28px;
}

.timeline-content.has-photo {
  padding-bottom: 0;
  overflow: hidden;
}

.timeline-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.5;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
}

.timeline-content.has-photo {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 20px;
  align-items: start;
}

.timeline-photo-col { flex-shrink: 0; }

.timeline-photo {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) brightness(0.85);
  transition: filter 0.4s;
  border: 1px solid rgba(201,168,76,0.12);
}

.timeline-content:hover .timeline-photo {
  filter: grayscale(0%) brightness(1);
}

.timeline-photo-caption {
  font-size: 10px;
  color: var(--text-muted);
  padding: 6px 2px;
  letter-spacing: 0.05em;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.10);
  margin-top: 4px;
}

/* ===== SECURITY POLICY ===== */
.policy-lead {
  font-size: 14px;
  color: var(--text-body);
  line-height: 2.1;
  max-width: 720px;
  margin-bottom: 48px;
  padding: 28px 32px;
  border: 1px solid rgba(201,168,76,0.15);
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.02);
}

.policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(201,168,76,0.08);
}

.policy-item {
  background: var(--navy);
  padding: 36px 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: background 0.3s;
}

.policy-item:hover { background: var(--navy-mid); }

.policy-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(201,168,76,0.22);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}

.policy-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.policy-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.9;
}

.policy-footer {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(201,168,76,0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.policy-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
footer {
  background: #070e16;
  padding: 40px 5%;
  border-top: 1px solid rgba(201,168,76,0.10);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-nav { display: flex; gap: 28px; }

.footer-nav a {
  text-decoration: none;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.10em;
  transition: color 0.3s;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    padding: 32px 5%;
    gap: 0;
    z-index: 99;
    border-top: 1px solid rgba(201,168,76,0.15);
    overflow-y: auto;
  }
  nav.open a {
    font-size: 15px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text-body);
  }
  nav.open .nav-contact {
    margin-top: 16px;
    text-align: center;
    border: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
  }
  .hamburger { display: flex; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-stat-card { max-width: 480px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 24px; }
  .timeline-content.has-photo { grid-template-columns: 1fr 140px; }
}

@media (max-width: 640px) {
  section.content { padding: 64px 5%; }
  .hero { padding: 100px 5% 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline-item::before { display: none; }
  .timeline-year-col { text-align: left; }
  .timeline-body { padding-left: 0; }
  .timeline-body::before { display: none; }
  .timeline-content.has-photo { grid-template-columns: 1fr; }
  .timeline-photo { height: 200px; }
  .company-table th,
  .company-table td { padding: 14px 16px; }
  .policy-item { flex-direction: column; gap: 8px; padding: 28px 24px; }
}
