/*
Theme Name: Kohinata Clinic
Description: Modern clinic theme for Ishihara Clinic.
Version: 2.0
*/

:root {
	--navy: #082f5c;
	--navy-soft: #21496f;
	--blue: #159bc8;
	--blue-dark: #0d86b1;
	--blue-pale: #eaf8fd;
	--blue-paler: #f5fbfe;
	--line: #cde8f5;
	--line-strong: #9bd5ed;
	--text: #16324f;
	--muted: #5d7288;
	--white: #ffffff;
	--shadow: 0 18px 40px rgba(15, 92, 125, 0.1);
	--max: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

svg {
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 1000;
	padding: 10px 14px;
	background: var(--navy);
	color: var(--white);
	border-radius: 4px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(205, 232, 245, 0.9);
	backdrop-filter: blur(14px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	width: min(var(--max), calc(100% - 48px));
	min-height: 88px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
}

.brand {
	display: inline-flex;
	flex-direction: column;
	min-width: 168px;
	color: var(--navy);
}

.brand__name {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.1;
}

.brand__sub {
	margin-top: 7px;
	font-size: 13px;
	font-weight: 700;
	color: var(--navy-soft);
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex: 1;
	font-size: 14px;
	font-weight: 700;
	color: var(--navy-soft);
	white-space: nowrap;
}

.site-nav a {
	position: relative;
	padding: 32px 0 28px;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 21px;
	height: 2px;
	background: var(--blue);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
	transform: scaleX(1);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
	white-space: nowrap;
}

.header-phone,
.header-time {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--navy);
	font-weight: 700;
}

.header-phone {
	font-size: 19px;
}

.header-phone svg,
.header-time svg {
	color: var(--blue);
}

.header-time {
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	color: var(--blue-dark);
	font-size: 14px;
}

.menu-button {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	background: var(--white);
	color: var(--navy);
	padding: 10px;
}

.menu-button span {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	margin: 5px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-button span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
	opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
	display: none;
}

.hero {
	background: linear-gradient(90deg, #fff 0%, #fff 43%, #f7fcff 43%, #f7fcff 100%);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.hero__inner {
	width: min(var(--max), calc(100% - 48px));
	min-height: 590px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(470px, 0.96fr) 1.04fr;
	align-items: center;
	gap: 44px;
}

.hero__content {
	padding: 64px 0;
}

.hero__label {
	margin: 0 0 18px;
	color: var(--blue-dark);
	font-size: 14px;
	font-weight: 700;
}

.hero h1 {
	margin: 0;
	color: var(--navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(42px, 4.4vw, 56px);
	font-weight: 700;
	line-height: 1.35;
}

.hero__lead {
	max-width: 430px;
	margin: 30px 0 0;
	color: var(--navy-soft);
	font-size: 17px;
	font-weight: 700;
	line-height: 2.05;
}

.hero__actions,
.access-card__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 34px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 150px;
	min-height: 54px;
	padding: 0 24px;
	border-radius: 6px;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button--primary {
	background: var(--blue);
	color: var(--white);
	box-shadow: 0 12px 22px rgba(21, 155, 200, 0.22);
}

.button--primary:hover {
	background: var(--blue-dark);
}

.button--secondary {
	background: var(--white);
	border: 1px solid var(--line-strong);
	color: var(--blue-dark);
}

.hero__media {
	position: relative;
	min-height: 500px;
}

.hero__media::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 -46px;
	width: 108px;
	z-index: 3;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.32) 52%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
}

.hero-photo {
	position: absolute;
	overflow: hidden;
	background: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.8);
	box-shadow: var(--shadow);
}

.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hero-photo--large {
	right: -34px;
	top: 28px;
	width: 86%;
	height: auto;
	aspect-ratio: 271 / 200;
}

.hero-photo--small {
	left: -18px;
	bottom: 20px;
	width: 60%;
	height: auto;
	aspect-ratio: 266 / 201;
	border: 10px solid var(--white);
}

.feature-strip {
	background: linear-gradient(90deg, #eaf8fd, #f6fcff);
}

.feature-strip__inner {
	width: min(var(--max), calc(100% - 48px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.feature-item {
	min-height: 118px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 24px;
	color: var(--navy);
	font-weight: 700;
	line-height: 1.55;
	border-left: 1px solid var(--line);
}

.feature-item:last-child {
	border-right: 1px solid var(--line);
}

.feature-item svg {
	width: 42px;
	height: 42px;
	color: var(--blue);
}

.section {
	padding: 74px 0;
	background: var(--white);
}

.section--tint {
	background: linear-gradient(90deg, #effaff 0%, #fff 50%, #effaff 100%);
}

.section--blue {
	background: linear-gradient(90deg, #eaf8fd, #f8fdff);
}

.section__inner {
	width: min(var(--max), calc(100% - 48px));
	margin: 0 auto;
}

.section-heading {
	margin-bottom: 34px;
	text-align: center;
}

.section-heading h2,
.section-title-row h2,
.first-visit h2,
.hours-card h2,
.access-card h2,
.content-card h2 {
	position: relative;
	margin: 0;
	color: var(--navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 30px;
	line-height: 1.35;
}

.section-heading h2::after,
.section-title-row h2::after,
.first-visit h2::after,
.hours-card h2::after,
.access-card h2::after,
.content-card h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin-top: 13px;
	background: var(--blue);
}

.section-heading h2::after {
	margin-left: auto;
	margin-right: auto;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid var(--line);
	background: var(--white);
}

.service-card {
	position: relative;
	min-height: 210px;
	display: grid;
	grid-template-columns: 72px 1fr 28px;
	align-items: center;
	gap: 26px;
	padding: 42px 56px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	transition: background 0.2s ease;
}

.service-card:nth-child(2n) {
	border-right: 0;
}

.service-card:nth-last-child(-n+2) {
	border-bottom: 0;
}

.service-card:hover {
	background: var(--blue-paler);
}

.service-card > svg {
	width: 58px;
	height: 58px;
	color: var(--blue);
}

.service-card > svg.service-lucide-icon {
	width: 56px;
	height: 56px;
	color: #1598c8;
	stroke: #1598c8;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.service-card h3 {
	margin: 0 0 6px;
	color: var(--navy);
	font-size: 25px;
	line-height: 1.4;
}

.service-card p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.75;
}

.service-card__arrow {
	color: var(--blue);
}

.info-hours {
	display: grid;
	grid-template-columns: 0.34fr 0.66fr;
	gap: 42px;
	align-items: start;
}

.first-visit {
	padding-right: 42px;
	border-right: 1px solid var(--line);
}

.check-list {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	color: var(--navy-soft);
	font-weight: 700;
}

.check-list svg {
	margin-top: 5px;
	color: var(--blue);
}

.hours-card {
	min-width: 0;
}

.schedule-scroll {
	width: 100%;
	margin-top: 26px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.schedule-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: var(--white);
	box-shadow: 0 0 0 1px var(--line) inset;
}

.schedule-table th,
.schedule-table td {
	padding: 15px 12px;
	border: 1px solid var(--line);
	text-align: center;
	color: var(--navy);
	font-weight: 700;
}

.schedule-table thead th {
	background: var(--blue);
	color: var(--white);
}

.schedule-table tbody th {
	background: #f7fcff;
	white-space: nowrap;
}

.schedule-table td {
	color: var(--blue-dark);
	font-size: 18px;
}

.schedule-note {
	margin: 18px 0 0;
	color: var(--navy-soft);
	font-weight: 700;
}

.schedule-detail-list {
	margin: 18px 0 0;
	padding-left: 1.2em;
	color: var(--navy-soft);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.8;
}

.schedule-detail-list li + li {
	margin-top: 8px;
}

.section-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--blue-dark);
	font-weight: 700;
}

.news-list {
	border-top: 1px solid var(--line);
}

.news-row {
	display: grid;
	grid-template-columns: 120px 96px 1fr;
	gap: 24px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	color: var(--navy-soft);
}

.news-row:hover .news-title {
	color: var(--blue-dark);
}

.news-row time {
	font-weight: 700;
}

.news-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 4px;
	background: #e9f8fc;
	color: var(--blue-dark);
	font-size: 13px;
	font-weight: 700;
}

.news-tag--closed {
	background: #ffe9ef;
	color: #d94f70;
}

.news-title {
	font-weight: 700;
	transition: color 0.2s ease;
}

.news-detail-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
	color: var(--navy-soft);
	font-weight: 700;
}

.news-detail-wrap {
	max-width: var(--max);
}

.news-detail {
	min-height: 260px;
	padding: 8px 0 0;
}

.news-detail p:first-child {
	margin-top: 0;
}

.news-detail p:last-child {
	margin-bottom: 0;
}

.news-detail a {
	color: var(--blue-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.news-detail-back {
	display: flex;
	justify-content: flex-end;
	margin-top: 24px;
}

.news-more {
	display: flex;
	justify-content: flex-end;
	margin-top: 22px;
}

.empty-news {
	margin: 0;
	padding: 24px 0;
	color: var(--muted);
}

.news-list--page {
	border: 1px solid var(--line);
	border-bottom: 0;
	background: var(--white);
	box-shadow: var(--shadow);
}

.news-list--page .news-row {
	padding: 22px 28px;
}

.empty-news--page {
	padding: 28px;
	border-bottom: 1px solid var(--line);
}

.news-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}

.news-pagination a,
.news-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	background: var(--white);
	color: var(--blue-dark);
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(15, 92, 125, 0.08);
}

.news-pagination a:hover,
.news-pagination .is-current {
	background: var(--blue);
	border-color: var(--blue);
	color: var(--white);
}

.news-pagination__arrow {
	min-width: 74px;
}

.access-grid {
	display: grid;
	grid-template-columns: 0.75fr 1.25fr;
	gap: 34px;
	align-items: stretch;
}

.section--blue .section__inner {
	width: min(1240px, calc(100% - 48px));
}

.access-card,
.content-card {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 34px;
	box-shadow: var(--shadow);
}

.contact-list {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: grid;
	gap: 18px;
}

.contact-list li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 14px;
	align-items: flex-start;
	color: var(--navy-soft);
	font-weight: 700;
}

.contact-list svg {
	margin-top: 4px;
	color: var(--blue);
}

.contact-list strong {
	color: var(--navy);
	font-size: 26px;
}

.map-card,
.clinic-photo-card {
	min-height: 310px;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.clinic-photo-card {
	min-height: 0;
	align-self: center;
	padding: 14px;
}

.map-card iframe {
	width: 100%;
	height: 100%;
	min-height: 310px;
	border: 0;
}

.clinic-photo-card img {
	width: 100%;
	height: auto;
	min-height: 0;
	background: var(--white);
	object-fit: contain;
}

.site-footer {
	background: linear-gradient(90deg, #0b8eb6, #13a7d0);
	color: var(--white);
	text-align: center;
	padding: 30px 24px;
}

.site-footer p {
	margin: 4px 0;
	font-size: 14px;
}

.page-hero {
	background:
		linear-gradient(90deg, rgba(255,255,255,0.96), rgba(247,252,255,0.86)),
		linear-gradient(135deg, #eaf8fd, #fff);
	border-bottom: 1px solid var(--line);
}

.page-hero__inner {
	width: min(var(--max), calc(100% - 48px));
	margin: 0 auto;
	padding: 72px 0 68px;
}

.page-hero__eyebrow {
	margin: 0 0 12px;
	color: var(--blue-dark);
	font-weight: 700;
}

.page-hero h1 {
	margin: 0;
	color: var(--navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1.3;
}

.page-hero p:last-child {
	max-width: 720px;
	margin: 18px 0 0;
	color: var(--navy-soft);
	font-size: 18px;
	font-weight: 700;
}

.page-hero--news-detail .page-hero__inner {
	padding: 54px 0 48px;
}

.page-hero--news-detail h1 {
	max-width: 980px;
	font-size: 44px;
	line-height: 1.45;
}

.page-hero--news-detail .news-detail-meta {
	margin-top: 22px;
}

.page-hero--news-detail + .section {
	padding-top: 52px;
}

.two-column {
	display: grid;
	grid-template-columns: 0.36fr 0.64fr;
	gap: 40px;
	align-items: start;
}

.two-column--doctor {
	align-items: stretch;
}

.greet-message {
	display: flex;
	justify-content: center;
}

.greet-message__card {
	width: min(100%, 860px);
}

.portrait-card {
	margin: 0;
	background: var(--blue-pale);
	border: 1px solid var(--line);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-top: 28px;
	box-shadow: var(--shadow);
}

.portrait-card img {
	max-height: 430px;
	object-fit: contain;
}

.prose {
	color: var(--navy-soft);
	font-weight: 700;
}

.prose p,
.prose li {
	line-height: 2;
}

.prose ul {
	margin: 24px 0 0;
	padding-left: 1.2em;
}

.signature {
	margin-top: 36px;
	color: var(--navy);
}

.department-grid,
.exam-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.department-card {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 24px;
	padding: 34px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.department-card > svg {
	width: 54px;
	height: 54px;
	color: var(--blue);
}

.department-card h2,
.equipment-card h3 {
	margin: 0 0 12px;
	color: var(--navy);
	font-size: 24px;
	line-height: 1.45;
}

.department-card p,
.equipment-card p,
.section-lead {
	margin: 0;
	color: var(--navy-soft);
	font-weight: 700;
	line-height: 1.9;
}

.section-lead--spaced {
	margin-bottom: 26px;
}

.department-card p + p {
	margin-top: 12px;
}

.link-hospitals {
	margin: 28px 0 0;
	padding-left: 1.2em;
	color: var(--navy-soft);
	font-weight: 700;
	line-height: 2;
}

.access-page-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 32px;
}

.contact-list--plain {
	margin-top: 24px;
}

.map-card--page,
.map-card--page iframe {
	min-height: 420px;
}

.equipment-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.equipment-card {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 24px;
	box-shadow: var(--shadow);
}

.equipment-card img {
	width: 100%;
	height: 170px;
	object-fit: contain;
	background: var(--blue-paler);
	margin-bottom: 18px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.gallery-card {
	margin: 0;
	background: var(--white);
	border: 1px solid var(--line);
	padding: 12px;
	box-shadow: var(--shadow);
}

.gallery-card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.card-icon {
	width: 58px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	color: var(--blue);
	background: var(--blue-pale);
	border-radius: 50%;
}

.card-icon svg {
	width: 34px;
	height: 34px;
}

.home-care-card {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 26px;
	align-items: start;
	padding: 36px;
	background:
		linear-gradient(90deg, rgba(234, 248, 253, 0.72), rgba(255, 255, 255, 0.96)),
		var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.home-care-card h2 {
	position: relative;
	margin: 0 0 22px;
	color: var(--navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 30px;
	line-height: 1.35;
}

.home-care-card h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin-top: 13px;
	background: var(--blue);
}

.home-care-card p {
	margin: 0;
	color: var(--navy-soft);
	font-weight: 700;
	line-height: 2;
}

.home-care-card p + p {
	margin-top: 12px;
}

.hours-card--wide {
	padding: 34px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
	.site-header__inner {
		gap: 18px;
	}

	.site-nav {
		gap: 12px;
		font-size: 12.5px;
	}

	.header-phone span {
		display: none;
	}

	.header-phone {
		width: 42px;
		height: 42px;
		border: 1px solid var(--line-strong);
		border-radius: 6px;
	}

	.hero__inner {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}

	.equipment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	body {
		font-size: 15px;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.site-header__inner {
		width: min(100% - 32px, var(--max));
		min-height: 74px;
	}

	.brand__name {
		font-size: 27px;
	}

	.brand__sub,
	.site-nav,
	.header-actions {
		display: none;
	}

	.menu-button {
		display: block;
		margin-left: auto;
	}

	.mobile-menu {
		position: fixed;
		left: 0;
		right: 0;
		top: 74px;
		display: grid;
		gap: 0;
		padding: 10px 24px 24px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 50px rgba(8, 47, 92, 0.12);
		transform: translateY(-120%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.24s ease, opacity 0.24s ease;
	}

	.admin-bar .mobile-menu {
		top: 120px;
	}

	.menu-open .mobile-menu {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.mobile-menu a {
		display: flex;
		align-items: center;
		min-height: 48px;
		border-bottom: 1px solid var(--line);
		color: var(--navy);
		font-weight: 700;
	}

	.mobile-menu a.is-active {
		color: var(--blue-dark);
	}

	.mobile-menu__phone {
		gap: 8px;
		color: var(--blue-dark) !important;
	}

	.hero {
		background: linear-gradient(180deg, #fff 0%, #fff 48%, #f7fcff 48%, #f7fcff 100%);
	}

	.hero__inner {
		width: min(100% - 32px, var(--max));
		min-height: auto;
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 32px 0 46px;
	}

	.hero__content {
		padding: 0;
	}

	.hero__label {
		margin-bottom: 10px;
	}

	.hero h1 {
		font-size: 39px;
		line-height: 1.35;
	}

	.hero__lead {
		margin-top: 20px;
		font-size: 16px;
		line-height: 1.9;
	}

	.hero__actions,
	.access-card__actions {
		gap: 12px;
		margin-top: 26px;
	}

	.button {
		flex: 1 1 100%;
		min-width: 0;
		min-height: 52px;
	}

	.hero__media {
		min-height: 330px;
	}

	.hero__media::before {
		display: none;
	}

	.hero-photo--large {
		right: 0;
		top: 0;
		width: 88%;
		height: auto;
		aspect-ratio: 271 / 200;
	}

	.hero-photo--small {
		left: 0;
		bottom: 0;
		width: 62%;
		height: auto;
		aspect-ratio: 266 / 201;
		border-width: 8px;
	}

	.feature-strip__inner {
		width: min(100% - 32px, var(--max));
		grid-template-columns: repeat(2, 1fr);
	}

	.feature-item {
		justify-content: flex-start;
		min-height: 98px;
		padding: 20px 12px;
		border-right: 0;
	}

	.feature-item:nth-child(2n) {
		border-right: 1px solid var(--line);
	}

	.feature-item:nth-child(n+3) {
		border-top: 1px solid var(--line);
	}

	.feature-item svg {
		width: 34px;
		height: 34px;
	}

	.section {
		padding: 54px 0;
	}

	.section__inner,
	.page-hero__inner {
		width: min(100% - 32px, var(--max));
	}

	.service-grid,
	.info-hours,
	.access-grid,
	.two-column,
	.department-grid,
	.access-page-grid,
	.exam-grid {
		grid-template-columns: 1fr;
	}

	.service-grid {
		border-bottom: 0;
	}

	.service-card,
	.service-card:nth-child(2n),
	.service-card:nth-last-child(-n+2) {
		min-height: 0;
		grid-template-columns: 56px 1fr 24px;
		padding: 28px 22px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.service-card > svg {
		width: 44px;
		height: 44px;
	}

	.service-card h3 {
		font-size: 22px;
	}

	.first-visit {
		padding-right: 0;
		padding-bottom: 34px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.section-title-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.news-row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 20px 0;
	}

	.news-list--page .news-row {
		padding: 20px;
	}

	.news-tag {
		width: fit-content;
	}

	.news-detail-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.news-pagination {
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	.access-card,
	.content-card,
	.department-card {
		padding: 26px;
	}

	.home-care-card {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 26px;
	}

	.map-card,
	.map-card iframe {
		min-height: 260px;
	}

	.clinic-photo-card,
	.clinic-photo-card img {
		min-height: 0;
	}

	.page-hero__inner {
		padding: 52px 0;
	}

	.page-hero h1 {
		font-size: 40px;
	}

	.page-hero p:last-child {
		font-size: 16px;
	}

	.page-hero--news-detail .page-hero__inner {
		padding: 42px 0 38px;
	}

	.page-hero--news-detail h1 {
		font-size: 32px;
		line-height: 1.45;
	}

	.page-hero--news-detail + .section {
		padding-top: 42px;
	}

	.portrait-card img {
		max-height: 360px;
	}
}

@media (max-width: 560px) {
	.site-header__inner {
		width: min(100% - 24px, var(--max));
	}

	.brand__name {
		font-size: 25px;
	}

	.hero__inner,
	.feature-strip__inner,
	.section__inner,
	.page-hero__inner {
		width: min(100% - 24px, var(--max));
	}

	.hero h1 {
		font-size: 34px;
	}

	.page-hero--news-detail h1 {
		font-size: 28px;
	}

	.hero__lead {
		font-size: 15px;
	}

	.hero__media {
		min-height: 275px;
	}

	.hero-photo--large {
		width: 90%;
		height: auto;
		aspect-ratio: 271 / 200;
	}

	.hero-photo--small {
		width: 64%;
		height: auto;
		aspect-ratio: 266 / 201;
	}

	.feature-strip__inner {
		grid-template-columns: 1fr;
	}

	.feature-item,
	.feature-item:nth-child(2n) {
		border-right: 1px solid var(--line);
	}

	.feature-item:nth-child(n+2) {
		border-top: 1px solid var(--line);
	}

	.service-card {
		grid-template-columns: 56px 1fr 22px;
		gap: 16px;
		padding: 24px 18px;
	}

	.service-card > svg {
		width: 38px;
		height: 38px;
	}

	.section-heading h2,
	.section-title-row h2,
	.first-visit h2,
	.hours-card h2,
	.access-card h2,
	.content-card h2 {
		font-size: 27px;
	}

	.contact-list strong {
		font-size: 24px;
	}

	.department-card {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.equipment-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.schedule-table {
		min-width: 0;
		table-layout: fixed;
	}

	.schedule-table th,
	.schedule-table td {
		padding: 10px 4px;
		font-size: 13px;
	}

	.schedule-table thead th:first-child,
	.schedule-table tbody th {
		width: 104px;
		white-space: normal;
	}

	.schedule-table td {
		font-size: 16px;
	}

	.map-card--page,
	.map-card--page iframe {
		min-height: 320px;
	}
}
