/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */


/* ==========================================================================
   BLOG+NEWS-page:article
   ========================================================================== */


/* ===================
    article-block
   =================== */

.article-block,
#news .article-block,
.aside-block {
	width:95%;
	margin:0 auto;
	text-align:left;
}
.aside-block {
	margin-bottom:50px;
}

article {
	border-top:#988475 1px solid;
	padding-top:30px;
	margin-bottom:80px;
	clear:both;
	overflow:auto;
}
article > h2.title {
	margin:0 0 30px; padding:0;
	text-align:left;
	font-size:26px;
	font-weight:normal;
}
#news article > h2.title {
	margin:0 0 50px;
}
article > h2.title a:link,
article > h2.title a:visited {
	color: #1d1a19; text-decoration:none;
}
article > h2.title a:hover {
	color: #988475;
}
article .sub_info {
	color:#988475;
	font-family: 'Raleway'; font-size:14px;
	font-weight: 400;
	margin:0 0 30px;
}
article .sub_info a:link,
article .sub_info a:visited {
	text-decoration:none;
}
article .sub_info .date {
	margin-right:1em;
}
article .inner_main {
	clear:both;
	overflow:auto;
}

/* ===================
    aside-block
   =================== */

aside {
	border-top:#988475 1px solid;
	padding-top:10px;
	clear:both;
	overflow:auto;
}
aside > h3 {
	text-align:left;
	font-family: 'Raleway'; font-size:18px;
	font-weight: 500;
	color: #988475;
}
aside ul {
	margin:30px 0 50px; padding:0;
}
aside ul li {
	margin:0 0 6px; padding:0 0 0 14px;
	background:url(../img/cmn/list_icon.png) no-repeat left 6px ;
	background-size:9px 9px;
}
aside ul li a:link,
aside ul li a:visited {
	color: #1d1a19; text-decoration:none;
}
aside ul li a:hover {
	color: #988475; text-decoration:underline;
}

#searchform {
	display: block;
	width: 198px; height:30px;
	margin:0; padding:0;
	border:1px solid #988475;
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	position: relative;  
}  
#searchform #searchform_field {
	margin:6px 20px 0 10px;
	border:none; outline: none;
	font-size:12px;
}  
#searchform #searchform_submit {  
    position: absolute;
	top: 0;
	right: 6px;
	background:url(../img/cmn/btn_search.png) no-repeat ;
	background-size:30px;
	text-indent:-999em;
	border:0;
	width:30px;
}  


/* ===================
    pagenation
   =================== */
   
#pagenation {
	clear:both;
	margin:0 auto 100px;
	width:100%; height:auto; overflow:auto;
	text-align:center;
} 
#pagenation .page-numbers {
	display:inline-block;
	margin:10px 10px;
} 
#pagenation .prev {
	float:left;
	margin:0 10px 0 0;
	width: 5em;
    display: block;
	background: url(../img/cmn/btn_arrow_lbr_prev.png) no-repeat 10% 48%;
    background-size: 12px;
    padding: 10px 20px;
    border: 1px solid #817063;
    color: #817063;
    text-align: center;
    text-decoration: none;
	-ms-transition: all .3s linear;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
} 
#pagenation .prev:hover {
	background:url(../img/cmn/btn_arrow_wt_prev.png) no-repeat 10% 48% #817063;
	background-size:12px;
	color:#FFF;
} 
#pagenation .next {
	float:right;
	margin:0 0 0 10px;
	width: 5em;
    display: block;
    padding: 10px 20px;
    background: url(../img/cmn/btn_arrow_lbr.png) no-repeat 90% 48%;
    background-size: 12px;
    border: 1px solid #817063;
    color: #817063;
    text-align: center;
    text-decoration: none;
	-ms-transition: all .3s linear;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}
#pagenation .next:hover {
	background:url(../img/cmn/btn_arrow_wt.png) no-repeat 90% 48% #817063;
	background-size:12px;
	color:#FFF;
}
#pagenation .btn_lbr_opc90.backtop {
  width: auto;
  display: inline-block;
  box-sizing: border-box;
  padding: 10px 20px 10px 40px;
	float:right;
	margin:0;
}

@media only screen and (max-width: 749px) {
	#searchform {
		width: 220px; height:36px;
	}  
	#searchform  #searchform_field {
		margin-top:2px;
		font-size:16px;
	}
	#searchform #searchform_submit {  
		position: absolute;
		top: 2px;
		right: 6px;
	}  
}  

@media only screen and (max-width: 819px) {
	#pagenation .page-numbers {
		display:none;
		width:0;
	} 
	#pagenation .next, #pagenation .prev  {
		display:block;
		width:5em;
	} 
}

@media only screen and (min-width: 820px) {	
	#news article > h2.title {
		float:left;
	}
	#news article .sub_info {
		float:right;
		padding:5px 0 0 20px;
	}
}
@media only screen and (max-width: 1023px) {
	aside h3 {
		cursor:pointer;
	}
	aside ul {
		display:none;
	}
	#searchform {
		margin-top:20px;
	}
}
@media only screen and (min-width: 1024px) {	
	.article-block {
		float:left;
		width:720px;
		margin:0 30px 0 5px;
	}
	.aside-block {
		float:right;
		width:200px;
		margin:0 5px 0 0;
		text-align:left;
	}
	#news .article-block {
		float:clear;
		margin:0 auto;
		width:950px;
	}
}


/* ==========================================================================
   Gallery-page
   ========================================================================== */

/* ===================
    gallery_top
   =================== */

#hair_category ul {
	margin:40px auto; padding:0;
	display: flex;
	justify-content: center;
}
#hair_category ul li {
	margin:0 auto; padding:0;
	float:left;
	list-style:none;
}
#hair_category a:link,
#hair_category a:visited {
	font-family: 'Raleway'; font-weight: 400;
	font-size:12px;
	text-decoration:none;
}
#hair_category .current-cat a:link,
#hair_category .current-cat a:visited {
	text-decoration:underline;
}
#hair_category a:hover,
#hair_category a:active {
	text-decoration:underline;
}
#gallery_list {
	margin:0 auto 50px;
	overflow:auto;
}
#gallery_list figure {
	float:left;
	width:230px; height:230px;
	overflow:hidden;
	margin:0 5px 10px;
	position:relative;
}
#gallery_list figure a {
	display:block;
	width:230px; height:230px;
	overflow:hidden;
}
#gallery_list figure img {
	width:230px;
	z-index:80;
	position:absolute; top:0; left:0;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
#gallery_list figure a:hover img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}
#gallery_list figcaption {
	width:100%; height:100%;
	position:absolute; top:0; left:0;
	background:rgba(152,132,117,0.8);
	text-align:center;
	z-index:81;
}
#gallery_list figcaption p {
	display:inline-block;
	padding:8px 18px 0 0;
	margin-top:100px;
	background:url(../img/cmn/btn_arrow_wt.png) no-repeat 100% 65%;
	background-size:12px;
	border-top:1px solid #FFF;
	color:#FFF;
	text-align:center; text-decoration:none;
}

@media only screen and (max-width: 480px) {
	#gallery h1.title {
		margin-top:100px;
	}  
	#gallery-block #viewer div {
		height:300px;
	}
}
@media only screen and (max-width: 749px) {
	#gallery_top .h1_topimg > h1.title {
		font-size:50px; top:50%;
	}
	#gallery_list {
		width:304px;
	}
	#gallery_list figure {
		width:142px; height:142px;
	}
	#gallery_list figure img {
		width:142px;
		display:inline;
	}
	#gallery_list figure a {
		width:142px; height:142px;
		display:inline;
	}
	#gallery_list figcaption p {
		margin-top:60px;
	}
}
@media only screen and (min-width: 750px) {	
	#gallery_list {
		width:720px;
		margin:0 auto 50px;
	}
	#hair_category ul li {
	margin:0 30px; 
}
	#hair_category a:link,
	#hair_category a:visited {
	font-size:18px;
	}
}
@media only screen and (max-width: 819px) {	
	#gallery_top .wrapper {
		width:95%; margin:0 auto;
	}
}
@media only screen and (min-width: 1024px) {
	#gallery_list {
		width:960px;
		margin:0 auto 50px;
	}
}

/* ===================
    gallery_detail
   =================== */
   
#gallery-block {
	margin:0 auto;
}
#gallery-block figure {
	position:relative;
	overflow:auto;
	margin:0 auto;
}
#gallery-block figcaption {
	z-index:101;
	text-align:left;
}
#gallery-block figcaption dt {
	color:#988475;
	font-family: 'Raleway'; font-weight: 400;
	border-top:1px solid #988475;
	padding-top:3px;
	width:6em;
}
#gallery-block figcaption dd {
	margin:12px 0 40px; padding:0;
}
#gallery-block #viewer div {
	width:100%; min-height:500px;
	overflow:hidden; position:relative;
}
#gallery-block #viewer div img {
	z-index:80;
    position: absolute; top:0; right:0;
}
#gallery-block #viewer ul {
	z-index:100;
    display: inline-block;
	margin:10px 0 0; padding:0;
}
#gallery-block #viewer ul li {
    width:100px; height:100px;
	overflow:hidden;
    float: left;
	list-style:none;
	margin:0 10px 10px 0; padding:0;
}
#gallery-block #viewer ul li img {
    width:100px; height:auto;
}

@media only screen and (max-width: 320px) {
	#gallery-block #viewer div {
		min-height:300px;
	}
	#gallery-block #viewer ul li {
		width:86px; height:86px;
	}
	#gallery-block #viewer ul li img {
		width:86px;
	}
}
@media only screen and (max-width: 749px) {
	#gallery h1.title {
		font-size:50px;
	}
	#gallery-block #viewer div img {
		width:100%;
		position: absolute; top:0; right:0; left:0;
		margin:0 auto;
	}
}
@media only screen and (min-width: 750px) {	
	#gallery-block figure {
		width:100%;
	}
	#gallery-block figcaption {
		margin-top:40px;
	}
	#gallery-block figcaption dt {
		float:left; margin:0 0 30px;
	}
	#gallery-block figcaption dd {
		float:left;
		margin:0 0 30px; padding:2px 0 0 40px;
	}
	#gallery-block figcaption dt:nth-child(2n+1) {
		clear:left;
	}
	#gallery-block #viewer div {
		width:100%; min-height:700px;
		overflow:hidden; position:relative;
	}
	#gallery-block #viewer div img {
		position: absolute; top:0; right:0;
	}
	#gallery-block #viewer ul {
		width:110px;
		position: absolute; top:0; left:0;
		margin:0; 
	}
}
@media only screen and (min-width: 1024px) {
	#gallery-block {
		width:960px;
	}
	#gallery-block figure {
		height:700px;
		margin-bottom:60px;
		overflow:hidden;
	}
	#gallery-block figcaption {
		position:absolute; top:260px; left:0;
	}
	#gallery-block figcaption dt {
		float:none; margin:0;
	}
	#gallery-block figcaption dd {
		float:none; margin:12px 0 40px; padding:0;
	}
	#gallery-block #viewer ul {
		width:330px;
	}
}
