@charset "utf-8";

@media screen and (min-width:700px) {
	.sp_only {
		display: none;
	}
}
@media screen and (max-width:699px) {
	.pc_only {
		display: none;
	}
}
#mainimg {
	background-image: url(../images/mv1_sp.png) !important;
}
@media screen and (min-width: 450px) {
	#mainimg {
		background-image: url(../images/mv1.png) !important;
	}
    #mainimg .text {
        font-size: 3.3vw !important;
    }
}

.dl1 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}

.dl1 > div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: calc(33% - 1.5rem);

	background: var(--base-color) url(../images/bg-dot.png) no-repeat right bottom / 100px;
    color: var(--base-inverse-color);
    padding: 2rem 2rem 3rem;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.dl1 dt {
	font-size: 1.4rem;
	font-weight: bold;
}
.dl1 dt span {
	font-size: 0.9rem;
}

.dl1 dd {
	font-size: 1.1rem;
	line-height: 1.7;
}

.p_intro {
	font-size: 1.1rem;
	line-height: 1.6;
	text-align: center;
	margin-top: -2.5rem;
	margin-bottom: 5rem;
}

/* サムネイル表示 */
.image_box1.thumbnail-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
	gap: 10px;
	width: 100%;
}

.image_box1.thumbnail-gallery figure {
	margin: 0;
	width: calc(50% - 0.5rem);
	max-width: 300px;
}

.image_box1.thumbnail-gallery img {
	width: 100%;
	height: auto;
	cursor: pointer;
	transition: opacity 0.3s, transform 0.3s;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.image_box1.thumbnail-gallery img:hover {
	opacity: 0.8;
	transform: scale(1.05);
}

/* Lightbox2のカスタマイズ */
.thumbnail-gallery a {
	display: block;
	text-decoration: none;
}

.intro-box {
	font-size: 1.2rem;
	line-height: 1.6;
	padding: 1.5rem 1.5rem;
	background-color: var(--primary-color);
	border: 2px solid var(--primary-color);
	border-radius: 15px;
	margin: 2rem 0;
}

.table-contact {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table-contact tr {
	border-bottom: 1px solid #e8e8e8;
	transition: background-color 0.2s ease;
}

.table-contact tr:last-child {
	border-bottom: none;
}

.table-contact tr:hover {
	background-color: #fafafa;
}

.table-contact th {
	width: 30%;
	padding: 1.2rem 1.5rem;
	background-color: #f8f8f8;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--base-inverse-color);
	text-align: left;
	vertical-align: top;
	border-right: 1px solid #e8e8e8;
	position: relative;
}

.table-contact th::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 60%;
	background-color: #ddd;
}

.table-contact th span.required {
	color: rgb(201, 14, 14);
	font-size: 0.8rem;
}

.table-contact td {
	padding: 1.2rem 1.5rem;
	vertical-align: middle;
}

.table-contact input[type="text"],
.table-contact input[type="email"],
.table-contact input[type="tel"],
.table-contact textarea {
	width: 100%;
	max-width: 500px;
	padding: 0.75rem 1rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 0.95rem;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background-color: #fff;
}

.table-contact input[type="text"]:focus,
.table-contact input[type="email"]:focus,
.table-contact input[type="tel"]:focus,
.table-contact textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(254, 236, 55, 0.1);
}

.table-contact textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

/* レスポンシブ対応 */
@media screen and (max-width: 699px) {
	.table-contact {
		display: block;
		margin: 1.5rem 0;
	}
	
	.table-contact tr {
		display: block;
		border-bottom: 1px solid #e8e8e8;
		padding: 1rem 0;
	}
	
	.table-contact tr:last-child {
		border-bottom: 1px solid #e8e8e8;
	}
	
	.table-contact th {
		display: block;
		width: 100%;
		padding: 0.8rem 0 0.5rem;
		background-color: transparent;
		border-right: none;
		font-size: 0.9rem;
	}
	
	.table-contact th::after {
		display: none;
	}
	
	.table-contact td {
		display: block;
		width: 100%;
		padding: 0.5rem 0 0.8rem;
	}
	
	.table-contact input[type="text"],
	.table-contact input[type="email"],
	.table-contact input[type="tel"],
	.table-contact textarea {
		max-width: 100%;
	}
}

.p-privacy-policy {
	font-size: 0.9rem;
	text-align: center;
	margin-top: 1rem;
}

.input-submit {
	background-color: var(--primary-color);
	color: var(--base-inverse-color);
	border: 4px solid #000;
	padding: 0.8rem 2.5rem;
	border-radius: 10px;
	font-size: 1.4rem;
	cursor: pointer;
}

.input-submit:hover {
	background-color: #000;
	color: var(--primary-color);
}

.cd-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}

.cd-box-item {
	width: calc(50% - 1rem);
	max-width: 300px;
}

.cd-box-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.youtube-box {
	width: 100%;
	max-width: 560px;
	height: 315px;
	margin: 1rem auto;
}

.youtube-box iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.inner-box {
	max-width: 330px;
	margin: 0 auto;
}

.page-top {
	position: fixed;
	bottom: 25px;
	right: 20px;
	z-index: 99;
}
.page-top a {
	display: block;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--primary-color);
	border: 3px solid #000;
	text-align: center;
	position: relative;
	opacity: 0.9;
}
.page-top a i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.4rem;
}
@media screen and (min-width:700px) {
	.page-top {
		bottom: 40px;
		right: 30px;
	}
	.page-top a {
		width: 70px;
		height: 70px;
	}
}

#errorMessage {
	color: rgb(201, 14, 14);
	width: 100%;
	margin: 20px auto 10px;
	background-color: #f8d7d7;
	border: 1px solid #f1a3a3;
	border-radius: 5px;
	padding: 1rem 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	display: none;
}
@media screen and (min-width:700px) {
	#errorMessage {
		width: 55%;
	}
}


#sns {
	padding-top: 0;
}
.c1_sns {
	max-width: 500px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.box-facebook {
	max-width: 500px;
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}
.box-facebook iframe {
	width: 350px !important;
	display: block;
	margin: 0 auto;
}
@media screen and (min-width:700px) {
	.box-facebook iframe {
		scale: 1.1;
	}
}