:root {
  --primary: #0a2540;
  --primary-light: #134b7c;
  --accent: #00a8e8;
  --accent-dark: #0077a8;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --text: #1a1a2e;
  --text-light: #5b6b7b;
  --border: #e1e8ed;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans SC", "Noto Sans", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a { position: relative; color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--accent-dark); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width .2s;
}
.nav-links a:hover::after { width: 100%; }

.lang-switch {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.8rem; font-weight: 600;
}
.lang-switch a {
  padding: 6px 10px; border-radius: 4px;
  color: var(--text-light); border: 1px solid transparent;
}
.lang-switch a.active {
  background: var(--primary); color: #fff;
}
.lang-switch a:hover:not(.active) { border-color: var(--border); color: var(--primary); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--primary); transition: .3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(10,37,64,0.75), rgba(10,37,64,0.85)), url('../images/hero-towers.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-content { max-width: 900px; }
.hero-tag {
  display: inline-block;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 30px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 24px; white-space: pre-line;
}
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.9);
  max-width: 760px; margin: 0 auto 40px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,120,168,.3); }
.btn-outline { border: 2px solid rgba(255,255,255,0.8); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Sections */
section { padding: 96px 24px; }
.section-title {
  text-align: center; margin-bottom: 56px;
}
.section-title h2 { font-size: 0.9rem; color: var(--accent-dark); letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.section-title h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--primary); margin-top: 8px; font-weight: 700; }
.alt-bg { background: var(--bg-alt); }

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

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text-light); margin-bottom: 20px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-card {
  background: #fff; border: 1px solid var(--border);
  padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-card h4 { font-size: 1.2rem; color: var(--primary); margin-bottom: 4px; }
.about-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.about-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

/* Company table */
.company-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.company-table th, .company-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--border); }
.company-table th { width: 28%; background: var(--bg-alt); color: var(--primary); font-weight: 700; white-space: nowrap; }
.company-table td { color: var(--text-light); }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }

/* Vision */
.vision {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; text-align: center;
}
.vision .section-title h2, .vision .section-title h3 { color: #fff; }
.vision .section-title h2 { color: var(--accent); }
.vision p { max-width: 760px; margin: 0 auto; font-size: 1.1rem; opacity: 0.92; white-space: pre-line; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(10,37,64,0.12); }
.product-img { height: 200px; overflow: hidden; background: var(--bg-alt); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 24px; }
.product-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--accent-dark); background: rgba(0,168,232,0.1); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.product-body h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; }
.product-body p { font-size: 0.9rem; color: var(--text-light); }

/* Global */
.global-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.global-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.global-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.stat { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.stat strong { display: block; font-size: 1.4rem; color: var(--primary); }
.stat span { font-size: 0.85rem; color: var(--text-light); }
.global-locations h4 { color: var(--primary); margin-bottom: 16px; }
.loc-list { display: grid; gap: 12px; }
.loc-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.loc-item strong { color: var(--primary); }
.loc-item span { color: var(--text-light); text-align: right; }

/* History */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--accent), var(--primary));
}
.timeline-item { position: relative; margin-bottom: 28px; padding-left: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -3px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year { font-size: 1.15rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 4px; }
.timeline-text { color: var(--text-light); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.contact-form { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--primary); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info { background: var(--primary); color: #fff; padding: 36px; border-radius: var(--radius); }
.contact-info h4 { font-size: 1.2rem; margin-bottom: 24px; }
.contact-info p { margin-bottom: 16px; opacity: 0.9; }
.contact-info .label { font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.note {
  margin-top: 18px; padding: 14px; background: var(--bg-alt); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.85rem; color: var(--text-light);
}

/* Footer */
footer { background: #071b2e; color: rgba(255,255,255,0.7); padding: 40px 24px; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); padding: 24px;
    display: none; flex-direction: column; gap: 16px;
    z-index: 999;
  }
  .mobile-menu.active { display: flex; }
  .mobile-menu a { font-size: 1.1rem; font-weight: 600; color: var(--primary); padding: 12px 0; border-bottom: 1px solid var(--border); }
  .about-grid, .global-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-cards, .global-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 2rem; }
  .about-cards, .global-stats { grid-template-columns: 1fr; }
  .company-table th { width: 36%; }
}
