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


/* #inner
================================================== */
.inner {
	width: 1000px;
	margin: 0 auto;
	background: #fff;
}
.inner:after {
	content: "";
	clear: both;
	display: block;
}


/* #header
================================================== */
#stickyHeader {
  border-top: 3px #d1e9f5 solid;
	background: #fff;
  line-height: 1;
  margin: 150px auto 0;
    margin: 0 auto 0\9;
  position: absolute;
    position: relative\9;
	top: -235px;
    top: -300px\9;
	width: 100%;
	z-index: 999;
}

@media all and (-ms-high-contrast:none){
#stickyHeader {
  margin: 0 auto 0;
  position: relative;
  top: 0px;
}
}



#stickyHeader .inner {
	position: relative;
}
#stickyHeader .logo {
	float: left;
}

/* #Header
================================================== */
.logo {
  float: left;
  padding: 10px 0;
}
.logo a:hover {
  opacity:1.0;
  filter:alpha(opacity=0);
  -ms-filter: "alpha( opacity=0 )";
}


/* #nav
================================================== */
#stickyHeader nav {
  float: right;
  margin-top: 20px;
  width: 82%;
}
#stickyHeader nav ul li {
  display: inline;
  float: left;
  margin: 2px 2px 0 0;
  position: relative;
  text-align: center;
  width: 14%;
}

  
#stickyHeader nav a {
  display: block;
  padding: 10px 10px;
  text-align: center;
}



/* #fixed
================================================== */
#stickyHeader.fixed {
  border-top: 3px #d1e9f5 solid;
	margin-top: 0;
	position: fixed;
	padding: 0 0 3px 0;
	top: 0;
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}

#stickyHeader.fixed nav ul li {
  width: 14%;
}

#stickyHeader.fixed .invisible {
  display: none;
}


#stickyHeader.fixed nav {
  margin-top: 20px;
  width: 82%;
}
#stickyHeader.fixed nav ul li.visible {
  display: block;
}

/*--
#stickyHeader.fixed nav ul li.visible_b {
  display: none;
}
--*/

  #stickyHeader.fixed nav ul li.visible {
    border-right: #d8d3cd dotted 1px;
    margin-right: 0;
  }

#stickyHeader.fixed .logo img {
  height: 50px;
  
}

#stickyHeader.fixed .logo_sp img {
  height: 60px;
  
}


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
#sticky-header-sp .logo { display: block !important; }
#sticky-header-sp .logo_sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
#sticky-header-sp .logo { display: none !important; }
#sticky-header-sp .logo_sp { display: block !important; }
}


/* #toggle
================================================== */
#toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#toggle div {
	position: relative;
}
#toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #366f9c;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#toggle span:nth-child(1) {
	top: 0;
}
#toggle span:nth-child(2) {
	top: 11px;
}
#toggle span:nth-child(3) {
	top: 22px;
}

@media screen and (max-width: 1023px) {
.inner {
  width: 98%;
}

#stickyHeader.fixed nav {
  margin-top: 5px;
  width: 100%;
}
}



/*---------------------------
max-width: 750px
----------------------------*/

@media screen and (max-width: 750px) {
main {
  margin-top: 75px;
}
  
#stickyHeader .invisible {
display: none;
}

#stickyHeader {
  background: url(../images/bg_footer.png) repeat;
  border: none;
	top: 0;
  position: fixed;
  margin-top: 0;
}

#stickyHeader,
.inner {
  width: 100%;
  padding: 0;
}
/* Fixed reset */
#stickyHeader.fixed {
  padding-top: 0;
  background: transparent;
}





#sticky-header-sp {
  width: 100%;
  height: 72px;
  z-index: 999;
  position: relative;
}

	.logo {
		padding: 5px 0;
	}

#stickyHeader.fixed .logo,
#stickyHeader .logo {
  position: absolute;
  left: 5px;
}
	
#stickyHeader .logo_sp {
  position: absolute;
  left: 10px;
  top: 5px;
}
#stickyHeader .logo img {
  height: 60px;
}
	
	#stickyHeader .logo_sp img {
  height: 60px;
}


/* #nav
================================================== */
#stickyHeader nav {
  width: 100%;
  margin-top: 16px;
}
#sticky-header-nav {
  position: absolute;
  /* 開いてないときは画面外に配置 */
  top: -500px;
  background: #366f9c;
  width: 100%;
  text-align: center;
  padding: 5px 0;
  margin-top: 0;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}
#stickyHeader nav ul {
  list-style: none;
  position: static;
  right: 0;
  bottom: 0;
}
#stickyHeader nav ul li {
  border: none;
  float: none;
  position: static;
}
#stickyHeader nav ul li:after  {
  display: none;
}
#stickyHeader nav ul li.visible {
  display: block;
}
  #stickyHeader nav ul li.visible {
    border-right: none;
    margin-right: 0;
    width: 100%;
  }


#stickyHeader #sticky-header-nav ul li a,
#stickyHeader.fixed #sticky-header-nav ul li a {
  width: 100%;
  display: block;
  color: #fff;
  padding: 10px 0;
}


/* #fixed
================================================== */
#stickyHeader.fixed {
  background: url(../images/bg_footer.png) repeat;
  border: none;
	top: 0;
  position: fixed;
  margin-top: 0;
	padding: 0;
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
}

#stickyHeader.fixed nav {
  margin-top: 39px;
}
#stickyHeader.fixed nav ul li.visible {
  display: block;
}
  #stickyHeader.fixed nav ul li.visible {
    border-right: none;
    margin-right: 0;
    width: 100%;
  }

#stickyHeader.fixed .logo img {
  height: 60px
}


	
	

/* #toggle
================================================== */
#toggle {
	display: block;
	top: 14px;
	width: 40px;
	height: 40px;
  top: 20px;
}

#toggle span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #366f9c;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#toggle span:nth-child(1) {
	top: 0;
}
#toggle span:nth-child(2) {
	top: 14px;
}
#toggle span:nth-child(3) {
	top: 28px;
}



/* #toggle 切り替えアニメーション */
.open #toggle span:nth-child(1) {
  top: 11px;
  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  transform: rotate(315deg);
}
.open #toggle span:nth-child(2) {
  width: 0;
  left: 50%;
}
.open #toggle span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-315deg);
  -moz-transform: rotate(-315deg);
  transform: rotate(-315deg);
}
/* #sticky-header-nav スライドアニメーション */
.open #sticky-header-nav {
  /* #sticky-header-nav top + #sticky-header-sp height */
  -moz-transform: translateY(556px);
  -webkit-transform: translateY(556px);
  transform: translateY(556px);
}


}
