/* ============================== Banner ============================== */

.banner {
  position: relative;
  width: 100%;
  height: 800px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.banner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner__title-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.banner__title,
.banner__subtitle,
.banner__text {
  text-align: center;
  color: #fff;
}

.banner__title {
  font-family: "Noto Serif", serif;
  font-size: clamp(18px, 6vw, 100px);
  text-shadow: 0 4px 4px rgba(21, 55, 86, 0.8);
  white-space: nowrap;
}

.banner__subtitle {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(14px, 3vw, 32px);
  white-space: nowrap;
  font-weight: 600;
  color: #fff;
  -webkit-text-stroke: 0.3px #153756;
}

.banner__text {
  font-size: clamp(12px, 2.5vw, 24px);
  line-height: 1.4;
  white-space: nowrap;
  font-family: "Klee One", cursive;
  font-weight: 400;
  color: #fff;
  -webkit-text-stroke: 0.2px #727171;
}

/* ============================== //Banner ============================== */

/* ============================== Text Section ============================== */

.text-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 800px;
  margin: 0;
  padding: 0;
  background-color: #317eb3;
  overflow-x: hidden;
}

.text-section__box {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 2s ease;
}

.text-section__box.show {
  opacity: 1;
  transform: translateY(0);
}

.text-section__row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
}

.text-section__bold {
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  font-size: min(6vw, 60px);
  color: #fff;
  text-shadow: 0 4px 4px rgba(21, 55, 86, 0.8);
  white-space: nowrap;
}

.text-section__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: min(3vw, 26px);
  color: #c1c1c1;
  text-shadow: 0 4px 4px rgba(21, 55, 86, 0.8);
  white-space: nowrap;
}

/* ============================== //Text Section ============================== */

/* ============================== Body Wrap ============================== */

.body_wrap {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================== //Body Wrap ============================== */

/* ============================== Legacy Wrap ============================== */

.co_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-behavior: smooth;
}

/* ============================== //Legacy Wrap ============================== */

/* ============================== Company ============================== */

.company {
  width: 90vw;
  height: 1024px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
  margin-bottom: 20vh;
}

/* ---------- Access Block ---------- */

.access-block {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 360px;
  margin-bottom: 80px;
  gap: 20px;
}

.access-block__map {
  width: 480px;
  height: 360px;
}

.access-block__map {
  width: 480px;
  height: 360px;
}

.access-block__map:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.access-block__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.access-block__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 40px;
}

.access-block__address {
  margin-left: 10px;
  font-family: "Noto Sans", sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #153756;
}

.access-block__routes {
  margin-left: 20px;
  font-family: "Noto Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  text-align: left;
  color: #317eb3;
}

/* ---------- Info Block ---------- */

.info-block {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 80px;
}

.info-block__row {
  width: 90%;
  height: 57px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 12px 40px;
  text-align: center;
}

.info-block__title {
  font-family: "Noto Sans", sans-serif;
  flex: 1;
  font-size: 28px;
  font-weight: 600;
  color: #153756;
}

.info-block__content {
  font-family: "Noto Sans", sans-serif;
  flex: 4;
  font-size: 24px;
  font-weight: 400;
  color: #727171;
}

/* ========== Tablet (≤1024px) ========== */
@media screen and (max-width: 1024px) {
  .company {
    width: 90vw;
    height: auto;
    padding: 60px 0;
  }

  .access-block__address {
    font-size: 18px;
  }

  .access-block__routes {
    font-size: 16px;
  }

  .info-block {
    margin-top: 40px;
  }

  .info-block__row {
    height: auto;
    padding: 12px 20px;
    gap: 20px;
  }

  .info-block__title {
    font-size: 22px;
  }

  .info-block__content {
    font-size: 20px;
  }
}

/* ========== Mobile (≤768px) ========== */
@media screen and (max-width: 768px) {
  .company {
    width: 100vw;
    height: auto;
    padding: 40px 0;
  }

  .access-block {
    flex-direction: column;
    height: auto;
    gap: 24px;
    margin-bottom: 40px;
  }

  .access-block__text {
    width: 100%;
    gap: 20px;
  }

  .access-block__address {
    margin-left: 0;
    font-size: 18px;
  }

  .access-block__routes {
    text-align: left;
    font-size: 16px;
  }

  .info-block__row {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    height: auto;
    gap: 4px;
  }

  .info-block__title {
    font-size: 18px;
  }

  .info-block__content {
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
}

/* ============================== //Company ============================== */
