:root {
  --bg: #fff;
  --text: #000;
  --blue: #0C3CA6;
  --blue-deep: #0C3CA6;
  --line: #0C3CA6;
  --accent: #F83D38;
  --shadow: 0 10px 30px rgba(28, 73, 183, 0.08);
  --container: calc(100% - 96px);
  --vheight: min(1100px, calc(100vh - 78px));
  --content-narrow: 74%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", sans-serif;
}

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

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

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

.hero {
  min-height: 560px;
  position: relative;
  color: #fff;
  overflow: hidden;
  height: var(--vheight);
}

.hero::after {
  content: "";
  position: fixed;
  z-index: -9999;
  inset: 0;
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: top;
  pointer-events: none;
}

.hero__inner {
  width: var(--container);
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  padding: 76px 0 64px;
}

.hero__title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(60px, 6vw, 60px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  max-width: 7ch;
}

.hero__sub {
  margin: 42px 0 0;
  max-width: 220px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__title {
  font-family: "Poppins", sans-serif;
  color: var(--blue);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-switch a {
  position: relative;
  opacity: 0.72;
}

.lang-switch a.is-active {
  opacity: 1;
}

.lang-switch a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--accent);
}

.about {
  padding: 160px 0 110px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
}

.section-title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(40px, 4vw, 40px);
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.section-line {
  height: 1px;
  background: var(--line);
  margin-top: 18px;
}

.about__content {
  margin-top: 54px;
}

.slider {
  width: min(100%, var(--content-narrow));
  margin-left: auto;
}

.slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #daddf0;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.slider__slide {
  min-width: 100%;
  height: 100%;
}

.slider__slide .youtube {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider__dot {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #d5d5d5;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slider__dot.is-active {
  background: var(--accent);
}

.slider__dot:hover {
  transform: scale(1.08);
}

.about__text {
  width: min(100%, var(--content-narrow));
  margin-top: 97px;
  margin-left: auto;
  padding-right: 10%;
}

.about__heading {
  margin: 0 0 50px;
  font-family: "Poppins", sans-serif;
  color: var(--blue);
  font-size: 40px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about__heading .jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
}

.about__body p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 2.05;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.about__body p:last-child {
  margin-bottom: 0;
}

.footer {
  padding: 72px 0 88px;
}

.footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.footer__logo {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #101010;
}

.footer__meta {
  padding-top: 0;
}

.footer__address {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
  font-style: normal;
  font-weight: 500;
}

.footer__copy {
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #222;
}

@media (max-width: 1024px) {
  :root {
    --container: min(100%, calc(100% - 56px));
    --content-narrow: 100%;
  }

  .hero {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100%, calc(100% - 32px));
  }

  .hero {
    min-height: 440px;
  }

  .hero__inner {
    padding: 42px 0 40px;
  }

  .hero__sub {
    margin-top: 28px;
    font-size: 12px;
    max-width: 170px;
  }

  .topbar__inner {
    min-height: 60px;
  }

  .topbar__title {
    font-size: 16px;
  }

  .lang-switch {
    font-size: 15px;
    gap: 6px;
  }

  .about {
    padding: 72px 0 72px;
  }

  .section-line {
    margin-top: 14px;
  }

  .about__content {
    margin-top: 30px;
  }

  .slider__controls {
    margin-top: 14px;
  }

  .slider__dot {
    width: 14px;
    height: 14px;
  }

  .about__text {
    margin-top: 34px;
  }

  .about__heading {
    margin-bottom: 20px;
  }

  .about__body p {
    font-size: 15px;
    line-height: 1.95;
    margin-bottom: 20px;
  }

  .footer {
    padding: 46px 0 54px;
  }

  .footer__inner {
    gap: 20px;
  }

  .footer__address {
    font-size: 13px;
    line-height: 1.9;
  }
}
