/**
 * 会社情報
 */
.c-dl .c-list {
	margin-bottom: 0;
	padding-bottom: 0;
}

.c-dl--history dt {
	width: 20%;
	min-width: 100px;
	padding-left: 0;
	border: none;
	text-align: right;
}

.c-dl--history dd {
	flex: 1;
	width: auto;
	padding-right: 0;
	border-left: 1px solid #00863a;
}

@media (min-width: 768px) {
	.c-dl dt {
		text-align: right;
	}
}

/**
 * Google Map
 */
.p-googlemap {
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
}

.p-googlemap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (min-width: 768px) {
	.p-googlemap {
		padding-bottom: 30%;
	}
}

/**
 * Vision Caption
 */
.p-vision__caption {
	position: relative;
	padding-bottom: 1em;
}

.p-vision__caption::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 150px;
	height: 2px;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background: #00863a;
}

.p-vision__caption .c-txt--large {
	font-size: 4rem;
}

.p-vision__caption + .c-txtBlock--xl {
	line-height: 1.6;
}

/**
 * Menu
 */
.p-menu__list > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.p-menu__list > div > div {
	position: relative;
	align-self: flex-start;
	width: 48%;
	margin-bottom: 1.3em;
}

.p-menu__list h2 {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.p-menu__photo {
	position: relative;
	width: 100%;
	margin: 0;
	padding-top: 45%;
	overflow: hidden;
}

.p-menu__photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-family: "object-fit:cover;";
	object-fit: cover;
}

.p-menu__list .c-btn {
	width: 100%;
	min-width: 100px;
	max-width: 100%;
	border: none;
	background: #eee;
	color: #00863a;
}

.p-menu__list .c-btn:hover {
	color: #00863a;
}

.p-menu__list .c-btn.icon-arrow::after {
	color: #00863a;
}

@media (max-width: 1000px) {
	.p-menu__list {
		width: 92%;
		margin-right: auto;
		margin-left: auto;
	}
}

/**
 * Staff List
 */
.p-stafflist {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 100%;
}

.p-stafflist__item {
	align-self: stretch;
	width: 100%;
	margin-right: 0;
	margin-bottom: 3%;
	padding: 0;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	background: #f3f3f3;
	cursor: pointer;
}

.p-stafflist__item:nth-of-type(3n) {
	margin-right: 0;
}

.p-stafflist__item:hover {
	opacity: 0.8;
}

.p-stafflist__item figure {
	width: 100%;
	overflow: hidden;
}

.p-stafflist__item figure img {
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.p-stafflist__item:hover figure img {
	transform: scale(1.1);
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	opacity: 0.8;
}

.p-stafflist__cont {
	padding: 0.5em 1em 1em;
}

@media (min-width: 768px) {
	.p-stafflist__item {
		width: calc(90% / 3);
		margin-right: 5%;
	}
}

/**
 * Modal
 */
.p-modal {
	display: none;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
}

.p-modal__bg {
	position: absolute;
	z-index: 999;
	width: 100%;
	height: 100vh;
	padding: 3em;
	background: rgba(0, 0, 0, 0.8);
	text-align: center;
}

.p-modal__content {
	display: inline-block;
	position: relative;
	position: absolute;
	z-index: 999;
	top: 50%;
	left: 50%;
	left: 50%;
	width: 90%;
	max-width: 800px;
	height: 90%;
	padding: 2em;
	overflow: auto;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background: #fff;
}

@media (min-width: 768px) {
	.p-modal__content {
		position: absolute;
		width: 80%;
		height: 80%;
	}
}

.p-modal__content h3,
.p-modal__content > p {
	text-align: left;
}

.p-modal__content h3 {
	margin-bottom: 0.5em;
}

.p-modal__content > p {
	margin-bottom: 2em;
}

.p-modal__heading,
.p-modal__heading p {
	text-align: center;
}

.p-modal__content .js-modal--close {
	display: inline-block;
	position: absolute;
	top: 1em;
	right: 1em;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	transform: scale(0.5);
	border: 0;
	cursor: pointer;
}

.p-modal__content .js-modal--close::before {
	content: "";
	display: inline-block;
	position: absolute;
	top: 4px;
	left: 13px;
	width: 6px;
	height: 40px;
	margin: 0;
	padding: 0;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	border: 0;
	background-color: #009e4d;
}

.p-modal__content .js-modal--close::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 4px;
	left: 13px;
	width: 6px;
	height: 40px;
	margin: 0;
	padding: 0;
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	border: 0;
	background-color: #009e4d;
}

.p-modal__content figure {
	width: 80%;
	max-width: 400px;
	margin-right: auto;
	margin-left: auto;
}
