.faq {
    display: flex;
    flex-direction: column;
}

/* menu */
.menu {
    order: 2;
    padding: 9.2% 5.1%;
    border-top: 1px solid var(--color-font-black);

    & .title {
        font-size: 1.3rem;
        color: var(--color-font-gray);
        margin-top: 10px;
    }

    & .menu-list {
        margin-top: 15px;
    }
    
    & .menu-list > li + li {
        margin-top: 20px;
    }
    
    & .view {
        padding: 3px 0 3px 35px;
        margin-top: 15px;
    }
}

/* content */
.section {
    padding: 9.1% 0;

    & dt {
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.3;
        padding-left: 18px;
        margin-top: 32px;
        position: relative;
    }

    & dt::before {
        display: inline;
        content: "▶";
        color: var(--color-font-orange);
        font-size: 8px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
    }

    & dd {
        padding-left: 18px;
        line-height: 1.6;
        margin-top: 8px;

        & a {
            display: inline;
            text-decoration: underline;
        }

        & li::before {
            display: inline;
            content: "・";
        }
    }
}

.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 10px;
}

.section:nth-of-type(n+2) {
    padding-top: 12%;
}

.section:nth-of-type(n+2)::before {
    display: inline-block;
    content: "";
    background: url(../images/line.png) no-repeat top / cover ;
    width: 100%;
    height: 2.5vw;
    position: absolute;
    top: 0;
    left: 0;
}


@media (min-width: 1024px) {
    .main {
        padding: 0;
    }

    .faq {
        flex-direction: row;
    }

    /* menu */
    .menu {
        order: 1;
        width: 31.9%;
        height: 470px;
        border: none;
        padding: 2.8% 4.17%;
        position: sticky;
        top: 0;
        left: 0;

        & .title {
            font-size: 2.4rem;
            font-weight: 600;
            color: var(--color-font-black);

            & span {
                display: inline;
            }
        }

        & .menu-list {
            margin-top: 32px;
        }
    }

    /* content */
    .content {
        order: 2;
        width: 68.1%;
        border-left: 1px solid var(--color-font-black);
        margin-left: auto;
        
        .section {
            padding: 4.9% 6.13%;

            & dd {
                margin-top: 10px;

                & ul {
                    margin-top: 10px;
                }
            }
        }

        .section:nth-of-type(n+2) {
            padding-top: 6.9%;
            position: relative;
        }

        .section:nth-of-type(n+2)::before {
            height: 1.43vw;
        }
    }


    /* faq-detai */
    .faq-detail {
        & .content {
            padding: 48px 4.17%;
        }

        .section {
            padding: 0;
        }
    }
}