@charset "UTF-8";

@import url(../commonstyle.css);




/* ヒーロー */
.hero {
	height: 400px;
	background-image: url(img/hero.jpg);
	background-position: center;
	background-size: cover;
	display: flex;
}

.hero .catch {
	flex: auto;
	align-self: flex-end;
	padding: 0.33rem 0;
	background-color: rgba(255,255,255,0.76);
}

.hero .container {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	line-height: 1.3;
}

.hero img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

.hero h1 {
	color: var(--primary);
}

.hero p {
	font-size: 0.14rem;
	color: var(--primary);
	margin-bottom: 15px;
}

@media (min-width: 900px) {
	.hero {
		height: 7rem;
	}

	.hero .catch {
		padding: 0 0.47rem 0 0.44rem;
	}

	.hero p {
		font-size: 0.16rem;
		margin-bottom: 0.22rem;
	}
}





/* download */
.main_download {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: inherit;
}

.download_document {
	display: block;
	margin-top: 0.24rem;
	height: 0.86rem;
	width: 4.8rem;

	padding: 0.18rem;
	align-items: center;

	background-color: inherit;
	color: var(--primary);
	font-size: 0.24rem;

	border: 2px solid var(--lightgray);
	border-radius: 8px;
}

.document_name {
	display: block;
}



@media (min-width: 900px) {

		.main_download {
			display: grid;
			/*width: 100%;*/
			grid-template-columns: 1fr 1fr;
			align-items: center;
			justify-items: center;
			gap: 0.16rem;
		}

}

@media (max-width: 374px) {
	.message h2 {
		font-size: 20px;
	}
}


/* サービス */
.service {
	padding: 67px 0;
	text-align: center;
}

.service h2 {
	display: inline-block;
	margin-bottom: 16px;
	padding-bottom: 9px;
	border-bottom: dotted 2px currentColor;
	font-size: 24px;
	color: var(--primary);
}

.service h2 + p {
	color: var(--primary);
	font-size: 16px;
}

@media (min-width: 900px) {
	.service {
		padding: 95px 0 87px;
	}

	.service h2 {
		font-size: 36px;
	}
}


/* サービス： サービスの詳細 */
.details {
	margin-top: 53px;
	color: var(--black);
}

.detail:not(:last-child) {
	margin-bottom: 67px;
}

.detail h3 {
	margin-bottom: 17px;
	font-size: 20px;
	line-height: 1.75;
}

.detail p {
	max-width: 264px;
	margin: 0 auto 25px;
	font-size: 12px;
	line-height: 2;
}

.detail figure {
	height: 246px;
	margin-bottom: 22px;
	background-position: center;
	background-size: cover;
}
.detail.office figure {
	background-image: url(img/office.jpg);
}
.detail.manage figure {
	background-image: url(img/manage.jpg);
}
.detail.research figure {
	background-image: url(img/research.jpg);
}

@media (min-width: 900px) {
	.details {
		display: flex;
		margin-top: 75px;
	}

	.detail {
		flex: 1;
		margin-right: 3.22%;
	}

	.detail:first-child {
		margin-left: 3.22%;
	}

	.detail:not(:last-child) {
		margin-bottom: 0;
	}

	.detail h3 {
		margin-bottom: 26px;
		font-size: 30px;
		line-height: 1.4;
	}

	.detail p {
		width: 78%;
		max-width: none;
	}

	.detail figure {
		height: 360px;
		margin-bottom: 33px;
	}

	/* ボタンの位置を揃える */
	.detail {
		display: flex;
		flex-direction: column;
	}

	.detail .btn {
		margin-top: auto;
	}
}

/* ボタン */
.btn {
	display: block;
	width: 208px;
	margin: 0 auto;
	padding: 11px 11px 13px;
	box-sizing: border-box;
	border: solid 2px currentColor;
	border-radius: 24px;
	color: var(--primary);
	font-size: 16px;
	font-weight: bold;
	text-align: center;
}

/* お問い合わせ */
.contact {
	padding: 62px 0;
	background-color: #EEF4F8;
	color: var(--black);
}

.contact h2 {
	margin-bottom: 42px;
	font-size: 24px;
}

.contact h2 + p {
	font-size: 12px;
	line-height: 2.17;
}

@media (min-width: 900px) {
	.contact {
		padding: 0;
		background: none;
	}

	.contact .container {
		display: flex;
		justify-content: space-between;
		margin-top: 0.36rem;
		padding: 96px 9% 62px;
		box-sizing: border-box;
		background-color: var(--lightgray);
	}

	.contact .text {
		flex: 0 0 auto;
	}

	.contact .form {
		flex: 1 1 auto;
		max-width: 457px;
		margin-left: 1em;
		margin-top: 0;
	}

	.question_title {
		font-size: 36px;
	}

	.contact h2 + p {
		font-size: 14px;
		line-height: 1.86;
	}
}

/* お問い合わせ：フォーム */





/* フェードイン */
body {
	animation: fade 5s;
}
 
@keyframes fade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}