@charset "UTF-8";

/*******************************
common
*******************************/
html {
    overflow-y: scroll;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

.sp {
    display: none;
}

img {
    vertical-align: top;
	max-width: 100%;
}

a {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all  0.2s ease;
    color: inherit;
    text-decoration: none;
	cursor: pointer;
}

a:hover {
    opacity: 0.85;
}

::selection {
    background: #0f95de;
    color: #fff;
}

//Firefox
::-moz-selection {
    background: #0f95de;
    color: #fff;
}

/*******************************
loading
*******************************/
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #0f95de;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading .spinner {
    width: 120px;
    height: 120px;
    background-color: #fff;
    border-radius: 100%;
    position: relative;
}

#loading .spinner span {
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    z-index: 5;
    animation: loading01 1.0s infinite ease-in-out;
    color: #0f95de;
}

@keyframes loading01 {
    0% {
        opacity: 0;
    } 100% {
        opacity: 1;
    }
}

#loading .spinner img {
    animation : 5s linear infinite loading02;
}

@keyframes loading02 {
    0%{ transform:rotate(0);}
    100%{ transform:rotate(360deg); }
}

#loading.loaded {
    opacity: 0;
    visibility: hidden;
}

/*******************************
layput
*******************************/
#contents {
}

#main {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
    width: 50%;
    margin-left: 50%;
    background: #ede3e4;
}

#main.scroll {
    width: 81.24%;
    margin-left: 18.76%;
}

/*******************************
header
*******************************/
header {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    background: url(/common/images/bg01.png) 0 0 no-repeat;
    background-size: cover;
    color: #fff;
    font-size: 1vw;
}

header.scroll {
    width: 18.76%;
}

header #header {
    height: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
}

header #header h1 {
    padding-top: 20vh;
    text-align: center;
    font-weight: 700;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}

header #header h1 img {
    display: block;
    margin: 0 auto 1.5em;
    width: 36%;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}

header #header h1 span {
    display: block;
    font-size: 200%;
    line-height: 1.5;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}

header #header nav {
    position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}

header #header nav ul li:not(:last-child) {
    margin-bottom: 2px;
}

header #header nav ul li a {
    width: 6.3vw;
    height: 6.3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #0f95de;
    font-weight: 700;
    margin: 0 auto;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}

header #header nav ul li a:hover {
    background: url(/common/images/spinner01.svg) 150% 150% no-repeat #fff;
    background-size: 200%;
}

header.scroll #header nav {
    position: static;
    transform: none;
    margin-top: 2.5em;
}

header.scroll #header h1 {
    padding-top: 10vh;
}

header.scroll #header h1 img {
    width: 66.66%;
    margin: 0 auto 1em;
}

header.scroll #header h1 span {
    font-size: 125%;
}

/*******************************
footer
*******************************/
#toTop {
    position: fixed;
    bottom: 2.5vw;
    right: 2.5%;
    display: none;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border: 2px solid #e60101;
    width: 2.4vw;
    height: 2.4vw;
    background: rgba(255,255,255,0.8);
}

#toTop:hover {
    opacity: 0.8;
}

#toTop div {
    width: 1.2vw;
    height: 1.2vw;
    border-top: 2px solid #e60101;
    border-left: 2px solid #e60101;
    transform: rotate(45deg);
    margin-left: 22.5%;
    margin-top: 40%;
}

footer {
	padding: 3rem 0 0;
}

footer #copyright {
    text-align: center;
    color: #ede3e4;
    font-size: 87.5%;
}
