.text {
  width: 40rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.home-achievement {
  overflow-x: hidden;
}

.home-achievement__list-wrap {
  position: relative;
  padding: 1.5rem 0 0 2.5rem;
  margin-top: 1.5rem;
}

.home-achievement__list {
  display: flex;
  gap: 1rem;
}

.home-achievement__category-name {
  position: absolute;
  left: 0;
  top: 0;
}

.home-achievement__category-name img {
  width: 88px;
}
@media (min-width: 768px) {
  .home-achievement__category-name img {
    width: 104px;
  }
}

.home-achievement__item {
  background: #fff;
  padding: 6px 6px 12px 6px;
  width: 15rem;
  flex-shrink: 0;
}

.home-achievement__item-heading {
  margin-top: 12px;
  font-weight: bold;
  font-size: .88rem;
  white-space: normal;
  letter-spacing: 0;
  min-height: 44px;
  display: grid;
  place-items: center;
}

.padding-top_remove {
  padding-top: 0;
}


.home-hero {
  padding-top: 5em;
}

.home-accessCounter {
  position: relative;
  margin-top: .5rem;
  padding-top: 1.5rem;
}

.home-accessCounter iframe {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 15rem;
  max-width: 50%;
}

@media screen and (max-width: 579px) {
.pressrelease:first-child {
  padding-top: 0;
}
}

.pressrelease .press-container {
  border-color: var(--mid-pink);
}

.home-whats__feature {
  margin-top: 2.5rem;
  padding: 2rem 24px;
  background: #fff;
}

.home-whats__feature-item-img {
  width: 70%;
  max-width: 45vw;
  margin-bottom: 1rem;
}

.home-whats__feature-item-heading {
  margin-top: 10px;
  font-size: 1.25rem;
}

.home-whats__feature-item:not(:last-child) {
  border-bottom: 1px solid var(--pink);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {

  .home-whats__feature {
    padding: 3rem 0;
  }

  .home-whats__feature-col {
    display: flex;
  }

  .home-whats__feature-item {
    padding: 0 2.5rem;
  }

  .home-whats__feature-item:not(:last-child) {
    border-right: 1px solid var(--pink);
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }

}

.home-service {
  padding: 3.5rem 0;
}

.home-service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-service__grid a:hover .home-service__item-img {
  transform-origin: center bottom;
  animation: kakukaku 2s steps(2, end) infinite;
}

@keyframes kakukaku {
  0% {
    transform: rotate(-3deg);
  }

  100% {
    transform: rotate(6deg);
  }
}

.home-service__item {
  background: #fff;
  box-shadow: 2px 4px 0 #D67C9925;
  padding: clamp(1rem, 3vw, 1.5rem);
  height: 100%;
}

.home-service__item .col {
  display: flex;
  gap: 5%;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.home-service__item .col:after {
  content: '';
  display: block;
  background: url(../img/weui_arrow-filled-pink.svg) no-repeat center center / contain;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .home-service__grid {
    gap: 2rem;
  }
.home-service__item .col:after {
  height: 2rem;
  width: 2rem;
}
}

.home-service__item-img {
  width: 25%;
}

.home-service__item-text {
  text-align: center;
}

.home-service__item-detail {
  display: inline-block;
  padding: 4px 8px;
  color: var(--pink);
  background: var(--light-pink);
  margin-top: .5rem;
  line-height: 1.4;
  font-size: .88rem;
}

@media (max-width: 767px) {
  .home-service__item-detail br {
    display: none;
  }
}

@media (min-width: 768px) {
  .home-service__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.home-children .text {
  margin: 2.5rem auto;
}

.home-children_main-img {
  width: 265px;
}

.home-children__message-heading {
  margin: 16px 0;
}

.home-children__problem-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.home-media h2 {
  margin-top: 0;
}

.home-media .loopSlider {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.questionnaire {
  padding-top: 3.5em;
}

/* heroSlider */

.hero_slider {
  position: relative;
  width: 100%;
  height: 60vw;
  min-height: 42.5rem;
  max-height: 724px;
}

.hero_main-slider {
  position: relative;
}

.hero_main-slider::after {
  content: '';
  width: 144px;
  max-width: 15vw;
  height: 163px;
  background: url(../img/slider-logo.png) no-repeat left bottom / contain;
  position: absolute;
  left: -2px;
  bottom: 24px;
}

.hero_slide-img {
  overflow: hidden;
}

.hero_main-slider .splide__slide img {
  transition: 12s ease-out;
  transform: scale(1.2);
}

.hero_thumb-slider .splide__track--nav>.splide__list>.splide__slide.is-active {
  border: 3px solid var(--pink);
}

.hero_main-slider .splide__slide.is-active img {
  transform: scale(1);
  transition-delay: -3s;
}

.hero_main-slider .splide__slide img {
  height: auto;
  width: 100%;
}

.hero_slide-caption {
  text-align: right;
  line-height: 1.4;
  margin-top: .9rem;
}

@media (max-width: 639px) {
  .hero_slide-caption {
    font-size: .8rem;
    white-space: nowrap;
  }
}

.hero_thumb-slider {
  margin-top: .9rem !important;
}

.splide__arrow,
.splide__pagination {
  display: none !important;
}

/* loopSlider */

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.loopSlider {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.loopSlider-c {
  display: flex;
  overflow: hidden;
  gap: 1rem;
}

.loopSlider-list {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.loopSlider-list-left {
  animation: infinity-scroll-left 40s infinite linear 0.5s both;
}

.loopSlider-item {
  width: calc(100vw / 2);
}

@media (min-width: 62.5rem) {
  .loopSlider-item {
    width: calc(100vw / 4);
  }
}

.loopSlider-item>img {
  width: 100%;
}

/* tab */

/*input要素は非表示*/
input {
  display: none;
}

/*タブエリアの設定*/
.tab_area {
  display: flex;
  flex-wrap: wrap;
}

/*タブボタン部分*/
.btn_tab {
  display: block;
  padding: 1rem;
  margin-right: 2px;
  border-radius: 10px 10px 0 0;
  background: var(--pink);
  color: #fff;
  float: left;
  cursor: pointer;
  order: -1;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  position: relative;
  z-index: 2;
  border-top: 4px solid var(--pink);
  border-left: 4px solid var(--pink);
  border-right: 4px solid var(--pink);
}

@media (max-width: 639px) {
  .btn_tab {
    padding: .6rem;
    font-size: .88rem;
    display: grid;
    place-items: center;
  }
}


/*コンテンツ部分*/
.tab_content {
  display: none;
  width: 100%;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  background: #fff;
  margin-top: -4px;
}

/*タブを選択したとき*/
input:checked+.btn_tab {
  background: #fff;
  color: var(--pink);
}

input:checked+.btn_tab+.tab_content {
  display: block;
  border: 4px solid var(--pink);
}

@media (min-width: 768px) {
  .tab_content {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* listScroll */

.list_scroll-x {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-left: calc(50vw - (1024px / 2));
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.list_scroll-x::-webkit-scrollbar {
  display: none;
}

.list_scroll-x:active {
  cursor: grabbing;
}