@charset "utf-8";
/* --------------------------------------------------
*
    #faq_body
*
-------------------------------------------------- */
#yodogawa{
    margin: 0 0 15px 0;
    text-align: center;
}

#yodogawa .inner{
    display: inline-block;
    font-size: 14px;
    white-space: nowrap;
}

#faq_nav{
    margin: 0 0 20px 0;
    text-align: center;
}

#faq_nav li{
    background-color: #fffbde;
    margin: 0 0 1px 0;
}

#faq_nav li a{
    width: 100%;
    height: 38px;
    line-height: 38px;
    color: #4495d1;
    font-size: 14px;
    display: block;
    font-weight: bold;
    position: relative;
    transition: background .1s ease 0s;
}

#faq_nav li a:hover,
#faq_nav li a.touch{
    background-color: #D0CDB5;
    transition: background .15s ease .05s;
}

#faq_nav li span{
    padding: 0 0 0 30px;
    box-sizing: border-box;
    background-image:url(../images/faq/parts_nav_arrow.png);
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
}

article h2{
    text-align: center;
    color: #fff;
    background-color: #fa6b18;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: .05em;
}
#qa01 h2 {
    background-color: #009b6a;
}
#qa02 h2 {
    background-color: #0e85c3;
}
#qa03 h2 {
    background-color: #e4017c;
}
#qa04 h2 {
    background-color: #764a32;
}
#qa05 h2 {
    background-color: #288b3a;
}
#qa06 h2 {
    background-color: #02b4cd;
}
#qa07 h2 {
    background-color: #764a32;
}
#qa08 h2 {
    background-color: #c92c27;
}

article h2 span{
    display: inline-block;
    background-position: left center;
    background-repeat: no-repeat;
}

article li{
    margin: 0 0 1px 0;
}

article li:last-child{
    margin: 0;
}

article li h3{
    padding: 23px 0;
    font-size: 16px;
    line-height: 1.6em;
    background-color: #eeeeee;
    cursor: pointer;
    transition: background .1s ease .0s;
}

article li.on h3,
article li h3:hover,
article li h3.touch{
    background-color: #e5e5e5;
    transition: background .15s ease .1s;
}

article li h3 span{
    width: 960px;
    padding: 0 0 0 230px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    position: relative;
}

article li h3 span:before{
    content: '';
    width: 21px;
    height: 20px;
    border-radius: 7px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-image:url(../images/faq/parts_q.png);
    display: block;
    position: absolute;
    top: 4px;
    left: calc(50% - 295px);
}

article li h3 span:after{
    content: '';
    width: 28px;
    height: 14px;
    border-radius: 7px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-image:url(../images/faq/parts_q_arrow.png);
    display: block;
    position: absolute;
    top: calc(50% - 7px);
    right: 60px;
    transform: rotate(0);
    transition: transform .15s ease;
}

article li.on h3 span:after{
    transform: rotate(180deg);
}

article li .inner{
    padding: 20px 0 40px 0;
    display: none;
}

.is_pc #faq_body a:hover,
.is_sp #faq_body a.touch{
    text-decoration: underline;
}

article li .inner .desc{
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

article li .inner .desc:after{
    content: '';
    width: 39px;
    height: 39px;
    border-radius: 7px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-image:url(../images/faq/parts_a.png);
    display: block;
    position: absolute;
    top: 0;
    left: calc(50% - 315px);
}

article li .inner .desc p > span {
    padding-left: 1em;
    display: inline-block;
}

article li .desc p{
    font-size: 16px;
    letter-spacing: .025em;
    line-height: 2em;
}

article li .desc .pic{
    display: block;
}

article li .desc .pic img{
    width: 100%;
}

article li .desc .pic .caption{
    font-size: 13px;
}

.afterword .inner, .beforeword .inner{
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.beforeword .inner p{
    line-height: 2em;
    font-size: 14px;
}
.afterword .inner p{
    font-weight: bold;
    line-height: 2em;
    font-size: 16px;
}

@media screen and (min-width : 751px){
    #yodogawa .inner{
        width: 440px;
    }    
    #contents_inner {
        margin: 0 20px 60px 20px;
    }
    #faq_nav li span{
        width: 440px;
    }
    article h2{
        height: 84px;
        line-height: 84px;
    }
    article#qa01 h2 span{ background-size: 49px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_13.png);}
    article#qa02 h2 span{ background-size: 38px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_11.png);}
    article#qa03 h2 span{ background-size: 37px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_29.png);}
    article#qa04 h2 span{ background-size: 37px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_2.png);}
    article#qa05 h2 span{ background-size: 35px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_12.png);}
    article#qa06 h2 span{ background-size: 42px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_30.png);}
    article#qa07 h2 span{ background-size: 40px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_3.png);}
    article#qa08 h2 span{ background-size: 34px; background-image:url(/seikatsunotanoshimi/2022_spring/common/images/tori/tori_35.png);}

    article#qa01 h2 span{ padding-left: calc(59px + 20px);}
    article#qa02 h2 span{ padding-left: calc(58px + 20px);}
    article#qa03 h2 span{ padding-left: calc(37px + 20px);}
    article#qa04 h2 span{ padding-left: calc(37px + 20px);}
    article#qa05 h2 span{ padding-left: calc(55px + 20px);}
    article#qa06 h2 span{ padding-left: calc(42px + 20px);}
    article#qa07 h2 span{ padding-left: calc(40px + 20px);}
    article#qa08 h2 span{ padding-left: calc(34px + 20px);}

    article li .inner .desc{
        width: 960px;
        padding: 0 0 0 230px;
    }
    article li .desc .pic{
        width: 600px;
        margin: 0 0 0 -50px;
    }
    .beforeword .inner{
        width: 960px;
        padding: 0 0 10px;
        text-align: center;
    }
    .afterword .inner{
        width: 960px;
        padding: 55px 0 55px 230px;
    }
}
@media screen and (max-width: 750px) {

    #yodogawa{
        margin: 0 0 25px 0;
    }

    #yodogawa .inner{
        line-height: 1.875em;
    }

    #faq_nav li br{ display: none !important;}

    #faq_nav li a{
        padding: 0 0 0 10px;
        box-sizing: border-box;
        font-size: 12px;
        text-align: left;
        white-space: nowrap;
    }

    #faq_nav li span{
        padding: 0 0 0 25px;
    }

    article h2{
        padding: 15px 0;
        font-size: 15px;
        line-height: 1.6em;
    }


    article li h3{
        padding: 15px 0;
        font-size: 13px;
    }

    article li h3 span{
        width: 100%;
        padding: 0 45px 0 35px;
    }

    article li h3 span:before{
        top: 0;
        left: 5px;
    }

    article li h3 span:after{
        width: calc(28px * .6);
        height: calc(14px * .6);
        top: calc(50% - (7px * .6));
        right: 15px;
    }

    article li .inner{
        padding: 15px 15px 25px 15px;
    }

    /* article li .inner br + br{
        display: table-row;
    } */

    article li .inner .desc{

        margin: 0 auto;
        box-sizing: border-box;
        position: relative;
    }

    article li .inner .desc:after{
        content: '';
        width: 26px;
        height: 26px;
        border-radius: 7px;
        background-repeat: no-repeat;
        background-size: 100%;
        background-image:url(../images/faq/parts_a.png);
        display: none;
        position: absolute;
        top: 0;
        left: 5px;
    }

    article li .desc p{
        font-size: 14px;
    }

    article li .desc .pic{
        margin: 0 0 20px 0;
        display: block;
    }

    article li .desc .pic .caption{
        font-size: 12px;
        line-height: 1.6em !important;
        display: block;
    }

    .beforeword .inner{
        padding: 0 15px 5px;
    }

    .beforeword .inner p{
        font-size: 12px;
    }

    .afterword .inner{
        padding: 30px 15px;
    }

    .afterword .inner p{
        font-size: 13px;
        white-space: nowrap;
    }

} /* ----- max-width: 750px ----- */