/*ヘッダー*/
nav div{
    flex: 0 0 auto;
}

.header_btn{
    padding-right: 8px;
}
@media only screen and (max-width: 750px) {
    nav{
        padding: 0;
        padding-right: 8px;
    }
    .pc{
        display: none;
    }
    .sp{
        display: block; 
    }
    .logo{
        width: 58vw;
    }
}

/* メインビジュアル */
#top_image{
    padding: 0;
    position: relative;
    margin-top: 77px;
}
#top_image h1 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#top_image{
    border-bottom: 3px solid var(--keyblack-20);
}
#top_image .top_image_btn{
    position: absolute;
    background: none;
    padding: 0;
    width: 26.5vw;
    top: 32vw;
    left: 5.7vw;
}
.top_image_btn .install{
    justify-content: space-between;
    list-style: none;
}
.top_image_btn .install li{
    margin: 0;
}
.top_image_btn .install li img{
    height: 4vw;
}

@media only screen and (max-width: 750px){
    #top_image .top_image_btn{
        position: static;
        padding: 24px;
        text-align: center;
        background: var(--worker);
        width: 100%;
    }
    .top_image_btn .install{
        justify-content: center;
    }
    .top_image_btn .install li {
        margin: 0 3vw;
    }
    .top_image_btn .install li img {
        height: 12vw;
    }
}
/* コンテンツ共通 */

section .inner{
    text-align: center;
}
.title_area{
    background: var(--worker);
}
.btn_group{
    display: flex;
    justify-content: center;
    gap: 16px;
}
.btn_group a{
    min-width: 200px;
}
@media only screen and (max-width: 750px){
    .btn_group{
        display: block;
    }
    .btn_group div:not(:first-child){
        margin-top:8px;
    }
}

/*ビルダーズポイントとは*/
.about_flow ol{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    counter-reset: number 0; 
    margin-top: 24px;
}
.about_flow li{
    counter-increment: number 1;
    list-style: none;
    margin: 0 16px 32px;
    max-width: 350px;
}
.about_flow h3{
    background-color: var(--keyblack);
    color: var(--white);
    text-align: center;
    padding: 4px;
    padding-right: 16px;
    display: inline-block;
    border-radius: 20px;
    margin-bottom: 8px;
}
.about_flow li h3::before{
    content: counter(number);
    display: inline-block;
    border-radius: 20px;
    background-color: var(--white);
    color: var(--keyblack);
    width: 24px;
    height: 24px;
    text-align: center;
    margin-right: 8px;
}
.about_flow li img{
    margin: auto;
    margin-bottom: 8px;
    max-width: 100%;
}
.about_flow li p{
    text-align: left;
}

@media only screen and (max-width: 750px){
    #about p{
        text-align: left;
    }
    .about_flow ol{
        display: block;
    }
    .about_flow li{
        margin: 0 auto 32px;
    }
}


/*ポイント付与例*/
.point_case ul{
    display: flex;
    max-width: 1000px;
    margin: 0 auto 16px;
}
.point_case li{
    padding: 16px;
    text-align: left;
}
.point_case li + li{
    border-left: 1px solid var(--keyblack);
}
.point_case li h3{
    font-size: var(--headline-sub);
}
.point_case li h3 span{
    color: var(--contractors);
}

@media only screen and (max-width: 750px){
    .point_case ul{
        display: block;
    }
    .point_case li + li{
        border-left: none;
        border-top: 1px solid var(--keyblack);
    }
}

/*ご利用までの流れ*/
.step_list{
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
}
.step_list_column{
    display: flex;
    flex: 0 0 auto;
}
.step_list li{
    max-width: 320px;
    padding: 16px;
    margin: 0 auto 8px;
    text-align-last: left;
}
.step_list li h3{
    font-size: var(--headline-sub);
    margin-bottom: 8px;
}
.step_list li h3 span{
    display: inline-block;
    background: var(--worker);
    color: var(--white);
    padding: 4px 10px 4px 8px;
    margin-right: 8px;
    border-radius: 0 20px 20px 0;
    line-height: 1;
}
.step_column .img_box{
    margin-bottom: 8px;
    background-color: var(--worker-20);
    padding: 16px;
    border-radius: 10px;
}
.step_column .img_box img{
    margin: auto;       
}
.step_row{
    display: flex;
}
.step_row .img_box{
    margin-right: 8px;
    flex: 0 0 120px;
}
.step_row .text_box{
    flex:0 0 auto;
}
@media only screen and (max-width: 750px){
    .step_list,.step_list_column{
        display: block;
    }
    .step_list li{
        max-width: none;
    }
    

}

/*ご利用にあたっての注意事項*/
.notes_lebel_1{
    text-align: left;
    max-width: 1000px;
    margin: 0 auto var(--spacing-24);
}
.notes_lebel_1 h3{
    font-size: var(--headline-sub);
    background: linear-gradient(270deg, rgba(251,219,153,1) 0%, rgba(247,183,51,1) 100%);
    padding: 4px 8px;
    margin-bottom: 8px;

}
.about_flow ul{
    padding-left: 2em;
}
.notes_lebel_1 li{
    list-style: disc;
    margin-left: 32px;
}
.notes_lebel_2{
    padding-left: 32px;
    margin-bottom: 16px;
    z-index: 0;
    position: relative;
}
.notes_lebel_2 h4{
    font-size: var(--headline-sub_2);
}
.headline_square{
    position: relative;
    padding-left: 8px;
    margin-top: 8px;
}
.headline_square::before{
    content: "";
    display: inline-block;
    height: 16px;
    width: 16px;
    background: var(--keyblack);
    margin-right: 8px;
    position: absolute;
    top: 4px;
    left: -16px;
}
.notes_lebel_3{
    z-index: 0;
    position: relative;
}
.headline_markerline{
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 0 8px;
    display: inline-block;
    position: relative;
}
.headline_markerline::before{
    content: "";
    display: block;
    width: 100%;
    height: 16px;
    background-color: var(--worker-60);
    position: absolute;
    left: 0;
    bottom: -2px;
    z-index: -1;
}
.supplement{
    display: flex;
}
.supplement::before{
    content: "※";
    flex: 0 0 auto;
}

/*FAQ*/
#faq_link{
    height: 0;
    padding-top: 77px;
    margin-top: -77px;
}

#faq{
    background: var(--white);
}
.faq{
    text-align: left;
    max-width: 1000px;
    margin: 0 auto var(--spacing-16);
}
.faq details{
    border-bottom: 1px solid var(--keyblack);
    padding: var(--spacing-16);
}
.faq details:first-child{
    border-top: 1px solid var(--keyblack);
}

.faq summary{
    font-weight: bold;
    position: relative;
    display: block;
    padding-right: 60px;
    position: relative;
    cursor: pointer;
}
.faq summary::before,.faq summary::after{
    content: "";
    display: block;
    background-color: var(--keyblack-60);
    width: var(--spacing-24);
    height: 5px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
}
.faq summary::after{
    transform: rotate(90deg);
}
.faq details[open] summary::after{
    transform: rotate(0);
} 
.faq details[open] summary{
    margin-bottom: var(--spacing-16);
}
.faq details summary > span.initial{
    display: inline-block;
    margin-right: 0.2em;
    font-size: 1.5em;
    color: var(--contractors);
}
.faq details summary + p span.initial{
    display: inline-block;
    margin-right: 0.2em;
    font-size: 1.5em;
    color: var(--worker);
    font-weight: bold;
}
.faq ol,
.faq ul{
    margin-top: 16px;
}
.faq ol li{
    list-style: decimal;
    margin-left: 32px;
}
.faq ul li{
    list-style: disc;
    margin-left: 32px;
}
.faq details dl dt{
    margin-top: 16px;
}
.contact{
    margin-top: 24px;
}
.contact .btn{
    padding: 8px 16px;
}



/*footer*/
footer{
    padding: 16px;
    text-align: center;
    background-color: var(--worker);
}
footer .install{
    margin-bottom: 16px;
}
.info{
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.link_list li{
    margin-right: 24px;
}
.link_list li:last-child{
    margin-right: 0;
}
.link_list{
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 750px) {
    .info{
        display: block;
    }
    section.about p{
        text-align: left;
        padding: 0 1em;
    }
}

/*利用規約*/


/*キャンペーンLP*/
.campaign_mv{
    background: rgb(237,28,36);
    background: linear-gradient(0deg, rgb(111 6 10) 0%, rgba(237, 28, 36, 1) 100%);
}
.campaign_mv picture{
    max-width: 780px;
    margin: auto;
}
.precautions{
    text-align: left;
    max-width: 1000px;
    margin: auto;
}

.campaign_details{
    text-align: left;
    max-width: 1000px;
    margin: auto;
}
.campaign_details > dt{
    font-size: var(--headline-sub);
    color: #a32429;
}
.campaign_details > dd{
    margin-bottom: var(--spacing-24);
}
.campaign_details > dd:last-child{
    margin-bottom: var(--spacing-8);
}
.campaign_details_2{
    padding: 0 1em;
}
.campaign_details_2 dt{
    font-size: var(--headline-sub_2);
    margin-top: var(--spacing-8);
    color: #b5686c;
}
#download .install{
    background: var(--white);
}

/* .notes_list{
    border-top: 1px solid var(--worker);
    background: var(--white);
    text-align: left;
    max-width: 1000px;
    margin: auto;
}
.notes_list_row{
    border-bottom: 1px solid var(--worker);
    display: flex;
}
.notes_list dt,.notes_list dd{
    padding: var(--spacing-16);
}
.notes_list dt{
    font-weight: normal;
    font-size: 20px;
    color: var(--worker);
    flex: 0 0 16em;
}
.notes_list dd{
    flex: 1 1 auto;
}
@media only screen and (max-width: 750px) {
    .notes_list_row{
        display: block;
    }
    .notes_list dt{
        padding-bottom: 0;
    }
} */

/* 税の申告義務 */
#zei-notice{
    height: 0;
    padding-top: 77px;
    margin-top: -77px;
}