@charset "UTF-8";

@font-face {
    font-family: "hkbr";
    src: url("../f/HakoberaMaruGothicA-Medium.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "hkbr";
    src: url("../f/HakoberaMaruGothicA-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}

#toc {
    padding-bottom: 0 !important;
}

#intro {
    background: top center / 100% auto no-repeat url(../img/fvpc-r2.jpg);
    padding-top: 50vw;
    @media screen and (max-width:767px) {
        background: top center / 100% auto no-repeat url(../img/fvsp-r2.jpg);
        padding-top: 130vw;
    }

    .wrap {
        >p {
            padding: 4em 0 5em;
        }

        h2 {
            font-family: "hkbr";
            margin-bottom: 0.5em;
        }

        ul {
            margin-top: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 4em;

            li {
                width: 100%;

                &:nth-of-type(n+3) {
                    width: 48%;
                }

                p {
                    margin-bottom: 0;
                    padding-left: 0;
                    padding-right: 0;
                }

                a {
                    display: flex;
                    padding: 0.75em 2.5em;
                    border-bottom: 1px solid #6e5a4d;
                    position: relative;

                    &:after {
                        content: "▼";
                        position: absolute;
                        top: 50%;
                        right: 2.5em;
                        transform: translateY(-50%);
                        color: #6e5a4d;
                    }

                    span {
                        color: #6e5a4d;
                        padding-right: 1em;
                    }
                }

                +li {
                    margin-top: 0.75em;
                }
            }
        }
    }
}

@media screen and (max-width: 767px) {
    #intro .wrap {
        ul {
            width: 90vw;
            margin-left: auto;
            margin-right: auto;

            li {
                p {
                    text-align: left;
                }

                a {
                    padding: 0.75em 1em;
                    flex-direction: column;

                    &:after {
                        top: auto;
                        bottom: 0.75em;
                        right: 1em;
                        transform: none;
                    }
                }
            }
        }
    }
}