/*==========================
ヘッダー
==========================*/
header {
position: fixed;
left: 0;
top:0;
width: 100%;
z-index: 1000;
transition: 0.4s ease;
transition-delay: 0.1s;
}

/*ロゴ*/
.header_logo {
text-align: center;
padding-top: 0.3rem;
	position: relative;
}

@media screen and (max-width: 699px) {
/*ロゴ*/
.header_logo {
width: 1.2rem;
margin: auto;
padding-top: 0.2rem;
}
}

.header_logo .header_logo_img {
/*transition: all 0.3s ease;*/
padding-left: 0.1rem;
	position: relative;
}

@media screen and (min-width: 700px) {
	.header_logo .header_logo_img img {
height: 30px;
}
}
@media screen and (min-width: 1000px) {
	.header_logo .header_logo_img img {
height: 36px;
}
}
@media screen and (max-width: 699px) {
	.header_logo .header_logo_img img {
height: 26px;
}
}

@media screen and (max-width: 699px) {
header {
background-size: 100% 1px;
}
}

/*ハンバーガー背景*/
.nav_back {
position: absolute;
top: 0;
left: 0;
width: 1.3rem;
height: 1.1rem;
}

@media screen and (max-width: 699px) {
.nav_back {
width: 1rem;
height: 1rem;
}
}


.nav_back img {
width: 100%;
height: 100%;
}


header nav {
position: absolute;
bottom:0;
right: 0;
width: 70%;
}

header nav ul {
display: flex;
justify-content: flex-end
}

header nav li {
padding-left: 2%;
padding-right: 2%;
padding-bottom:1px;
display: inline-block;
}

header nav li:last-child {
padding-right: 10px;
}

@media screen and (max-width: 900px) {
header nav li {
padding-bottom:2px;
}
}

@media screen and (max-width: 800px) {
header nav li {
padding-left: 0.13rem;
padding-right: 0.13rem;
}
}

header nav li a {
display: block;
border-bottom: 3px solid transparent;
color: #000000;
text-decoration: none;
font-weight: bold;
}

header nav li.on a {
border-bottom: 3px solid #fbb03b;
}

header nav img {
max-height: 15px;
display: block;
padding-bottom: 10px;
}


/*============================================
スマホナビ
===========================================*/
#SP_navi_wrapper,
#SPnaviBtn {
display: block;
}

/*スマホボタン*/
#SPnaviBtn {
width: 0.7rem;
height: 0.3rem;
position: absolute;
text-align: center;
z-index: 1000;
top: 0.2rem;
left: 0;
cursor: pointer;
display: block;
}

@media screen and (max-width: 699px) {
#SPnaviBtn {
width: 0.5rem;
cursor: pointer;
display: block;
}
}

#SPmenuBars {
position: absolute;
left: 50%;
width: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}

/* 線の基本設定 */
.menu-trigger span {
position: absolute;
left: 0;
width: 100%;
height: 2px;
background-color: #fff;
transition: all 0.3s ease;
}

/* 線のホバー時 */
.menu-trigger:hover span {
background-color: #00d1cc;
}

@media screen and (max-width: 699px) {
.menu-trigger:hover span {
background-color: #FFF;
}
}


/* 各線の長さ */
.menu-trigger span:nth-of-type(1) {
top: 0;
width: 100%;
}

.menu-trigger span:nth-of-type(2) {
top: 0.1rem;
width: 60%;
}

.menu-trigger:hover span:nth-of-type(2) {
width: 100%;
}

@media screen and (max-width: 699px) {
.menu-trigger:hover span:nth-of-type(2) {
width: 60%;
}
}

.menu-trigger span:nth-of-type(3) {
top: 0.2rem;
width: 80%;
}

.menu-trigger:hover span:nth-of-type(3) {
width: 100%;
}

@media screen and (max-width: 699px) {
.menu-trigger:hover span:nth-of-type(3) {
width: 100%;
}
}

/* メニューオープン時の動作 */
.menu-trigger.active span {
position: absolute;
left: 0;
width: 100%;
height: 2px;
background-color: #FFF;
}

.menu-trigger.active span:nth-of-type(1) {
-webkit-transform: translateY(10px) rotate(-45deg);
transform: translateY(10px) rotate(-45deg);
top: 0;
}

.menu-trigger.active span:nth-of-type(2) {
opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
-webkit-transform: translateY(-5px) rotate(45deg);
transform: translateY(-5px) rotate(45deg);
top: 0.15rem;
}

@media screen and (min-width:1153px) and (max-width:1280px) {
.menu-trigger.active span:nth-of-type(3) {
top: 0.19rem;
}
}

@media screen and (min-width:1025px) and (max-width:1152px) {
.menu-trigger.active span:nth-of-type(3) {
top: 0.2rem;
}
}

@media screen and (min-width:700px) and (max-width:1024px) {
.menu-trigger.active span:nth-of-type(3) {
top: 0.21rem;
}
}

#SPnaviBtn {
display: block;
}

#sp_navi {
background: rgba(0,0,0,0);
background-size: contain;
position: fixed;
top:0;
left: -110vw;
height: 100%;
width: 100%;
z-index: 10;
transition: all 0.5s ease-in-out;
}

#sp_navi.active {
background: rgba(0,209,204,0.98);
top:0;
left: 0;
height: 100%;
width: 100%;
z-index: 10;
}

#sp_navi ul {
width: 55%;
margin: auto;
padding-top: 10vh;
text-align: center;
position: relative;
z-index: 1;
}

#sp_navi li {
line-height: 4;
}

#sp_navi li a {
color: #fff;
font-size: 0.25rem;
text-decoration: none;
font-weight: 300;
display: inline-block;
line-height: 1.4;
}

#sp_navi.active li a {
	letter-spacing: 0.1em;
	border-bottom: 1px solid transparent;
}

#sp_navi.active li a:hover {
	letter-spacing: 0.2em;
	border-bottom: 1px solid #FFF;
}

#sp_navi.active li a {
}



#sp_navi li a i {
color: #FFF;
opacity: 0.5;
padding-right: 0.1rem;
}

#sp_navi li img {
height: 0.16rem;
}

#particles_03 {
position: absolute;
z-index: 0;
top:0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.4;
}

#sp_navi h2 {
position: absolute;
bottom:0.4rem;
color: #FFF;
text-align: center;
width: 100%;
left: 0;
font-size: 0.2rem;
font-weight: 800;
line-height: 1.4;
}

#sp_navi h2 em {
display: block;
font-weight: 500;
font-size: 0.12rem;
letter-spacing: 0.1;
}

/* ページの先頭に戻る */
#BackToTop {
display: none;
position: fixed;
bottom: 30px;
right: 30px;
z-index:10;
cursor:pointer;
}

@media screen and (max-width: 699px) {
#BackToTop {
bottom: 50px;
right: 16px;
z-index: 1010;
}
}

#BackToTop a {
display: block;
width: 80px;
height: 80px;
background:url(../img/back_to_top.png) no-repeat;
background-size: cover;
text-indent:-9999px;
transition: all  0.3s ease;
}

@media screen and (max-width: 699px) {
#BackToTop a {
width: 60px;
height: 60px;
}
}

#BackToTop a:hover {
opacity:0.7;
}




/*言語選択*/
#lang {
	position: fixed;
	top:0.2rem;
	right: 0.5rem;
	z-index: 100;
}
.lang_box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.lang_box li {
	font-size: 0.18rem;
	color: #fff;
}
.lang_box li span {
	padding-left: 0.1rem;
	padding-right: 0.1rem;
}
.lang_box li a {
	text-decoration: none;
	color: #fff;
	opacity: 0.5;
}
.lang_box li a:hover {
	opacity: 0.8;
}