@charset "utf-8";

/* ローダー */
.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-content {
	text-align: center;
}

.loader-logo {
	max-width: 300px;
	height: auto;
	margin-bottom: 20px;
}

.loader-spinner {
	width: 40px;
	height: 40px;
	border: 1px solid #eee;
	border-top: 1px solid #01a0e9;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#wrapper {
	background: url(../img/bg_pc.jpg) top center / cover;
	background-attachment: fixed;
	/* padding: 60px 0 0 0; */
	display: block;
	opacity: 1;
}

#main {
	padding: 0;
}

.com-wrapper {
	min-width: 300px !important;
	z-index: 2;
}

.com-wrapper::after {
	content: '';
	/* background-color: rgba(0,0,0,.55); */
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

@media screen and (max-width: 768px) {
	.com-wrapper:before {
		content: "";
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 0;
		width: 100%;
		height: 100vh;
		background: url("../img/bg_sp.jpg") top center no-repeat;
		background-size: cover;
	}
}

#com-container {
	/* margin: 20px 0; */
}

#main {
	position: relative;
	/* padding: 10px 0 0 0!important; */
	z-index: 2;
	opacity: 0;
	transform: translateY(0);
	transition: opacity 2s ease;
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.sp-br {
	display: none;
}

.bold {
	color: #5bf774;
	font-size: 26px!important;
}

@media screen and (max-width: 768px) {

	.sp-br {
		display: block;
	}
}

#com-header {
	width: 90%;
	margin: 0 auto;
	max-width: 768px;
	/* z-index: 5; */
	position: relative;
}

.logo {
	max-width: 450px;
	opacity: 1;
	margin: 0 auto;
	text-align: center;
	/* padding: 40px 0; */
}

.sec-ttl {
	margin: 1.5rem auto;
	color: #000;
	text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 25px rgba(255, 255, 255, 0.9), 0 0 35px rgba(255, 255, 255, 0.8), 0 0 45px rgba(255, 255, 255, 0.9);
	position: relative;
	z-index: 1;
}

.header-info {
	color: #fff;
	text-align: center;
	padding: 0;
	font-size: small;
}

.com-footer {
	padding: 10px 0!important;
	font-size: 10px!important;
}

.cc {
	color: #000;
}


@media screen and (max-width: 768px) {
	.com-footer {
		font-size: 2vw!important;
	}

	.con-ttl {
		font-size: 26px;
	}

	.header-info {
		padding: 0;
	}

	#com-header img {
		width: 85%;
	}
}

.top-btn-container {
	text-align: center;
	margin: 0 0 50px 0;
}

.top-btn {
	position: relative;
	display: inline-block;
	padding: 1rem 4.4rem;
	border: 1px solid #01a0e9;
	/* border-radius: 5px; */
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	transition: .3s;
	background: #01a0e9;
	max-width: 300px;
	border-radius: 50px;
}

.top-btn:hover {
	background: #fff;
	color: #01a0e9;
}

#footer {
	background: none;
	padding: 12%;
	height: auto;
	margin-bottom: 0;
	text-align: center;
	padding: 0 0 50px!important;
	position: relative;
	min-height: auto;
	/* z-index: 2; */
}

@media screen and (max-width: 768px) {

	#footer {
		background: none;
		padding: 12%;
		height: auto;
		margin-bottom: 0;
		width: 90%;
		margin: 0 auto;
		
	}
}

.ttl {
	width: 350px;
	margin: 0 auto;
	padding: 2vw 0;
}

@media screen and (max-width: 768px) {

	.ttl {
		padding: 0 0 20px;
	}

	.bold {
		font-size: 23px!important;
	}

	.item {
		margin: 0 auto 10vw;
	}

}

/* ギャラリーブロックのスタイル */
.gallery-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	padding: 40px 20px;
	width: 95%;
	max-width: 1280px;
	margin: 0 auto;
	justify-content: center;
}

.gallery-block {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 370px;
	flex: 0 0 370px;
	height: 430px;
}

.gallery-block:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.block-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	flex-shrink: 0;
}

.block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	padding: 10px 10px 0;
}

/* .gallery-block:hover .block-image img {
	transform: scale(1.05);
} */

.block-content {
	padding: 20px;
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.block-title {
	font-size: 1.3rem;
	/* font-weight: bold; */
	color: #333;
	margin: 0 0 15px 0;
	text-align: center;
}

.block-text {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0 0 20px 0;
	text-align: center;
	flex: 1;
	/* padding-right: 50px; */
}

.block-text span {
	display: block;
	margin-top: 10px;
}

.popup-btn {
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	background: #01a0e9;
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.popup-btn:hover {
	background: #0097a7;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

/* Coming Soon スタイル */
.coming-soon {
	/* opacity: 0.6; */
	cursor: default;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-width: 300px;
	transform: none;
}

.coming-soon:hover {
	transform: none !important;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
	cursor: default !important;
}

.coming-soon-text {
	color: #01a0e9 !important;
	font-size: 1.2rem;
	font-weight: bold;
}

.coming-soon .block-content {
	justify-content: center;
	align-items: center;
	text-align: center;
}

.coming-soon-btn {
	background: #01a0e9;
	cursor: default;
}

.coming-soon-btn:hover {
	background: #01a0e9;
	transform: none;
	box-shadow: 0 4px 15px rgba(1, 160, 233, 0.3);
}

/* ポップアップのスタイル */
.popup-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100vh !important;
	background: #ffffffd1;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
	/* 位置の安定化 */
	transform: translateZ(0);
	backface-visibility: hidden;
}

.popup-overlay.active {
	opacity: 1;
	visibility: visible;
}

.popup-content {
	background: white;
	border-radius: 10px;
	max-width: 980px;
	width: 100%;
	max-height: 95vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	margin: 0;
}


.popup-close {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: #01a0e9;
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-close:hover {
	background: #01a0e9;
	transform: scale(1.1);
}

.popup-logo {
	text-align: center;
	padding: 20px 20px 0;
}

.popup-logo img {
	max-width: 220px;
	height: auto;
}

.popup-main {
	margin: 0;
	padding: 0;
}

.popup-image {
	width: 50%;
	height: 300px;
	overflow: hidden;
	margin: 20px auto;
}

.popup-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.popup-title {
	font-size: 1.4rem;
	font-weight: bold;
	color: #01a0e9;
	text-align: center;
	margin: 0 0 20px 0;
	padding: 0 20px;
}

.popup-text {
	color: #666;
	font-size: .9rem;
	line-height: 1.8;
	margin: 0 0 30px 0;
	padding: 0 20px;
	text-align: center;
}

.popup-text span {
	display: block;
	margin-top: 10px;

}

.popup-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	padding: 0 20px 30px;
}

.popup-gallery img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 2px;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-gallery img:hover {
	transform: scale(1.05);
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 10px 20px;
		width: 100%;
	}

	.gallery-block {
		margin: 0 auto;
		max-width: 400px;
		height: auto;
		width: 100%;
		flex: none;
	}

	.block-image {
		height: 180px;
	}

	.block-title {
		font-size: 1.5rem;
	}

	.block-text {
		font-size: 0.85rem;
		padding-right: 45px;
	}

	.popup-overlay {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100vh !important;
		background: #fff;
		padding-bottom: 10px;
		align-items: flex-start;
	}

	.popup-content {
		max-height: 90vh;
		box-shadow: none;
		overflow-y: auto;
	}

	.popup-close {
		position: fixed;
		top: 20px;
		right: 20px;
		z-index: 1001;
	}

	.popup-image {
		width: 100%;
		height: 200px;
	}

	.popup-title {
		font-size: 1.5rem;
	}

	.popup-text {
		font-size: 0.9rem;
	}

	.popup-gallery {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.popup-gallery img {
		height: 150px;
	}
}

@media screen and (max-width: 480px) {
	.gallery-grid {
		padding: 5px 15px;
	}

	.block-content {
		padding: 15px;
	}

	.block-text {
		padding-right: 40px;
	}

	.popup-logo img {
		max-width: 220px;
	}

	.popup-image {
		width: 100%;
		height: 250px;
	}

	.popup-title {
		font-size: 1.3rem;
	}

	.popup-text {
		font-size: 1rem;
		padding: 0 15px;
	}

	.popup-gallery {
		padding: 0 15px 20px;
	}

	.popup-gallery img {
		height: 160px;
	}

	.gallery-grid {
		grid-auto-rows: auto;
	}

	.coming-soon {
		height: 70%;
		min-height: 120px;
	}
}