@charset "UTF-8";
/* CSS Document */

.inner {
    width: 1080px; /*980pxから変更*/
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}

/* header */
#top-head {
    position: fixed;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0 0;  /*30px 0 0 から変更*/
    line-height: 1;
}
#top-head:after {
    content: "";
    display: block;
    height: 1px;
    background: transparent;
    width: 980px;
    margin: 30px auto 0;
}
 
#top-head a,
#top-head {
    color: transparent; /* lightバージョン */
    text-decoration: none;
}
 
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    font-size: 32px;
	padding-top: 5px; /* add */
	margin-left: 20px; /* add */
}
#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 14px;
	padding-right: 50px; /* add */
}
#global-nav ul li {
    float: left;
    position: relative;
 
}
#global-nav ul li a {
    padding: 0 20px; /*0 30pxから変更*/
}
/* transition */
#top-head,
#top-head:after,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
/* -------------------------------------*/
/* 固定前のホバーアニメーション用の追記ここから */
/* -------------------------------------*/

/* Btn Hover */ 
/*#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom: -20px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3 ease;
	-o-transition: all 0.3 ease;
}
#global-nav ul li:hover:after {
	background: #fff;
	bottom: -30px;
}*/

/* ↓PC用記述 */
@media (min-width:641px){
#global-nav ul li {
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
	transition: color 0.3s;
}

#global-nav ul li::before {
	position: absolute;
	top: 170%; /* 100から150へ */
	left: 50%;
	color: transparent;
	content: '•';
	text-shadow: 0 0 transparent;
	font-size: 1.2em;
	-webkit-transition: text-shadow 0.3s, color 0.3s;
	-moz-transition: text-shadow 0.3s, color 0.3s;
	transition: text-shadow 0.3s, color 0.3s;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
	pointer-events: none;
}

#global-nav ul li:hover::before,
#global-nav ul li:focus::before {
	color: #fff; /* lightバージョン */
	text-shadow: 10px 0 #fff, -10px 0 #fff; /* lightバージョン */
}

#global-nav ul li:hover,
#global-nav ul li:focus {
	color: #ba7700;
}
}
/* -------------------------------------*/
/* 固定前のホバーアニメーション用の追記ここまで */
/* -------------------------------------*/

/* Fixed */
#top-head.fixed {
    /*padding-top: 15px;*/
    background: #fff; /*rgba(255,255,255,.7)ではなく白に変更*/
	z-index: 900; /* add */
}

#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
}
#top-head.fixed .logo a{/* add */
    color: #333;
}
 
#top-head.fixed:after {
    width: 100%;
    margin-top: 20px;
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}
/* -------------------------------------*/
/* 固定後のホバーアニメーション用の追記ここから */
/* -------------------------------------*/

/* Fixed Btn Hover */
/*#top-head.fixed #global-nav ul li:after {
	bottom: -10px;
}
#top-head.fixed #global-nav ul li:hover:after {
	background: #444;
	bottom: -20px;
}*/

/* ↓PC用記述 */
@media (min-width:641px){
#top-head.fixed #global-nav ul li {
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
	transition: color 0.3s;
}

#top-head.fixed #global-nav ul li::before {
	position: absolute;
	top: 160%; /* 100から150へ */
	left: 50%;
	color: transparent;
	content: '•';
	text-shadow: 0 0 transparent;
	font-size: 1.2em;
	-webkit-transition: text-shadow 0.3s, color 0.3s;
	-moz-transition: text-shadow 0.3s, color 0.3s;
	transition: text-shadow 0.3s, color 0.3s;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
	pointer-events: none;
}

#top-head.fixed #global-nav ul li:hover::before,
#top-head.fixed #global-nav ul li:focus::before {
	color: #444;
	text-shadow: 10px 0 #444, -10px 0 #444;
}

#top-head.fixed #global-nav ul li:hover,
#top-head.fixed #global-nav ul li:focus {
	color: #ba7700;
}
#top-head.fixed {
	border-bottom: 1px solid #dfdfdf;/* add 固定後のナビに下線 */
}
}
/* -------------------------------------*/
/* 固定後のホバーアニメーション用の追記ここまで */
/* -------------------------------------*/

/* スマホ用目ナビの追記 */
/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}
#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #666;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}
/* スマホ用目ナビの追記ここまで */

/* ↓SP用記述 */
@media screen and (max-width: 640px) {
	
	#top-head.fixed:after {
    margin-top: 0px;　/* 追記 */
}
	
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: #FFF; /* transparentから変更 */
    }
    #mobile-head {
        background: transparent; /* #fffから変更 */
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
		margin-left: 10px; /* add */
		z-index: 999; /* add */
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #333;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
		z-index: 999; /* add */
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
		padding: 0; /* add */
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
}