/* ==========================================================
   NEXT Site theme — main.css
   色は :root の --ns-* （site.json の colors から出力）で切り替える
   ========================================================== */

:root {
	--ns-theme: #6f8f5f;
	--ns-text: #3d3a33;
	--ns-bg: #ffffff;
	--ns-sub: #f6f7f3;
	--ns-dark: #2f3a2a;
	--ns-line: color-mix(in srgb, var(--ns-text) 14%, transparent);
	--ns-theme-soft: color-mix(in srgb, var(--ns-theme) 10%, #fff);
	--ns-font-ja: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--ns-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--ns-font-en: "Jost", sans-serif;
	--ns-header-h: 72px;
	--ns-radius: 6px;
	--ns-container: 1120px;
	--ns-gutter: clamp(16px, 4vw, 40px);
	--ns-section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ns-header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ns-bg);
	color: var(--ns-text);
	font-family: var(--ns-font-ja);
	font-size: 15px;
	line-height: 2;
	letter-spacing: .06em;
	font-feature-settings: "palt";
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--ns-theme); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.6; letter-spacing: .08em; }
table { border-collapse: collapse; width: 100%; }
iframe { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ns-theme); outline-offset: 3px; }

.ns-skip {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--ns-dark); color: #fff; padding: 8px 16px;
}
.ns-skip:focus { left: 8px; top: 8px; }

.ns-container {
	width: 100%;
	max-width: calc(var(--ns-container) + var(--ns-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--ns-gutter);
}
.ns-container--narrow { max-width: calc(880px + var(--ns-gutter) * 2); }
.ns-center { text-align: center; }

/* ---------- 見出し ---------- */
.ns-heading { margin-bottom: clamp(32px, 5vw, 56px); }
.ns-heading__en {
	margin: 0 0 4px;
	font-family: var(--ns-font-en);
	font-size: 13px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ns-theme);
}
.ns-heading__ja { font-size: clamp(22px, 3vw, 30px); }
.ns-heading--page .ns-heading__ja { font-size: clamp(24px, 3.6vw, 36px); }
.ns-lead { margin: -16px 0 40px; }

/* ---------- ボタン ---------- */
.ns-btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
	min-width: 220px; padding: 14px 22px 14px 28px;
	border: 1px solid var(--ns-theme); border-radius: 999px;
	background: var(--ns-theme); color: #fff;
	font-size: 15px; text-decoration: none; letter-spacing: .1em; line-height: 1.5;
	transition: background .3s, color .3s;
}
.ns-btn:hover { background: #fff; color: var(--ns-theme); }
.ns-btn__arrow {
	flex: none; width: 26px; height: 26px; border-radius: 50%;
	background: #fff; position: relative; transition: background .3s;
}
.ns-btn__arrow::after {
	content: ""; position: absolute; inset: 0; margin: auto;
	width: 6px; height: 6px; border-top: 1.5px solid var(--ns-theme); border-right: 1.5px solid var(--ns-theme);
	transform: translateX(-1px) rotate(45deg);
}
.ns-btn:hover .ns-btn__arrow { background: var(--ns-theme); }
.ns-btn:hover .ns-btn__arrow::after { border-color: #fff; }
.ns-btn--text { min-width: 0; padding: 0; border: 0; background: none; color: var(--ns-text); gap: 12px; }
.ns-btn--text .ns-btn__arrow { background: var(--ns-theme); }
.ns-btn--text .ns-btn__arrow::after { border-color: #fff; }
.ns-btn--text:hover { background: none; color: var(--ns-theme); }
.ns-btn--block { display: flex; width: 100%; margin-top: 12px; }
.ns-btn--small { min-width: 0; padding: 8px 12px 8px 20px; font-size: 14px; }
.ns-btn--large { min-width: 280px; padding: 18px 24px 18px 32px; font-size: 16px; }

/* ---------- ヘッダー ---------- */
.ns-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--ns-bg) 94%, transparent);
	backdrop-filter: blur(8px);
	transition: box-shadow .3s;
}
.ns-header.is-scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, .06); }
.admin-bar .ns-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ns-header { top: 0; } }

.ns-header__inner {
	display: flex; align-items: center; gap: 24px;
	height: var(--ns-header-h);
	padding-inline: var(--ns-gutter);
	max-width: 1440px; margin-inline: auto;
}
.ns-header__logo { margin: 0; font-size: 20px; line-height: 1; flex: none; }
.ns-header__logo a { display: block; text-decoration: none; color: var(--ns-text); }
.ns-header__logo img { width: auto; max-height: calc(var(--ns-header-h) - 24px); max-width: 240px; }

.ns-gnav { margin-left: auto; }
.ns-gnav__list { display: flex; gap: clamp(16px, 2vw, 32px); margin: 0; padding: 0; list-style: none; }
.ns-gnav__list a { text-decoration: none; font-size: 14px; letter-spacing: .1em; white-space: nowrap; position: relative; }
.ns-gnav__list a::after {
	content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
	background: var(--ns-theme); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.ns-gnav__list a:hover::after { transform: scaleX(1); }
.ns-gnav__extra { display: none; }

.ns-header__contact { display: flex; align-items: center; gap: 16px; flex: none; }
.ns-header__tel { display: flex; flex-direction: column; text-decoration: none; line-height: 1.3; text-align: right; }
.ns-header__tel-number { font-family: var(--ns-font-en); font-size: 21px; letter-spacing: .06em; color: var(--ns-theme); }
.ns-header__tel-note { font-size: 11px; letter-spacing: .04em; }
.ns-header__cta {
	display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
	background: var(--ns-theme); color: #fff; border-radius: 999px; text-decoration: none; font-size: 14px;
	border: 1px solid var(--ns-theme); transition: background .3s, color .3s;
}
.ns-header__cta:hover { background: #fff; color: var(--ns-theme); }

.ns-menu-btn {
	display: none; margin-left: auto; padding: 8px; border: 0; background: none; cursor: pointer;
	color: var(--ns-text); flex-direction: column; align-items: center; gap: 6px;
}
.ns-menu-btn__bars { display: block; position: relative; width: 30px; height: 10px; }
.ns-menu-btn__bars span {
	position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s, top .3s;
}
.ns-menu-btn__bars span:first-child { top: 0; }
.ns-menu-btn__bars span:last-child { top: 9px; }
.ns-menu-btn__label { font-family: var(--ns-font-en); font-size: 10px; letter-spacing: .16em; line-height: 1; }
.is-menu-open .ns-menu-btn__bars span:first-child { top: 4.5px; transform: rotate(20deg); }
.is-menu-open .ns-menu-btn__bars span:last-child { top: 4.5px; transform: rotate(-20deg); }

@media (max-width: 1100px) {
	:root { --ns-header-h: 64px; }
	.ns-header__contact { display: none; }
	.ns-menu-btn { display: flex; }
	.ns-gnav {
		position: fixed; inset: var(--ns-header-h) 0 0 0; z-index: 99;
		background: var(--ns-bg); overflow-y: auto;
		padding: 24px var(--ns-gutter) 120px;
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.admin-bar .ns-gnav { top: calc(var(--ns-header-h) + 46px); }
	.is-menu-open .ns-gnav { opacity: 1; visibility: visible; }
	.is-menu-open { overflow: hidden; }
	.ns-gnav__list { flex-direction: column; gap: 0; }
	.ns-gnav__list li { border-bottom: 1px solid var(--ns-line); }
	.ns-gnav__list a { display: block; padding: 16px 4px; font-size: 16px; }
	.ns-gnav__list a::after { display: none; }
	.ns-gnav__extra { display: block; max-width: 560px; margin: 32px auto 0; }
}

/* ---------- メインビジュアル ---------- */
.ns-fv { position: relative; overflow: hidden; background: var(--ns-sub); }
.ns-fv__media { position: relative; height: clamp(420px, calc(100svh - var(--ns-header-h)), 820px); }
.ns-fv__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.ns-fv__slide.is-active { opacity: 1; }
.ns-fv__slide img, .ns-fv__slide picture { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .ns-fv__slide img { object-position: var(--ns-fv-pos-sp, center); } }
.ns-fv.is-slider .ns-fv__slide.is-active img { animation: ns-zoom 8s ease-out both; }
@keyframes ns-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.ns-fv::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%);
}
.ns-fv--right::after { background: linear-gradient(270deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%); }
.ns-fv--none::after { display: none; }
.ns-fv__body {
	position: absolute; z-index: 2; left: var(--ns-gutter); bottom: clamp(56px, 12vh, 140px);
	max-width: min(720px, 86%);
}
.ns-fv--right .ns-fv__body { left: auto; right: var(--ns-gutter); text-align: right; }
.ns-fv__badge {
	display: inline-block; margin-bottom: 16px; padding: 4px 14px;
	background: var(--ns-theme); color: #fff; font-size: 14px; border-radius: 999px;
}
.ns-fv__copy {
	font-size: clamp(26px, 4.4vw, 52px); line-height: 1.6; letter-spacing: .1em; font-weight: 500;
	text-shadow: 0 0 24px rgba(255, 255, 255, .9), 0 0 4px rgba(255, 255, 255, .8);
}
.ns-fv__sub { margin-top: 16px; font-size: clamp(14px, 1.6vw, 18px); text-shadow: 0 0 12px rgba(255, 255, 255, .95); }
.ns-fv--panel .ns-fv__body {
	padding: clamp(20px, 3vw, 36px) clamp(24px, 3.4vw, 44px);
	background: color-mix(in srgb, var(--ns-bg) 86%, transparent);
	border-radius: 10px;
	backdrop-filter: blur(2px);
}
.ns-fv--panel .ns-fv__copy, .ns-fv--panel .ns-fv__sub { text-shadow: none; }
@media (max-width: 767px) {
	.ns-fv__body { left: 16px; right: 16px; max-width: none; bottom: 24px; }
	.ns-fv--right .ns-fv__body { left: 16px; right: 16px; text-align: left; }
	.ns-fv:has(.ns-fv__info) .ns-fv__body { bottom: 96px; }
	.ns-fv--panel .ns-fv__body { padding: 18px 20px; }
	.ns-fv__copy { font-size: clamp(20px, 5.6vw, 28px); }
}
.ns-fv__info {
	position: absolute; z-index: 3; right: 0; bottom: 0;
	display: flex; flex-direction: column; gap: 2px;
	min-width: min(420px, 90%); padding: 18px 64px 18px 28px;
	background: var(--ns-bg); text-decoration: none; border-top-left-radius: 12px;
}
.ns-fv__info::after {
	content: ""; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
	border-radius: 50%; background: var(--ns-theme);
}
.ns-fv__info::before {
	content: ""; position: absolute; z-index: 1; right: 34px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
	border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg);
}
.ns-fv__info-label { font-family: var(--ns-font-en); font-size: 12px; letter-spacing: .2em; color: var(--ns-theme); text-transform: uppercase; }
.ns-fv__info-text { font-size: 15px; }

.ns-fv-note { background: var(--ns-sub); padding: 40px 0; }
.ns-fv-note .ns-container { display: grid; gap: 32px; }
@media (min-width: 900px) { .ns-fv-note .ns-container:has(.ns-fv-note__hours):has(.ns-fv-note__text) { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.ns-fv-note__title { font-size: 18px; color: var(--ns-theme); margin-bottom: 8px; }

/* ---------- セクション共通 ---------- */
.ns-section { padding-block: var(--ns-section); }
.ns-section.is-sub, .ns-info.is-sub { background: var(--ns-sub); }
.ns-section.is-theme { background: var(--ns-theme-soft); }

.ns-reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.ns-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ns-reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
	.ns-fv.is-slider .ns-fv__slide.is-active img { animation: none; }
}
.no-js .ns-reveal { opacity: 1; transform: none; }

/* ---------- サービス ---------- */
.ns-services__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ns-services--list .ns-services__list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ns-services--list .ns-services__inner {
	display: flex; align-items: center; justify-content: center; min-height: 96px; height: 100%; padding: 20px;
	border: 1px solid var(--ns-line); border-radius: var(--ns-radius); background: var(--ns-bg);
	text-align: center; font-size: 18px; text-decoration: none;
}
.ns-services--list a.ns-services__inner:hover { border-color: var(--ns-theme); }
.ns-services--cards .ns-services__list { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ns-services--cards .ns-services__list { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.ns-services--cards .ns-services__inner { display: block; text-decoration: none; }
.ns-services__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--ns-radius); margin-bottom: 12px; }
.ns-services__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.ns-services__inner:hover .ns-services__img img { transform: scale(1.05); }
.ns-services__body { display: flex; flex-direction: column; gap: 2px; }
.ns-services__num { font-family: var(--ns-font-en); font-size: 12px; letter-spacing: .16em; color: var(--ns-theme); }
.ns-services__title { font-size: 17px; }
.ns-services--text .ns-services__list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.ns-services--text .ns-services__inner { display: block; height: 100%; padding: 28px; border-radius: var(--ns-radius); background: var(--ns-bg); border: 1px solid var(--ns-line); }
.ns-services--text .ns-services__title { font-size: 19px; margin-bottom: 8px; }
.ns-services__text { font-family: var(--ns-font-sans); font-size: 14px; line-height: 1.9; }

/* ---------- お知らせ ---------- */
@media (min-width: 900px) {
	.ns-news__inner { display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
	.ns-news .ns-heading { margin-bottom: 0; }
}
.ns-news__more { margin-top: 24px; text-align: right; }
.ns-postlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ns-line); }
.ns-postlist__item { border-bottom: 1px solid var(--ns-line); }
.ns-postlist__item > a { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 20px 4px; text-decoration: none; }
.ns-postlist__meta { display: flex; align-items: center; gap: 12px; font-family: var(--ns-font-en); font-size: 14px; color: color-mix(in srgb, var(--ns-text) 70%, transparent); }
.ns-postlist__cat {
	display: inline-block; padding: 0 10px; font-family: var(--ns-font-sans); font-size: 12px; line-height: 22px;
	border: 1px solid var(--ns-theme); color: var(--ns-theme); border-radius: 999px; letter-spacing: .04em;
}
.ns-postlist__title { flex: 1 1 320px; }
.ns-postlist--cards { border: 0; display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 40px; }
.ns-postlist--cards .ns-postlist__item { border: 0; }
.ns-postlist--cards .ns-postlist__item > a { flex-direction: column; padding: 0; gap: 8px; }
.ns-postlist__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--ns-radius); background: var(--ns-sub); }
.ns-postlist__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ns-postlist--cards a:hover img { transform: scale(1.05); }
.ns-postlist--cards .ns-postlist__title { flex: none; }

/* ---------- コンセプト ---------- */
.ns-concept__banner { height: clamp(200px, 28vw, 380px); overflow: hidden; margin: calc(var(--ns-section) * -1) 0 var(--ns-section); }
.ns-concept__banner img { width: 100%; height: 100%; object-fit: cover; }
.ns-concept__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
	.ns-concept__inner { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
	.ns-concept.is-noimage .ns-concept__inner { grid-template-columns: 1fr; max-width: 880px; }
}
.ns-concept__img img { width: 100%; border-radius: var(--ns-radius); aspect-ratio: 4 / 5; object-fit: cover; }
.ns-concept__catch { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.8; margin-bottom: 24px; color: var(--ns-theme); }
.ns-concept__text p { margin-bottom: 1.2em; }
.ns-concept__sign { margin-top: 24px; text-align: right; }

/* ---------- 特徴 ---------- */
.ns-features__list { display: grid; gap: clamp(48px, 7vw, 96px); }
.ns-features__item { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) {
	.ns-features__item { grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px); }
	.ns-features__item:nth-child(even) .ns-features__img { order: 2; }
	.ns-features__item.is-noimage { grid-template-columns: 1fr; }
}
.ns-features__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--ns-radius); }
.ns-features__num { font-family: var(--ns-font-en); font-size: 13px; letter-spacing: .2em; color: var(--ns-theme); margin-bottom: 4px; text-transform: uppercase; }
.ns-features__title { font-size: clamp(19px, 2.2vw, 24px); margin-bottom: 16px; }
.ns-features__text { margin-bottom: 20px; }
.ns-features__text ul { padding-left: 1.2em; margin: 0 0 1em; }

/* ---------- 医師紹介 ---------- */
.ns-doctor__item { display: grid; gap: 32px; }
.ns-doctor__item + .ns-doctor__item { margin-top: 64px; }
@media (min-width: 900px) { .ns-doctor__item { grid-template-columns: 360px 1fr; gap: 64px; } .ns-doctor__item.is-noimage { grid-template-columns: 1fr; } }
.ns-doctor__img img { width: 100%; border-radius: var(--ns-radius); aspect-ratio: 4 / 5; object-fit: cover; }
.ns-doctor__name { font-size: 22px; margin-bottom: 20px; }
.ns-doctor__role { display: block; font-size: 14px; color: var(--ns-theme); }
.ns-doctor__history { margin: 32px 0 0; padding: 24px 28px; background: var(--ns-sub); border-radius: var(--ns-radius); font-family: var(--ns-font-sans); font-size: 14px; line-height: 1.8; }
.ns-doctor__history div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 4px 0; }
.ns-doctor__history dt, .ns-doctor__history dd { margin: 0; }
.ns-section.is-sub .ns-doctor__history { background: var(--ns-bg); }

/* ---------- 流れ ---------- */
.ns-flow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ns-flow__item { position: relative; padding: 28px 24px; background: var(--ns-bg); border-radius: var(--ns-radius); border: 1px solid var(--ns-line); }
.ns-flow__step { font-family: var(--ns-font-en); font-size: 28px; line-height: 1; color: var(--ns-theme); margin-bottom: 16px; }
.ns-flow__step span { font-size: 12px; letter-spacing: .2em; margin-right: 6px; }
.ns-flow__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ns-radius); margin-bottom: 16px; }
.ns-flow__title { font-size: 19px; margin-bottom: 4px; }
.ns-flow__catch { color: var(--ns-theme); font-size: 15px; margin-bottom: 8px; }
.ns-flow__text { font-family: var(--ns-font-sans); font-size: 14px; line-height: 1.9; }

/* ---------- 料金・表 ---------- */
.ns-price__list { display: grid; gap: 40px; }
@media (min-width: 900px) { .ns-price__list { grid-template-columns: 1fr 1fr; } }
.ns-price__title { font-size: 20px; margin-bottom: 16px; padding-left: 14px; border-left: 3px solid var(--ns-theme); }
.ns-table th, .ns-table td { padding: 16px 12px; border-bottom: 1px solid var(--ns-line); text-align: left; vertical-align: top; }
.ns-table th { width: 7.5em; font-weight: 500; color: var(--ns-theme); white-space: nowrap; }
.ns-table td { font-family: var(--ns-font-sans); font-size: 15px; line-height: 1.9; }
.ns-table tr:first-child th, .ns-table tr:first-child td { border-top: 1px solid var(--ns-line); }
.ns-note { margin-top: 12px; font-size: 13px; font-family: var(--ns-font-sans); }

/* ---------- FAQ ---------- */
.ns-faq__list { border-top: 1px solid var(--ns-line); }
.ns-faq__item { border-bottom: 1px solid var(--ns-line); }
.ns-faq__q {
	display: flex; gap: 16px; align-items: baseline; padding: 22px 48px 22px 4px; cursor: pointer; list-style: none; position: relative; font-size: 17px;
}
.ns-faq__q::-webkit-details-marker { display: none; }
.ns-faq__q::after, .ns-faq__q::before {
	content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 1.5px; background: var(--ns-theme); transition: transform .3s;
}
.ns-faq__q::before { transform: rotate(90deg); }
.ns-faq__item[open] .ns-faq__q::before { transform: rotate(0); }
.ns-faq__a { display: flex; gap: 16px; align-items: baseline; padding: 0 4px 24px; font-family: var(--ns-font-sans); font-size: 15px; }
.ns-faq__mark { flex: none; font-family: var(--ns-font-en); font-size: 22px; line-height: 1; color: var(--ns-theme); }
.ns-faq__a .ns-faq__mark { color: color-mix(in srgb, var(--ns-text) 50%, transparent); }

/* ---------- お客様の声 ---------- */
.ns-voice__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ns-voice__item { padding: 32px 28px; background: var(--ns-bg); border-radius: var(--ns-radius); border: 1px solid var(--ns-line); }
.ns-voice__img { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; }
.ns-voice__img img { width: 100%; height: 100%; object-fit: cover; }
.ns-voice__title { font-size: 18px; margin-bottom: 12px; color: var(--ns-theme); text-align: center; }
.ns-voice__text { font-family: var(--ns-font-sans); font-size: 14px; line-height: 1.9; }
.ns-voice__name { text-align: right; font-size: 14px; margin-top: 12px; }

/* ---------- 診療時間表 ---------- */
.ns-hours { font-family: var(--ns-font-sans); }
.ns-hours__table { background: var(--ns-bg); font-size: 14px; line-height: 1.5; text-align: center; }
.ns-hours__table th, .ns-hours__table td { padding: 12px 4px; border-bottom: 1px solid var(--ns-line); font-weight: 500; }
.ns-hours__table thead th { background: var(--ns-theme); color: #fff; font-weight: 500; border: 0; }
.ns-hours__table tbody th { white-space: nowrap; padding-inline: 10px; font-family: var(--ns-font-en); font-size: 15px; }
.ns-mark { font-size: 15px; }
.ns-mark--o, .ns-mark--t, .ns-mark--a { color: var(--ns-theme); }
.ns-mark--x { color: color-mix(in srgb, var(--ns-text) 35%, transparent); }
.ns-hours__notes { margin-top: 12px; font-size: 13px; line-height: 1.8; }
.ns-hours__legend { display: inline-flex; gap: 4px; align-items: center; margin-right: 16px; }
.ns-hours__note { margin: 4px 0 0; }
.ns-hours--compact .ns-hours__table th, .ns-hours--compact .ns-hours__table td { padding: 8px 2px; font-size: 13px; }

/* ---------- 電話 ---------- */
.ns-phone { text-align: center; padding: 20px; background: var(--ns-bg); border-radius: var(--ns-radius); }
.ns-phone__number {
	display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
	font-family: var(--ns-font-en); font-size: clamp(26px, 3.4vw, 34px); letter-spacing: .06em; color: var(--ns-theme); line-height: 1.3;
}
.ns-phone__note { margin-top: 4px; font-family: var(--ns-font-sans); font-size: 13px; line-height: 1.7; }
.ns-phone__sub { margin-top: 8px; font-family: var(--ns-font-sans); font-size: 14px; }
.ns-phone__sub a { font-family: var(--ns-font-en); font-size: 18px; color: var(--ns-theme); text-decoration: none; }
.ns-phone--menu { margin-top: 20px; background: var(--ns-sub); }
.ns-phone--large { background: rgba(255, 255, 255, .92); padding: 24px 40px; }

/* ---------- 診療時間まとめ枠 ---------- */
.ns-info__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .ns-info__inner { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.ns-info__title { font-size: 20px; margin-bottom: 16px; }
.ns-info__text { text-align: center; margin-bottom: 12px; }

/* ---------- アクセス ---------- */
.ns-access__inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .ns-access__inner { grid-template-columns: 1fr 1fr; gap: 56px; } }
.ns-access__info .ns-hours { margin-top: 32px; }
.ns-access__map { min-height: 360px; }
.ns-access__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--ns-radius); }

/* ---------- お問い合わせ ---------- */
.ns-contact { position: relative; padding-block: var(--ns-section); background: var(--ns-theme-soft); text-align: center; overflow: hidden; }
.ns-contact__bg { position: absolute; inset: 0; }
.ns-contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.ns-contact.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--ns-dark) 45%, transparent); }
.ns-contact__inner { position: relative; z-index: 2; }
.ns-contact.has-image .ns-heading, .ns-contact.has-image .ns-contact__text { color: #fff; }
.ns-contact.has-image .ns-heading__en { color: #fff; }
.ns-contact__text { margin: -24px 0 32px; }
.ns-contact__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }

/* ---------- 下層ページ ---------- */
.ns-pagehead { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); background: var(--ns-sub); }
.ns-pagehead .ns-heading { margin: 0; }
.ns-breadcrumb { font-family: var(--ns-font-sans); font-size: 12px; padding: 12px 0; }
.ns-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ns-breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .5; }
.ns-breadcrumb a { text-decoration: none; }
.ns-entry-wrap { padding-top: clamp(32px, 5vw, 56px); padding-bottom: var(--ns-section); }
.ns-entry { max-width: 1000px; margin-inline: auto; }
.ns-entry > * + * { margin-top: 1.4em; }
.ns-entry h2 { font-size: clamp(20px, 2.4vw, 26px); margin-top: 2.4em; padding-bottom: 12px; border-bottom: 1px solid var(--ns-line); position: relative; }
.ns-entry h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 2px; background: var(--ns-theme); }
.ns-entry h3 { font-size: clamp(18px, 2vw, 21px); margin-top: 2em; padding-left: 14px; border-left: 3px solid var(--ns-theme); }
.ns-entry h4 { font-size: 17px; margin-top: 1.6em; }
.ns-entry ul, .ns-entry ol { padding-left: 1.4em; }
.ns-entry img { border-radius: var(--ns-radius); }
.ns-entry table { font-family: var(--ns-font-sans); font-size: 15px; }
.ns-entry th, .ns-entry td { padding: 12px; border: 1px solid var(--ns-line); }
.ns-entry th { background: var(--ns-sub); font-weight: 500; }
.ns-entry .wp-block-image { margin-inline: 0; }
.ns-article { max-width: 880px; margin-inline: auto; }
.ns-article__head { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--ns-line); }
.ns-article__meta { display: flex; gap: 12px; align-items: center; font-family: var(--ns-font-en); font-size: 14px; margin-bottom: 8px; }
.ns-article__title { font-size: clamp(21px, 2.6vw, 28px); }
.ns-article__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ns-line); font-size: 14px; }
.ns-article__nav span:last-child { text-align: right; }
.ns-article__nav a { text-decoration: none; }
.ns-catnav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; }
.ns-catnav a { display: inline-block; padding: 4px 16px; border: 1px solid var(--ns-line); border-radius: 999px; text-decoration: none; font-size: 14px; }
.ns-catnav a[aria-current] { background: var(--ns-theme); border-color: var(--ns-theme); color: #fff; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; font-family: var(--ns-font-en); }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--ns-line); border-radius: 50%; text-decoration: none; }
.nav-links .current { background: var(--ns-theme); border-color: var(--ns-theme); color: #fff; }

/* ---------- フォーム ---------- */
.ns-form { max-width: 760px; margin-inline: auto; font-family: var(--ns-font-sans); }
.ns-form__list { margin: 0; }
.ns-form__list dt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 500; }
.ns-form__list dd { margin: 0 0 28px; }
.ns-form__badge { padding: 2px 10px; font-size: 11px; line-height: 1.6; border-radius: 3px; background: #9a9a9a; color: #fff; }
.ns-form__badge.is-required { background: var(--ns-theme); }
.ns-form input[type="text"], .ns-form input[type="tel"], .ns-form input[type="email"], .ns-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--ns-line); border-radius: var(--ns-radius);
	background: #fff; font: inherit; font-size: 16px; color: var(--ns-text);
}
.ns-form input:focus, .ns-form textarea:focus { outline: 2px solid var(--ns-theme); outline-offset: 0; border-color: transparent; }
.ns-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ns-form__submit { text-align: center; margin-top: 16px; }
.ns-form__submit .ns-btn { justify-content: center; min-width: 260px; font: inherit; cursor: pointer; }
.ns-form__note { font-size: 14px; text-align: center; }
.ns-form__done, .ns-form__error { padding: 20px 24px; border-radius: var(--ns-radius); background: var(--ns-theme-soft); }
.ns-form__error { background: #fdeeee; color: #a3322b; }

/* ---------- フッター ---------- */
.ns-footer { background: var(--ns-dark); color: #fff; padding-top: 64px; font-family: var(--ns-font-sans); font-size: 14px; }
.ns-footer a { color: #fff; text-decoration: none; }
.ns-footer a:hover { opacity: .7; }
.ns-footer__inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .ns-footer__inner { grid-template-columns: 1fr 1.2fr; } }
.ns-footer__logo img { max-height: 56px; width: auto; background: #fff; padding: 8px 12px; border-radius: var(--ns-radius); }
.ns-footer__logo { font-family: var(--ns-font-ja); font-size: 20px; }
.ns-footer__address, .ns-footer__tel { margin: 12px 0 0; line-height: 1.8; }
.ns-footer__nav ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.ns-footer__copy { margin: 48px 0 0; padding: 20px var(--ns-gutter) 24px; border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; font-family: var(--ns-font-en); letter-spacing: .1em; }

.ns-pagetop {
	position: fixed; right: 20px; bottom: 24px; z-index: 50; width: 48px; height: 48px; border-radius: 50%;
	background: var(--ns-theme); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.ns-pagetop::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px;
	border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translateY(2px) rotate(45deg);
}
.is-scrolled-far .ns-pagetop { opacity: 1; visibility: visible; }

.ns-fixbar { display: none; }
@media (max-width: 767px) {
	.ns-fixbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex;
		box-shadow: 0 -2px 12px rgba(0, 0, 0, .08); transform: translateY(100%); transition: transform .3s;
	}
	.is-scrolled-far .ns-fixbar { transform: none; }
	.ns-fixbar a {
		flex: 1; display: grid; place-items: center; height: 56px; text-decoration: none;
		font-family: var(--ns-font-sans); font-size: 15px; font-weight: 500; letter-spacing: .1em;
	}
	.ns-fixbar__tel { background: var(--ns-theme); color: #fff; }
	.ns-fixbar__cta { background: var(--ns-dark); color: #fff; }
	.ns-pagetop { bottom: 72px; right: 12px; width: 40px; height: 40px; }
	.ns-footer { padding-bottom: 56px; }
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- 画像1枚 ---------- */
.ns-imageblock__figure { margin: 0; }
.ns-imageblock__figure img { width: 100%; border-radius: var(--ns-radius); }
