#main_header {
	max-width: 1080px;
	margin: 80px auto 40px;
}
#main_header h1 {
	font-size: 3.6rem;
	padding: 0 0 10px;
}
#main_a {
	background-color: #fff;
	background-image: radial-gradient(circle, #00b3e0 1px, transparent 1px), radial-gradient(circle, #00b3e0 1px, transparent 1px);
	background-position: 0 0, 20px 40px;
	background-size: 40px 80px;
}
#main_body {
	width: 100%;
	max-width: none;
	padding: 0;
}
#main_body div[class*="detail"] {
	margin: 0 auto;
}
#main_a #main_body div.detail_free {
	clear: both;
	width: 100%;
	margin: 60px 0 80px;
	padding: 0px;
}
#main_body h2 {
	width: fit-content;
	min-width: 750px;
	background: #fff url(/img/site/workation/about/about-line.png) no-repeat center bottom / contain;
}
#main_body h2,
#main_body h3 {
	padding: 0;
	margin: 0 auto;
	position: relative;
}
.about_point h2 .sp {
	position: relative;
}
#main_body h3 {
	font-size: 2.8rem;
	margin-bottom: 10px;
}
#main_body h3 > .txt_upper {
	font-size: 2.2rem;
}

.bg_whitesq {
	background: #fff;
	box-sizing: border-box;
	width: 100%;
	max-width: 1080px;
	margin: 30px auto;
	padding: 30px;
}
.about_point .bg_whitesq {
	padding: 30px 30px 10px;
}
p {
	font-size: 2.2rem;
	line-height: 1.8;
}
.txt_upper {
	text-transform: uppercase;
}

/* -------------------- メインイメージ -------------------- */

#main_body div[class*="detail"]:has(h2):has(.imgOnly):first-child {
	background: none;
	position: relative;
	width: 100%;
}
#main_body div[class*="detail"]:has(h2):has(.imgOnly):first-child h2 {
	box-sizing: border-box;
	width: fit-content;
	min-width: 500px;
	font-size: 3.6rem;
	text-align: center;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	z-index: 10;
	background: url(/img/site/workation/top_line.png) no-repeat center bottom / contain;
}
#main_body div[class*="detail"]:has(h2):has(.imgOnly):first-child h2 + .imgOnly {
	margin: 0;
	filter: none;
}
#main_body div[class*="detail"]:has(h2):has(.imgOnly):first-child h2 + .imgOnly img {
	width: 100vw !important;
	height: auto !important;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

/* -------------------- 各項目 -------------------- */

#main_body div[class*="detail"] p.imgOnly {
	margin: 0;
	filter: drop-shadow(20px 20px 0 #00b3e0);
}
#main_body div[class*="detail"].haveTxtOnly p:not(.imgOnly) {
	width: calc(100% - 320px);
	margin-top: 0;
}
#main_body div[class*="detail"].haveTxtOnly p.imgOnly {
	width: 300px;
	float: right;
	margin-bottom: 30px;
}
#main_body div[class*="detail"].haveTxtOnly p.imgOnly img {
	width: 100% !important;
	height: auto !important;
}

#main_body div.detail_free:nth-of-type(1) {
	background: url(/img/site/workation/about/bg_emblem.png) no-repeat center center / contain;
}

.about_point {
	background-color: #fff;
	background-image: radial-gradient(circle, #00B3DE 1px, transparent 1px), radial-gradient(circle, #00b3e0 1px, transparent 1px);
	background-position: 0 0, 10px 20px;
	background-size: 20px 40px;
	padding: 60px 0 10px;
}
.about_point .bg_whitesq {
	padding-right: 50px;
}
#main_body div[class*="detail"] img#about_point_h2 {
	position: absolute;
	top: 10px;
	right: 2em;
	transform: translate(50%, -100%);
}

#main_body .about_point h2,
#main_body .about_movie h2 {
	font-size: 3.6rem;
	width: fit-content;
	max-width: 1080px;
	text-align: center;
	margin: 0 auto;
	padding: 5px 5px 15px;
}

.about_movie {
	background-color: #ffffff;
	background-image: radial-gradient(circle, #00b3e0 1px, transparent 1px), radial-gradient(circle, #00b3e0 1px, transparent 1px);
	background-position: 0 0, 5px 5px;
	background-size: 10px 10px;
	padding: 20px 0;
}

#main_body iframe {
	width: calc(100% - 20px);
	aspect-ratio: 16 / 9;
	height: auto;
	filter: drop-shadow(20px 20px 0 #00b3e0);
	margin-bottom: 20px;
}

@media screen and (max-width: 1099px) {

	p { font-size: 1.8rem; }

	#mymainback {
		width: 100%;
	}

	#main_a #main_body div.detail_free {
		margin: 40px 0 60px;
	}

	#main_body .about_point h2, #main_body .about_movie h2 {
		max-width: none;
		width: 80%;
	}
	.about_point {
		padding: 60px 20px 10px;
	}
	.about_movie {
		padding: 20px;
	}

}

@media screen and (max-width: 670px) {
	#main_header h1 {
		font-size: 4.8vw;
	}
	#main_body div[class^="detail_"] {
		padding: 0;
	}
	#main_body div[class*="detail"].haveTxtOnly p.imgOnly {
		width: 100%;
		max-width: 300px;
	}

	#sp_page_index_link_wrap {
		display: none;
	}

	#main_body p, #main_body h3 {
		width: 100%;
	}
	#main_body .about_point h2, #main_body .about_movie h2 {
		font-size: 4.8vw;
		min-width: auto;
		width: fit-content;
		background: none;
	}
	#main_body div[class*="detail"].haveTxtOnly p:not(.imgOnly) {
		width: 100%;
	}
	h2 .sp {
		display: block;
		margin: 0 auto;
		background: #fff url(/img/site/workation/about/about-line_sp1.png) no-repeat center bottom / contain;
		padding-bottom: 5px;
	}
	.about_point h2 .sp:last-child {
		margin-top: 50px;
		width: fit-content;
		padding: 10px;
		background: #fff url(/img/site/workation/about/about-line_sp2.png) no-repeat center bottom / contain;
	}
	.bg_whitesq {
		width: auto;
		margin: 30px;
	}
	.about_point .bg_whitesq {
		display: flex;
		flex-direction: column;
		padding-right: 30px;
		align-items: center;
	}

}