@charset "UTF-8";
@font-face {
    font-family: 'webfont';
    src: 
    url('/font/ZenKakuGothicNew-Black.ttf')  format('ttf'),
    url('/font/ZenKakuGothicNew-Light.ttf')  format('ttf'),
    url('/font/ZenKakuGothicNew-Medium.ttf')  format('ttf'),
    url('/font/ZenKakuGothicNew-Regular.ttf')  format('ttf'),
    url('/font/ZenKakuGothicNew-Bold.ttf')  format('ttf');
}

h1,h2,h3,h4,p,li,a  {
    font-family: 'webfont', sans-serif;
    font-weight: 400;
    font-style: normal;
  }


.riyu {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}
.riyu .wrap {
    background-color: #0062b0;
    padding: 0 5%;
}


/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0 20px 0;
    background-color: #fff;
    border-radius: 20px;
}



.accordion-area li{
    margin: 10px 0;
}
.accordion-area .li_first {
    margin-top: 0;
}

.riyu .accordion-area section {
    margin: 0 4%;
}

.accordion-area section {
    border-bottom: solid 2px #d2d4d3;
    padding: 2% 0;
}



.icon_flex {
    display: flex;
    align-items: center;
}
.icon_flex img {
    width: 100%;
    height: 100%;
    max-width: 50px;
    margin-right: 20px;
    padding-bottom: 2%;
}


/*アコーディオンタイトル*/
.aco_title {
    flex-grow: 1;
    width: 100%;
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 500;
    transition: all .5s ease;
    color: #3c3c3c;
    padding: 2% 2% 2% 0;
    margin: 0 auto;
    line-height: 1.2;
}
.aco_title span {
    font-size: 1.2rem;
    color: #0062b0;
}

.arrow {
    position: relative;
    padding: 16px;
    height: 0;
    background-color: #ffb500;
}
.arrow::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translate(-50%,-60%) rotate(135deg);
}

/*　activeというクラスがついたら形状変化　*/
.arrow.active::before{
    transform: translate(-50%,-40%) rotate(-45deg);
}




/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background-color: #e1eff9;
}
.box p {
    font-size: 0.95rem;
    color: #0062b0;
    padding: 3% 2%;
}






@media screen and (max-width: 520px) {
    .riyu .wrap {
        padding: 0 3%;
    }
    .riyu .accordion-area {
        border-radius: 10px;
    }
    .accordion-area h3 {
        font-size: 1.2rem;
    }
    .accordion-area section h3 {
        width: 90%
    }
    .accordion-area .box p {
        font-size: .9rem;
        padding: 10px;
    }
    .icon_flex img {
        max-width: 35px;
        margin-right: 15px;
    }
    .aco_title {
        padding-right: 5px;
        line-height: 1.2;
    }
    .aco_title span {
        font-size: .9rem;
    }
    .arrow {
        padding: 12px;
    }
    .arrow::before {
        width: 8px;
        height: 8px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: translate(-50%,-70%) rotate(135deg);
    }
    .arrow.active::before{
        transform: translate(-50%,-30%) rotate(-45deg);
    }
}








