@charset "UTF-8";

.inner {
    max-width: 1260px;
    margin: 0 auto;
  padding: 0 20px;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 20px 0 ;
    line-height: 1;
    z-index: 999;
    background: rgba(255,255,255,1.0);
	box-shadow: 0 0 10px rgba(0,0,0,.05);
}
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding: 10px 0 ;
    transition: top 0.45s ease-in;
    -webkit-transition: top 0.45s ease-in;
    -moz-transition: top 0.45s ease-in;
}

#top-head a,
#top-head {
    text-decoration: none;
}
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
	line-height: 0;
}
#top-head.fixed .logo img {
width: 100px;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 6px;
    font-size: 16px;
	font-weight: bold;
}
#global-nav ul li {
    float: left;
	padding:0 30px;
}
@media screen and (max-width: 55em) {
#global-nav ul li {
    float: left;
	padding:0 15px;
}
}
#global-nav ul li a {
    color: #079453;
    padding-bottom:3px;
}
#top-head.fixed #global-nav ul li a {
    padding: auto 20px;
}

/*==================================================
　current
===================================*/
#global-nav ul li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}
#global-nav ul li a.current,
#global-nav ul li a:hover{
	color:#5db92a;
}
#global-nav ul li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 2px;
    background:#5db92a;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

/*現在地とhoverの設定*/
#global-nav ul li a.current::after,
#global-nav ul li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}




/* 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: 49em) {
    #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: transparent;
    }
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 10px;
		}
	#top-head.fixed .logo img,
	#top-head .logo img {
width: 80px;
}
    #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;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #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;
    }
	
	
	
/* モバイルcurrent削除  */
#global-nav ul li a::after {
    background: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);
    }
}


/* ftr-pagetop
-------------------------------------------------------------*/
#ftr-pagetop {
  margin-right: -688px;
  visibility: hidden;
  position: fixed;
  right: 50%;
  bottom: 80px;
  z-index: 999;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}
html:not(.ie8) #ftr-pagetop {
  opacity: 0;
}
#ftr-pagetop.show {
  visibility: visible;
}
html:not(.ie8) #ftr-pagetop.show {
  opacity: 1;
}
#ftr-pagetop.bottom {
/*  position: absolute;*/
  bottom: 50px;
}

@media only screen and (max-width:1528px) {
  #ftr-pagetop {
    margin-right: 55px;
    right:15px;
  }
}
@media only screen and (max-width:767px) {
  #ftr-pagetop.bottom {
  bottom:50px;
  }
}
@media print {
  #ftr-pagetop {
    display: none !important;
  }
}
/*icon*/
#ftr-pagetop span.overOpc {
  display: none;
}
#ftr-pagetop a, #ftr-pagetop a::after {
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}
#ftr-pagetop a { /*四角*/
box-sizing: border-box;
  width: 50px;
  height: 50px;
  -webkit-border-radius: 50%;
  border-radius: 10%;
  background: #fff;
  border: solid 1px #079453;
}
#ftr-pagetop span.arrow::after,
#ftr-pagetop span.arrow::before{ /*矢印*/
  background-color: #079453;
  content: "";
  display: block;
  width: 1px;
  position: absolute;
  z-index: 10;
}
#ftr-pagetop span.arrow::before {
  top: 15px;
  height: 15px;
}
#ftr-pagetop span.arrow::after {
  height: 30px;
}
#ftr-pagetop span.arrow::before {
  left: 16px;
}
#ftr-pagetop span.arrow::after {
  left: 24px;
  top:10px;
}
#ftr-pagetop span.arrow::after {
  bottom: calc(50% - 3px);
  transform: translateX(-50%);
}

#ftr-pagetop span.arrow::before {
  transform: rotate(30deg) translateY(-50%);
}
