/* English home page: shared site header and footer are in products-detail.css. */
.en-hero {
  position: relative;
  height: min(920px, calc(100svh - 96px));
  min-height: 620px;
  overflow: hidden;
  background: var(--color-bg);
}

.en-hero__background {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.en-hero__slides {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(70vw, 1340px);
  aspect-ratio: 1338 / 759;
  overflow: hidden;
}

.en-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.en-hero__slide.is-active {
  opacity: 1;
  transform: none;
}

.en-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.en-hero__copy {
  position: absolute;
  left: clamp(64px, 8.3vw, 160px);
  bottom: clamp(100px, 18%, 185px);
  z-index: 2;
  width: min(840px, 52vw);
  margin: 0;
  color: #101820;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: clamp(34px, 2.9vw, 56px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .015em;
}

.en-hero__copy span { white-space: nowrap; }

.en-hero__indicator {
  position: absolute;
  right: 32px;
  bottom: 44px;
  z-index: 3;
  display: flex;
  gap: 4px;
}

.en-hero__indicator button {
  width: 64px;
  height: 4px;
  padding: 0;
  border: 0;
  background: var(--color-navy-light);
  cursor: pointer;
}

.en-hero__indicator button.is-active { background: var(--color-primary); }

.en-hero__scroll {
  position: absolute;
  left: 64px;
  bottom: 32px;
  z-index: 3;
  width: 18px;
  height: 160px;
  border-left: 2px solid #fff;
  color: #fff;
}

.en-hero__scroll span {
  display: block;
  margin: 7px 0 0 6px;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  writing-mode: vertical-rl;
}

.en-hero__scroll::after {
  position: absolute;
  bottom: 8px;
  left: -4px;
  width: 6px;
  height: 64px;
  border-radius: 5px;
  background: #fff;
  content: "";
}

.en-about {
  position: relative;
  min-height: 850px;
  padding: 120px 64px;
  overflow: hidden;
  background: var(--color-border);
}

.en-about__background-text {
  position: absolute;
  top: 24px;
  left: -5px;
  color: var(--color-bg);
  font-family: Roboto, sans-serif;
  font-size: clamp(100px, 8.3vw, 160px);
  font-weight: 800;
  line-height: 1.3;
  opacity: .7;
  white-space: nowrap;
  pointer-events: none;
}

.en-about__content {
  position: relative;
  z-index: 1;
  width: min(880px, 56%);
}

.en-about h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 2.2vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}

.en-about__rule {
  width: min(412px, 100%);
  height: 4px;
  margin-bottom: 64px;
  background: linear-gradient(to right, var(--color-navy-dark) 0 71%, var(--color-primary) 71% 100%);
}

.en-about__tagline {
  margin: 0 0 40px;
  font-size: clamp(25px, 2.4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
}

.en-about__lead {
  max-width: 860px;
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 2;
}

.en-about__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.en-about__card {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  color: #fff;
}

.en-about__card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.en-about__card:hover > img { transform: scale(1.04); }

.en-about__card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  content: "";
}

.en-about__card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 16px 24px;
}

.en-about__card strong {
  display: block;
  min-height: 47px;
  border-bottom: 2px solid #fff;
  font-size: 17px;
  line-height: 1.25;
}

.en-about__card-content > span {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.en-about__card em {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: auto;
  font-size: 12px;
  font-style: normal;
}

.en-about__card em img { width: 20px; height: 20px; }

.en-about__photos {
  position: absolute;
  top: -19px;
  right: 0;
  width: min(35.1vw, 674px);
  height: auto;
}

.site-footer__brand img { width: 450px; max-width: 100%; }
.footer-nav__col { gap: 16px; }
.footer-nav a { font-weight: 700; }

@media (max-width: 1500px) {
  .en-about { padding: 96px 40px; }
  .en-about__content { width: min(760px, 58%); }
  .en-about__photos { width: 35vw; }
  .en-about__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-about__card { min-height: 200px; }
  .en-hero__copy { left: 80px; }
}

@media (max-width: 1050px) {
  .en-about { min-height: 0; }
  .en-about__content { width: 100%; max-width: 760px; }
  .en-about__photos { display: none; }
  .en-hero__slides { width: 80vw; }
  .en-hero__copy { width: 55vw; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .en-hero {
    height: calc(100svh - 48px);
    min-height: 530px;
    max-height: 760px;
  }
  .en-hero__background { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .en-hero__slides { top: 70px; right: 0; bottom: auto; width: 92%; height: 47%; aspect-ratio: auto; }
  .en-hero__copy { left: 24px; bottom: 90px; width: calc(100% - 48px); font-size: clamp(25px, 6.7vw, 36px); }
  .en-hero__copy span { white-space: normal; }
  .en-hero__indicator { right: 16px; bottom: 34px; gap: 4px; }
  .en-hero__indicator button { width: 28px; }
  .en-hero__scroll { left: 15px; bottom: 16px; height: 80px; }
  .en-hero__scroll::after { height: 24px; }
  .en-hero__scroll span { font-size: 10px; }
  .en-about { padding: 88px 16px 64px; }
  .en-about__background-text { top: 0; font-size: 64px; }
  .en-about h2 { font-size: 28px; }
  .en-about__rule { margin-bottom: 40px; }
  .en-about__tagline { margin-bottom: 24px; font-size: 27px; }
  .en-about__lead { margin-bottom: 32px; font-size: 15px; line-height: 1.8; }
  .en-about__cards { gap: 12px; }
  .en-about__card { min-height: 220px; }
  .en-about__card-content { padding: 20px 12px 16px; }
  .en-about__card strong { min-height: 45px; font-size: 15px; }
  .en-about__card-content > span { font-size: 12px; }
  .en-about__card em { font-size: 10px; }
  .site-footer__brand img { width: 294px; }
}

@media (max-width: 420px) {
  .en-about__cards { grid-template-columns: 1fr 1fr; }
  .en-about__card { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .en-hero__slide, .en-about__card > img { transition: none; }
}
