@charset "UTF-8";
/* CSS Document */

*{
	margin: 0;
	padding: 0;
	list-style: none;
    text-decoration: none;
}

body{
    background-image: url("images/top.png");
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 767px;
}

h1{
    font-size: 24px;
    font-family: "Rampart One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    margin: 20px 0;
    text-align: center;
}

nav {
    margin-top: 30px;
}

nav ul li{
    width: 280px;
    margin: 25px auto;
    background-color: rgba(0,255,255,0.4);
    border: 3px double #212121;
    border-radius: 30px;
}

a.wave {
    font-family: 'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN',sans-serif;
    display: inline-block;
    color: #949393;
    font-size: 18px;
    text-align: center;
    width: 280px;
}


/*Tablet View*/
@media (min-width: 768px){
    
    body{
        max-width: 1023px;
    }
    
    h1{
        font-size: 48px;
        text-align: left;
        margin: 30px 0 30px 40px;
    }
    
    nav ul li{
        width: 500px;
        background-color: rgba(255,134,136,0.4);
        border: 3px double #424242;
        border-radius: 30px;
        margin: 20px 0 20px 40px; 
    }
    
    a.wave{
        color: #464545;
        font-size: 32px;
        width: 500px;
    }   
}

/*Desktop View*/
@media (min-width: 1181px){
    
    body{
        max-width: 1920px;
    }
    
    h1{
        font-size: 60px;
        margin: 30px 0 40px 60px;
    }
    
    nav ul li{
        width: auto;
        background: none;
        margin: 0 100px 30px 60px;
        border: none;
    }
    
    a.wave{
        color: #949393;
        font-size: 38px;
        width: 520px;
        text-align: left;
        
    }
    
    a.wave span {
        display: inline-block;    
        transform: translateY(0);
        animation-name: none; 
    }

    a.wave:hover span {
        color: #FF5356;
        animation-name: waveMove;
        animation-duration: 1.8s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-delay: calc(var(--i) * 0.1s);
    }

    @keyframes waveMove {
        0%   { transform: translateY(0); }
        25%  { transform: translateY(-10px); } 
        50%  { transform: translateY(0); }
        100% { transform: translateY(0); } 
    }
    
    .contents{
        display: flex;
        justify-content: space-between;
    }
}





