@charset "UTF-8";

@font-face {
    font-family: Anton;
    src: url(../font/Anton-Regular.ttf);
}
@font-face {
    font-family: Yuji;
    src: url(../font/YujiBoku-Regular.ttf);
}
@font-face {
    font-family: Mure;
    src: url(../font/Murecho-VariableFont_wght.ttf);
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: none;
font-style: normal;
text-align: left;
zoom: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
table {
border-collapse: collapse;
font-family: inherit;
}
h1,h2,h3,h4,h5 {
font-size: 100%;
font-weight: normal;
line-height: 1;
}
input,textarea,select {
font-family: inherit;
font-size: 16px;
}
th,td {
border-collapse: collapse;
}
ul,ol {
list-style-type: none;
}
img {
vertical-align: text-bottom;
vertical-align: -webkit-baseline-middle;
max-width: 100%;
height: auto;
width /***/:auto;
}
a {
    text-decoration: none;
}
input[type="text"], input[type="tel"], input[type="email"], textarea {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width:98%;
}
/* ▲ リセットCSS */


html {
    position: relative;
    font-size: 17px;
	line-height: 20px;
    overflow-x: hidden;
}

body {
    background-image:url(../img/backg.jpg);
    font-family: Mure;
}
h1, h2 {
    font-family: Anton;
}
.title {
	position: relative;
	display: flex;
	align-items: center;
	width: auto;
	margin: 10% 0 5%;
}
.title h1 {
	position: relative;
}
.title span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	writing-mode: vertical-rl;
	white-space: nowrap;
	color: #D64343;
	z-index: -1;
	font-family: Yuji;
}
#body {
    overflow-x: hidden;
}


/* ▼ ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 900;
}
header nav ul a {
    color: #000;
    display: block;
    line-height: 1;
    font-size:1.6rem;
    text-decoration: none;
    font-family:Anton;
}
header nav ul a span {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-family: Yuji;
}
header nav ul a:hover {
    color: #ccc;
}
header nav {
    padding: 20px 0 0 30px;
    width: 80%;
    height: auto;
    z-index: 900;
    transition: .5s;
}
header.active nav {
    opacity: 0;
    margin-top: -5%;
}
header nav ul {
    display: flex;
    justify-content: left;
}
header nav ul li {
    margin-right: 5%;
    margin-top: -100%;
    transition: all .6s ease;
}
#loading.loaded+header nav ul li {
    margin-top:0%;
}
#loading.loaded+header nav ul li:nth-child(2){
    transition-delay:.1s;
}
#loading.loaded+header nav ul li:nth-child(3){	
    transition-delay:.2s;
}
#loading.loaded+header nav ul li:nth-child(4){
    transition-delay:.3s;
}
#loading.loaded+header nav ul li:nth-child(5){
    transition-delay:.4s;
}
#loading.loaded + header nav ul li:nth-child(6) {
    transition-delay: 0.5s;
  }

#nav_tab {
    display: none;
}
#nab_btn {
    display: none;
}

footer {
    position: relative;
    background-image:url(../img/backg.jpg);
    z-index: 999;
}
footer p {
	padding: 20px 0;
	text-align: center;
}

@media screen and (max-width:820px) {
    html {
		font-size: 14px;
        line-height: 17px;
	}
}

@media screen and (max-width:470px) {
    html {
		font-size: 12px;
        line-height: 15px;
	}
}


@media screen and (max-aspect-ratio:9/10) {
    header {
        position: fixed;
        width: 100%;
        height: auto;
    }
    header nav {
        position: fixed;
        top: 0;
        padding: 0;
        left: -60%;
        width: 60%;
        height: 100vh;
        padding-bottom: 10px;
        background-color: #fff;
        text-align: center;
        opacity: 0;
        transition: .5s;
    }
    header.active nav {
        margin-top: 0;
    }
    header nav ul {
        display: block;
        width: 100%;
    }
    header nav ul li {
        width: 100%;
        margin-left:-200%;
        transition:all .3s ease;
    }
    header nav ul li:first-child {
        padding-top: 80px;
    }
	header nav ul li a{
        display: block;
        width: 100%;
        line-height: 4.0rem;
        font-size:1.8rem;
        text-align: center;
    }
    header nav ul li a span {
        display: inline;
        vertical-align: bottom;
        padding-left: 2%;
    }
    #nab_btn {
        display: block;
        top: 8px;
        left: 10px;
        width: 50px;
        height: 50px;
        z-index: 910;
        cursor: pointer;
    }
    #nav_tab:checked+label+nav {
        left: 0;
        opacity: 1;
    }
    #nav_tab:checked+label+nav ul li:nth-child(1){
        margin-left:0%;	
        transition-delay:.1s;
    }
    #nav_tab:checked+label+nav ul li:nth-child(2){
        margin-left:0%;	
        transition-delay:.2s;
    }
    #nav_tab:checked+label+nav ul li:nth-child(3){
        margin-left:0%;	
        transition-delay:.3s;
    }
    #nav_tab:checked+label+nav ul li:nth-child(4){
        margin-left:0%;	
        transition-delay:.4s;
    }
    #nav_tab:checked+label+nav ul li:nth-child(5){
        margin-left:0%;	
        transition-delay:.5s;
    }
    #nav_tab:checked+label+nav ul li:nth-child(6) {
        margin-left: 0%;
        transition-delay: 0.6s;
    }
    
    header label {
        position: relative;
    }
    .btn_bar {
        position: absolute;
        width: 50px;
        height: 8px;
        background-color: #000;
        transition: .5s;
        margin-top: 5px;
    }
    .btn_bar:nth-of-type(1){
        top: 0px;
    }
    .btn_bar:nth-of-type(2){
        top: 18px;
    }
    .btn_bar:nth-of-type(3){
        top: 36px;
    }
    #nav_tab:checked+label .btn_bar:nth-of-type(1) {
        top: 18px;
        transform: rotate(45deg);
    }
    #nav_tab:checked+label .btn_bar:nth-of-type(2) {
        transform: scale(0);
    }
    #nav_tab:checked+label .btn_bar:nth-of-type(3) {
        top: 18px;
        transform: rotate(-45deg);
    }


    .title {
        align-items: flex-start;
    }
}