@charset "UTF-8";

/* ---------------------こども予防矯正の流れ・費用----------------------- */
/* 治療の流れ */
.block_text_6 > .content_wrapper {
    border: none;
    background: var(--i_main_color);
    color: var(--i_bg_color) !important;
    border-radius: 10px;
    z-index: 0;
}
.block_text_2 > .content_wrapper {
    max-width: calc(1200px - var(--i_padding, 20px)*2) !important;
    padding: 15px 40px 15px 20px !important;
    width: calc(100% - var(--i_padding, 20px)*2);
    border-radius: 10px;
    border: none;
    background: var(--i_main_color);
    color: var(--i_bg_color) !important;
}

.heading.block_header_7 p {
    background: var(--i_btn_hover_color);
    color: var(--i_btn_color);
    font-size: 2.2rem;
}

.block_text_6 .heading::after {
    font-size: 3.5rem;
}

main section[style*="background"] {
    overflow: visible;
}
.block_text_2 > .content_wrapper {
    position: relative;
}
.block_text_2 > .content_wrapper::before {
    position: absolute;
    display: block;
    content: "";
    width: 30px;
    height: 100%;
    background: var(--i_main_color);
    top: 70px;
    left: calc(20px - -17px);
    z-index: -1;
}
a[id^="last"] + .block_text_2 > .content_wrapper::before {
    top: -40px;
}

@media screen and (max-width: 950px) {
    .heading.block_header_7 {
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 800px) {
    .heading.block_header_7 p {
        font-size: 1.9rem;
    }
}


/* 流れ矢印 */
a[id^="last"] + .block_text_6 > .content_wrapper::before {
    position: absolute;
    display: block;
    content: "";
    width: 30px;
    height: 100%;
    background: var(--i_main_color);
    top: 70px;
    left: calc(20px - -17px);
    z-index: -1;
}
a[id^="last"] + .block_text_2 > .content_wrapper {
    overflow: visible;
    z-index: auto;
}
#long + .block_text_2 > .content_wrapper::after {
    position: absolute;
    display: block;
    content: "";
    width: 90px;
    height: 420px;
    background: url("/common/upload_data/kidsgrow-newcom/image/arrow_bt1.png") no-repeat right bottom / contain;
    top: 0;
    right: calc(20px - 20px);
    z-index: 99;
    margin-top: 60px;
}

@media screen and (max-width: 380px) {
    #long + .block_text_2 > .content_wrapper::after {
        margin-top: 80px;
    }
}

/* 画像追加 */
.block_text_6 .wrapper_item {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; */
    overflow: clip;
}
.block_text_6 .wrapper_item .inner_item_txt {
    width: 100%;
    padding: 0 20px 20px !important;
}
.block_text_6 .wrapper_item .inner_item {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}
.block_text_6 .wrapper_item .inner_item > a {
    width: 23.8%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
#invisa + section .inner_item_txt a {
    display: flex;
    width: 25%;
    box-sizing: border-box;
}

/* 画像 */
.block_text_6 .wrapper_item .inner_item > a *,
#invisa + section .inner_item_txt a * {
    transition: 0.3s ease-in-out;
}
.block_text_6 .wrapper_item .inner_item > a:hover *,
#invisa + section .inner_item_txt a:hover * {
    opacity: 0.8;
}
.block_text_6 .inner_item_txt img {
    border-radius: 20px;
    object-position: 50% 50%;
    font-family: 'object-position: 50% 50%;';
}

@media screen and (min-width: 601px) {
    .block_text_6 .inner_item_txt a:not(:first-of-type) {
        margin-left: 1.5%;
    }
}
@media screen and (max-width: 600px) {
    .block_text_6 .wrapper_item .inner_item {
        flex-wrap: wrap;
    }
    .block_text_6 .wrapper_item .inner_item > a {
        width: 48%;
        margin-bottom: 20px;
    }
    .block_text_6 .inner_item_txt a:not(:nth-of-type(2n+1)) {
        margin-left: 4%;
    }
    .block_text_6 .wrapper_item .inner_item > a:nth-of-type(n+3),
    #gup6 + .block_text_6 .wrapper_item .inner_item > a {
        margin-bottom: 0px;
    }
    #invisa + section .inner_item_txt a {
        width: 100%;
    }
}

/* -----------------20241105追記＞料金------------------------- */
#last_psup5 + .block_text_2 > .content_wrapper::after,
#last_sup5 + .block_text_6 .heading::before,
#gup6 + .block_text_6 .heading::before {
    display: block;
    position: absolute;
    content: "￥317,000（税込み）";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    top: 0;
    right: 50px;
    font-size: 2.2rem;
}
@media screen and (max-width: 700px) {
    #last_psup5 + .block_text_2 .heading {
        padding-bottom: 25px;
    }
    #last_sup5 + .block_text_6 .heading,
    #gup6 + .block_text_6 .heading {
        padding: 15px 40px 35px 20px !important;
    }
    #last_psup5 + .block_text_2 > .content_wrapper::after,
    #last_sup5 + .block_text_6 .heading::before,
    #gup6 + .block_text_6 .heading::before {
        height: 40%;
        right: 0;
        bottom: 0;
        top: auto;
        font-size: 1.4rem;
    }
}

#last_psup5 + .block_text_2 > .content_wrapper::after {
    content: "￥180,000（税込み）";
}