@charset "UTF-8";

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 100%;
    max-width: 800px;
    margin: 2% auto 0;
    padding: 0;
}



.accordion-area li{
    margin: 10px 0;
}
.accordion-area p {
    margin: 0;
    padding: 0;
}

.accordion-area section {
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 30px;
}

/*アコーディオンタイトル*/
.aco-title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    transition: transform 0.5s ease;
    background-color: #333;
    text-align: center;
    padding: 20px;
}
.aco-title img {
    max-width: 480px;
}

/*アイコンの＋と×*/
.aco-title::before,
.aco-title::after{
    position: absolute;
    content:'';
    width: 30px;
    height: 1.5px;
    background-color: #fff;
    border-radius: 50px;
    transition: transform 0.5s ease;
    
}
.aco-title::before{
    top:48%;
    right: 30px;
    transform: rotate(0deg);
    
}
.aco-title::after{    
    top:48%;
    right: 30px;
    transform: rotate(90deg);

}
.aco-title.close {
    margin-bottom: 0;
}
/*　closeというクラスがついたら形状変化　*/
.aco-title.close::before{
	transform: rotate(-45deg);
    transition: transform 0.5s ease;
}

.aco-title.close::after{
	transform: rotate(45deg);
    transition: transform 0.5s ease;
}

/*アコーディオンで現れるエリア*/
.accordion-area .box {
    display: none;/*はじめは非表示*/
    padding: 20px;
    background-color: #f5fafa;
}



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


@media screen and (max-width: 450px) {
    .aco-title {
        padding-bottom: 5px;
        text-align: left;
    }
    .aco-title::before,.aco-title::after {
        width: 15px;
        right: 20px;
    }
    .aco-title img {
        max-width: 250px;
    }
}







