@charset "utf-8";

/* ==========================================================
   下層ページ共通
   ・色はテーマ（themes/{テーマ名}/common.css）の CSS 変数のみを参照する
   ・ブレイクポイントは common.css と同じ 768px / 1181px
========================================================== */

/* ==========================================================
   ページタイトル
========================================================== */

.page-hero {
	position: relative;
	padding: 116px 0 40px;
	overflow: hidden;
	background:
		radial-gradient(circle at 92% 18%, var(--accent-light) 0, transparent 38%),
		linear-gradient(180deg, var(--pale) 0%, #fff 100%);
}

.page-hero::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -120px;
	width: 320px;
	height: 320px;
	border: 40px solid var(--accent-light);
	border-radius: 50%;
	opacity: 0.6;
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
}

.page-hero__en {
	margin: 0 0 10px;
	color: var(--accent-dark);
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.page-hero__title {
	margin: 0;
	color: var(--navy-dark);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
}

.page-hero__lead {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.9;
}

/* ==========================================================
   パンくず
========================================================== */

.breadcrumb {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	padding: 12px 0;
	overflow-x: auto;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.5;
	white-space: nowrap;
	scrollbar-width: none;
}

.breadcrumb li {
	display: flex;
	align-items: center;
}

.breadcrumb li + li::before {
	content: "\f054";
	margin: 0 10px;
	color: var(--line);
	font-family: "Font Awesome 6 Free";
	font-size: 8px;
	font-weight: 900;
}

.breadcrumb a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--navy);
}

.breadcrumb [aria-current] {
	color: var(--text);
}

/* ==========================================================
   レイアウト
========================================================== */

.page-body {
	padding: 44px 0 72px;
}

.page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
}

.page-layout:not(.page-layout--side) .page-main {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}

/* ローカルナビ */
.local-nav {
	align-self: start;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.local-nav__title {
	margin: 0;
}

.local-nav__title a {
	display: block;
	padding: 18px 22px;
	color: #fff;
	background: var(--navy);
	font-size: 16px;
	font-weight: 600;
}

.local-nav li + li {
	border-top: 1px solid var(--line);
}

.local-nav li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 22px;
	color: var(--navy-dark);
	font-size: 14px;
	line-height: 1.6;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.local-nav li a::after {
	content: "\f054";
	color: var(--accent-dark);
	font-family: "Font Awesome 6 Free";
	font-size: 9px;
	font-weight: 900;
}

.local-nav li a[aria-current] {
	color: var(--accent-dark);
	background: var(--accent-light);
	font-weight: 600;
}

/* ページ内リンク */
.anchor-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 44px;
}

.anchor-nav a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 8px 16px;
	color: var(--navy-dark);
	background: var(--pale);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.anchor-nav i {
	color: var(--accent-dark);
	font-size: 9px;
}

/* ==========================================================
   本文（WordPress: the_content の出力にも適用する想定）
========================================================== */

.entry {
	font-size: 15px;
	line-height: 1.95;
}

.entry > :first-child {
	margin-top: 0;
}

.entry p {
	margin: 0 0 1.4em;
}

.entry :is(p, li, td, th, dd, figcaption) > a:not([class]) {
	color: var(--navy);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-underline-offset: 3px;
}

.entry strong {
	color: var(--navy-dark);
}

.entry h2 {
	position: relative;
	margin: 72px 0 28px;
	padding-bottom: 16px;
	color: var(--navy-dark);
	border-bottom: 1px solid var(--line);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.03em;
	scroll-margin-top: 110px;
}

.entry h2::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 64px;
	height: 3px;
	background: var(--accent);
	border-radius: 3px;
}

.entry h3 {
	position: relative;
	margin: 48px 0 18px;
	padding-left: 18px;
	color: var(--navy-dark);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.55;
	scroll-margin-top: 110px;
}

.entry h3::before {
	content: "";
	position: absolute;
	top: 0.25em;
	bottom: 0.25em;
	left: 0;
	width: 4px;
	background: var(--accent);
	border-radius: 4px;
}

.entry h4 {
	position: relative;
	margin: 32px 0 12px;
	padding-left: 20px;
	color: var(--navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
}

.entry h4::before {
	content: "";
	position: absolute;
	top: 0.5em;
	left: 0;
	width: 10px;
	height: 10px;
	border: 2px solid var(--accent);
	border-radius: 50%;
}

.entry ul:not([class]),
.entry ul.list-2col,
.entry ol:not([class]) {
	margin: 0 0 1.6em;
}

.entry ul:not([class]) > li,
.entry ul.list-2col > li {
	position: relative;
	padding-left: 18px;
}

.entry ul:not([class]) > li::before,
.entry ul.list-2col > li::before {
	content: "";
	position: absolute;
	top: 0.8em;
	left: 2px;
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
}

.entry ol:not([class]) {
	counter-reset: entry-ol;
}

.entry ol:not([class]) > li {
	position: relative;
	padding-left: 32px;
	counter-increment: entry-ol;
}

.entry ol:not([class]) > li + li,
.entry ul:not([class]) > li + li {
	margin-top: 6px;
}

.entry ol:not([class]) > li::before {
	content: counter(entry-ol);
	position: absolute;
	top: 0.35em;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #fff;
	background: var(--navy);
	border-radius: 50%;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.entry figure {
	margin: 0 0 1.6em;
}

.entry figure img {
	border-radius: 12px;
}

.entry figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 12px;
}

.entry .lead {
	color: var(--navy-dark);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.9;
}

.entry .small {
	color: var(--muted);
	font-size: 13px;
}

.entry .text-right {
	text-align: right;
}

/* ==========================================================
   部品
========================================================== */

/* 表 */
.table-wrap {
	margin: 0 0 1.8em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.table {
	width: 100%;
	min-width: 0;
	border-collapse: collapse;
	background: #fff;
	font-size: 14px;
	line-height: 1.7;
}

.table th,
.table td {
	padding: 12px 16px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: middle;
}

.table th {
	color: var(--navy-dark);
	background: var(--pale);
	font-weight: 600;
	white-space: nowrap;
}

.table thead th {
	color: #fff;
	background: var(--navy);
	border-color: var(--navy);
	text-align: center;
}

.table--center td {
	text-align: center;
}

.table:has(thead) {
	min-width: 560px;
}

.table--fit {
	min-width: 0 !important;
}

/* 囲み */
.box {
	margin: 0 0 1.8em;
	padding: 22px 24px;
	background: var(--pale);
	border-radius: 14px;
}

.entry .box > :last-child,
.box > :last-child {
	margin-bottom: 0;
}

.box__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px !important;
	color: var(--navy-dark);
	font-weight: 600;
}

.box__title i {
	color: var(--accent-dark);
}

.box--line {
	background: #fff;
	border: 1px solid var(--line);
}

.box--alert {
	background: #fff8f6;
	border: 1px solid #f1d5cf;
}

.box--alert .box__title,
.box--alert .box__title i {
	color: #b4432f;
}

/* 診療時間 */
.hours-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0 0 1.6em;
}

.hours-card {
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
}

.hours-card small {
	display: block;
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 600;
}

.hours-card dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin: 10px 0 0;
}

.hours-card dt {
	color: var(--muted);
	font-size: 13px;
}

.hours-card dd {
	margin: 0;
	color: var(--navy-dark);
	font-family: "Inter", "Noto Sans JP", sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
}

.hours-card p {
	margin: 10px 0 0;
	color: var(--navy-dark);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
}

.hours-card--closed {
	background: var(--pale);
}

/* 2カラム（画像＋テキスト） */
.media {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 0 0 1.8em;
}

.media__image {
	margin: 0;
	text-align: center;
}

.media__image img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	border-radius: 14px;
}

.media--photo .media__image img {
	width: 100%;
}

.media__body > :last-child {
	margin-bottom: 0;
}

/* カードリンク */
.card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 2em;
}

.card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--navy-dark);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--pale);
}

.card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card__body {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.card__body i {
	color: var(--accent-dark);
	font-size: 10px;
}

.card__body small {
	display: block;
	color: var(--muted);
	font-size: 11px;
	font-weight: 500;
}

/* 理念などのステートメント */
.statement {
	margin: 0 0 40px;
	padding: 40px 24px;
	text-align: center;
	background:
		radial-gradient(circle at 0% 100%, var(--accent-light) 0, transparent 45%),
		var(--pale);
	border-radius: var(--radius);
}

.statement__en {
	margin: 0 0 14px !important;
	color: var(--accent-dark);
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.statement__main {
	margin: 0 0 18px !important;
	color: var(--navy-dark);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.statement__text {
	margin: 0 !important;
	color: var(--text);
	font-size: 14px;
	line-height: 2;
}

/* 診療科カード（TOP「目的から探す」と同系統） */
.dept-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0 0 2em;
}

.dept-card {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	min-height: 84px;
	padding: 14px 20px 14px 16px;
	color: var(--navy-dark);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dept-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: var(--accent-dark);
	background: var(--accent-light);
	border-radius: 50%;
	font-size: 20px;
}

.dept-card__body small {
	display: block;
	margin-bottom: 2px;
	color: var(--accent-dark);
	font-family: "Inter", sans-serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.dept-card__body strong {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.dept-card__arrow {
	color: var(--navy);
	font-size: 12px;
}

/* 医師紹介 */
.doctor-photo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	color: var(--accent);
	background:
		radial-gradient(circle at 50% 38%, #fff 0, transparent 60%),
		var(--accent-light);
	border-radius: 14px;
}

.doctor-photo > i {
	font-size: 44px;
}

.doctor-photo small {
	color: var(--muted);
	font-size: 11px;
}

.doctor-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.doctor-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 2em;
}

.doctor-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--navy-dark);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.doctor-card .doctor-photo {
	border-radius: 0;
}

.doctor-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 14px 14px 16px;
}

.doctor-card__role {
	color: var(--accent-dark);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
}

.doctor-card__name {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.doctor-card__catch {
	color: var(--navy);
	font-size: 13px;
	line-height: 1.7;
}

.doctor-card__quals {
	color: var(--muted);
	font-size: 11px;
	line-height: 1.6;
}

.doctor-card__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	color: var(--navy);
	border-top: 1px solid var(--line);
	font-size: 12px;
	font-weight: 600;
}

.doctor-card__more i {
	color: var(--accent-dark);
	font-size: 10px;
}

.doctor-profile {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 0 0 40px;
	padding: 20px;
	background: var(--pale);
	border-radius: var(--radius);
}

.doctor-photo--large {
	width: min(240px, 100%);
}

.doctor-profile__body {
	align-self: center;
}

.entry .doctor-profile__dept {
	margin: 0 0 14px;
}

.entry .doctor-profile__dept a {
	text-decoration: none;
}

.entry .doctor-profile__catch {
	margin: 0 0 16px;
	color: var(--navy-dark);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.7;
}

.entry .doctor-profile__role {
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 13px;
}

.entry .doctor-profile__name {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 28px;
	letter-spacing: 0.1em;
}

.entry .doctor-profile__name::after {
	display: none;
}

/* リンクリスト（PDF 等） */
.link-list {
	margin: 0 0 1.8em;
	border-top: 1px solid var(--line);
}

.link-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 4px;
	color: var(--navy-dark);
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	transition: background-color 0.25s ease;
}

.link-list a i {
	color: var(--accent-dark);
}

/* 医師紹介 */
.doctor-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 0 0 2em;
}

.doctor {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
}

.doctor__role {
	margin: 0 0 4px !important;
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 600;
}

.doctor__name {
	margin: 0 !important;
	color: var(--navy-dark);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.doctor__meta {
	margin: 0;
	font-size: 13px;
}

.doctor__meta dt {
	margin-top: 10px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
}

.doctor__meta dd {
	margin: 4px 0 0;
}

/* 地図 */
.map-embed {
	position: relative;
	margin: 0 0 1.4em;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--pale);
	border-radius: 14px;
}

.map-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ボタン配置 */
.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 1.8em;
}

.entry .button {
	text-decoration: none;
}

.button--outline-navy {
	color: var(--navy);
	background: #fff;
	border-color: var(--navy);
}

/* ==========================================================
   お知らせ（WordPress: archive.php / single.php）
========================================================== */

.news-cats {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0 0 28px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.news-cats a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	color: var(--muted);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 12px;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.news-cats a[aria-current] {
	color: #fff;
	background: var(--accent-dark);
	border-color: var(--accent-dark);
}

.news-list {
	margin: 0 0 40px;
	border-top: 1px solid var(--line);
}

.news-list a {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	grid-template-areas:
		"date cat ."
		"title title arrow";
	align-items: center;
	gap: 8px 12px;
	padding: 16px 4px;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.25s ease;
}

.news-list time {
	grid-area: date;
	color: var(--muted);
	font-family: "Inter", sans-serif;
	font-size: 12px;
}

.news-list .news-cat {
	grid-area: cat;
}

.news-list strong {
	grid-area: title;
	color: var(--navy-dark);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

.news-list i {
	grid-area: arrow;
	justify-self: end;
	color: var(--accent-dark);
	font-size: 10px;
}

.news-cat {
	display: inline-flex;
	justify-content: center;
	padding: 3px 10px;
	color: var(--accent-dark);
	background: var(--accent-light);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
	white-space: nowrap;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 8px;
	color: var(--navy);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 50%;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;
}

.pagination [aria-current] {
	color: #fff;
	background: var(--navy);
	border-color: var(--navy);
}

.entry .post-header {
	margin: 0 0 32px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.entry .post-header__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
}

.post-header__meta time {
	color: var(--muted);
	font-family: "Inter", sans-serif;
	font-size: 13px;
}

.entry .post-header h2 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 24px;
}

.entry .post-header h2::after {
	display: none;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.post-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	color: var(--navy-dark);
	background: var(--pale);
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.6;
	text-decoration: none !important;
}

.post-nav a i {
	color: var(--accent-dark);
	font-size: 11px;
}

.post-nav__back {
	justify-content: center;
	color: #fff !important;
	background: var(--navy) !important;
	font-weight: 600;
}

/* ==========================================================
   お問い合わせ帯
========================================================== */

.contact-cta {
	padding: 56px 0;
	color: #fff;
	background:
		radial-gradient(circle at 100% 0%, rgba(255,255,255,0.08) 0, transparent 40%),
		var(--navy);
}

.contact-cta__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

.contact-cta__en {
	margin: 0 0 8px;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	opacity: 0.7;
}

.contact-cta h2 {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 600;
}

.contact-cta__text p:last-child {
	margin: 0;
	font-size: 14px;
	opacity: 0.85;
}

.contact-cta__actions {
	display: grid;
	gap: 12px;
}

.contact-cta__tel {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 22px;
	color: var(--navy-dark);
	background: #fff;
	border-radius: 14px;
}

.contact-cta__tel > i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: #fff;
	background: var(--accent-dark);
	border-radius: 50%;
}

.contact-cta__tel span {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.contact-cta__tel small {
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 11px;
}

.contact-cta__tel strong {
	font-family: "Inter", sans-serif;
	font-size: 24px;
	letter-spacing: 0.03em;
}

.contact-cta .button--white {
	justify-content: space-between;
}

/* ==========================================================
   タブレット：768px以上
========================================================== */

@media screen and (min-width: 768px) {

	.page-hero {
		padding: 140px 0 56px;
	}

	.page-hero__en {
		font-size: 12px;
	}

	.page-hero__title {
		font-size: 36px;
	}

	.page-hero__lead {
		font-size: 15px;
	}

	.page-body {
		padding: 64px 0 96px;
	}

	.entry {
		font-size: 16px;
	}

	.entry h2 {
		font-size: 27px;
	}

	.entry h3 {
		font-size: 21px;
	}

	.entry h4 {
		font-size: 17px;
	}

	.hours-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.statement {
		padding: 56px 40px;
	}

	.statement__main {
		font-size: 32px;
	}

	.statement__text {
		font-size: 15px;
	}

	.media {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
		gap: 32px;
		align-items: start;
	}

	.media--reverse .media__image {
		order: 2;
	}

	.media--figure {
		grid-template-columns: minmax(0, 1fr) 280px;
	}

	.entry ul.list-2col {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px 32px;
	}

	.entry ul.list-2col > li + li {
		margin-top: 0;
	}

	.card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.dept-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.doctor-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}

	.doctor-card__body {
		padding: 18px 20px 20px;
	}

	.doctor-card__name {
		font-size: 19px;
	}

	.doctor-profile {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 40px;
		padding: 32px;
	}

	.entry .doctor-profile__name {
		font-size: 34px;
	}

	.card__body {
		padding: 16px 18px;
		font-size: 15px;
	}

	.doctor {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 28px;
		padding: 26px 30px;
	}

	.news-list a {
		grid-template-columns: 110px 130px minmax(0, 1fr) auto;
		grid-template-areas: "date cat title arrow";
		gap: 16px;
		padding: 20px 12px;
	}

	.news-list .news-cat {
		justify-self: start;
	}

	.news-list strong {
		font-size: 15px;
	}

	.news-cats {
		flex-wrap: wrap;
		overflow: visible;
	}

	.entry .post-header h2 {
		font-size: 30px;
	}

	.post-nav {
		grid-template-columns: 1fr auto 1fr;
		align-items: stretch;
	}

	.post-nav__next {
		justify-content: flex-end;
		text-align: right;
	}

	.map-embed {
		aspect-ratio: 16 / 9;
	}

	.contact-cta {
		padding: 72px 0;
	}

	.contact-cta__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 40px;
	}

	.contact-cta h2 {
		font-size: 28px;
	}
}

/* ==========================================================
   PC：1181px以上
========================================================== */

@media screen and (min-width: 1181px) {

	.page-hero {
		padding: 172px 0 72px;
	}

	.page-hero::after {
		right: 4%;
		bottom: -180px;
		width: 420px;
		height: 420px;
		border-width: 54px;
	}

	.page-hero__title {
		font-size: 42px;
	}

	.page-body {
		padding: 80px 0 120px;
	}

	.page-layout--side {
		grid-template-columns: minmax(0, 1fr) 272px;
		gap: 64px;
	}

	.page-layout--side .local-nav {
		position: sticky;
		top: 120px;
	}

	.entry h2 {
		margin-top: 88px;
		font-size: 30px;
	}

	.card-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.dept-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.doctor-cards {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.contact-cta__actions {
		grid-template-columns: auto auto;
		align-items: center;
	}
}

/* ==========================================================
   ホバー可能端末
========================================================== */

@media (hover: hover) {

	.local-nav li a:hover,
	.link-list a:hover,
	.news-list a:hover {
		background: var(--pale);
	}

	.anchor-nav a:hover {
		color: #fff;
		background: var(--navy);
		border-color: var(--navy);
	}

	.anchor-nav a:hover i {
		color: #fff;
	}

	.doctor-card:hover {
		border-color: transparent;
		box-shadow: var(--shadow);
		transform: translateY(-4px);
	}

	.dept-card:hover {
		border-color: transparent;
		box-shadow: var(--shadow);
		transform: translateY(-4px);
	}

	.card:hover {
		border-color: transparent;
		box-shadow: var(--shadow);
		transform: translateY(-4px);
	}

	.card:hover .card__image img {
		transform: scale(1.05);
	}

	.news-cats a:hover {
		color: #fff;
		background: var(--navy);
		border-color: var(--navy);
	}

	.pagination a:hover {
		color: #fff;
		background: var(--navy);
	}

	.button--outline-navy:hover {
		color: #fff;
		background: var(--navy);
	}

	.post-nav a:hover {
		background: var(--accent-light);
	}
}
