@charset "UT-8";
/*-- 共通  --*/
main{
    background-color: #CCEDF5;
    padding-bottom: 150px;
}
footer{
    background-color: #fff;
}
.faq_inner{
    background-color: #fff;
    padding: 100px;
}
.breadcrumb{
    width: 100%;
    padding-bottom: 30px;
}
.faq_block{
    width: 1200px;
    margin: 0 auto;
    padding-top: 200px;
}
.faq_img{
    width: 60%;
    box-shadow: 2px 2px 5px #E3E3E3;

}
.faq_title{
    width: 40%;
}
.faq_img img{
    width: 100%;
    height: auto;
}
.faq_title h1{
    font-size: 5rem;
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    letter-spacing: 0.2rem;
}
.faq_title h2{
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    bottom: 10px;
}
/*  --- パンくずリスト --- */
.breadcrumb_nav{
  padding-top: 0;
}
/*  --- アコーディオン --- */
.accordion_block{
    padding-top: 100px;
}
details{
    margin: 0 auto;
    max-width: 1000px;
    margin-bottom: 30px;
    border-bottom: 1px solid #c4c4c4;
}
summary{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 20px 30px 90px;
    color: #333333;
    cursor: pointer;
}
summary::before, details p::before{
    position: absolute;
    left: 1em;
}
summary::before{
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background-color: #2382D0;
    color: #ffffff;
    content: "Q";
    border-radius: 50%;
    display: inline-flex;  
    align-items: center;
    justify-content: center;
}
summary::after{
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}
details br{
    display: none;
}
details[open] summary::after{
    transform: rotate(225deg);
}
details p{
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 10px 20px 30px 90px;
    color: #333;
    transition: transform .5s, opacity .5s;
    display: flex;
    align-items: center;
}
details[open] p{
    transform: none;
    opacity: 1;
}
details p::before{
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    color: #2382D0;
    background-color: #fff;
    border: 1px solid #2382D0;
    border-radius: 50%;
    display: inline-flex;  
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    content: "A";
}

/*  --- スマホ・タブレット共通 --- */
@media screen and (max-width:1024px){
    .faq_inner{
        padding: 0;
    }
    .faq_inner .flex_block{
        display: block;
    }
    .faq_title_block{
        position: relative;
    }
    .faq_inner{
        background-color: #CCEDF5;
    }
    .accordion_block{
        background-color: #fff;
    }
    .faq_title{
        width: 100%;
    }
    .faq_img{
        width: 70%;
        margin-left: auto;
    } 
    .faq_img img{
        z-index: 10;
    }
    .faq_img::after{
        display: block;
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 1;
        background: #fff;
    }
    main{
        padding-bottom: 100px;
    }
}
/*  --- タブレットサイズ --- */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .faq_block{
        width: 650px;
    }
    .faq_img::after{
        height: 80px;
        width: 650px;
    }
    .accordion_block{
        padding: 100px 0 50px 0;
    }
    details{
        max-width: 620px;
    }
    footer{
        padding-top: 100px;
    }
}
/*  --- スマホサイズ --- */
@media screen and (max-width:767px){
    .breadcrumb_nav{
        padding-top: 80px;
    }
    .faq_block{
        width: 320px;
        padding-top: 50px;
    }
    .faq_inner{
        margin-bottom: 50px;
    }
    .faq_title h1{
        font-size: 3rem;
    }
    .faq_title h2{
        font-size: 1rem;
        bottom: 0;
        padding-bottom: 10px;
    }
    .faq_img::after{
        height: 50px;
        width: 320px;
    }
    summary, details p{
        padding: 20px 20px 20px 70px;
    }
    details{
        margin-bottom: 10px;
    }
    .accordion_block{
        padding: 50px 10px;
    }
    summary::before, details p::before{
        width: 40px;
        height: 40px;
    }
    details summary, details p{
        font-size: 0.8rem;
    }
    details br{
        display: block;
    }
    footer{
        padding-top: 50px;
    }
}