@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

/* 文書全体 */
* {
	margin: 0px;
}
a:link {
	color: #515151;
	text-decoration: underline;
}
a:visited {
	color: #464646;
	text-decoration: underline;
}
a:hover {
	color: #B9B9B9;
	text-decoration: none;
}

/* 全てのスクリーンサイズで適用する設定 */
/* body */
body {
	font-size: 14px;
	text-align: center;
	font-family: 'Noto Sans JP';
	overflow:hidden;
}

html {
  overflow: auto;
  height: 100%;
}
body.modal-open {
  overflow: hidden;
  height: 100%;
}

article {
	margin: 160px auto 30px auto;
	padding: 0;
	width: 1000px;
	text-align: center;color: #333333;
	overflow:hidden;
}
@media screen and (max-width: 767px) {
	article {
		margin: 80px 0px 30px 0px;
		padding: 0;
		width: 100%;
		overflow:hidden;
}
}


.inner {
    width: 980px;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
 
/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
	background-color: #EAEAEA;
	height: 130px;
}
#top-head a,
#top-head {
    color: #666;
    text-decoration: none;
}
#top-head .inner {
    position: relative;
	height: 100px;
	
}
#top-head .logo {
    float: left;
    font-size: 36px;
	background-image: url(../img/topLogo.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 300px;
	height: 64px;
	text-indent:-9999px;
	overflow:hidden;
	display:block;
}
#global-nav ul {
    list-style: none;
	display: inline-block;
    position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin:0 auto;
    font-size: 14px;
	text-align: center;
}
#global-nav ul li {
    display: inline-block;
}
#global-nav ul li a {
    padding: 0 30px;
}
#global-nav ul li a:hover {
border-bottom: 3px solid #CCC;
}
#global-nav ul li.mbile_sns_links {
    display: none;
}
.hd_sns_links {
    float: right;
	text-align: right;
	display:inline-block;
	width: 150px;
}
.hd_sns_links a {
    padding: 0 5px;
}



 
/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 130px;
    background: #fff;
    background: rgba(234,234,234,.9);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}
 
/* 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;
}

/* -------------モバイル------------- */
@media screen and (max-width: 767px) {
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
		height: 80px;
		z-index: 100;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
		height: 80px;
    }
    #mobile-head {
        background: #EAEAEA;
        width: 100%;
        height: 80px;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
		width: 60%;
		height: 60%;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #333;
        width: 100%;
		height: auto;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
		display: block;
    }
	#global-nav ul li.mbile_sns_links {
    	display: block;
	}
	#global-nav ul li.mbile_sns_links a:hover {
		border: none;
	}
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 10px 0;
    }
	#top-head #global-nav ul li.mbile_sns_links a,
    #top-head.fixed #global-nav ul li.mbile_sns_links a {
        width: auto;
        display: inline-block;
        padding: 10px;
    }
	.hd_sns_links {
	display: none;
}
    #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);
    }
}


/* -------------フッター------------- */
footer {
	clear: both;
	margin: 25px auto 0 auto;
	text-align: left;
	width: 1000px;
}
footer ul {
	font-size: 12px;
	list-style: none;
	margin: 20px 0 20px 5px;
}
footer ul li {
	margin: 7px 0 5px 0px;
	font-size: 10px;
}
footer ul li.sHOp {
	margin: 5px 0 5px 9px;
}
footer ul li a {
	font-size: 12px;
}
footer ul li span {
	display: inline-block;
	margin-right: 10px;
}
footer p {
	font-size: 12px;
	display: block;
	width: 100%;
	text-align: center;
	margin: 20px 0 20px 0px;
}
@media screen and (max-width: 767px) {
	footer {
		clear: both;
		margin: 25px 0px 0 0px;
		text-align: left;
		width: 100%;
	}
	footer ul {
		list-style: none;
		margin: 20px 0;
		padding: 0 20px;
	}
}
#pageTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }
  #pageTop i {
  	padding-top: 6px ;
  }
  #pageTop a {
    display: block;
    z-index: 999;
    padding: 8px;
    border-radius: 30px;
    width: 40px;
    height: 40px;
    background-color: #ccc;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
  }
  #pageTop a:hover {
    text-decoration: none;
    opacity: 0.7;
  }