@charset "UTF-8";
/* ↑共通 */
body {
    background: #E4EDF0;
}

h1 {
    font-size: 18px;
    font-weight: normal;
    padding: 45px 0;
    text-align: center;
}
@media (max-width: 968px) {
    h1 {
        font-size: 26px;
    }
}

/*全体*/
.qa {
    margin: 0 auto;
    padding: 100px 0;
    width: 92%;
}
.qa-item {
    margin-bottom: 100px;
}

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    padding-left: 0;
}
.accordion-area li {
    border-bottom: 1px solid #ccc;
}
.accordion-area li:first-child {
    border-top: 1px solid #ccc;
}
.accordion-area section {
  position: relative;
  padding: 15px 0;
}
.accordion-area section::after {
    content: "問";
    width: 2.8em;
    height: 2.8em;
    line-height: 2.8em;
    text-align: center;
    border-radius: 50%;
    color: #FFF;
    background: #0C8170;
    display: block;
    position: absolute;
    left: 1.5em;
    top: 1.5em;
    font-size: 18px;
}
.accordion-area section h3 {
    margin: 0;
}
/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-weight: normal;
    padding: 15px 45px 15px 100px;
    transition: all .5s ease;
    font-size: 16px;
}
/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    transition: 0.3s;
}
.title::before{
    top:48%;
    right: 15px;
    transform: rotate(0deg);
}
.title::after{    
    top:48%;
    right: 15px;
    transform: rotate(90deg);
}
/*　closeというクラスがついたら形状変化　*/
.title.close::after{
  transform: rotate(0deg);
}
/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    padding: 30px 45px 30px 100px;
    position: relative;
    font-size: 16px;
}
.box::before {
    content: "解";
    width: 2.8em;
    height: 2.8em;
    line-height: 2.8em;
    text-align: center;
    border-radius: 50%;
    color: #0C8170;
    border: 1px solid;
    display: block;
    position: absolute;
    left: 1.5em;
    top: 1em;
    font-size: 18px;
}
.box p {
    margin: 0;
}
.accordion-area section:has(.close) {
    background: #ffffff;
}
@media (max-width: 968px) {
    /**QAエリア*/
    .qa-item h3 {
        background: #ffffff;
        padding: 30px 15px;
        margin: 0;
    }
}
