@charset "utf-8";

.logo-area, .link-area{
    width: 100%;
    height: 50dvh;
    min-height: 315px;
    justify-content: center;
    align-items: center;
}

.link-area{
    padding-bottom: 60px;
}

h1{
    width: 300px;
    height: 76px;
    overflow: clip;
    position: relative;
}

h1 > img{
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

h1 svg{
    display: block;
}

/* アニメーション用 ==== ▼ */
h1.animation::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 160%;
    height: 160%;
    background: linear-gradient(
        45deg,
        transparent 35%,
        rgba(255, 255, 255, 0.5) 45%,
        transparent 60%
    );
    transform: translate(-100%, -30%) scale(0.7) skewX(-20deg);
    animation: flare-move 2s ease-in-out 1 forwards;
    pointer-events: none;
    z-index: 0;
}

@keyframes flare-move {
    0% {
        transform: translate(-100%, -30%) scale(0.7) skewX(-20deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    50% {
        transform: translate(100%, 50%) scale(1.2) skewX(-20deg);
        opacity: 0.4;
    }
    100% {
        transform: translate(200%, 130%) scale(0.7) skewX(-20deg);
        opacity: 0;
    }
}
/* アニメーション用 ==== ▲ */

.link-area{
    opacity: 0;
    transition: opacity 1s ease-out 0.5s;
}

.link-area.finished{
    opacity: 1;
}

.link-area ul{
    height: 100%;
    justify-content: center;
    align-content: center;
}

.link-area li{
    width: 100%;
    padding: 15px;
    text-align: center;
}

.link-area a{
    display: inline-block;
    width: 240px;
    height: 60px;
    border: 1px solid var(--white);
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    font-weight: 500;
    transition: background-color ease-out 0.2s;
}

small{
    display: block;
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: var(--gray);
}

@media (hover: hover) {
    .link-area a:hover{
        background-color: var(--gray);
    }
}

@media (hover: none) {
    .link-area a:active{
        background-color: var(--gray);
    }
}

@media (min-width: 768px){
    /*タブレット表示*/
    h1{
        width: 420px;
        height: 106px;
        background-size: 420px 105px;
    }
    .link-area li{
        width: auto;
        padding: 30px 45px;
    }
    .link-area li:first-child{
        width: 100%;
    }
}

@media (min-width: 1200px){
    /*PC表示*/
    h1{
        width: 480px;
        height: 121px;
        background-size: 480px 120px;
    }
    .link-area{
        padding-bottom: 90px;
    }
    .link-area li:first-child{
        width: auto;
    }
}

