@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl img:first-child {
	border-radius: 10px;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	#top_ttl {
		width: 37%;
		max-width: 473px;
		margin-left: auto;
		margin-bottom: 90px;
		/* フレックス */
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	#top_ttl+p {
		width: 28%;
		max-width: 363px;
		margin-left: 4.5%;
		margin-bottom: 90px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_ttl {
		width: 60%;
	}
	#top_ttl+p {
		width: 80%;
		margin: 0 auto;
	}
}
/* 挨拶 */
#top_msg::before {
	background: url("../img/top/map.png") no-repeat right 2% center / contain;
}
#top_msg p {
	font-size: 23px;
	line-height: 2.3em;
}
#top_msg p span {
	font-size: 16px;
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_msg p {
		font-size: 115%;
		line-height: 2.3em;
	}
	#top_msg p span {
		font-size: 85%;
	}
}
/**/
#top_profile .name {
	margin-bottom: 1em;
	font-size: 35px;
}
#top_profile .name span {
	margin-left: 0.5em;
	font-size: 65px;
}
#top_profile p {
	margin-bottom: 0.5em;
	line-height: 2.3;
}
#top_profile dl {
	font-size: 90%;
	text-align: center;
}
#top_profile dt {
	margin-bottom: 0.5em;
}
#top_profile dt img {
	width: 115px;
	border-radius: 10px;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#top_profile dl {
		position: relative;
		top: -120px;
		margin: 0 0 -120px;
	}
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	#top_profile .photo {
		width: 22%;
	}
	#top_profile .photo img {
		width: 227px;
	}
	#top_profile .txt {
		width: 72%;
	}
	#top_profile dl {
		float: right;
		margin: 0 0 20px 30px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_profile .photo {
		width: 50%;
		margin: 0 auto 20px;
	}
	#top_profile .txt {
		/* フレックス */
		display: flex;
		flex-direction: column;
	}
	#top_profile p {
		order: 2;
		line-height: 2em;
	}
	#top_profile p+p {
		order: 3;
	}
	#top_profile .name {
		font-size: 20px;
		text-align: center;
		order: 1;
	}
	#top_profile .name span {
		font-size: 40px;
	}
	#top_profile dl {
		margin-top: 20px;
		order: 4;
		/* 縦方向中央揃え */
		display: flex;
		align-items: center;
		justify-content: center;
		column-gap: 30px;
	}
}
/* コンテンツ */
#top_contents h2 {
	margin-bottom: 40px;
	font-size: 50px;
	font-weight: normal;
	font-family: var(--font-serif);
}
#top_contents h2 span {
	color: var(--color-secondary);
}
#top_contents li {
	margin-bottom: 30px;
	padding: 20px 25px;
	background: url("../img/top/bg.png") no-repeat left top,
		linear-gradient(135deg, #f2f2f2, #fff, #f2f2f2);
	background-size: 50px auto, auto;
	border-radius: 10px;
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	#top_contents ul {
		width: 48.5%;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_contents h2 {
		margin-bottom:20px;
		font-size: 32px;
	}
	#top_contents li {
		margin-bottom: 15px;
		padding: 10px 15px;
	}
}
/*--------------------------------------------------
  お問い合わせ
--------------------------------------------------*/
#contact .in::before {
	background: linear-gradient(to right, #f2f2f2, #fafafa);
}
#contact .in::after {
	height: 5px;
	background: url("../img/line.png") no-repeat center center / cover;
}
#contact h2 {
	margin-bottom: 40px;
	font-size: 50px;
	font-weight: normal;
	font-family: var(--font-serif);
	text-align: center;
}
#contact h2 img {
	position: absolute;
	top: 0;
	left: 50%;
	width: 70px;
	transform: translate(-50%,-50%);
}
#contact .in {
	padding-top: 70px;
}
#contact .box {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#contact .in {
		padding-top: 40px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#contact h2 {
		margin-bottom: 30px;
		font-size: 34px;
	}
	#contact h2 img {
		width: 50px;
	}
}
/**/
#mailform table {
	width: 100%;
	margin: 2em 0;
}
#mailform table th,
#mailform table td {
	padding-bottom: 14px;
	vertical-align: top;
}
#mailform table th {
	width: 25%;
	padding-top: 8px;
	white-space: nowrap;
}
#mailform table th span {
	display: inline-block;
	margin-left: 1em;
	color: #66719e;
	font-size: 85%;
}
#mailform table th span.need {
	color: var(--color-red);
}
#mailform .btn {
	margin-top: 2em;
	/* フレックス */
	display: flex;
	justify-content: center;
}
#mailform .btn li+li {
	margin-left: 15px;
}
#mailform .btn input {
	width: 200px;
	height: 54px;
	background: linear-gradient(to right, #d36276, #00125e);
	border: none;
	border-radius: 999px;
	color: #FFFFFF;
	font-size: 100%;
	font-family: var(--font-sans);
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}
#mailform .btn input:hover {
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
}
#mailform .btn input[type="reset"] {
	background: #d1dff1;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
}
#mailform table input[type="text"],
#mailform table textarea {
	width: 100%;
	padding: 14px;
	background: #fafafa;
	border: none;
}
#mailform table textarea {
	display: block;
}
#mailform table input.wno {
	width: 100px;
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#mailform table input[type="text"],
	#mailform table textarea {
		font-size: 120%;
	}
	#mailform .btn input {
		width: 120px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#mailform table th,
	#mailform table td {
		display: block;
	}
}