#home-08 .tab-wrapper {
  max-width: calc(1200px + 10%);
  width: 100%;
  margin-inline: auto;
  padding: 0 5%;
}
#home-08 .tab-wrapper .tab-koutoubu {
  --tab-color: #e60012;
}
#home-08 .tab-wrapper .tab-tyuugakubu {
  --tab-color: #009fa9;
}
#home-08 .tab-wrapper .tab-syougakubu {
  --tab-color: #6fba2c;
}
#home-08 .tab-wrapper .tab-nouryoku {
  --tab-color: #00a7ea;
}
#home-08 .tab-wrapper .tab-childcare {
  --tab-color: #ea5550;
}
#home-08 .tab-wrapper .tab-infant {
  --tab-color: #f39800;
}
#home-08 .tab-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}
@media screen and (max-width: 1230px) {
  #home-08 .tab-container {
    grid-template-columns: repeat(3, 157px);
  }
}
@media screen and (max-width: 767px) {
  #home-08 .tab-container {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 575px) {
  #home-08 .tab-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
#home-08 .tab-container .tab {
  display: grid;
  place-content: center;
  width: 100%;
  height: 70px;
  border-width: 2px;
  border-style: solid;
  border-color: var(--tab-color);
  background-color: #fff;
  color: var(--tab-color);
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  z-index: 0;
}
@media screen and (max-width: 575px) {
  #home-08 .tab-container .tab {
    height: 40px;
    font-size: 12px;
  }
}
#home-08 .tab-container .tab::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--tab-color);
  border-right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 10px;
  margin: auto 0 auto auto;
  z-index: -1;
}
@media screen and (max-width: 575px) {
  #home-08 .tab-container .tab::after {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--tab-color);
  }
}
#home-08 .tab-container .tab:hover, #home-08 .tab-container .tab.tab_active {
  background-color: var(--tab-color);
  color: #fff;
}
#home-08 .tab-container .tab:hover::after, #home-08 .tab-container .tab.tab_active::after {
  border-left-color: #fff;
}
#home-08 .content {
  display: none;
}
#home-08 .content.show {
  display: block;
}
#home-08 .content h3 {
  width: 100%;
  height: 40px;
  display: grid;
  place-content: center;
  background-color: var(--tab-color);
  text-align: right;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  border-top: none;
  margin: 0;
}
#home-08 .content .content-inner {
  background-color: color-mix(in srgb, var(--tab-color) 10%, white);
  background-repeat: no-repeat;
  background-position: top left;
  padding: 25px;
}
#home-08 .content .content-inner ul {
  max-width: 740px;
  width: 100%;
  margin-inline: auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media screen and (max-width: 767px) {
  #home-08 .content .content-inner ul {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
#home-08 .content .content-inner ul li {
  width: 100%;
  min-height: 250px;
  border: 1.5px solid var(--tab-color);
  list-style-type: none;
  background-color: #fff;
  padding: 0 14px 18px;
  display: flex;
  flex-direction: column;
}
#home-08 .content .content-inner ul li h4 {
  width: 100%;
  height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--tab-color);
  margin-top: 10px;
  margin-bottom: 10px;
}
#home-08 .content .content-inner ul li h4 img {
  height: 40px;
}
#home-08 .content .content-inner ul li h4 img.h-30 {
  height: 30px;
}
@media screen and (max-width: 575px) {
  #home-08 .content .content-inner ul li h4 img {
    height: 30px;
  }
  #home-08 .content .content-inner ul li h4 img.h-30 {
    height: 22.5px;
  }
}
#home-08 .content .content-inner ul li h4 span {
  color: var(--tab-color);
  font-weight: bold;
  font-size: 14px;
}
@media screen and (max-width: 575px) {
  #home-08 .content .content-inner ul li h4 span {
    font-size: 12px;
  }
}
#home-08 .content .content-inner ul li dl {
  width: 215px;
  height: 18px;
  display: flex;
  align-items: center;
  border: 1px solid var(--tab-color);
  margin-bottom: 10px;
}
#home-08 .content .content-inner ul li dl dt {
  background-color: var(--tab-color);
  color: #fff;
  font-weight: normal;
  font-size: 12px;
  width: 80px;
  text-align: center;
}
#home-08 .content .content-inner ul li dl dd {
  width: calc(100% - 80px);
  font-size: 12px;
  padding: 0 10px;
  margin: 0;
}
#home-08 .content .content-inner ul li p {
  font-size: 13px;
  margin-bottom: 1em;
}
#home-08 .content .content-inner ul li .btn-wrap {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
#home-08 .content .content-inner ul li .btn-wrap a {
  width: 100%;
  height: 26px;
  display: grid;
  place-content: center;
  border: 1.5px solid var(--tab-color);
  border-radius: 7px;
  color: var(--tab-color);
  font-weight: bold;
  font-size: 13px;
  transition: 0.3s;
}
@media screen and (max-width: 575px) {
  #home-08 .content .content-inner ul li .btn-wrap a {
    border-width: 1px;
    font-size: 10px;
  }
}
#home-08 .content .content-inner ul li .btn-wrap a:hover {
  background-color: var(--tab-color);
  color: #fff;
}
@media screen and (min-width: 992px) {
  #home-08 .content.tab-koutoubu .content-inner {
    background-image: url(../images/home/bg_high-tab.webp);
  }
  #home-08 .content.tab-tyuugakubu .content-inner {
    background-image: url(../images/home/bg_middle-tab.webp);
  }
  #home-08 .content.tab-syougakubu .content-inner {
    background-image: url(../images/home/bg_elementary-tab.webp);
  }
  #home-08 .content.tab-nouryoku .content-inner {
    background-image: url(../images/home/bg_nouryoku-tab.webp);
  }
  #home-08 .content.tab-childcare .content-inner {
    background-image: url(../images/home/bg_childcare-tab.webp);
  }
  #home-08 .content.tab-infant .content-inner {
    background-image: url(../images/home/bg_infant-tab.webp);
  }
}

/*# sourceMappingURL=add-index.css.map */
