@charset "UTF-8";
/*! Copyright (c) 2026 株式会社メディウィル（Mediwill Inc.） All rights reserved. 弊社が制作・運用するサイト専用。無断複製・再配布・他サイトへの転用を禁じます。 / Proprietary — no redistribution or reuse without written permission. https://www.mediwill.co.jp/ */
/*--------------------------------------------------------------
★横浜わかば眼科 サイト個別CSS
（共通CSS assets/css/style.css は編集禁止。共通側の修正はベーステーマへ還元）
--------------------------------------------------------------*/

/*--------------------------------------------------------------
##カラー設定
現行サイト実測: メイン #16a292（青緑）／濃緑 #357a68／クリーム #F1D0A7
※ アクセント4色は仮決め（現行は白背景基調のため、キット構造に合わせ
   ごく淡い緑をページ背景に採用）。テスト環境の表示確認で調整する
--------------------------------------------------------------*/
:root {
	/* メインカラー */
	--c-main: #16a292;
	--c-main-rgb: 22, 162, 146;
	/* サブカラー（濃緑。表罫線等で現行使用） */
	--c-sub: #357a68;
	/* ポイントカラー（クリーム。現行のアクセント色） */
	--c-point: #f1d0a7;
	/* 部品アクセント色 */
	--c-body-bg: #f4f4f4;      /* ページ背景（現行サイトの薄グレー・style-02.css実測値） */
	--c-accent-light: #f1d0a7; /* 表マーク等の淡色アクセント */
	--c-accent-btn: #357a68;   /* お知らせリンクボックス背景（明緑帯の上に深緑ボックス＝現行実測） */
	--c-accent-dark: #16a292;  /* トップ診療時間表のパネル背景（深緑帯の上に明緑パネル＝現行実測） */
}

/*--------------------------------------------------------------
##メインビジュアル画像（mv_count=4・PC/SP別画像）
現行のjpgをwebp化（PC 1500x650 / SP 800x800）
--------------------------------------------------------------*/
.top-mv_item--01 { background: url(../img/site/top-mv_pc_01.webp) center center; background-size: cover; background-repeat: no-repeat; }
.top-mv_item--02 { background: url(../img/site/top-mv_pc_02.webp) center center; background-size: cover; background-repeat: no-repeat; }
.top-mv_item--03 { background: url(../img/site/top-mv_pc_03.webp) center center; background-size: cover; background-repeat: no-repeat; }
.top-mv_item--04 { background: url(../img/site/top-mv_pc_04.webp) center center; background-size: cover; background-repeat: no-repeat; }

/* スマホは正方形版に差し替え（現行踏襲） */
@media screen and (max-width: 767px){
	.top-mv_item--01 { background-image: url(../img/site/top-mv_sp_01.webp); }
	.top-mv_item--02 { background-image: url(../img/site/top-mv_sp_02.webp); }
	.top-mv_item--03 { background-image: url(../img/site/top-mv_sp_03.webp); }
	.top-mv_item--04 { background-image: url(../img/site/top-mv_sp_04.webp); }
}

/*--------------------------------------------------------------
##下層MV背景（submv_count=4）
--------------------------------------------------------------*/
.sub-mv .background_1 { background: url(../img/site/sub-mv_01.webp) center center; background-size: cover; }
.sub-mv .background_2 { background: url(../img/site/sub-mv_02.webp) center center; background-size: cover; }
.sub-mv .background_3 { background: url(../img/site/sub-mv_03.webp) center center; background-size: cover; }
.sub-mv .background_4 { background: url(../img/site/sub-mv_04.webp) center center; background-size: cover; }

/*--------------------------------------------------------------
##現行デザイン忠実再現（v1.1.0）
リニューアル済みサイトのため、spiral標準と乖離する現行の見た目を
子テーマ側で再現する（ユーザー方針 2026-08-10・docs/09 運用ルール4）。
値は現行 css/style-02.css の実測。
--------------------------------------------------------------*/

/* --- MVの高さ（現行: SP500 / タブレット450 / PC350 / 1920〜は画面連動） --- */
@media screen and (max-width: 767px){
	.top-mv,
	.top-mv_wrap{
		height: 500px;
	}

	/* MV円形バッジは現行どおり右上配置 */
	.top-mv_extra{
		top: 20px;
		right: 15px;
		bottom: auto;
	}
}

@media screen and (min-width : 768px) and (max-width: 1023px){
	.top-mv,
	.top-mv_wrap{
		height: 450px;
		max-height: calc(100vh - 65px);
	}
}

@media print, screen and (min-width : 1024px){
	.top-mv,
	.top-mv_wrap{
		height: 350px;
		min-height: 350px;
	}

	.top-mv{
		margin-bottom: 30px;
	}
}

@media print, screen and (min-width : 1920px){
	.top-mv,
	.top-mv_wrap{
		height: calc(100vh - 600px);
		min-height: 400px;
	}
}

/* --- MVキャッチ: 2〜3行目は小さく（現行のtxt_s相当） --- */
.top-mv_copyTxt--item02,
.top-mv_copyTxt--item03{
	font-size: 0.8em;
}

/* --- PCヘッダー: 現行レイアウト（1行右詰め・入りきらない幅ではナビが自然折返し） ---
   現行は「ロゴ｜住所電話｜予約｜ナビ」を1行に右詰めし、狭い幅でだけ
   flex-wrapでナビが2段目に落ちる。同じ自然折返しを再現する --- */
@media print, screen and (min-width : 1024px){
	.header-pc{
		justify-content: flex-end;
		flex-wrap: wrap;
		align-items: center;
		row-gap: 10px;
		padding: 10px 30px 15px; /* 下15px＝ナビとMVの間隔（現行踏襲） */
		min-height: 115px;
	}

	/* 並び順を明示（親の min-1920 はspiral用にナビと医院情報を入替えるため、
	   固定しないと1920px以上でロゴ単独行＋縦積みに崩れる） */
	.header-pcLogoArea{
		margin: 0 auto 0 0; /* ロゴ左・以降は右詰め */
		order: 1;
	}

	.header-pcinfoArea{
		margin: 0;
		padding: 0;
		order: 2;
	}

	/* 住所+電話を左列・予約ボタンを右列に（現行の並び） */
	.header-pcinfoArea_txtWrap{
		display: grid;
		grid-template-columns: auto auto;
		column-gap: 20px;
		align-items: center;
	}

	.header-pcinfoArea_txt{
		grid-column: 1;
		grid-row: auto; /* 親v2.3.11の既定（行スパン）打消し・わかばは住所→電話の縦積み */
		text-align: left;
	}

	.header-pcinfoArea_tel{
		grid-column: 1;
		grid-row: auto;
	}

	.header-pcinfoArea_reserve{
		grid-column: 2;
		grid-row: 1 / 3;
		margin: 0; /* 親既定のmargin打消し（gapはgridのcolumn-gap 20pxが担う） */
	}

	.header-pcinfoArea_reserveBtn{
		margin-top: 0;
		width: 220px;  /* 現行の固定幅を維持（親v2.3.8で幅が文言追従化されたため固定） */
		padding: 0;
	}

	/* ナビ: 自然幅で1行に参加（幅が足りない時はflex-wrapで2段目へ右詰め落ち） */
	.header-pcNavArea{
		width: auto;
		margin: 0 0 0 30px;
		padding-bottom: 15px; /* 現行 #pc_nav の下余白（下線とMVの間隔を確保） */
		order: 3;
	}

	.header-pcNav_item{
		margin-top: 0;
	}
}

/* --- TOPお知らせ・ネット予約バナー: 現行の見た目 --- */
.top-information_day{
	color: #dedede;            /* 現行の日付色（キット既定のクリームから変更） */
}

.top-information_link:hover{
	background: #3f3f3f;       /* 現行のホバー色 */
}

/* ネット予約バナー: 現行は原寸(800px)・中央寄せ・下40px（キットの3カラム幅指定を解除） */
.top-bnrarea--free{
	margin: 40px auto;
}

.top-bnrarea--free .top-bnrarea_inner{
	justify-content: center;
}

@media print, screen and (min-width : 768px){
	.top-bnrarea--free .top-bnrarea_bnr{
		width: auto;
		max-width: 100%;
		margin: 0;
	}
}

@media screen and (max-width: 767px){
	.top-bnrarea--free .top-bnrarea_bnr{
		width: 100%;
		margin: 0;
	}
}

/* --- TOP重要なお知らせ: 現行の見た目（全幅・緑の日付・ボックス余白） --- */
.top-notices{
	max-width: none;           /* 現行は全幅（キット既定は1200px中央） */
	padding: 0 30px 30px;
}

.top-notices_day{
	color: var(--c-main);      /* 現行は緑の日付（キット既定のクリームは白地で薄い） */
}

.top-notices_link{
	padding: 17px 30px 15px;   /* 現行のボックス余白 */
}

/* 日付は1919px以下で独立行・1920px以上でタイトルとインライン（現行 .only_widepc の挙動） */
@media screen and (min-width: 1920px){
	.top-notices_dayBr{
		display: none;
	}
}

/* --- MV円形バッジ: 文字は全幅で13px（親は1920px以上で22pxに拡大→150px円で折返すため打消し） --- */
@media print, screen and (min-width : 1920px){
	.top-mv_extraTitle{
		font-size: 13px;
	}
}

/* --- アイコンを現行サイトの緑系に差し替え ---
   CSSのurl()は親CSS基準で解決され子テーマの同名ファイルでは差し替わらないため、
   CSS参照分はここで上書きする（画像は本テーマの img/site に同梱）。
   IMGタグ参照分（sp_head_*・pagetop）は同名ファイル設置で自動解決 --- */
.header-pcinfoArea_telIcon{
	background-image: url(../img/site/icon_tel_header.svg);
}

.footer-clinicTel_icon{
	background-image: url(../img/site/icon_tel_footer.svg);
}

/* v1.6.9: 予約アイコンは親v2.3.34からインラインSVG（色は --c-icon=淡いアクセント色=クリーム）。画像差し替えは不要になった */

.link_cancel{
	background-image: url(../img/site/icon_cancel.svg);
}

.sub-contents_link--arw{
	background-image: url(../img/site/icon_arw.svg);
}

.sub-contents_list--arw .sub-contents_listItem,
.sub-sidebar_listItem{
	background-image: url(../img/site/icon_arw.svg);
}

.sub-contents_list--check .sub-contents_listItem{
	background-image: url(../img/site/icon_check.svg);
}

/* --- 1920px以上: 現行どおりの1行ヘッダー ---
   現行CSSはmin-1920でロゴ320px＋order入替により
   「ロゴ｜ナビ｜住所電話｜予約ボタン」の1行右詰めに切り替える。同じ挙動を再現 --- */
@media print, screen and (min-width : 1920px){
	.header-pc{
		justify-content: flex-end;
	}

	.header-pcLogoArea{
		margin-right: auto;
	}

	.header-pcLogo_imgLogoHorizontal{
		width: 320px;
	}

	.header-pcNavArea{
		width: auto;
		order: 2;
		padding-bottom: 0;
		margin: 0 30px 0 0;
	}

	.header-pcinfoArea{
		order: 3;
		padding-top: 0;
	}
}

/* --- スマホ: 紹介セクションの忠実再現（本番375px実測） ---
   キットのSPは固定幅345px（spiral由来）のため広い端末で右に隙間が出る。
   本番方式（幅100%・画像block中央・本文余白・見出し18px・帯14px/19px）に合わせる --- */
@media screen and (max-width: 767px){
	.top-intro_heading02{
		font-size: 18px;
		margin: 0 0 25px;
	}

	.top-intro_inner{
		margin-top: 0;
	}

	.top-intro_photoArea{
		width: 100%;
	}

	.top-intro_photo{
		display: block;
		width: 100%;
		margin: 0 0 25px;
	}

	.top-intro_txtArea{
		width: 100%;
		margin-top: 0;
		padding: 0 5px;
	}

	.top-intro_txt{
		font-size: 15px;
		text-align: justify;
	}

	.top-bgcolorArea{
		margin-top: 35px;
		padding: 15px;
	}

	.top-bgcolorArea-heading03{
		font-size: 14px;
	}

	.top-bgcolorArea-headingLarge{
		font-size: 19px;
	}
}

/* --- SPドロワー: 白ロゴ（site-parts/header/header-sp.php とセット） --- */
.header_spNavboxLogoarea_img{
	width: 155px;
	height: auto;
}

/* ドロワーの矢印は現行どおり緑（キット既定のポイント色=クリームから変更） */
.header-spNavArw{
	color: var(--c-main);
}

/* ドロワー項目のインデントを現行相当に詰める */
.header-spNavItem{
	padding-left: 0;
}

/* フッター注記は中央寄せ（現行踏襲。色はv1.3.0で緑対応済み） */
.footer-clinicInfo_note{
	text-align: center;
}

/* --- TOP紹介見出し（現行実測: PC28px/SP18px・緑・「徒歩5分」1.2倍/weight900/クリームマーカー下線） --- */
.top-intro_heading02{
	color: var(--c-main);
	font-weight: 700;
}

/* 紹介写真は列幅いっぱいに拡大表示（現行と同じ。元画像344pxを450px列にフィット） */
.top-intro_photo{
	width: 100%;
	display: block;
}

/* PCサイズはmin-768に限定（無条件で書くと後勝ちでSPの18pxを潰すため） */
@media print, screen and (min-width : 768px){
	.top-intro_heading02{
		font-size: 28px;
	}
}

.top-intro_headingXL{
	font-size: 1.2em; /* 「徒歩5分、」現行33.6px相当 */
}

.top-intro_headingEm{
	font-weight: 900;
	background: linear-gradient(transparent 90%, var(--c-point) 0%); /* クリームのマーカー風下線（現行と同一） */
}

/* --- TOP色帯（現行実測: PC=ベース22px/Large28px・SP=14px/19px） --- */
.top-bgcolorArea-heading03{
	font-weight: 400;
}

.top-bgcolorArea-headingLarge{
	font-weight: 700;
}

/* PCサイズはmin-768に限定（無条件で書くと後勝ちでSPサイズを潰すため） */
@media print, screen and (min-width : 768px){
	.top-bgcolorArea-heading03{
		font-size: 22px;
	}

	.top-bgcolorArea-headingLarge{
		font-size: 28px;
	}
}

/* --- タブレット帯（768-1023）: 現行800px実測の再現 ---
   写真(最大430px)を中央・本文(460px)を下に積む。帯はベース16px/強調22px
   （このブロックは上のmin-768より後に書くことで768-1023だけ上書きする） --- */
@media screen and (min-width : 768px) and (max-width : 1023px){
	.top-intro_inner{
		flex-wrap: wrap;
		justify-content: center;
		max-width: 460px;
		margin-left: auto;
		margin-right: auto;
	}

	.top-intro_photoArea{
		width: 100%;
		max-width: 430px;
		margin: 0 auto;
	}

	.top-intro_photo{
		margin-bottom: 25px;
	}

	.top-intro_txtArea{
		width: 100%;
	}

	.top-bgcolorArea-heading03{
		font-size: 16px;
	}

	.top-bgcolorArea-headingLarge{
		font-size: 22px;
	}

	/* お知らせ／受付時間: 現行は左右50/50でなく全幅の縦積み（内側430px中央） */
	.top-information{
		flex-wrap: wrap;
	}

	.top-information_newsArea,
	.top-information_scheduleArea{
		width: 100%;
		padding: 35px 0 40px;
	}

	.top-information_newsAreaInner,
	.top-information_scheduleAreaInner{
		width: 430px;
		margin: 0 auto;
	}
}

.top-bgcolorArea a{
	color: var(--c-point);
	font-weight: 700;
	text-decoration: none;
	/* font-sizeは指定しない: 親のLarge(28px)を継承。
	   本番CSS上はリンク19px相当だが、実表示は強調部と同等の大きさで
	   運用・承認されてきたため見た目基準で合わせる（2026-08-10ユーザー確認） */
}

/*--------------------------------------------------------------
##診療内容カード・フッター（現行1240px実測の再現）
--------------------------------------------------------------*/

/* カード: 現行は高さ236px相当（キット384px）。余白・見出しマージンを現行値に */
.top-service_listLink{
	padding: 30px 20px 20px;
}

.top-service_heading03{
	font-size: 26px;
	margin: 0;
}

.top-service_listImg{
	margin: 0 0 10px;
}

.top-service_listTxt{
	font-size: 14px;
}

/* フッター医院情報: 電話28px・間隔・ボタン360px・表445px中央・注記緑 */
.footer-clinicTel{
	font-size: 28px;
	margin: 20px 0 8px;
}

.footer-clinicTxt{
	margin: 0 0 15px;
}

.footer-clinicInfoBtnArea_btn{
	width: 360px;
}

.footer-clinicInfo_table{
	max-width: 445px;
	margin: 20px auto 10px;
}

/* 表の隅セルに「受付時間」ラベル（現行踏襲。パーツ改変なしのCSS注入方式） */
.footer-clinicInfo_th:first-child::before{
	content: "受付時間";
}

.footer-clinicInfo_note{
	color: var(--c-main);
}

/* サイトマップ帯内のグループ院バナー（site-parts/footer/sitemap.php とセット） */
.footer-sitemap{
	padding: 25px 0;
}

/* グループ院バナー帯: 本番の作りに合わせる（v1.6.12・2026-09-30 実測）。
   本番は帯の幅＝画面幅の90%（最大幅なし）で、1枚の枠は260px（画像250px＋左右5px）を隙間なしで並べる。
   そのため 1920px では1行6枚、1600px では5枚、1440px以下では4枚になる（v1.6.11 までは最大幅1130px・常に4枚で並びが違った） */
.footer-groupBnrArea{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	width: 90%;
	max-width: none;
	margin: 25px auto 20px;
	padding: 0;
}

.footer-groupBnrArea_bnr{
	width: 260px;
	padding: 5px;
	box-sizing: border-box;
}

.footer-groupBnrArea_bnr img{
	width: 250px;
	height: auto;
	display: block;
}

/* --- スマホ: カード・フッターの現行再現（375px実測） ---
   ※このブロックは上の無条件指定より後ろに置くこと（後勝ちでSP値を有効にする） --- */
@media screen and (max-width: 767px){
	.top-service_heading03{
		font-size: 22px;
	}

	.top-service_listImg{
		margin: 0;
	}

	/* フッターはSPのみ「住所→電話」の順（現行の表示順を再現） */
	.footer-clinicInfoInner{
		display: flex;
		flex-direction: column;
	}

	.footer-clinicInfoInner h2{
		order: 1;
	}

	.footer-clinicTxt{
		order: 2;
		margin: 0 0 8px;
	}

	.footer-clinicTel{
		order: 3;
		margin: 0 0 12px;
	}

	.footer-clinicInfoBtnArea{
		order: 4;
	}

	.footer-clinicInfo_table{
		order: 5;
	}

	.footer-clinicInfo_note{
		order: 6;
	}

	.footer-clinicInfoBtnArea_btn{
		width: 100%;
	}

	/* グループ院バナー: 2列（本番実測: 枠160px＝画像150px＋左右5px・帯は画面幅の90%） */
	.footer-groupBnrArea{
		gap: 0;
	}

	.footer-groupBnrArea_bnr{
		width: 160px;
		padding: 5px;
	}

	.footer-groupBnrArea_bnr img{
		width: 150px;
	}
}

/*--------------------------------------------------------------
##下層本文の共通スタイル（本番 /service/menu_01/ 1240px実測）
本文置換の対象は sub-contents_* 部品のみで、素の h2/h3/h4/p タグは
旧CSSの #contents 子孫スタイルに依存していた。同等の装飾をここで再現する。
（クラス付き部品には各クラスのスタイルが優先されるため影響しない）
--------------------------------------------------------------*/
/* 本文エリアは白パネル（現行 #contents{background:#fff}） */
.sub-contents{
	background: #fff;
	padding-bottom: 10px;
}

/* ページタイトル: 本文先頭の素h1が緑ベタ帯（現行 #contents h1 と同一） */
.sub-contents h1{
	padding: 30px 25px;
	font-size: 36px;
	line-height: 42px;
	margin: 0 0 30px;
	letter-spacing: 1px;
	background: var(--c-main);
	border-radius: 5px 5px 0 0;
	color: #fff;
}

/* 本文h2: 緑28px＋グレー5px下線＋クリームバー15%（現行 #contents h2 と同一） */
.sub-contents h2{
	position: relative;
	border-bottom: 5px solid #eaeaea;
	font-size: 28px;
	margin: 10px 0 15px;
	line-height: 34px;
	padding-bottom: 6px;
	color: var(--c-main);
}

.sub-contents h2::after{
	position: absolute;
	bottom: -5px;
	left: 0;
	z-index: 2;
	content: '';
	width: 15%;
	height: 5px;
	background: var(--c-point);
}

.sub-contents h3{
	font-size: 21px;
	color: var(--c-main);
	border-top: 2px solid var(--c-main);    /* 現行は上下両方に緑2px */
	border-bottom: 2px solid var(--c-main);
	padding: 10px 10px 7px;
	margin: 35px 0 15px;
	line-height: 28px;
	font-weight: 700;
}

.sub-contents h4{
	font-size: 19px;
	color: var(--c-main);
	position: relative;
	padding-left: 15px;
	margin: 30px 0 10px;
	line-height: 30px;
	font-weight: 700;
}

/* h4の緑左バー（現行 #contents h4:before と同一） */
.sub-contents h4::before{
	width: 4px;
	height: 100%;
	border-radius: 2px;
	background: var(--c-main);
	left: 2px;
	top: 0;
	content: '';
	position: absolute;
}

.sub-contents h5{
	font-size: 17px;
	margin: 20px 0 10px;
	line-height: 24px;
	font-weight: 700;
	color: var(--c-main);
}

/* 枠ボックス: キット既定の枠色は背景と同じ#f4f4f4で不可視 → 現行の配色・余白に */
.sub-contents_box--border{
	border-color: #efefef;
	background: #fff;
	padding: 22px 18px 7px;
	margin: 10px 0 15px; /* 現行のボックス上下間隔（PC） */
}

.sub-contents_box--color{
	background: #f4f4f4;
	padding: 22px 18px 7px;
	margin: 10px 0 15px;
}

/* 2分割ボックス: 置換後の要素は基底クラス（sub-contents_boxWrap／sub-contents_box）を
   持たないため、キットのflex・幅指定がどちらも効かない → 現行 #contents .box-half と同一に */
.sub-contents_boxWrap--half{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

@media print, screen and (min-width : 768px){
	.sub-contents_boxWrap--half > .sub-contents_box--border,
	.sub-contents_boxWrap--half > .sub-contents_box--color,
	.sub-contents_boxWrap--half > div,
	.sub-contents_boxWrap--half > a{
		width: 48.5%;
		margin-right: 0;
	}
}

@media screen and (max-width: 767px){
	.sub-contents_boxWrap--half > .sub-contents_box--border,
	.sub-contents_boxWrap--half > .sub-contents_box--color,
	.sub-contents_boxWrap--half > div,
	.sub-contents_boxWrap--half > a{
		width: 100%;
	}

	/* SPのボックス余白（現行値） */
	.sub-contents_box--border,
	.sub-contents_box--color{
		padding: 17px 15px 5px;
		margin: 10px 0 5px;
	}
}

/* リンクカード型ボックス（/service/ 等。現行 a.border-box と同一） */
a.sub-contents_box--border{
	color: #3f3f3f;
	display: block;
}

a.sub-contents_box--border:hover{
	border-color: var(--c-main);
}

/* ボックス先頭見出しの上マージン殺し（現行踏襲） */
.sub-contents_box--border h2,
.sub-contents_box--color h2,
.sub-contents_box--border h5,
.sub-contents_box--color h5{
	margin-top: 0;
}

/* 本文の表: 素のth/tdセル装飾（現行 #contents table と同一。
   キットはクラス付きセルのみ装飾するため、置換でtableにだけクラスを付けた
   わかばの表は素セルが無装飾＝罫線なしになる） */
.sub-contents_table{
	margin: 0 0 20px;
}

.sub-contents_table td{
	padding: 10px;
	border: 2px solid #eaeaea;
	text-align: left;
}

.sub-contents_table th{
	border: 2px solid var(--c-sub);
	padding: 10px 7px 8px;
	background-color: var(--c-main);
	font-size: 17px;
	color: #fff;
	font-weight: 700;
	text-align: center;
}

.sub-contents_table td.right{
	text-align: right;
}

.sub-contents_table td.center{
	text-align: center !important;
}

.sub-contents_paragraph{
	margin: 0 0 80px;   /* 現行の段落ブロック間隔 */
	padding: 0 25px;    /* 現行の本文インデント（キット既定の上35pxは撤去） */
}

.sub-contents_paragraph p{
	margin: 0 0 15px;
	line-height: 1.65;
	text-align: justify;
}

/*--------------------------------------------------------------
##下層本文の追加部品（/service/menu_01/ 実測）
--------------------------------------------------------------*/

/* 素のulは緑●リスト（現行 #contents ul と同一）。
   padding-left:0 はUA既定40pxの打消し（旧全称リセット差分。矢印/チェックリストにも効く） */
.sub-contents ul{
	margin: 10px 0 20px;
	padding-left: 0;
}

.sub-contents ul li{
	margin-bottom: 10px;
	padding-left: 24px;
	list-style: none;
	text-indent: -22px;
}

.sub-contents ul li::before{
	content: "● ";
	color: var(--c-main);
	font-size: 14px;
}

/* クラス付きリスト部品（矢印・チェック等）には●とインデントを波及させない */
.sub-contents ul[class*="sub-contents_list"] li{
	text-indent: 0;
}

.sub-contents ul[class*="sub-contents_list"] li::before{
	content: none;
}

/* 矢印・チェックリスト: 置換後の<li>は素（listItemクラス無し）のため
   キットのアイコンが効かない → 現行 #contents .list_arw/.list_check の実値を素liに直付け */
.sub-contents ul.sub-contents_list--arw li{
	background: url(../img/site/icon_arw.svg) no-repeat 4px 6px;
	background-size: 10px 10px;
	padding: 0 0 2px 20px;
	line-height: 25px;
	margin-bottom: 10px;
}

.sub-contents ul.sub-contents_list--check li{
	background: url(../img/site/icon_check.svg) no-repeat 0 4px;
	background-size: 14px 14px;
	padding: 0 0 2px 20px;
	line-height: 25px;
	margin-bottom: 10px;
}

/* 太字<b>はクリームのマーカー風下線（現行はグローバルbルール。トップ「徒歩5分」と同系統） */
b{
	background: linear-gradient(transparent 90%, var(--c-point) 0%);
}

/* h6: 現行は本文と同サイズ・余白なしの黒太字小見出し（既定h6は縮小＋大余白のため打消し） */
.sub-contents h6{
	font-size: inherit;
	margin: 0;
}

/* .link テキストリンク（現行: 緑・太字・下線） */
.sub-contents .link{
	color: var(--c-main);
	font-weight: 700;
	text-decoration: underline;
}

/* 画像回り込みの幅: 現行はPC最大280px（キット385pxでは見出し線を突き抜ける） */
@media print, screen and (min-width : 768px){
	.sub-contents_img--right,
	.sub-contents_img--left{
		width: 100%;
		max-width: 280px;
	}
}

/* SPは回り込み解除・中央寄せ（現行踏襲） */
@media screen and (max-width: 767px){
	.sub-contents_img--right,
	.sub-contents_img--left{
		float: none;
		display: block;
		width: 100%;
		max-width: 385px;
		margin: 0 auto 20px;
	}
}

/* 全幅画像（旧img_wide）: 現行は下20pxの間隔（/facility/の写真ギャラリー等） */
.sub-contents_img--full{
	margin-bottom: 20px;
}

/* 2枚並び（boxWrap--half > div）内の写真: block化で行の隙間を正しく・下20px */
.sub-contents_boxWrap--half > div img{
	display: block;
	width: 100%;
	margin-bottom: 20px;
}

/* 下層本文のスマホ余白・見出し（現行max-767実値。PC値の流用で左端の揃いが崩れていた） */
@media screen and (max-width: 767px){
	.sub-contents_paragraph{
		margin: 0 0 40px;
		padding: 0 20px;
	}

	.sub-contents h2{
		font-size: 25px;
		margin: 0 0 12px;
		line-height: 28px;
		letter-spacing: 0;
	}

	.sub-contents h3{
		font-size: 19px;
		margin: 25px 0 10px;
		padding: 8px 4px 4px;
	}
}

/* サイドバー: 現行はスマホ非表示（#sidebar{display:none}） */
@media screen and (max-width: 767px){
	.sub-sidebar{
		display: none;
	}

	/* ページタイトル帯のSPサイズ（現行 max-767 の #contents h1 実値） */
	.sub-contents h1,
	.sub-contents_heading01{
		padding: 25px 15px;
		letter-spacing: 0;
		font-size: 30px;
		line-height: 36px;
		border-radius: 0;
		text-align: center;
	}
}

/* お知らせ一覧の幅: キットは中間ラッパー(sub-contents_inner 30px)＋段落(25px)の
   二重インデントでカードが570px（現行630px）に痩せる → ラッパーの左右余白を撤去 */
.sub-contents--blog .sub-contents_inner{
	padding-left: 0;
	padding-right: 0;
}

/* ページネーション（現行実値: 緑塗りボタン白字・現在/ホバー=グレー。キットの枠線型を上書き） */
.pagination{
	margin-top: 20px;
	font-weight: 700;
	overflow: hidden; /* float内包 */
}

.pagination span,
.pagination a{
	display: block;
	float: left;
	margin: 2px 5px 2px 0;
	padding: 4px 10px 3px;
	color: #fff !important;
	background: var(--c-main);
	border: none;
	border-radius: 3px;
}

.pagination a:hover,
.pagination .current{
	background: #dedede;
}

.pagination .inactive{
	color: #fff !important;
	border: none;
}

@media screen and (max-width: 767px){
	.pagination{
		font-size: 12px;
	}
}

/* お知らせ一覧カード（site-parts/common/news-loop.php とセット・現行再現）
   タイトルはh2装飾（緑＋クリームバー）を継承。リンク類は緑 */
.wakaba-newsTitle{
	/* 現行は20文字タイトルがカード内幅にちょうど収まる設計（余裕8px）。
	   キット側の文字間0.5px等の僅差で折り返すため文字間0で確実に1行に */
	letter-spacing: 0;
	white-space: nowrap;
	overflow: hidden;
}

.wakaba-newsTitle a{
	color: inherit;
}

.wakaba-newsMore,
.wakaba-newsMeta a{
	color: var(--c-main);
}

/* アクセス等の受付時間表: 時間セル幅は現行実測37%・telリンクは緑 */
.sub-contents_table .time{
	width: 37%;
}

.sub-contents a[href^="tel:"]{
	color: var(--c-main);
}

/* SPの本文表はセルをコンパクトに（現行相当。マーク7列で時間セルが潰れるのを防ぐ） */
@media screen and (max-width: 767px){
	.sub-contents_table th{
		font-size: 14px;
		padding: 8px 4px;
	}

	.sub-contents_table td{
		padding: 8px 4px;
	}
}

/* 原寸指定（no-resize）は回り込みの幅指定より優先（現行の詳細度関係を再現。
   例: /staff/ の医師イラスト113×198。img付きセレクタで上の width:100%/max-width に勝たせる） */
img.sub-contents_img--noResize{
	width: auto;
	height: auto;
	max-width: 100%;
}

/*--------------------------------------------------------------
##サイト固有の追加スタイル（ここから下に書く）
--------------------------------------------------------------*/

/*--------------------------------------------------------------
##SPヘッダー右のアイコンの色（v1.6.11）
親v2.3.34からアイコンが線画になり、既定の淡いクリーム（--c-accent-light）では白地で薄い（対比1.5）。
現行サイトのSPアイコン（予約・地図）は緑なので、主色の緑にする（v1.6.8 の画像版と同じ考え方）。
--------------------------------------------------------------*/
:root {
	--c-sp-icon: var(--c-main);
}


/*--------------------------------------------------------------
##このサイトの本文で使っている部品の現行再現
（置換後のクラス。値は現行 css/style-02.css のまま。v1.6.14 で追加）
--------------------------------------------------------------*/

/* ボタン型リンク（旧 link_btn。/access/「大きい地図を見る」・お知らせ「WEB予約はじめました」）
   現行: 白地・緑3px枠・文字#3f3f3f・余白15px 25px・下15px、中の <span> に矢印アイコン。
   キットの矢印は内側 span に専用クラスが要るが、置換後の span は素のため、素の span に直付けする。
   お知らせ（投稿）の本文を置換しなかった場合でも同じ見た目になるよう、旧クラス名（.link_btn）にも同じ指定を掛ける */
.sub-contents .sub-contents_link--btn,
.sub-contents .link_btn{
	display: inline-block;
	background: #fff;
	border: 3px solid var(--c-main);
	border-radius: 5px;
	color: #3f3f3f;
	padding: 15px 25px;
	margin: 0 0 15px;
	font-weight: 700;
}

/* v1.6.16: 電話番号のボタン型リンクも文字は #3f3f3f（上の tel リンクの緑に負けていた。
   /service/menu_02/firstcontact/「電話番号：045-311-1514」。目視チェックの指摘） */
.sub-contents a.sub-contents_link--btn[href^="tel:"],
.sub-contents a.link_btn[href^="tel:"]{
	color: #3f3f3f;
}

.sub-contents .sub-contents_link--btn > span,
.sub-contents .link_btn > span{
	background: url(../img/site/icon_arw.svg) no-repeat left center;
	background-size: 11px 11px;
	padding-right: 20px;
	padding-left: 16px;
	display: inline-block;
}

/* 大きい文字・小さい文字（旧 txt_l=120%／txt_s=80%。キット既定は 24px／13px の固定値）
   /access/ の電話番号・/cancel/ の注意書き・お知らせ1件で使用。旧クラス名のままでも同じ見た目にする */
.sub-contents .sub-contents_txt--large,
.sub-contents .txt_l{
	font-size: 120%;
}

.sub-contents .sub-contents_txt--small,
.sub-contents .txt_s{
	font-size: 80%;
}

/* 投稿詳細・一覧のメタ行（投稿日／カテゴリー）は子テンプレートが同じクラスを使っている。
   現行は本文と同じ大きさのため、上の80%を当てない */
.wakaba-newsMeta .sub-contents_txt--small{
	font-size: inherit;
}

/* 地図の埋め込み枠（旧 iframe_wrapper。現行は上余白なし・下20px。キット既定は上30px） */
.sub-contents_iframe{
	margin: 0 0 20px;
}

/* 番号リスト（旧 list_number。/service/menu_01/ の <ol>）
   置換後の <li> は素のため、キットの番号（専用クラス付き li にだけ付く）が出ない → 現行 #contents .list_number の値を素 li に直付け */
.sub-contents ol.sub-contents_list--number,
.sub-contents ul.sub-contents_list--number{
	list-style: none;
	counter-reset: li_count;
	margin: 0;
	padding-left: 0; /* ol 既定の字下げ40pxの打消し */
}

.sub-contents ol.sub-contents_list--number li,
.sub-contents ul.sub-contents_list--number li{
	margin-bottom: 10px;
	text-indent: -11px;
	padding-left: 24px;
}

.sub-contents ol.sub-contents_list--number li::before,
.sub-contents ul.sub-contents_list--number li::before{
	counter-increment: li_count;
	content: counter(li_count) ".";
	color: var(--c-main);
	font-weight: 700;
	letter-spacing: 0;
	width: 11px;
	display: inline-block;
	font-size: inherit;
}

/* 本文中の <small>（/flow/ の受付時間表など。現行は75%） */
.sub-contents small{
	font-size: 75%;
}

/*==============================================================
ここから下（v1.6.14・2026-11-12）: 本番と開発環境を 375／800／1280／1920px で並べて実測し、
位置・幅・余白・文字サイズを本番の数値に合わせ込んだもの。
前半（「文字まわり」〜「下層ページ…」の各ブロック）は、同じ旧テンプレート・ほぼ同じ現行CSSを持つ
グループ院の後発サイトで固めた直し方をそのまま入れている（ブロック見出しの版番号はその時のもの）。
後半「このサイトだけの調整」が、このサイトで実測して足した分。
==============================================================*/
/*--------------------------------------------------------------
##トップ・ヘッダー・フッターの文字まわりを現行の実測値へ（v1.0.1）
開発環境と本番を4つの幅（375／800／1280／1920px）で並べ、同じ文言の要素どうしで
文字サイズ・行間・字間・色を比べて違っていたものを、本番の値に合わせた（2026-11-10 実測）。
位置・幅・余白のずれ（PCヘッダーの並び、お知らせと診療時間の箱の幅、色帯の幅、フッターの予約ボタンなど）は
このブロックでは直していない（次の版で対応）。
--------------------------------------------------------------*/
.header-pcinfoArea_txt{
	font-size: 14px;
	letter-spacing: normal;
}

.header-pcinfoArea_telIcon{
	line-height: 33px;
}

.header-pcNav_link{
	font-size: 14px;
}

.top-notices_title{
	color: var(--c-main);
	font-family: inherit;
}

.top-notices_txt{
	color: var(--c-main);
}

.top-information_heading02{
	letter-spacing: 2px;
}

.top-information_day{
	font-size: 13px;
}

.top-intro_heading02{
	letter-spacing: normal;
}

.top-intro_txt{
	line-height: 25px;
}

.top-service_listTxt{
	letter-spacing: normal;
}

.footer-clinicTxt{
	font-size: 14px;
}

.footer-clinicTel_icon{
	line-height: 36px;
}

.footer-sitemapListLink{
	line-height: 20px;
}

.footer-copyrightItem{
	font-size: 12px;
}

/* スマホのみ */
@media screen and (max-width: 767px){
	.top-mv_copyTxtItem{
		letter-spacing: normal;
	}

	.top-information_title{
		font-size: 14px;
	}

	.top-bgcolorArea-heading03,
	.top-bgcolorArea-headingLarge{
		line-height: 25px;
	}

	.top-service_heading02Inner{
		font-size: 25px;
	}

	.top-service_heading03{
		line-height: 20px;
	}
}

/* タブレット以上 */
@media print, screen and (min-width: 768px){
	.top-notices_txt{
		font-size: 16px;
	}

	.top-information_th,
	.footer-clinicInfo_th{
		font-size: 14px;
	}
}

/* タブレットのみ */
@media screen and (min-width: 768px) and (max-width: 1023px){
	.top-service_heading03{
		font-size: 22px;
	}

	.footer-sitemapListLink{
		font-size: 14px;
	}
}

/* タブレット〜PC（大画面を除く）: MVのキャッチ */
@media screen and (min-width: 768px) and (max-width: 1919px){
	.top-mv_copyTxtItem{
		font-size: 18px;
	}
}

/* PC */
@media print, screen and (min-width: 1024px){
	.top-intro_txt{
		font-size: 16px;
		line-height: 30px;
	}

	.footer-clinicInfoBtnArea_btn{
		font-size: 20px;
		line-height: 50px;
		letter-spacing: 2px;
	}

	.footer-sitemapListLink{
		font-size: 16px;
	}
}

/* PC（大画面） */
@media print, screen and (min-width: 1920px){
	.header-pcNav_link{
		font-size: 17px;
	}
}

/*--------------------------------------------------------------
##余白の土台を現行にそろえる（v1.0.2）
現行 css/style-02.css は冒頭に「すべての要素の余白を0・文字サイズと行間は親から引き継ぐ」指定を持つ。
キットの土台（sanitize.css）はブラウザ既定の余白を残すため、見出し・リスト・段落のまわりが現行より広く出ていた
（開発環境と本番の実測で確認・2026-11-10）。現行と同じ指定を置く。詳細度が最も低いので、クラスで指定した余白はそのまま効く。
--------------------------------------------------------------*/
*,
::after,
::before{
	border-style: solid;
	border-width: 0;
}

*{
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
}

h1{
	font-size: inherit;
	margin: 0;
}

figure{
	margin: 0;
}

small{
	font-size: 75%;
}

/*--------------------------------------------------------------
##トップ・ヘッダー・フッターの位置・幅・余白を現行の実測値へ（v1.0.2・PC）
開発環境と本番で、対応する箱どうしの位置・大きさ・余白を比べて合わせた（1280px と 1920px で実測）。
数値はすべて本番の実測値。
--------------------------------------------------------------*/
@media print, screen and (min-width: 768px){
	/* 「重要なお知らせ」の本文（現行 16px） */
	.top-notices_listtxt{
		font-size: 16px;
	}
}

@media print, screen and (min-width: 1024px){
	/* ヘッダー: 上30px・下15px。ロゴは右側（住所〜ナビ）の高さに対して縦の中央 */
	.header-pc{
		padding: 30px 30px 15px;
	}

	.header-pcLogoArea{
		position: relative;
		top: 17px;
	}

	.header-pcinfoArea_tel{
		line-height: 33px;
		text-align: right;
	}

	/* MV のキャッチ: 画像の左上から 38px */
	.top-mv_wrap{
		padding: 0 38px;
		align-items: flex-start;
	}

	.top-mv_copy{
		margin-top: 38px;
	}

	.top-mv_copyTxtItem{
		padding-left: 15px;
		padding-right: 15px;
	}

	/* 重要なお知らせ */
	.top-notices_headingWrap{
		margin-right: 20px;
	}

	.top-notices_list{
		flex: 1 1 auto;
		width: auto;
	}

	/* お知らせ／診療時間: 上下70px・箱の幅430px・縦の中央 */
	.top-information{
		margin-top: 0;
	}

	.top-information_newsArea,
	.top-information_scheduleArea{
		padding: 70px 0;
		align-items: center;
	}

	.top-information_newsAreaInner,
	.top-information_scheduleAreaInner{
		width: 430px;
	}

	.top-information_newsArea h2,
	.top-information_scheduleArea h2{
		margin: 0 0 15px;
	}

	.top-information_list{
		margin: 0;
	}

	.top-information_item{
		margin-top: 0;
	}

	.top-information_link{
		padding: 12px 20px;
		margin-bottom: 5px;
	}

	.top-information_table{
		margin: 0 0 10px;
	}

	.top-information_th,
	.footer-clinicInfo_th{
		padding: 8px 10px;
	}

	.top-information_note{
		margin-top: 5px;
	}

	/* 紹介 */
	.top-intro{
		margin-top: 70px;
	}

	.top-intro_heading02{
		margin: 0 0 40px;
	}

	.top-intro_inner{
		margin-top: 0;
		align-items: flex-start;
	}

	.top-intro_txt{
		margin-bottom: 20px;
	}

	.top-bgcolorArea{
		padding: 30px 65px 35px;
	}

	/* 診療内容カード: 幅314px・両端そろえ・行間20px */
	.top-service{
		margin-top: 70px;
	}

	.top-service_heading02{
		margin: 0 0 30px;
	}

	.top-service_list{
		margin: 0;
		justify-content: space-between;
	}

	.top-service_listItem,
	.top-service_listItem:nth-child(n){
		width: 314px;
		margin: 0 0 20px;
	}

	.top-service_listTxt{
		margin-top: 0;
	}

	/* フッターの医院情報: ロゴ → 住所 → 電話 → WEB予約 → 表 → 注記 の順（現行の並び） */
	.footer-clinicInfo{
		padding: 70px 0;
	}

	.footer-clinicInfoInner{
		width: 100%;
		max-width: none;
		display: flex;
		flex-direction: column;
	}

	.footer-clinicInfoInner > *{
		order: 1;
	}

	.footer-clinicInfoInner h2{
		margin: 0 0 21px;
	}

	.footer-clinicTxt{
		order: 2;
		margin: 0;
	}

	.footer-clinicTel{
		order: 3;
		margin: 0;
		line-height: 36px;
	}

	.footer-clinicInfoBtnArea{
		order: 4;
		margin: 20px 0 0;
	}

	.footer-clinicInfoBtnArea_btn{
		padding: 0 30px;
		height: 50px;
	}

	.footer-clinicInfo_table{
		order: 5;
		margin: 20px auto 10px;
	}

	.footer-clinicInfo_note{
		order: 6;
		margin: 0;
	}

	/* サイトマップ帯 */
	.footer-sitemap{
		padding: 0 0 25px;
	}

	.footer-sitemapList{
		width: 980px;
		max-width: 100%;
		margin: 0 auto;
		padding: 40px 0 30px;
	}

	.footer-sitemapListItem{
		margin-top: 0;
		line-height: 20px;
	}

	.footer-groupBnrArea{
		margin-top: 0;
	}

	.footer-copyright{
		margin-top: 0;
	}
}

/* PC（大画面）: ヘッダーは [ロゴ｜ナビ｜住所・電話・予約] の1行 */
@media print, screen and (min-width: 1920px){
	.header-pc{
		padding: 36px 30px 21px;
	}

	.header-pcLogoArea{
		top: -9px;
	}

	.header-pcNavArea{
		position: relative;
		top: -15px;
		margin-right: 35px;
	}

	.header-pcNav_item{
		margin-right: 20px;
	}

	.header-pcNav_item:last-child{
		margin-right: 0;
	}

	.top-mv_wrap{
		padding: 0 60px;
	}

	.top-mv_copy{
		margin-top: 60px;
	}
}

/*--------------------------------------------------------------
##トップ・フッターの位置・幅・余白（v1.0.2・全幅共通／タブレット／スマホ）
上のPC向けブロックと同じ方法で、800px と 375px でも本番と比べて合わせた。
スマホ・タブレットの数値は現行 css/style-02.css の該当メディアクエリの値。
--------------------------------------------------------------*/
.top-mv{
	margin-top: 0;
}

.top-information{
	margin-top: 0;
}

.top-information_newsArea h2,
.top-information_scheduleArea h2{
	margin: 0 0 15px;
}

.top-information_list{
	margin: 0;
}

.top-information_item{
	margin-top: 0;
}

.top-information_link{
	margin-bottom: 5px;
}

.top-information_table{
	margin: 0 0 10px;
}

.top-information_note{
	margin-top: 5px;
}

.top-service_list{
	margin: 0;
}

.top-service_listTxt{
	margin-top: 0;
}

/* フッターの医院情報: ロゴ → 住所 → 電話 → WEB予約 → 表 → 注記 の順（現行の並び・全幅共通） */
.footer-clinicInfoInner{
	width: 100%;
	max-width: none;
	display: flex;
	flex-direction: column;
}

.footer-clinicInfoInner > *{
	order: 1;
}

.footer-clinicInfoInner h2{
	margin: 0 0 21px;
}

.footer-clinicTxt{
	order: 2;
	margin: 0;
}

.footer-clinicTel{
	order: 3;
	margin: 0;
	line-height: 36px;
}

.footer-clinicInfoBtnArea{
	order: 4;
	margin: 20px 0 0;
}

.footer-clinicInfoBtnArea_btn{
	padding: 0 30px;
	height: 50px;
	line-height: 50px; /* v1.6.16: 1023px以下でも文字を上下中央に（現行は全幅で50px。目視チェックの指摘） */
}

.footer-clinicInfo_table{
	order: 5;
	margin: 20px auto 10px;
}

.footer-clinicInfo_note{
	order: 6;
	margin: 0;
}

.footer-sitemap{
	padding: 0 0 25px;
}

.footer-sitemapListItem{
	margin-top: 0;
	line-height: 20px;
}

.footer-groupBnrArea{
	margin-top: 0;
}

.footer-copyright{
	margin-top: 0;
}

/* タブレット以上 */
@media print, screen and (min-width: 768px){
	.top-mv_copyTxtItem{
		padding-left: 15px;
		padding-right: 15px;
	}

	.top-notices_headingWrap{
		margin-right: 20px;
	}

	.top-notices_list{
		flex: 1 1 auto;
		width: auto;
	}

	.top-information_link{
		padding: 12px 20px;
	}

	.top-information_th,
	.footer-clinicInfo_th{
		padding: 8px 10px;
	}

	.top-intro{
		margin-top: 70px;
	}

	.top-intro_heading02{
		margin: 0 0 40px;
	}

	.top-intro_inner{
		margin-top: 0;
	}

	.top-service{
		margin-top: 70px;
	}

	.top-service_heading02{
		margin: 0 0 30px;
	}

	.top-service_list{
		justify-content: space-between;
	}

	.footer-clinicInfo{
		padding: 70px 0;
	}
}

/* スマホとタブレット: ヘッダーの高さ65px（現行）・ロゴの位置 */
@media screen and (max-width: 1023px){
	:root{
		--header-sp-height: 65px;
	}

	.header-spInner{
		height: 58px;
	}

	.header-spLogoArea{
		height: 58px;
		padding-left: 20px;
	}

	.top-intro_txt{
		margin-bottom: 10px;
	}
}

/* タブレットのみ */
@media screen and (min-width: 768px) and (max-width: 1023px){
	.top-mv_wrap{
		height: 420px;
		padding: 24px;
		align-items: flex-start;
	}

	.top-container{
		width: 92%;
	}

	.top-bgcolorArea{
		padding: 20px 65px 25px 25px;
		margin-top: 20px;
	}

	.top-service_listItem,
	.top-service_listItem:nth-child(n){
		width: 32%;
		margin: 0 0 15px;
	}

	.footer-clinicMap{
		height: 400px;
	}

	.footer-sitemapList{
		width: auto;
		margin: 0 20px;
		padding: 30px 0;
	}
}

/* スマホのみ */
@media screen and (max-width: 767px){
	.top-mv{
		padding: 0 12px;
	}

	.top-mv_wrap{
		height: 475px;
		padding: 0 15px 20px;
	}

	.top-mv_copyTxtItem{
		font-size: 16px;
		letter-spacing: 0;
		padding: 3px 8px 5px;
		border-radius: 3px;
	}

	.top-notices{
		padding: 0 12px 30px;
	}

	.top-notices_headingWrap{
		margin-bottom: 10px;
	}

	.top-notices_list{
		margin-top: 0;
	}

	.top-information_newsArea,
	.top-information_scheduleArea{
		padding: 35px 15px 40px;
	}

	.top-information_link{
		padding: 10px 15px;
	}

	.top-information_day{
		display: block;
	}

	.top-information_th,
	.top-information_td,
	.footer-clinicInfo_th,
	.footer-clinicInfo_td{
		padding: 4px;
	}

	.top-information_th,
	.footer-clinicInfo_th{
		font-size: 12px;
	}

	.top-information_td,
	.footer-clinicInfo_td{
		font-size: 14px;
	}

	.top-information_td--time,
	.footer-clinicInfo_td--time{
		font-size: 12px;
	}

	.top-intro{
		margin-top: 35px;
	}

	.top-service{
		margin-top: 35px;
	}

	.top-service_heading02{
		margin: 0 0 15px;
	}

	.top-service_listItem,
	.top-service_listItem:nth-child(n){
		margin: 0 0 10px;
	}

	.footer-clinicInfo{
		padding: 35px 15px;
	}

	.footer-clinicMap{
		height: 300px;
	}

	.footer-sitemapList{
		padding: 20px 0;
		margin: 0;
	}

	.footer-sitemapListItem{
		margin-bottom: 10px;
		padding: 0 5px;
	}
}

/* --- 上のブロックの仕上げ（4つの幅で再実測して残った差） --- */
/* スマホとタブレット: MV の箱の高さ（500／450px）に下の余白が含まれるので、MV と「重要なお知らせ」の間の余白は足さない */
@media screen and (max-width: 1023px){
	.top-mv{
		margin-bottom: 0;
	}

	.top-notices{
		margin-top: 0;
	}
}

/* タブレット以上: 「重要なお知らせ」の本文の箱＝全体から見出し175px＋間20pxを引いた幅 */
@media print, screen and (min-width: 768px){
	.top-notices_list{
		flex: 0 1 auto;
		width: calc(100% - 195px);
	}
}

/* タブレットのみ: 紹介・診療内容の幅は画面の92% */
@media screen and (min-width: 768px) and (max-width: 1023px){
	.top-container{
		padding-left: 0;
		padding-right: 0;
	}
}

/* スマホのみ */
@media screen and (max-width: 767px){
	.top-mv_copyTxtItem{
		margin: 0 0 4px;
	}

	.footer{
		margin-top: 25px;
	}

	.footer-sitemapList{
		width: 95%;
	}
}

/*--------------------------------------------------------------
##下層ページの上部と本文まわりを現行の実測値へ（v1.0.4）
本文置換後の開発環境と本番を並べて実測（2026-11-10・/flow/・/service/・/service/menu_01/・/access/・/clinic/）。
--------------------------------------------------------------*/
/* パンくず: 左右3px（文字は タブレット以上 14px・スマホ 13px＝下のメディアクエリ） */
.sub-breadcrumb{
	padding: 0 3px;
}

/* 電話アイコンの左余白（現行35px） */
.footer-clinicTel_icon{
	padding-left: 35px;
}

/* 本文中の画像の下の余白（現行 #contents .paragraph img）。表の中の画像は上下10px */
.sub-contents_paragraph img{
	margin-bottom: 20px;
}

.sub-contents_paragraph table img{
	margin: 10px 0;
}

@media print, screen and (min-width: 768px){
	.sub-breadcrumb{
		font-size: 14px;
	}

	/* 段落の左右5px（現行 #contents p） */
	.sub-contents p{
		padding: 0 5px;
	}

	.sub-contents_img--right{
		margin: 0 0 20px 20px;
	}
}

@media print, screen and (min-width: 1024px){
	/* 下層MVはヘッダーの直下（上の余白なし）→ パンくず → 本文 を各20px間隔に。本文の下は60px */
	.sub-mv{
		margin-top: 0;
	}

	.sub-breadcrumb{
		margin-top: 20px;
	}

	.sub-contents{
		margin-top: 20px;
	}

	/* 本文の下〜フッターを現行の60pxに（フッターの上余白50px＋10px。余白どうしは重なるため内側の余白で足す） */
	.sub-container{
		padding-bottom: 10px;
	}

	.header-pcinfoArea_telIcon{
		padding-left: 35px;
	}
}

/*--------------------------------------------------------------
##下層ページのスマホ・タブレット幅、お知らせ一覧・投稿・サイドバーを現行の実測値へ（v1.0.5）
開発環境と本番を 375・800・1280px で並べて実測（2026-11-10・/flow/・/service/・/service/menu_01/・/access/・/clinic/・/staff/・/category/news/・投稿）。
値の出典は現行 css/style-02.css。このブロックより上にある同じ対象の指定（スマホの表 14px・時間セル37%・お知らせ題名の1行固定・
サイドバーのスマホだけ非表示）は、ここで現行の値に上書きしている。
--------------------------------------------------------------*/
/* 本文の h1・h2 は丸ゴシック（現行 h1,h2,h3 の書体指定。h3 以下は本文と同じ書体のまま） */
.sub-contents h1,
.sub-contents h2,
.sub-contents_heading01{
	font-family: var(--font-base);
}

/* 下層MVはどの幅でもヘッダーの直下 */
.sub-mv{
	margin-top: 0;
}

/* 枠・色ボックスの中の h3・h4 は上の余白なし（現行 #contents .border-box h3 など） */
.sub-contents .sub-contents_box--border h3,
.sub-contents .sub-contents_box--color h3{
	margin-top: 0;
	padding: 8px 2px;
}

.sub-contents .sub-contents_box--border h4,
.sub-contents .sub-contents_box--color h4{
	margin-top: 0;
}

/* 本文の表の時間セル: 現行は幅の指定なし（文字量なりの幅） */
.sub-contents_table .time{
	width: auto;
}

/* フッターの診療時間表の見出し行: 下線 4px・濃い緑（現行 #foot_clinic-info .schedule_box table tr th） */
.footer-clinicInfo_th{
	border-bottom: 4px solid var(--c-sub);
}

/* お知らせ一覧のカード: 現行の抜粋は段落に入っていない素の文章（左右・下の余白なし） */
.wakaba-newsTitle + .sub-contents_txt{
	margin-bottom: 0;
	padding: 0;
}

/* お知らせ一覧の題名: 現行と同じ文字間（0.5px）・折り返しあり */
.wakaba-newsTitle{
	letter-spacing: .5px;
	white-space: normal;
	overflow: visible;
}

/* お知らせ一覧・投稿の本文枠の下（キットの中間ラッパーの下余白50pxは現行にない） */
.sub-contents--blog .sub-contents_inner{
	padding-bottom: 0;
}

/* スマホとタブレット */
@media screen and (max-width: 1023px){
	/* パンくず〜本文 13px */
	.sub-contents{
		margin-top: 13px;
	}

	/* サイドバーは出さない（現行 #sidebar{display:none}） */
	.sub-sidebar{
		display: none;
	}
}

/* タブレットのみ */
@media screen and (min-width: 768px) and (max-width: 1023px){
	.sub-contents_paragraph{
		margin-bottom: 50px;
	}

	/* 本文の下〜フッター 60px（フッターの上余白50px＋10px） */
	.sub-container{
		padding-bottom: 10px;
	}
}

/* スマホのみ */
@media screen and (max-width: 767px){
	.sub-contents h3{
		line-height: 27px;
	}

	.sub-contents h4{
		font-size: 17px;
		margin: 25px 0 10px;
		line-height: 27px;
	}

	.sub-contents h5{
		font-size: 16px;
		margin: 15px 0 5px;
	}

	.sub-contents_table{
		margin: 10px 0 15px;
		font-size: 13px;
	}

	.sub-contents_table th{
		font-size: 17px;
		padding: 5px;
	}

	.sub-contents_table td{
		padding: 5px 5px 3px;
	}

	.sub-contents ul li{
		padding-left: 20px;
		text-indent: -18px;
	}

	.sub-contents ul li::before{
		font-size: 13px;
	}

	.sub-contents .sub-contents_link--btn,
	.sub-contents .sub-contents_link--btnWide{
		padding: 12px 10px;
	}

	/* 本文中の画像は1枚ずつ中央（現行 #contents .paragraph img）。表の中の画像は行内のまま */
	.sub-contents_paragraph img{
		display: block;
		margin: 0 auto 20px;
	}

	.sub-contents_paragraph table img{
		display: inline;
		margin: 10px 0;
	}

	/* 本文の下〜フッター 40px（フッターの上余白25px＋15px） */
	.sub-container{
		padding-bottom: 15px;
	}
}

/* PC: サイドバー（現行 #sidebar .side_menu。見出し23px・罫線で区切った高さ54pxの項目・矢印は左8pxの上下中央） */
@media print, screen and (min-width: 1024px){
	/* 本文枠は中身の高さまで（サイドバーの高さに引き伸ばさない） */
	.sub-contents--blog{
		align-self: flex-start;
	}

	/* 上は本文枠とそろえる。下はフッターまで70px（フッターの上余白50px＋本文側10px＋10px） */
	.sub-sidebar{
		margin-top: 20px;
		margin-bottom: 10px;
	}

	.sub-sidebar_inner{
		margin-bottom: 25px;
	}

	.sub-sidebar_heading02{
		font-size: 23px;
		letter-spacing: 1px;
		margin: 0 0 12px;
	}

	.sub-sidebar_heading02:before{
		height: 22px;
		left: 2px;
		top: 50%;
		bottom: auto;
		margin-top: -10px;
	}

	.sub-sidebar_list{
		margin-top: 0;
		font-size: 15px;
		border-top: 1px solid #e0ded0;
	}

	.sub-sidebar_listItem,
	.sub-sidebar_listItem:hover{
		background: none;
		padding: 0;
		margin-top: 0;
		line-height: inherit;
		border-bottom: 1px solid #e0ded0;
	}

	.sub-sidebar_listItem a{
		display: flex;
		align-items: center;
		color: #3f3f3f;
		letter-spacing: 0;
		padding: 15px 5px 13px 26px;
		background: url(../img/site/icon_arw.svg) no-repeat 8px center;
		background-size: 10px 10px;
		white-space: normal;
		overflow: visible;
	}

	.sub-sidebar_listItem:hover a{
		background-image: url(../img/site/icon_arw_hover.svg);
		color: var(--c-main);
	}
}

/* トップ「重要なお知らせ」: 本文はどの幅でも16px・日付の右10px（現行 .top_notices_listtxt／.top_notices_day）。
   スマホでは題名のあとで改行（現行の <br class="pc_none tab_none">） */
.top-notices_listtxt{
	font-size: 16px;
}

.top-notices_day{
	padding-right: 10px;
}

@media screen and (max-width: 767px){
	.top-notices_title::after{
		content: "\A";
		white-space: pre;
	}
}

/*--------------------------------------------------------------
##このサイトだけの調整（v1.6.14）
値の出典は現行 css/style-02.css と、本番・開発環境の実測（2026-11-12）。
--------------------------------------------------------------*/
/* MVキャッチ: 2〜3行目は 0.8倍（上の共通ブロックの文字サイズ指定のあとに置き直す）。行の間隔はタブレット以上 10px */
.top-mv_copyTxt--item02,
.top-mv_copyTxt--item03{
	font-size: .8em;
}

@media screen and (min-width: 768px) and (max-width: 1919px){
	.top-mv_copyTxt{
		font-size: 18px;
	}
}

/* MVの丸いバッジの文字は丸ゴシック（現行 h3） */
.top-mv h3{
	font-family: var(--font-base);
}

/* 診療時間表（トップ・フッター共通。現行 .schedule_box table）: 表 14px・印 18px・時間 13px（タブレット以上）。
   「-」（休診）も印と同じクリーム色 */
@media print, screen and (min-width: 768px){
	.top-mv_copyTxtItem{
		margin: 0 0 10px;
	}

	.top-information_table,
	.footer-clinicInfo_table{
		font-size: 14px;
	}

	.top-information_td,
	.footer-clinicInfo_td{
		font-size: 18px;
	}

	.top-information_td--time,
	.footer-clinicInfo_td--time{
		font-size: 13px;
	}
}

.top-information_td,
.footer-clinicInfo_td{
	color: var(--c-point);
}

.top-information_td--time,
.footer-clinicInfo_td--time{
	color: #fff;
}

/* 重要なお知らせが2件のとき: 現行は1つの白い箱の中に2件が続く（間の余白・角丸なし） */
.top-notices_listitem{
	margin-top: 0;
}

.top-notices_listitem:not(:last-child) .top-notices_link{
	padding-bottom: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.top-notices_listitem:not(:first-child) .top-notices_link{
	padding-top: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* 紹介見出しの「徒歩5分、」は字間2px（現行 .txt_l）。色帯の文は左寄せ・字間なし */
.top-intro_headingXL{
	letter-spacing: 2px;
}

.top-bgcolorArea-heading03{
	letter-spacing: normal;
}

/* v1.6.18: 帯の文字はタブレット以上だけ左寄せ（スマホはキット標準の中央。2026-11-27 ユーザー決定） */
@media print, screen and (min-width : 768px){
	.top-bgcolorArea-heading03{
		text-align: left;
	}
}

/* フッター医院情報: ロゴの下20px・電話の下21px・表の上45px（現行は表の上に1行分の空きがある）・注記は本文と同じ大きさ */
.footer-clinicInfoInner h2{
	margin: 0 0 20px;
}

.footer-clinicInfoBtnArea{
	margin-top: 21px;
}

.footer-clinicInfoBtnArea_btn{
	font-size: 20px;
	letter-spacing: 2px;
}

.footer-clinicInfo_table{
	margin-top: 45px;
	/* v1.6.17: 現行は緑の箱が表の25px上から始まる（WEB予約ボタンとの間は白20px＋緑25px）。
	   表の位置は変えず、上に緑の帯25pxを足す（ユーザー指摘 2026-11-27・全幅で同じ） */
	box-shadow: 0 -25px 0 var(--c-main);
}

.footer-clinicInfo_note{
	font-size: inherit;
}

@media print, screen and (min-width: 768px){
	/* フッターのロゴ 300px（現行 .foot_logoimg。スマホは250pxのまま） */
	.footer-logo_imgLogoHorizontal{
		width: 300px;
		height: auto;
	}
}

@media print, screen and (min-width: 1024px){
	/* 紹介文は1段落（site-parts/front/intro.php とセット） */
	.top-intro_txt{
		margin: 0 0 20px;
	}

	/* ネット予約バナー: 上70px・下40px（下は次の見出しの上余白70pxと合わせて40pxになるよう -30px） */
	.top-bnrarea--free{
		margin: 70px 0 -30px;
	}

	.footer-clinicInfoInner h2{
		line-height: 0;
	}
}

@media print, screen and (min-width: 1920px){
	/* ヘッダーの高さ124px（上30px・下15px）・ロゴの位置・バッジは右下30px */
	.header-pc{
		padding: 30px 30px 15px;
	}

	.header-pcLogoArea{
		top: -7px;
	}

	.top-mv_extra{
		bottom: 30px;
	}
}

/* スマホとタブレット */
@media screen and (max-width: 1023px){
	/* ヘッダーのロゴ 155px（現行。高さは自動） */
	.header-spLogoArea_imgLogoVertical{
		width: 155px;
		height: auto;
	}

	/* フッターの地図は枠の高さいっぱい（キットの縦横比の指定だと枠より低くなり下に空きが出る） */
	.footer-clinicMap_iframeWrapper{
		height: 100%;
		padding-bottom: 0;
	}

	/* ページ上部へ戻るボタン 45px・右10px */
	.footer-pagetop{
		right: 10px;
	}

	.footer-pagetop,
	.footer-pagetop img{
		width: 45px;
		height: 45px;
	}
}

/* タブレットのみ */
@media screen and (min-width: 768px) and (max-width: 1023px){
	.top-intro_txt{
		font-size: 15px;
	}
}

/* スマホのみ */
@media screen and (max-width: 767px){
	.top-information_note{
		font-size: 13px;
	}

	/* ネット予約バナーは画面の幅いっぱい・上35px・下40px */
	.top-bnrarea--free{
		margin: 35px -15px 40px;
	}

	.top-service_heading02{
		font-size: 25px;
	}

	.top-intro_txt{
		margin: 0 0 10px;
	}
}

/* 本文中のリンクは緑（現行 a。見出しの中のリンクが本文色になっていた）。
   :where で詳細度を上げないので、ボタン型・カード型など個別に色を決めているリンクはそのまま */
:where(.sub-contents) a{
	color: var(--c-main);
}

/* 枠・色ボックスの中の h2・h5 は上の余白なし（スマホ用の見出し指定に負けないよう書き直し） */
.sub-contents .sub-contents_box--border h2,
.sub-contents .sub-contents_box--color h2,
.sub-contents .sub-contents_box--border h5,
.sub-contents .sub-contents_box--color h5{
	margin-top: 0;
}

/* ページ送りの文字は本文と同じ大きさ（現行。キットの13pxが残っていた） */
.pagination span,
.pagination a{
	font-size: inherit;
}

/*--------------------------------------------------------------
##PCヘッダー: 1行に収まる幅（約1500px以上）での位置（v1.6.15）
1280px と 1920px では合っていたが、その間の「1行になる幅」でロゴが25px下・ナビが5px上・住所と予約ボタンが10px右にずれていた
（2段のときの値でロゴを下げていたため）。現行はロゴがヘッダー全体に対して上下中央、ナビは上10px・左40px。
1280／1500／1515／1600／1900px で本番と同じ位置になることを実測（2026-11-18）。1920px 以上は従来どおり。
--------------------------------------------------------------*/
@media print, screen and (min-width: 1024px) and (max-width: 1919px){
	.header-pc{
		position: relative;
		padding-left: 280px; /* 余白30px＋ロゴ250px */
		row-gap: 0;
	}

	.header-pcLogoArea{
		position: absolute;
		left: 30px;
		top: 50%;
		transform: translateY(-50%);
		margin: 0;
	}

	.header-pcNavArea{
		margin: 10px 0 0 40px;
	}
}

/* PCヘッダーの住所は右寄せ（現行 #pc_header .adress_tel。2行になるとき2行目が右端にそろう） */
@media print, screen and (min-width: 1024px){
	.header-pcinfoArea_txt{
		text-align: right;
	}
}
