@charset "utf-8";
/* QnA */
section#qna {
    padding: 70px 20px;
    position: relative;
    min-height: 60vh;
}

section#qna:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url('../img/index/bg-green.jpg');
    background-position: top center;
    background-size: cover;
    z-index: -1;
    top: 0;
    left: 0;
}

#tabs-bar {
    margin-bottom: 35px;
}

#tabs-bar>ul {
    display: flex;
    padding: 0;
    justify-content: center;
    border: 2px solid #007a3e;
}

#tabs-bar>ul.non-active {
    display: none;
}

#tabs-bar>ul li {
    width: 50%;
    text-align: center;
    border-right: 2px solid #007a3e;
}

#tabs-bar>ul li:last-child {
    border-right: none;
}

#tabs-bar>ul li a {
    padding: 10px 0;
    background: #fff;
    color: #007a3e;
    display: block;
    transition: .3s ease-in-out;
    font-weight: bold;
    font-size: 14px;
    font-family: "HanSan_Bold";
}

#tabs-bar>ul li a.current,
#tabs-bar>ul li a:hover {
    background: #ffc915;
}

.accordion {
    background-color: #d9ebe2;
    color: #007a3e;
    cursor: pointer;
    padding: 10px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    border: 1px solid #92c7ad;
}

.active,
.accordion:hover {
    background-color: #d9ebe2;
}

.wrap-accordion {
    display: none;
    margin-bottom: 16px;
}

.panel {
    padding: 8px 18px;
    display: none;
    background-color: #fff;
    overflow: hidden;
    margin-left: 25px;
    font-size: 14px;
    color: #007a3e;
    border: 1px solid #92c7ad;
}

.wrap-accordion {
    margin-bottom: 8px;
}

.panel {
    margin-left: 0;
}

.wrapp-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 48px;
}

.btn-yellow {
    box-shadow: none;
    display: inline-block;
    text-align: center;
    font-size: 18px;
}

.accordion {
    padding: 7px 20px;
    font-size: 14px;
    font-family: tsukuAR;
    line-height: 1.3;
    font-weight: bold;
}

.panel {
    padding: 8px 18px 8px 40px;
    font-size: 14px;
}

.panel p {
    margin: 0 0 2px 0;
    line-height: 1.35;
    font-weight: bold;
}

.panel p:first-child {
    display: inline;
}

.heading-img {
    position: relative;
    padding-top: 50px;
}

.heading-img img {
    position: absolute;
    height: 40px;
    width: 100%;
    object-fit: cover;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.heading-with-accent {
    margin-top: -12px;
    border: 2px solid #007a3e;
    padding: 10px;
    background-color: #fff;
    box-shadow: 1px 2px 6px rgb(0 0 0 / 50%);
}

.wrapp-heading-text {
    text-align: center;
    display: block;
    margin: auto;
    border: 1px solid #007a3e;
    border-radius: 8px;
    font-size: 24px;
    color: #007a3e;
    position: relative;
    background-color: #fff;
}

.wrapp-heading-text>span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #007a3e;
    border: 2px solid #fff;
}

.wrapp-heading-text .left {
    left: -2px;
    top: -2px;
}

.wrapp-heading-text .left-bottom {
    left: -2px;
    bottom: -2px;
}

.wrapp-heading-text .right {
    right: -2px;
    top: -2px;
}

.wrapp-heading-text .right-bottom {
    right: -2px;
    bottom: -2px;
}

.wrapp-heading .heading-img {
    text-align: center;
    display: block;
    margin: auto;
    border: 1px solid #007a3e;
    border-radius: 8px;
    font-size: 24px;
    color: #007a3e;
    position: relative;
    background-color: #fff;
    padding: 5px 0;
    font-weight: normal;
    line-height: 1;
    font-family: tsukuAR;
    line-height: 1.3;
    font-weight: bold;
}

.wrapp-heading {
    margin-bottom: 35px;
    padding: 5px;
    border: 2px solid #007a3e;
    box-shadow: 2px 2px 6px rgb(0 0 0 / 50%);
    background-color: #fff;
}

.wrapp-heading  .heading-img > span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #007a3e;
    border: 2px solid #fff;
}

.wrapp-heading .left {
    left: -2px;
    top: -2px;
}

.wrapp-heading .left-bottom {
    left: -2px;
    bottom: -2px;
}

.wrapp-heading .right {
    right: -2px;
    top: -2px;
}

.wrapp-heading .right-bottom {
    right: -2px;
    bottom: -2px;
}

@media only screen and (max-width: 767px) {
    section#qna {
        padding: 50px 20px;
    }

    .heading-img {
        margin-bottom: 0;
    }

    #tabs-bar>ul {
        flex-wrap: wrap;
    }

    #tabs-bar>ul li {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #007a3e;
    }

    #tabs-bar>ul li:last-child {
        border-bottom: none;
    }

    .btn-yellow {
        line-height: 1.3;
    }

    .panel {
        padding: 12px 20px;
    }
}