@charset "UTF-8";

* {
    box-sizing: border-box;
}

body {
    color: #403c3b;
    font-family: 'Lato', 'Noto Sans JP', sans-serif;
    font-size: 18px;
    line-height: 2.1;
    background: #fff;
    text-align: center;
    letter-spacing: .1em;
    text-indent: .1em;
}

img {
    width: 150px;
    margin: 70px auto 50px;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease-out forwards;
}

h1 {
    line-height: 2.4;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    30% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

a {
    color: #403c3b;
    text-decoration: none;
    transition: 0.2s;
    display: block;
    text-align: left;
    width: 310px;
    margin: 35px auto;
    border: 1px solid #403c3b;
    padding: 0.8em 1.5em;
    position: relative;
    text-transform: uppercase;
    overflow: hidden;
}

a:hover {
    color: #fff;
}

a::before,
a::after {
    background: #403c3b;
    content: '';
    position: absolute;
    z-index: -1;
}

a::after {
    height: 100%;
    left: -35%;
    top: 0;
    transform: skew(45deg);
    transition-duration: 0.4s;
    transform-origin: top left;
    width: 0;
}

a:hover:after {
    height: 100%;
    width: 135%;
}

a i {
    width: 3em;
    text-align: center;
}

.sp_only {
    display: none;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 15px;
    }

    img {
        width: 100px;
        margin: 30px auto;
    }

    .wrap {
        width: 100%;
        padding: 0 3%;
    }

    .wrap a {
        width: 280px;
        margin: 25px auto;
    }

    .sp_only {
        display: block;
    }
}