@charset "utf-8";
/* レイアウトのためのCSS */

body{
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
	color: #fff;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #fff;
	text-decoration: none;
    outline: none;
}

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

*{
    box-sizing: border-box
}

/* HEADER */

nav{
	position: relative;
	z-index:999;
	padding:5px 20px;
}

h1{
    font-size: 2rem;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 888;
    letter-spacing: 0.1em;
    width:10em;
    opacity: 0;/*ローディング画面では透過*/
}

@media screen and (max-width:768px){
 h1{
    font-size: 1.5rem;
    }
}


.header-utility{
	position: absolute;
	z-index: 2;
	top:0;
	right:80px;
	background: #ffccbb;
	font-weight: bold;
    display: flex;
    border-radius:0 0 10px 10px;
}

.header-utility li{
    position: relative;
}

.header-utility li:first-child::after{
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    background:#333;
    width:1px;
    height: 30px;
    transform: rotate(23deg);
}

.header-utility li a{
	display: block;
	padding: 20px 20px 20px 50px;
    transition: all 0.3s;
	color: #222;
}

.header-utility li .pcnone{
    display: none;
}

.header-utility li a:hover{
     color: #666;   
}

.header-utility li:first-child a{
     background:url("../img/ico_book.svg") no-repeat 20px center;
    background-size:20px 20px;
}

.header-utility li:last-child a{
     background:url("../img/ico_tel.svg") no-repeat 20px center;
    background-size:20px 20px;
}


@media screen and (max-width:940px) {
.header-utility{
	position: fixed;
	z-index: 3;
	top:inherit;
	right:inherit;
    bottom:0;
    width: 100%;
    border-radius: 0;
}
    
.header-utility li{
    width:50%;
    text-align: center;
    } 
.header-utility li a{
    padding: 15px 15px 15px 40px;
    }
.header-utility li:first-child a,
.header-utility li:last-child a{
    background-position:35px center;
}
}

@media screen and (max-width:560px) {
.header-utility li:first-child a,
.header-utility li:last-child a{
    background-position:20px center;
}
    
.header-utility li .spnone{
    display: none;
}

.header-utility li .pcnone{
    display: block;
}
    
}

/* gnavi */

#g-nav ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#g-nav.panelactive ul li{
    position: relative;
    width:30%;
    text-align: left;
    white-space: nowrap;
}

@media screen and (max-width:960px) {
#g-nav.panelactive ul li{
    width:48%;
    }
}


@media screen and (max-width:580px) {
#g-nav.panelactive ul li{
    width:100%;
    }
}

#g-nav li a{
    padding: 15px 20px;
}

#g-nav.panelactive ul li::before{
    content:'';
    width:5px;
    height: 5px;
    background:#6eb5c0;
    position: absolute;
    left:-10px;
    top:43%;
}


body.appear h1{
    opacity: 1;
}

/* area */
.sp-bottom{
    text-align: center;
}

#left6 .sp-bottom{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);    
}

h2{
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin: 0 0 30px 0;
}

@media screen and (max-width:550px){
 h2{
    font-size: 1.5rem;
    }
}


#left6 .sp-bottom p{
    margin:0 0 50px 0;
    letter-spacing: 0.3em;
    white-space: nowrap;
}

#left6 .sp-bottom ul{
    display: flex;
    justify-content: center;
}

#left6 .sp-bottom ul li{
    margin: 0 10px;
}

#left6 .sp-bottom ul img{
     height:25px;   
}

#footer{
    position: fixed;
    bottom:20px;
    left: 20px;
}

@media screen and (max-width:550px){
 
#footer{
    bottom:inherit;
    left: 20px;
    top:20px;
}   
}
