@charset "UTF-8";

/*==================================================
アコーディオンのためのcss
===================================*/

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

.accordion-area section {
	border-top: 2px solid #0e1462;
	position: relative;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:22px;
    font-weight: bold;
	color: #0e1462;
	background: #e1e4f2;
    padding: 20px;
    transition: all .5s ease;
	box-sizing: border-box;
}

.accordion-area section:after{content:''; position: absolute; right: 15px; top: 15px; width: 50px; height: 50px; background: #fff; z-index: 5;}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #0e1462;
	z-index: 10;
    
}
.title::before{
    top:50%;
    right: 32px;
    transform: rotate(0deg);
    
}
.title::after{ 
    top:50%;
    right: 32px;
    transform: rotate(90deg);

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

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

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