@charset "UTF-8";

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

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

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

.accordion-area section {
  border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .50s ease;
    height: 60px;
    text-align: center;
    color:#fff
    
/* background: #fff; */
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #fff;
    
}
.title::before{
    top:48%;
    left: 50px;    /* バツの右からの位置 */
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 50px;    /* バツの右からの位置 */
    transform: rotate(90deg);

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

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

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    width: 96%;
    margin-left: 2%;
    /* background: #f3f3f3; */
  /* margin:0 3% 3% 3%; */
    /* padding: 1%; */
}

/*========= レイアウトのためのCSS ===============*/


h2{
    text-align: center;
    margin: 30px 0;
    font-size:1rem;
    line-height: 80px;
}