.p-kidsHero{
  padding: 80px 40px 120px;
}

.p-kidsHero__read{
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing:0.1em;
}

.p-kidsHero__read span{
  display: inline-block;
}

.p-kidsHero__heading{
  margin-top: 8px;
  text-align: center;
  color: #0066BA;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing:0.1em;
}

.p-kidsHero__heading span{
  display: block;
  font-size: 56px;
}

.p-kidsHero__image{
  display: block;
  max-width: 1000px;
  margin: 56px auto 0;
}

@media screen and (max-width:768px) {
  .p-kidsHero{
    padding: 96px 20px 80px;
  }

  .p-kidsHero__read{
    text-align: center;
    font-size: 20px;
  }

  .p-kidsHero__heading{
    font-size: 36px;
  }

  .p-kidsHero__heading span{
    font-size: 30px;
  }

  .p-kidsHero__image{
    margin: 32px auto 0;
  }
}

.p-kidsMessage{
  position: relative;
  padding-block: 80px;
  background-color: #0066BA;
}

.p-kidsMessage::before{
  content: "";
  position: absolute;
  top: -31px;
  width: 100%;
  height: 31px;
  background: url(../img/kids/line-top.svg) repeat-x center / 62px;
}

.p-kidsMessage::after{
  content: "";
  position: absolute;
  bottom: -31px;
  width: 100%;
  height: 31px;
  background: url(../img/kids/line-bottom.svg) repeat-x center / 62px;
}

.p-kidsMessage__read{
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.1em;
}

@media screen and (max-width:768px) {
  .p-kidsMessage{
    padding-block: 64px;
  }

  .p-kidsMessage::before{
    top: -28px;
    height: 28px;
    background: url(../img/kids/line-top.svg) repeat-x center / 56px;
  }

  .p-kidsMessage::after{
    bottom: -28px;
    height: 28px;
    background: url(../img/kids/line-bottom.svg) repeat-x center / 56px;
  }

  .p-kidsMessage__read{
    font-size: 18px;
  }
}

.p-kidsEntry{
  margin-top: 120px;
}

.p-kidsEntry__tabs{
  display: flex;
  margin-top: 48px;
}

.p-kidsEntry__tabs input[type=radio]{
  display: none;
}

.p-kidsEntry__tabs input[type=radio] + label{
  width: 100%;
  padding: 24px;
  text-align: center;
  color: #a2a2a2;
  background-color: #EDEDED;
  border-radius: 10px 10px 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-kidsEntry__tabs input[type=radio]:checked + label{
  color: #0066BA;
  background-color: #E2F3FF;
}

.p-kidsEntry__block{
  position: relative;
  margin-bottom: 160px;
  padding: 80px 72px;
  background-color: #E2F3FF;
  border-radius: 0 0 20px 20px;
}

.p-kidsEntry__block::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -160px;
  width: 130px;
  height: 95px;
  margin: auto;
  background: url(../img/kids/arrow.svg) no-repeat center / cover;
}

.p-kidsEntry__content{
  display: none;
}

.p-kidsEntry__tabs:has(#tab01:checked) ~ .p-kidsEntry__block #tab-content01,
.p-kidsEntry__tabs:has(#tab02:checked) ~ .p-kidsEntry__block #tab-content02{
  display: block;
}

.p-kidsEntry__heading{
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.1em;
}

.p-kidsEntry__list{
  margin-top: 56px;
}

.p-kidsEntry__item{
  position: relative;
  display: flex;
  z-index: 0;
}

.p-kidsEntry__item + .p-kidsEntry__item{
  margin-top: 64px;
}

.p-kidsEntry__item::before{
  content: "";
  position: absolute;
  top: 0;
  left: 23px;
  width: 2px;
  height: calc(100% + 64px);
  background-color: #fff;
  z-index: -1;
}

.p-kidsEntry__item:last-of-type:before{
  content: none;
}

.p-kidsEntry__num{
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: #0066BA;
  background-color: #fff;
  border-radius: 48px;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  line-height: 48px;
}

.p-kidsEntry__image{
  align-self: flex-start;
  width: 200px;
  height: 200px;
}

.p-kidsEntry__textBlock{
  flex: 1;
  align-self: center;
  margin-left: 32px;
}

.p-kidsEntry__title{
  color: #0066BA;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-kidsEntry__text{
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.1em;
}

.p-kidsEntry__copy{
  padding-top: 64px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-kidsEntry__buttonWrap{
  margin-top: 40px;
  text-align: center;
}

.p-kidsEntry__button{
  display: inline-block;
  width: 100%;
  max-width: 600px;
  padding: 32px;
  background-color: #0066BA;
  color: #fff;
  border-radius: 50px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.p-kidsEntry__button:hover{
  opacity: 0.7;
}

.p-kidsEntry__attr{
  margin-top: 24px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.75;
}

@media screen and (max-width:768px) {
  .p-kidsEntry{
    margin-top: 120px;
  }

  .p-kidsEntry__tabs{
    margin-top: 32px;
  }

  .p-kidsEntry__tabs input[type=radio] + label{
    padding: 16px;
    font-size: 18px;
  }

  .p-kidsEntry__block{
    margin-bottom: 160px;
    padding: 32px 24px;
  }

  .p-kidsEntry__block::after{
    bottom: -160px;
    width: 130px;
    height: 95px;
  }

  .p-kidsEntry__heading{
    font-size: 18px;
  }

  .p-kidsEntry__list{
    max-width: 500px;
    margin-top: 40px;
    margin-inline: auto;
  }

  .p-kidsEntry__item{
    flex-wrap: wrap;
  }

  .p-kidsEntry__item + .p-kidsEntry__item{
    margin-top: 40px;
  }

  .p-kidsEntry__item::before{
    left: 19px;
    height: calc(100% + 40px);
  }

  .p-kidsEntry__num{
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
  }

  .p-kidsEntry__image{
    align-self: flex-start;
    width: 200px;
    height: 200px;
  }

  .p-kidsEntry__textBlock{
    flex: auto;
    width: 100%;
    align-self: center;
    margin-left: 48px;
  }

  .p-kidsEntry__title{
    font-size: 18px;
  }

  .p-kidsEntry__text{
    margin-top: 16px;
    font-size: 14px;
  }

  .p-kidsEntry__copy{
    padding-top: 48px;
    font-size: 22px;
  }

  .p-kidsEntry__buttonWrap{
    margin-top: 32px;
    text-align: center;
  }

  .p-kidsEntry__button{
    max-width: 400px;
    padding: 24px;
    font-size: 20px;
  }

  .p-kidsEntry__attr{
    margin-top: 16px;
    font-size: 14px;
  }
}

.p-provider__heading{
  margin-top: 40px;
  margin-bottom: -32px;
  text-align: center;
  color: #0066BA;
  font-size: 20px;
  font-weight: 700;
}

.p-provider__list{
  justify-content: center;
}

.p-provider__item{
  width: 300px;
  padding: 24px;
}

@media screen and (max-width:768px) {
  .p-provider__item{
    width: 100%;
    max-width: 320px;
    margin: auto;
  }

  .p-provider__item + .p-provider__item{
    margin-top: 16px;
  }

}
