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

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

.accordion-area section {}

/*アコーディオンタイトル*/
.title {
    position: relative;
    width: 300px;
    padding: 5px 20px;
    margin: 0 auto;
    border-radius: 100px;
    background: rgb(70, 164, 236);
    border-bottom: solid 3px rgb(58, 58, 132);
    /*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before {
    position: absolute;
    content: '^';

}

.title::before {
    top: 10%;
    left: 15px;
    transform: rotate(180deg);

}

.title.close {
    border-top: solid 3px rgb(58, 58, 132);

    border-bottom: none;

}

/*　closeというクラスがついたら形状変化　*/
.title.close::before {
    top: 25%;
    transform: rotate(0deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;
    /*はじめは非表示*/
    margin: 0 3% 3% 3%;
    padding: 3%;
}
