.tab_content {
  display: none;
  padding: 20px 0 0;
  clear: both;
  position: relative;
}

.tab_content h3 {
  position: absolute;
  color: #001b3c;
  font-size: 24px;
  background: linear-gradient(transparent 70%, #fff 70%);
  z-index: 1;
  width: 520px;
  top: -175px;
  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: 700px) {
  .tab_content h3 {
    max-width: 430px;
    font-size: 20px;
    top: -150px;
  }

  .tab_content h3:nth-last-of-type(1) {
    top: -115px;
    max-width: 250px;
  }
}

@media (max-width: 700px) {
  .tab_content h3 {
    max-width: 325px;
    font-size: 15px;
    top: -120px;
  }

  .tab_content h3:nth-last-of-type(1) {
    top: -70px;
    max-width: 200px;
  }
}

@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 #001b3c;
  box-shadow: 0px 4px 3px -1px rgba(135, 135, 135, 0.7);
}

.tab_content ul.images_wrapper {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.tab_content ul.images_wrapper a {
  transition: all 0.5s;
}

@media (max-width: 1199px) {
  .tab_content ul.images_wrapper {
    margin-top: 0;
  }
}

@media (max-width: 500px) {
  .tab_content ul.images_wrapper {
    max-width: 98%;
  }
}

.tab_content ul.images_wrapper li {
  width: 28%;
  position: relative;
}

.tab_content ul.images_wrapper li a:hover {
  opacity: 0.7;
}

.tab_content ul.images_wrapper::after {
  content: "";
  display: block;
  width: 28%;
}

.tab_content ul.images_wrapper li:nth-child(n + 4) {
  margin-top: 40px;
}

@media (max-width: 500px) {
  .tab_content ul.images_wrapper li {
    width: 45%;
  }

  .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;
  margin-top: 65px;
}

@media (max-width: 1199px) {
  .tabs_hino {
    padding: 0 5px;
    margin-top: 70px;
  }
}

@media (max-width: 700px) {
  .tabs_hino {
    margin-top: 60px;
  }
}

.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 #001b3c;
  border-top: 4px solid #001b3c;
  border-right: 4px solid #001b3c;
  border-bottom: 4px solid #001b3c;
  box-sizing: border-box;
}

.tab_item_hino:nth-of-type(n + 2) {
  border-left: 2px solid #001b3c;
  border-right: 2px solid #001b3c;
}

.tab_item_hino:last-of-type {
  border-right: 4px solid #001b3c;
}

.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: 700px) {
  .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;
  }
}