@charset "utf-8";

* {
    margin : 0;
    padding : 0;
}

body {
    font-family: "Noto Sans JP", sans-serif, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3" ;
    font-size: 100%;
    line-height : 1.4;
    background-color: whitesmoke;
}

.main {
    bottom: 0;
    height: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    background-color: rgba(255, 255, 250, 0.9);
    background-blend-mode: normal 10%;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 0px 10px #cccccc;
    -moz-box-shadow: 0px 0px 10px #cccccc; /* Firefox用 */
    -webkit-box-shadow:0px 0px 10px #cccccc; /* Safari,Google Chrome用 */;
}

/*-- header --*/

.header {
    position: relative;
    width: 100%;
    height: 100px;
    background: #fffffa;
    box-shadow: 0px 0px 10px #cccccc;
    -moz-box-shadow:0px 0px 10px #cccccc; /* Firefox用 */
    -webkit-box-shadow:0px 0px 10px #cccccc; /* Safari,Google Chrome用 */
}

.header .logo {
    position: absolute;
    top: 0;
    width: 100%;
    height: 50%;
}

@media screen and (max-width: 760px) {
    .header .logo {
        display: flex;
        justify-content: center;
    }
}

.header .logo img {
    height: 40px;
    padding: 4px;
    transition: transform .4s ease;
}

@media screen and (min-width: 1200px) {
    .header .logo img {
        height: 50px;
        padding: 6px;
    }
}

.header .logo img:hover {
    display: inline-block;
    animation: shake .15s 2;
    /* transform: scale(1.05); */
}

@keyframes shake {
    0% {transform: translate(0px, 0px) rotateZ(0deg)}
    25% {transform: translate(2px, 2px) rotateZ(1deg)}
    50% {transform: translate(0px, 2px) rotateZ(0deg)}
    75% {transform: translate(2px, 0px) rotateZ(-1deg)}
    100% {transform: translate(0px, 0px) rotateZ(0deg)}
}

.header .menu {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
}

.header .menu ul {
    position: relative;
    width: 60%;
    display: flex;
    justify-content: space-around;
    list-style: none;
}

@media screen and (max-width: 760px) {
    .header .menu ul {
        position: relative;
        width: 100%;
        justify-content: space-evenly;
        display: flex;
        list-style: none;
    }
}

.icon {
    position: relative;
    width: 45px;
    height: 45px;
    text-align: center;
}

@media screen and (min-width: 1200px) {
    .icon {
        width: 60px;
        height: 60px;
        top: -15px;
    }
}

.icon p {
    font-family: "Dosis", sans-serif;
    font-size: 150%;
    font-weight: 600;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    color: brown;
    font-size: 12pt;
    z-index: 1;
}

.icon img {
    width: 100%;
    z-index: 0;
    transition: transform .4s ease; /* ゆっくり変化させる */
    transform-origin: 50% 100%;
}

.icon:hover img {
    display: inline-block;
    animation: shake .15s 2;
    /* transform: scale(1.05); */
}

/*-- footer --*/

.footer {
    width: 100%;
    height: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

.footer .copyright {
    position: relative;
    padding-top: 5px;
    padding-bottom: 8px;
    font-size: 75%;
    color: grey;
}
