@charset "UTF-8";

/* ==========================================================================
 * 
 * 第一伊藤Lab 固定ページ専用スタイル
 * Template: page-lab.php
 * Version: 1.1.0
 * Updated: 2026-05
 * 
 * ========================================================================== */

/* スムーズスクロール
   ----------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}

/* メインコンテンツのラッパー
   ----------------------------------------------------------------------- */
.p-lab__content {
	padding: 6rem 2rem 8rem;
	overflow: hidden;
}
.p-lab__inner {
	max-width: 1080px;
	margin: 0 auto;
}
.p-lab__content::after {
	content: "";
	display: block;
	clear: both;
}

/* リード文
   ----------------------------------------------------------------------- */
.p-lab .lab-lead {
	margin: 0 0 4rem;
	padding: 3rem 2rem;
	background: #f7f7f4;
	border-left: 4px solid #104bcd;
}
.p-lab .lab-lead__title {
	font-size: 2.4rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}
.p-lab .lab-lead__text {
	font-size: 1.6rem;
	line-height: 1.8;
}

/* CTAボタン (今すぐ来場予約する)
   ----------------------------------------------------------------------- */
.p-lab .lab-cta {
	margin: 0 0 5rem;
	text-align: center;
}
.p-lab .lab-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	min-width: 360px;
	padding: 2rem 3rem;
	background: #104bcd;
	color: #fff !important;
	font-size: 1.8rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(16, 75, 205, 0.25);
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.p-lab .lab-cta__btn:hover {
	background: #0a3aa8;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(16, 75, 205, 0.35);
	text-decoration: none;
}
.p-lab .lab-cta__btn-text {
	letter-spacing: 0.05em;
}
.p-lab .lab-cta__btn-arrow {
	display: inline-block;
	font-size: 1.6rem;
	animation: lab-cta-bounce 1.6s ease-in-out infinite;
}
@keyframes lab-cta-bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(4px);
	}
}

/* セクションタイトル
   ----------------------------------------------------------------------- */
.p-lab .lab-section-title {
	font-size: 2.4rem;
	font-weight: 700;
	margin: 5rem 0 2.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #104bcd;
	scroll-margin-top: 8rem;
}

/* 施設概要テーブル
   ----------------------------------------------------------------------- */
.p-lab .lab_table {
	width: 100%;
	margin: 0 0 5rem;
	border-collapse: collapse;
}
.p-lab .lab_table th,
.p-lab .lab_table td {
	border: 1px solid #ddd;
	padding: 1.5rem 2rem;
	text-align: left;
	vertical-align: top;
	font-size: 1.6rem;
	line-height: 1.7;
}
.p-lab .lab_table th {
	background: #f7f7f4;
	width: 25%;
	font-weight: 600;
	white-space: nowrap;
}

/* アクセス
   ----------------------------------------------------------------------- */
.p-lab .lab-access-text {
	margin: 0 0 2rem;
	font-size: 1.6rem;
	line-height: 1.9;
}
.p-lab .lab-map {
	margin: 0 0 5rem;
}
.p-lab .lab-map iframe {
	display: block;
	width: 100%;
}

/* 予約フォーム周辺
   ----------------------------------------------------------------------- */
.p-lab .lab-form-intro {
	margin: 0 0 2rem;
	font-size: 1.6rem;
	line-height: 1.8;
}
.p-lab .lab-form-note {
	margin: 0 0 3rem;
	padding: 1.5rem 2rem;
	background: #fff8e7;
	border-left: 3px solid #d4a574;
}
.p-lab .lab-form-note p {
	font-size: 1.6rem;
	line-height: 1.8;
	margin: 0;
}
.p-lab .lab-form {
	margin: 0 0 2rem;
	overflow: hidden;
}
.p-lab .lab-form::after {
	content: "";
	display: block;
	clear: both;
}

/* Contact Form 7のスタイル調整 */
.p-lab .lab-form .wpcf7-form {
	font-size: 1.6rem;
}
.p-lab .lab-form .form-item {
	display: block;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}
.p-lab .lab-form .reservetitle {
	padding: 1rem 1.5rem;
	background: #f7f7f4;
	border-left: 3px solid #104bcd;
	font-weight: 600;
	margin-bottom: 2rem;
}
.p-lab .lab-form input[type="text"],
.p-lab .lab-form input[type="tel"],
.p-lab .lab-form input[type="email"],
.p-lab .lab-form input[type="date"],
.p-lab .lab-form textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1.6rem;
	box-sizing: border-box;
}
.p-lab .lab-form textarea {
	min-height: 120px;
}
.p-lab .lab-form .wpcf7-list-item {
	display: inline-block;
	margin: 0 1.5rem 0.8rem 0;
	float: none;
}
.p-lab .lab-form .wpcf7-list-item label {
	cursor: pointer;
}
.p-lab .lab-form .wpcf7-submit {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 3rem auto 0;
	padding: 1.5rem;
	background: #104bcd;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1.6rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.3s ease;
}
.p-lab .lab-form .wpcf7-submit:hover {
	opacity: 0.85;
}

/* jQuery UI Datepicker のカスタマイズ
   ----------------------------------------------------------------------- */
.ui-datepicker {
	font-size: 1.6rem;
	width: 320px !important;
	padding: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	z-index: 9999 !important;
}

/* ヘッダー (前月・翌月ボタンと月年表示) */
.ui-datepicker .ui-datepicker-header {
	background: #104bcd;
	color: #fff;
	border: none;
	border-radius: 6px 6px 0 0;
	padding: 0.8rem 0;
}
.ui-datepicker .ui-datepicker-title {
	color: #fff;
	font-weight: 700;
	font-size: 1.6rem;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	cursor: pointer;
	top: 0.6rem;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	border: none;
}
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
	background: rgba(255, 255, 255, 0.4);
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	background-image: none;
	color: #fff;
	text-indent: 0;
	font-size: 0;
	position: relative;
}
.ui-datepicker .ui-datepicker-prev span::before {
	content: '◀';
	font-size: 1.6rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.ui-datepicker .ui-datepicker-next span::before {
	content: '▶';
	font-size: 1.6rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* カレンダー本体 */
.ui-datepicker table {
	margin: 0;
	font-size: 1.6rem;
	width: 100%;
}
.ui-datepicker th {
	padding: 0.8rem 0;
	font-weight: 600;
	color: #555;
	background: #f7f7f4;
	border: none;
}
.ui-datepicker td {
	padding: 2px;
	border: none;
}
.ui-datepicker td span,
.ui-datepicker td a {
	display: block;
	padding: 0.7rem 0;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 4px;
	background: #fff;
	color: #333;
	text-decoration: none;
}

/* 選択可能日 (ホバー) */
.ui-datepicker td a.ui-state-default:hover {
	background: #e8efff;
	border-color: #104bcd;
	color: #104bcd;
}

/* 今日の日付 */
.ui-datepicker td .ui-state-highlight {
	background: #fff8e7;
	border-color: #d4a574;
	font-weight: 700;
}

/* 選択中の日付 */
.ui-datepicker td .ui-state-active,
.ui-datepicker td a.ui-state-active {
	background: #104bcd !important;
	border-color: #104bcd !important;
	color: #fff !important;
	font-weight: 700;
}

/* 選択不可日 (水曜日 + minDate以前) */
.ui-datepicker td.ui-datepicker-unselectable .ui-state-default,
.ui-datepicker td.lab-datepicker-closed span,
.ui-datepicker td.ui-state-disabled span {
	background: #f0f0f0;
	color: #bbb;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* 他月の日付 */
.ui-datepicker .ui-datepicker-other-month .ui-state-default {
	color: #ccc;
	background: #fafafa;
}

/* 日曜日・土曜日の色 */
.ui-datepicker thead tr th:first-child,
.ui-datepicker tbody tr td:first-child a {
	color: #d21b00;
}
.ui-datepicker thead tr th:last-child,
.ui-datepicker tbody tr td:last-child a {
	color: #104bcd;
}
/* 選択不可・選択中の場合は色を上書きしない */
.ui-datepicker tbody tr td:first-child.ui-datepicker-unselectable .ui-state-default,
.ui-datepicker tbody tr td:first-child.lab-datepicker-closed span,
.ui-datepicker tbody tr td:last-child.ui-datepicker-unselectable .ui-state-default,
.ui-datepicker tbody tr td:last-child.lab-datepicker-closed span {
	color: #bbb;
}
.ui-datepicker tbody tr td:first-child a.ui-state-active,
.ui-datepicker tbody tr td:last-child a.ui-state-active {
	color: #fff !important;
}

/* レスポンシブ
   ----------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
	.p-lab__content {
		padding: 4rem 1.5rem 6rem;
	}
	.p-lab .lab-lead {
		padding: 2rem 1.5rem;
		margin-bottom: 3rem;
	}
	.p-lab .lab-lead__title {
		font-size: 1.8rem;
	}
	.p-lab .lab-lead__text {
		font-size: 1.6rem;
	}
	.p-lab .lab-cta {
		margin: 0 0 4rem;
	}
	.p-lab .lab-cta__btn {
		min-width: 0;
		width: 100%;
		max-width: 360px;
		padding: 1.6rem 2rem;
		font-size: 1.6rem;
	}
	.p-lab .lab-section-title {
		font-size: 1.9rem;
		margin: 4rem 0 2rem;
	}
	.p-lab .lab_table {
		display: block;
	}
	.p-lab .lab_table tbody,
	.p-lab .lab_table tr,
	.p-lab .lab_table th,
	.p-lab .lab_table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.p-lab .lab_table th {
		background: #f7f7f4;
		border-bottom: none;
		padding: 1rem 1.5rem;
	}
	.p-lab .lab_table td {
		padding: 1.2rem 1.5rem;
		border-top: none;
	}
	.p-lab .lab-map iframe {
		height: 300px;
	}
	.ui-datepicker {
		width: 280px !important;
	}
}

/* ========================================================================== 
 * 第一伊藤Lab 固定ページ用スタイル ここまで
 * ========================================================================== */
