﻿@charset "utf-8";
/* CSS Document */

.inner {
	width: 100%;
	margin: 0 auto;
	position: relative;
}
 
.inner:after {
  content:"";
  clear: both;
  display: block;
}
 
/*--------header-----------*/
/*---------------------
  プルダウンメニュー
---------------------*/

#global-nav > li li:hover > a {/*layer-2*/
  color: olive;

}

#global-nav li ul li {
	overflow: hidden;
	height: 0;
	transition: 0.2s;
	width: 220px;
	top: 80px;
}
#global-nav li ul li a {
	border-top: 1px solid #eee;
	font-size: 92%;
	width: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	top: 60px;
	background-color: #FFF;
	margin-left: 320px;
	overflow: hidden;
}
#global-nav li:hover > ul > li {
  overflow: visible;
  height: 49px;
}
  #global-nav li ul li ul {
	top: 0;
	
  }



/*---------------------
  プルダウンここまで
---------------------*/
 
#top-head {
	top: -100px;
	position: absolute;
	width: 100%;
	line-height: 1;
	z-index: 999;
	margin-top: 100px;
	margin-right: auto;
	margin-left: auto;
	background: rgba(255,255,255,.6);
	height: 120px;
}

#top-head .inner {
    position: relative;
}
#top-head .logo {
	float: left;
	position: absolute;
	margin-left: 22px;
	width: 455px;
}
 

 
#global-nav ul {
	list-style: none;
	position: absolute;
	top: 30px;
	right: 0;
	margin-right: 280px;

}
#global-nav ul li {
	float: left;
	padding-top: 0;
	padding-right: 15px;
	padding-bottom: 0;
	padding-left: 15px;

}
#global-nav ul li a {
	padding: 5px 5px;
	position: relative;
	display: inline-block;
	font-size: 106%;
	line-height: 24px;
	color: #000000;
	text-decoration: none;
	text-align: center;
	font-weight: 600;
}

 
#global-nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	-webkit-transform: scaleX(0);
	-ms-transform: scaleX(0);
	transform: scaleX(0);
	background-color: #FF8219;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
 
#global-nav ul li a:hover::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

.global-box1 {
	float: right;
	width: 260px;
}
.global-box2 {
	float: left;
	width: 260px;
	text-align: center;
	padding-top: 20px;
}

.global-box3 {
	float: right;
	background-color: #EDCB22;
	height: 100%;
	min-height: 100%;
	width: 140px;
	text-align: center;
	display: block;
}


.global-box3 a:link {
	color: #FFFFFF;
	font-size: 110%;
	text-decoration: none;
	line-height: 24px;
	text-align: center;
	padding-top: 20px;
	clear: both;
	margin-top: 20px;
}
.global-box3 a:visited {
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}
.global-box3 a:hover {
	line-height: normal;
	line-height: 24px;
	color: #008A3B;
	transition: .2s linear;
	-webkit-transition: .2s linear;
	-moz-transition: .2s linear;
	-o-transition: .2s linear;
	-ms-transition: .2s linear;
}
.global-td1 {
	margin-top: 40px;
}

.head-mini {
	font-size: 70%;
	color: #838383;
	text-align: center;
	font-weight: normal;
}

 
 
/*--------固定化されたときのCSS-----------*/
 
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 0px;
	background: #fff;
	background: rgba(255,255,255,.9);
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
	padding-bottom: 0px;
}
 
#top-head.fixed .logo {
  position: relative;
}
 
#top-head.fixed .logo a {
  position: absolute;
  width: 100%;
  height: 30px;
 
}
#top-head.fixed #global-nav ul li a {
    color: #333;
    padding: 0 5px;
    padding-bottom: 10px;
}
 
/*---------------------
  プルダウンメニュー
---------------------*/

#top-head.fixed #global-nav li ul li a {
	border-top: 1px solid #eee;
	font-size: 100%;
	width: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	top: 60px;
	background-color: #FFF;
}
#top-head.fixed #global-nav li:hover > ul > li {
  overflow: visible;
  height: 49px;
}


/*-----------スマホのトグルボタンのCSS-------------*/
 
#nav-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 48px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 6px;
	width: 100%;
	background: #000;
	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: 13px;
}
#nav-toggle span:nth-child(3) {
    top: 26px;
}

 
/*-----------ノート-------------*/
@media screen and (max-width: 1500px) {

#global-nav ul li {
	float: left;
	padding-top: 3px;
	padding-right: 6px;
	padding-bottom: 0;
	padding-left: 6px;

}
#global-nav ul li a {
	position: relative;
	display: inline-block;
	font-size: 98%;
	line-height: 24px;
	color: #000000;
	text-decoration: none;
	text-align: center;
	font-weight: 600;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}	

#global-nav ul {
	list-style: none;
	position: absolute;
	top: 30px;
	right: 0;
	margin-right: 200px;

}
#top-head .logo {
	float: left;
	position: relative;
	margin-left: 5px;
	width: 350px;
	margin-top: 8px;
}
 
	
.global-box1 {
	float: right;
	width: 190px;
	background-color: #8BB94C;
	height: 100px;
	padding-top: 20px;
}

/*---------------------
  プルダウンメニュー固定前
---------------------*/

#global-nav li ul li a {
	border-top: 1px solid #eee;
	font-size: 92%;
	width: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	top: 58px;
	background-color: #FFF;
	margin-left: 240px;
}
#global-nav li:hover > ul > li {
  overflow: visible;
  height: 46px;
}
  #global-nav li ul li ul {
    top: 0;

  }
  
/*---------------------
  プルダウンメニュー固定化
---------------------*/

#top-head.fixed #global-nav li ul li a {
	border-top: 1px solid #eee;
	font-size: 92%;
	width: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
	top: 56px;
	background-color: #FFF;
}
#top-head.fixed #global-nav li:hover > ul > li {
  overflow: visible;
  height: 46px;
}
	 
}

/*-----------アイパット-------------*/
@media screen and (max-width: 1260px) {

.sphead {
	background: rgba(255,255,255,.9);
	height: 86px;
	z-index: 100;
	position: fixed;
	width: 100%;
	margin-top: -86px;
}

.global-box1 {
	float: right;
	width: 180px;
	background-color: #8BB94C;
	height: 80px;
	padding-top: 4px;
}	

.splogo {
	width: 300px;
	margin-top: 50px;
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	z-index: 1000;
}
.sppic1 {
	width: 190px;
	margin-top: 10px;
	margin-left: 10px;
}

 .spbox-3 {
	position: fixed;
	width: 50px;
	margin-top: -74px;
	z-index: 1000000;
	right: 4px;
}

  #nav {
	position: fixed;
	left: -250px;
	top: 0;
	width: 250px;
	height: 100%;
	overflow-y: auto;
	z-index: 1000000;
	-webkit-overflow-scrolling: touch;
	-webkit-transition: left .2s;
	transition: left .2s;
	will-change: transform;
	background-color: #FBF4DD;
  }
   .nav-link {
	display: block;
	text-decoration: none;
	font-weight: 500;
	color: #fff;
	background-repeat: no-repeat;
	background-position: top;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	padding-left: 10px;
  }
  .nav-link2 {
	display: block;
	text-decoration: none;
	font-weight: 500;
	color: #fff;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	padding-left: 40px;
  }
  .nav-link1 { background-image: url(../img/ic1.png);}
  .nav-link2 { background-image: url(../img/ic2.png);}
  .nav-link3 { background-image: url(../img/ic3.png);}
  .nav-link4 { background-image: url(../img/ic4.png);}
  .nav-link5 { background-image: url(../img/ic5.png);}
  .nav-link6 { background-image: url(../img/ic6.png);}
  .nav-link7 { background-image: url(../img/ic7.png);}
  .nav-link8 { background-image: url(../img/ic8.png);}
  .nav-link9 { background-image: url(../img/ic9.png);}

  .nav-link:hover {
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
  }
.main-nav a:link {
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
	background-color: #4B352B;
}
.main-nav a:visited {
	color: #FFFFFF;
	font-size: 12px;
	text-decoration: none;
}
.main-nav a:hover {
	text-decoration: underline;
}
  .open #nav {
    left: 0;
  }

  .main-nav {
    padding-left: 8px;
    padding-right: 8px;
  }

  #header.fixed .main-nav {
    padding-right: 8px;
    width: auto;
  }

  .nav-link {
	padding-top: 14px;
	padding-bottom: 6px;
	background-position: 5px 12px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #FFF;
  }
  .nav-link2 {
	padding-top: 6px;
	padding-bottom: 6px;
	background-position: 30px center;
	background-attachment: scroll;
	background-image: url(../img/item02.png);
	background-repeat: no-repeat;
  }
  

  .main-nav li:first-child .nav-link {
  }

  .button {
	position: absolute;
	top: 10px;
	left: 4px;
	width: 45px;
	height: 45px;
	border: 3px solid #FFC78E;
	z-index: 1000000;
	cursor: pointer;
	outline: none;
	-webkit-transition: .2s;
	transition: .2s;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
	background-color: #FE9724;
  }
  .button:after {
	content: "MENU";
	display: block;
	position: absolute;
	bottom: 0px;
	width: 100%;
	color: #fff;
	font-size: 70%;
	text-align: center;
  }
  .open .button {
    background: none;
    border: 3px solid #fff;
    -webkit-transform: translate(250px,0);
            transform: translate(250px,0);
  }
  .open .button:after {
    content: "CLOSE";
    color: #fff;
  }

  .bar {
    display: block;
    position: absolute;
    top: 14px;
    right: 0;
    left: 0;
    width: 34px;
    height: 3px;
    margin: auto;
    background: #fff;
  }
  .bar:before,
  .bar:after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    width: 34px;
    height: 3px;
    margin: auto;
    background: #fff;
  }
  .bar:before {
    top: -8px;
  }
  .bar:after {
    top: 8px;
  }

  .open .bar {
    background: none;
  }
  .open .bar:before,
  .open .bar:after {
    top: 0;
    background: #fff;
  }
  .open .bar:before {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .open .bar:after {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }

  .screen {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
    opacity: 0;
    visibility: hidden;
    z-index: 999999;
  }
  .open .screen {
    opacity: .6;
    visibility: visible;
  }

}
/*-----------SP-------------*/
@media screen and (max-width: 750px) {

.sphead {
	background: rgba(255,255,255,.9);
	height: 56px;
	z-index: 100;
	position: fixed;
	width: 100%;
	margin-top: -56px;
}

	
	.splogo {
	width: 210px;
	margin-top: 30px;
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	z-index: 1000;
}

 .spbox-3 {
	position: absolute;
	width: 50px;
	margin-top: -0px;
	z-index: 1000000;
	right: 0px;
}
  .button {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 43px;
	height: 43px;
	border: 3px solid #FFC78E;
	z-index: 1000000;
	cursor: pointer;
	outline: none;
	-webkit-transition: .2s;
	transition: .2s;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
	background-color: #FE9724;
  }	
}	
