/*ヘッダー-----------------------------------------------------------------------------*/
header {
}

/*.headerBlock {
    width: 100%;
    display: block;
    margin-right: auto;
    margin-left: auto;
    position: fixed;
    background-color: #FFFFFF;
    z-index: 800000;
    height: 125px!important;
}*/

.headerBlock {
	width: 100%;
	display: block;
	margin-right: auto;
	margin-left: auto;
	height: 100px!important;
	position: fixed;
	background-image: url(../images/header/header_bg_tenma@2x.png);
	background-color: #FFFFFF;
	background-repeat: repeat-x;
	background-position: 0% bottom;
	background-size: 418px auto;
	z-index: 1000;
}

.h1_title a {
	width: 37rem;
	display: inline-block;
	float: left;
	background-image: url(../images/header/1x/head-logo-tenma.png);
	height: 65px;
	background-repeat: no-repeat;
	margin-top: 29px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background-size: 100% auto;
}

.headerInnerBlock {
    width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

.top01{
    top: 0px;
}


.sp_device .h1_title a {
	width: 26rem;
	height: 55px;
	background-repeat: no-repeat;
	margin-top: 17px;
	margin-left: 16px;
}

.sp_device .headerBlock {
    height: 72px!important;
    background-size: 0px auto;
    min-width: 0px;
}

#menu {
  /*display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  margin: 0 30px;*/
}

#menu-btn {
  display: none;
}

#menu-content {
	list-style-type: none;
	display: inline-block;
	float: right;
	margin-top: 40px;
}

#menu-content > li {
    position: relative;
    float: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    display: inline-block;
}

#menu-content > li > a {
    display: block;
    padding: 0 15px;
    line-height: 40px;
    color: #FFFFFF;
    font-size: 15px;
    text-decoration: none;
}

#menu-content > li > a:hover {
    color: #F8C300;
	transition: all 0.5s;
}

#menu-content > li > a > .blogicon-chevron-down {
  margin-right: 5px;
}

#menu-content > li > ul.second-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding-left: 0;
    list-style-type: none;
    display: inline-block;
    margin-right: auto;
    margin-left: auto;
    background-color: #FFFFFF;
    border: thin solid #CFCFCF;
    min-width: 100%;
    white-space: nowrap;
}

#menu-content > li:hover > ul.second-content {
  visibility: visible;
  opacity: 1;
  
}

#menu-content > li > ul.second-content > li {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

#menu-content > li > ul.second-content > li > a {
    display: block;
    line-height: 2rem;
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#menu-content > li > ul.second-content > li > a:hover {
    background: #eee;
    color: #000;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

 .sp_device #menu-content > li > ul.second-content {
    border: none;   
}

 .sp_device #menu-content > li > ul.second-content > li > a {
    
    padding-top: 15px;
    padding-bottom: 0px;
}


 .sp_device  nav {
    position: fixed;
    top: 0;
    left: -80%;
    bottom: 0;
    width: 80%;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 3;
    opacity: 0;
  }
 .sp_device  .open nav {
    left: 0;
    opacity: 1;
  }
 .sp_device  nav .inner {
    padding: 25px;
  }
 .sp_device  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
 .sp_device  nav .inner ul li {
    position: relative;
    margin: 0;
  }
 .sp_device  nav .inner ul li a {
    display: block;
    
    text-decoration: none;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    padding-top: 5px;
    padding-bottom: 5px;
    border-style: none;
  }
 .sp_device  .toggle_btn {
    display: block;
    position: fixed;
    top: 22px;
    right: 30px;
    width: 30px;
    height: 30px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 3;
  }
 .sp_device  .toggle_btn span {
    position: absolute;
    left: 0;
    width: 30px;
    height: 1.45px;
    background-color: #fff;
    border-radius: 4px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
 .sp_device  .toggle_btn span:nth-child(1) {
    top: 4px;
  }
 .sp_device  .toggle_btn span:nth-child(2) {
    top: 14px;
  }
 .sp_device  .toggle_btn span:nth-child(3) {
    bottom: 4px;
  }
 .sp_device  .open .toggle_btn span {
    background-color: #fff;
  }
.sp_device   .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-45deg);
  }
.sp_device   .open .toggle_btn span:nth-child(2) {
    opacity: 0;
  }
.sp_device   .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(45deg);
  }
.sp_device   #mask {
    display: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
 .sp_device  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    z-index: 2;
    cursor: pointer;
  }
.sp_device   #menu-content > li {
    width: 100%;
    margin-bottom: 20px;
  }
.sp_device   #menu-content > li:hover {
    background: none;
  }
 .sp_device  #menu-content > li > a {
    height: 100%;
    padding-top: 10px;
    padding-right: 0px;
    padding-left: 0px;
    padding-bottom: 5px;
    font-size: 100%;
    border-bottom: 1px solid #000;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: bold;
    color: #333;
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
 .sp_device  #menu-content > li > ul.second-content {
    visibility: visible;
    opacity: 1;
    width: 100%;
    position: relative;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
 .sp_device  #menu-content > li > ul.second-content > li {
    width: 100%;
    text-align-last: left;
  }
 .sp_device  #menu-content > li > ul.second-content > li > a {
    padding-left: 15px;
  }
 .sp_device  #menu-content > li > ul.second-content > li > a:hover {
    background: none;
  }
