@media only screen and (max-width: 640px){
#rim-tpl-header {
    position: relative;
    z-index: 99;
}
}

#main .main-inner{
	padding-top:40px;
	
}
@media screen and (max-width: 640px){
	#main{
		padding:0;
	}
	
}
body{
	background: #fff;
}
#rim-tpl-footer{
	background: #333;
}
.forSP{
	display: none;
}
@media screen and (max-width: 640px) {
	.forPC{
		display: none;
	}
	.forSP{
		display: block;
	}	
}
.marB0{
	margin-bottom: 0 !important;
}
.align-c{
	text-align: center;
}
#contents {
	background: #fff;
	position: relative;
}

/*#contents .header-area{
	font-family: 'Roboto regular';
}*/
/*.title-lv2{
	font-family: 'Roboto regular' !important;
}*/

#contents .inner-wrap{
	max-width:980px;
	margin:0 auto;
	/*box-sizing: border-box;
	padding-left:168px;*/
}
@media screen and (max-width: 640px){
	#contents .inner-wrap{
		width:94%;
		margin-left:15px;
		margin-right: 15px;
	}
}
#main{
	padding-bottom: 50px;
}
#rim-tpl-header #rim-tpl-langauge .rim-tpl-first{
	z-index: 99px;
}
/*header*/
.header-area{
	background: #000;
	height:40px;
	line-height: 40px;
	/*overflow: hidden;*/

	position: absolute;
	width: 100%;
	left:0;
	top:0;
}
/*header*/
.header-area{
	background: #000;
	height:40px;
	line-height: 40px;
	/*overflow: hidden;*/
	/*position: relative;*/

	/*position: absolute;
	width: 100%;
	left:0;
	top:0;*/
}

.header-area .inner-wrap{
	position: relative;
	/*overflow: hidden;*/
}
.header-area .logo{
	float: left;
	height:28px;
	border-right:2px solid #fff;
	margin-top:6px;
	padding-right:35px;
	width: 90px;
	color:#fff;
	font-weight: bold;
	font-size: 16px;
	line-height: 28px;
	width: 10%;
  padding-right: 4%;
}
}
.header-area .logo img{
	vertical-align: top;
	padding:8px 0;
}
@media screen and (max-width: 640px){
	.header-area .logo{
		width: 90px;
		padding-right:35px;
		border:none;
	}
}
.header-area  .pentax17-extra{
	width:800px;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	padding-left: 30px;
	height: 40px;
	width: 84%;
	  padding-left: 4%;
	}
.header-area  .pentax17-extra .pentax17-extra-inner{
	font-size: 14px;
	transition: all 0.6s;
	position: relative;
	left: 0;
}
.header-area  .pentax17-extra .pentax17-extra-inner.change{
	left: -45%;
}

.header-area ul.nav-list-wrap{
	width:100vw;
}
.header-area ul.nav-list-wrap li{
	margin-right:35px;
	float: left;
}
.header-area ul.nav-list-wrap li a{
	color:#aaa;
	font-weight: bold;
	float: left;
	text-decoration: none;
}
.header-area ul.nav-list-wrap li a:hover{
	color:#fff;
}
.header-area ul.nav-list-wrap li.active a{
	color:#fff;
}
.header-area ul.nav-list-wrap li .nav-list-child{
	margin-left: 6vw;
	display: none;
}
.header-area ul.nav-list-wrap li a .new{
	color:#dd0000;
}
@media screen and (max-width: 640px){
	.header-area .pentax17-extra{
		display: none;
		width:100%;
		height:100%;
		background: rgba(0,0,0,0.9);
		position: fixed;
		left:0;
		top:0;
		z-index: 99999;
		margin:0;

	}
	.header-area ul.nav-list-wrap{
		width:64vw;
		margin:auto;
	}
	.header-area ul.nav-list-wrap>li{
		float: none;
		font-size: 5.0666666667vw;
		margin: 0.5em auto 0;
		position: relative;
	}
	 .header-area ul.nav-list-wrap>li.parent>a::before, .header-area ul.nav-list-wrap>li.parent>a::after {
      content: '';
      position: absolute;
      right: 0;
      width: 1em;
      height: 1px;
      background: #FFF;
      top: 1.4em; }
      .header-area ul.nav-list-wrap>li.parent.open>a::after{
      	display: none;
      }
      .header-area ul.nav-list-wrap>li.parent>a{
      	pointer-events:none
      }
    .header-area ul.nav-list-wrap>li.parent>a::after {
      transform: rotate(90deg); }
    /*.header-area ul.nav-list-wrap>li.parent>a.current::before, .header-area ul.nav-list-wrap>li.parent>a.current::after {
      background: #148ab0; } 
        .header-area ul.nav-list-wrap>li > a.current {
          color: #148ab0 !important; }*/
	.header-area ul.nav-list-wrap>li:first-child{
		margin-top:4em;
	}
	.header-area ul.nav-list-wrap>li a{
		float: none;
		display: block;
		padding: 0.5em;
		font-size: 5.0666666667vw;
		color:#fff;
		
	}
	/*.header-area ul.nav-list-wrap>li .nav-list-child{
		display: block;
	}*/
	.header-area ul.nav-list-wrap>li .nav-list-child li:first-child{
		/*margin-top:1em;*/
	}
	.header-area ul.nav-list-wrap>li .nav-list-child li{
		font-size: 0.9em !important;
		float: none;
	}
	.header-area ul.nav-list-wrap>li .nav-list-child li a{
		float: none;
		font-size: 0.9em !important;
		padding: 0.5em 0 0.5em 0;
	}
}


.header-area .arrow-nav .arrow{

    position: absolute;
    top:5px;
    color: #fff;
    height: 30px;
    width:28px;
    line-height: 30px;
    text-align: center;
    background: rgba(50,50,50,0.9);
    cursor: pointer;
    border:none;
  }
  .header-area .arrow-nav .arrow.prev{
    left:0px;
    display: none;
    
  }
  .header-area .arrow-nav .arrow.next{
    right:0;
    
  }

.header-area .store-stn a{
	display: inline-block;
  color: #fff;
  width: 110px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 11px;
  color: #fff !important;
  background: url(/japan/products/common/img/btn-product-footer3.png) no-repeat;
  text-decoration: none;
  margin-top:5px;
}
@media screen and (max-width: 640px){
	.header-area .store-stn{
		position: absolute;
		float: none;
		right:50px;
		top:0px;
	}


	.header-area .menu-btn{
		position: absolute;
		right:5px;
		top:0;
		width:10.3333333333vw;
		height:40px;
		background: url("/japan/products/pentax17/common/img/icon-menu.png") no-repeat;
		background: transparent;
		border:none;
		
	}
	.header-area .menu-btn.close{
		z-index: 999999;
		position: fixed;
		right:0;
		top:0;

	}
	
	.header-area .menu-btn>span,.header-area .menu-btn::before,.header-area .menu-btn::after{content:'';display:block;overflow:hidden;font-size:0;position:absolute;width:5.8666666667vw;left:calc(50% - 2.9333333333vw);top:50%;height:.2666666667vw;background:#FFF}
	.header-area .menu-btn::before{transform:translateY(-700%)}
	.header-area .menu-btn::after{transform:translateY(700%)}
	.header-area .menu-btn.close>span{opacity:0}
	.header-area .menu-btn.close::before{transform:rotate(45deg)}
	.header-area .menu-btn.close::after{transform:rotate(-45deg)}
}



.fixed-header .header-area{
	position: fixed;
	left:0;
	top:0;
	z-index: 10;
	width:100%;
}

.pentax17-top .header-area ul.nav-list-wrap li.btn01 a,
.pentax17-feature .header-area ul.nav-list-wrap li.btn02 a,
.pentax17-howto .header-area ul.nav-list-wrap li.btn03 a,
.pentax17-spec .header-area ul.nav-list-wrap li.btn04 a,
.pentax17-accessories .header-area ul.nav-list-wrap li.btn05 a,
.pentax17-gallery .header-area ul.nav-list-wrap li.btn06 a,
.pentax17-filmproject .header-area ul.nav-list-wrap li.btn07 a{
	color:#fff;
}

.header-area ul.socialbutton{
	position: absolute;
	right: 0px;
	top: 50px;
	width: 170px;
}
.header-area ul.socialbutton li{
	float: left;
	width:95px;
	line-height: 0;
}
.header-area ul.socialbutton li.tw{
		width:75px;
	}
@media screen and (max-width: 640px){
	.header-area ul.socialbutton{
		right:0;
		width:170px;
	}
	.header-area ul.socialbutton li.tw{
		width:75px;
	}
}