@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Arima+Madurai');
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');

/*top-photo slogan*/

.top-photo {
	position: relative;
	width: 100%;
	height: calc(100vh - 72px);
	overflow: hidden;
}

.bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	overflow: hidden;
	background-position: center;
	background-size: cover;
}

.slogan {
	position: relative;
	width: fit-content;
	top: 50%;
	margin: auto;
}

.slogan .en {
	font-size: 1.5em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	letter-spacing: 2px;
	font-weight: 300;
	/*margin-bottom: 10px;*/
}

.slogan .tw {
	font-size: 1.5em;
	letter-spacing: 1.5em;
	transform: translateX(0.5em);
	-webkit-transform: translateX(0.5em);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.name p {
	text-align: center;
	color: #FFF !important;
}

.down {
	position: absolute;
	left: 50%;
	bottom: 5px;
	width: 40px;
	z-index: 50;
	opacity: 0.7;
	padding: 5px;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	cursor: pointer;
}

.down img {
	display: block;
	width: 100%;
}

.down:hover {
	opacity: 1;
}

.controlBtn {
	position: relative;
	width: 300px;
	margin: auto;
	display: flex;
	margin-top: 30px;
}

.controlBtn a {
	position: relative;
	display: block;
	width: fit-content;
	margin: auto;
	padding: 10px 20px;
	border: #838c74 solid 1px;
	font-weight: bold;
	font-family: 'Open Sans', sans-serif;
	color: #666;
	letter-spacing: 0.05em;
}

.controlBtn a:hover {
	background: #838c74;
	color: #fff;
}

/*work -- txt set -- switch*/

.txt {
	color: #666;
	font-size: 14px;
	padding: 0 10px;
}

.swiper-container {
	display: none;
}

.switch {
	cursor: pointer;
	position: relative;
	width: fit-content;
	padding: 10px 15px;
	margin: 0 auto;
	color: #838c74;
	letter-spacing: 2px;
	border: unset;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FFF;
}

.switch.show:before {
	content: 'Close details';
}

.switch:before {
	content: 'More details';
	width: fit-content;
	line-height: 1.5;
	color: #aaa;
	margin: 5px;
}

.more {
	padding: 50px 0;
	background: rgba(131, 140, 116, 0.1);
	text-align: center;
	overflow: hidden;
}

/*work*/

.work {
	position: relative;
	width: 100%;
	margin-bottom: 100px;
}

.work ul {
	position: relative;
	display: flex;
	flex-flow: wrap;
	width: 100%;
	max-width: 1000px;
	margin: 100px auto;
}

.work li {
	position: relative;
	margin-bottom: 30px
}

.work li:last-child {
	margin-bottom: 0px
}

.work span {
	display: block;
	text-align: justify;
	margin-bottom: 10px;
	line-height: 1.5;
}

.work span:last-child {
	margin-bottom: 0;
}

.work-content {
	width: 100%;
}

.work-contentin {
	width: 45%;
	margin: 0 auto 0 0;
}

.work-title {
	padding: 10px;
	margin-bottom: 30px;
	letter-spacing: 1px;
	color: unset !important;
	text-align: center;
	background: rgba(131, 140, 116, 0.1);
}

.work-in {
	margin-bottom: 30px;
}

.work-in:last-child {
	margin-bottom: 0;
}

.work-in-title {
	color: #838c74 !important;
	border-left: solid 2px #838c74;
	padding-left: 10px;
	margin-bottom: 20px !important;
}

.work-img {
	display: flex;
	flex-direction: column;
}

.work-img img {
	position: relative;
	width: 100%;
	margin-bottom: 10px;
}

.work-straight {
	display: flex;
}

.work-straight img {
	width: 50%;
}

.work-part {
	margin-bottom: 30px;
}

.work-part:last-child {
	margin-bottom: 0;
}

.work-box {
	margin-top: 30px;
}

@media screen and (max-width:1100px) {
	.top-photo {
		height: calc(100vh - 91px);
	}

	.slogan .en {
		font-size: 2em;
	}

	.slogan .tw {
		font-size: 1.5em;
		letter-spacing: 1em;
	}

	.controlBtn {
		margin-bottom: 30px;
	}

	.switch {
		display: none;
	}

	.txt {
		padding: 0 40px;
	}

	.work span {
		text-align: unset;
	}

}

@media screen and (max-width:540px) {

	.controlBtn {
		width: 220px;
	}

}