/* ==================== */
/* TOP MV */
/* ==================== */
.top_mv {
  position: relative;
  z-index: 1;
  margin-top: var(--top-mv-mt);
  height: var(--top-mv-height);
  background: url(../img/top/mv/img_01.png) no-repeat;
  background-position: center;
  background-size: cover;
}

.top_mv .inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
}

.top_mv .txtbox {
  max-width: 700px;
  color: #fff;
  max-width: 600px;
  font-style: italic;
  height: 50%;
}

.top_mv .txtbox .mv_ttl {
  font-size: 80px;
  text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
}

.top_mv .txtbox .mv_subttl {
  font-size: 55px;
  text-align: right;
  text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
}

.top_mv .imgbox {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 50%;
}

.top_mv .imgbox img:nth-child(1) {
  max-width: 500px;
  object-fit: contain;
  object-position: right bottom;
}

.top_mv .imgbox img:nth-child(2) {
  max-width: 300px;
  object-fit: contain;
  object-position: bottom;
}

/* About */
.about {
  background: linear-gradient(
    108deg,
    var(--main-color),
    var(--main-lighter-color) 65%,
    var(--main-light-grey-color) 65%
  );
  color: #fff;
  position: relative;
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.about .section_ttl {
  margin-bottom: unset;
}

.about .people {
  display: block;
  height: calc(var(--section-py) + 120px);
  aspect-ratio: 1/1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 2;
}

.about .people img {
  object-fit: contain;
}

.about .peace {
  display: block;
  height: calc(var(--section-py) + 80px);
  width: 100%;
  left: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

.about .peace img {
  object-fit: contain;
}

.about .peace .pc {
  display: block;
}

.about .peace .sp {
  display: none;
}

.about .flexbox {
  display: flex;
}

.about .flexbox .imgbox,
.about .flexbox .txtbox {
  width: 50%;
}

.about .flexbox .txtbox {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 30px;
}

.about .flexbox .imgbox {
  padding-right: var(--section-px);
}

/* top banner carousel */
.top-banner_carousel .slider .slide {
  padding: 0 3%;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content img {
  width: 100%;
  height: auto;
}

.modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #000;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-45%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* business */

.business {
  background: var(--main-light-grey-color);
}

.business .section_ttl {
  color: #000;
}

.business .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.business .cards .card {
  flex: 0 0 calc(50% - 10px);
  background: #fff;
  box-shadow: 0 0 8px 4px #e9e9e9c4;
  overflow: hidden;
  padding: 20px 3%;
}
.business .cards .card:nth-child(2),
.business .cards .card:nth-child(3) {
  color: #000;
}

.business .cards .card:nth-child(1),
.business .cards .card:nth-child(4) {
  color: #fff;
  background-image: linear-gradient(
    to bottom,
    var(--main-lighter-color),
    var(--main-color)
  );
}

.business .cards .card_imgbox {
  width: 100px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.business .cards .card_ttl {
  font-size: var(--text-h2);
  text-align: center;
  margin-bottom: 30px;
}

/* News */
.news .list .item {
  display: flex;
}

.news .list .item .item_imgbox {
  width: 15%;
}

.news .list .item .item_txtbox {
  width: 85%;
  padding: 20px;
  border-top: 1px solid var(--main-light-2-grey-color);
  border-bottom: 1px solid var(--main-light-2-grey-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* .news .list .item:not(:last-child) .item_txtbox {
  border-top: 1px solid var(--main-light-2-grey-color);
} */

.news .list .item .item_txtbox .item_date {
  color: var(--main-grey-color);
}

/* Access */
.access {
  color: #fff;
}

.access .txtbox {
  text-align: center;
  background: linear-gradient(
    to bottom,
    var(--main-color),
    var(--main-lighter-color)
  );
}

.access .map iframe {
  display: block;
}

.access .cards {
  background-color: #fff;
  display: flex;
  gap: 20px;
}

.access .cards .card {
  width: calc(100% / 3);
  height: 80px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #000;
}

.access .cards .card_imgbox {
  width: 100%;
  height: 100%;
}

.access .cards .card_imgbox img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1366px) {
  .top_mv .txtbox {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 1100px) {
  .business .cards .card {
    flex: 0 0 calc(50% - 10px);
  }

  .news .list .item .item_imgbox {
    width: 30%;
  }

  .news .list .item .item_txtbox {
    width: 70%;
  }
}

@media (max-width: 1000px) {
  .top_mv .imgbox img:nth-child(1) {
    max-width: 350px;
  }

  .top_mv .imgbox img:nth-child(2) {
    max-width: 200px;
  }

  .interview .cards {
    flex-direction: column;
  }

  .interview .card {
    width: 100%;
    min-height: unset;
  }

  .top_mv {
    margin-top: 100px;
  }

  .business .cards {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .about {
    background: linear-gradient(
      to bottom,
      var(--main-color),
      var(--main-lighter-color) 70%,
      var(--main-light-grey-color) 70%
    );
    padding-top: unset;
    padding-bottom: unset;
  }

  .about .flexbox {
    flex-direction: column;
    gap: unset;
  }

  .about .flexbox .imgbox,
  .about .flexbox .txtbox {
    width: 100%;
  }

  .about .flexbox .imgbox {
    padding-left: var(--section-px);
  }

  .about .flexbox .txtbox {
    background: unset;
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
  }

  .about .btn {
    margin: 0 auto;
  }

  .about {
    position: relative;
  }

  .about .people {
    display: block;
    height: unset;
    width: 30%;
    max-width: 400px;
    position: static;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
  }

  .about .people img {
    object-fit: contain;
    object-position: bottom;
  }

  .about .peace {
    display: block;
    height: unset;
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
  }

  .about .section_ttl {
    text-align: center;
  }
}

@media (max-width: 768px) {

.top_mv {
  background: url(../img/top/mv/img_01-sp.png) no-repeat;
  background-position: center;
  background-size: cover;
}

  .top_mv .txtbox {
    margin: 0 auto;
    max-width: 500px;
  }

  .top_mv .txtbox .mv_ttl {
    font-size: 60px;
  }

  .top_mv .txtbox .mv_subttl {
    font-size: 40px;
  }

  .top_mv .imgbox img:nth-child(1) {
    max-width: 280px;
  }

  .top_mv .imgbox img:nth-child(2) {
    max-width: 160px;
  }
}

@media (max-width: 576px) {
  .top_mv .txtbox {
    max-width: 400px;
  }

  .top_mv .txtbox .mv_ttl {
    font-size: 50px;
  }

  .top_mv .txtbox .mv_subttl {
    font-size: 30px;
  }

  .top_mv .imgbox img:nth-child(1) {
    max-width: unset;
    width: 60%;
  }

  .top_mv .imgbox img:nth-child(2) {
    max-width: unset;
    width: 40%;
  }

  .about .peace .pc {
    display: none;
  }

  .about .peace .sp {
    display: block;
    object-position: bottom;
  }

  .access .cards {
    flex-direction: column;
  }

  .access .cards .card {
    width: 100%;
  }

  .modal-content {
    max-width: 300px;
  }
}

@media (max-width: 460px) {
  .top_mv .txtbox {
    max-width: 350px;
  }
  .top_mv .txtbox .mv_ttl {
    font-size: 40px;
  }

  .business .cards .card {
    flex: unset;
    width: 100%;
  }
}
