@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Merriweather:700|Noto+Sans+JP');


html, button, input, select, textarea { font-family: 'Varela Round', 'Noto Sans JP', sans-serif; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: 'Varela Round', 'Noto Sans JP', sans-serif; }


html, #gallery .container {
	-webkit-overflow-scrolling: touch;
}

html, body, section {
	height: 100% !important;
	width: 100% !important;
	overflow: hidden;
}

html, html a {
	-webkit-font-smoothing: antialiased;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
body {
    background-color: #f5f5f5;
    text-align: center;
	font-size: 16px;
}

.container {
    height: 100%;
    width: 100%;
	overflow-y: auto;
}

a {
    text-decoration: none;
    vertical-align: baseline;
}

header {
    z-index: 9999;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}


*::-webkit-scrollbar {
	width: 10px;
}
*::-webkit-scrollbar-track {
	background: #eee;
}
*::-webkit-scrollbar-thumb {
	background: #c0c0c0; 
}


#nav-toggle { position: absolute; right: 10px; top: 0; }
#nav-toggle { cursor: pointer; padding: 25px 50px 30px 15px; }
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 4px;
    width: 35px;
    background: black;
    position: absolute;
    display: block;
    content: '';
}
#nav-toggle span:before { top: -10px; }
#nav-toggle span:after { bottom: -10px; }
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
    transition: all 200ms ease-in-out;
}
#nav-toggle.active span { background-color: transparent; }
#nav-toggle.active span:before, #nav-toggle.active span:after { top: 0; }
#nav-toggle.active span:before { transform: rotate(45deg); }
#nav-toggle.active span:after { transform: translateY(-10px) rotate(-45deg); top: 10px; }
.navicon { position: relative; height: 26px; }
/*.indicator { position: absolute; right: 20px !important; }*/
.pull { display: none; }



section {
    z-index: 1;
    position: relative;
    float: left;
    margin: 0;
    width: 100%;
    height: 100%;
}

.container {
    width: 100%;
    height: 100%;
	opacity: 0;
}

#intro .bg {
	z-index: 999;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center 30%;
	background-color: white;
	transition: all 0.5s ease;
}
#intro .container.hover .bg {
	transform: scale(1.1);
}

.cover {
	z-index: 1000;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.6);
	background-image: url(../img/dot_w.png);
	transition: all 0.5s ease;
}
#intro .container.hover .cover {
	background-color: rgba(255, 255, 255, 0.8);
}

#intro h1 {
	z-index: 1001;
    height: 35px;
    position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
    margin: 0;
    font-size: 35px;
    font-weight: normal;
    letter-spacing: 3px;
}
#intro h1 a {
	color: inherit;
}

#intro h2 {
    font-size: 14px;
}


article {
    /*width: 80vw;*/
	display: inline-block;
	height: auto;
	margin: 50px 0;
    background-color: #fff;
	overflow-y: auto;
}

.content_wrap {
    margin: 50px;
    text-align: center;
    line-height: 1.5em;
}

h3 {
    font-size: 30px;
	/*font-family: 'Merriweather', serif;*/
	letter-spacing: 1px;
	margin: 50px 0;
}

.content_wrap dt {
    float: left;
    padding-right: 10px;
    border-right: 1px dotted rgba(0, 0, 0, 0.3);
}
.content_wrap dd {
    margin-left: 10px;
}

.content_wrap dd:after {
    content: " ";
    display: block;
    clear: both;
}

.profile-icon {
	width: 200px;
	height: 200px;
	border-radius: 100px;
	margin: 20px auto 20px;
	background: url(../img/profile_icon.png) 50% 50% no-repeat;
	background-size: 100%;
}

.social-icon {
	width: 30px;
	fill: rgba(105, 110, 100, 1);
	margin: auto 3px;
}

.email {
	margin-bottom: 20px;
	color: #777;
}

p {
	font-size: 0.8em;
}


/*===================================
             navigation
===================================*/
nav {
    z-index: 10000;
    background-color: #fff;
    margin-top: -1px;
}

nav ul {
    display: flex;
    flex-direction: row;
}


nav ul li {
    flex-grow: 1;
    transition: all 0.5s ease;
    position: relative;
}
nav ul li a {
    color: rgba(0, 0, 0, 0.6);
    display: block;
    padding: 15px 0;
    font-size: 14px;
    text-align: center;
    transition: all 0.5s ease;
    padding-left: 0;
    position: relative;
}
nav ul li a>span {
    border-right: 1px dotted rgba(0, 0, 0, 0.3);
    display: block;
    padding: 15px 0;
}
nav ul li a:hover, nav ul li a:focus {
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
}

#global_header li .fa-angle-down {
	transform: rotate(-90deg);
    transition: transform 100ms ease-in-out;
}
#global_header li a:hover .fa-angle-down {
	transform: rotate(0deg);
}

#face {
    flex-grow: 3;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 35%;
}
#face a {
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.4);
}
#face a:hover {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 0.1);
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}
#face a span, nav ul li:last-child span { border: none; }


/*===================================
                gallery
===================================*/
#gallery {
}

#gallery .container {
    width: 100%;
	height: 100%;
    overflow-y: scroll;
}

#gallery .content {
	margin: 20px 10px 0;
}

.gallery-end {
	text-align: center;
	margin: 30px auto 40px;
	color: #bbb;
}

#gallery article {
    overflow: hidden;
	visibility: hidden;
	opacity: 0;
	
    width: 19.2%;
	margin: 0.4%;
	
	background-color: white;
    text-align: center;
}

#gallery article.faded {
	visibility: visible;
	opacity: 1;
}

/* スマホ縦 */
@media screen and (orientation: portrait) {
    #gallery article {
        width: 49%;
		margin: 0.5%;
        min-width: 186px;
    }
}

#gallery article .wrap {
    position: relative;
    width: 100%;
    height: 100%;
	margin-bottom: -5px;
}

#gallery .caption {
	z-index: 10;
	position: absolute;
    width: 100%;
    height: 100%;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	
	color: white;
	
    transition: all 0.3s ease;
    opacity: 0;
	cursor: pointer;
}
#gallery .caption:hover {
    opacity: 1;
    background-color: rgba(100, 100, 100, 0.5);
}

#gallery article .text {
	z-index: 20;
    font-size: 1.1em;
    position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
    /*margin-right: 10px;*/
}
#gallery article .text a {
	pointer-events: none;
	color: #ccc;
}
#gallery article .thumb {
	z-index: 0;
    width: 100%;
    height: 100%;
}


.scrollup {
	z-index: 1000000000;
	cursor: pointer;
	width: 31px;
	height: 31px;
	opacity: 0.8;
	position: absolute;
	bottom: 30px;
	right: 30px;
	display: none;
	text-indent: -9999px;
	background: url(https://static.tumblr.com/22rx6wh/Ayqmvqc68/image.png) no-repeat;
	background-size: 30px;
}


.loader{
	position: absolute;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 48px;
	height: 48px;
	margin: auto;
	display: none;
    background-image: url('../img/loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
}