:root {
    --green: #22a173;
    --white: #fff;
    --button-color: #ff788c;
    --black: #000000;
    --gray: #bebebe;
    --dchg-gray: #9eafbd;
}


.cover-text h2 {
    font-size: 3rem;
}

.cover-section img {
    height: 60%;

}

.cover-text {
    top: 70%;
}

.information-header h2 {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.faq-1 hr {
    border-top: 1px solid var(--gray);
    margin: 40px 0;
}

.faq-detail h1 {
    font-family: Noto Serif JP;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
}

.faq-detail p {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.faq-detail h2 {
    font-family: Noto Serif JP;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.faq-btn a {
    display: inline-block;
    padding: 8px 25px;
    color: var(--button-color);
    border: 1.5px solid var(--button-color);
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.6rem;
}

.faq-btn {
    text-align: right;
    margin-top: 20px;

}

.faq-btn a:hover {
    background-color: var(--button-color);
    color: var(--white);
}

.faq-title h1 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    letter-spacing: 2px;
}

.faq-title {
    background-color: var(--green);
    margin-bottom: 30px;
    margin-top: 15px;
}

.tab-container {
    display: flex;
    margin: 30px 0;
    gap: 20px;
}

.tab {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    width: fit-content;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 100vh;
    cursor: pointer;
    padding: 1px 20px;
}

.tab-group {
    margin-bottom: 70px;
}

.tab.active {
    background-color: var(--green);
    color: white;
}

.tab.empty {
    border: 2px solid #888;
    color: #888 !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.content {
    display: none;
    text-align: center;
}

.content.show {
    display: block;
    align-items: center;
}

.content.show .btn_footer {
    margin: 50px 0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 15px 0;
    cursor: pointer;
    text-align: left;
}

.faq-question h1,
.faq-question h2 {
    margin: 0;
    font-family: Noto Serif JP;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0px;
}

.faq-question h2 {
    margin-top: 8px;
    font-size: 2.4rem;
    letter-spacing: 3px;
}

.faq-icon {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 30px;
}

/* 横線 */
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--green);
    transition: transform .4s ease;
}

/* 横棒 */
.faq-icon::before {
    width: 30px;
    height: 1px;
    transform: translate(-50%, -50%);
}

/* 縦棒 */
.faq-icon::after {
    width: 1px;
    height: 30px;
    transform: translate(-50%, -50%);
}

.faq-answer {
    display: none;
    text-align: justify;
    width: 80%;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* + → × */
}

.spec-top-title h1 {
    font-size: 1.8rem;
    font-family: "Oswald";
    letter-spacing: 2px;
    font-weight: 300;
    text-align: center;
    width: 100%;
    line-height: 1.5;
}


.spec-top-title h2 {
    font-family: "Noto Serif JP";
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1.5;
    margin: 25px 0;
    font-size: 3.2rem;
}

.spec-top-title {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    padding-top: 30px;
}

.spec-category3 {
    padding: 70px 0;
    background-color: var(--green);
}

.card-list {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 30px
}

.card-list li a {
    border: 1px solid white;
    color: white;
    display: block;
    font-weight: 400;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin: 0 10px;
    border-radius: 25px;
}

.card-list li a:hover {
    border: 1px solid white;
    background-color: white;
    color: #006934;
}

@media screen and (max-width: 625px) {
    .cover-text h2 {
        font-size: 2rem;
    }

    .cover-text p {
        text-align: justify;
    }

    .information-header h2 {
        font-size: 2rem;
        line-height: 1.5;
        text-align: justify;
        letter-spacing: 1;
    }

    .information-header p {
        margin: 20px 0;
    }

    .faq-detail h2 {
        font-size: 2rem;
        line-height: 1.5;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .faq-btn a {
        font-size: 1.3rem;
    }

    .faq-detail h1 {
        margin-bottom: 30px;
    }

    .faq-btn {
        text-align: left;
    }

    .tab-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .faq-question h2 {
        font-size: 2rem;
        color: var(--black);
    }

    .faq-question {
        display: block;
        position: relative;
        padding: 0;
        margin: 15px 0;
    }

    .faq-icon {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
    }

    .faq-question h1 {
        margin-bottom: 30px;
    }

    .faq-answer {
        width: 100%;
    }

    .card-list {
        display: block;
    }

    .card-list li {
        margin: 20px 0;
    }

    .spec-top-title h2 {
        font-size: 2.4rem;
    }

    .spec-top-title {
        width: 90%;
        margin: 0 auto;
    }
}