@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

#portfolio {
	font-size: 16px;
	background: #f4f4f4;
	margin-top: 33px;
	overflow: hidden;
}
#portfolio figure {
    margin: 0;
}
#portfolio figure img {
	width: 100%;
	height: auto;
}
#portfolio .breadcrumb {
    display: block;
	background: #fff;
	margin: 0 calc(50% - 50vw);
	width: 100vw;
    max-width: 100vw;
}
#portfolio .breadcrumb > ul {
    margin: 0 auto;
    width: 100%;
    max-width: 1140px;
}





/*** COMMON **************/
#portfolio .portfolio_wrapper {
    display: block;
}
#portfolio .portfolio_wrapper > section {
    padding: 50px 0 0;
}
#portfolio .wks_intro_flex {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	background: #fff;
	-webkit-align-items: center;
	-moz-align-items: center;
	align-items: center;
	gap: 0 34px;
}
#portfolio .cover {
	width: 100%;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
}
#portfolio .wks_shots {
	flex: 0 0 62.5%;
}
#portfolio .wks_info_txt {
	flex: 0 0 37.5%;
}
#portfolio .wks_shots .cover {
	display: block;
	height: 480px;
}
#portfolio .wks_info_txt > table {
	width: calc(100% - 34px);
	margin: auto 0;
}
#portfolio .wks_info_txt > table th,
#portfolio .wks_info_txt > table td {
    border-bottom: 1px solid #e5e5e5;
	padding: 1em;
	text-align: left;
}
#portfolio .wks_info_txt > table th {
	white-space: nowrap;
	color: #777;
    font-size: 14px;
}
#portfolio .wks_info_txt > table td {
	background: #fff;
    border-width: 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
}









/*** ARCHIVE **************/
.works_pagettl_wrapper {
    height: 300px;
    min-height: 200px;
	margin-bottom: 5px;
    position: relative;
    z-index: 0;
}
.works_pagettl_wrapper::before {
    content: "";
    display: block;
    width: 16.48%;
    height: 365px;
	transform: skewX(-22.8deg);
    background: #aa8c5a;
	position: absolute;
    top: 0;
    right: 10.24%;
	z-index: -1;
}
.wks_ttl_wrapper__img {
    width: 96.8%;
    height: 100%;
    background: url("../img/portfolio/page_title.png") no-repeat center;
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
}
.wks_ttl_wrapper__main {
    width: 40%;
    text-align: center;
    min-width: 280px;
    max-width: 550px;
    padding: 2em 1.75em;
    background: rgba(170,140,90,0.928);
    position: absolute;
    left: 0;
    bottom: -30px;
}
.wks_ttl_wrapper__main span,
.wks_ttl_wrapper__main small {
	display: block;
	color: #fff;
	line-height: 1.4;
}
.wks_ttl_wrapper__main span {
    font-size: 38px;
	letter-spacing: 0.04821em;
}
.wks_ttl_wrapper__main small {
    font-size: 14px;
}
.wks_ttl_wrapper__main span::after {
    content: "";
    display: block;
    width: 120px;
    height: 5px;
	margin: 14px auto 0;
    background: #fff;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
#portfolio .portfolio_wrapper .wks_list_box {
	background: #fff;
    border: 1px solid #fff;
	padding: 46px;
	margin: 46px 0;
}
#portfolio .portfolio_wrapper .wks_list_box:hover {
    border-color: #adadad;
}
#portfolio .portfolio_wrapper .wks_list_box h2.wks_name {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 16px;
	padding: 0.32em 1em;
	position: relative;
}
#portfolio .portfolio_wrapper .wks_list_box h2.wks_name::before,
#portfolio .portfolio_wrapper .wks_list_box h2.wks_name::after {
	position: absolute;
	content: '';
	display: block;
	width: 12px;
	height: 100%;
	border: #adadad solid 1px;
}
#portfolio .portfolio_wrapper .wks_list_box h2.wks_name::before {
	left: 0;
	top: 0;
	border-right-width: 0;
}
#portfolio .portfolio_wrapper .wks_list_box h2.wks_name::after {
	right: 0;
	bottom: 0;
	border-left-width: 0;
}
.wks_infolist {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	align-items: center;
	gap:  0 1.684em;
	margin-top: 24px;
}
.wks_infolist strong {
    font-weight: bold;
    font-size: 0.864rem;
}
.cat_links {
	margin-top: 24px;
}
.cat_links a {
    display: inline-flex;
    align-items: center;
    background: #f4f4f4;
    border: 1px solid #adadad;
    text-align: center;
    padding: 0.74em 0.86em;
    margin: 0 3px 6px;
    font-size: 14px;
    line-height: 1;
    color: #111;
    gap: 2px;
	-webkit-transition: all 0.3s ;
	-moz-transition: all 0.3s ;
	transition: all 0.3s ;
}
.cat_links a::before {
    content: "";
    font-family: 'Material Icons';
    content: "\e876";
    font-size: 16px;
    color: #111;
}
.cat_links a:hover {
    background: #444;
    border-color: #444;
    color: #fff;
}
.cat_links a:hover::before {
    color: #fff;
}





/*** TAXONOMY **************/
.container.portfolio_wrapper h2.select_name {
    font-size: 24px;
	font-weight: bold;
    letter-spacing: 0.084em;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	margin: 50px 0 12px;
	padding: 0.75em 0;
}
.cat_select_wrapper {
	width: 100%;
	max-width: 1140px;
	text-align: center;
	border-bottom: 1px solid #adadad;
	margin: 16px auto;
	padding-bottom: 16px;
}
.cat_select_wrapper > h2 {
	display: inline-block;
    font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #333;
	line-height: 1;
	text-align: center;
	margin: 0 auto 16px;
	padding: 0.48em 1em;
}
.cat_select_wrapper > ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	justify-content: center;
	gap: 16px 14px;
	margin: 0 auto;
}
.cat_select_wrapper > ul a {
	display: inline-block;
	background: #fefefe;
	text-align: center;
	color: #666;
	padding: 0.43em;
	border: 1px solid #afafaf;
    font-size: 14px;
	line-height: 1;
}
.cat_select_wrapper > ul a:hover {
	border: 1px solid #777;
}


/*** SINGLE **************/
.works_single_ttl_wrapper {
	margin: 0;
	border-bottom: 1px solid #e5e5e5;
}
.wks_single__main {
	width: 100%;
	max-width: 1140px;
	background: #fff;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	padding: 1em 1.65em;
	margin: auto;
}
.wks_single__main > span {
    font-size: 18px;
	font-weight: bold;
    letter-spacing: 0.084em;
}
.wks_single__main > span small {
    font-size: 13px;
	display: inline-block;
	font-weight: normal;
	margin-left: 0.64em;
}
.wks_single__main > span small::before {
	content: "/ ";
}
#portfolio .portfolio_wrapper.l_single > section {
    padding: 0;
}
#portfolio .l_single > section.wks_article::before {
	content: "";
	display: block;
	width: 75%;
	height: 1px;
	background: #000;
}
#portfolio .l_single .wks_intro h2.wks_name {
	font-size: 24px;
	font-weight: bold;
	border-top: 1px solid #a5a5a5;
	border-bottom: 1px solid #a5a5a5;
	margin-bottom: 43px;
    padding: 0.48em 0;
    padding-left: 64px;
    letter-spacing: 0.15em;
	display: flex;
	align-items: center;
	position: relative;
}
#portfolio .l_single .wks_intro h2.wks_name::before {
	content: "";
	display: block;
	width: 36px;
	height: 64px;
	background: #aa8c5a;
	position: absolute;
	top: -14px;
	left: 16px;
}
#portfolio .l_single .wks_article h3 {
    font-size: 18px;
	font-weight: bold;
    letter-spacing: 0.084em;
	line-height: 1.54;
	margin-bottom: 14px;
    padding-bottom: 14px;
	position: relative;
}
#portfolio .l_single .wks_article h3::before,
#portfolio .l_single .wks_article h3::after {
	content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}
#portfolio .l_single .wks_article h3::before {
    background: #e5e5e5;
}
#portfolio .l_single .wks_article h3::after {
    width: 64px;
    height: 2px;
    background: #995e5e;
    background: #f1b007;
    z-index: 2;
}
#portfolio .l_single .wks_shots > ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
}
#portfolio .l_single .wks_shots > ul > li {
    width : -webkit-calc(100% / 6) ;
    width : calc(100% / 6);
}
img.coverfit {
	object-fit: cover;
}
#portfolio .l_single .wks_shots img.mainImage {
	height: 480px;
}
#portfolio .l_single .wks_shots ul figure img.thumb {
	height: 108px;
	width: 108px;
	opacity: 0.45;
}
#portfolio .l_single .wks_shots ul figure img.thumb:hover {
	opacity: 1;
}
#portfolio .l_single .wks_info_txt > table {
	margin-top: -108px;
}
#portfolio .l_single section > div {
	margin: 0 auto;
	background: #fff;
	padding: 46px;
}
#portfolio .l_single .wks_bfaf h3 {
	padding-bottom: 24px;
	text-align: center;
}
#portfolio .l_single .wks_bfaf h3 > span {
    font-size: 30px;
	font-weight: bold;
    letter-spacing: 0.084em;
	background: #fff;
	padding: 18px 0 10px;
	position: relative;
	z-index: 1;
}
#portfolio .l_single .wks_bfaf h3 > span:before {
	content: "";
	display: block;
	width: 90px;
	height: 90px;
	border: solid 1px rgba(5,62,98,0.24);
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	z-index: -1;
}
#portfolio .l_single .wks_bfaf h3 > span:after {
	content: "BeforeAfter";
	color: rgba(241, 176, 7, 0.68);
	font-size: 21px;
	text-transform: capitalize;
	position: absolute;
	top: -5px;
	left: -0.78em;
}
#portfolio .l_single .wks_bfaf .cont_wrapper {
	margin: 24px auto;
}
#portfolio .l_single .bfaf_container {
	width: 100%;
	border: 2px solid #rgba(255,255,255,0.3);
	overflow: hidden;
	cursor: pointer;
	position: relative;
}
#portfolio .l_single .show_wrapper {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	width: 200%;
	height: 600px;
	transition: 1s;
}
#portfolio .l_single .mouseover {
	text-align: center;
	position: absolute;
	bottom: 12px;
	left: 50%;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);

}
#portfolio .l_single .mouseover > span {
	display: inline-block;
	color: #fff;
	font-size: 13px;
	padding: 0 0.72em;
	background: rgba(0,0,0,0.6);
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	align-items: center;
	letter-spacing: 1px;
	gap: 0 5px;
}
#portfolio .l_single .mouseover > span::before {
    content: "";
    font-family: 'Material Icons';
    content: "\e323";
}
#portfolio .l_single .mouseover > span::after {
    content: "Mouse Over to 'AFTER'";
}
#portfolio .l_single .show_wrapper > img {
	display: block;
	width: 50%;
	object-fit: cover;
}
#portfolio .l_single .wks_bfaf .cont_wrapper:hover .show_wrapper {
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
#portfolio .l_single .wks_bfaf .cont_wrapper:hover .mouseover > span::after {
    content: "Mouse Out to 'BEFORE'";
}




/*** RELATIONAL **************/
.related  {
	background: #666;
	color: #fff;
	padding: 50px 0;
}
.related_wapper {
	margin: 0 auto;
    max-width: 1140px;
}
.related_wapper > h4 {
	width: 10em;
	line-height: 1;
	text-align: center;
	margin: 0 auto 24px;
	border: 2px solid #fff;
	padding: 1em;
}
.related_wapper > ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	gap: 0 16px;
}
.related_wapper > ul li {
    width : -webkit-calc((100% - 48px) / 4);
    width : calc((100% - 48px) / 4);
}
.related_wapper a {
	color: #fff;
	font-size: 14px;
}
#portfolio .related_wapper a .cover {
	height: 200px;
	border: 1px solid rgba(255,255,255,0.34);
}















@media screen and (max-width: 768px) {
.works_pagettl_wrapper::before {
    display: none;
}
.wks_ttl_wrapper__main {
    min-width: 240px;
    max-width: 80%;
	padding: 1em;
    bottom: -16px;
}
.wks_ttl_wrapper__main span {
    font-size: 24px;
}
.wks_ttl_wrapper__main span::after {
    height: 3px;
    margin: 12px auto 0;
}
.wks_ttl_wrapper__main small {
    font-size: 13px;
}



#portfolio {
    margin-top: 0;
}
#portfolio .portfolio_wrapper .wks_list_box {
    padding: 18px;
    margin: 18px 0;
}
#portfolio .portfolio_wrapper .wks_list_box h2.wks_name {
    font-size: 16px;
    margin-bottom: 1em;
    padding: 0.32em 1em;
}
.wks_infolist {
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: stretch;
	-moz-align-items: stretch;
	align-items: stretch;
}
.cat_links a {
    font-size: 13px;
    padding: 0.5em 1em;
}


.cat_select_wrapper {
    margin: 0 auto;
    padding-bottom: 14px;
}
.cat_select_wrapper > h2 {
    display: block;
    font-size: 14px;
    margin: 0 auto 14px;
}
.cat_select_wrapper > ul {
    gap: 14px 7px;
}
.cat_select_wrapper > ul a {
    font-size: 13px;
}



.breadcrumb {
    padding: 10px 14px;
}
.breadcrumb li {
    font-size: 9px;
}



#portfolio .l_single .wks_intro h2.wks_name {
    font-size: 17.4px;
    margin-bottom: 18px;
    padding-left: 40px;
}
#portfolio .l_single .wks_intro h2.wks_name::before {
    width: 24px;
    height: 42px;
    top: -6px;
    left: 8px;
}



#portfolio .l_single section > div {
    padding: 14px;
}
#portfolio .wks_intro_flex {
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: stretch;
	-moz-align-items: stretch;
	align-items: stretch;
    gap: 12px 0;
}
#portfolio .wks_shots,
#portfolio .wks_info_txt {
    flex: 1;
}
#portfolio .l_single .wks_shots img.mainImage {
    height: 72.5vw;
}
#portfolio .l_single .wks_shots > ul {
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	flex-wrap: wrap;
}
#portfolio .l_single .wks_shots > ul > li {
    width: -webkit-calc(100% / 3);
    width: calc(100% / 3);
}
#portfolio .l_single .wks_info_txt > table {
    margin-top: 0;
	width: calc(100% - 28px);
}
#portfolio .l_single .show_wrapper {
    height: 64vw;
}
#portfolio .l_single .mouseover > span {
    font-size: 12px;
    padding: 0 0.54em;
    display: inline-block;
    align-items: center;
}
#portfolio .l_single .mouseover > span::before {
    display: none;
}
#portfolio .l_single .mouseover > span::after {
    content: "TAP to 'AFTER'";
}
#portfolio .l_single .wks_bfaf .cont_wrapper:hover .mouseover > span::after {
    content: "OTHERTAP to 'BEFORE'";
}
.related {
    padding: 24px 16px;
}
.related_wapper a {
    font-size: 12px;
}
.related_wapper > ul {
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	flex-wrap: wrap;
    gap: 10px 16px;
}
.related_wapper > ul li {
    width: -webkit-calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
}
}