/* ==============================================================
Template : page-lp.php （独自ヘッダー・フッターの固定ページテンプレート）
============================================================== */

html {
	scroll-behavior: smooth;
}

#lp-facilities,
#company {
	scroll-margin-top: 80px;
}

.lp-top,
.lp-top * {
	box-sizing: border-box;
}

.lp-top {
	margin: 0;
	overflow-x: hidden;
	color: #666;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.lp-top a {
	text-decoration: none;
}

.u-sp-only {
	display: inline;
}

.u-pc-only {
	display: none;
}

@media (min-width: 768px) {
	.u-sp-only {
		display: none;
	}

	.u-pc-only {
		display: inline;
	}
}

.lp-top .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header / Nav
=========================== */
.lp-header {
	position: relative;
	z-index: 10;
	background: #fff;
}

.lp-header__inner {
	width: 100%;
	margin: 0 auto;
	padding: 20px 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.lp-logo {
	display: inline-flex;
	align-items: center;
}

.lp-logo img {
	height: 32px;
	width: auto;
}

.lp-nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.lp-nav__list {
	display: flex;
	align-items: center;
	gap: 25px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-nav__list a {
	color: #333;
	font-size: 15px;
	font-weight: bold;
}

.lp-nav__list a:hover {
	color: #ff7800;
}

.lp-nav__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border: 1px solid #333;
	border-radius: 999px;
	font-size: 14px;
	font-weight: bold;
	color: #333;
	white-space: nowrap;
}

.lp-nav__contact:hover {
	background: #333;
	color: #fff;
}

.lp-nav__contact:hover .lp-nav__contact-icon {
	filter: brightness(0) invert(1);
}

.lp-nav__contact-icon {
	height: 16px;
	width: auto;
}

.lp-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.lp-nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: #333;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-nav-toggle.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.lp-nav-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.lp-nav-toggle.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Hero
=========================== */
.lp-hero {
	position: relative;
	z-index: 2;
	overflow: hidden;
	padding: 20px 0 70px;
	text-align: center;
}

.lp-hero__body {
	position: relative;
	z-index: 1;
	margin: 0 auto;
	text-align: left;
	padding: 20px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 16px;
}

.lp-hero__body h1,
.lp-hero__body h2,
.lp-hero__body h3 {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	font-size: 30px;
	color: #ff7800;
	text-align: center;
	margin: 0 0 20px;
}

.lp-hero__body p {
	font-size: 14px;
	line-height: 1.7;
	text-align: justify;
	color: #000;
	margin: 0 0 1.4em;
}

.lp-hero__btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 250px;
	margin: 10px 0 50px;
	padding: 10px 24px;
	border: 5px solid #ff7800;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-weight: bold;
	font-size: 15px;
}

.lp-hero__btn i {
	color: #ff7800;
}

.lp-hero__btn:hover {
	background: #ff7800;
	color: #fff;
}

.lp-hero__btn:hover i {
	color: #fff;
}

/* Hero - PC layout（見本画像に合わせた配置）
=========================== */
@media (min-width: 768px) {
	.lp-header {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		background: transparent;
	}

	.lp-hero {
		padding: clamp(150px, 39.6vw, 500px) 0 80px;
		background-image: url('../img/lp/pc_bk01.png');
		background-repeat: no-repeat;
		background-position: top center;
		background-size: 100% auto;
	}

	.lp-hero__body {
		max-width: 450px;
		margin-top: -10px;
	}

	.lp-hero__body h1,
	.lp-hero__body h2,
	.lp-hero__body h3 {
		white-space: nowrap;
		font-size: clamp(20px, 2.4vw, 28px);
	}

	.lp-hero::before,
	.lp-hero::after {
		content: '';
		position: absolute;
		top: calc(clamp(150px, 39.6vw, 500px) + 50px);
		bottom: 0;
		width: 320px;
		background-repeat: no-repeat;
		background-position: center top;
		background-size: contain;
		pointer-events: none;
		z-index: 0;
	}

	.lp-hero::before {
		left: 60px;
		top: calc(clamp(150px, 39.6vw, 500px) + 250px);
		width: 300px;
		background-image: url('../img/lp/pc_bk02.svg');
	}

	.lp-hero::after {
		right: 60px;
		top: calc(clamp(150px, 39.6vw, 500px) + 100px);
		width: 240px;
		background-image: url('../img/lp/pc_bk03.svg');
	}
}

/* Hero - 大画面向け調整
=========================== */
@media (min-width: 1400px) {
	.lp-hero__body {
		max-width: 500px;
		margin-top: 0;
	}
}

@media (min-width: 1600px) {
	.lp-hero__body {
		max-width: 550px;
		margin-top: 30px;
	}
}

/* Facilities
=========================== */
.lp-facilities {
	position: relative;
	z-index: 1;
	margin-top: -40px;
	padding: 90px 0 80px;
	background: #fef4e5;
}

.lp-facilities::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 1920 / 55.39;
	transform: translateY(calc(-100% + 1px));
	background-image: url('../img/lp/wave-facilities-top.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
}

.lp-facilities__deco--hoshi {
	position: absolute;
	right: 110px;
	bottom: -40px;
	width: 80px;
	height: auto;
	pointer-events: none;
	z-index: 1;
}

.lp-facilities::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 1920 / 55.39;
	transform: translateY(calc(100% - 1px)) scaleY(-1);
	background-image: url('../img/lp/wave-facilities-top.svg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
}

.lp-facilities__ttl {
	text-align: center;
	margin: 0 0 40px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	font-size: 42px;
	color: #ff7800;
	line-height: 1.3;
}

.lp-facilities__ttl span {
	display: block;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: #333;
	margin-top: 4px;
}

.lp-facilities__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.lp-card {
	position: relative;
	display: block;
	min-width: 0;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.lp-card--nolink:hover {
	transform: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.lp-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	border-bottom: 1px solid #eee;
	min-height: 60px;
}

.lp-card__logo img {
	max-height: 80px;
	max-width: 90%;
}

.lp-card__photo {
	width: 100%;
	background: #f2f2f2;
}

.lp-card__photo img {
	width: 100%;
	height: auto;
	display: block;
}

.lp-card__body {
	padding: 18px 40px 24px 20px;
}

.lp-card__title {
	font-weight: bold;
	font-size: 17px;
	line-height: 1.5;
	margin: 0 0 8px;
	color: #ff7800;
	overflow-wrap: anywhere;
}

.lp-card__address {
	font-size: 12px;
	color: #000;
	margin: 0 0 12px;
	overflow-wrap: anywhere;
}

.lp-card__tags {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.lp-tag {
	display: inline-block;
	width: 150px;
	text-align: center;
	padding: 5px 12px;
	border-radius: 0;
	font-size: 11px;
	font-weight: bold;
	color: #fff;
	background: #ff7800;
}

.lp-tag--green {
	background: #009844;
}

.lp-card__arrow {
	position: absolute;
	right: 18px;
	bottom: 15px;
	color: #ff7800;
	font-size: 18px;
}

/* 緑系施設（copain / calme）はタイトル・矢印も緑に統一 */
.lp-card--green .lp-card__title,
.lp-card--green .lp-card__arrow {
	color: #009844;
}

.lp-card--blue .lp-card__title,
.lp-card--blue .lp-card__arrow {
	color: #0079c2;
}

/* Company
=========================== */
.lp-company {
	position: relative;
	padding: 140px 0 40px;
	background: #fff;
}

.lp-company__illust {
	position: absolute;
	top: 0;
	left: 20px;
	width: 140px;
	height: auto;
}

.lp-company__ttl {
	text-align: center;
	margin: 0 0 30px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	font-size: 42px;
	color: #222;
	line-height: 1.3;
}

.lp-company__ttl span {
	display: block;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: #333;
	margin-top: 4px;
}

.lp-company__catch {
	text-align: center;
	margin: 0 0 50px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	font-size: 28px;
	color: #ff7800;
}

.lp-company__content {
	display: flex;
	align-items: flex-start;
	gap: 80px;
}

.lp-company__table {
	flex: 1 1 55%;
	margin: 0;
}

.lp-company__row {
	display: flex;
	padding: 10px 0;
	border-bottom: 1px solid #ccc;
	font-size: 13px;
	line-height: 1.7;
}

.lp-company__row dt {
	flex: 0 0 180px;
	font-weight: bold;
	color: #333;
}

.lp-company__row dd {
	flex: 1;
	margin: 0;
	color: #333;
}

.lp-company__map {
	flex: 1 1 45%;
	align-self: stretch;
}

.lp-company__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 400px;
	border: 0;
}

@media (min-width: 768px) {
	.lp-company__illust {
		top: 40px;
		left: 60px;
	}
}

/* Footer
=========================== */
.lp-footer {
	position: relative;
	overflow: hidden;
	padding: 40px 0 40px;
	background: #fff;
	text-align: center;
}

.lp-footer__deco {
	display: none;
	position: absolute;
	pointer-events: none;
}

.lp-footer__deco--dots {
	top: 70px;
	left: 80px;
	width: 240px;
	height: auto;
}

.lp-footer__deco--kid {
	top: 70px;
	right: 80px;
	width: 160px;
	height: auto;
}

@media (min-width: 768px) {
	.lp-footer__deco {
		display: block;
	}
}

.lp-footer__catch {
	margin: 0 0 30px;
	color: #ff7800;
	font-weight: bold;
	font-size: 16px;
	line-height: 1.8;
}

.lp-footer__btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 250px;
	margin: 0 0 40px;
	padding: 10px 24px;
	border: 5px solid #ff7800;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-weight: bold;
	font-size: 15px;
}

.lp-footer__btn i {
	color: #ff7800;
}

.lp-footer__btn:hover {
	background: #ff7800;
	color: #fff;
}

.lp-footer__btn:hover i {
	color: #fff;
}

.lp-footer__tel-label {
	margin: 0 0 4px;
	font-weight: bold;
	font-size: 14px;
	color: #333;
}

.lp-footer__tel {
	margin: 0 0 6px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	font-size: 34px;
}

.lp-footer__tel a {
	color: #000;
}

.lp-footer__tel-note {
	margin: 0 0 60px;
	font-size: 12px;
	color: #666;
}

.lp-footer__logo {
	width: 160px;
	height: auto;
	margin: 0 0 20px;
}

.lp-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 12px;
	color: #333;
}

.lp-footer__links {
	display: flex;
	gap: 20px;
}

.lp-footer__links a {
	color: #333;
}

/* Responsive
=========================== */
@media (max-width: 991px) {
	.lp-nav__list {
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.lp-header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background: #fff;
	}

	.lp-header__inner {
		padding: 16px 20px;
	}

	.lp-logo img {
		height: 26px;
	}

	.lp-nav-toggle {
		display: flex;
	}

	.lp-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
	}

	.lp-nav.is-open {
		max-height: 80vh;
		overflow-y: auto;
	}

	.lp-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px 20px;
	}

	.lp-nav__list a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid #f0f0f0;
	}

	.lp-nav__contact {
		margin: 10px 20px 20px;
		justify-content: center;
	}

	.lp-hero {
		padding: clamp(220px, 102.3vw, 500px) 0 50px;
		background-image: url('../img/lp/sp_bk01.png');
		background-repeat: no-repeat;
		background-position: top center;
		background-size: 100% auto;
	}

	.lp-hero__body h1,
	.lp-hero__body h2,
	.lp-hero__body h3 {
		font-size: 22px;
	}

	.lp-facilities {
		margin-top: -24px;
		padding: 60px 0 50px;
	}

	.lp-facilities__ttl {
		font-size: 30px;
	}

	.lp-facilities__deco--hoshi {
		right: 60px;
		width: 60px;
	}

	.lp-facilities__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.lp-card__title {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.lp-card__body {
		padding: 14px 16px 18px 14px;
	}

	.lp-card__tags {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
	}

	.lp-tag {
		width: 45%;
		text-align: center;
	}

	.lp-card__arrow {
		position: static;
		margin-left: auto;
	}

	.lp-company {
		padding: 60px 0 0;
	}

	.lp-company__illust {
		top: 20px;
		width: 90px;
	}

	.lp-company__ttl {
		font-size: 30px;
	}

	.lp-company__catch {
		font-size: 20px;
		margin-bottom: 40px;
	}

	.lp-company__content {
		flex-direction: column;
		gap: 30px;
	}

	.lp-company__table {
		width: 100%;
	}

	.lp-company__row dt {
		flex-basis: 100px;
		font-size: 14px;
	}

	.lp-company__row dd {
		font-size: 14px;
	}

	.lp-company__map iframe {
		min-height: 280px;
	}

	.lp-footer {
		padding: 20px 0 30px;
	}

	.lp-footer__tel {
		font-size: 26px;
	}
}

/* page-base.php / page-base02.php / page-base03.php（第一セクションなし）用の調整
=========================== */
.page-template-page-base-php .lp-header,
.page-template-page-base02-php .lp-header,
.page-template-page-base03-php .lp-header {
	position: relative;
	background: #fff;
}

.page-template-page-base-php .lp-facilities,
.page-template-page-base02-php .lp-facilities,
.page-template-page-base03-php .lp-facilities {
	margin-top: clamp(8px, 2.9vw, 45px);
	margin-bottom: 80px;
}

@media (min-width: 768px) {
	.page-template-page-base02-php .lp-company__table,
	.page-template-page-base03-php .lp-company__table {
		margin-bottom: 40px;
	}
}

@media (max-width: 767px) {
	.page-template-page-base-php .lp-header,
	.page-template-page-base02-php .lp-header,
	.page-template-page-base03-php .lp-header {
		position: relative;
	}

	.page-template-page-base02-php .lp-company__row,
	.page-template-page-base03-php .lp-company__row {
		flex-direction: column;
	}

	.page-template-page-base02-php .lp-company__row dt,
	.page-template-page-base03-php .lp-company__row dt {
		flex-basis: auto;
		margin-bottom: 6px;
	}
}

/* お問い合わせフォーム（page-base.php）
=========================== */
.lp-contact-form {
	max-width: 600px;
	margin: 0 auto;
}

.lp-contact-form label {
	display: block;
	margin-bottom: 20px;
	font-weight: bold;
	color: #333;
}

.lp-contact-form .wpcf7-req {
	margin-left: 4px;
	color: #e33;
	font-size: 12px;
	font-weight: bold;
}

.lp-contact-form input[type="text"],
.lp-contact-form input[type="email"],
.lp-contact-form input[type="tel"],
.lp-contact-form textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 12px 16px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
}

.lp-contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

.lp-contact-form__acceptance {
	margin-top: 10px;
	text-align: center;
	font-size: 14px;
}

.lp-contact-form__acceptance a {
	color: #ff7800;
	text-decoration: underline;
}

.lp-contact-form input[type="submit"] {
	display: block;
	margin: 20px auto 0;
	padding: 14px 60px;
	border: 5px solid #ff7800;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.lp-contact-form input[type="submit"]:hover {
	background: #ff7800;
	color: #fff;
}

.lp-contact-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: #e33;
	font-size: 13px;
}

.lp-contact-form .wpcf7-response-output {
	margin-top: 20px;
	padding: 12px 16px;
	border-radius: 8px;
}

/* 送信内容確認モーダル
=========================== */
.lp-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	align-items: center;
	justify-content: center;
}

.lp-modal.is-open {
	display: flex;
}

.lp-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.lp-modal__box {
	position: relative;
	z-index: 1;
	width: 90%;
	max-width: 480px;
	max-height: 85vh;
	overflow-y: auto;
	padding: 30px;
	background: #fff;
	border-radius: 16px;
}

.lp-modal__box h3 {
	margin: 0 0 20px;
	text-align: center;
	font-size: 18px;
	color: #333;
}

.lp-modal__list {
	margin: 0 0 24px;
}

.lp-modal__list dt {
	margin: 16px 0 4px;
	font-weight: bold;
	font-size: 13px;
	color: #333;
}

.lp-modal__list dt:first-child {
	margin-top: 0;
}

.lp-modal__list dd {
	margin: 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	color: #333;
	white-space: pre-wrap;
	word-break: break-word;
}

.lp-modal__actions {
	display: flex;
	gap: 12px;
}

.lp-modal__btn {
	flex: 1;
	padding: 12px 0;
	border-radius: 999px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
}

.lp-modal__btn--back {
	border: 1px solid #ccc;
	background: #fff;
	color: #333;
}

.lp-modal__btn--send {
	border: 5px solid #ff7800;
	background: #ff7800;
	color: #fff;
}
