@charset "UTF-8";
/* ============================================================
 * スマホ表示（2026-11）
 * 959px 以下（スマホ・タブレット縦）のときだけ適用。PC 表示には影響しない。
 * ============================================================ */

/* PC ではスマホ用パーツを出さない */
@media (min-width: 960px) {
	#lw_menu_btn,
	#lw_drawer,
	#lw_drawer_overlay,
	#lw_callbar {
		display: none !important;
	}
}

@media (max-width: 959px) {

	/* ---------- 基本 ---------- */
	html {
		-webkit-text-size-adjust: 100%;
	}
	body {
		font-size: 15px;
		line-height: 1.75;
		text-align: left;
		padding-bottom: calc(72px + env(safe-area-inset-bottom)); /* 画面下の電話ボタン（高さ 68px）に最下部が隠れないように */
	}
	img {
		max-width: 100%;
		height: auto;
	}
	input,
	select,
	textarea {
		max-width: 100%;
		font-size: 16px; /* iPhone の自動ズーム防止 */
	}

	/* ---------- 上部の h1 バー ---------- */
	#area_h1 {
		height: auto;
	}
	#wrap_h1 {
		width: auto;
		height: auto;
		padding: 3px 64px 3px 10px;
		line-height: 1.4;
	}
	#area_h1 h1 {
		font-size: 11px;
	}

	/* ---------- ヘッダー ---------- */
	#wrap_header {
		width: auto;
		height: auto;
		padding: 10px 64px 10px 10px;
	}
	#box_header_left {
		width: auto;
		float: none;
		padding-top: 0;
	}
	#box_header_left img {
		width: 230px;
		display: block;
	}
	#box_header_right {
		display: none; /* ヘッダーメニュー・電話はドロワーと下部ボタンで代替 */
	}

	/* メインビジュアル：小鳥の診察写真と駅からの案内が入るように切り出し */
	#area_visual {
		height: 36.4vw;
		background-size: 218% auto;
		background-position: 51% 0;
	}

	/* 画像のグローバルメニューはドロワーで代替 */
	#area_gmenu {
		display: none;
	}

	/* ---------- メニューボタン・ドロワー ---------- */
	#lw_menu_btn {
		position: fixed;
		top: 8px;
		right: 8px;
		z-index: 1002;
		width: 52px;
		height: 52px;
		padding: 0;
		border: 0;
		border-radius: 8px;
		background: #FF8600;
		color: #fff;
		box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
		cursor: pointer;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		font: inherit;
	}
	.lw_menu_bars,
	.lw_menu_bars::before,
	.lw_menu_bars::after {
		display: block;
		width: 24px;
		height: 3px;
		border-radius: 2px;
		background: #fff;
		position: relative;
		transition: transform .2s, background .2s;
	}
	.lw_menu_bars::before,
	.lw_menu_bars::after {
		content: "";
		position: absolute;
		left: 0;
	}
	.lw_menu_bars::before { top: -7px; }
	.lw_menu_bars::after  { top: 7px; }
	.lw_menu_label {
		font-size: 10px;
		line-height: 1;
		margin-top: 9px;
	}
	body.lw_menu_open .lw_menu_bars { background: transparent; }
	body.lw_menu_open .lw_menu_bars::before { transform: translateY(7px) rotate(45deg); }
	body.lw_menu_open .lw_menu_bars::after  { transform: translateY(-7px) rotate(-45deg); }

	#lw_drawer {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1001;
		width: 82%;
		max-width: 320px;
		overflow-y: auto;
		background: #fff;
		padding: 72px 0 calc(24px + env(safe-area-inset-bottom));
		box-shadow: -2px 0 10px rgba(0, 0, 0, .2);
	}
	#lw_drawer ul {
		list-style: none;
		margin: 0;
		padding: 0;
		border-top: 1px solid #F1D7BC;
	}
	#lw_drawer li {
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #F1D7BC;
	}
	#lw_drawer li a {
		display: block;
		padding: 13px 16px 13px 30px;
		color: #444;
		text-decoration: none;
		background: url(../img/heading_11.gif) no-repeat 14px center;
	}
	#lw_drawer .lw_drawer_tel {
		padding: 16px;
	}
	#lw_drawer .lw_drawer_tel p {
		margin: 12px 0 2px;
		font-size: 12px;
		color: #555;
	}
	#lw_drawer .lw_drawer_tel .tel_link {
		font-size: 26px;
	}
	#lw_drawer[hidden],
	#lw_drawer_overlay[hidden] {
		display: none; /* reset.css の nav{display:block} より優先 */
	}
	#lw_drawer_overlay {
		position: fixed;
		inset: 0;
		z-index: 1000;
		background: rgba(0, 0, 0, .45);
	}

	/* ---------- 画面下の電話ボタン ---------- */
	#lw_callbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		display: flex;
		gap: 6px;
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 -2px 8px rgba(0, 0, 0, .15);
	}
	#lw_callbar .lw_call {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		border-radius: 8px;
		text-decoration: none;
		line-height: 1.2;
		font-weight: 700;
	}
	#lw_callbar .lw_call_bird {
		background: #FF8600;
		color: #fff;
	}
	#lw_callbar .lw_call_general {
		background: #fff;
		color: #FF7E00;
		border: 2px solid #FF8600;
	}
	#lw_callbar .lw_call_label {
		font-size: 12px;
	}
	#lw_callbar .lw_call_label::before {
		content: "";
		display: inline-block;
		width: 12px;
		height: 12px;
		margin-right: 4px;
		vertical-align: -1px;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center / contain;
		        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center / contain;
	}
	#lw_callbar .lw_call_num {
		font-size: 17px;
		letter-spacing: -.2px;
	}

	/* ---------- パンくず・本文 ---------- */
	#wrap_tp {
		width: auto;
		height: auto;
		padding: 6px 12px;
		line-height: 1.5;
	}
	#wrap_contents {
		width: auto;
		padding: 0 12px;
	}
	#box_main {
		width: auto;
		float: none;
	}
	#box_main h2 {
		height: auto;
		line-height: 1.45;
		padding: 13px 10px 13px 34px;
		background-position: 6px center;
	}
	#box_main h3,
	#box_main h4,
	#box_main h5,
	#box_main h6 {
		line-height: 1.5;
	}
	#box_main p {
		margin-left: 0;
	}
	#box_main ul,
	#box_main ol {
		margin-left: 0.5em;
	}
	.box_common_01,
	.borderBox_normal,
	.borderBox_notice,
	.borderBox_caution,
	.boxedBack_normal,
	.boxedBack_notice,
	.boxedBack_caution {
		margin-left: 0;
	}

	/* 回り込み画像は幅を抑える */
	.img_floatR,
	.img_floatRb,
	.img_floatL,
	.img_floatLb,
	img.alignright,
	img.alignleft {
		max-width: 42%;
		height: auto;
	}
	.img_title_01,
	.img_title_top_01 {
		max-width: 100%;
		height: auto;
	}

	/* 表 */
	#box_main table {
		max-width: 100%;
	}
	.tableLayoutTop01 > tbody > tr > td {
		display: block;
		width: auto !important;
		padding: 0 0 10px;
	}
	.table_week {
		width: 100%;
	}
	.table01 {
		width: 100%;
	}
	.table01 th,
	.table01 td {
		display: block;
		width: auto !important;
		text-align: left;
		padding: 8px 10px;
	}

	/* 記事の写真ギャラリー（2列）：枠線の分だけ写真が隣と重なるため、枠込みの幅にして間をあける */
	.gallery .gallery-item {
		box-sizing: border-box;
		padding: 0 3px;
	}
	.gallery img {
		box-sizing: border-box;
	}

	/* 地図・カレンダーなどの埋め込み */
	#box_main iframe {
		width: 100%;
		max-width: 100%;
	}

	/* トップ：小鳥の注意喚起ボックス（見出し画像を幅に合わせる） */
	.box_top_01 {
		background-size: 100% auto;
	}
	#box_main .box_top_01 p {
		padding-top: calc((100vw - 24px) * 34 / 610 + 12px);
	}

	/* トップ：更新情報 */
	#listbox {
		height: auto;
		max-height: 300px;
	}
	#box_main #listbox li {
		height: auto;
		padding: 10px 0 10px 4px;
		line-height: 1.5;
	}

	/* ---------- サイドバー ---------- */
	#box_submenu {
		width: auto;
		float: none;
		margin-top: 24px;
	}
	#box_submenu .sbar_box_tel,
	#box_submenu .sbar_box_menu,
	#box_submenu > hr.sp_S,
	#box_submenu .widgets:has(select) {
		display: none; /* 電話は画面下のボタン、メニューは☰で代替。アーカイブ選択も非表示（「最近の投稿」は残す） */
	}
	.sbar_box_menu li {
		width: auto;
		height: auto;
		line-height: 1.5;
		padding: 11px 10px 11px 24px;
		background-position: 6px center;
	}

	/* ---------- フッター ---------- */
	#wrap_bottom {
		width: auto;
		padding: 0 12px;
	}
	#wrap_footer {
		width: auto;
		padding: 16px 12px 8px;
	}
	#wrap_footer ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 14px;
		margin: 0 0 10px;
		padding: 0;
	}
	#wrap_footer li {
		font-size: 13px;
	}
	#wrap_footer p {
		font-size: 13px;
		line-height: 1.6;
	}
	#area_copyright {
		height: auto;
	}
	#wrap_copyright {
		width: auto;
		height: auto;
		line-height: 1.5;
		padding: 4px 8px;
	}
}

/* タブレット縦（600〜959px）：本文が横に広がりすぎないように */
@media (min-width: 600px) and (max-width: 959px) {
	#wrap_tp,
	#wrap_contents,
	#wrap_bottom {
		max-width: 720px;
		margin-left: auto;
		margin-right: auto;
	}
	#lw_callbar {
		justify-content: center;
	}
	#lw_callbar .lw_call {
		flex: 0 1 300px;
	}
}
