/*ボックス全体*/
.accbox {
    margin: 2em 0;
    padding: 0;
    max-width: 600px;/*最大幅*/
}

/*ラベル*/
.accbox label {
    display: block;
    position: relative;
    margin: 3.5px 0;
    padding : 13px 25px;
    color: #ffba47;
    font-weight: bold;
    background: #fff2cc;
    cursor :pointer;
    transition: all 0.5s;
}

/*アイコンを表示*/
.accbox label::before {
display: block;
     position: absolute;
     content: '';
     width:7px;
     height:7px;
     border-top: solid 2px ;
     border-right: solid 2px ;
     -webkit-transform: rotate(45deg);
     transform: rotate(45deg);
     top: 40%;
     left: 8px;
  }

/*ラベルホバー時*/
.accbox label:hover {
    background :#ffe9a9;
}

/*チェックは隠す*/
.accbox input {
    display: none;
}

/*中身を非表示にしておく*/
.accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}


/*クリックで中身表示*/
.cssacc:checked + label + .accshow {
    height: auto;
    padding: 5px;
    background: #fff5eb;
    opacity: 1;
}

.accbox .accshow p {
    margin: 15px 10px}

/*アイコンを入れ替える*/
.cssacc:checked + label:before {
     position: absolute;
     content: '';
     width: 7px;
     height: 7px;
     font-color:orange;
     border-top: solid 2px ;
     border-right: solid 2px ;
     -webkit-transform: rotate(135deg);
     transform: rotate(135deg);
     top: 40%;
     left: 8px;

      }