@charset "utf-8";

/* ==============================
english layout
Site Name: MEISTER GUILD;
Date: 2019.07;
================================= */

/* common
================================= */
body,
h1, h2, h3, h4, h5, h6 {
	font-family: "Source Sans Pro", sans-serif;
	letter-spacing: .05em;
}

/* hero
================================= */
#hero,
.home__slider,
.home__slider li {
	box-sizing: border-box;
	list-style: none;
	width: 100%;
}
@media only screen and (max-width: 959px){
	#hero,
	.home__slider,
	.home__slider li {
		height: calc(161vw - 20px);
		max-height: calc(100vh - 60px);
	}
	#home__slider01 {
		background: url(../img/en/photo_hero_sp.jpg) 0 0 no-repeat;
		background-size: 100%;
	}
}
@media only screen and (min-width: 960px){
	#hero,
	.home__slider,
	.home__slider li {
		height: calc(49.2vw - 40px);
	}
	#home__slider01 {
		background: url(../img/en/photo_hero.jpg) 0 0 no-repeat;
		background-size: 100%;
	}
}

/* company
================================= */
/* intro
----------------------------- */
#intro .logo {
	margin: 0 auto 40px;
}
@media only screen and (max-width: 959px){
	#intro {
		padding-bottom: 120px;
	}
	#intro .logo {
		margin: 0 auto 40px;
		width: 80px;
	}
}
@media only screen and (min-width: 960px){
	#intro {
		padding-bottom: 240px;
	}
	#intro .logo {
		margin-bottom: 50px;
		width: 100px;
	}
}

/* item
----------------------------- */
/* common */
.company__item .catch {
	color: #999;
	font-family: "Prata", serif;
	font-size: 64px;
	line-height: 1;
}
.company__item .company__ttl {
	font-weight: bold;
	line-height: 1.5;
}
@media only screen and (max-width: 767px){
	.company__item .txts {
		margin: -20px 20px 0;
		padding-bottom: 80px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 959px){
	.company__item .txts {
		margin: -20px 40px 0;
		padding-bottom: 80px;
	}
}
@media only screen and (max-width: 1199px){
	.company__item .catch {
		font-size: 48px;
		margin-bottom: 32px;
	}
	.company__item .company__ttl {
		font-size: 20px;
		margin-bottom: 32px;
	}
}
@media only screen and (min-width: 1200px){
	.company__item .catch {
		font-size: 64px;
		margin-bottom: 36px;
	}
	.company__item .company__ttl {
		font-size: 28px;
		margin-bottom: 40px;
	}
}
/* feeling */
#feeling .photo img {
	width: 100%;
}
#feeling .catch {
	display: table;
	margin-left: auto;
}
@media only screen and (min-width: 960px){
	#feeling .photo {
		width: 50%;
	}
	#feeling .txts {
		align-items: center;
		box-sizing: border-box;
		display: flex;
		padding: 0 40px;
		width: 50%;
	}
	#feeling .company__ttl {
		margin-left: -120px;
	}
}
@media only screen and (min-width: 1200px){
	#feeling .txts {
		padding: 0 80px;
	}
}
/* mission */
#mission .photo img {
	width: 50%;
}
@media only screen and (min-width: 960px){
	#mission {
		padding: 120px 0;
	}
	#mission .photo {
		order: 1;
		width: 50%;
	}
	#mission .photo img:last-child {
		margin-top: 130px;
	}
	#mission .txts {
		align-items: center;
		box-sizing: border-box;
		display: flex;
		padding: 0 40px;
		width: 50%;
	}
	#mission .company__ttl {
		margin-right: -300px;
	}
}
@media only screen and (min-width: 1200px){
	#mission .txts {
		padding: 0 80px;
	}
}
/* values */
#values .photo img {
	width: 100%;
}
@media only screen and (max-width: 959px){
	#values {
		background-color: #f8f6f4;
	}
}
@media only screen and (min-width: 960px){
	#values .txts {
		box-sizing: border-box;
		position:relative;
		margin-top: -28vw;
		margin-left: auto;
		padding: 60px 40px;
		width: 50%;
	}
	#values .company__ttl {
		margin-left: -120px;
	}
}
@media only screen and (min-width: 1200px){
	#values .txts {
		padding: 120px 40px;
	}
}

/* work
================================= */
/* common
----------------------------- */
.work {
	padding-top: 0;
	padding-bottom: 40px;
}
.work .photo img {
	width: 100%;
}
.tags li {
	list-style: none;
}
.tag {
	display: inline-block;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 700;
	letter-spacing: .05em;
	border-radius: 4px;
	border: 1px solid #666;
	padding: 4px 8px;
	margin-bottom: 4px;
}
/* large-tag */
.large-tag {
	display: inline-block;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 700;
	letter-spacing: .05em;
	color: #fff;
	background: #666;
	border: 1px solid #666;
}
@media only screen and (min-width: 960px){
	.large-tag {
		font-size: 16px;
		padding: 8px 20px;
		margin-right: 2px;
		margin-bottom: 5px;
	}
}
@media only screen and (max-width: 959px){
	.large-tag {
		font-size: 14px;
		padding: 5px 15px;
		margin-bottom: 4px;
	}
}
/* work-list */
.work .work-list > li {
	list-style: none;
}
/* work-item */
.work .work-item {
	border-top: 1px solid #ddd;
}
.work .work-item__figure{
	justify-content: center;
	display: flex;
	align-items: center;
}
.work .work-item__figure img {
	width: 100%;
}
.work .work-item__title {
	font-family: "Source Sans Pro", sans-serif;/* add */
	font-weight: bold;
	line-height: 1.5;/* fix */
}
.work .work-item__title a {/* fix */
	display: inline-block;
	transition: color .5s;
}
.work .work-item__title a:hover {/* fix */
	color: #666;
	text-decoration: none;
}
@media only screen and (min-width: 960px){
	.work .work-item {
		padding: 80px 0;
	}
	.work .work-item--reverse {
		flex-direction: row;
	}
	.work .work-item__figure.is-youtube iframe {/* add */
		width: 100%;
		height: 315px;
	}
	.work .work-item__title {
		font-size: 24px;/* fix */
		margin-bottom: 30px;/* fix */
	}
	.work .work-item__main-tags {
		margin-bottom: 10px;
	}
	.work .work-item__sub-tags {
		margin-bottom: 30px;
	}
	.work-item__note {/* fix */
		margin-top: 30px;
	}
	.work .work-item--2columns {
		display: flex;
		justify-content: space-between;
		flex-direction: row-reverse;
	}
	.work .work-item--2columns .work-item__figure {
		flex-shrink: 0;
		flex-grow: 0;
		width: 45%;
		padding-top: 15px;
	}
	.work .work-item--2columns .work-item__info {
		flex-shrink: 0;
		flex-grow: 0;
		width: 50%;
	}
	.work .work-item__main-info--2columns {
		display: flex;
	}
	.work .work-item__main-info--2columns .work-item__title {
		flex-grow: 0;
		flex-shrink: 0;
		width: 500px;
	}
	.work .work-item__main-info--2columns .work-item__tag-area {
		padding-top: 15px;
	}
	.work-list--3columns {
		display: flex;
		flex-wrap: wrap;
	}
	.work-list--3columns > li {/* add */
		list-style: none;
		width: calc((100% - 80px) / 3);
	}
	.work-list--3columns > li:not(:nth-child(3n)) {/* add */
		margin-right: 40px;
	}
}
@media only screen and (max-width: 959px){
	.work .work-item {
		padding: 40px 0;
	}
	.work .work-item__figure {
		margin-bottom: 30px;/* fix */
	}
	.work .work-item__figure img {
		width: 100%;/* fix */
	}
	.work .work-item__figure.is-youtube {/* add */
		position: relative;
		width: 100%;
		padding-top: 56.25%;
	}
	.work .work-item__figure.is-youtube iframe {/* add */
		position: absolute;
		top: 0;
		right: 0;
		width: 100% !important;
		height: 100% !important;
	}
	.work .work-item__title {
		font-size: 18px;/* fix */
		margin-bottom: 20px;
	}
	.work .work-item__main-tags {
		margin-bottom: 5px;
	}
	.work .work-item__sub-tags {
		margin-bottom: 15px;
	}
	.work-item__note {/* fix */
		margin-top: 15px;
	}
}

/* contact
================================= */
/* inquiry
----------------------------- */
#inquiry {
	border-bottom: 1px solid #ddd;/* add */
	padding-bottom: 0;
}
@media only screen and (max-width: 959px){
	#inquiry #lead {
		padding-bottom: 60px;
	}
	#inquiry #form {
		padding-top: 40px;
		padding-bottom: 60px;
	}
}
@media only screen and (min-width: 960px){
	#inquiry #lead {
		padding-bottom: 100px;
	}
	#inquiry #form {
		padding-top: 80px;
		padding-bottom: 100px;
	}
}

/* form
----------------------------- */
.required {
	background-color: #c9573a;
	color: white;
	font-weight: 700;
	border-radius: 4px;
	line-height: 1;/* add */
	padding: 8px;/* fix */
}
.list--f dt label {
	display: block;
}
#form-privacypolicy {
	background-color: #666;
	box-sizing: border-box;
	color: white;
	display: block;
}
#form-privacypolicy a {
	color: white;
	text-decoration: underline;
}
input[type="submit"] {
	background-color: #c9573a;
	box-sizing: border-box;
	border-radius: 0;
	color: white;
	cursor: pointer;
	font-weight: 900;
	letter-spacing: .1em;
	border: 1px solid #c9573a;
}
/* privacy */
#privacy h3 {
	font-weight: 700;
	margin-bottom: 12px;
}
#privacy h4 {
	font-weight: 700;
	margin-bottom: 12px;
}
#privacy .list {
	margin-bottom: 24px;
}
#privacy__list01 {
	list-style-type: lower-alpha;
}
@media only screen and (max-width: 959px){
	.required {
		font-size: 12px;
	}
	.note {
		font-size: 13px;
	}
	.list--f dl {
		padding: 10px 0;
	}
	.list--f dt {
		font-weight: 700;
		margin-bottom: 12px;
	}
	#form-privacypolicy {
		line-height: 1.6;
		margin-right: 0;
		padding: 14px;
		height: auto;
	}
	#form .btns {
		margin-top: 20px;
	}
	input[type="submit"] {
		font-size: 18px;
		width: 100%;
		height: 60px;
	}
}
@media only screen and (min-width: 960px){
	.required {
		font-size: 14px;
	}
	#form .required {
		float: right;
	}
	.list--f dl {
		display: flex;
		justify-content: space-between;
		padding: 20px 0;
	}
	.list--f dt {
		align-self: center;
		font-weight: 700;
		width: 240px;
	}
	.list--f dd {
		clear: both;
		width: calc(100% - 280px);
	}
	#form-privacypolicy {/* add */
		line-height: 1.6;
		margin-right: 0;
		padding: 20px;
	}
	#form-name,
	#form-kana,
	#form-tel {
		width: 66%;
	}
	#form .btns {
		margin-top: 40px;
	}
	input[type="submit"] {
		font-size: 20px;
		transition: background-color .5s, color .5s;
		width: 640px;
		height: 80px;
	}
	input[type="submit"]:hover {
		background-color: transparent;
		color: #c9573a;
		text-decoration: none;
	}
}
