@charset "UTF-8";

body {
  background-color: #ffffff;
  line-height: 1.6;
}

.hero {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  color: var(--text-light);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 35, 60, 0.55) 0%, rgba(16, 35, 60, 0.15) 60%, rgba(16, 35, 60, 0.45) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-left {
  margin-bottom: 20px;
}

.hero-en {
  font-family: var(--font-serif-en);
  font-size: 62px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-ja-main {
  font-family: var(--font-serif-ja);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  border-left: 3px solid #ffffff;
  padding-left: 14px;
  margin-bottom: 14px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-ja-sub {
  font-size: 14px;
  line-height: 1.7;
  padding-left: 17px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-right {
  text-align: right;
  margin-bottom: 10px;
}

.hero-caption {
  font-family: var(--font-serif-ja);
  font-size: 14px;
  line-height: 1.9;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  padding-left: 14px;
  text-align: left;
  margin-bottom: 16px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #ffffff;
}

.hero-dots .dot.active {
  background-color: #ffffff;
}

.main-container {
  max-width: 1140px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.grid-section {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

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

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

.card-panel {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 9;
  background-color: #222;
}

.grid-3col .card-panel {
  aspect-ratio: 4 / 3;
}

.card-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-panel:hover img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
}

.card-text {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 60px;
  color: #ffffff;
}

.card-title-en {
  font-family: var(--font-serif-en);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.grid-3col .card-title-en {
  font-size: 23px;
}

.card-title-ja {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.card-arrow {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--navy-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.b2b-banner {
  margin-top: 32px;
  background-color: #f4f6f9;
  border: 1px solid #e1e6ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  gap: 20px;
}

.b2b-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1.2;
}

.b2b-text h3 {
  font-size: 20px;
  color: var(--navy-main);
  margin-bottom: 2px;
}

.b2b-lead {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-main);
  margin-bottom: 6px;
}

.b2b-desc {
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

.b2b-center {
  flex: 0.8;
}

.b2b-center img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
}

.b2b-right {
  flex: 0.9;
  text-align: right;
}

.btn-b2b {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
}

@media (max-width: 960px) {
  .hero-en {
    font-size: 42px;
  }
  .b2b-banner {
    flex-direction: column;
    text-align: center;
  }
  .b2b-left {
    flex-direction: column;
  }
  .b2b-right {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 480px;
  }
  .hero-content {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }
  .hero-right {
    display: none;
  }
  .grid-2col,
  .grid-3col {
    grid-template-columns: 1fr;
  }
}