/******************** 施設 入園について ********************/
main {
  overflow-x: hidden;
}

a.link_line {
  position: relative;
}

a.link_line::before {
  content: '';
  position: absolute;
  background-color: #88746A;
  height: 1px;
  width: 100%;
  left: 0;
  bottom: 0;
  transition: 0.3s;
}

a.link_line:hover::before {
  opacity: 0;
}

/*** --------------- 1日の生活 --------------- ***/
#admission {
  padding-top: 48px;
  padding-bottom: 205px;
  background-color: #eee;
  position: relative;
}

#admission::before {
  content: '';
  position: absolute;
  background: url(../img/sub-common/wave_yellow.svg) center top / contain no-repeat;
  width: 110%;
  aspect-ratio: 280 / 17;
  bottom: -1px;
}

.admission_area {
  padding: 0 100px;
}

.white_box {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 40px 60px;
  margin-bottom: 40px;
}

.white_box.last {
  margin-bottom: 0;
}

.white_box ol {
  counter-reset: listnum;
  list-style: none;
  max-width: 580px;
  margin: auto;
}

.white_box ol li {
  padding-left: 2rem;
  display: inline-block;
  text-align: left;
  position: relative;
  margin-bottom: 20px;
}

.white_box ol li:last-child {
  margin-bottom: 0;
}

.white_box ol li::before {
  position: absolute;
  font-family: "Nunito";
  font-size: calc(18 / var(--root-font-size) * 1rem);
  counter-increment: listnum;
  content: counter(listnum)".";
  left: 0;
}

.white_box p {
  text-align: center;
}

.box_list {
  display: flex;
  flex-wrap: wrap;
  max-width: 706px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 20px;
  gap: 20px 0;
  align-items: center;
}

.box_list dt {
  text-align: center;
  width: 176px;
  padding: 20px;
  border-radius: 8px;
  font-size: calc(18 / var(--root-font-size) * 1rem);
  font-weight: 700;
  background-color: #D6D6D6;
}

.box_list dd {
  width: calc(100% - 176px);
  padding-left: 20px;
  margin-bottom: 0;
}

.align_left {
  max-width: 706px;
  margin: auto;
  margin-bottom: 40px;
}

.align_left p {
  text-align: left;
}

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

span.under_line {
  margin-bottom: 0.5rem;
  display: inline;
  background: linear-gradient(transparent 60%, #ffde00 60%);
}

.summary_list {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
}

.summary_list dt {
  background-color: #eee;
  width: 168px;
  text-align: center;
  padding: 20px 0;
  position: relative;
  align-content: center;
}

.summary_list dd {
  width: calc(100% - 168px);
  padding: 20px 56px;
  margin-bottom: 0;
  position: relative;
}

.summary_list dt::before,
.summary_list dd::before {
  content: '';
  position: absolute;
  background-image: radial-gradient(circle, #3a1808 1px, transparent 1px);
  background-position: left -2px bottom;
  background-repeat: repeat-x;
  background-size: 8px 2px;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.summary_list dt:last-of-type::after,
.summary_list dd:last-of-type::after {
  content: '';
  position: absolute;
  background-image: radial-gradient(circle, #3a1808 1px, transparent 1px);
  background-position: left -2px bottom;
  background-repeat: repeat-x;
  background-size: 8px 2px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.summary_list ul li {
  position: relative;
  padding-left: 2rem;
}

.summary_list ul li::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3A1808;
  top: calc(50% - 3px);
  left: 0.5em;
}

@media screen and (max-width: 991px) {
  .admission_area {
    padding: 0;
  }

  .summary_list dd {
    padding: 20px 40px;
  }
}

@media screen and (max-width: 768px) {
  .white_box {
    padding: 40px 20px 60px;
  }
}

@media screen and (max-width: 575px) {
  #admission {
    padding-bottom: 120px;
  }

  .box_list dt,
  .box_list dd {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .summary_list dt,
  .summary_list dd {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .summary_list dt::before,
  .summary_list dt:last-of-type:after {
    content: none;
  }

  .summary_list dt:first-of-type:before {
    content: '';
    position: absolute;
    background-image: radial-gradient(circle, #3a1808 1px, transparent 1px);
    background-position: left -2px bottom;
    background-repeat: repeat-x;
    background-size: 8px 2px;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
  }

  .summary_list dd::before {
    top: auto;
    bottom: 0;
  }
}

/*** --------------- 一時保育 --------------- ***/
#Temporary_childcare {
  position: relative;
  background-color: #FCF9D8;
  padding-top: 80px;
  padding-bottom: 205px;
}

#Temporary_childcare .white_box {
  padding-left: 80px;
  padding-right: 80px;
}

.page_h3_mikan,
.page_h3_hana {
  padding: 0 70px;
  margin-bottom: 40px;
  position: relative;
  inline-size: fit-content;
  margin-inline: auto
}

.page_h3_mikan::before,
.page_h3_hana::before {
  content: '';
  position: absolute;
  width: 41px;
  height: 35px;
  background: url(../img/amaki-kodomoen/admission/mikan_illust.png) center center / contain no-repeat;
  top: calc(50% - 17.5px);
  left: 0;
}

.page_h3_mikan::after,
.page_h3_hana::after {
  content: '';
  position: absolute;
  width: 41px;
  height: 35px;
  background: url(../img/amaki-kodomoen/admission/mikan_illust.png) center center / contain no-repeat;
  top: calc(50% - 17.5px);
  right: 0;
}

.page_h3_mikan h3,
.page_h3_hana h3 {
  font-size: calc(24 / var(--root-font-size) * 1rem);
}

.page_h4_mikan,
.page_h4_hana {
  padding-left: 28px;
  margin-bottom: 40px;
  position: relative;
  inline-size: fit-content;
  margin-inline: auto
}

.page_h4_mikan::before,
.page_h4_hana::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: #FF9500;
  border-radius: 50%;
  top: calc(50% - 9px);
  left: 0;
}

.page_h4_mikan h4,
.page_h4_hana h4 {
  font-size: calc(20 / var(--root-font-size) * 1rem);
}

.process_wrap {
  margin-top: 80px;
}

.mikan_list,
.hana_list {
  max-width: 580px;
  margin: auto;
  margin-top: 20px;
}

.mikan_list li,
.hana_list li {
  text-align: left;
  display: inline-block;
  position: relative;
  padding-left: 20px;
  font-size: calc(18 / var(--root-font-size) * 1rem);
  font-weight: 700;
}

.mikan_list li:not(:first-child),
.hana_list li:not(:first-child) {
  margin-top: 10px;
}

span.orange_line,
span.pink_line {
  margin-bottom: 0.5rem;
  display: inline;
  background: linear-gradient(transparent 60%, #FFE1B6 60%);
}

.mikan_list li::before,
.hana_list li::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #FF9500;
  border-radius: 50%;
  top: 12px;
  left: 0;
}

.process_wrap .tel_btn {
  text-align: center;
  margin-top: 20px;
}

.process_wrap .tel_btn a {
  display: inline-block;
  text-align: center;
  position: relative;
  background-color: #fff;
  border: 1px solid #3A1808;
  padding: 20px 40px 20px 80px;
  overflow: hidden;
  border-radius: 12px;
  font-size: calc(18 / var(--root-font-size) * 1rem);
  min-width: 280px;
  transition-duration: .3s;
  z-index: 2
}

.process_wrap .tel_btn a::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #3A1808;
  clip-path: path("M3.865.575A.935.935,0,0,0,2.754.032L.691.594A.94.94,0,0,0,0,1.5,10.5,10.5,0,0,0,10.5,12a.94.94,0,0,0,.9-.691l.562-2.062a.935.935,0,0,0-.544-1.111L9.173,7.2a.934.934,0,0,0-1.085.272L7.141,8.624A7.921,7.921,0,0,1,3.375,4.857L4.53,3.913A.935.935,0,0,0,4.8,2.828L3.865.578Z");
  top: calc(50% - 6px);
  left: 36px;
  transition: 0.3s;
}

.process_wrap .tel_btn a::after {
  background: #00BB85;
  border-radius: 50%;
  content: "";
  display: block;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 100%;
  height: 0;
  z-index: -1;
  transform: translateY(-50%) scale(0.1);
  transition: opacity .5s, transform 0s;
  transition-delay: 0s, .3s;
}

.process_wrap .tel_btn a:hover {
  color: #fff;
}

.process_wrap .tel_btn a:hover::before {
  background-color: #fff;
  transform: scale(1.5) rotate(5deg);
}

.process_wrap .tel_btn a:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  transition-delay: 0s;
  transition: opacity .5s, transform .3s ease-in-out;
}

.carrying {
  margin: 32px auto;
  padding: 20px;
  background-color: #FFE1B6;
  border-radius: 12px;
  max-width: 840px;
  text-align: center;
}

.carrying strong {
  font-weight: 700;
  font-size: calc(18 / var(--root-font-size) * 1rem);
  padding-bottom: 20px;
  display: inline-block;
}

.carrying .carrying_inner {
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  padding: 20px 20px 40px;
}

.carrying .carrying_inner ol {
  max-width: 440px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.carrying .carrying_inner ol li {
  width: 100%;
  text-align: left;
  margin-bottom: 0;
}

.carrying_inner>p {
  margin-top: 20px;
}

.mikan_about {
  margin-top: 48px;
}

.childcare_list {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
}

.childcare_list dt {
  background-color: #FFE1B6;
  width: 234px;
  text-align: center;
  padding: 20px 0;
  position: relative;
  align-content: center;
  font-size: calc(18 / var(--root-font-size) * 1rem);
  font-weight: 500;
}

.childcare_list dd {
  width: calc(100% - 234px);
  padding: 20px 56px;
  margin-bottom: 0;
  position: relative;
  font-weight: 500;
}

.childcare_list dt::before,
.childcare_list dd::before {
  content: '';
  position: absolute;
  background-image: radial-gradient(circle, #FF9500 1px, transparent 1px);
  background-position: left -2px bottom;
  background-repeat: repeat-x;
  background-size: 8px 2px;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.childcare_list dt:last-of-type::after,
.childcare_list dd:last-of-type:after {
  content: '';
  position: absolute;
  background-image: radial-gradient(circle, #FF9500 1px, transparent 1px);
  background-position: left -2px bottom;
  background-repeat: repeat-x;
  background-size: 8px 2px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.childcare_list ul li {
  position: relative;
  padding-left: 2rem;
}

.childcare_list ul li:not(:first-child) {
  margin-top: 5px;
}

.childcare_list ul.important li:not(:first-child) {
  margin-top: 2px;
}

.childcare_list ul ul,
.childcare_list ul:not(:first-child) {
  margin-top: 10px;
}

.childcare_list ul li.dot::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #eee;
  top: 12px;
  left: 0.5em;
}

.childcare_list ul li.dot.orange::before {
  background-color: #FF9500;
}

.childcare_list ul li>ul li.dot_inner::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #eee;
  top: 12px;
  left: 0.5em;
}

.childcare_list ul li>ul li.dot_inner.orange::before {
  border: 1px solid #FF9500;
}

.childcare_list ul.important li {
  padding-left: 0;
}

span.important::before {
  content: '※';
}

.QA_list{
  margin-top: 80px;
}

.QA_list .accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.QA_list .accordion-item {
  width: 100%;
  background: #FFE1B6;
  border: 1px solid #FFE1B6;
  font-weight: 700;
  width: 100%;
  border-radius: 8px;
  position: relative;
}

.QA_list .accordion-button {
  background-color: transparent;
  border: none;
  padding: 24px 80px 24px 40px;
  box-shadow: none;
  color: #3A1808;
  font-size: calc(18 / var(--root-font-size) * 1rem);
}

.QA_list .accordion-button::before {
  content: 'Q';
  font-size: calc(20 / var(--root-font-size) * 1rem);
  font-family: "Nunito";
  font-weight: 600;
  color: #3A1808;
  padding-right: 20px;
}

.QA_list .accordion-button::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  clip-path: path("M27.692,17.308a2.308,2.308,0,1,0,0-4.615H17.307V2.308a2.307,2.307,0,1,0-4.615,0V12.693H2.307a2.308,2.308,0,0,0,0,4.615H12.692V27.693a2.307,2.307,0,0,0,4.615,0V17.308Z");
  background: #EE7800;
  top: calc(50% - 15px);
  right: 24px;
  transition: 0.3s;
  transform: rotate(45deg);
}

.QA_list .accordion-button.collapsed::after {
  transform: rotate(0deg);
}

.QA_list .accordion-body {
  border: 1px solid #FF9500;
  background-color: #fff;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.QA_list .accordion-body p {
  color: #3A1808;
  font-weight: 500;
  font-size: calc(16 / var(--root-font-size) * 1rem);
  text-align: left;
  padding-left: 60px;
  position: relative;
}

.QA_list .accordion-body p::before {
  content: 'A';
  position: absolute;
  font-weight: 600;
  font-size: calc(20 / var(--root-font-size) * 1rem);
  font-family: "Nunito";
  color: #3A1808;
  top: 0;
  left: 20px;
}


@media screen and (max-width: 991px) {
  #Temporary_childcare .white_box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .childcare_list dd {
    padding: 20px 40px;
  }
}

@media screen and (max-width: 575px) {

  .process_wrap .tel_btn a{
    min-width: auto;
    width: 100%;
    padding: 20px 20px 20px 60px;
  }

  .childcare_list dt,
  .childcare_list dd {
    width: 100%;
  }

  .childcare_list dd {
    padding: 20px 20px;
  }

  .childcare_list dt::before,
  .childcare_list dt:last-of-type:after {
    content: none;
  }

  .childcare_list dt:first-of-type:before {
    content: '';
    position: absolute;
    background-image: radial-gradient(circle, #3a1808 1px, transparent 1px);
    background-position: left -2px bottom;
    background-repeat: repeat-x;
    background-size: 8px 2px;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
  }

  .childcare_list dt:last-of-type::after,
  .childcare_list dd:last-of-type:after {
    background-image: radial-gradient(circle, #3a1808 1px, transparent 1px);
  }

  .childcare_list dd::before {
    top: auto;
    bottom: 0;
  }

  .QA_list .accordion-button {
    padding: 24px 80px 24px 20px;
  }

  .QA_list .accordion-body p {
    padding-left: 40px;
  }

  .QA_list .accordion-body p::before {
    left: 0;
  }
}

/*** --------------- 休日保育 --------------- ***/

#Holiday_childcare {
  background-color: #eee;
  position: relative;
  padding-top: 165px;
  padding-bottom: 120px;
}

#Holiday_childcare::before {
  content: '';
  position: absolute;
  background: url(../img/sub-common/wave_yellow.svg) center top / contain no-repeat;
  width: 110%;
  aspect-ratio: 280 / 17;
  top: -1px;
  transform: rotate(180deg);
}

.page_h3_donguri {
  padding: 0 52px;
  margin-bottom: 40px;
  position: relative;
  inline-size: fit-content;
  margin-inline: auto
}

.page_h3_donguri::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 35px;
  background: url(../img/amaki-kodomoen/admission/donguri_illust.png) center center / contain no-repeat;
  top: calc(50% - 17.5px);
  left: 0;
}

.page_h3_donguri::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 35px;
  background: url(../img/amaki-kodomoen/admission/donguri_illust.png) center center / contain no-repeat;
  top: calc(50% - 17.5px);
  right: 0;
}

.page_h3_donguri h3 {
  font-size: calc(24 / var(--root-font-size) * 1rem);
}

.page_h4_donguri {
  padding-left: 28px;
  margin-bottom: 40px;
  position: relative;
  inline-size: fit-content;
  margin-inline: auto
}

.page_h4_donguri::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: #88746A;
  border-radius: 50%;
  top: calc(50% - 9px);
  left: 0;
}

.page_h4_donguri h4 {
  font-size: calc(20 / var(--root-font-size) * 1rem);
}

.process_important {
  margin: 40px auto 0;
  max-width: 630px;
}

.donguri_about{
  margin-top: 80px;
}

.donguri_about .childcare_list dt {
  background-color: #88746A;
  color: #fff;
}

.donguri_about .childcare_list dt::before,
.donguri_about .childcare_list dd::before {
  background-image: radial-gradient(circle, #614639 1px, transparent 1px);
}

.donguri_about .childcare_list dt:last-of-type::after,
.donguri_about .childcare_list dd:last-of-type::after {
  background-image: radial-gradient(circle, #614639 1px, transparent 1px);
}

.donguri_about .childcare_list ul li.dot.brown::before {
  background-color: #88746A;
}

.QA_list.donguri .accordion-item {
  background: #88746A;
  border: 1px solid #88746A;
}

.QA_list .accordion-button {
  color: #fff;
}

.QA_list.donguri .accordion-button::before {
  color: #fff;
}

.QA_list.donguri .accordion-button::after {
  background: #fff;
}

.QA_list.donguri .accordion-body {
  border-color: #88746A;
}

/*** --------------- 自動スライド --------------- ***/
.auto_slide_area {
  margin-top: 40px;
}

.auto_slide_list li {
  width: 380px !important;
  margin-right: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.auto_slide_list li img {
  object-fit: cover;
}

@media screen and (max-width: 575px) {
  .auto_slide_list li {
    width: 250px !important;
  }
}
