@charset "utf-8";
/* common */
/*@import url("/common/common/css/header.css");*/
header {
    /*background-color: #719349;*/
	/*background-color: #ffea00;*/
	background-color: rgba(0,0,0,0.9);
    -webkit-box-shadow: 0 2px 2px rgb(0 0 0 / 25%);
    box-shadow: 0 2px 2px rgb(0 0 0 / 25%);
    z-index: 10000;
    position: fixed;
    width: 100%;
    top: 0;
    padding: 0;
}
.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}
.logo-wrap {
    display: flex;
    align-items: center;
    margin: 8px 0;
}
.logo-wrap .logo {
    width: 43%;
    filter: drop-shadow(0px 0px 10px #ffffff);
}
.nav-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 600;
}
.nav-title {
    margin: 0 0 0 30px;
    font-size: 17px;
}
.nav-title a {
    color: #fff;
    text-decoration: none;
}
li.nav-title.entry-link {
    background-color: #f56b48;
    padding: 20px;
}
nav {
    margin: 0 0 0 auto;
}
.sp-nav {
    display: none;
}
/*
@media screen and (max-width: 820px) {
.header-wrap {
    width: 94%;
}
}
*/
@media screen and (max-width: 820px) {
    .pc-nav {
        display: none;
    }
    .mario-logo {
        width: 118px;
    }
    .mario-logo-sp {
        top: 10px;
        left: 3%;
        position: absolute;
    }
    nav.sp-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh; /*ナビの高さ*/
        background: rgba(0,0,0,.9);
        /*動き*/
        transition: all 0.6s;
        display: block;
    }
    /*アクティブクラスがついたら位置を0に*/
    nav.sp-nav.panelactive {
        right: 0;
    }
    /*ナビゲーションの縦スクロール*/
    nav.sp-nav.panelactive nav.sp-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh; /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    /*ナビゲーション*/
    nav.sp-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 20px;
        /*    width: 100%;*/
        width: 80%;
    }
    /*リストのレイアウト設定*/
    nav.sp-nav .nav-title {
        list-style: none;
        text-align: center;
        border-bottom: solid 1px #fff;
    }
    nav.sp-nav .nav-title a {
        color: #fff;
        text-decoration: none;
        padding: 26px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        text-align: left;
        font-size: 1.2rem;
    }
    .nav-title {
        margin: 0;
        position: relative;
    }
    .nav-title::after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f105";
        top: 50%;
        position: absolute;
        right: 10px;
        transform: translate(-10px, -50%);
        color: #fff;
    }
    .nav-title a {
        padding-top: 21px;
    }
    /*========= ボタンのためのCSS ===============*/
    .Toggle {
        position: fixed;
        z-index: 9999; /*ボタンを最前面に*/
        top: 10px;
        right: 30px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }
    /*×に変化*/
    .Toggle span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
    }
    .Toggle span:nth-of-type(1) {
        top: 15px;
    }
    .Toggle span:nth-of-type(2) {
        top: 23px;
    }
    .Toggle span:nth-of-type(3) {
        top: 31px;
    }
    .Toggle.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 70%;
    }
    .Toggle.active span:nth-of-type(2) {
        opacity: 0;
    }
    .Toggle.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 70%;
    }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}
@media screen and (max-width: 820px) {
    .sp-nav .logo-wrap .logo {
        width: 26%;
        max-width: 200px;
    }
    .sp-nav .logo-wrap {
        margin: 8px 16px;
    }
    .Toggle {
        top: 15px;
        width: 60px;
        height: 60px;
    }
}
@media screen and (max-width: 480px) {
    .logo-wrap {
        margin: 6px 0;
    }
    .logo-wrap .logo {
        width: 36%;
    }
    .Toggle {
        top: 5px;
        right: 10px;
    }
    .Toggle.active span:nth-of-type(1) {
        width: 50%;
    }
    .Toggle.active span:nth-of-type(3) {
        width: 50%;
    }
    nav.sp-nav .nav-title a {
        padding: 14px;
    }
    nav.sp-nav ul {
        top: 40%;
    }
    nav.sp-nav .nav-title a {
        font-size: 1rem;
    }
}
/*	-国選択ボタン--*/
.headmenu-language {
    width: 100%;
    position: relative;
    margin-top: 24px;
    margin-left: 0;
    font-size: 115%;
}
.headmenu-language:before {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #362b22;
    border-radius: 0 8px 8px 0;
    pointer-events: none;
}
.headmenu-language:after {
    content: '';
    background: url("/common/img/i_arrow_wh_r.png") center no-repeat;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    transform: rotateZ(90deg);
    height: 16px;
    width: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 12px;
    margin: auto;
    pointer-events: none;
}
.headmenu-language select {
    width: 100%;
    border: solid 2px #362b22;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    height: 36px;
    padding: 3px 40px 3px 10px;
    cursor: pointer;
    background-color: #fff;
    font-weight: 700;
    color: #362b22;
}
.headmenu-language select::-ms-expand {
    display: none;
}
@media screen and (min-width: 760px) {
    .nav-wrap .headmenu-language {
        width: 160px;
        margin-top: 0;
        margin-left: 15px;
        font-size: 100%;
    }
    .nav-wrap .headmenu-language select {
        width: 160px;
        line-height: normal;
    }
    .sp-nav ul .headmenu-language:before {
        width: 60px;
        height: 55px;
    }
    .sp-nav ul .headmenu-language select {
        font-size: 1.4rem;
		height: 55px;
		
    }
	.sp-nav ul .headmenu-language:after{
		    right: 23px;
	}
	.sp-nav ul .headmenu-language select option{
		max-width: 600px!important;
		 overflow-wrap: break-word; /* 長い単語を折り返す */
	}
}
