/* 企業情報
=========================================================================
========================================================================*/
#company main {}

#company main a[href^="tel:"] {
	text-decoration: none;
	color: #333;
}

/* ページタイトル
-----------------------------------------------------------*/
#company main .title {
	width: 100%;
	height: 520px;
	padding-top: 228px;
	background: url(../img/company/title_bg.jpg) center center no-repeat;
	background-size: cover;

}

#company main .title h1 {
	position: relative;
	padding-top: 96px;
	font-weight: bold;
	font-size: 4rem;
	text-align: center;
	color: #FFF;
}

#company main .title h1::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	margin: 0 auto;
	width: 381px;
	height: 55px;
	background: url(../img/company/title.svg) center center no-repeat;
	background-size: contain;
}

/* 興建社基本理念
-----------------------------------------------------------*/
#company main .philosophy {
	position: relative;
	margin: 0 auto;
	padding: 150px 0 90px;
	width: 926px;
	text-align: center;
}

#company main .philosophy p {
	position: absolute;
	top: -60px;
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 38px 65px;
	width: 100%;
	text-align: left;
	background-color: #ECF2F5;
}

/* ロゴ／コピー ----- */
#company main .philosophy h2 {
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	margin-bottom: 55px;
	height: 148px;
	background: url(../img/company/logo.svg) center center no-repeat;
	background-size: contain;
}

#company main .philosophy h3 {
	position: relative;
	margin-bottom: 68px;
	padding-top: 35px;
	font-family: 'Noto Serif JP', serif;
	font-weight: bold;
	font-size: 3rem;
	line-height: 1em;
	text-align: center;
}

#company main .philosophy h3::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	margin: 0 auto;
	height: 11px;
	background: url(../img/company/philosophy_title.svg) center center no-repeat;
	background-size: contain;
}

#company main .philosophy ul {
	display: inline-block;
	margin: 0 auto;
	font-family: 'Noto Serif JP', serif;
	font-weight: bold;
	font-size: 2.4rem;
	text-align: left;
}

#company main .philosophy ul li {
	margin-bottom: 1em;
	padding: 0 0 0 1em;
	position: relative;
}

#company main .philosophy ul li:last-child {
	margin-bottom: 0;
}

#company main .philosophy ul li:before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 18px;
	height: 18px;
	background-color: #333;
}

/* TOP MESSAGE
-----------------------------------------------------------*/
#company main .message {
	position: relative;
	padding: 0 0 90px;
	background: linear-gradient(to bottom left, #F1F7FA, #D0E2E2);
	border-top: 53px solid #FFF;
}

#company main .message::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url(../img/company/message_bg.png) left top no-repeat;
	background-size: contain;
}

#company main .message .president {
	position: relative;
	margin: -53px auto 86px;
	padding-right: 90px;
	width: 960px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	z-index: 2;
}

#company main .message .president img {
	width: 388px;
	/*width: calc(388 / 1050 * 100%);*/
}

#company main .message .president .text {
	width: 382px;
	/*width: calc(382 / 1050 * 100%);*/
	text-align: right;
}

#company main .message h2 {
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	width: 100%;
	margin-right: 90px;
	margin-bottom: 70px;
	height: 25px;
	background: url(../img/company/message_title.svg) right center no-repeat;
	background-size: contain;
}

#company main .message h3 {
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	width: 100%;
	margin-bottom: 30px;
	height: 94px;
	background: url(../img/company/message_h3.svg) left center no-repeat;
	background-size: contain;
}

#company main .message h4 {
	font-weight: bold;
	font-size: 2.2rem;
	line-height: 1em;
	text-align: right;
	color: #6EA5C1;
}

#company main .message h4 span {
	display: block;
	margin-bottom: 13px;
	font-size: 1.4rem;
}

#company main .message .inner {
	position: relative;
	margin: 0 auto;
	width: 720px;
	z-index: 2;
}

#company main .message .inner p.margin {
	margin-bottom: 2em;
}

/* COMPANY INFORMATION
-----------------------------------------------------------*/
#company main .info {
	margin: 0 auto;
	padding: 90px 20px 0;
	width: 879px;
}

#company main .info h2 {
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	width: 100%;
	margin-bottom: 77px;
	height: 17px;
	background: url(../img/company/info_title.svg) center center no-repeat;
	background-size: contain;
}

#company main .info dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#company main .info dl dt {
	padding: 1em 0 .25em;
	width: calc(182 / 879 * 100%);
	border-bottom: 1px solid #B5D2E2;
}

#company main .info dl dd {
	padding: 1em 0 .25em .5em;
	width: calc(664 / 879 * 100%);
	border-bottom: 1px solid #B5D2E2;
}

/* ACCESS
-----------------------------------------------------------*/
#company main .access {
	margin: 0 auto;
	padding: 100px 20px 90px;
	width: 879px;
}

#company main .access .inner {
	display: flex;
	align-items: center;
	margin-bottom: 27px;
}

#company main .access h2 {
	overflow: hidden;
	width: 86px;
	height: 16px;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background: url(../img/company/access_title.svg) center center no-repeat;
	background-size: contain;
}

#company main .access p {
	padding-left: 55px;
	font-size: 1.6rem;
	line-height: 1em;
}

/* ----- Google Map ----- */
.map_wrapper {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

#googlemap {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

#googlemap iframe,
#googlemap object,
#googlemap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* GROUP COMPANY
-----------------------------------------------------------*/
#company main .group {
	padding: 80px 20px 80px;
	background-color: #F8F8F8;
}

#company main .group .inner {
	margin: 0 auto;
	width: 720px;
}

#company main .group h2 {
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	width: 100%;
	margin-bottom: 60px;
	height: 17px;
	background: url(../img/company/group_title.svg) center center no-repeat;
	background-size: contain;
}

#company main .group dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#company main .group dl dt {
	padding: 1em 0 .25em;
	width: calc(260 / 640 * 100%);
	font-size: 2rem;
	line-height: 1em;
}

#company main .group dl dd {
	padding: 1em 0 .25em .5em;
	width: calc(380 / 640 * 100%);
}

#company main .group dl dt a {
	display: inline-block;
	margin-top: 8px;
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	width: 100%;
	height: 16px;
	transition: all .3s;
}

#company main .group dl dt a:hover {
	opacity: .8;
}

#company main .group dl dt a.group_01 {
	background: url(../img/company/group_url_01.svg) left center no-repeat;
	background-size: contain;
}

#company main .group dl dt a.group_02 {
	background: url(../img/company/group_url_02.svg) left center no-repeat;
	background-size: contain;
}

/* HISTORY
-----------------------------------------------------------*/
#company main .history {
	position: relative;
	padding: 80px 0 0;
	background: linear-gradient(to bottom, #97BFE5, #A1C7D5);
}

#company main .history .inner {
	margin: 0 auto;
	width: 956px;
}

#company main .history .inner h2 {
	margin: 0 auto 26px;
}

#company main .history .logo {
	position: absolute;
	bottom: 180px;
	right: 62px;
	width: 402px;
	z-index: 2;
}

/*  1000px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:1000px) {

	/* TOP MESSAGE
	-----------------------------------------------------------*/
	#company main .message .president {
		width: 100%;
		display: block;
	}

	#company main .message .president .text {
		position: absolute;
		right: 20px;
		bottom: 0;
	}


}

/*  996px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:996px) {

	/* 興建社基本理念
		-----------------------------------------------------------*/
	#company main .philosophy {
		padding: 120px 20px 90px;
		width: 100%;
	}

	#company main .philosophy p {
		width: calc(335 / 375 * 100%);
	}

	/* HISTORY
	-----------------------------------------------------------*/
	#company main .history .inner {
		padding: 0 20px;
		width: 100%;
	}
}


/*  919px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:919px) {

	/* COMPANY INFORMATION
	-----------------------------------------------------------*/
	#company main .info {
		width: 100%;
	}

	/* ACCESS
	-----------------------------------------------------------*/
	#company main .access {
		width: 100%;
	}
}


/*  767px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {

	/* ページタイトル
	-----------------------------------------------------------*/
	#company main .title {
		margin-top: 56px;
		height: 192px;

		padding-top: 74px;
		background: url(../img/company/title_bg@2x.jpg) center center no-repeat;
		background-size: cover;

	}

	#company main .title h1 {
		padding-top: 52px;
		font-size: 2rem;
	}

	#company main .title h1::before {
		width: 280px;
		height: 36px;
	}

	/* 興建社基本理念
	-----------------------------------------------------------*/
	#company main .philosophy {
		padding: 154px 20px 50px;
		width: 100%;
	}

	#company main .philosophy p {
		top: -16px;
		padding: 18px 24px;
		font-size: 1.2rem;
		line-height: 1.83em;
		width: 90%;
	}

	/* ロゴ／コピー ----- */
	#company main .philosophy h2 {
		margin-bottom: 50px;
		height: 110px;
	}

	#company main .philosophy h3 {
		margin-bottom: 34px;
		padding-top: 19px;
		font-size: 2.4rem;
	}

	#company main .philosophy h3::before {
		height: 9px;
	}

	#company main .philosophy ul {
		font-size: 1.7rem;
	}

	#company main .philosophy ul li {
		margin-bottom: 1em;
		padding: 0 0 0 1em;
		position: relative;
	}

	#company main .philosophy ul li:before {
		top: 9px;
		width: 13px;
		height: 13px;
	}

	/* TOP MESSAGE
	-----------------------------------------------------------*/
	#company main .message {
		overflow: hidden;
		position: relative;
		overflow: hidden;
		padding: 70px 0 0;
		border-top: none;
	}

	#company main .message::before {
		height: 984px;
		background: url(../img/company/message_bg@2x.png) left top no-repeat;
		background-size: contain;
	}

	#company main .message .president {
		margin: 0 auto 50px;
		padding-right: 0;
		align-items: flex-start;
	}

	#company main .message .president img {
		width: calc(247 / 375 * 100%);
		/*max-width: 247px;*/
	}

	#company main .message .president .text {
		position: absolute;
		right: 20px;
		bottom: 50px;
	}

	#company main .message h2 {
		margin-right: 0;
		margin-bottom: 20px;
		/*height: 14px;*/
	}

	#company main .message h3 {
		margin-bottom: 40px;
		height: 77px;
	}

	#company main .message h4 {
		/*font-size: 1.8rem;*/
	}

	#company main .message h4 span {
		margin-bottom: 7px;
		/*font-size: 1.2rem;*/
	}

	#company main .message .inner {
		padding: 0 20px;
		width: 100%;
	}

	#company main .message .button_continue {
		position: absolute;
		left: 0;
		bottom: 0;
		padding-top: 50px;
		width: 100%;
		height: 100px;
		text-align: center;
		background: linear-gradient(rgba(0, 0, 0, 0),
				rgba(230, 240, 240, .8), rgba(230, 240, 240, 1));
		z-index: 2;
	}

	#company main .message .button_continue.active {
		position: relative;
		left: auto;
		bottom: auto;
	}

	#company main .message .button_continue p {
		display: inline-block;
		position: relative;
		cursor: pointer;
		height: 31px;
		font-size: 1.2rem;
		line-height: 1em;
	}

	#company main .message .button_continue p::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 13px;
		margin: 0 auto;
		width: 40px;
		height: 1px;
		background-color: #B5D2E2;
	}

	#company main .message .button_continue p.active::before {
		background-color: #FFF;
	}

	#company main .message .button_continue p::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0 auto;
		width: 13px;
		height: 7px;
		background: url(../img/company/button_continue_arrow.svg) center center no-repeat;
		background-size: contain;
	}

	#company main .message .button_continue p.active::after {
		transform: scale(1, -1);
	}

	#company main .message .button_continue p span:nth-child(2) {
		display: none;
	}

	#company main .message .button_continue p.active span:nth-child(2) {
		display: block;
	}

	#company main .message .button_continue p.active span:nth-child(1) {
		display: none;
	}

	#company main .message .inner.continue {
		display: none;
	}

	#company main .message .inner.continue p.margin {
		margin-bottom: 0;
	}

	/* COMPANY INFORMATION
	-----------------------------------------------------------*/
	#company main .info {
		padding: 80px 20px 0;
	}

	#company main .info h2 {
		margin-bottom: 30px;
		height: 14px;
	}

	#company main .info dl {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#company main .info dl dt {
		padding: 1em 0 0;
		width: 100%;
		font-size: 1.2rem;
		line-height: 1em;
		color: #6EA5C1;
		border-bottom: none;
	}

	#company main .info dl dd {
		padding: .5em 0 .5em 1.5em;
		width: 100%;
		font-size: 1.4rem;
		line-height: 1.53em;
	}

	/* ACCESS
	-----------------------------------------------------------*/
	#company main .access {
		padding: 70px 20px 60px;
	}

	#company main .access .inner {
		flex-wrap: wrap;
		margin-bottom: 0;
	}

	#company main .access h2 {
		margin-bottom: 17px;
		width: 100%;
		height: 14px;
	}

	#company main .access p {
		margin-bottom: 18px;
		padding-left: 0;
		font-size: 1.2rem;
		line-height: 1.83em;
	}

	/* GROUP COMPANY
	-----------------------------------------------------------*/
	#company main .group {
		padding: 75px 20px 25px;
	}

	#company main .group .inner {
		width: 100%;
	}

	#company main .group h2 {
		margin-bottom: 55px;
		height: 13px;
	}

	#company main .group dl {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#company main .group dl dt {
		padding: 0 0 .5em;
		width: 100%;
		font-size: 2rem;
		line-height: 1em;
		border-bottom: 1px solid #E0E0E0;
	}

	#company main .group dl dd {
		padding: .5em 0 45px 0;
		width: 100%;
		font-size: 1.4rem;
		line-height: 1.53em;
	}

	#company main .group dl dt a:hover {
		opacity: 1;
	}

	/* HISTORY
	-----------------------------------------------------------*/
	#company main .history {
		overflow: hidden;
		padding: 48px 0 0;
	}

	/* HISTORY
		-----------------------------------------------------------*/
	#company main .history .inner {
		padding: 0;
	}

	#company main .history .inner h2 {
		margin: 0 auto 46px;
		width: calc(312 / 375 * 100%);
	}

	#company main .history .logo {
		bottom: 253px;
		right: -15px;
		width: 228px;
	}

}

/*  480px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:480px) {

	/* TOP MESSAGE
	-----------------------------------------------------------*/
	#company main .message h2 {
		margin-right: 0;
		margin-bottom: 20px;
		height: 14px;
	}

	#company main .message h3 {
		margin-bottom: 40px;
		height: 77px;
	}

	#company main .message h4 {
		font-size: 1.8rem;
	}

	#company main .message h4 span {
		margin-bottom: 7px;
		font-size: 1.2rem;
	}
}
