/*
Theme Name: iesodan
Template: habakiri
*/

/**
 * ----------------------------------------
 * 注意事項
 * ----------------------------------------
 */


/**
 * ----------------------------------------
 * common
 * ----------------------------------------
 */

:root {
    --main-color: #FFBF78;
    --sub-color: #CA142B;
    --text-usume: #525252;
    --common-margin: clamp(1.25rem, -1.705rem + 14.77vw, 19.375rem);
}

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 16px;
}

#main {
    margin-bottom: 0;
}

.container {
    padding-left: 30px;
    padding-right: 30px;
}

ol {
    margin: 0;
    padding-left: 0;
    list-style-type: none
}

a:hover {
    text-decoration: none;
}

.responsive-nav-contents {
    box-shadow: none;
}

.sub-page-contents {
    padding-bottom: 50px;
}

[class^="section_title--"] {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 50px;

    @media (max-width: 600px) {
        flex-direction: column;
        gap: 0;
    }

    & h2 {
        color: #525252;

        font-size: clamp(3.2rem, 1.753rem + 1.99vw, 5rem);

        font-weight: 400;
        line-height: 47px;
        /* 100% */
    }

    & span {
        color: #CA142B;
        font-family: "Letter Gothic Std, monospace";
        font-size: clamp(14px, calc(1vw + 1rem), 18px);
    }
}

.section_title--reservation {
    padding-top: 110px;
}

[class^="btn--"] {

    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;

    & a {
        color: #fff;
        background: var(--sub-color);
        padding: 10px 25px;
        font-size: clamp(16px, calc(1vw + 1rem), 20px);
    }


}

.btn--top--blog {
    justify-content: normal;
}

[class^="mv--"] {
    position: relative;
    margin-bottom: clamp(1.25rem, -1.705rem + 9.77vw, 8.375rem);

    & div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--text-usume);
        font-weight: 100;
        width: 100%;
    }

    & span {
        font-size: clamp(15px, calc(1.5vw + 1rem), 20px);
    }

    & h2 {
        font-size: clamp(32px, calc(6.5vw + 1rem), 64px);
        font-weight: 100;
    }

    & img {
        display: block;
        width: 100%;
        height: auto;
    }
}


.sp-none {
    @media (max-width: 600px) {
        display: none;
    }

}

.tp-none {
    @media (max-width: 960px) {
        display: none;
    }

}

/* ----　header/ヘッタ　----- */

.blog .page-header {
    background-image: url(images/mv_contact.webp);
}


.header_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 5%;

    @media (max-width: 600px) {
        width: 250px;
        padding: 20px 0;
    }
}



.header_nav {
    display: flex;
    gap: 20px;
    align-items: center;

    & ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: clamp(1.25rem, -3.313rem + 4.17vw, 7.688rem);
        padding-right: 50px;

        @media (max-width: 1500px) {
            padding-right: 20px;
        }

        @media (max-width: 1200px) {
            display: none;
        }

        & a {
            font-size: clamp(16px, calc(0.8vw + 1rem), 25px);
            text-decoration: none;

            @media (max-width: 1500px) {
                font-size: 16px;

            }

            &:last-child {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
            }
        }
    }


}

.header_contact {
    display: flex;
    align-items: center;
    gap: 10px;

    @media screen and (max-width: 1200px) {
        display: none;

    }

    & a {
        background-color: var(--sub-color);
        color: #333;
        padding: 50px;
        font-size: 20px;
        color: #fff;
    }
}

/*--- hamburger-menu ---*/
.sp-menu {
    display: none;

    @media screen and (max-width: 1200px) {
        display: block;

    }
}

.sp-menu__box {
    position: fixed;
    top: 4px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    z-index: 90;
}

.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
    content: "";
    display: block;
    height: 4px;
    width: 35px;
    border-radius: 3px;
    background: var(--sub-color);
    position: absolute;
}

.sp-menu__box {
    & span {
        &:before {
            bottom: 8px;

        }

        &:after {
            top: 8px;

        }
    }
}



#sp-menu__check {
    display: none;
}

#sp-menu__check:checked~.sp-menu__box span {
    background: rgba(255, 255, 255, 0);
}

#sp-menu__check:checked~.sp-menu__box span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#sp-menu__check:checked~.sp-menu__box span::after {
    top: 0;
    transform: rotate(-45deg);
}

#sp-menu__check:checked~.sp-menu__content {
    left: 60%;

    @media screen and (max-width: 1200px) {
        display: block;
    }

    @media screen and (max-width: 430px) {
        left: 0;
        width: 100%;

    }
}

.sp-menu__content {
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    width: 50%;
    padding: 30px;
    margin-top: 60px;
    background-color: var(--sub-color);
    transition: all 0.5s;
}

.sp-menu__item {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}

.sp-menu__link {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
}

/* ------　footer　------- */
#footer {
    background: var(--main-color) url(images/footer_illust.webp) no-repeat right bottom / 35%;
}

.footer_inner {
    display: grid;
    grid-template-columns: 3fr 2fr 1fr;
    color: #333;
    padding: 18% 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }


}

.footer-left {
    font-size: clamp(16px, calc(1vw + 1rem), 20px);
    line-height: 2;

    & strong {
        font-size: 20px;
    }

    & p {
        margin: 0;
    }
}

.footer--add {
    word-break: keep-all;
}

.footer-right {
    @media (max-width: 600px) {
        display: none;
    }

    & a {
        font-size: 30px;
        font-weight: 500;
        color: #525252;
    }
}

.footer-info p {
    margin: 4px 0;
}

.footer-instagram {
    width: 30px;
    height: 30px;
    margin-top: 10px;
}

.footer-lest {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    & ul {
        list-style: none;
        padding: 0;
        margin: 0;

    }

    & li {
        margin-bottom: 10px;
    }

    & a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

    & img {
        max-width: 200px;
        height: auto;
    }
}

/**
 * ----------------------------------------
 * LP
 * ----------------------------------------
 */
.mv_content {
    color: #CA142B;
    padding-bottom: 100px;

    & h2 {
        font-size: clamp(3rem, -1.5rem + 7.63vw, 12.438rem);

        font-weight: 700;


        & span {
            font-size: clamp(1.188rem, -0.531rem + 6.88vw, 6.625rem);

            font-weight: 700;
        }
    }
}

.text_LP_logo {
    background: #CA142B;
    padding: 30px;
    text-align: center;
    margin-top: -120px;
    z-index: 1;
    position: sticky;

    @media (max-width: 960px) {
        margin-top: -20px;
    }

    @media (max-width: 600px) {
        padding: 30px;
        margin-top: 30px;
    }

}

.LP--info_content {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    align-items: flex-end;
    gap: 31px;

    @media (max-width: 960px) {
        margin-top: 30px;
        grid-template-columns: 1fr;
    }
}

.LP--info_text {
    display: flex;
    /* width: 783px; */
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    & strong {
        color: #CA142B;
        font-size: clamp(1.8rem, 0.344rem + 3.13vw, 3.688rem);
        line-height: clamp(4.5rem, 1.125rem + 5.5vw, 8.25rem);
        font-weight: 700;
    }

    & p {
        color: #525252;
        font-size: clamp(1.5rem, 0.688rem + 1vw, 2.2rem);
        line-height: clamp(3.5rem, 0.938rem + 3.75vw, 5.75rem);
        font-weight: 500;
    }
}

.LP--info_images {
    display: grid;
    gap: 52.712px;

    @media (max-width: 960px) {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

.LP--problem_content {
    position: relative;
    background-color: #ffbf786e;
    display: flex;
    align-items: flex-end;
    padding-top: 100px;
    margin-bottom: 250px;

    &::after {
        content: "";
        position: absolute;
        bottom: 0px;
        left: 50%;
        background-color: #ffbf786e;
        width: 100%;
        height: 200px;
        clip-path: polygon(0 0, 50% 100%, 100% 0);
        transform: translate(-50%, 100%);
    }

    & h2 {
        color: #000;
        margin-bottom: 32px;
        font-size: clamp(2.2rem, 0.763rem + 2.45vw, 4rem);
        font-weight: 500;

        @media (max-width: 600px) {
            text-align: center;
        }

        & span {
            color: #CA142B;
        }
    }

    & strong {
        font-size: clamp(1.8rem, 0.763rem + 2.45vw, 4rem);
        display: block;
        text-align: center;
        word-break: keep-all;
    }

    .container {
        position: relative;
    }
}

.problem_arrow {
    text-align: center;
    padding: 32px 0;
}

.strengths--list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px 82px;

    @media (max-width: 1300px) {
        gap: 55px;

    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

    }

    & div {
        position: relative;
        display: flex;
        padding: 67px 44px;
        flex-direction: column;
        gap: 10px;
        background: #FFBF78;

        @media (max-width: 1300px) {
            padding: 35px 20px;

        }

        &:last-child {
            & strong {
                font-size: clamp(2.6rem, 0.819rem + 1.2vw, 2.5rem);
                line-height: 40px;
            }
        }
    }

    & span {
        position: absolute;
        top: 0;
        right: 0;
        color: #CA142B;
        font-family: letter-gothic-std, monospace;
        font-family: "Letter Gothic Std, monospace";
        font-size: clamp(6rem, 1.875rem + 7.5vw, 11.5rem);
        transform: translate(0%, -50%);
        font-weight: 300;
    }

    & strong {
        font-size: clamp(1.6rem, 0.819rem + 1.2vw, 2.5rem);
        line-height: 40px;
    }

    & p {

        font-size: clamp(16px, calc(1vw + 1rem), 20px);

        font-weight: 400;
        line-height: clamp(30px, calc(1vw + 3rem), 40px);
        /* 200% */
    }
}

.LP--flow {
    margin-bottom: var(--common-margin);
}

.LP--strengths {
    margin-bottom: var(--common-margin);
}

.illust_nayami {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(100%, 0%);

    @media (max-width: 1500px) {
        display: none;

    }
}

.problem_list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24.92px;

    @media (max-width: 960px) {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    & div {
        display: flex;
        padding: 0 48px;
        justify-content: center;
        align-items: center;
        gap: 12.46px;
        border-radius: 129.205px;
        background: #FFBF78;
        height: clamp(14.5rem, 5.362rem + 8.55vw, 20.625rem);

        @media (max-width: 600px) {
            flex-direction: column;

        }

        & p {
            color: #000;
            font-size: clamp(1.5rem, 1.674rem + 0.4vw, 2.938rem);
            margin-bottom: 0;
        }
    }
}

.problem_box {
    /* TOP調整 */
    display: flex;

    @media (max-width: 960px) {
        justify-content: center;

    }

    @media (max-width: 600px) {
        flex-direction: column;

    }

    .problem_list {
        background: url(images/check.svg) no-repeat right bottom;

        @media (max-width: 600px) {
            background: none;

        }

        & div {
            & p {
                font-size: clamp(1.5rem, 1.674rem + 0.4vw, 2rem);


            }
        }
    }
}

.problem_img {
    @media (max-width: 600px) {
        display: none;

    }
}

.top--problem_content {
    & h2 {
        color: #000;
        margin-bottom: 32px;
        font-size: clamp(2.2rem, 0.763rem + 2.45vw, 4rem);
        font-weight: 500;

        & span {
            color: #CA142B;
        }
    }

    .problem_arrow {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 45px;
        font-size: clamp(2.8rem, 0.763rem + 2.45vw, 4rem);
        text-align: center;
        word-break: keep-all;

        & span {
            background: url(images/mark-line.png) no-repeat right bottom 100% / 100%;

            @media (max-width: 600px) {
                background: none;

            }
        }
    }
}

.flow--sub {

    /* TOPとLPページに使用 */
    & img {
        margin-bottom: 50px;

        @media (max-width: 600px) {
            margin-bottom: 0px;

        }
    }
}

.flow--sub_text {
    /* TOPとLPページに使用 */
    display: inline-flex;
    padding: 20px 30px;
    justify-content: center;
    gap: 30px;
    border-radius: 21px;
    background: #E96475;
    margin-bottom: 60px;

    @media (max-width: 600px) {
        flex-direction: column;
    }

    & span {
        color: #FFF;
        font-size: 70px;
        font-weight: 300;
        line-height: 70px;
    }

    & p {
        color: #FFF;
        font-size: clamp(16px, calc(1vw + 1rem), 22px);
        font-weight: 500;
        line-height: 43px;
    }
}

.flow--steps {

    /* TOPとLPページに使用 */
    & strong {
        color: #CA142B;
        text-align: center;
        font-size: clamp(2.2rem, 0.987rem + 2.05vw, 3.6rem);
        display: block;
        margin-bottom: 35px;
    }
}

.flow--steps_list {
    /* TOPとLPページに使用 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    @media (max-width: 1300px) {
        align-items: normal;

    }

    @media (max-width: 600px) {
        flex-direction: column;

    }

    &>div:not(.dots) {
        display: flex;
        width: 471px;
        padding: 25px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        background: #CA142B;

        @media (max-width: 600px) {
            width: 100%;

        }
    }



    & span {
        color: #FFF;
        text-align: center;
        font-family: letter-gothic-std, monospace;
        font-family: "Letter Gothic Std, monospace";
        font-size: clamp(3.25rem, 1.938rem + 3.25vw, 5.438rem);
        font-weight: 300;
    }

    & h3 {
        color: #FFF;
        text-align: center;
        font-size: 25px;
        margin: 6px;
    }

    & p {
        color: #FFF;
        text-align: center;

        font-size: 16px;

        font-weight: 500;
        line-height: 30px;
        /* 187.5% */
    }
}

.dots {
    width: 64px;
    height: 10px;
    flex-shrink: 0;

    @media (max-width: 1300px) {
        display: none;

    }
}

.LP--consultation {
    background-image: url(images/lp_footer_bg_pc.webp);
    padding: 50px 0;
}

.reservation {
    font-family: sans-serif;
    padding: 65px;
    text-align: center;
    background-color: #fff;

    @media (max-width: 600px) {
        padding: 20px;
    }
}

.lead {
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    color: #c00;
    margin: 0;

    @media (max-width: 600px) {
        justify-content: center;
    }
}

.yoyaku {
    font-size: clamp(2rem, 1.112rem + 2vw, 5.125rem);
}

.highlight {
    color: #c00;
    font-size: clamp(2rem, 1.112rem + 4vw, 7.125rem);
}

.note {
    font-size: clamp(1rem, 0.8rem + 2vw, 2.125rem);
    color: #666;
    display: block;
    margin-top: 5px;
}

.methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 10px 30px;
    margin: 20px 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }
}

.method {
    text-align: left;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;

    @media (max-width: 600px) {
        gap: 5px;
        padding: 0;
    }
}

.method-header {
    font-size: clamp(2rem, 1.112rem + 2vw, 5.125rem);
    font-weight: bold;
    margin-bottom: 10px;
}

.circle {
    position: relative;
    color: #fff;
    z-index: 0;
    width: 74px;
    height: 74px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    line-height: 1;

    @media (max-width: 960px) {
        width: 44px;
        height: 44px;
    }

    &::after {
        content: "";
        position: absolute;
        background-color: #c00;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        z-index: -1;
        top: 5px;
        left: 0;

        @media (max-width: 960px) {
            inset: 0;
        }
    }
}

.method-tel {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(3rem, 1.112rem + 3vw, 6.5rem);
    font-weight: 500;
    color: #c00;

    @media screen and (max-width: 1300px) and (min-width: 650px) {
        font-size: 25px;

    }

    & svg {
        width: 33px;

        @media (max-width: 960px) {
            width: 16px;
        }
    }
}

.method-email {
    font-size: clamp(1rem, 0.5rem + 2vw, 2.125rem);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;

    & a {
        color: #c00;
        text-decoration: none;
    }

    & svg {
        width: 45px;

        @media (max-width: 600px) {
            width: 20px;

        }
    }
}

.method-tanto {
    text-align: right;
    font-size: 32px;

    @media (max-width: 1500px) {
        text-align: left;
    }
}

.method-message {
    font-size: 18px;
}

.deadline {
    font-weight: bold;
    margin: 20px 0;
    font-size: clamp(1rem, 1.4rem + 1vw, 3.125rem);
    word-break: keep-all;
}

.present {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (max-width: 600px) {
        flex-direction: column;
    }

    & div {
        text-align: left;
    }
}

.present-title {
    font-size: clamp(2.563rem, 1.112rem + 2vw, 5.125rem);
    color: #c00;
    font-weight: bold;
    line-height: 1.5;

    & span {
        font-size: clamp(1rem, 0rem + 2vw, 5.125rem);
        font-weight: 500;
    }
}

/* ---- business-info/事業内容 --- */
:where(.business-info-section, .options-section, .consultation-section) {
    margin-bottom: 100px;

}

.business-info-section {
    color: var(--text-usume);

    & h2 {
        color: var(--text-usume);
        font-size: clamp(35px, calc(2vw + 2rem), 47px);
        margin-bottom: 45px;
        word-break: keep-all;
        line-height: 1.5;
    }
}

.business-info {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
    line-height: clamp(20px, calc(2vw + 2rem), 43px);

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}

.business-description {

    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 18px);
    }

}

.business-illust_s {
    display: grid;
    align-items: center;

    @media (max-width: 600px) {
        gap: 15px;
    }

    & img {
        &:nth-child(2) {
            margin-left: 150px;

            @media (max-width: 960px) {
                margin-left: 0px;
            }

        }
    }
}

.consultation-section {
    color: var(--text-usume);
}

.consultation-header {
    margin-bottom: 20px;

    & h2 {
        color: var(--text-usume);
        font-size: clamp(35px, calc(2vw + 2rem), 47px);
        margin-bottom: 20px;
        word-break: keep-all;
        line-height: 1.5;
    }

    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 20px);
    }
}

.consultation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    column-gap: 10%;
    row-gap: 30px;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}

.consultation-option {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}

.options-content {
    display: grid;
    background-color: var(--main-color);
    grid-template-rows: subgrid;
    /*---中の要素行に合わせてspnaの数を変える---*/
    grid-row: span 2;
    gap: 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}


.options-text {
    padding: 20px 18px;
    text-align: center;


    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 17px);
        line-height: 2.3;

        @media (max-width: 600px) {
            text-align: left;
        }
    }
}

.consultation-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px;

    @media (max-width: 600px) {
        padding: 20px 10px;
    }

    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 18px);

    }
}

.consultation-item {
    display: grid;
    grid-template-columns: 1fr 40%;
    background-color: var(--main-color);
    margin-bottom: 50px;

    @media (max-width: 1300px) {
        align-items: center;
    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}

.consultation-title-box {
    display: flex;
    gap: 15px;
    align-items: center;

    @media (max-width: 600px) {
        margin-bottom: 20px;
    }

    & h3 {
        color: var(--text-usume);
        font-size: clamp(20px, calc(1vw + 2rem), 30px);
        margin: 0;
    }

    &>span {
        font-family: "Letter Gothic Std, monospace";
        font-size: clamp(2.25rem, 1rem + 7.58vw, 10.5rem);
        line-height: 1;
        color: var(--sub-color);
        font-weight: 300;
    }
}

.title-en {
    @media (max-width: 600px) {
        display: none;
    }

}

.small-title {
    & h3 {
        @media (max-width: 600px) {
            font-size: 17px;
        }
    }

}

/* ---- business-info/事業内容 --- */
.step-info {
    margin-bottom: 30px;

    h2 {
        font-size: clamp(20px, calc(2vw + 2rem), 47px);
        font-weight: 500;
        color: var(--text-usume);
        margin-bottom: 50px;
    }
}

.step-description {
    display: grid;
    grid-template-columns: 1fr auto;
    font-size: clamp(16px, calc(1vw + 1rem), 20px);
    color: var(--text-usume);

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }
}

:where(.step-section, .faq) {
    margin-bottom: var(--common-margin);
}



.step-flow {
    text-align: center;
}

.step {
    display: grid;
    grid-template-columns: auto auto 1fr;
    border: 1px solid #D9D9D9;

    padding: 60px;

    @media (max-width: 1500px) {
        padding: 30px;
    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    & p {
        text-align: left;
        font-size: clamp(16px, calc(1vw + 1rem), 20px);
    }
}

.step-number {
    display: flex;
    flex-direction: column;
    font-size: clamp(20px, calc(2vw + 2rem), 47px);
    line-height: 1.2;
    justify-content: center;
    text-align: center;

    @media (max-width: 600px) {
        flex-direction: row;
        gap: 15px;
        font-size: 35px;
    }

    & span {
        font-weight: 300;
    }
}

.step-line {
    display: block;
    height: 100%;
    background-color: #D9D9D9;
    width: 2px;
    margin: 0 50px;
}

.step-title {
    display: flex;
    align-items: baseline;
    gap: 10px;

    @media (max-width: 600px) {
        /* flex-direction: column-reverse; */
        gap: 20px;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    & h2 {
        color: var(--text-usume);
        font-size: clamp(20px, calc(2vw + 2rem), 35px);

        font-weight: 500;

        @media (max-width: 600px) {
            margin: 0;
        }
    }

    & span {
        color: var(--sub-color);
        font-size: 20px;
    }
}

.two-arrow {
    /* SVGの二つの矢印 */
    margin: 15px 0 0px 0;
    height: 41px;
    width: 43px;
}

.toggle-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 10px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq h2 {
    font-size: clamp(20px, calc(2vw + 2rem), 47px);
    margin-bottom: 50px;

    & span {
        color: #888;
        font-size: 18px;
        font-family: "Letter Gothic Std, monospace";
        font-weight: 100;
    }

}

.faq-item {
    margin-top: 20px;
    position: relative;
}

.faq-toggle {
    display: none;
}

.faq-question,
.faq-answer {
    display: grid;
    gap: 30px;
    border-radius: 20px;

    & p {
        font-size: clamp(17px, calc(2vw + 1rem), 30px);
        margin: 0;
        font-weight: 400;
    }
}

.faq-question {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background-color: #F8F8F8;
    padding: 15px 20px;
    cursor: pointer;

    @media (max-width: 600px) {
        grid-template-columns: 60px 1fr auto;
        gap: 15px;
    }

}

.faq-answer {
    grid-template-columns: auto 1fr;
    max-height: 0;
    overflow: hidden;
    background-color: var(--sub-color);

    margin-top: 10px;
    padding: 0 20px;
    transition: max-height 0.5s ease, padding 0.5s ease;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

    & P {
        color: #fff;
        display: flex;
        align-items: center;
    }
}


/* 開いた時 */
.faq-toggle:checked+.faq-question+.faq-answer {
    max-height: 100%;
    padding: 15px 20px;
}

/* 開いた時は下向きに */
.faq-toggle:checked+.faq-question .toggle-icon {
    transform: rotate(225deg);
}


/*---- blog/ブログ ----*/
.sidebar_box {
    & h2 {
        background-color: var(--sub-color);
        color: #fff;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px 0px 15px 15px;
        font-weight: 400;
        font-size: 20px;

        & span {
            font-size: 16px;
        }
    }

    & ul {
        font-size: 24px;
    }

}

.blog-title {
    color: var(--text-usume);
    margin-bottom: 50px;

    & h2 {
        color: var(--text-usume);
        margin-bottom: 30px;

    }
}

.article--summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
}



.entry__label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.home-entry .category-knowledge {
    background-color: #ffeacc;
    color: #a25900;
}

/* 
.home-entry .category-loan {
    background-color: #cce5ff;
    color: #1a4d8f;
} */

.home-entry .category-builder {
    background-color: #e6f7d9;
    color: #3b7c1c;
}

.home-entry .category-land {
    background-color: #f1e8ff;
    color: #6a3ebf;
}

.home-entry .category-news {
    background-color: #fff5c2;
    color: #8a6d00;
}

.home-entry .category-advice {
    background-color: #d8eace;
    color: #2b5e30;
}

.entry--has_media__media {
    @media (max-width: 600px) {
        display: none;
    }
}

.entry--has_media__media--sp {
    display: none;

    @media (max-width: 600px) {
        display: block;
    }
}

.entry__title {
    font-size: clamp(22px, calc(1vw + 1rem), 28px);
}

/* ページネーション */
.mb-pagination {

    text-align: center;

}

.page-numbers {
    border: 1px solid var(--main-color);
    padding: 10px;
    color: var(--sub-color);
}

.page-numbers.current {
    border: 1px solid;
    padding: 10px;
    background-color: var(--main-color);
    color: #fff;
}


/* ------　予約システム　------ */
.biweekly-calendar {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-top: 25px;
    background-color: #ffffff;
    padding: 20px;
}

.biweekly-calendar td {
    padding: 8px;
    vertical-align: top;
    position: relative;
    width: 1%;
}

.biweekly-calendar .weekday {
    font-size: 14px;
    margin-bottom: 4px;
}

.biweekly-calendar .day {
    font-size: 16px;
    font-weight: bold;
}

.biweekly-calendar .status {
    margin-top: 4px;
    font-size: 18px;
}

/* 曜日ごとの色分け */
.biweekly-calendar td.saturday .weekday {
    color: #2196F3;
}

.biweekly-calendar td.sunday .weekday {
    color: #F44336;
}

.biweekly-calendar td.today {
    background-color: #4CAF50;
}

.biweekly-calendar td.today .weekday,
.biweekly-calendar td.today .day,
.biweekly-calendar td.today .status {
    color: white;
    position: relative;
    z-index: 1;
    font-weight: bold;
}


@media screen and (max-width: 768px) {
    .weekly-calendar {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .weekly-calendar table,
    .weekly-calendar tr,
    .weekly-calendar td {
        display: inline-block;
        width: 120px;
        vertical-align: top;
    }
}

/* ------ TOP ------ */
/* .hero-text {
    font-size: clamp(20px, calc(1vw + 2rem), 40px);
    word-break: keep-all;

    @media (max-width: 600px) {
        text-align: left;
    }
} */

.top--mv {
    position: relative;

    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #FFBF78;
        height: 40%;
        z-index: -1;
    }
}

.hero-container {
    text-align: right;
    display: grid;
    grid-template-columns: 10% 1fr;

    @media (max-width: 960px) {
        grid-template-columns: 1fr;
    }
}

.hero-img {
    position: relative;
}

.hero-content {
    position: absolute;
    bottom: 5%;
    right: 1%;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;

    @media (max-width: 1024px) {
        position: static;

    }

    @media (max-width: 600px) {
        background-color: #fff;

    }
}

.hero-buttons {
    display: flex;
    gap: 3.8rem;
    width: 100%;
    justify-content: center;


    @media (max-width: 1600px) and (min-width: 1200px) {
        gap: 15px;
        flex-direction: column;
    }

    @media (max-width: 600px) {

        flex-direction: column;
    }
}

.hero-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: crimson;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: clamp(17px, calc(1vw + 1rem), 30px);
    box-shadow: 3px 2px 4px 0px rgb(138 138 138 / 45%);

    & img {
        width: 144px;

        @media (max-width: 960px) {
            width: 100px;
        }
    }

    & span {
        padding: 0px 2.5rem;
    }
}

.hero-btn:hover {
    background-color: #f5f5f5;
}

.top--info {
    background-color: var(--main-color);
    color: var(--text-usume);
    padding: 3% 0;
}

.top--info_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;


    @media (max-width: 960px) {
        grid-template-columns: 1fr;
    }

    & h2 {
        font-size: clamp(3rem, 1.753rem + 1.99vw, 5rem);
        font-weight: 500;
    }

    & p {
        line-height: 40px;
        font-size: clamp(16px, calc(1vw + 1rem), 18px);
    }
}

.info_imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

    @media (max-width: 600px) {
        gap: 10px;

    }

}

.blog_box {
    display: grid;
    grid-template-columns: 26% 1fr;
    gap: 5%;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}

.blog_text {
    line-height: 2.2;
    font-size: clamp(16px, calc(1vw + 1rem), 20px);
}

.latest-info {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #525252;
    padding-bottom: 5px;
    margin-bottom: 20px;

    & h3 {
        margin: 0;
        font-weight: 400;
        font-size: 18px;
    }
}

.partner--logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;

    @media (max-width: 600px) {
        grid-template-columns: 1fr 1fr;
    }

    & img {
        border: 1px solid #93939375;
    }
}

.top--blog {
    background: url(images/illust_top_blog.webp) no-repeat right bottom;
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 100px;

    @media (max-width: 600px) {
        background: none;
    }

}

.top--flow {
    padding: 100px 0;
    background-color: var(--main-color);
    background-image: url(images/illust_top_folw.webp);
    background-repeat: no-repeat;
    background-position: right bottom 500px;
}

.partner--section {
    margin: var(--common-margin) 0;
}


/* ------　お問い合わせ 　-----*/

/*-------------------------------
 お問い合わせフォームの入力
-------------------------------*/
.inquiry-box {
    width: 55%;
    margin: 150px auto 0 auto;

    @media screen and (max-width: 1200px) {
        width: 90%;
        margin: 100px auto 0 auto;
    }

    & h3 {
        font-size: 2.2rem;
        padding-bottom: 20px;
        border-bottom: 1px solid #d0d0d0;
    }

    & p {
        margin: 22px 0;
    }

    & input {
        font-size: 1em;
        background: #13a094;
        border-radius: 3px;
        margin-right: 5px;
    }
}

#cf-tbl .textsp,
#cf-tbl .mailsp,
#cf-tbl .tel,
#cf-tbl .textsp,
#cf-tbl .content {
    margin: 10px 10px;
    width: calc(100% - 20px);
    border: none;

}

#cf-tbl {
    margin: 0;

    & table {
        width: 100%;
        margin: 0 auto;
        border-collapse: collapse;
        border-top: solid #CCC;
        border-bottom: solid #CCC;
        border-width: 1px;
        color: #444;

        & th {
            padding: 0.5em;
            width: 25%;
            background: var(--main-color);
            border-bottom: 1px solid #CBCBCB;
            border-left: 1px solid #CBCBCB;
        }

        & td {
            padding: 0.5em;
            border-bottom: 1px solid #CBCBCB;
            border-right: 1px solid #CBCBCB;
        }
    }
}

.consent {
    text-align: center;
}

input.wpcf7-submit {
    display: block;

    background: var(--sub-color);
    color: #fff;
    margin: 15px auto 0;
}

.required {
    font-size: .6em;
    vertical-align: text-top;
    margin-left: 5px;
}

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

    #cf-tbl table,
    #cf-tbl table tbody,
    #cf-tbl table tr,
    #cf-tbl table tr th,
    #cf-tbl table tr td {
        display: block;
    }

    #cf-tbl {
        margin: 0;

        & table {
            width: 100%;
            border-width: 0 0 1px 0;

            & tr {
                & th {
                    width: 100%;
                    padding: 3% 5%;
                }

                & td {
                    width: 100%;
                    padding: 3% 5%;
                    border-width: 0px 1px 0px 1px;
                    border: 1px solid #d0d0d0;
                }
            }

        }
    }
}

@media screen and (max-width: 430px) {
    #cf-tbl {
        width: 100%;

    }

    /* 入力項目を見やすく */
    input.wpcf7-form-control.wpcf7-text,
    textarea.wpcf7-form-control.wpcf7-textarea {
        width: 100%;
        padding: 8px 15px;
        margin-right: 10px;
        margin-top: 10px;
        border: 1px solid #d0d5d8;
        border-radius: 3px;
        background-color: #eff1f5;
    }

    textarea.wpcf7-form-control.wpcf7-textarea {
        height: 200px;
    }






    /*-------お問い合わせフォームの入力    END---
	/* エラーメッセージを見やすく */
    span.wpcf7-not-valid-tip,
    .wpcf7-response-output.wpcf7-validation-errors {
        color: red;
        font-weight: 600;
    }



    .globalMenuSp {
        display: none;
    }

    .inquiry {
        margin-top: 5rem;
    }

    #text {
        display: none;
    }
}

/* ------タブ機能 　-----*/
.tab-content_wp {
    position: relative;
}

/* 
.tab-content {
    overflow: hidden;
    transition: height 0.5s ease;
    height: 0;
}

.tab-content.active {
    height: auto;
} */

.navigation {
    margin: 50px 0 0px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 2rem;
    margin: 50px 0;

    @media (max-width: 1350px) {
        flex-wrap: wrap;
        justify-content: flex-start;
    }


}

:where(.tab-button) {
    border: 1px solid;
    width: 240px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 15px;
    padding: 20px 0;
}

.tab-button {
    color: var(--sub-color);
    background-color: var(--main-color);

    @media (max-width: 600px) {
        width: 100%;
    }
}

.tab-button.active {
    background-color: var(--sub-color);
    color: #fff;
}

.not-available {
    color: #ffffff;
    background-color: #b8b8b8;
    font-size: clamp(1.3rem, 0.6rem + 1.91vw, 2rem);
}



/* ------お問い合わせページ/contact 　-----*/
.cntact--section {
    margin-bottom: var(--common-margin);

    & h2,
    & h3 {
        color: var(--text-usume);
        font-size: clamp(2rem, 1.753rem + 1.99vw, 4rem);
    }

    & p {
        color: var(--text-usume);
        line-height: 2.3;
    }
}

.cntact--btn {
    & a {
        font-size: 50px;

    }

    & svg {
        width: 50px;
        height: 50px;
    }

}

.cntact--tel {
    margin-bottom: 50px;
}