/* section1 */
.blog-inner {
    width: clamp(0px, calc(100% - 40px), 1080px);
    margin: 0 auto;
}

.blog-head-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(40px, 10.25vw, 140px);
    align-items: end;
    margin-bottom: clamp(2px, 0.37vw, 5px);
}

.blog-title {
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-size: clamp(48px, 7.32vw, 100px);
    line-height: 1;
    color: #BFD1C6;
    margin: 0;
}

.blog-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin-bottom: clamp(4px, 0.73vw, 10px);
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.73vw, 10px);
    margin-bottom: clamp(48px, 7.9vw, 108px);
    padding-left: clamp(4px, 0.73vw, 10px);
}

.blog-dot {
    width: clamp(6px, 0.88vw, 12px);
    height: clamp(6px, 0.88vw, 12px);
    background: #006E7C;
    border-radius: 50%;
}

.blog-meta-text {
    font-size: clamp(14px, 1.46vw, 20px);
    color: #000;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
}

@media screen and (max-width: 819px) {
    .lower-layer_section {
        padding: 0px 0 50px;
    }

    .blog-head-wrap {
        grid-template-columns: 1fr;
        row-gap: 12px;
        align-items: start;
    }

    .blog-title {
        font-size: clamp(48px, 12vw, 72px);
    }

    .blog-desc {
        max-width: none;
    }


    /* 見出しブロックだけ制御 */
    .blog-inner:first-of-type {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* 中の h2 / desc を同階層にする */
    .blog-inner:first-of-type .blog-head-wrap {
        display: contents;
    }

    /* ▼ 並び順を作る */
    .blog-inner:first-of-type .blog-title {
        order: 1;
    }

    .blog-inner:first-of-type .blog-meta {
        order: 2;
        margin-bottom: 0;
    }

    .blog-inner:first-of-type .blog-desc {
        order: 3;
    }

    /* ▼ それ以外は全部下に送る */
    .blog-inner:first-of-type .blog-category-hint,
    .blog-inner:first-of-type .blog-category {
        order: 10;
    }
}


/* section2 */
.faq {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: clamp(60px, 7.32vw, 100px);
}

.faq-item {
    margin-bottom: clamp(12px, 1.46vw, 20px);
}

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(12px, 1.46vw, 20px);
    padding: clamp(10px, 1.1vw, 15px) clamp(12px, 1.46vw, 20px);
    background: #F9F9F9;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
}

.faq-item.is-open .faq-question {
    background: #F9F9F9;
}

.faq-q {
    font-family: "ABeeZee", sans-serif;
    font-size: clamp(18px, 1.76vw, 24px);
    line-height: 1.6;
    color: #006E7C;
    font-weight: 400;
}

.faq-text {
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-size: clamp(17px, 1.32vw, 18px);
    line-height: 1.6;
    color: #006E7C;
    font-weight: 600;
}

.faq-icon {
    width: clamp(14px, 1.46vw, 20px);
    height: clamp(14px, 1.46vw, 20px);
    position: relative;
    transition: transform 0.4s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: #006E7C;
}

.faq-icon::before {
    width: clamp(14px, 1.46vw, 20px);
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: clamp(14px, 1.46vw, 20px);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #ffffff;
}

.faq-a-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(8px, 0.88vw, 12px);
    padding: 0 clamp(12px, 1.46vw, 20px) clamp(10px, 1.1vw, 15px);
    background: #F9F9F9;
    border-radius: 0 0 5px 5px;
}

.faq-a {
    font-family: "ABeeZee", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    font-weight: 400;
    padding-left: clamp(3px, 0.37vw, 5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.is-open .faq-a {
    opacity: 1;
}

.faq-answer p {
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    font-weight: 400;
    padding-left: clamp(5px, 0.95vw, 13px);

    margin: 0;
}

.faq-item.is-open .faq-answer {
    max-height: clamp(240px, 29.28vw, 400px);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px;
    }

    .faq-text {
        font-size: 15px;
    }

    .faq-a-wrap {
        padding: 16px;
    }
}

.faq-answer a {
    color: #006E7C;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: opacity 0.3s ease;
}

.faq-answer a:hover {
    opacity: 0.7;
}