@charset "utf-8";

/*-----------------------------------
リセット
-----------------------------------*/
*{ margin: 0;padding: 0;}
a { text-decoration : none;}
ul, ol { list-style : none;}
img { vertical-align : middle;border-style:none;}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


/*-----------------------------------
基本設定
-----------------------------------*/
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
	font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	letter-spacing: 1px;
    color:#000;
	background-color:#FFF;
	text-align:left;
	font-size:14px;
	line-height: 26px;
	
	opacity: 0;
	animation: fadeIn 2.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 2.5s ease 0s 1 normal;
	animation-fill-mode: forwards;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}


a {
	color:#000;
}
a:hover {
	color:#E50012;
}
a:hover img{ 
	opacity: 0.7;
	filter: alpha(opacity=70);
}

@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 100;
    src: url('../font/NotoSansCJKjp-Thin.woff') format('woff');
}

@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 200;
    src: url('../font/NotoSansCJKjp-Light.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 300;
    src: url('../font/NotoSansCJKjp-DemiLight.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 400;
    src: url('../font/NotoSansCJKjp-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 500;
    src: url('../font/NotoSansCJKjp-Medium.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 700;
    src: url('../font/NotoSansCJKjp-Bold.woff') format('woff');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 900;
    src: url('../font/NotoSansCJKjp-Black.woff') format('woff');
}


/*-----------------------------------
Header
-----------------------------------*/
header {
	width: 100%;
	position: absolute;
	top: 0;
}
@media screen and (max-width: 790px) {
header {
	position: fixed;
	top:0;
}
}

.head_innder {
	width: 956px;
	height: 75px;
	margin: 0 auto;
	position: relative;
}
.head_innder_s {
	height: 50px;
}
.fixed {
    position: fixed;
    top: 0;
    z-index: 98;
	background-color: rgba(255,255,255,0.90);
}

@media screen and (max-width: 956px) {
.head_innder {
	width: 100%;
}
}
@media screen and (max-width: 790px) {
.head_innder {
	height: 60px;
	background-color: rgba(255,255,255,0.90);
	position: fixed;
	top:0;
}
}

#logo {
	width:354px;
	height: 50px;
	position: absolute;
	bottom: 0;
	left: 0;
}
.logo_mini {
	padding-top: 7px;
}
.logo_mini,.logo_mini img {
	width:250px;
	height: 35px;
}
@media screen and (max-width: 790px) {
#logo {
	width:250px;
	height: 35px;
	top:5px;
	left: 10px;
	position: fixed;
	padding-top: 7px;
}
}
header nav {
	position: absolute;
	bottom: 0;
	right: 0;
}
@media screen and (max-width: 790px) {
header nav{
	display: none;
}
}
header nav ul {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
header nav li {	margin-left: 50px;
	padding: 0 5px 7px 5px;
	font-weight: 700;
}
.nowpos {	margin-left: 50px;
	border-bottom: 5px solid #E50012;
}

@media screen and (min-width: 791px) {
.sp_menu {
	display: none;
}
}
.sp_menu {
	width: 30px;
	position: fixed;
	top: 16px;
	right: 10px;
}
.sp_menu img {
	width: 30px;
}

/*-----------------------------------
Sub menu
-----------------------------------*/

.submenu {
	width: 956px;
	margin: 135px auto 0 auto;
}
.line_b {
	border-bottom: 1px solid #000;
}
@media screen and (min-width: 791px) {
.submenu {
	border-top: 1px solid #000;
}
}
@media screen and (max-width: 956px) {
.submenu {
	width: 100%;
}
}
@media screen and (max-width: 790px) {
.submenu {
	width: 100%;
	margin-top:60px;
}
}

@media screen and (min-width: 791px) {
.submenu ul {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	justify-content: center; 
}
}

.menu_on {
	width: 250px;
	padding: 20px;
	text-align: center;
	background-color: #E50012;
	color: #FFF;
	display: block;
}
.menu_off a {
	width: 250px;
	padding: 20px;
	text-align: center;
	background-color: #FFF;
	display: block;
}
.menu_off a:hover {
	background-color:#F0F5F5;
}
@media screen and (max-width: 790px) {
.menu_on,.menu_off a {
	width: 100%;
	padding: 12px;
	border-top: 1px solid #000;
}
}


/*-----------------------------------
Contents
-----------------------------------*/

.wrap {
	width: 956px;
	height: 300px;
	margin: 100px auto 0 auto;
	background-color: aliceblue;
}
@media screen and (max-width: 956px) {
.wrap {
	width: 100%;
}
}

/*-----------------------------------
Footer
-----------------------------------*/
footer {
	width: 100%;
	background-color: #FFF;
}
.footer_entry {
	width: 100%;
	background-color: #E50012;
	margin-bottom: 100px;
	padding: 50px 0;
	position: relative;
}
@media screen and (min-width: 651px) {
.footer_entry {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	justify-content: center; 
}
}

.footer_entry div a {
	width: 275px;
	border: 2px solid #FFF;
	display: block;
	padding: 14px;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 4px;
	color: #FFF;
	text-align: center;
	margin: 0 25px;
}
@media screen and (max-width: 650px) {
.footer_entry div a {
	width: 90%;
	display: block;
	padding: 10px;
	margin: 10px auto;
}
}
.footer_entry div a:hover {
	background-color:#FFF;
	color: #E50012;
}


.footer_inner {
	width: 956px;
	height: 140px;
	margin: 0 auto;
	position: relative;
}
@media screen and (max-width: 956px) {
.footer_inner {
	width: 100%;
}
}

.footlogo {
	width: 246px;
	position: absolute;
	top: 0;
	left: 0;
}
@media screen and (max-width: 820px) {
.footlogo{
	margin: 0 auto;
	left: 0;
	right: 0;
}
}

.footlogo img {
	width: 246px;
	height: 43px;
}
.footlogo p a {
	width: 246px;
	display: block;
	padding: 5px;
	border: 1px solid #999;
	text-align: center;
	margin-top: 20px;
	font-weight: 500;
}
.footlogo p a:hover {
	background-color:#E50012;
	border: 1px solid #E50012;
	color: #FFF;
}

footer nav {
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	position: absolute;
	top: 0;
	right: 0;
}
@media screen and (max-width: 820px) {
footer nav{
	display: none;
}
}

footer nav ul {
	padding-left: 15px;
	margin-left: 40px;
	border-left: 1px solid #ccc;
}
footer nav ul li {
	margin-bottom: 3px;
}

.corner {
	font-size: 16px;
	margin-bottom: 12px;
	font-weight: 700;
}
.copyright {
	font-size: 11px;
	font-weight: 400;
	width: 956px;
	margin: 0 auto;
	text-align: right;
	padding-bottom: 20px;
}
@media screen and (max-width: 956px) {
.copyright {
	width: 100%;
}
}
@media screen and (max-width: 820px) {
.copyright {
	text-align: center;
}
}



/*-----------------------------------
Gナビ
-----------------------------------*/
.g_navi {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	background-color: #FFF;
	border-top: 4px solid #E50012;
	border-bottom: 4px solid #E50012;
	padding: 20px;
	display: none;
}
.g_navi_close {
	width: 30px;
	position: fixed;
	top: 35px;
	right: 30px;
}
.g_navi_close img {
	width: 30px;
}
.g_navi ul {
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #ccc;
}
.g_entry a {
	width: 100%;
	border: 2px solid #E50012;
	display: block;
	padding: 6px;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 2px;
	color: #E50012;
	text-align: center;
}
.g_entry a:hover {
	background-color:#E50012;
	color: #FFF;
}













