.main {
    background-color: #F9EDF0;
    padding-top: 4.368rem;
    overflow: hidden;
}

/* keyvisual */
.keyvisual {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 4.646rem;
}

.keyvisual__img {
    width: 110rem;
    height: 44rem;
    border-radius: 4rem;
    overflow: hidden;
}

.keyvisual__title {
    position: absolute;
    bottom: -4.5rem;
    width: 57.3rem;
    height: 12.4rem;
    background-color: #F9EDF0;
    border-radius: 4rem;
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    padding-top: 3.754rem;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #3A3A3A;
}

.breadcrumbs__list {
    display: flex;
    width: 110rem;
    margin: 0 auto 3.9rem;
}

.breadcrumbs__item {
    font-size: 2rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: calc(30/20);
    color: #707070;
}

.breadcrumbs__item a{
    color: #707070;
}

.breadcrumbs__item a::after {
    content: "\003e";
    padding-right: 1rem;
    margin-left: 1rem;
}

/* children-confirmation */
.children-confirmation {
    padding-top: 6.4rem;
    padding-bottom: 5.9rem;
    background-color: #FFFFFF;
    width: 110rem;
    margin: 0 auto 18.3rem;
    border-radius: 4rem;
}

.children-confirmation__subtitle {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
    margin-bottom: 4.5rem;
    color: #3A3A3A;
}

.children-confirmation__img {
    width: 65.1rem;
    height: 66.6rem;
    margin-inline: auto;
    margin-bottom: 3.5rem;
}

.children-confirmation__arrow-box {
    display: flex;
    gap: 27.5rem;
    justify-content: center;
}

.children-confirmation__arrow {
    height: 3.4rem;
    position: relative;
}

.children-confirmation__arrow.children-confirmation--arrow2 {
    margin-left: -5rem;
}

.children-confirmation__arrow span::before,
.children-confirmation__arrow span::after {
    content: "";
    display: block;
    width: 3rem;
    height: 0.2rem;
    background-color: #AEADAD;
    position: absolute;
}

.children-confirmation__arrow span::before {
    transform: rotate(30deg);
    right: -0.4rem;
}

.children-confirmation__arrow span::after {
    transform: rotate(-30deg);
    left: 0;
}

.arrow--bottom {
    position: absolute;
    top: 1rem;
}

/* child-flow */
.child-flow {
    width: 110rem;
    border-radius: 4rem;
    border: 0.8rem solid #EDAA2C;
    background-color: #FFFFFF;
    margin: 0 auto 18.2rem;
    padding: 9.3rem 7.65rem 8.55rem;
}

.child-flow__subtitle {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A3A3A;
    margin-bottom: 6.4rem;
}

.child-flow__subtitle .issue {
    border-bottom: 0.1rem solid #3A3A3A;
}

.child-flow__subtitle .issue::first-letter {
    font-size: 3.2rem;
    display: block;
}

.child-flow__list {
    display: flex;
    gap: 3.1rem;
    margin-bottom: 3.2rem;
}

.child-flow__list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 29.4rem;
    position: relative;
}

.step-number {
    background-color: #EDAA2C;
    text-align: center;
    border-radius: 50%;
    width: 14.7rem;
    height: 14.7rem;
    padding-top: 0.8rem;
    color: #FFFFFF;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: 2.2rem;
}

.step-number span {
    font-size: 1.6rem;
}

.step-text {
    width: 29.4rem;
    height: 14.7rem;
    background-color: #EDAA2C;
    border-radius: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: -9rem;
    font-size: 2.4rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 800;
    position: relative;
    color: #3A3A3A;
}

.step--text1 {
    line-height: calc(36 / 16);
}

.step--text3 {
    line-height: calc(28 / 16);
}

.step-text span {
    font-size: 1.6rem;
    text-align: center;
}

.step--text3 span {
    font-weight: 400;
}

.child-flow__list li:last-child::after {
    display: none;
}

.child-flow__list li::after {
    content: "";
    position: absolute;
    width: 1.45rem;
    height: 0.3rem;
    background-color: #707070;
    right: -2.3rem;
    top: 13.6rem;
}

.step--text3::after,
.step--text3::before {
    display: none;
}

.step-text::after,
.step-text::before {
    content: "";
    position: absolute;
    width: 0.75rem;
    height: 0.3rem;
    background-color: #707070;
    right: -2.3rem;
}

.step-text::after {
    transform: rotate(45deg);
    top: 7.5rem;
}

.step-text::before {
    transform: rotate(-45deg);
    top: 8.3rem;
}

.child-flow p {
    font-size: 1.6rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
}

/* second&third */
.child-flow.second-third--child h2 span span {
    font-size: 3.2rem;
    border: none;
}

.child-flow.child-flow.second-third--child {
    border-color: #F2AEB5;
}

.child-flow.second-third--child .step-number,
.child-flow.second-third--child .step-text {
    background-color: #F2AEB5;
}

/* contact */
.contact {
    background-color: #FFFFFF;
    width: 100%;
    padding-block: 19rem;
}

.contact h2 {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    margin-bottom: 11.2rem;
    color: #3A3A3A;
}

.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__item label {
    font-size: 2rem;
    font-weight: 800;
    color: #3A3A3A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 29.4rem;
}

.contact__item label span {
    font-size: 1.6rem;
    color: #FFFFFF;
    background-color: #D86597;
    width: 5.8rem;
    height: 2.8rem;
    text-align: center;
    border-radius: 0.8rem;
    padding-top: 0.2rem;
}

.contact__item div input {
    background-color: #F9EDF0;
    width: 77rem;
    height: 5.2rem;
    padding: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.contact--tel div {
    font-size: 4rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact--tel div input {
    width: 18.9rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.hide-errors .wpcf7-not-valid-tip {
    display: none !important;
}

.contact--desired {
    display: flex;
    flex-direction: column;
}

.contact--desired .wpcf7-not-valid-tip {
    display: none;
}

.contact--desired-item {
    display: flex;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    align-items: center;
}

.contact__item .contact--desired-item input {
    width: 25.6rem;
    margin-left: 3.7rem;
    margin-right: 1.9rem;
}

.desired-time {
    width: 25.6rem;
    height: 5.2rem;
    background-color: #F9EDF0;
    text-align: center;
    margin-inline: 1.9rem;
    position: relative;
    font-weight: 800;
}

.contact--desired-item div span:nth-of-type(2)::after {
    content: "";
    width: 1.7rem;
    height: 1.4rem;
    border-style: solid;
    border-right: 0.8rem solid transparent;
    border-left: 0.8rem solid transparent;
    border-top: 1.4rem solid #3a3a3a;
    border-bottom: 0;
    position: absolute;
    top: 0.7rem;
    right: 3rem;
    pointer-events: none;
}

.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;
}

.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: 148rem;
    left: 42rem;
}

@media screen and (max-width:699.98px) {
    .main {
        padding-top: 0;
    }

    .keyvisual {
        margin-bottom: 5.9rem;
    }

    .keyvisual__img {
        width: 100%;
        height: 23.4rem;
        border-radius: 0;
    }

    .keyvisual__title {
        width: 33.6rem;
        height: 8.9rem;
        font-size: 2.8rem;
        padding-top: 2.2rem;
        bottom: -6rem;
    }

    .breadcrumbs__list {
        width: 34.9rem;
        margin: 0 auto 2rem;
    }
    .children-confirmation__arrow-box._pc {
        display: none;
    }

    .children-confirmation {
        width: 100%;
        padding-top: 3.2rem;
        padding-bottom: 1.2rem;
        margin-bottom: 3rem;
        border-radius: 0;
    }

    .children-confirmation h2 {
        width: 28rem;
        margin-inline: auto;
        text-align: left;
        margin-bottom: 0.9rem;
    }

    .children-confirmation__img {
        width: auto;
        height: auto;
        margin-bottom: 0;
    }

    .children-confirmation__img._sp img:first-child {
        width: 25rem;
        height: 47.7rem;
        margin-inline: auto;
        display: block;
        margin-bottom: 4.2rem;
    }

    .children-confirmation__img._sp img:last-child {
        margin-inline: auto;
        display: block;
        width: 10.2rem;
        height: 45.8rem;
    }

    .child-flow {
        width: 34rem;
        padding: 3.4rem 2.3rem 2rem;
        margin-bottom: 2.7rem;
    }

    .child-flow.second-third--child {
        padding-inline: 1.8rem;
        margin-bottom: 5.4rem;
    }

    .child-flow__subtitle {
        display: inline-block;
        margin-bottom: 2.7rem;
    }

    .child-flow__subtitle::first-letter {
        font-size: 3.2rem;
    }

    .child-flow__list {
        flex-direction: column;
        gap: 6.3rem;
    }

    .child-flow.second-third--child .child-flow__subtitle::first-letter {
        font-size: 2.4rem;
    }

    .child-flow.second-third--child h2 span span {
        font-size: 2.4rem;
    }

    .child-flow__list li {
        width: 28rem;
    }

    .step-number {
        width: 14rem;
        height: 14rem;
        padding-top: 0;
    }

    .step-text {
        width: 28rem;
        height: 14rem;
    }

    .child-flow__list li::after {
        transform: rotate(90deg);
        top: 21.8rem;
        right: 13.3rem;
    }

    .step-text::before,
    .step-text::after {
        top: 17.5rem;
    }

    .step-text::after {
        right: 13.9rem;
    }

    .step-text::before {
        right: 13.4rem;
    }

    .contact {
        padding-block: 4.7rem 1.6rem;
    }

    .contact h2 {
        margin-bottom: 6.4rem;
    }

    .contact-form {
        width: 33rem;
        margin-bottom: 6.8rem;
    }

    .contact__item {
        width: 33rem;
        flex-direction: column;
        gap: 2rem;
    }

    .contact__item div input {
        width: 33rem;
    }

    .contact--tel div {
        gap: 0;
    }

    .contact--tel div input {
        width: 9.6rem;
    }

    .contact--desired-item {
        flex-direction: column;
        gap: 1rem;
        align-items: initial;
    }

    .contact__item .contact--desired-item input {
        width: 14.2rem;
        margin-inline: 0.8rem 0;
    }

    .desired-time {
        margin-right: 0.8rem;
        margin-left: 0;
        margin: 1rem 0.8rem 0;
        width: 14.2rem;
        text-align: left;
        padding-left: 2rem;
    }

    .contact--desired-item div span:nth-of-type(2)::after {
        right: 2rem;
    }

    .contact__check-box{
        margin-bottom: 7.4rem;
    }

    .contact__check-box label {
        flex-direction: column-reverse;
    }

    .contact__submit input {
        width: 32.3rem;
        height: 12.4rem;
        border-radius: 4rem;
    }

    .wpcf7 form.sent .wpcf7-response-output {
        position: static;
        top: auto;
        left: auto;
        width: auto;
        margin: 2rem 2rem 0;
        text-align: center;
    }
}

/* =========================================================
   希望日時カレンダー(flatpickr) サイト配色テーマ
   ※ flatpickr.min.css の後に読み込み、色のみ上書きする
========================================================= */
.flatpickr-calendar {
    border: 0.1rem solid #ebbcd2;
    border-radius: 1.2rem;
    box-shadow: 0 0.4rem 1.6rem rgba(216, 101, 151, 0.25);
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1.4rem;
}

.flatpickr-calendar.arrowTop::before {
    border-bottom-color: #ebbcd2;
}

.flatpickr-calendar.arrowTop::after {
    border-bottom-color: #d86597;
}

.flatpickr-calendar.arrowBottom::before {
    border-top-color: #ebbcd2;
}

.flatpickr-calendar.arrowBottom::after {
    border-top-color: #fff;
}

/* ヘッダー（年・月） */
.flatpickr-months {
    background: #d86597;
    border-top-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    align-items: center;
    padding: 0.6rem 0;
}

.flatpickr-month {
    background: #d86597;
    color: #fff;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* flatpickr標準の年月表示は隠し、JSで生成する「2026年6月」ラベルに差し替える
   （曜日との重なり・並び順の問題を回避） */
.flatpickr-current-month {
    display: none;
}

.flatpickr-jp-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.4;
}

/* 前月・次月の矢印（ヘッダー高さに合わせて縦中央へ） */
.flatpickr-prev-month,
.flatpickr-next-month {
    top: 0;
    bottom: 0;
    height: auto;
    display: flex;
    align-items: center;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: #fff;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
    fill: #f9edf0;
}

/* 曜日見出し */
.flatpickr-weekdays {
    background: #d86597;
}

span.flatpickr-weekday {
    background: #d86597;
    color: #fff;
    font-weight: 700;
}

/* 日付セル */
.flatpickr-day {
    color: #3a3a3a;
    border-radius: 0.6rem;
    font-weight: 500;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    background: #f9edf0;
    border-color: #f9edf0;
}

.flatpickr-day.today {
    border-color: #d86597;
}

.flatpickr-day.today:hover {
    background: #ebbcd2;
    border-color: #ebbcd2;
    color: #3a3a3a;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #d86597;
    border-color: #d86597;
    color: #fff;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #cccccc;
}