.tab_content {
  display: none;
  padding: 20px 0 0;
  clear: both;
  position: relative;
}
.tab_content h3 {
  position: absolute;
  /* color: #d83079; */
  color: #000000;
  font-size: 24px;
  /* background: linear-gradient(transparent 70%, #fff 70%); */
  z-index: 1;
  width: 520px;
  top: -138px;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
}

.tab_content h3:nth-last-of-type(1) {
  /* top: -120px; */
  /* width: 320px; */
  z-index: 1;
 text-align: center;
}
@media (max-width: 1199px) {
  .tab_content h3 {
  top: -120px;
  }
}

@media (max-width: 767px) {
  .tab_content h3 {
    max-width: unset;
    font-size: max(2.6vw, 18px);
    /* top: max(-22vw, -120px); */
    top: -90px;
  }
}
@media (max-width: 360px) {
  .tab_content h3 {
    max-width: 250px;
    font-size: 12px;
    /* top: -120px; */
  }
  .tab_content h3:nth-last-of-type(1) {
    /* top: -95px; */
  }
}
@media (max-width: 330px) {
  .tab_content h3 {
    font-size: 10px;
    max-width: 220px;
  }
}
/*選択されているタブのコンテンツのみを表示*/
#day_1:checked ~ #day_1_content,
#day_2:checked ~ #day_2_content,
#day_3:checked ~ #day_3_content,
#day_4:checked ~ #day_4_content,
#day_5:checked ~ #day_5_content,
#day_6:checked ~ #day_6_content,
#day_7:checked ~ #day_7_content {
  display: block;
}
/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #5ab4bd;
  color: #fff;
}
.tab_content img {
  max-width: 100%;
  vertical-align: bottom;
  border: 5px solid #274172;
  box-shadow:0px 4px 3px -1px rgba(135,135,135,0.2);
}
.tab_content ul.images_wrapper {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  /* max-width: 1200px; */
  display: flex;
  justify-content: flex-start;
  gap: 32px 20px;
  flex-wrap: wrap;
}
.tab_content ul.images_wrapper a {
  transition: all 0.5s;
}
@media (max-width: 767px) {
  .tab_content ul.images_wrapper {
    margin: 5vw 0;
  }
}


.tab_content ul.images_wrapper li {
  width: calc((100% - 80px) / 5);
  position: relative;
}
.tab_content ul.images_wrapper li:hover {
  opacity: 0.7;
}
.tab_content ul.images_wrapper::after {
  content: "";
  display: block;
  width: 28%;
}

@media (max-width: 1199px) {
  .tab_content ul.images_wrapper li {
    width: calc((100% - 40px) / 3);
    position: relative;
  }
}

@media (max-width: 767px) {
  .tab_content ul.images_wrapper li {
    width: calc((100% - 20px) / 2);
  }
  /* .tab_content ul.images_wrapper li:nth-child(n + 3) {
    margin-top: 20px;
  } */
}
.tabs_hino {
  /* max-width: 820px; */
  background: transparent;
  box-shadow: none;
  margin: 0 auto 30px;
  padding: 100px 80px;
}
@media (max-width: 1199px) {
  .tabs_hino {
    padding: 72px 5% 8vw;
    margin-top: 50px;
  }
}
@media (max-width: 767px) {
  .tabs_hino {
    padding-top: max(8vw, 80px);
    margin-top: 0;
  }
}
.tab_item_hino {
  width: calc(100% / 7);
  border-bottom: none;
  background: url('../images/photo_gallery/day_bg1.png');
  background-repeat: repeat;
  background-position: center;
  font-size: 16px;
  text-align: center;
  color: #fff;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
  background-size: cover;
  border-left: 4px solid #020b4e;
  border-top: 4px solid #020b4e;
  border-right: 4px solid #020b4e;
  border-bottom: 4px solid #020b4e;
  box-sizing: border-box;
}
.tab_item_hino:nth-of-type(n + 2) {
  border-left: 2px solid #020b4e;
  border-right: 2px solid #020b4e;
}
.tab_item_hino:last-of-type {
  border-right: 4px solid #020b4e;
}
.day_box {
  line-height: 20px;
  margin-top: 7px;
}
.day_box .days_1 {
  font-size: 32px;
  font-family: verdana;
}
.day_box .days_2 {
  font-size: 12px;
  font-family: verdana;
}
@media (max-width: 850px) {
  .day_box .days_1 {
    font-size: 26px;
  }
  .day_box .days_2 {
    font-size: 10px;
  }
}
@media (max-width: 767px) {
  .day_box {
    line-height: 13px;
    margin: 0;
  }
  .day_box .days_1 {
    font-size: 16px;
  }
  .day_box .days_2 {
    font-size: 8px;
  }
}
@media (max-width: 550px) {
  .day_box {
    line-height: 8px;
    margin: 0;
  }
  .day_box .days_1 {
    font-size: 12px;
  }
  .day_box .days_2 {
    font-size: 8px;
  }
}
.tab_item_hino p {
  margin: 0;
}
.tabs_hino .imgTenbo img {
  width: 80%;
  height: auto;
  box-shadow: none!important;
  margin-top: 20px;
  margin-bottom: 20px;
  border: none;
}
.tabs_hino p.textTenbo {
  padding: 0;
}
.tabs_hino input:checked + .tab_item_hino {
  background: url('../images/photo_gallery/day_bg2.png') no-repeat;
  background-position: center;
  color: #fff;
  background-size: cover;
}
input[name="tab_item_hino"] {
  display: none;
}
.hino_report a {
  transition: all 0.5s;
}

/* モーダル２回クリック対策 */
.lb-data .lb-close:hover {
  opacity: inherit!important;
}
.home_btn {
  background: #fc4490;
  width: 150px;
  margin: 0 auto;
  border-radius: 10px;
  transition: all 0.5s;
  margin-top: 30px;
}
.home_btn:hover {
  opacity: 0.8;
}
.home_btn a {
  padding: 7px;
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}
@media (max-width: 470px) {
  .kousin {
    font-size: 20px!important;
  }
}