@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ===================================================================
   浦安せきぐちクリニック / column （サブディレクトリWP）
   本体サイト https://www.sekiguchiclinic2012.com/ のヘッダー・フッターを模倣
   編集方針: SWELL標準のheader/footerを非表示化し、
             functions.phpで注入するカスタムHTMLにのみスタイルを当てる。
=================================================================== */


/* ---------- 1. SWELL標準ヘッダー・フッター・追尾ヘッダー・ページトップ非表示 ---------- */
#header.l-header,
.l-header,
.l-header__bar,
.l-header__inner,
.l-fixHeader,
#fix_header,
.l-footer,
#footer.l-footer,
.p-fixBtnWrap,
.c-fixBtn,
#pagetop,
.p-spMenu {
	display: none !important;
}

/* bodyの上下SWELL余白調整 */
body.wp-theme-swell {
	margin: 0 !important;
	padding: 0 !important;
}
#body_wrap {
	padding-top: 0 !important;
}
/* SWELLの本文コンテンツエリアの上下余白を整える */
#content.l-content {
	padding-top: 32px;
}
.top #content {
	padding-top: 32px !important;
}


/* ===================================================================
   2. カスタムヘッダー（PCベース、880px以上）
=================================================================== */

#ur-header-wrap {
	font-family: "メイリオ", Meiryo, Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
	background: #fff;
	line-height: 1.4;
}

/* clearfix */
.ur-clearfix::after {
	content: "";
	display: block;
	clear: both;
}

#ur-header-wrap .ur-inner {
	width: 960px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* 画像にopacityアニメーション */
#ur-header-wrap a:hover img {
	opacity: 0.7;
	transition: opacity 0.2s ease-in-out;
}

/* 2-1. ヘッダートップ（キャッチ + 難病指定医バッジ） */
#ur-headerTop {
	border-top: 5px solid #004ab9;
	border-bottom: 1px solid #ddd;
	background: #f4f4f4;
}
#ur-headerTop .ur-inner {
	position: relative;
}
#ur-headerTop .ur-catch {
	font-size: 12px;
	font-weight: normal;
	line-height: 30px;
	color: #333;
	margin: 0;
	padding: 0;
}
#ur-headerTop .ur-header_point {
	background: #004ab9;
	float: right;
	width: 285px;
	font-size: 14px;
	line-height: 30px;
	color: #fff;
	text-align: center;
	font-weight: bold;
}

/* 2-2. ロゴエリア */
#ur-header {
	padding: 30px 0 20px 0;
	background: #fff;
}
#ur-header .ur-inner {
	position: relative;
}
#ur-logo {
	float: left;
	display: block;
}
#ur-tel {
	float: right;
	display: block;
}
#ur-tel-sp {
	display: none;
}
.ur-parking {
	border: 3px solid #ff0000;
	float: right;
	width: 200px;
	margin: 0 20px 0 0;
	padding: 5px 12px;
	font-size: 16px;
	color: #ff0000;
	text-align: center;
	font-weight: bold;
	line-height: 1.3;
	box-sizing: border-box;
}
.ur-parking span {
	font-size: 11px;
	display: block;
	margin-top: 2px;
	font-weight: normal;
}

/* 2-3. グローバルナビ */
#ur-gNavi_wrap {
	position: relative;
	border-bottom: 5px solid #ddd;
	background: #fff;
}
#ur-gNavi_wrap .ur-inner {
	position: relative;
}
ul.ur-gNavi {
	position: relative;
	z-index: 100;
	bottom: -5px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	width: 100%;
	border-left: 1px solid #ddd;
}
ul.ur-gNavi li {
	float: none;
	list-style: none;
	flex: 1 1 auto;
	text-align: center;
}
ul.ur-gNavi li span {
	border-right: 1px solid #ddd;
	padding: 0;
	display: block;
}
ul.ur-gNavi li a {
	display: block;
	padding: 0 14px 20px 14px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.3;
	white-space: nowrap;
	background: transparent;
	transition: all 0.2s ease;
}
ul.ur-gNavi li a:hover {
	border-bottom: 5px solid #004ab9;
	padding: 0 14px 15px 14px;
	color: #004ab9;
	text-decoration: none;
}

/* 2-4. ハンバーガー要素はPCでは非表示 */
#ur-nav-drawer {
	position: static;
}
#ur-nav-open,
#ur-nav-close,
.ur-nav-unshown {
	display: none;
}


/* ===================================================================
   3. カスタムフッター
=================================================================== */

#ur-footer {
	font-family: "メイリオ", Meiryo, Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background: #004ab9;
	padding: 30px 0;
	margin: 60px 0 0 0;
	color: #fff;
}
#ur-footer .ur-inner {
	width: 960px;
	margin: 0 auto;
	box-sizing: border-box;
}
ul.ur-fNavi {
	margin: 0 0 30px 0;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	width: 100%;
	border-left: 1px solid #fff;
}
ul.ur-fNavi li {
	float: none;
	list-style: none;
	flex: 1 1 auto;
	text-align: center;
	border-right: 1px solid #fff;
}
ul.ur-fNavi li a {
	display: block;
	padding: 4px 16px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
}
ul.ur-fNavi li a:hover {
	color: #fff;
	text-decoration: underline;
}
#ur-footer p.ur-copyright {
	font-size: 16px;
	text-align: center;
	color: #fff;
	margin: 0;
	padding: 0;
	clear: both;
}


/* ===================================================================
   4. タブレット・スマホ表示（880px以下）
=================================================================== */
@media screen and (max-width: 880px) {

	.ur-pc {
		display: none !important;
	}
	.ur-sp {
		display: inline-block !important;
	}

	#ur-header-wrap .ur-inner,
	#ur-footer .ur-inner {
		width: auto;
		padding: 0 12px;
	}

	/* ヘッダートップ: キャッチ非表示、青バー表示 */
	#ur-headerTop {
		border-top: none;
		background: #004ab9;
		padding: 5px 0;
	}
	#ur-headerTop .ur-catch {
		display: none;
	}
	#ur-headerTop .ur-header_point {
		float: none;
		width: auto;
		background: transparent;
		color: #fff;
		font-size: 13px;
		line-height: 1.4;
		text-align: center;
		padding: 3px 12px;
	}

	/* ロゴ・電話 */
	#ur-header {
		padding: 10px 0;
	}
	#ur-header .ur-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}
	#ur-logo {
		float: none;
		max-width: 50%;
		height: auto;
		width: auto;
		max-height: 48px;
	}
	#ur-tel {
		display: none;
	}
	.ur-tel-sp-link {
		display: inline-block;
		margin-left: auto;
	}
	#ur-tel-sp {
		display: inline-block;
		max-height: 44px;
		width: auto;
	}
	.ur-parking {
		display: none;
	}

	/* ナビエリア: ハンバーガーメニュー */
	#ur-gNavi_wrap {
		border-bottom: 3px solid #004ab9;
		background: #fff;
		padding: 8px 0;
	}
	#ur-gNavi_wrap .ur-inner {
		position: relative;
		min-height: 32px;
	}

	#ur-nav-drawer {
		position: static;
		display: block;
	}

	/* ハンバーガーボタン */
	#ur-nav-open {
		display: inline-block !important;
		width: 34px;
		height: 26px;
		vertical-align: middle;
		cursor: pointer;
		position: absolute;
		right: 10px;
		top: 2px;
	}
	#ur-nav-open span,
	#ur-nav-open span::before,
	#ur-nav-open span::after {
		position: absolute;
		height: 3px;
		width: 28px;
		border-radius: 3px;
		background: #004ab9;
		display: block;
		content: "";
		cursor: pointer;
	}
	#ur-nav-open span {
		top: 4px;
	}
	#ur-nav-open span::before {
		top: 9px;
	}
	#ur-nav-open span::after {
		top: 18px;
	}

	/* オーバーレイ */
	#ur-nav-close {
		display: none;
		position: fixed;
		z-index: 9998;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
	}
	#ur-nav-input:checked ~ #ur-nav-close {
		display: block !important;
	}

	/* スライドインメニュー */
	#ur-nav-content {
		overflow: auto;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
		width: 85%;
		max-width: 330px;
		height: 100%;
		background: #fff;
		transition: transform 0.3s ease-in-out;
		transform: translateX(-105%);
		box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
	}
	#ur-nav-input:checked ~ #ur-nav-content {
		transform: translateX(0);
	}

	/* SPナビ項目 */
	ul.ur-gNavi {
		display: block;
		position: static;
		bottom: auto;
		border-left: none;
		padding: 0;
		margin: 0;
		background: #fff;
		width: auto;
	}
	ul.ur-gNavi li {
		float: none;
		border-bottom: 1px solid #ddd;
		padding: 0;
	}
	ul.ur-gNavi li span {
		border-right: none;
		padding: 0;
		display: inline;
	}
	ul.ur-gNavi li a {
		display: block;
		padding: 16px 18px;
		color: #333;
		font-size: 15px;
		border-bottom: none;
		background: transparent;
	}
	ul.ur-gNavi li a:hover {
		padding: 16px 18px;
		border-bottom: none;
		color: #004ab9;
		background: #f4f4f4;
	}

	/* フッター */
	#ur-footer {
		padding: 24px 12px;
		margin: 40px 0 0 0;
	}
	ul.ur-fNavi {
		display: block;
		margin: 0 0 20px 0;
		text-align: left;
		border-left: none;
		width: auto;
	}
	ul.ur-fNavi li {
		float: none;
		flex: none;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.3);
		text-align: left;
	}
	ul.ur-fNavi li:first-child {
		border-top: 1px solid rgba(255, 255, 255, 0.3);
	}
	ul.ur-fNavi li a {
		padding: 12px 8px;
		font-size: 14px;
		white-space: normal;
	}
	#ur-footer p.ur-copyright {
		font-size: 12px;
	}

}


/* ===================================================================
   5. 追加微調整
=================================================================== */

/* 本文エリアの横幅整え */
body {
	overflow-x: hidden;
}

/* SWELLの記事一覧の上部スペースをカスタムヘッダー分詰める */
.top .p-homeContent {
	margin-top: 0 !important;
}
