@charset "utf-8";

/***************************************************************
Home
****************************************************************/
/* z-index メモ

*/
/* common */
.home-section {
	position: relative;
	padding: 50px 4vw;
	overflow: hidden;
}
.home-section:nth-child(odd),
.home-section:nth-child(odd) .home-title-label {
	background-color: #f5f5f5;
}
.home-section-content {
	position: relative;
	margin: 0 auto;
}
.child-home-title {
	text-align: center;
}
.child-home-title__title {
	color: var(--home-h2-color);
	letter-spacing: 2px;
	font-size: 28rem;
}
.child-home-title__label {
	margin-top: 4px;
	color: var(--mpee-light-green);
	font-size: 16rem;
}
.child-home-top__title {
	font-size: 24rem;
}
.home-content {
	font-size: 16rem;
}
.home-content p {
	line-height: 1.7;
}

.home .cbutton-B {
	padding-top: calc(1em + 3px);
	padding-bottom: calc(1em + 3px);
	border-width: 2px;
	width: 100%;
	max-width: 400px;
	font-size: 18rem;
}

/* mv */
.home-mv__front {
	position: absolute;
	top: 41%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
	text-align: center;
}
.home-mv__h1 {
	line-height: 1.2;
	letter-spacing: 2px;
	color: #fff;
	font-size: 26rem;
	font-weight: normal;
}
.home-mv__h1-main {
	display: block;
}
.home-mv__h1-main-and {
	font-size: 32rem;
}
.home-mv__h1-main-big {
	font-size: 38rem;
}
.home-mv__h1-small {
	margin-top: 8px;
	display: block;
	font-size: 16rem;
}
html[lang="en-US"] .home-mv__h1-small {
	display: none;
}
.home-mv__hr {
	margin: 16px calc(50vw - 9.1em) 0;
	display: none;
	text-align: left;
	width: 0;
	height: 1px;
	background-color: #fff;
}
.home-mv__hr--sp {
	display: block;
}
.home-mv__text {
	margin-top: 16px;
	line-height: 1;
	color: #fff;
	font-size: 20rem;
	opacity: 0;
}
.home-mv__text--pc {
	display: none;
}

/* practices */
.home-practices-bg__img {
	position: absolute;
	top: 0;
	left: -536px;
	min-width: 100%;
	min-height: 100%;
}
.home-practices-bg__img source,
.home-practices-bg__img img {
	position: absolute;
	min-width: calc(100% + 60px);
	min-height: calc(100% + 60px);
}
.child-home
.home-practices-bg__overlay {
	background-color: rgba(0, 0, 0, .2);
}
.child-home-practices .child-home-title__title,
.child-home-practices .child-home-title__label {
	color: #fff;
}

.child-home-practices-items {
	margin-top: 30px;
	font-size: 0;
}
.child-home-practices-item {
	position: relative;
	padding: 24px 3vw 56px;
	box-sizing: border-box;
	display: block;
	border: 5px solid #f5ffef;
	background-color: #f5ffef;
	transition: .4s;
	font-size: 16rem;
	/* エフェクト用 */
	opacity: 0;
	visibility: hidden;
	transform: translate(0px, 50px);
}
.child-home-practices-item:hover {
	border-color: var(--mpee-light-green);;
	background-color: #e9ffdb;
	text-decoration: none;
}
.child-home-practices-item:nth-child(n+2) {
	margin-top: 20px;
}
.child-home-practices-item span {
	display: block;
}
.child-home-practices-item__title {
	margin-bottom: 18px;
	text-align: center;
	color: var(--mpee-light-green);
	font-size: 22rem;
	font-weight: bold;
}
.child-home-practices-item__bottom {
	position: absolute;
	bottom: 20px;
	right: 3vw;
	text-align: right;
}
.child-home-practices-item__bottom::after {
	margin-right: 4px;
	margin-left: 8px;
	display: inline-block;
}

/* column */
.child-home-column {
	display: none;
}
.child-home-column:has(li.column-archive-li--home) {
	display: block;
}
/* news */
.child-home-news {
	display: none;
}
.child-home-news:has(li.type-news) {
	display: block;
}
.child-home-news ul {
	border-top: 1px solid #ccc;
}
.child-home-news li {
	padding: 16px 0;
	border-bottom: 1px solid #ccc;
	color: #0d0d0d;
}
.child-home-news .wp-block-post-date {
	color: #36414b
}
.child-home-news h3 {
	margin-top: 12px;
	font-family: unset;
	font-size: 16rem;
	font-weight: normal;
}

@media screen and (min-width: 768px) {
	.home-mv__front {
		top: 50%;
	}
	.home-section {
		padding-top: 70px;
		padding-bottom: 70px;
	}
	.child-home-title__label {
		margin-top: 6px;
	}
	.home-mv__h1 {
		font-size: 46rem;
	}
	.home-mv__h1-main-and {
		font-size: 52rem;
	}
	.home-mv__h1-main-big {
		font-size: 58rem;
	}
	.home-mv__h1-small {
		margin-top: 12px;
		font-size: 22rem;
	}
	.home-mv__hr {
		display: none;
		margin: 24px calc(50vw - 14.5em) 0;
	}
	.home-mv__hr--tablet {
		display: block;
	}
	.home-mv__text {
		margin-top: 24px;
		font-size: 32rem;
	}
	.child-home-practices-items {
		margin-top: 42px;
	}
	.child-home-practices-item {
		display: inline-block;
		width: calc(50% - 12px);
		vertical-align: top;
	}
	.child-home-practices-item:nth-child(n+2) {
		margin-top: 0;
	}
	.child-home-practices-item:nth-child(2n) {
		margin-left: 24px;
	}
	.child-home-practices-item:nth-child(n+3) {
		margin-top: 32px;
	}
	.child-home-practices-item__title {
		font-size: 20rem;
	}
	.home-practices-bg__img source,
	.home-practices-bg__img img {
		margin: 0 50%;
		translate: -50%;
	}
	/* recent post */
	.column-archive-li-detail__title-div {
		margin-top: 0;
	}
	.cpt-categories__li {
		margin-right: 0;
	}
		.cpt-categories__li+.cpt-categories__li {
			margin-left: 1em;
		}
	/* news */
	.child-home-news li {
		display: flex;
		align-items: flex-start;
		justify-content: flex-start;
	}
	.child-home-news h3 {
		margin-top: 0;
	}
	.wp-block-post-title a {
		margin-left: 32px;
	}
}
@media screen and (min-width: 840px) {
	.child-home-practices-item__title {
		font-size: 22rem;
	}
}
@media screen and (min-width: 1000px) {
	.home-section {
		padding-right: 40px;
		padding-left: 40px;
	}
}
@media screen and (min-width: 1024px) {
	.home-mv__front {
		top: 294px;
		transform: unset;
	}
	/* home-mv */
	.home-mv__h1 {
		font-size: 62rem;
	}
	.home-mv__h1-main-and {
		font-size: 70rem;
	}
	.home-mv__h1-main-big {
		font-size: 78rem;
	}
	.home-mv__h1-small {
		margin-top: 14px;
		font-size: 24rem;
	}
	.home-mv__hr {
		margin: 24px calc(50vw - 20em) 0;
		display: none;
	}
	.home-mv__hr--pc {
		display: block;
	}
	.home-mv__text {
		margin-top: 24px;
		display: block;
		font-size: 43rem;
	}
	.home-mv__text--sp {
		display: none;
	}
}
@media screen and (min-width: 1200px) {
	/* common */
	a[href^="tel"] {
		pointer-events: none;
	}
	.home-section {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	.main_full > .home-section:last-child {
		padding-bottom: 120px;
	}
	.home-title {
		font-size: 24rem;
	}
	.home-title::before {
		top: 18px;
	}
	/* practices */
	.home-practices-bg__img {
		left: 0;
	}
	.child-home-practices-item {
		display: inline-block;
		padding-right: 16px;
		padding-left: 16px;
		width: calc(100% / 3 - 24px);
	}
	.child-home-practices-item:nth-child(2n) {
		margin-left: 0;
	}
	.child-home-practices-item:nth-child(n+3) {
		margin-top: 0;
	}
	.child-home-practices-item:nth-child(3n),
	.child-home-practices-item:nth-child(3n+2) {
		margin-left: 36px;
	}
	.child-home-practices-item:nth-child(n+4) {
		margin-top: 40px;
	}
	.child-home-practices-item__title {
		font-size: 21rem;
	}
	.child-home-practices-item__bottom {
		right: 16px;
	}
}

@media screen and (min-width: 1280px) {
	.child-home-practices-item__title {
		font-size: 22rem;
	}
}
@media screen and (min-width: 1580px) {
	.home-section {
		padding-right: calc(50vw - 750px);
		padding-left: calc(50vw - 750px);
	}
}