@charset "utf-8";

/* ============================
purpose.css　もくじ
-------------------------------
1.ブレイクポイント
2.メインビジュアル
3.プラン領域
3-1.モーダル

============================== */

/* ===========================
1.ブレイクポイント
============================== */
@media screen and (min-width: 30em) { /* 480px */
}
@media screen and (min-width: 40em) { /* 640px */
}
@media screen and (min-width: 48em) { /* 768px：PC用 */
}
@media screen and (min-width: 64em) {/* 1024px */
}
@media screen and (min-width: 80em) {/* 1280px */
}

/* ===========================
2.メインビジュアル
============================== */
#main_visual {
	background-image: url(../img/main-visual/mv_purpose.jpg);
}

/* ===========================
3.プラン領域
============================== */
.plan_area {
	margin: 30px auto;
	border-bottom: var(--color-pale-gray) solid 10px;
	padding-bottom: 34px;
}
.plan_area:last-child {
	margin: 30px auto 0;
	border-bottom: none;
}
.plan_area .text_area .ttl {
	position: relative;
	margin-bottom: 0.5em;
	padding-bottom: 0.75em;
	font-size: 20px;
	color: var(--secondary-color);
	text-align: left;
}
.plan_area .text_area .ttl:after {
	position: absolute;
	display: block;
	content: '';
	bottom: 0;
	left: 0;
	width: 2em;
	height: 1px;
	border-bottom: #444 solid 1px;
}
.plan_area .text_area .txt {
	line-height: 1.7;
}
.plan_area .text_area .lg_pc_inline {
	display: none;
}
.plan_area .image_area {
	margin: 0.75em auto 1em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.plan_area .image_area .image_group {
	display: flex;
	flex-direction: column;
	row-gap: 0.5em;
}
.plan_area .image_area .main_image {
	margin: 0;
	text-align: center;
}
.plan_area .image_area .movie_box {
	margin: 0.5em auto;
	width: 420px;
	max-width: 100%;
	aspect-ratio: 16 / 9;
}
.plan_area .image_area .movie_box a {
	position: relative;
	display: block;
	transition: all 0.3s;
}
.plan_area .image_area .movie_box a .main_img {
	display: block;
	border: #232323 solid 1px;
	width: 100%;
	height: 100%;
	line-height: 1;
}
.plan_area .image_area .movie_box a .main_img * {
	display: block;
}
.plan_area .image_area .movie_box a .cover {
	position: absolute;
	top: 0;
	left: 0;
}
.plan_area .image_area .movie_box a:hover {
	filter: brightness(125%);
}
.plan_area .image_area .arrow {
	text-align: center;
}
.plan_area .image_area .arrow .right,
.plan_area .image_area .arrow .under {
	max-width: 100%;
	height: auto;
}
.plan_area .image_area .arrow .right {
	display: none;
}
#innerNav + .plan_area .image_area .main_image:first-child {
	margin-bottom: 0.75em;
}
#innerNav + .plan_area .image_area .main_image picture {
	position: relative;
}
#innerNav + .plan_area .image_area .main_image picture:after {
	position: absolute;
	content: '';
	bottom: 0;
	left: 6px;
	width: calc(100% - 12px);
	height: 2px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
	z-index: 0;
}
.button_area .ttl_sm {
	margin-bottom: 0.5em;
	color: var(--secondary-color);
}
.button_area .scene_list {
	margin-bottom: 1em;
	margin-left: -0.5em;
	max-width: 560px;
}
.button_area .scene_list .list_item {
	position: relative;
	display: inline-block;
	padding: 0 0.5em;
	font-size: 14px;
	color: var(--primary-color);
	line-height: 1.7;
}
.button_area .scene_list .list_item:after {
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	content: '';
	border-right: var(--primary-color) solid 1px;
	width: 1px;
	height: 1em;
	transform: translateY(-45%);
}
.button_area .button_row .button_box {
	margin-bottom: 0.5em;
	text-align: right;
}
.button_area .button_row .button_box:last-child {
	margin-bottom: 0;
}
.button_area .button_row .button_box a {
	display: inline-flex;
	justify-content: space-between;
	padding: 0.75em 1em 0.875em 1em;
	min-width: 14.5em;
	max-width: 100% !important;
	transition: all 0.3s;
}
.button_area .button_row .button_box a:hover,
.button_area .button_row .button_box a:active {
	text-decoration: none;
}
.button_area .button_row .button_box a span {
	display: inline-block;
	text-decoration: none;
}
.button_area .button_row .button_box a.to_price {
	border: var(--primary-color) solid 1px;
	background-color: var(--primary-color);
	color: #fff;
	transition: all 0.3s;
}
.button_area .button_row .button_box a.to_inquiry {
	border: var(--secondary-color) solid 1px;
	background-color: var(--secondary-color);
	color: #fff;
	transition: all 0.3s;
}
.button_area .button_row .button_box a.to_price:hover {
	background-color: #fff;
	color: var(--primary-color);
}
.button_area .button_row .button_box a.to_price:hover span.txt {
	text-decoration: underline;
}
.button_area .button_row .button_box a.to_inquiry:hover {
	background-color: #fff;
	color: var(--secondary-color);
}
.button_area .button_row .button_box a.to_inquiry:hover span.txt {
	text-decoration: underline;
}
@media screen and (min-width: 30em) { /* 480px */
	.plan_area {
		margin: 40px auto;
		border-bottom: var(--color-pale-gray) solid 10px;
		padding-bottom: 44px;
	}
	.plan_area:last-child {
		margin: 40px auto 0;
		border-bottom: none;
	}
	.plan_area {
		margin-bottom: 40px;
	}
	.plan_area .text_area .ttl {
		font-size: 24px;
	}
	.plan_area .image_area {
		margin-top: 20px;
		width: 585px;
		max-width: 100%;
	}
	.plan_area .image_area .image_group {
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	.plan_area .image_area .image_group .main_image {
		width: 285px;
		max-width: 42%;
	}
	.plan_area .image_area .arrow {
		padding: 8px;
	}
	.plan_area .image_area .arrow .right {
		display: inline;
	}
	.plan_area .image_area .arrow .under {
		display: none;
	}
	.button_area .ttl_sm {
		font-size: 18px;
	}
	.button_area .scene_list {
		margin-bottom: 1.25em;
	}
	.button_area .button_row {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 30px;
		row-gap: 20px;
		width: calc(100% - 20px);
	}
	.button_area .button_row .button_box {
		margin-bottom: 0;
	}
}
@media screen and (min-width: 40em) { /* 640px */
	.plan_area {
		margin: 50px auto;
		border-bottom: var(--color-pale-gray) solid 16px;
		padding-bottom: 54px;
	}
	#innerNav + .plan_area {
		margin: 60px auto 0;
	}
	.plan_area:last-child {
		margin: 50px auto 0;
		border-bottom: none;
	}
}
@media screen and (min-width: 48em) { /* 768px：PC用 */
	.plan_area {
		margin: 50px auto;
		border-bottom: none;
		padding-bottom: 54px;
		display: grid;
		grid-template-columns: minmax(283px, 33.5%) 1fr;
		grid-template-rows: auto 1fr;
	}
	#innerNav + .plan_area {
		margin: 80px auto 0;
	}
	.plan_area:last-child {
		margin: 50px auto 0;
	}
	.plan_area:last-child {
		margin-bottom: 30px;
	}
	.plan_area .text_area {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
		padding-left: 3%;
		padding-bottom: 1.5em;
	}
	.plan_area .image_area {
		grid-column: 1 / 2;
		grid-row: 1 / 3;
		margin-top: 0;
		margin-bottom: 0;
		background-color: var(--color-pale-gray);
		padding: 20px;
	}
	.plan_area .image_area .image_group .main_image {
		width: 100%;
		max-width: 100%;
	}
	.plan_area .image_area .movie_box {
		margin: auto 0;
		max-width: calc(108% - 20px);
	}
	.plan_area .button_area {
		grid-column: 2 / 3;
		grid-row: 2 / 3;
		padding-left: 3%;
	}
	.plan_area .text_area .ttl {
		font-size: 28px;
	}
	.plan_area .text_area .txt {
		font-size: 16px;
		line-height: 1.7;
	}
	.plan_area .image_area .image_group {
		flex-direction: column;
	}
	.plan_area .image_area .arrow .right {
		display: none;
	}
	.plan_area .image_area .arrow .under {
		display: inline;
	}
	.button_area .ttl_sm {
		font-size: 20px;
	}
	.button_area .button_row {
		justify-content: flex-start;
	}
	.button_area .scene_list .list_item {
		font-size: 15px;
	}
	.button_area .button_row .button_box a {
		font-size: 15px;
	}
}
@media screen and (min-width: 64em) {/* 1024px */
	.plan_area {
		margin: 60px auto;
		border-bottom: none;
		padding-bottom: 64px;
	}
	#innerNav + .plan_area {
		margin: 90px auto 0;
	}
	.plan_area:last-child {
		margin: 60px auto 0;
	}
	.plan_area .text_area {
		padding-left: 5%;
	}
	.plan_area .button_area {
		padding-left: 5%;
	}
	.plan_area .text_area .ttl {
		font-size: 32px;
	}
	.plan_area .text_area .lg_pc_inline {
		display: inline;
	}
	.button_area .scene_list .list_item {
		font-size: 16px;
	}
	.button_area .button_row .button_box a {
		padding: 0.75em 1.5em 0.875em 1.5em;
		font-size: 16px;
	}
}
/*---- 3-1.モーダル ----*/
.md-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .7;
	z-index: 9999;
}
.md-contents {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 95%;
	height: auto;
	max-height: 100vw;
	overflow: hidden;
	transform: translateY(-50%) translateX(-50%);
	z-index: 10000;
}
.md-inner {
	padding: 48px 10px 10px;
	background: #fff;
	height: auto;
	max-width: calc(100% - 10px);
	max-height: calc(100% - 30px);
	max-height: calc(100svh - 30px);
}
.md-xmark {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 25px;
	height: 22px;
	z-index: 9999;
	cursor: pointer;
}
.md-xmark span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #333;
	border-radius: 4px;
}
.md-xmark span:nth-of-type(1) {
	top: 0;
	transform: translateY(10px) rotate(-45deg);
}
.md-xmark span:nth-of-type(2) {
	bottom: 0;
	transform: translateY(-10px) rotate(45deg);
}
.md-inner .movie_box {
	margin: 0 auto;
	width: 450px;
	height: auto;
	max-width: calc(100% - 10px);
	max-height: calc(100% - 30px);
	aspect-ratio: 16 / 9;
}
.md-inner .movie_box iframe {
	border: none;
	width: 100%;
	max-width: 100%;
	max-width: 100svw;
	/*max-height: calc(100% - 30px);*/
	aspect-ratio: 16 / 9;
	object-fit: scale-down;
}
@media screen and (min-width: 30em) { /* 480px */
	.md-inner {
		padding: 48px 16px 16px;
	}
	.md-xmark {
		top: 16px;
		right: 20px;
	}
}
@media screen and (min-width: 40em) { /* 640px */
	.md-contents {
		width: 640px;
		max-width: calc(100% - 40px);
	}
	.md-inner {
		padding: 56px 20px 20px;
	}
	.md-xmark {
		top: 20px;
		right: 24px;
	}
	.md-inner .movie_box {
		width: 540px;
		max-width: 100%;
	}
}
@media screen and (min-width: 48em) { /* 768px：PC用 */
	.md-contents {
		width: 740px;
		max-width: calc(100% - 40px);
	}
	.md-inner {
		padding: 24px 48px 24px 24px;
	}
	.md-xmark {
		top: 24px;
		right: 20px;
	}
	.md-inner .movie_box {
		width: 660px;
		max-width: 100%;
	}
}
@media screen and (min-width: 64em) {/* 1024px */
	.md-contents {
		width: 1060px;
		max-width: calc(100% - 40px);
	}
	.md-inner {
		padding: 28px 48px;
	}
	.md-inner .movie_box {
		width: 960px;
	}
	.md-xmark {
		right: 24px;
	}
}

