/**
 * カスタムスタイルシート（予約サイト用）
 *
 * reservation-wordpress 専用のカスタムスタイル。
 * Elementorのスタイルを上書きする場合も、このファイルを使用できます。
 */

/* =========================================
   撮影メニューグリッド（shooting-menu-grid）
   予約メニュー一覧ウィジェットで共用
   ========================================= */

.yutaka-shooting-menu {
	width: 100%;
}

.yutaka-shooting-menu-title {
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
	color: #2a2a2a;
	margin-bottom: 12px;
}

/* セクションサブタイトル（ENGLISHラベル等） */
.yutaka-shooting-menu-subtitle {
	text-align: center;
	font-size: 0.85rem;
	letter-spacing: 0.15em;
	color: #888;
	text-transform: uppercase;
	margin-bottom: 8px;
}

/* グリッドラッパー */
.yutaka-shooting-menu-grid {
	display: grid;
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto;
}

.yutaka-shooting-menu-columns-1 { grid-template-columns: repeat(1, 1fr); }
.yutaka-shooting-menu-columns-2 { grid-template-columns: repeat(2, 1fr); }
.yutaka-shooting-menu-columns-3 { grid-template-columns: repeat(3, 1fr); }
.yutaka-shooting-menu-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* カードアイテム */
.yutaka-shooting-menu-item {
	display: flex;
}

/* カードリンク */
.yutaka-shooting-menu-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	position: relative;
}

.yutaka-shooting-menu-link:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
	text-decoration: none;
	color: inherit;
}

/* 画像エリア */
.yutaka-shooting-menu-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.yutaka-shooting-menu-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
	display: block;
}

.yutaka-shooting-menu-link:hover .yutaka-shooting-menu-image img {
	transform: scale(1.05);
}

/* テキストエリア */
.yutaka-shooting-menu-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	position: relative;
}

/* カードタイトル */
.yutaka-shooting-menu-item-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #2a2a2a;
	margin: 0;
}

/* 説明文（予約メニューでは非使用だが念のため定義） */
.yutaka-shooting-menu-description {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.7;
	margin: 0;
}

/* 料金（予約メニューでは非使用だが念のため定義） */
.yutaka-shooting-menu-price {
	font-size: 1rem;
	font-weight: 700;
	color: #c8a97a;
	margin: 4px 0 0;
}

/* 特徴リスト（予約メニューでは非使用だが念のため定義） */
.yutaka-shooting-menu-features {
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.yutaka-shooting-menu-features li {
	font-size: 0.85rem;
	color: #555;
	padding-left: 1.2em;
	position: relative;
}

.yutaka-shooting-menu-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #c8a97a;
}

/* レスポンシブ */

/* SP（767px以下）はすべての列設定を1列に強制 */
@media (max-width: 767px) {
	.yutaka-shooting-menu-columns-2,
	.yutaka-shooting-menu-columns-3,
	.yutaka-shooting-menu-columns-4 {
		grid-template-columns: 1fr !important;
	}

	.yutaka-shooting-menu-title {
		font-size: 1.5rem;
	}
}

/* タブレット（768px〜1024px）は2列まで */
@media (min-width: 768px) and (max-width: 1024px) {
	.yutaka-shooting-menu-columns-3,
	.yutaka-shooting-menu-columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =========================================
   予約注意事項ウィジェット（booking-notice）
   ========================================= */

.yutaka-booking-notice {
	display: flex;
	flex-direction: column;
	gap: 48px;
	max-width: 800px;
	margin: 0 auto;
	font-size: 0.95rem;
	line-height: 1.85;
	color: #333;
}

/* ---- キャンセルポリシー ---- */
.yutaka-booking-notice__cancel {
	background-color: #fff8f0;
	border-width: 2px;
	border-style: solid;
	border-color: #e07b39;
	border-radius: 12px;
	padding: 32px 36px;
	position: relative;
}

/* 上部ラベルバナー */
.yutaka-booking-notice__cancel-heading {
	position: absolute;
	top: -16px;
	left: 28px;
	background-color: #e07b39;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	padding: 4px 20px;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.yutaka-booking-notice__cancel-icon {
	font-size: 1em;
}

.yutaka-booking-notice__cancel-body {
	font-size: 0.93rem;
	color: #444;
	padding-top: 8px;
}

/* キャンセル料金を強調 */
.yutaka-booking-notice__cancel-body br + br {
	display: block;
	margin-top: 0.5em;
	content: "";
}

/* ---- セクション共通タイトル ---- */
.yutaka-booking-notice__section-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #2a2a2a;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
}

.yutaka-booking-notice__section-title::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 1.2em;
	background-color: #c8a97a;
	border-radius: 3px;
	flex-shrink: 0;
}

/* ---- ご予約方法ステップ ---- */
.yutaka-booking-notice__how {
	background-color: #fafaf8;
	border: 1px solid #e2d9cc;
	border-radius: 12px;
	padding: 36px 36px 32px;
}

.yutaka-booking-notice__steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.yutaka-booking-notice__step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background-color: #fff;
	border: 1px solid #e8e0d6;
	border-radius: 10px;
	padding: 20px 24px;
	position: relative;
}

/* ステップ間の矢印 */
.yutaka-booking-notice__step + .yutaka-booking-notice__step::before {
	content: "↓";
	display: block;
	text-align: center;
	font-size: 1.4rem;
	color: #c8a97a;
	line-height: 1;
	padding: 10px 0;
	position: absolute;
	top: -26px;
	left: 50%;
	transform: translateX(-50%);
	background: transparent;
}

/* ステップ間の余白（矢印分） */
.yutaka-booking-notice__step + .yutaka-booking-notice__step {
	margin-top: 40px;
}

.yutaka-booking-notice__step-num {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	background-color: #c8a97a;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.yutaka-booking-notice__step-body {
	flex: 1;
}

.yutaka-booking-notice__step-title {
	font-weight: 700;
	color: #2a2a2a;
	margin: 0 0 6px;
	font-size: 0.95rem;
}

.yutaka-booking-notice__step-text {
	font-size: 0.88rem;
	color: #666;
	margin: 0;
	line-height: 1.75;
}

/* ---- ご注意 ---- */
.yutaka-booking-notice__caution {
	background-color: #f5f5f5;
	border: 1px solid #d0d0d0;
	border-radius: 12px;
	padding: 32px 36px;
	position: relative;
}

.yutaka-booking-notice__caution .yutaka-booking-notice__section-title::before {
	background-color: #888;
}

.yutaka-booking-notice__caution-body {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.85;
}

/* レスポンシブ */
@media (max-width: 600px) {
	.yutaka-booking-notice__cancel,
	.yutaka-booking-notice__how,
	.yutaka-booking-notice__caution {
		padding: 28px 18px 20px;
	}

	.yutaka-booking-notice__cancel-heading {
		left: 16px;
		font-size: 0.82rem;
		padding: 3px 14px;
	}

	.yutaka-booking-notice__step {
		padding: 16px 14px;
	}

	.yutaka-booking-notice__step-num {
		width: 28px;
		height: 28px;
		font-size: 0.8rem;
	}
}

/* =========================================
   予約メニュー一覧ウィジェット（TOPページ）
   ========================================= */

.yutaka-reservation-menu {
	width: 100%;
}

.yutaka-reservation-menu__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.yutaka-reservation-menu__header {
	text-align: center;
	margin-bottom: 48px;
}

.yutaka-reservation-menu__subtitle {
	font-size: 0.85rem;
	letter-spacing: 0.15em;
	color: #888;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.yutaka-reservation-menu__title {
	font-size: 2rem;
	font-weight: 700;
	color: #2a2a2a;
	margin-bottom: 16px;
}

.yutaka-reservation-menu__description {
	font-size: 1rem;
	color: #555;
	line-height: 1.8;
}

/* グリッド */
.yutaka-reservation-menu__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.yutaka-reservation-menu__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.yutaka-reservation-menu__grid {
		grid-template-columns: 1fr;
	}
}

/* カード */
.yutaka-reservation-menu__card {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	position: relative;
}

.yutaka-reservation-menu__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	text-decoration: none;
	color: inherit;
}

/* カード画像 */
.yutaka-reservation-menu__card-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.yutaka-reservation-menu__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.yutaka-reservation-menu__card:hover .yutaka-reservation-menu__card-image img {
	transform: scale(1.05);
}

/* カードボディ */
.yutaka-reservation-menu__card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	position: relative;
}

/* バッジ */
.yutaka-reservation-menu__badge {
	display: inline-block;
	align-self: flex-start;
	background-color: #c8a97a;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 20px;
	letter-spacing: 0.05em;
	margin-bottom: 2px;
}

/* タイトル */
.yutaka-reservation-menu__card-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #2a2a2a;
	margin: 0;
	padding-top: 8px;
}

/* サブタイトル */
.yutaka-reservation-menu__card-subtitle {
	font-size: 0.8rem;
	color: #888;
	margin: 0;
	letter-spacing: 0.08em;
}

/* 矢印 */
.yutaka-reservation-menu__card-arrow {
	display: inline-block;
	margin-top: 12px;
	font-size: 1rem;
	color: #c8a97a;
	transition: transform 0.2s ease;
	align-self: flex-end;
}

.yutaka-reservation-menu__card:hover .yutaka-reservation-menu__card-arrow {
	transform: translateX(4px);
}

/* ===========================================
   ハンバーガーメニュー / モバイルドロワー
   =========================================== */

.yutaka-header-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	flex-shrink: 0;
	z-index: 1001;
}

.yutaka-header-hamburger-bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: currentColor;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
	transform-origin: center;
}

.yutaka-header--open .yutaka-header-hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.yutaka-header--open .yutaka-header-hamburger-bar:nth-child(2) {
	opacity: 0;
	width: 0;
}
.yutaka-header--open .yutaka-header-hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.yutaka-header-drawer {
	position: fixed;
	top: 0;
	right: -100%;
	width: 85%;
	max-width: 320px;
	height: 100dvh;
	background-color: #fff;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	overflow-y: auto;
	transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
}

.yutaka-header--open .yutaka-header-drawer {
	right: 0;
}

.yutaka-header-drawer-header {
	display: flex;
	justify-content: flex-end;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
}

.yutaka-header-drawer-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: 1px solid #ddd;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1rem;
	color: #555;
	transition: background-color 0.2s, color 0.2s;
}

.yutaka-header-drawer-close:hover {
	background-color: #f5f5f5;
	color: #111;
}

/* ドロワー内CTAボタンエリア */
.yutaka-header-drawer-cta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	background-color: #faf9f7;
}

.yutaka-header-drawer-cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	transition: opacity 0.2s, transform 0.15s;
}

.yutaka-header-drawer-cta-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

.yutaka-header-drawer-cta-btn i {
	font-size: 1rem;
}

.yutaka-header-drawer-cta-btn-primary {
	background-color: #c8a97a;
	color: #fff;
}

.yutaka-header-drawer-cta-btn-secondary {
	background-color: #fff;
	color: #2a2a2a;
	border: 1px solid #ddd;
}

.yutaka-header-drawer-cta-btn-outline {
	background-color: transparent;
	color: #c8a97a;
	border: 1px solid #c8a97a;
}

/* ドロワーナビ */
.yutaka-header-drawer-nav {
	flex: 1;
	padding: 0 0 40px;
}

.yutaka-header-drawer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.yutaka-header-drawer-menu > li {
	border-bottom: 1px solid #f0f0f0;
}

/* メニュー項目行（リンク＋トグルボタンを横並びに） */
.yutaka-header-drawer-menu .yutaka-drawer-item-row {
	display: flex;
	align-items: stretch;
}

.yutaka-header-drawer-menu .yutaka-drawer-item-row > a {
	flex: 1;
	display: block;
	padding: 14px 8px 14px 24px;
	font-size: 0.95rem;
	color: #2a2a2a;
	text-decoration: none;
	transition: background-color 0.2s;
}

.yutaka-header-drawer-menu .yutaka-drawer-item-row > a:hover {
	background-color: #faf9f7;
}

/* サブメニューがない項目は通常のリンク */
.yutaka-header-drawer-menu li:not(.menu-item-has-children) > a {
	display: block;
	padding: 14px 24px;
	font-size: 0.95rem;
	color: #2a2a2a;
	text-decoration: none;
	transition: background-color 0.2s;
}

.yutaka-header-drawer-menu li:not(.menu-item-has-children) > a:hover {
	background-color: #faf9f7;
}

/* サブメニュートグルボタン */
.yutaka-drawer-submenu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	flex-shrink: 0;
	background: none;
	border: none;
	border-left: 1px solid #f0f0f0;
	cursor: pointer;
	color: #888;
	font-size: 0.75rem;
	transition: background-color 0.2s, color 0.2s;
}

.yutaka-drawer-submenu-toggle:hover {
	background-color: #f5f5f5;
	color: #2a2a2a;
}

.yutaka-drawer-submenu-toggle .yutaka-toggle-icon {
	display: block;
	transition: transform 0.25s ease;
}

.menu-item-has-children.is-open > .yutaka-drawer-item-row .yutaka-toggle-icon {
	transform: rotate(180deg);
}

/* サブメニュー：デフォルト非表示 */
.yutaka-header-drawer-menu .sub-menu {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #f7f5f2;
}

/* 開いた状態：表示 */
.yutaka-header-drawer-menu .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.yutaka-header-drawer-menu .sub-menu li {
	border-bottom: 1px solid #ede9e3;
}

.yutaka-header-drawer-menu .sub-menu li:last-child {
	border-bottom: none;
}

.yutaka-header-drawer-menu .sub-menu li a {
	display: block;
	padding: 12px 24px 12px 36px;
	font-size: 0.875rem;
	color: #555;
	text-decoration: none;
	transition: background-color 0.2s, padding-left 0.2s;
	position: relative;
}

.yutaka-header-drawer-menu .sub-menu li a::before {
	content: '–';
	position: absolute;
	left: 24px;
	color: #c8a97a;
}

.yutaka-header-drawer-menu .sub-menu li a:hover {
	background-color: #f0ece6;
	padding-left: 40px;
}

.yutaka-header-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.yutaka-header--open .yutaka-header-overlay {
	opacity: 1;
}

@media (max-width: 767px) {
	/* ヘッダートップ内をFlexboxに切り替えてロゴ左・ハンバーガー右に揃える */
	.yutaka-header .yutaka-header-inner {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 0 16px !important;
	}

	.yutaka-header .yutaka-header-logo {
		flex-shrink: 0;
	}

	/* デスクトップ用CTAボタンを完全に非表示 */
	.yutaka-header .yutaka-header-cta {
		display: none !important;
	}

	/* ハンバーガーを表示・右端へ */
	.yutaka-header-hamburger {
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		background: none;
		border: none;
		cursor: pointer;
		padding: 6px;
		flex-shrink: 0;
		margin-left: auto;
		z-index: 1001;
	}

	.yutaka-header-nav-wrapper {
		display: none !important;
	}

	.yutaka-header-overlay {
		display: block;
		pointer-events: none;
	}

	.yutaka-header--open .yutaka-header-overlay {
		pointer-events: auto;
	}

	body.yutaka-drawer-open {
		overflow: hidden;
	}
}

/* ===========================================
   Appointment Hour Booking プラグイン スタイル
   =========================================== */

/* フォーム全体 */
#fbuilder,
#fbuilder * {
	font-family: 'Noto Serif JP', serif !important;
	box-sizing: border-box;
}

/* フォームのフィールドラベル */
#fbuilder label,
#fbuilder .field-lbl,
#fbuilder .c2 label {
	font-weight: 600 !important;
	color: #2a2a2a !important;
	font-size: 0.9rem !important;
	margin-bottom: 6px !important;
}

/* 必須マーク */
#fbuilder .req {
	color: #e07b39 !important;
}

/* 入力フィールド・テキストエリア・セレクト */
#fbuilder input[type="text"],
#fbuilder input[type="email"],
#fbuilder input[type="tel"],
#fbuilder input[type="number"],
#fbuilder textarea,
#fbuilder select {
	width: 100% !important;
	border: 1px solid #d4c4b0 !important;
	border-radius: 6px !important;
	padding: 10px 14px !important;
	font-size: 0.95rem !important;
	color: #2a2a2a !important;
	background-color: #fff !important;
	transition: border-color 0.2s, box-shadow 0.2s !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

#fbuilder input[type="text"]:focus,
#fbuilder input[type="email"]:focus,
#fbuilder input[type="tel"]:focus,
#fbuilder input[type="number"]:focus,
#fbuilder textarea:focus,
#fbuilder select:focus {
	outline: none !important;
	border-color: #c8a97a !important;
	box-shadow: 0 0 0 3px rgba(200, 169, 122, 0.18) !important;
}

/* 送信ボタン */
#fbuilder .pbSubmit,
#fbuilder input[type="submit"],
.pbSubmit {
	background-color: #c8a97a !important;
	color: #fff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 14px 48px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	cursor: pointer !important;
	transition: background-color 0.2s, transform 0.15s !important;
	display: inline-block !important;
}

#fbuilder .pbSubmit:hover,
#fbuilder input[type="submit"]:hover,
.pbSubmit:hover {
	background-color: #b8965a !important;
	transform: translateY(-1px) !important;
}

/* 戻るボタン（確認画面） */
#fbuilder .pbPrevious {
	background-color: #fff !important;
	color: #c8a97a !important;
	border: 1px solid #c8a97a !important;
	border-radius: 6px !important;
	padding: 13px 32px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: background-color 0.2s !important;
	display: inline-block !important;
}

#fbuilder .pbPrevious:hover {
	background-color: #faf5ed !important;
}

/* ---- カレンダー（jQuery UI Datepicker） ---- */

#fbuilder .ui-datepicker,
.ui-datepicker {
	background-color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 320px !important;
}

/* カレンダーヘッダー */
#fbuilder .ui-datepicker-header,
.ui-datepicker-header {
	background: #c8a97a !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 10px 8px !important;
}

#fbuilder .ui-datepicker-title,
.ui-datepicker-title {
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
}

/* 前月・次月ボタン */
#fbuilder .ui-datepicker-prev,
#fbuilder .ui-datepicker-next,
.ui-datepicker-prev,
.ui-datepicker-next {
	cursor: pointer !important;
	top: 8px !important;
	background: none !important;
	border: none !important;
}

#fbuilder .ui-datepicker-prev:hover,
#fbuilder .ui-datepicker-next:hover,
.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
	background: rgba(255,255,255,0.2) !important;
	border: none !important;
}

/* 曜日ヘッダー行 */
#fbuilder .ui-datepicker-calendar thead th,
.ui-datepicker-calendar thead th {
	background-color: #f5ede0 !important;
	color: #c8956a !important;
	font-weight: 700 !important;
	padding: 6px 2px !important;
	font-size: 0.78rem !important;
	border: none !important;
}

/* カレンダーテーブル全体のフォントサイズ */
#fbuilder .ui-datepicker-calendar,
.ui-datepicker-calendar {
	font-size: 16px !important;
}

/* 日付セル共通 */
#fbuilder .ui-datepicker-calendar td,
.ui-datepicker-calendar td {
	padding: 2px !important;
	text-align: center !important;
	border: none !important;
}

/* 選択可能な日 */
#fbuilder td:not(.ui-datepicker-unselectable) a.ui-state-default,
td:not(.ui-datepicker-unselectable) a.ui-state-default {
	background-color: #fff8f0;
	color: #c8956a;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	padding: 0;
	text-decoration: none;
	transition: background-color 0.15s;
}

#fbuilder td:not(.ui-datepicker-unselectable) a.ui-state-default:hover {
	background-color: #c8a97a;
	color: #fff;
}

/* 選択した日 */
#fbuilder .ui-datepicker-calendar .ui-state-active,
.ui-datepicker-calendar .ui-state-active {
	background-color: #c8956a !important;
	color: #fff !important;
	border: none !important;
}

/* 選択不可の日（定休日・過去日） */
#fbuilder .ui-datepicker-unselectable .ui-state-default,
.ui-datepicker-unselectable .ui-state-default {
	background-color: #f4f4f4;
	color: #ccc;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	text-align: center;
	padding: 0;
}

/* 満席の日 */
#fbuilder .notavailslot.ui-datepicker-unselectable .ui-state-default,
.notavailslot.ui-datepicker-unselectable .ui-state-default {
	background-color: #ffe8e8;
	color: #cc6666;
}

/* ---- タイムスロット ---- */

#fbuilder .slots,
#fbuilder .slotrow {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-top: 12px !important;
	padding: 0 !important;
}

#fbuilder .slots a,
#fbuilder .slotrow a,
#fbuilder .slots li a {
	display: inline-block;
	padding: 8px 18px;
	background-color: #fff8f0;
	color: #c8956a;
	border: none;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s;
	cursor: pointer;
	list-style: none;
}

#fbuilder .slots a:hover,
#fbuilder .slotrow a:hover {
	background-color: #c8a97a;
	color: #fff;
}

/* 選択済みスロット */
#fbuilder .slots .currentSelection a,
#fbuilder .slots a.selected,
#fbuilder .slotrow a.selected {
	background-color: #c8956a;
	color: #fff;
}

/* 満席スロット */
#fbuilder .slots .notavailslot a,
#fbuilder .notavailslot a {
	background-color: #f4f4f4;
	color: #bbb;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* エラーメッセージ */
#fbuilder .errMsg,
#fbuilder .error-message {
	color: #e07b39 !important;
	font-size: 0.85rem !important;
	margin-top: 4px !important;
}

/* 確認ページの予約内容テーブル */
#fbuilder .fields-wraps table {
	width: 100% !important;
	border-collapse: collapse !important;
}

#fbuilder .fields-wraps table th,
#fbuilder .fields-wraps table td {
	padding: 10px 14px !important;
	border-bottom: 1px solid #f0e8dc !important;
	text-align: left !important;
	font-size: 0.9rem !important;
}

#fbuilder .fields-wraps table th {
	background-color: #faf5ed !important;
	color: #c8956a !important;
	font-weight: 700 !important;
	width: 40% !important;
}

/* レスポンシブ（SP） */
@media (max-width: 767px) {
	#fbuilder .pbSubmit,
	#fbuilder input[type="submit"],
	.pbSubmit {
		width: 100% !important;
		text-align: center !important;
		padding: 14px 20px !important;
	}

	#fbuilder .ui-datepicker,
	.ui-datepicker {
		max-width: 100% !important;
	}

	#fbuilder .slots,
	#fbuilder .slotrow {
		gap: 6px !important;
	}

	#fbuilder .slots a,
	#fbuilder .slotrow a {
		padding: 7px 12px !important;
		font-size: 0.82rem !important;
	}
}

