:root {
  --font-heading: "Zen Maru Gothic", sans-serif;
  --font-weight-heading: 800;
  --color-heading: #3a3a3a;
}

.main {
  background-color: #f9edf0;
  padding-top: 4.25rem;
}

/* キービジュアル */
.keyvisual__img img {
  border-radius: 4rem;
  width: 110rem;
  height: 60rem;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.keyvisual {
  position: relative;
}

.keyvisual__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2.8rem;
  text-align: center;
  line-height: calc(60 / 40);
  letter-spacing: calc(4 / 40 * 1rem);
  background-color: #f9edf0;
  padding: 4.1rem 10rem 4.3rem 10rem;
  border-radius: 4rem;
  width: fit-content;
  margin: 0 auto;
  position: absolute;
  bottom: -13rem;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* page-nav */
.breadcrumbs {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #707070;
  line-height: calc(30 / 20);
  letter-spacing: 0;
  padding: 4.7rem 0;
  width: fit-content;
  display: flex;
  margin-bottom: 6.6rem;
  margin-left: 8.8rem;
}

.breadcrumbs__list {
  display: flex;
}

.breadcrumbs__item {
  font-size: 2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: calc(30 / 20);
  color: #707070;
  margin-bottom: 7.3rem;
}

.breadcrumbs__item a {
  color: #707070;
}

.breadcrumbs__item a::after {
  content: "\003e";
  padding-right: 1rem;
  margin-left: 1rem;
}

.recruit__intro img {
  width: 13.5rem;
  height: 8.95rem;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  margin-bottom: 17.5rem;
}

/* その子らしく、あなたらしく */
.slogan__img__container {
  width: 55rem;
  height: 70.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  left: 9rem;
  top: -4rem;
  border-radius: 4rem;
  overflow: hidden;
}
.slogan__img__box{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.slogan__img1 {
  width: 55rem;
  height: 37rem;
  object-fit: cover;
}
.slogan__img2 {
  width: 53rem;
  height: 35rem;
  object-fit: cover;
}
.slogan__img3 {
  width: 53rem;
  height: 35rem;
  object-fit: cover;
}

.slogan__icon {
  width: 17rem;
  height: 9.6rem;
  object-fit: cover;
  margin: 0 auto 1.4rem 21rem;
}

.slogan__textbox h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 3.2rem;
  text-align: left;
  line-height: calc(56 / 32);
  letter-spacing: calc(3.2 / 10 * 1rem);
  margin-bottom: 1rem;
  white-space: pre-line;
}

.slogan__textbox p {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-heading);
  font-size: 1.6rem;
  text-align: left;
  line-height: calc(32 / 16);
  letter-spacing: 0;
  width: 46.4rem;
}

.slogan__textbox {
  background-color: #ffffff;
  width: 88rem;
  border-radius: 6rem 0 0 6rem;
  margin-left: 40rem;
}

.slogan__textbox__inner {
  margin: 0 10rem 0 30rem;
  padding-top: 3.7rem;
  padding-bottom: 5.5rem;
}

.slogan {
  display: flex;
  position: relative;
  margin-bottom: 24.6rem;
}

/* ● 恵大こども園が大切にしていること ● */
.important__title::before {
  content: "";
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #3a3a3a;
  position: absolute;
  top: 1rem;
  left: -3rem;
}

.important__title::after {
  content: "";
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #3a3a3a;
  position: absolute;
  top: 1rem;
  right: -3rem;
}

.important__title {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.important h2 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2.4rem;
  text-align: center;
  line-height: calc(40 / 24);
  letter-spacing: calc(2.4 / 24 * 1rem);
  margin-bottom: 9.2rem;
}

.important__img {
  width: 34.4rem;
  height: 23rem;
  object-fit: cover;
  border-radius: 2rem;
  overflow: hidden;
}

.important__item h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2.4rem;
  text-align: left;
  line-height: calc(36 / 24);
  letter-spacing: calc(2.4 / 24 * 1rem);
  margin: 3.5rem 0rem;
}

.important__item p{
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-heading);
  font-size: 1.6rem;
  text-align: left;
  line-height: calc(32 / 16);
  letter-spacing: calc(0 / 10 * 1rem);
  width: 34.3rem;
}

.important__container {
  display: flex;
  gap: 3.4rem;
  justify-content: center;
}

/* ● 募集要項 ● */
.recruit {
  background-color: #ffffff;
  width: 109.9rem;
  border-radius: 4rem;
  margin: 23rem auto 0;
}

.recruit__title::before {
  content: "";
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #3a3a3a;
  position: absolute;
  top: 8.6rem;
  left: -3rem;
}

.recruit__title::after {
  content: "";
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #3a3a3a;
  position: absolute;
  top: 8.6rem;
  right: -3rem;
}

.recruit__title {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.recruit h2 {
  position: relative;
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2.4rem;
  text-align: center;
  line-height: calc(40 / 24);
  letter-spacing: calc(2.4 / 24 * 1rem);
  padding-top: 7rem;
  margin-bottom: 9.2rem;
}
.recruit__container {
  flex-wrap: wrap;
  width: 89.9rem;
  display: flex;
  column-gap: 2.5rem;
  row-gap: 3.5rem;
  row-gap: 4.6rem;
  margin: 0 auto;
  padding-bottom: 0rem;
  background-color: #e9bdb2;
  border-radius: 2rem;
}
.recruit__container a {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2rem;
  text-align: center;
  line-height: calc(40 / 20);
  letter-spacing: calc(2 / 20 * 1rem);
  background-color: #e9bdb2;
  border-radius: 2rem;
  padding: 0.7rem 0 0.7rem 0;
  width: 28.1rem;
  cursor: pointer;
  
}

.recruit__container.acc-item {
  display: block;
  width: 88rem;
  padding-bottom: 0rem;
  --acc-duration: 0.35s;
  --acc-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-btn {
  width: 100%;
  border: none;
  text-align: center;
  padding: 2rem 6rem 2rem 8.4rem;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2rem;
  line-height: calc(40 / 20);
  letter-spacing: calc(2 / 20 * 1rem);
  /* border-radius: 2rem; */
  /* background-color: #e9bdb2; */
  position: relative;
  cursor: pointer;
}

.acc-btn::after {
  content: "";
  width: 1.9rem;
  height: 0.2rem;
  background-color: #707070;
  position: absolute;
  right: 3.2rem;
  top: 50%;
  transform: translateY(-50%);
}
.acc-btn::before {
  content: "";
  width: 1.9rem;
  height: 0.2rem;
  background-color: #707070;
  position: absolute;
  right: 3.3rem;
  top: 49%;
  transform: translateY(-50%);
  rotate: 90deg;
  z-index: 1;
  transition: rotate var(--acc-duration) var(--acc-easing);
}

/* .acc-item.is-open .acc-btn::after {
  content: "-";
  font-size: 3rem;
  right: 3.2rem;
  top: 43.8%;
  transform: translateY(-50%);
} */
.acc-item.is-open .acc-btn::before {
  top: 50%;
  rotate: 0deg;
}
.acc-btn span::after{
  content: "";
  width: 3.4rem;
  height: 3.4rem;
  background-color: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  right: 2.4rem;
  top: 50%;
  transform: translateY(-50%);
}

.acc-body {
  height: 0;
  overflow: hidden;
  transition: height var(--acc-duration) var(--acc-easing);
}

.acc-body__inner {
  width: 75rem;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 7rem;
}

.acc-body__inner h3 {
  font-family: var(--font-heading);
  font-weight: normal;
  color: var(--color-heading);
  font-size: 2.4rem;
  line-height: calc(40 / 24);
  letter-spacing: calc(2.4 / 24 * 1rem);
  margin-bottom: 2rem;
}

.acc-body__inner ul {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-heading);
  font-size: 1.8rem;
  line-height: calc(32 / 18);
}

.acc-body__inner li + li {
  margin-top: 1.2rem;
}
.acc-body__inner li:nth-of-type(5), .acc-body__inner li:nth-of-type(6){
list-style: disc;
margin-left: 2.5rem;
}

.button__container button {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2rem;
  text-align: center;
  line-height: calc(40 / 20);
  letter-spacing: calc(2 / 20 * 1rem);
  background-color: #e9bdb2;
  border-radius: 2rem;
  padding: 1.7rem 0 1.7rem 0;
  width: 28.1rem;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.button__container button.active {
  background-color: #d86597;
  color: #fff;
}


.button__container {
  flex-wrap: wrap;
  width: 89.9rem;
  display: flex;
  column-gap: 2.5rem;
  row-gap: 3.5rem;
  row-gap: 4.6rem;
  margin: 0 auto;
}

.recruit{
  padding-bottom: 7rem;
}

/* ボタンで切り替え表示 */
.recruit__panel h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: #d86597;
  font-size: 2.4rem;
  text-align: left;
  line-height: calc(40 / 24);
  letter-spacing: calc(2.4 / 24 * 1rem);
  position: relative;
  padding-bottom: 10.2rem;
}

.recruit__panel dt {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  font-size: 2rem;
  text-align: left;
  line-height: calc(40 / 20);
  letter-spacing: calc(2 / 20 * 1rem);
  width: 27.8rem;
  padding-bottom: 12rem;
}

.recruit__panel dt:nth-child(1) {
  padding-top: 2rem;
}

.recruit__panel dd {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-heading);
  font-size: 1.5rem;
  text-align: left;
  line-height: calc(40 / 16);
  letter-spacing: calc(1.6 / 10 * 1rem);
  width: 57rem;
  position: relative;
  padding-bottom: 12rem;
}

.recruit__panel dd:nth-child(2) {
  padding-top: 2rem;
}

.recruit__panel dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  width: 88rem;
}

.recruit__panel {
  width: 88rem;
  margin: 12rem auto 0 auto;
}

.recruit__panel[hidden] {
  display: none !important;
}

.recruit__panel dd::after {
  content: "";
  width: 88rem;
  height: 0.1rem;
  background-color: #707070;
  position: absolute;
  right: -0.5rem;
  bottom: 5rem;
}

.recruit__panel h3::before {
  content: "";
  width: 88rem;
  height: 0.1rem;
  background-color: #707070;
  position: absolute;
  left: 0;
  bottom: 5rem;
}

/* contact */
.contact {
  background-color: #FFFFFF;
  width: 100%;
  padding-block: 19rem;
  margin-top: 10rem;
}

.contact h2 {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: "Zen Maru Gothic", sans-serif;
  text-align: center;
  margin-bottom: 11.2rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 3.48rem;
  width: 110rem;
  margin-inline: auto;
  font-family: "Zen Maru Gothic", sans-serif;
  margin-bottom: 8.5rem;
}

.contact__item {
    display: flex;
    gap: 3.4rem;
    padding-bottom: 3.48rem;
    border-bottom: 0.1rem solid #707070;
}

.contact__dt {
  font-size: 2rem;
  font-weight: 800;
  color: #3A3A3A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 25.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact__dt span {
  font-size: 1.6rem;
  color: #FFFFFF;
  background-color: #D86597;
  width: 5.8rem;
  height: 2.8rem;
  text-align: center;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__dd {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }


.contact__dd input {
  background-color: #F9EDF0;
  width: 100%;
  height: 5.2rem;
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: left;
}

.contact__group {
    display: flex;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact__group input {
    width: 18.9rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.contact__group span {
 font-size: 4rem;
 font-weight: 400;
}
.contact__flex {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.8rem;
    flex-wrap: wrap;
}

  .contact__flex .wpcf7-form-control-wrap{
    margin-right: 1rem;
    height: auto;
  }


.contact--desired {
  display: flex;
  flex-direction: column;
}

.contact--desired .wpcf7-not-valid-tip {
  display: none;
}

  .wpcf7-form-control-wrap {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
  }

  .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.6rem;
    color: #dc3232;
    font-size: 1.4rem;
  }

.wpcf7-form-control input {
  width: 100%;
  margin: 0;
}

.wpcf7-form-control {
  width: 100%;
  height: 5.2rem;
  text-align: center;
  margin-inline: 1.9rem;
  position: relative;
  font-weight: 800;
  margin: 0;
}



.contact__check-box {
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8rem;
}

.contact__check-box label {
  display: flex;
  flex-direction: row-reverse;
  gap: 1.2rem;
  align-items: center;
}

.contact__check-box input {
  appearance: auto;
  width: 2.29rem;
  height: 2.29rem;
}

.contact__submit {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #FFFFFF;
  width: fit-content;
  margin-inline: auto;
}

.contact__submit input {
  width: 44.7rem;
  height: 10.9rem;
  border-radius: 3rem;
  background-color: #D86597;
}

  .birth-date-check {
    display: none;
  }


  .wpcf7-form-control-wrap textarea {
  height: 40rem;
  width: 100%;
  text-align: left;
  background-color: #F9EDF0;
  padding: 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  border: none;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 form.sent {
  position: relative;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: none;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: "Zen Maru Gothic", sans-serif;
  position: absolute;
  top: 167rem;
  left: 30rem;
}
.wpcf7-list-item{
  margin: 0;
}

 .birth-date-check,
  .tel-full-check {
    display: none;
  }

 .birth-error,
  .tel-error {
    display: none;
    color: #dc3232;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 0.6rem;
  }

  
.wpcf7-select {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: #F9EDF0;
}
  .select-wrap {
    position: relative;
  }

  .select-wrap::before,
  .select-wrap::after {
    content: "";
    position: absolute;
    top: 2.5rem;
    width: 1.2rem;
    height: 0.2rem;
    background-color: #3a3a3a;
    pointer-events: none;
    z-index: 2;
  }

  .select-wrap::before {
    right: 2.8rem;
    transform: rotate(45deg);
  }

  .select-wrap::after {
    right: 2rem;
    transform: rotate(-45deg);
  }

.contact__group input[type="number"] {
    width: 10rem;
    text-align: center;
    margin-right: 0;
    display: block;
    height: 4.8rem;
    padding: 0;
    line-height: 1;
}

  .birth-date-hidden .wpcf7-not-valid-tip,
  .tel-hidden .wpcf7-not-valid-tip {
    display: none;
  }


@media screen and (max-width: 699.98px) {
  .main{
    padding-top: 0rem;
  }
  .keyvisual__img img {
    width: 37.5em;
    height: 23.5rem;
    border-radius: 0;
  }

  .keyvisual__title {
    font-size: 2.8rem;
    width: 33.6rem;
    padding: 2.2rem 0 2.4rem 0;
    bottom: -10rem;
  }

  .breadcrumbs {
    margin-left: 1.4rem;
    margin-bottom: 0rem;
    padding: 5.7rem 0 3rem;
  }

  .breadcrumbs__item {
    margin-bottom: 0rem;
  }

  .recruit__intro img {
    margin: 0rem auto 7.14rem;
  }

  .slogan {
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
  }

  .slogan__img {
    width: 33rem;
    height: 39.3rem;
    margin: 0 auto;
    left: 2.5rem;
    top: 1rem;
  }

  .slogan__textbox {
    margin: 40rem auto 0;
    width: 100%;
    border-radius: 0rem;
  }

  .slogan__textbox__inner {
    width: 34rem;
    padding-top: 2rem;
    margin: 0 10rem 0 2.5rem;
    padding-bottom: 0rem;
  }

  .slogan h2 {
    font-size: 2.4rem;
  }

  .slogan p {
    width: 34rem;
    padding-bottom: 0rem;
    display: block;
  }

  .slogan__icon {
    margin: 0 auto 3.4rem 11rem;
  }
  .slogan__img__container{
    width: 35.5rem;
    height: 40.5rem;
    left: 1rem;
  }
  .slogan__img1{
    width: 35.5rem;
    height: 23rem;
  }
  .slogan__img2{
    height: 17rem;
  }
  .slogan__img3{
    height: 17rem;
  }

  .important__container {
    flex-wrap: wrap;
  }

  .important__img {
    width: 33rem;
    height: 25rem;
    overflow: hidden;
    margin: 0 auto;
  }

  .important__item p {
    width: 34rem;
    margin-bottom: 0rem;
  }

  .important__item h3 {
    margin: 0.5rem 0;
  }

  .important__title::before {
    content: none;
  }

  .important__title::after {
    content: none;
  }

  .important h2 {
    margin-bottom: 2.4rem;
  }

  
  /* .button__container {
    flex-direction: column;
  } */

  .recruit__panel h3::before {
    width: 34rem;
    bottom: 2.4rem;
  }
  .recruit__container{
    width: 35.5rem;
    justify-content: center;
    padding-bottom: 0rem;
  }

  .recruit__container.acc-item {
    width: 33rem;
    padding-bottom: 0rem;
  }

  .acc-btn {
    font-size: 1.8rem;
    line-height: calc(32 / 18);
    padding: 1.6rem 5rem 1.6rem 1.6rem;
  }

  .acc-body__inner{
    width: 30.9rem;
    margin: 0 auto;
    padding-bottom: 2rem;
  }
  .acc-body__inner li + li{
    margin-top: 0rem;
  }
  .acc-body__inner h3 {
    font-size: 2rem;
    line-height: calc(32 / 20);
    margin-bottom: 0.7rem;
  }

  .acc-body__inner ul {
    font-size: 1.6rem;
    line-height: calc(30 / 16);
  }

  /* .button__container button {
    width: 33rem;
    padding: 1.3rem 0 1.2rem 0;
  }

  .button__container {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .recruit__panel dd {
    width: 34rem;
    padding-bottom: 4rem;
  }

  .recruit__panel dd::after {
    width: 34rem;
    left: 0rem;
  }

  .recruit__panel dl {
    display: flex;
    flex-direction: column;
    width: 34rem;
    gap: 0rem;
  }

  .recruit__panel dt {
    width: 34rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
  }

  .recruit__panel dt:nth-child(1) {
    padding-top: 0rem;
  }

  .recruit__panel {
    width: 33rem;
    margin: 10.3rem auto 0 auto;
  }

  .recruit__panel h3 {
    padding-bottom: 5.2rem;
  }

  .recruit__panel dd::after {
    bottom: 2.1rem;
  }

  .recruit__panel dd:last-child::after {
    content: none;
  }

  .recruit__panel dl {
    padding-bottom: 14.4rem;
  } */

  .recruit {
    width: 100%;
    border-radius: 0;
    margin-top: 1rem;
    padding-bottom: 0rem;
  }
  .recruit h2{
    padding-top: 1rem;
    margin-bottom: 1rem;

  }
  .recruit__title::before{
    top: 2.2rem;
  }
  .recruit__title::after{
    top: 2.2rem;
  }
  
  .contact__form {
    width: 33rem;
  }
  .contact__item {
    flex-direction: column;
  }

  .contact__group input {
    width: 8rem;
  }
  
  .contact__group {
    gap: 1rem;
  }

  .contact__submit input {
    width: 33rem;
  }

  .contact__flex input[type="number"] {
    width: 7rem;
  }
  /* contact */
   .contact{
    margin-top: 0rem;
    padding-block: 6rem;
   }

   .contact__form {
    width: 33rem;
   }

   .contact__dt,
   .contact__dd {
    width: 100%;
   }
}

