* {
  margin: 0;
  padding: 0;
}

.tab_box {
  display: flex;
}

.tab_content {
  display: none;
  padding: 20px 0 0;
  clear: both;
  position: relative;
  text-align: center;
}
.tab_content.is-active {
  display: block;
}

.tab_content img {
  max-width: 100%;
  vertical-align: bottom;
  box-shadow: 0px 4px 3px -1px rgba(135, 135, 135, 0.7);
  margin-bottom: 40px;
}

.tab_content ul.images_wrapper {
  list-style: none;
  padding: 0;
  padding-right: 20px;
  margin: 30px auto 0;
  max-width: 1200px;
  /* background: skyblue; */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.tab_content ul.images_wrapper a {
  transition: all 0.5s;
}

@media (max-width: 500px) {
  .tab_content ul.images_wrapper {
    /* display: block; */
  }
}

.tab_content ul.images_wrapper li {
  width: 28%;
  position: relative;
}

.tab_content ul.images_wrapper li:hover {
  opacity: 0.7;
}

.tab_content ul.images_wrapper::after {
  content: "";
  display: block;
  width: 28%;
}

.tab_content
  ul.images_wrapper
  li:not(:first-child):not(:nth-child(4)):not(:nth-child(7)):nth-child(n + 2) {
  /* margin-left: 64px; */
}

.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%;
    /* position: relative; */
  }

  .tab_content ul.images_wrapper li:nth-child(n + 3) {
    margin-top: 20px;
  }

  .tab_content ul.images_wrapper li + li {
    /* margin-top: 40px!important; */
  }
}

.tabs_hino {
  max-width: 1104px;
  background: transparent;
  box-shadow: none;
  margin: 0 auto;
  padding-bottom: 16px;
}

.tabs_hino a {
  text-decoration: none;
}

.tab-list {
  display: flex;
  justify-content: center;
  gap: min(30px, 1.5vw);
  margin: 24px 10px 80px;
}

.tab_item_hino {
  width: 100%;
  max-width: 130px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: linear-gradient(to top, #838381, #bbbbb9, #dfdbdb);
  box-shadow: inset -10px -10px 20px 0px rgb(0 0 0 / 18%);
  font-size: 16px;
  text-align: center;
  color: #fff;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
  background-size: cover;
  box-sizing: border-box;
  border-radius: 10px;
}

.day_box {
  /* line-height: 88px; */
}

.day_box .days_1 {
  /* font-size: 32px; */
  /* font-family: verdana; */
}

.day_box .days_2 {
  font-size: 30px;
  /* font-family: verdana; */
}

.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;
}

.tab_item_hino.is-active {
  text-align: center;
  /* background: linear-gradient(to top, #209cff, #686ee0); */
  background: #de2f2f;
  box-shadow: inset -10px -10px 20px 0px rgb(0 0 0 / 18%);
  color: #fff;
  pointer-events: none;
}

.hino_report a {
  transition: all 0.5s;
}

/* hino_report.php end */

@media (max-width: 470px) {
  .kousin {
    font-size: 20px !important;
  }
}

.page-inner {
  /* background-color: #fff; */
  /* padding: 30px 50px; */
}

.interview-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 27px;
  font-weight: 700;
  margin: 0 10px;
}

.grid-item {
  padding: 4px;
  position: relative;
  border-radius: 20px;
  /* 内側の角丸 */
  background: #fff;
  /* 内側の背景色 */
  z-index: 1;
  border: 4px solid #fcd90d;
}

.grid-item:hover {
  opacity: .8;
}

/* .grid-item::before {
  content: "";
  position: absolute;
  inset: 0;
  
  padding: 5px;

  border-radius: 10px;

  background: #fcd90d;

  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
} */

.race-number {
  color: #000;
  font-size: 40px;
  margin-bottom: 10px;
  position: relative;
  border-bottom: 3px solid #fcd90d;
  display: inline-block;
  width: 92%;
  margin: 0 auto;
  padding: 12px 0px;
}

/* .race-number::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 3px solid rgb(0 0 0 / 10%);
  display: inline-block;
  width: 100%;
  margin: 0 auto;
  pointer-events: none;
  z-index: -1;
  bottom: -5px;
} */

.mov-bottom {
  color: #000;
  font-size: 22px;
  padding: 16px 0 12px;
  white-space: nowrap;
}

.recer-number {
}

.sensyu {
  font-size: 150%;
}

.tab_item_hino.disabled {
  opacity: 0.5;
  filter: grayscale(100%);
  cursor: not-allowed;
  pointer-events: none;
}

.sp-br {
  display: none;
}

.tab_item_hino:hover {
  opacity: 0.7;
  /* 0〜1で指定（1は完全に不透明） */
}

@media (max-width: 1199px) {
  .tab-list {
    display: grid;
    justify-items: center;
    gap: min(30px, 1.5vw);
    margin: 0;
  }

  /* 5個以下は横一列 */
  .tab-list.count-5,
  .tab-list.count-4,
  .tab-list.count-3,
  .tab-list.count-2,
  .tab-list.count-1 {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
  .tab-list.count-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .tab-list.count-7 {
    grid-template-columns: repeat(4, 1fr);
  }
  .tab-list.count-8 {
    grid-template-columns: repeat(4, 1fr);
  }
  .tab-list.count-9 {
    grid-template-columns: repeat(3, 1fr);
  }

  .tabs_hino {
    padding: 65px 12px 65px;
  }

  .tabs_hino {
    max-width: 100%;
  }

  .tab_item_hino {
    max-width: none;
  }

  .day_box {
    /* line-height: 75px; */
  }

  .tab_content {
    padding: 64px 0 0;
  }

  .day_box .days_2 {
    font-size: 3vw;
  }

  .interview-grid-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 58px;
    justify-content: center;
    align-content: center;
    margin: 0 12vw;
  }

  .mov-bottom {
    font-size: 1vw;
  }

  .sp-br {
    display: block;
  }

  .mov-bottom {
    font-size: 3vw;
    line-height: 2;
    padding: 10px;
  }

  .grid-item {
  }

  .race-number {
    font-size: 5.5vw;
  }

  .mov-bottom {
    font-size: 4vw;
  }
}

@media (max-width: 800px) {
  .tabs_hino {
    padding: 0 12px 10vw;
  }

  .tab_item_hino {
    height: 8vw;
  }

  .race-number {
    font-size: 5.5vw;
  }

  .mov-bottom {
    font-size: 4vw;
  }
}

@media (max-width: 600px) {
  .day_box .days_2 {
    font-size: 3.5vw;
  }
}
