@charset "UTF-8";

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

.accordion-area section {
    border-top: 1px solid #2E75AF;
}

.accordion-area li:last-child section {
    border-bottom: 1px solid #2E75AF;
}

/*アコーディオンタイトル*/
.title {
    position: relative;
    /*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    transition: all .5s ease;
    /*margin: 3%;*/
    padding: 10% 3%;
}

/*アイコンの＋と×*/
.title::before,
.title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 1px;
    background-color: #eee;

}

.title::before {
    display: none;
}

.title::after {
    top: 48%;
    right: 15px;
    transform: rotate(-45deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before {
    display: none;
}

.title.close::after {
    transform: rotate(45deg);
}

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