@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro&family=Zen+Maru+Gothic&display=swap');

html {
    font-family: 'Maven Pro', 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #000;

    scroll-behavior: smooth;
}
main{
    padding: 0 5vw;
}
img {
    max-width: 100%;
}

.main-title{
    margin-top: 100px;
    text-align: center;
    & img{
        width: 200px;
        height: auto;
    }
}

.portal-txt{
    width: 60vw;
    height: auto;
    margin: 50px auto;
}

.page-title{
    font-size: 24px;
    text-align: center;
}
.button-wrapper{
    display: block;
    display: flex;
    column-gap: 10vw;
    width: 38vw;
    height: auto;
    margin: 30px auto;
}
.button {
    width: 14vw;
    height: 18vw;

    & a {
        position: relative;
        display: block;
        width: 14vw;
        height: 18vw;
        background-color: #fff;
        font-size: clamp(0.85rem,1.2vw,1.2rem);
        border: 2px solid #000;
        border-radius: 0.833333333vw;
        & div{
            width: 100%;
            height: 12vw;
            display:flex;
            justify-content: center;
            align-items: center;
        }
        & img {
            display: block;
            width: 70%;
            height: auto;
        }
        & span {
            display:flex;
            text-align: center;
            justify-content: center;
            align-items: center;
            line-height: 1.3;
        }

    }

    & a::before {
        content: "";
        position: absolute;
        top: 6px;
        left: 6px;
        width: 14vw;
        height: 18vw;
        background-color: #FFC069;
        border: 2px solid #000;
        border-radius: 0.833333333vw;
        z-index: -1;
    }

    & a:hover {
        translate: 4px 4px;
    }

    & a:hover::before {
        display: none;
    }
}

@media (width < 961px){
    .button-wrapper {
        width: 66vw;
    }
    .button {
        width: 28vw;
        height: 36vw;
        & a {
            width: 28vw;
            height: 36vw;
            border-radius: 2.133333333vw;
            & div{
                width: 100%;
                height: 22vw;
                display:flex;
                justify-content: center;
                align-items: center;
            }
        }
        & a::before {
            top: 3px;
            left: 3px;
            width: 28vw;
            height: 36vw;
            border-radius: 2.133333333vw;
        }
        & a:hover {
            translate: 3px 3px;
        }
    }
    .portal-txt{
        width: 80vw;
        height: auto;
        margin: 50px auto;
    }
    
}
