/* ==================== */
/* 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 .txtbox {
  max-width: 700px;
  padding-top: 30px;
}

/* About */
.about {
  background: linear-gradient(
    108deg,
    var(--main-light-color) 65%,
    var(--main-light-grey-color) 65%
  );
  color: #fff;
  position: relative;
  padding-top: var(--section-py);
  padding-bottom: calc(var(--section-py) + 80px);
}

.about .people {
  display: block;
  height: calc(var(--section-py) + 150px);
  width: 400px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 2;
}

.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: center;
  gap: 40px;
}

.about .flexbox .imgbox {
  padding-right: var(--section-px);
}

/* Insurance */

.insurance {
  background: var(--main-light-grey-color);
}

.insurance .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.insurance .cards .card {
  flex: 0 0 calc(25% - 15px);
  background: #fff;
  box-shadow: 0 0 8px 4px #e9e9e9c4;
  border-radius: 10px;
  overflow: hidden;
}

.insurance .cards .card_txtbox {
  padding: 10px;
  text-align: center;
  color: var(--main-color);
}

/* News */
.news .list .item {
  display: flex;
}

.news .list .item .item_imgbox {
  width: 150px;
  border-bottom: 1px solid var(--main-light-2-grey-color);
}

.news .list .item .item_txtbox {
  width: 85%;
  padding: 20px;
  border-bottom: 1px solid var(--main-light-2-grey-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.news .list .item:nth-child(1) .item_imgbox,
.news .list .item:nth-child(1) .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 {
  background: var(--main-color);
  color: #fff;
}

.access .txtbox {
  text-align: center;
}

.access .map iframe {
  display: block;
}

.access .cards {
  background-color: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.access .cards .card {
  width: calc(100% / 5);
  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;
}

.top-insurance {
  padding: 50px 3%;
  background-color: var(--main-light-color);
}

.top-insurance .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.top-insurance .wrap a {
  display: flex;
  height: auto;
  align-items: center;
  width: calc(100% / 5);
}

.top-insurance .wrap a img {
  width: 100%;
}

.top-insurance .text_bot {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

@media (max-width: 1366px) {
  .top_mv .txtbox {
    width: 50%;
    min-width: 500px;
  }

  .top-insurance .text_bot {
    max-width: 1100px;
  }
}

@media (max-width: 1100px) {
  .about {
    background: unset;
    padding-bottom: unset;
  }

  .about {
    padding-top: var(--section-px);
  }

  .about .flexbox {
    flex-direction: column-reverse;
    gap: var(--section-px);
  }

  .about .flexbox .imgbox,
  .about .flexbox .txtbox {
    width: 100%;
  }

  .about .flexbox .imgbox {
    padding-left: var(--section-px);
  }

  .about .flexbox .txtbox {
    background: var(--main-light-color);
    padding: var(--section-px) var(--section-py);
    padding-bottom: unset;
  }

  .about .btn {
    margin: 0 auto;
  }

  .about .people {
    display: block;
    height: unset;
    width: 100%;
    max-width: 400px;
    position: static;
    left: unset;
    transform: unset;
    z-index: 2;
    margin: 0 auto;
  }

  .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;
  }

  .insurance .cards .card {
    flex: 0 0 calc(50% - 10px);
  }

  .news .list .item .item_txtbox {
    width: 100%;
  }

  .top-insurance .text_bot {
    max-width: 1000px;
    margin-top: 30px;
  }
}

@media (max-width: 1000px) {
  .interview .cards {
    flex-direction: column;
  }

  .interview .card {
    width: 100%;
    min-height: unset;
  }

  .top_mv {
    margin-top: 100px;
    position: relative;
  }
}

@media (max-width: 768px) {
  .top_mv .txtbox {
    width: 65%;
    margin: 0 auto;
    min-width: 250px;
  }

  .top-insurance .wrap a {
    width: calc(100% / 3);
  }
}

@media (max-width: 576px) {
  .top_mv .txtbox {
    width: 80%;
    position: absolute;
    padding-top: 0;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
  }

  .about .peace .pc {
    display: none;
  }

  .about .peace .sp {
    display: block;
    object-position: bottom;
  }

  .access .cards {
    flex-direction: column;
  }

  .access .cards .card {
    width: 100%;
  }

  .top-insurance .wrap a {
    width: calc(100% / 1);
  }

  .top-insurance .section_ttl .pc {
    display: none;
  }

  .news .list .item .item_imgbox {
    width: 50%;
  }

  .news .list .item .item_txtbox {
    font-size: 14px;
  }
}

@media (max-width: 460px) {
  .insurance .cards .card {
    flex: unset;
    width: 100%;
  }
}
