@charset "UTF-8";
:root{
    --jcom-red:#E93817;
    --jcom-blue:#406FAF;
}

html{
    scroll-behavior: smooth;
}

/* common */
body {
    font-family: 'Noto Sans JP', 'meiryo', 'メイリオ', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Osaka', 'sans-serif';
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.7;
}

.sp_only{
    display: none;
}

.page-inner {
    margin: 0 auto;
    background-color: #fff;
    overflow: hidden;
}

main{
    place-items: center;
}

.section{
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 50px 0;
}

img{
    max-width: 100%;
}
.img{
    place-self: center;
}
.sp-img{
    display: none;
}

.arrow-up{
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: 0.25em;
    margin: 0 auto;
    place-items: center;
    font-weight: 600;
}
.arrow-up::before{
    content: "";
    width: 1em;
    height: 1em;
    background-image: url(../img/common/arrow_up.png);
}

.arrow-bottom{
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: 0.25em;
    margin: 0 auto;
    place-items: center;
    font-weight: 600;
}
.arrow-bottom::before{
    content: "";
    width: 1em;
    height: 1em;
    background-image: url(../img/common/arrow.png);
    background-size: contain;
}

/* commmon_title */
h1 {
    padding: 20px 0;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
}
h5 {
    display: inline-block;
    width: fit-content;
    margin: auto;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
    border-bottom: 2px solid var(--jcom-red);
}
h6.guide-item_h6 {
    font-size: 18px;
    font-weight: 600;
}
h6.guide-item_num{
    width: 100%;
    margin-bottom: 10px;
    
    .num{
        display: inline-block;
        height: 34px;
        width: 34px;
        color: white;
        font-size: 20px;
        text-align: center;
        background-color: var(--jcom-red);
        border-radius: 5px;
    }
}
h6.guide-item_num .txt{
    padding-left: 0.5em;
    font-size: 20px;
}
.b{
    font-weight: bold;
}
.s{
    font-size: 12px;
}

.section-title{
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.5em;
    padding: 0 7px;
    place-self: center;
    place-items: center;
    border-bottom: 2px solid var(--jcom-red);

    img {
        width: 30px;
    }
    h2 {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
    }
    .s {
        font-size: 14px;
        color: var(--jcom-red);
    }
}

/* commmon_テキストリンク */
.text-link{
    color: var(--jcom-blue);
}
.text-link:hover {
    text-decoration: underline;
}

.text_link_self{
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: 0.25em;
    margin: 0 auto;
    place-items: center;
    font-weight: 600;
}
.text_link_self::after{
    content: "";
    width: 1em;
    height: 1em;
    background-image: url(../img/common/arrow_right.png);
    background-size: contain;
}

.text_link_blank{
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: 0.25em;
    margin: 0 auto;
    place-items: center;
    font-weight: 600;
}
.text_link_blank::after{
    content: "";
    width: 1em;
    height: 1em;
    background-image: url(../img/common/icon_blank_bk.png);
    background-size: contain;
}

/* commmon_ボタンリンク */
.btn{
    display: block;
    width: 420px;
    margin: 0.5em auto;
    padding: .7em 2em;
    color: #444;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    background-color: white;
    border: 2px solid var(--jcom-red);
    border-radius: 50px;
    position: relative;
    -webkit-transition: linear .3s;
    transition: linear .3s;
    cursor: pointer;
}
.btn:hover{
    opacity: 0.7;
}
.btn_blank::after{
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-position: center center;
    background-size: contain;
    background-image: url(../img/common/icon_blank_bk.png);
    position: absolute;
    top: 15px;
    right: 30px;
}
.btn_arrow-right::after{
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    position: absolute;
    top: calc(50% - 5px);
    right: 1.5em;
    transform: rotate(45deg);
}
.btn_arrow-bottom::after{
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    position: absolute;
    top: calc(50% - 8px);
    right: 1.5em;
    transform: rotate(45deg);
}

.btn_red{
    color: white;
    font-weight: 600;
    background-color: var(--jcom-red);
}
.btn_red::after{
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    position: absolute;
    right: 1em;
    top: 50%;
    translate: -50% -50%;
    rotate: 45deg;
}

/* common_topボタン */
#btn-top{
    display: block;
    width: 60px;
    height: 60px;
    background: url(../img/common/PageTop.png) no-repeat left center;
    position: fixed;
    bottom: 35px;
    right: 19px;
    cursor: pointer;
    z-index: 2;

    a {
        display: block;
        height: 100%;
    }
}

/* common_挨拶する女性 */
.guide-content{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1em;
}
.section:not(.caution_section) .guide-content p{
    position: relative;
    padding: 10px;
    margin-bottom: 10px;
    text-align: left;
    font-size: 16px;
    border-radius: 10px;
    background: #FDECEE;
}
.section:not(.caution_section) .guide-content p::after{
    content: '';
    height: 0;
    width: 0;
    margin-top: -10px;
    position: absolute;
    left: 100%;
    top: 50%;
    border-color: rgba(253, 236, 238, 0);
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-left-color: #FDECEE;
}
.section:not(.caution_section) .guide-content span{
    font-weight: bold;
    color: var(--jcom-red);
}

/* before_section */
.before_section {
    display: grid;
    row-gap: 20px;
    max-width: 1120px;

    .gray{
        color: #333;
        font-size: 16px;
        font-weight: bold;
        background: #F2F2F2;
        border-radius: 10px;
        text-align: center;
        padding: 1em 2em;
    }

    .guide-item{
        display: grid;
        row-gap: 1.3em;
        padding: 30px;
        border: 1px solid #fafafa;
        border-radius: 5px;
        box-shadow: rgb(0 0 0 / 10%) 0px 1px 5px;
        place-items: center;
    
        .bg-gray{
            width: 100%;
            padding: 1em 0.5em;
            background-color: #F8F8F8;
        }
        p{
            text-align: center;
        }
    }
}
.before_section > h6,
.before_section > p{
    text-align: center;
}


#mobile .item_02 .guide-item .img{
    width: 400px;
}
#mobile .item_04 .s {
    text-align: start;

    span{
        color: var(--jcom-red);
    }
}
#mobile .item_04 .img600 .pc-img{
    width: 600px;
}
#mobile .item_04 .btn.js__open_modal::after{
    content: none;
}

#denki{
    place-items: center;

    .guide-item{
        row-gap: 0;
        width: 100%;
        place-items: baseline;
    
        p{
            text-align: start;
        }
    }
}

#phone .item_01 .accordion-content > .img{
    display: block;
    max-width: 600px;
    width: 100%;
}

/* flow_section */
.flow_section{
    display: grid;
    row-gap: 20px;
    max-width: 1120px;
}

.step-container{
    display: flex;
    justify-content: space-between;
}
.step-content{
    position: relative;
    display: inline-block;
    width: calc(33% - 20px);
}
.step-content::after {
    position: absolute;
    bottom: calc(50% - 10px);
    right: -40px;
    margin-top: -6px;
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f00;
    transform: rotate(-90deg);
}
.step-content:last-of-type::after {
    border: 0;
}
.step-content .step-num{
    background: var(--jcom-red);
    color: #fff;
    padding: 5px 0;
    font-weight: bold;
    text-align: center;
    border-radius: 20px 20px 0 0;

    .num{
        margin: 0 5px;
        font-size: 20px;
    }
}
.step-content .step-item{
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid #9E9E9E;
    border-top: 0;
    border-radius: 0 0 20px 20px;
    padding: 10px;
    min-height: 160px;
}
.step-content .step-item > div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.step-content .step-item h6{
    text-align: center;
    font-weight: bold;
}
.step-content .step-item .img{
    width: 120px;
    margin: 0 auto;
    margin-right: 10px;
}
.step-content .step-item .txt-ul{
    padding-left: 1em;
    list-style: disc;
    position: relative;

    li{
        position: relative;
        width: fit-content;

        span{
            position: absolute;
            top: -5px;
            right: -5px;
            font-size: 0.8em;
        }
    }

}

/* caution_section */
.caution_section{
    display: grid;
    row-gap: 20px;
    max-width: none;
}
.caution_section .bg-gray{
    padding: 30px 50px;
    background-color: #F8F8F8;
}
.caution_section > :not(.bg-gray) {
    max-width: 1120px;
    margin: 0 auto;
}
.caution_section .section-title{
    margin-bottom: 30px;

    .s{
        display: block;
    }
}

.caution_section .item_01 .accordion-content {    
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.caution_section .item_01 .service_notes{
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 20px;
    position: relative;
}
.caution_section .item_01 .service_name{
    width: 100px;
    font-weight: bold;
    text-align: center;
}
.caution_section .item_01 .service_name img{
    width: 50px;
}
.caution_section .item_01 .service_txt{
    padding-left: 1em;
    list-style: disc;
}
.caution_section .item_01 .service_notes:nth-of-type(odd)::after {
    content: "";
    display: block;
    width: 3px;
    height: 80%;
    border-right: 3px dotted #aaa;
    position: absolute;
    right: 0;
    top: 10%;
}
.caution_section .item_01 .service_notes:nth-child(n+3)::before {
    content: "";
    display: block;
    width: 90%;
    height: 3px;
    border-bottom: 3px dotted #aaa;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.caution_section .item_02 .accordion-content > p{
    text-align: center;
}
.caution_section .item_02 .accordion-content > .b{
    display: inline-block;
    margin: 30px auto 10px;
    text-align: center;
    border-bottom: 2px solid #434343;
}
.caution_section .item_02 .accordion-content .list{
    margin: 0 auto;
    padding-left: 1em;
    list-style: disc;
}
.caution_section .item_02 .accordion-content > .btn{
    margin: 3em auto;
}
.caution_section .item_02 .notes_content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 10px auto 0;
    border: 1px solid #ccc;
    border-radius: 16px;
    text-align: left;
    background: #E2E2E2;
    overflow: hidden;
}
.caution_section .item_02 .notes_item {
    border-right: 1px solid #ccc;
    background-color: white;
}
.caution_section .item_02 .notes_item:last-child {
    border-right: none;
}
.caution_section .item_02 .notes_item > p {
    font-size: 16px;
    padding: 10px;
    background-color: #ededed;
}
.caution_section .item_02 .notes_item > ul {
    max-width: 680px;
    margin: 0 auto;
    padding: 10px;
    padding-left: 1.5em;
    list-style: disc;
}
.caution_section .item_02 .notes_item > a {
    padding: 10px;
    padding-left: 1em;
}

.caution_section p:not(.s){
    text-align: center;
}
.caution_section .text-link{
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: 0.3em;
    margin: 0 auto;
    place-items: center;
}
.caution_section .text-link::after{
    content: "";
    width: 1em;
    height: 1em;
    background-image: url(../img/common/blank_bl.svg);
    background-size: contain;
}

/* query_section */
.query_section{
    display: grid;
    max-width: none;
    background: #FEEFED;
}
