@charset "UTF-8";

/* CSS Document */

/* -------------------------------- 

Primary style

-------------------------------- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@-ms-viewport {
	width: auto!important;
	initial-scale: 1;
}


body.overflow-hidden {
  overflow: hidden;
}

a {
  color: white;
  text-decoration: none;
}

/* -------------------------------- 

Main components 

-------------------------------- */
html{
	overflow: hidden;
}

html, body {
  height: 100%;
}

header {
  position: fixed;
  width: 100%;
  background: transparent;
  z-index: 100;
  transition:  0.2s;
	height: 70px;
	top: 0;
	left: 0;
	z-index: 100!important;
}


/*==================================================

container
=================================================*/

body {
    position: relative;
    left: 0;
	background-size: 100% auto;
}
section{
	position: relative;
}
article{
	position: relative;
}

img {
width:100%;
max-width: 100%;
height: auto;
}

.tC{
	text-align: center;
}
.tS{
	font-size: 86%;
}

.selector {
  font-feature-settings: "palt";
}
#wrapper {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}

/*==================================================

header
=================================================*/

/* -------------------------------- 

Main components 

-------------------------------- */
html, body {
  height: 100%;
}

@media (min-width: 561px) {
	
nav{
	font-weight: 500;
	font-size: 1.6rem;
	letter-spacing: 0.05em;
	margin: 10px auto 10px;
	position: relative;
	position: fixed;
	left: 15px;
	bottom: 5%;
	-ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
	z-index: 300;
}
nav > .navinner > ul{
	display:flex;
	width: 35px;
	flex-wrap: wrap;
}
nav > .navinner > ul > li{
/*	width: 12.5%;
	text-align: center;
	position: relative;*/
	padding: 0;
}
	
nav > .navinner > ul > li > a{
	text-decoration: none;
	color: #fff;
	padding: 15px 10px;
	display: block;
	
} 	
	
	.nav_sns{
		display: none;
/*		width: 50px;*/
	}
	.nav_sns img,
	.sns_ico img{
/*		display: none;*/
		width: 28px;
	}
	.sns_ico{
		position: fixed;
		right: 20px;
		bottom: 40px;
	}
}


	.sns_ico img{
/*		display: none;*/
		width: 28px;
	}
	.sns_ico{
		position: fixed;
		right: 20px;
		bottom: 40px;
	}

@media (max-width: 560px) {

nav{
	display: none;
}

	
	nav > .navinner > ul > li.nav_sns{
		text-align: center;
		margin: auto;
	}
nav > .navinner > ul > li.nav_sns > a{
	max-width: 50px;
		text-align: center;
		margin: 10px auto;
	
} 

/** メニュー開閉ボタン */
    .navopen {
        position: fixed;
        top: 0; right: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        margin: auto;
        transition: background-color 0.2s;
        z-index: 100;
    }
    .navopen .icon {
        display: block;
        position: relative;
        width: 30%;
        height: 2px;
        border-radius: 2px;
        background: white;
    }
    .navopen .icon::before,
    .navopen .icon::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: white;
        transition: top 0.2s, transform 0.2s;
    }
    .navopen .icon::before { top: -6px; }
    .navopen .icon::after { top: 6px; }

    .navopen.active .icon { height: 0; }
    .navopen.active .icon::before { top: 0; transform: rotate(45deg); }
    .navopen.active .icon::after { top: 0; transform: rotate(-45deg); }

	
	.NavPhoto{
		display: none;
	}
	
/** ナビ */
    nav {
        display: block;
        width: 350px;
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
        perspective: 1000px;
        opacity: 0;
        transition: opacity 0.3s;
        z-index: 1000;
        pointer-events: none;
    }
    nav.active {
        opacity: 1;
        pointer-events: all;
    }
    nav .navinner {
        width: 100%;
        height: 100%;
        padding: 30px 60px;
        color: white;
        background: rgba(0,0,0,0.8);
        font-size: 15px;
        font-weight: 300;
        transform: rotateY(90deg);
        transform-origin: right center;
        transition: transform 0.3s;
    }
    nav.active .navinner {
        transform: none;
    }
    nav li ul {
        display: none;
    }
    nav li a {
        display: block;
        position: relative;
        padding: 15px 15px;
		text-align: center;
        line-height: 1.7;
		color: #fff;
		text-decoration: none;
    }
    nav li a:hover {
		color: #555;
    }/*
    nav li a:not(.expand)::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 1px; bottom: 0;
        width: 5px;
        height: 5px;
        margin: auto;
        border-top: 1px solid white;
        border-right: 1px solid white;
        transform: rotate(45deg);
    }
    nav li a.expand::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 0; bottom: 0;
        width: 9px;
        height: 1px;
        margin: auto;
        background: white;
    }
    nav li a.expand::after {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 4px; bottom: 0;
        width: 1px;
        height: 9px;
        margin: auto;
        background: white;
    }
    nav li a.expand + ul {
        display: block;
        position: absolute;
        top: 0; right: 350px; bottom: 0;
        padding: 20px 10px 20px 30px;
        width: 350px;
        background: rgba(0,0,0,0.7);
    background: rgba(33, 36, 46, 0.7);
        transform: rotateY(90deg);
        transform-origin: right center;
        transition: all 0.3s;
        opacity: 0;
        visibility: hidden;
    }
    nav li a.expand.active + ul {
        opacity: 1;
        transform: none;
        visibility: visible;
        overflow: auto;
    }
    nav li a.expand + ul li {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.2s 0.2s;
    }
    nav li a.expand.active + ul > * {
        opacity: 1;
        transform: none;
    }
*/

	      .navopen {
            width: 50px;
            height: 50px;
        }
        nav {
            width: calc(100% - 10px);
        top: 50px;
        }
        nav .navinner {
            padding: 10px;
        }
        nav li a.expand + ul {
            left: 35px;
            width: calc(100% - 35px);
            background: rgba(33, 33, 33, 0.95);
            z-index: 150;
        }
		
	
	}


@media print, screen and (min-width:1px) and (max-width: 560px) {

	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}
}

@media print{
	header,.navopen{
		position: absolute;
	}
}

footer{
	position:fixed;
	bottom: 0;
	right: 0;
}
.copyright{
	text-align:right;
	margin:0 0 0 auto;
	color:#fff;
	font-size:1.1rem;
	padding:5px 10px;
}
