
/*******************************************************
RESET
*******************************************************/
.note {
	font-size: 0.85em;
	line-height: 1.3em;
	letter-spacing: 0px;
	padding: 0px 0px 5px 0px;
	color:#7b7b7b;
}

/*******************************************************
ページヘッダー
*****************************************************/
div#pageHeader {
	height: 75px;
}
section.maincontents{
	width:950px;
	margin:auto;
}

#pagecontent{
	text-align:left;
	width:950px;
	margin:0px auto;
	padding-bottom:10px;
}

@media screen and (max-width: 640px){
	.ykkap-tpl-pagetitle {
		height: 60px;
	}
	#pagecontent{
		width:auto;
	}
}
#pagetitle{
	clear:both;
	width:950px;
	margin:0px auto;
}
#pagetitle h1{
	width:735px;
	float:left;
	padding-bottom:20px;
}
#pagetitle p{
	float:right;
	margin-top:1px;
}
ul#topicPath li {
	float: left;
	font-size: 77%;
}


/*******************************************************
ページナビゲーション
*******************************************************/
.index-nav{
	margin-bottom:20px;
}
	
.index-nav li{
	float:left;
	width:310px;
	margin-right:10px;
	}
.index-nav li.end{
	margin-right:0px;
}


/*******************************************************
ページコンテンツ
*******************************************************/

.box_center{
	margin:auto;
}

#ykkap-tpl-contents .w640{
	width:640px;
}

@media screen and (max-width: 640px){
	#ykkap-tpl-contents .w640{
		width: auto;
	}

	#ykkap-tpl-contents .ykkap-tpl-contents-products-block .block .column2 .column .image img,
	#ykkap-tpl-contents .ykkap-tpl-contents-products-block .block .column3 .column .image img {
		width: 100%;
		height:auto ;
	}
}

/* カスタマイズ ************************************************************** */

#ykkap-tpl-contents .ykkap-tpl-contents-products-block .block .dot-border{
	border-bottom: 1px dotted #bbb;
}
@media screen and (max-width: 640px){
	#ykkap-tpl-contents .ykkap-tpl-contents-products-block .block .sp-dot-border{
		border-bottom: 1px dotted #bbb;
	}
}

.type{
	text-align: center;
}


/*******************************************************
block
*******************************************************/

.btns{
	margin:15px 0px;
}


/*******************************************************
local_nav
*******************************************************/
#ykkap-tpl-contents #local-nav .scroll-fix {
  position: absolute;
  top: 0;
  z-index: 1000;
}
.pc-view #ykkap-tpl-contents #local-nav li ul {
  display: none;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li > a.active + ul {
  display: block;
}
.pc-view #ykkap-tpl-contents #local-nav.fixed .scroll-fix {
  position: fixed;
  top: 0;
}
.pc-view #ykkap-tpl-contents #local-nav {
  height: 100px;
  position: relative;
}
.pc-view #ykkap-tpl-contents #local-nav .scroll-fix {
  width: 950px;
  padding: 10px 0;
  background: url('../img/navi_bg01.png') repeat-y 0 -1px;
  right: auto !important;
}
.pc-view #ykkap-tpl-contents #local-nav ul {
  font-size: 0;
}
#ykkap-tpl-contents #local-nav li {
  display: inline-block;
}
#ykkap-tpl-contents #local-nav .window {
  background: none;
  padding: 0;
}
.pc-view #ykkap-tpl-contents #local-nav li ul {
  width: 100%;
  height: 26px;
  position: absolute;
  left: 0;
  top: 66px;
  text-align: center;
  padding: 12px 0 0;
  background: url('../img/navi_bg01.png') no-repeat;
}
.pc-view #ykkap-tpl-contents #local-nav li li {
  padding: 0 10px;
}
.pc-view #ykkap-tpl-contents #local-nav li li a {
  font-size: 13px;
  background: url(/shared_file/img/link_cursor_03_pc.png) 0 5px no-repeat;
  padding-left: 10px;
}
.pc-view #ykkap-tpl-contents #local-nav li li a.active {
  background: url(/shared/images/com_arrow_link_small.gif) 0 6px no-repeat;
  color: #333;
  font-weight: bold;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li > a {
  display: block;
  height: 0;
  padding-top: 46px;
  position: relative;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child > a {
	width:239px ;
	background: url(../img/navi.png) 0 0 no-repeat ;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li > a {
	width:238px ;
	background: url(../img/navi.png) -239px 0 no-repeat ;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li + li > a {
	width:236px ;
	background: url(../img/navi.png) -477px 0 no-repeat ;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li + li + li > a {
	width:237px ;
	background: url(../img/navi.png) -713px 0 no-repeat ;
}

.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child > a.active,
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child > a:hover {
  background-position: 0 -46px ;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li > a.active,
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li > a:hover {
  background-position: -239px -46px ;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li + li > a.active,
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li + li > a:hover {
  background-position: -477px -46px ;
}
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li + li + li > a.active,
.pc-view #ykkap-tpl-contents #local-nav .top-dir > li:first-child + li + li + li > a:hover {
  background-position: -713px -46px ;
}

.pc-view #ykkap-tpl-contents #local-nav .top-dir > li > a.active:after {
  content: url('../img/navi_arrow.png');
  position: absolute;
  left: 50%;
  bottom: -8px;
  margin-left: -5px;
  z-index: 3;
}




/* ===================================================================================
for SP max-width: 640px
=================================================================================== */
@media screen and (max-width: 640px) {

  html.local-nav-active, .local-nav-active body {
    overflow: hidden;
  }

  .ykkap-tpl-pagetitle {
    height: 60px;
  }
  #ykkap-tpl-contents #local-nav {
    margin-top: -62px;
    height: 60px;
  }

  #ykkap-tpl-contents #local-nav .scroll-fix {
    position: fixed;
    width: 255px;
    height: 100%;
    top: 0;
    right: -255px;
    padding-left: 1px;
    overflow-y: scroll;
  }

  #ykkap-tpl-contents #local-nav .top-dir {
    width: 255px;
    margin: 10px 0;
    border-left: 1px #0085BA solid;
    border-top: 1px #0085BA solid;
    border-bottom: 1px #0085BA solid;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
  }

  #local-nav-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 10px 0;
    cursor: pointer;
    z-index: 10000;
  }

  #local-nav.fixed #local-nav-btn {
    position: fixed;
  }

  #ykkap-tpl-contents #local-nav .top-dir li {
    background: #fff;
    border-top: 1px #0085BA solid;
    display: block;
    box-sizing: border-box;
  }
  #ykkap-tpl-contents #local-nav .top-dir li li,
  #ykkap-tpl-contents #local-nav .top-dir li:first-child {
    border: none;
  }
  #ykkap-tpl-contents #local-nav .top-dir li a {
    width: 255px;
    height: 51px;
    display: table-cell;
    vertical-align: middle;
    padding-left: 30px;
    background: url(../img/link_cursor_03_sp.png) 15px center no-repeat;
    background-size: 5px 9px;
  }
  #ykkap-tpl-contents #local-nav .top-dir li a.has-child {
		pointer-events: none;
		background: transparent none repeat scroll 0% 0%;
	}
  #ykkap-tpl-contents #local-nav .top-dir > li > a.active {
    background-image: none;
    background-color: #0085ba;
    color: #fff;
  }
  #ykkap-tpl-contents #local-nav .top-dir > li li > a.active {
    color: #333;
    font-weight: bold;
  }
  #ykkap-tpl-contents #local-nav .top-dir li ul {
    padding: 16px;
  }
  #ykkap-tpl-contents #local-nav .top-dir li li a {
    height: 36px;
  }
  #ykkap-tpl-contents #local-nav li {
    display: block;
  }

  #local-nav-btn span {
    display: block;
    border: 2px #0085BA solid;
    border-radius: 3px;
    background: #fff 18px center no-repeat;
    background-size: 5px 9px;
    box-shadow: 2px 3px 2px rgba(0,0,0,0.3);
    width: 90px;
    height: 26px;
    margin: 0;
    padding: 9px 0 1px 15px;
    font-size: 14px;
    line-height: 0.1;
    color: #0085BA;
    box-sizing: border-box;
  }

  .local-nav-active #local-nav-btn span {
    border: 2px #666 solid;
    background: #666 63px center no-repeat;
    background-size: 5px 9px;
    box-shadow: none;
    padding: 9px 0 1px 18px;
    color: #fff;
  }
  #mask {
    height: 300%;
    width: 300%;
    position: fixed;
    top: -100%; left: 0;
    background-color: #000;
    opacity: 0;
    display: none;
	z-index:10; /* add */
  }
	body #ykkap-tpl-contents .mr15 {
		margin-right:0!important;
	}
}
