/**
 * いこまファミリークリニック用カスタムCSS
 * 
 * カスタマイザーで設定できるもの：
 * - テキスト
 * - 画像
 * 
 * CSSで調整が必要なもの：
 * - 余白（margin, padding）
 * - フォントサイズ
 * - レイアウト
 * - アニメーション効果
 * - レスポンシブデザイン
 * - その他のデザイン調整
 */

/* ============================================
   フォント設定（サイト全体）
   ============================================ */
html,
body,
body * {
	font-family: 'Zen Maru Gothic', sans-serif !important;
	box-sizing: border-box;
}

/* ============================================
   ページ全体のレイアウト設定
   ============================================ */
/* ページ全体の幅は100% */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 10px; /* アンカーリンク時のスクロール位置調整 */
}

/* アンカーリンクのスクロール位置調整（固定ヘッダーの下に隠れないように） */
#notices,
#request,
#fever,
#hours,
#overview {
	scroll-margin-top: 10px;
}

body {
	width: 100%;
	background-color: #fff;
	overflow-x: hidden;
	margin: auto;
}

/* コンテンツ幅1440pxを基準にしたコンテナ */
.ikoma-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
	box-sizing: border-box;
}

/* メインコンテンツの幅制限を解除（各セクションで個別に制御） */
.site-main,
.page-content,
body:not([class*=elementor-page-]) .site-main {
	max-width: unset !important;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* メディアクエリで上書き */
@media (min-width: 576px) {
	.site-main,
	.page-content,
	body:not([class*=elementor-page-]) .site-main {
		max-width: unset !important;
	}
}

@media (min-width: 768px) {
	.site-main,
	.page-content,
	body:not([class*=elementor-page-]) .site-main {
		max-width: unset !important;
	}
}

@media (min-width: 992px) {
	.site-main,
	.page-content,
	body:not([class*=elementor-page-]) .site-main {
		max-width: unset !important;
	}
}

@media (min-width: 1200px) {
	.site-main,
	.page-content,
	body:not([class*=elementor-page-]) .site-main {
		max-width: unset !important;
	}
}

/* ============================================
   ヘッダーのレイアウト設定
   ============================================ */
.site-header,
.site-header:not(.dynamic-header) {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 20px !important;
	box-sizing: border-box;
	background-color: #ffffff;
	z-index: 999 !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header .ikoma-container {
	max-width: 1040px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
	gap: 20px;
}

/* ヘッダーのロゴ */
.site-header .site-branding {
	flex-shrink: 0;
}

.site-header .site-branding a,
.site-header .site-title a {
	color: #0073aa; /* 青いテキスト */
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
}

.site-header .ikoma-header-logo img {
	max-height: 50px;
	width: auto;
}

/* ハンバーガーメニューボタン */
.ikoma-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
	position: relative;
	order: 999; /* 右端に配置 */
	margin-left: auto;
}

.ikoma-menu-toggle-icon {
	display: flex;
	flex-direction: column;
	width: 24px;
	height: 18px;
	justify-content: space-between;
}

.ikoma-menu-toggle-icon span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: #333;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.ikoma-menu-toggle:hover,
.ikoma-menu-toggle:focus {
	background-color: #009BAA;
	border-radius: 4px;
	outline: none;
}

.ikoma-menu-toggle:hover .ikoma-menu-toggle-icon span,
.ikoma-menu-toggle:focus .ikoma-menu-toggle-icon span {
	background-color: #fff;
}

.ikoma-menu-toggle[aria-expanded="true"] .ikoma-menu-toggle-icon span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.ikoma-menu-toggle[aria-expanded="true"] .ikoma-menu-toggle-icon span:nth-child(2) {
	opacity: 0;
}

.ikoma-menu-toggle[aria-expanded="true"] .ikoma-menu-toggle-icon span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* ヘッダーのナビゲーション */
.site-header .site-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.site-header .site-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 16px;
	flex-wrap: nowrap; /* メニューを横並びに固定 */
	align-items: center;
}

.site-header .site-navigation ul li {
	margin: 0;
	padding: 0;
	white-space: nowrap; /* メニュー項目の改行を防止 */
}

.site-header .site-navigation ul li a {
	display: block;
	text-decoration: none;
	color: #110000; /* 黒いテキスト */
	font-size: 14px;
	transition: color 0.3s;
}

.site-header .site-navigation ul li a:hover {
	color: #0073aa;
    font-weight: bold;
}

/* メニュー内の特別ボタン（デスクトップでは非表示） */
.site-header .site-navigation ul li.ikoma-menu-special-button {
	display: none;
}

/* ヘッダー右側の特別ボタン */
.site-header .ikoma-header-special-button {
	flex-shrink: 0;
	margin-left: auto;
}

.ikoma-special-button {
	background-color: #008B8B; /* ティール色 */
	color: #ffffff !important;
	padding: 8px;
	border-radius: 30px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transition: opacity 0.3s;
	min-width: 140px;
}

.ikoma-special-button:hover {
	opacity: 0.9;
}

.ikoma-button-holiday {
	font-size: 12px;
	line-height: 1.2;
}

.ikoma-button-phone {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.2;
}

/* ============================================
   スライダー（ファーストビュー）
   ============================================ */
.ikoma-slider {
	position: relative;
	width: 100%;
	height: 600px;
	overflow: hidden;
	margin-top: 65px; /* 固定ヘッダーの高さ分のマージンを追加 */
}

.ikoma-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.ikoma-slide.active {
	opacity: 1;
	z-index: 1;
}

.ikoma-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ============================================
   ページヘッダー非表示
   ============================================ */
.page-header {
	display: none;
}

/* SEOのため、h1は視覚的に非表示にするが、HTMLには残す */
.page-header .entry-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ============================================
   リード文セクション
   ============================================ */
.ikoma-lead-text-section {
	position: relative;
	width: 100%;
	min-height: 300px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 60px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ikoma-lead-text-box {
	background-color: #ffffff;
	border-radius: 12px;
	padding: 30px 20px;
	max-width: 800px;
	width: 100%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ikoma-lead-text-box p {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #110000;
	text-align: center;
}

/* デスクトップ用テキスト（1040px以上で表示） */
.ikoma-lead-text-desktop {
	display: block;
}

/* モバイル用テキスト（1040px以下で表示） */
.ikoma-lead-text-mobile {
	display: none;
}

/* 1040px以下で表示を切り替え */
@media (max-width: 1040px) {
	.ikoma-lead-text-desktop {
		display: none;
	}

	.ikoma-lead-text-mobile {
		display: block;
	}
}

/* カスタマイザーで設定した要素のスタイル調整例 */
/* 必要に応じて以下のクラスにスタイルを追加してください */

/* お知らせメッセージのスタイル調整 */
/* .ikoma-notice-message { } */

/* お知らせ日付コントロールのスタイル */
.ikoma-notice-date-control {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.ikoma-notice-date-control select {
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 14px;
}

.ikoma-notice-date-control .ikoma-notice-year,
.ikoma-notice-date-control .ikoma-notice-month,
.ikoma-notice-date-control .ikoma-notice-day {
	min-width: 80px;
}

.ikoma-notice-date-control .ikoma-notice-month.invalid {
	border-color: #dc3232;
	background-color: #ffeaea;
}

.ikoma-date-separator {
	margin: 0 2px;
	font-size: 14px;
	color: #555;
}

/* ヘッダーキャッチフレーズのスタイル調整 */
/* .ikoma-header-tagline { } */

/* ヘッダー連絡先情報のスタイル調整 */
/* .ikoma-header-contact { } */

/* フッター説明文のスタイル調整 */
/* .ikoma-footer-description { } */

/* フッター連絡先情報のスタイル調整 */
/* .ikoma-footer-contact { } */

/* ============================================
   診療時間表のスタイル
   ============================================ */
.ikoma-hours-table {
	background-color: #FFF4EA; /* 淡いベージュ背景 */
	margin: 60px 0;
	padding: 60px 20px;
	margin-left: auto;
	margin-right: auto;
}

.ikoma-hours-table-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	color: #692E32; /* 濃い赤茶色 */
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 0;
}

.ikoma-hours-table-content {
    max-width: 768px;
	width: 100%;
	border-collapse: collapse;
    margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ikoma-hours-table-content thead tr {
	background-color: #692E32; /* 濃い赤茶色 */
}

.ikoma-hours-table-content th {
	width: 104px;
	padding: 15px;
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.ikoma-hours-table-content tbody tr {
	background-color: #ffffff;
}

.ikoma-hours-table-content td {
	padding: 15px;
	text-align: center;
	border: 1px solid #ddd;
	color: #110000;
}

.ikoma-hours-table-content .ikoma-hours-time-cell {
	background-color: #20B2AA; /* ティール/ターコイズ */
	color: #ffffff;
	font-weight: bold;
	text-align: center;
}

.ikoma-hours-descriptions {
	margin-top: 30px;
    margin-left: auto;
	margin-right: auto;
    max-width: 768px;
}

.ikoma-hours-text {
	margin-bottom: 15px;
	line-height: 1.8;
}

.ikoma-hours-text p {
	margin: 0;
	font-size: 16px;
	color: #110000;
	text-align: left;
}

.ikoma-hours-text p strong,
.ikoma-hours-text p b {
	color: #692E32; /* 濃い赤茶色 */
	font-weight: bold;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.ikoma-hours-table {
		padding: 40px 15px;
		margin: 40px 0;
	}

	.ikoma-hours-table-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.ikoma-hours-table-content {
		font-size: 14px;
	}

	.ikoma-hours-table-content th,
	.ikoma-hours-table-content td {
		padding: 10px 8px;
	}

	.ikoma-hours-text p {
		font-size: 14px;
	}
}

/* ============================================
   お知らせのスタイル
   ============================================ */
.ikoma-notices {
	margin: 60px 0;
	padding: 40px 20px;
	max-width: 768px;
	margin-left: auto;
	margin-right: auto;
}

.ikoma-notices-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	color: #692E32; /* 赤茶色（reddish-brown） */
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 0;
}

.ikoma-notices-divider {
	width: 100%;
	height: 2px;
	background-color: #692E32;
}

.ikoma-notices-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ikoma-notice-item {
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #ddd;
}

.ikoma-notice-item:last-child {
	border-bottom: none;
}

.ikoma-notice-content {
	display: flex;
	padding: 20px 0;
	gap: 30px;
	align-items: flex-start;
}

.ikoma-notice-date {
	font-size: 14px;
	color: #110000;
	font-weight: normal;
	min-width: 90px;
	flex-shrink: 0;
}

.ikoma-notice-text {
	flex: 1;
}

.ikoma-notice-title {
	font-size: 16px;
    font-weight: bold;
	color: #110000;
	line-height: 1.6;
	margin-bottom: 5px;
}

.ikoma-notice-detail {
	font-size: 16px;
	color: #110000;
	line-height: 1.6;
	margin-top: 5px;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.ikoma-notices {
		padding: 40px 15px;
		margin: 40px 0;
	}

	.ikoma-notices-title {
		font-size: 28px;
	}

	.ikoma-notice-content {
		flex-direction: column;
		gap: 10px;
		padding: 15px 0;
	}

	.ikoma-notice-date {
		min-width: auto;
	}

	.ikoma-notice-detail {
		padding-left: 0;
	}
}

/* ============================================
   クリニックからのお願いのスタイル
   ============================================ */
.ikoma-clinic-request {
	background-color: #fdfaf7; /* 淡いベージュ背景 */
	margin: 0;
	padding: 60px 20px;
	margin-left: auto;
	margin-right: auto;
}

.ikoma-clinic-request-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	color: #692E32; /* 赤茶色 */
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 0;
}

.ikoma-clinic-request-divider {
	width: 100%;
	height: 1px;
	background-color: #ddd;
	margin-bottom: 40px;
}

.ikoma-request-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
	max-width: 768px;
	margin: auto;
}

.ikoma-request-item {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.ikoma-request-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
}

.ikoma-request-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ikoma-request-text {
	padding: 20px 30px;
	flex: 1;
}

.ikoma-request-text p {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #110000;
	text-align: left;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.ikoma-clinic-request {
		padding: 40px 15px;
		margin: 40px 0;
	}

	.ikoma-clinic-request-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.ikoma-clinic-request-divider {
		margin-bottom: 30px;
	}

	.ikoma-request-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ikoma-request-item {
		max-width: 100%; /* モバイルでは全幅 */
	}

	.ikoma-request-image {
		height: 180px;
	}

	.ikoma-request-text {
		padding: 15px 20px;
	}
}

/* ============================================
   熱のある方へのスタイル
   ============================================ */
.ikoma-fever-info {
	background-color: #fff;
	margin: 60px 0;
	padding: 40px 20px;
	width: 100%;
}

.ikoma-fever-info-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	color: #692E32;
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 0;
}

.ikoma-fever-grid {
	display: grid;
	gap: 20px;
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
}

.ikoma-fever-item {
	background-color: #FFF4EA;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: 20px;
	gap: 20px;
}

.ikoma-fever-icon-wrapper {
	flex-shrink: 0;
}

.ikoma-fever-icon {
	width: 80px;
	height: 80px;
	background-color: #692E32; /* 濃い赤茶色の背景 */
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
	box-sizing: border-box;
}

.ikoma-fever-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1); /* 白いアイコンにする */
}

.ikoma-fever-text {
	flex: 1;
	min-width: 0; /* flexアイテムが縮小できるようにする */
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.ikoma-fever-text p {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #110000;
	text-align: left;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.ikoma-fever-info {
		padding: 40px 15px;
		margin: 40px 0;
	}

	.ikoma-fever-info-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.ikoma-fever-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ikoma-fever-item {
		padding: 15px;
		gap: 15px;
	}

	.ikoma-fever-icon {
		width: 60px;
		height: 60px;
		padding: 10px;
	}

	.ikoma-fever-text p {
		font-size: 14px;
	}
}

/* ============================================
   医院概要のスタイル
   ============================================ */
.ikoma-clinic-overview {
	margin: 60px 0;
	padding: 60px 20px;
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

.ikoma-clinic-overview-title {
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	color: #692E32; /* 濃い赤色 */
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 0;
}

.ikoma-overview-table-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}

.ikoma-overview-table {
	width: 768px;
	border-collapse: separate;
	border-spacing: 2px;
	margin: 0 auto;
}

.ikoma-overview-row {
	width: 100%;
}

.ikoma-overview-row:hover {
	background-color: #FFF4EA !important;
}

.ikoma-overview-row:hover td {
	background-color: inherit !important;
}

.ikoma-overview-label-cell {
	width: 100px;
	background-color: #FFF4EA !important;
	padding: 15px;
	font-weight: bold !important;
	font-size: 16px;
	color: #110000;
	vertical-align: top;
	border: none;
}

.ikoma-overview-value-cell {
	background-color: #fff !important;
	padding: 15px;
	font-size: 16px;
	color: #110000;
	line-height: 1.6;
	vertical-align: top;
	border: none;
}

.ikoma-overview-row:hover .ikoma-overview-value-cell {
	background-color: #fff !important;
}

.ikoma-overview-row-with-map .ikoma-overview-value-cell {
	padding: 15px;
}

.ikoma-overview-address {
	font-size: 16px;
	color: #110000;
	line-height: 1.6;
	margin-bottom: 15px;
}

.ikoma-overview-map {
	width: 100%;
	height: 400px;
	overflow: hidden;
}

.ikoma-google-map {
	width: 100%;
	height: 100%;
}

.ikoma-google-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* モバイル対応 */
@media (max-width: 768px) {
	.ikoma-clinic-overview {
		padding: 40px 15px;
		margin: 40px 0;
	}

	.ikoma-clinic-overview-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.ikoma-overview-table-wrapper {
		overflow-x: auto;
	}

	.ikoma-overview-table {
		width: 100%;
		min-width: unset;
	}

	.ikoma-overview-label-cell {
		width: 100px;
		padding: 12px;
		font-size: 14px;
	}

	.ikoma-overview-value-cell {
		padding: 12px;
		font-size: 14px;
	}

	.ikoma-overview-map {
		height: 300px;
	}
}

/* ============================================
   フッターのレイアウト設定
   ============================================ */
/* ============================================
   フッターのスタイル
   ============================================ */
.site-footer,
.site-footer:not(.dynamic-footer) {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	background-color: #692E32 !important; /* 濃い赤/マルーン */
	color: #ffffff;
    max-width: unset;
}

.ikoma-footer-top {
	width: 100%;
	padding: 30px 20px;
	box-sizing: border-box;
}

.ikoma-footer-top .ikoma-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0;
	gap: 20px;
}

/* フッターのロゴ */
.site-footer .site-branding {
	flex-shrink: 0;
}

.site-footer .site-branding a,
.site-footer .ikoma-footer-logo {
	color: #ffffff;
	text-decoration: none;
	font-size: 18px;
	font-weight: normal;
	white-space: nowrap;
}

.site-footer .ikoma-footer-logo img {
	max-height: 40px;
	width: auto;
	filter: brightness(0) invert(1); /* 白いロゴにする */
}

/* フッターのナビゲーション */
.site-footer .site-navigation {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.site-footer .site-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 15px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
}

.site-footer .site-navigation ul li {
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.site-footer .site-navigation ul li a {
	display: block;
	text-decoration: none;
	color: #ffffff;
	font-size: 14px;
	font-weight: normal;
	transition: opacity 0.3s;
}

.site-footer .site-navigation ul li a:hover {
	opacity: 0.8;
}

/* フッターのクレジット表記 */
.ikoma-footer-bottom {
	width: 100%;
	padding: 20px 20px;
	box-sizing: border-box;
}

.ikoma-footer-bottom .ikoma-container {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.site-footer-credit {
	width: 100%;
	text-align: center;
}

.site-footer-credit p {
	margin: 0;
	font-size: 12px;
	color: #ffffff;
}

/* ============================================
   レスポンシブデザイン
   ============================================ */
@media (max-width: 1040px) {
	/* ハンバーガーメニューボタンを表示 */
	.ikoma-menu-toggle {
		display: block;
	}

	/* 通常のナビゲーションを非表示 */
	.site-header .site-navigation {
		display: none;
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 400px;
		height: 100vh;
		background-color: #ffffff;
		box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
		z-index: 1000;
		padding: 20px;
		flex-direction: column;
		overflow-y: auto;
		transition: right 0.3s ease;
	}

	/* メニューオーバーレイ（背景） */
	body.menu-open::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 999;
	}

	/* メニューが開いているとき（右から左へスライド） */
	.site-header .site-navigation.is-open {
		display: flex;
		right: 0;
	}

	.site-header .site-navigation ul {
		flex-direction: column;
		width: 100%;
		gap: 0;
		align-items: stretch;
	}

	.site-header .site-navigation ul li {
		border-bottom: 1px solid #eee;
		width: 100%;
	}

	.site-header .site-navigation ul li:last-child {
		border-bottom: none;
	}

	.site-header .site-navigation ul li a {
		padding: 15px 0;
		display: flex;
		width: 100%;
		font-size: 16px;
	}

	/* メニュー内の特別ボタン（ハンバーガーメニューの時のみ表示） */
	.site-header .site-navigation ul li.ikoma-menu-special-button {
		display: block;
		margin-top: 10px;
		padding-top: 10px;
	}

	.site-header .site-navigation ul li.ikoma-menu-special-button a {
		padding: 15px;
		text-align: center;
	}

	.ikoma-special-button-mobile {
		background-color: #008B8B !important;
		color: #ffffff !important;
		padding: 12px 20px !important;
		border-radius: 30px !important;
		text-decoration: none;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		transition: opacity 0.3s;
		width: 100%;
		box-sizing: border-box;
	}

	.ikoma-special-button-mobile:hover {
		opacity: 0.9;
	}

	.ikoma-special-button-mobile .ikoma-button-holiday {
		font-size: 12px;
		line-height: 1.2;
	}

	.ikoma-special-button-mobile .ikoma-button-phone {
		font-size: 16px;
		font-weight: bold;
		line-height: 1.2;
	}

	/* ヘッダーのコンテナを調整 */
	.site-header .ikoma-container {
		position: relative;
		flex-wrap: nowrap;
	}

	/* デスクトップ用の特別ボタンを非表示 */
	.site-header .ikoma-header-special-button {
		display: none;
	}

	/* フッターのレイアウト変更（1040px以下） */
	.ikoma-footer-top .ikoma-container {
		flex-direction: column-reverse;
	}
}

@media (max-width: 768px) {
	/* モバイル表示時のスタイル調整 */
	.ikoma-container {
		padding: 0 15px;
	}

	.site-header,
	.site-header:not(.dynamic-header) {
		padding: 15px !important;
	}

	.site-header .ikoma-container {
		flex-direction: space-between;
		gap: 15px;
		align-items: flex-start;
	}

	.site-header .site-navigation {
		width: 100%;
		justify-content: flex-start;
	}

	.site-header .site-navigation ul {
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.site-header .ikoma-header-special-button {
		width: 100%;
		margin-left: 0;
	}

	.ikoma-special-button {
		width: 100%;
		justify-content: center;
	}

	.ikoma-slider {
		height: 400px;
	}

	.ikoma-footer-top {
		padding: 20px 15px;
	}

	.ikoma-footer-top .ikoma-container {
		gap: 40px;
		align-items: flex-start;
	}

	.site-footer .site-navigation {
		width: 100%;
		justify-content: flex-start;
	}

	.site-footer .site-navigation ul {
		flex-direction: column;
		gap: 20px;
		width: 100%;
		align-items: flex-start;
	}

	.ikoma-footer-bottom {
		padding: 15px;
	}

	.site-footer-credit {
		text-align: center;
	}

	.ikoma-hours-table-content {
		font-size: 14px;
	}

	.ikoma-hours-table-content th,
	.ikoma-hours-table-content td {
		padding: 8px;
	}
}


