* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", Arial, sans-serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.75;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #d9dee5;
}

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

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #1d2d44;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: #2a3d54;
  font-size: 14px;
}

.nav a:hover {
  color: #1f4f8f;
}

.lang-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-switch button {
  border: 1px solid #c7cfda;
  background: #fff;
  color: #24384d;
  padding: 7px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.lang-switch button:hover {
  background: #eef3f8;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #1f3148;
  color: #fff;
}

.slider {
  position: relative;
  height: 540px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(22,35,52,0.55), rgba(22,35,52,0.70));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 20px 100px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-sub {
  font-size: 21px;
  color: #d9e7f4;
  margin-bottom: 20px;
}

.hero-text {
  max-width: 780px;
  font-size: 16px;
  color: #eef5fb;
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  background: #ffffff;
  color: #1f3148;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
}

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

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  opacity: 0.92;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.slider-dots button.active {
  background: #fff;
}

.page-hero {
  background: linear-gradient(135deg, #223750, #314e70);
  color: #fff;
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px 60px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 38px;
}

.page-hero p {
  margin: 0;
  max-width: 760px;
  color: #e8f0f8;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.section {
  background: #fff;
  border: 1px solid #dde4ec;
  margin-bottom: 24px;
  padding: 30px;
}

.section-title {
  margin: 0 0 18px;
  font-size: 28px;
  color: #1d3047;
  border-left: 4px solid #294a72;
  padding-left: 12px;
}

.lead {
  color: #44586f;
  margin-bottom: 18px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: #fafbfd;
  border: 1px solid #dbe2ea;
  overflow: hidden;
}

.card-image {
  height: 240px;
  overflow: hidden;
  background: #eef2f6;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #29435f;
}

.gallery-title {
  margin: 28px 0 16px;
  font-size: 22px;
  color: #2a3d54;
}

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

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid #dbe2ea;
  background: #f2f5f8;
  cursor: pointer;
}

.strength-list {
  margin: 0;
  padding-left: 20px;
}

.strength-list li {
  margin-bottom: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.info-table th,
.info-table td {
  border: 1px solid #d9dee5;
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 180px;
  background: #f2f5f8;
  color: #24384d;
  font-weight: 600;
}

.contact-box {
  background: #f8fafc;
  border: 1px solid #dde4ec;
  padding: 22px;
}

.contact-box p {
  margin: 0 0 10px;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.notice-box {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #dde4ec;
}

.brand-banner {
  background: linear-gradient(135deg, #243750, #435f84);
  color: #fff;
  padding: 28px;
  border-radius: 6px;
}

.brand-name {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 8px;
}

.footer {
  background: #1d3047;
  color: #d8e1ea;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px;
  text-align: center;
  font-size: 14px;
}

.lang-block {
  display: none;
}

.lang-block.active {
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border: 4px solid #fff;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-2,
  .two-col,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .slider {
    height: 460px;
  }
}

@media (max-width: 720px) {
  .hero-content {
    padding: 80px 20px 80px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .slider {
    height: 420px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .section {
    padding: 22px 18px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: none;
  }
}