
@charset "UTF-8";

/*==================================================
アコーディオンのためのcss
===================================*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
/*    width: 96%;*/
/*    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:20px;/*1rem*/
    font-weight: normal;
    padding: 1% 3% 0 3%;
    transition: all .5s ease;
/*/////
    background-color: #FF0000;
    border-radius: 30px;

  background: linear-gradient(-45deg, darken(#eb6100, 3%) 25%, #eb6100 0, #eb6100 50%, darken(#eb6100, 3%) 0, darken(#eb6100, 3%) 75%, #eb6100 0);
  background-size: 20px 20px;
  &:before,
  &:after {
    position: absolute;
    width: 100%;
    height: 4px;
    content: '';
  }
  &:before {
    top: 4px;
    left: 0;
    background: darken(#eb6100, 6%);
  }
  &:after {
    bottom: 4px;
    left: 0;
    background: darken(#eb6100, 6%);
  }
/////*/
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    right: 30px
}
.title::before{
    top:48%;
//    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
//    left: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
  transform: rotate(45deg);
}

.title.close::after{
  transform: rotate(-45deg);
}


/*アコーディオンタイトル*/
.title02 {
/*    position: relative;+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:20px;/*1rem*/
    font-weight: normal;
    padding: 1% 3% 0 3%;
    transition: all .5s ease;
}



/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
  margin: 0 3% 0 3%;
    padding: 0 3% 0 3%;
}

/*アコーディオンで現れるエリア*/
.box02 {
/*    display: none;はじめは非表示*/
    background: #f3f3f3;
  margin: 0 3% 3% 3%;
    padding: 0 3% 3% 3%;
}



/*========= レイアウトのためのCSS ===============*/


h2{
    text-align: center;
    margin: 30px 0;
    font-size:1rem;
}
