@charset "utf-8";

/*-------------------------
header
---------------------------*/
header {
	padding-top: 3vw;
	position: relative;
}
h1 {
	padding: 1rem 20px;
	background-color: #f5f5f5;
}
header span {
	display: block;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}
header h1 span {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
}
h1 a,
h1 img {
	display: block;
	width: 100%;
}
h1 a {
	max-width: 226px;
}
header p {
	width: 100%;
	font-size: 1.2vw;
	padding: .3em 20px;
	position: absolute;
	top: 0;
}
@media screen and (min-width: 1000px) {
	header {
		padding-top: 35px;
	}
	header p {
		font-size: .85rem;
	}
}
@media screen and (max-width: 800px) {
	header {
		padding-top: 24px;
	}
	header p {
		font-size: .7rem;
		padding: .3em .8em;
	}
}
@media screen and (max-width: 375px) {
	header p {
		font-size: .6rem;
		letter-spacing: -.11em;
	}
}

/*-------------------------
Navi
---------------------------*/
nav {
	background-color: rgba(0,37,123,.8);
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 10;
}
nav ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
nav a {
	display: block;
	width: 120px;
	color: #fff;
	font-size: .85rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.2;
	padding: 20px 0;
	position: relative;
}
nav a:before,
nav a:after {
	content: "";
	height: 1px;
	position: absolute;
	bottom: 10px;
	-webkit-transition: .5s;
	transition: 200ms;
}
nav a:before {
	background-color: #fff;
	width: calc(100% - 20px);
	left: 10px;
}
nav a:after {
	background-color: #cdb590;
	width: 0;
	left: 50%;
}
nav a:hover {
	color: #cdb590;
}
nav a:hover:after {
	width: calc(100% - 20px);
	left: 10px;
}
@media screen and (max-width: 640px) {
	nav li {
		width: calc(100% / 3);
	}
	nav a {
		width: 100%;
		font-size: .7rem;
		padding: 10px 0 20px;
	}
}

/*-------------------------
title
---------------------------*/
h2 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	background: url("../img/img_keyvisual.jpg") no-repeat center center;
	background-size: cover;
	width: 100%;
	height: 160px;
	padding: 0 20px;
}
.home h2 {
	height: 360px;
}
h2 span {
	display: block;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
}
h2 img {
	display: block;
	width: 100%;
}
.home h2 img {
	max-width: 256px;
}
.profile h2 img {
	max-width: 328px;
}
.business h2 img {
	max-width: 337px;
}
.succession h2 img {
	max-width: 405px;
}
.contact h2 img {
	max-width: 153px;
}
@media screen and (max-width: 640px) {
	h2 {
		height: 48vw !important;
	}
	h2 img {
		max-width: 60% !important;
	}
}
h3 {
	font-size: 2.142rem;
	font-weight: bold;
	text-align: center;
	padding-bottom: 1.5rem;
	position: relative;
}
.business h3 {
	padding: 0 20px 1.5rem;
}
h3:before,
h3:after {
	content: "";
	background-color: #325096;
	width: calc(100% - 40px);
	max-width: 506px;
	height: 2px;
	position: absolute;
	left: 50%;
}
h3:before {
	bottom: 6px;
	-webkit-transform: translateX(calc(-50% - 10px));
	transform: translateX(calc(-50% - 10px));
}
h3:after {
	bottom: 0;
	-webkit-transform: translateX(calc(-50% + 10px));
	transform: translateX(calc(-50% + 10px));
}
@media screen and (max-width: 640px) {
	h3 {
		font-size: 1.05rem;
		padding-bottom: .8rem;
	}
}

/*-------------------------
main
---------------------------*/
article {
	padding-top: 90px !important;
}
@media screen and (max-width: 640px) {
	article {
		padding-top: 40px !important;
	}
}

/* home */
#homeImgMap {
	position: relative;
}
#homeImgMap a {
	display: block;
	width: 18.8%;
	position: absolute;
	top: 27%;
}
#homeImgMap a:hover {
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}
#homeImgMap img {
	display: block;
	width: 100%;
}
#homeImgMap a:nth-child(2) {
	left: 8%;
}
#homeImgMap a:nth-child(3) {
	right: 8%;
}
@media screen and (max-width: 640px) {
	#homeImgMap a {
		width: 27%;
		top: 26%;
	}
	#homeImgMap a:nth-child(2) {
		left: 4%;
	}
	#homeImgMap a:nth-child(3) {
		right: 4%;
	}
}

/* access */
#access {
	padding-top: 90px;
}
#access h4 {
	padding: 0 20px;
}
#access img {
	display: block;
	width: 80%;
	max-width: 136px;
	margin: 0 auto;
}

/* business */
.business article li dt {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding: 40px 20px;
}
.business article li:nth-child(1) dt {
	background-image: url("../img/business/img_a01.jpg");
}
.business article li:nth-child(2) dt {
	background-image: url("../img/business/img_a02.jpg");
}
.business article li:nth-child(3) dt {
	background-image: url("../img/business/img_a03.jpg");
}
.business article li:nth-child(4) dt {
	background-image: url("../img/business/img_a04.jpg");
}
.business article li dt img {
	display: block;
	width: 100%;
	max-width: 203px;
	margin: 0 auto;
}
.business article li dd {
	text-align: justify;
	padding: 20px 30px;
}

/* succession */
.template01 {
	width: 100%;
	max-width: 560px;
	margin: 5rem auto 0;
}
.template01 h4 {
	font-size: 1.3rem;
	font-weight: bold;
	text-align: center;
}
.template01 div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-top: 2rem;
}
.template01 dl {
	width: 60%;
}
.template01 dt {
	background-color: #325096;
	color: #fff;
	font-weight: bold;
	text-align: center;
	padding: .3rem 1em;
}
.template01 dd {
	margin-top: 1.5rem;
}
.template01 li {
	font-size: 1.4rem;
	padding-left: 1em;
	position: relative;
}
.template01 li:nth-child(2) {
	padding-left: .5em;
}
.template01 li:before {
	content: "\25CF";
	color: #325096;
	position: absolute;
	top: 0;
	left: 0;
}
.template01 p {
	width: 40%;
	padding-left: 30px;
}
@media screen and (max-width: 640px) {
	.template01 dl {
		width: 100%;
	}
	.template01 p {
		width: 100%;
		padding-top: 2rem;
		padding-left: 0;
	}
}

/* contact */
.tel-btn {
	display: block;
	width: 100%;
	max-width: 354px;
}
.tel-btn img {
	display: block;
	width: 100%;
}
@media screen and (max-width: 640px) {
	.tel-btn {
		max-width: 218px;
	}
}

/* form */
.contact form {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 0 -20px -20px;
}
.contact fieldset {
	width: 50%;
	padding: 0 0 20px 20px;
	position: relative;
}
.contact fieldset.textarea {
	width: 100%;
}
.contact legend {
	background-color: #fff;
	width: calc(100% - 22px);
	color: #787878;
	font-size: .85rem;
	font-weight: bold;
	padding-left: .3em;
	position: absolute;
	top: 1px;
	left: 21px;
	z-index: 1;
}
.contact input[type="text"],
.contact input[type="tel"],
.contact input[type="email"],
.contact textarea {
	display: block;
	width: 100%;
	font-size: 16px;
	padding: 1.5em 0 .5em .3rem;
	border: 1px solid #b0b4b4;
	border-radius: 0;
}
.contact textarea {
	height: 16em;
}
.contact input[type="text"]:focus,
.contact textarea:focus {
	outline: 0;
}
.contact p{width: 100%}
.contact input[type="submit"] {
	display: block;
	background-color: #325096;
	color: #fff;
	font-size: 1rem;
	font-weight: bold;
	padding: 0 2em;
	margin: 1rem auto 0;
	border: 1px solid #325096;
	cursor: pointer;
	-webkit-transition: .2s;
	transition: .2s;
}
.contact div.wpcf7-response-output {
width: 100%;
    margin: 0em auto 1em 20px;
	text-align: center;

}
.contact input[type="submit"]:hover {
	background-color: #fff;
	color: #325096;
}
@media screen and (max-width: 640px) {
	.contact fieldset {
		width: 100%;
	}
	.contact legend {
		top: 3px;
	}
}

/*-------------------------
footer
---------------------------*/
footer {
	margin-top: 90px;
}
@media screen and (max-width: 640px) {
	footer {
		margin-top: 40px;
	}
}
.profile footer {
	margin-top: 0;
}
#information {
	background-color: #f5f5f5;
	padding: 60px 20px;
}
#information > div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}
#information div div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	width: 100px;
}
#information img {
	display: block;
	width: 100%;
}
#information dl {
	width: calc(100% - 100px);
	padding-left: 40px;
}
#information dt {
	color: #325096;
	font-size: 1.2rem;
	font-weight: bold;
}
@media screen and (max-width: 640px) {
	#information {
		padding: 40px 20px;
	}
	#information div div {
		width: 56px;
	}
	#information dl {
		width: calc(100% - 56px);
	}
	#information dt {
		font-size: 1rem;
	}
}

#siteMap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background-color: #000;
	padding: 30px 20px 10px;
}
#siteMap li {
	position: relative;
	padding-right: 1.5em;
	margin-right: .5em;
}
#siteMap li:after {
	content: "｜";
	display: block;
	color: #cdb590;
	position: absolute;
	top: 0;
	right: 0;
}
#siteMap li:last-child {
	padding-right: 0;
	margin-right: 0;
}
#siteMap li:last-child:after {
	content: "";
}
#siteMap a {
	display: block;
	color: #cdb590;
	font-weight: bold;
}
#siteMap a:hover {
	color: #fff;
}
footer > p {
	background-color: #000;
	color: #fff;
	text-align: center;
	padding: 0 20px 30px;
}
footer > p small {
	font-size: 1rem;
}