@charset "UTF-8";
/* ==========================================================================
   components.css : サイト共通の部品
   PC指定のすぐ下に、同じ部品のSP指定（max-width: 767px）を書いています。
   ========================================================================== */

/* ---------- 上部帯（電話・診療時間） ---------- */

.top-bar {
	padding: 10px 0;
	background: var(--color-dark);
	color: #fff;
	font-size: 13px;
	line-height: 24px;
}

.top-bar__text {
	margin: 13px 0;
	font-family: var(--font-meiryo);
	font-weight: 500;
}

@media (max-width: 767px) {
	.top-bar {
		text-align: center;
	}
}

/* ---------- ヘッダー ---------- */

.site-header__main {
	position: relative;
	background: #fff;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 128px;
}

.site-header__logo img {
	display: block;
	width: 218px;
}

.site-header__toggle {
	display: none;
}

.nav-menu {
	display: flex;
	gap: 40px;
}

.nav-menu a {
	position: relative;
	display: block;
	color: var(--color-teal);
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 500;
	line-height: 46px;
	letter-spacing: 0.5px;
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: var(--color-teal);
}

@media (max-width: 767px) {
	/* 本番SP：メニューボタンが上の右端、その下にロゴが中央 */
	.site-header__inner {
		flex-direction: column;
		justify-content: flex-start;
		height: auto;
		padding-top: 33px;
		padding-bottom: 35px;
	}

	.site-header__logo {
		order: 2;
		margin-top: 15px;
	}

	.site-header__toggle {
		order: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-self: flex-end;
		width: 21px;
		height: 18px;
		margin: 1px 0 2px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.site-header__toggle-bar {
		display: block;
		height: 3px;
		background: var(--color-teal);
		transition: transform 0.2s, opacity 0.2s;
	}

	.site-header__toggle.is-open .site-header__toggle-bar:nth-child(1) {
		transform: translateY(7.5px) rotate(45deg);
	}

	.site-header__toggle.is-open .site-header__toggle-bar:nth-child(2) {
		opacity: 0;
	}

	.site-header__toggle.is-open .site-header__toggle-bar:nth-child(3) {
		transform: translateY(-7.5px) rotate(-45deg);
	}

	.global-nav {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 100;
		width: 100%;
		background: #fff;
		box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.2);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.2s, visibility 0.2s;
	}

	.global-nav.is-open {
		visibility: visible;
		opacity: 1;
	}

	.nav-menu {
		flex-direction: column;
		gap: 0;
	}

	.nav-menu a {
		padding: 0 20px;
		border-top: 1px solid #eee;
	}

	.nav-menu .current-menu-item > a::after,
	.nav-menu .current_page_item > a::after {
		display: none;
	}
}

/* ---------- 下層ページの見出し ---------- */

.page-header {
	position: relative;
	display: flex;
	/* タイトルと英字をMVの上下中央に置く */
	align-items: center;
	/* 高さは画面幅の30%（1366px で 410px） */
	height: 30vw;
	background-color: var(--color-teal);
	background-position: 50% 0;
	background-size: cover;
	color: #fff;
	text-align: center;
}

.page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #0c96a6;
	opacity: 0.5;
}

.page-header--access::before {
	background: var(--color-teal);
	opacity: 0.3;
}

.page-header--news::before {
	background: var(--color-teal);
	opacity: 0.5;
}

/* お知らせの見出し（高さ固定、600、英字 18px） */
.page-header--news {
	height: 410px;
}

.page-header--news .page-header__title {
	font-weight: 600;
}

.page-header--news .page-header__sub {
	font-size: 18px;
}

.page-header__inner {
	position: relative;
	width: 100%;
}

.page-header__title {
	color: #fff;
	font-size: 50px;
	/* 本番は <strong> で囲んでいるため太字 */
	font-weight: 700;
	line-height: 70px;
	letter-spacing: 3px;
}

.page-header__sub {
	margin-top: 5px;
	font-family: var(--font-heading);
	font-size: 20px;
	line-height: 30px;
}

.page-header--about .page-header__sub {
	line-height: 36px;
}

@media (max-width: 767px) {
	.page-header--about .page-header__sub {
		line-height: 32px;
	}
}

@media (max-width: 767px) {
	.page-header,
	.page-header--news {
		height: auto;
		/* 上下を同じ余白にして中央に見せる */
		padding-block: 85px;
	}

	.page-header__title {
		font-size: 30px;
		line-height: 42px;
	}

	.page-header__sub {
		font-size: 18px;
		line-height: 27px;
	}
}

/* ---------- 見出し ---------- */

.heading {
	font-family: var(--font-heading);
	text-align: center;
}

/* 本番は見出しの中を <strong> で囲んでいて、太字（700）で表示される */
.heading strong {
	font-weight: 700;
}

.heading--light {
	font-size: 32px;
	font-weight: 200;
	line-height: 42px;
}

.heading--xl {
	font-size: 38px;
	font-weight: 700;
	line-height: 42px;
}

.heading--lg {
	font-size: 34px;
	font-weight: 700;
	line-height: 42px;
	letter-spacing: 1px;
}

.heading--md {
	font-size: 26px;
	font-weight: 700;
	line-height: 26px;
}

.heading--sm {
	font-size: 22px;
	font-weight: 700;
	line-height: 35px;
}

.heading--xs {
	font-size: 18px;
	font-weight: 700;
	line-height: 18px;
}

.heading--left {
	text-align: left;
}

.section-lead {
	margin-top: 5px;
	font-family: var(--font-heading);
	font-size: 17px;
	font-weight: 200;
	line-height: 30px;
	text-align: center;
}

@media (max-width: 767px) {
	.heading--light {
		font-size: 22px;
		line-height: 29px;
	}

	.heading--xl {
		font-size: 27px;
		line-height: 29px;
	}

	.heading--lg {
		font-size: 24px;
		line-height: 29px;
	}

	.heading--md {
		font-size: 21px;
		line-height: 21px;
	}

	.heading--sm {
		font-size: 20px;
		line-height: 32px;
	}
}

/* ---------- 本文 ---------- */

.text {
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}

.text--light {
	font-weight: 300;
}

.text--large {
	font-size: 17px;
	line-height: 34px;
}

/* ---------- ボタン ---------- */

.button {
	display: inline-block;
	padding: 12px 25px;
	border-radius: 5px;
	background: var(--color-dark);
	color: #fff;
	font-family: Calibri, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 25px;
	text-align: center;
}

.button:hover {
	background: var(--color-teal);
	color: #fff;
}

.button--teal {
	background: var(--color-teal);
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
}

.button--teal:hover {
	background: var(--color-dark);
}

.button--wide {
	width: 250px;
	height: 60px;
	padding: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 60px;
}

.button--small {
	padding: 12px 25px;
	line-height: 15px;
	text-transform: uppercase;
}

/* ---------- カードの並び ---------- */

.card-grid {
	display: grid;
	gap: 40px 30px;
}

.card-grid--2col {
	grid-template-columns: repeat(2, 1fr);
}

.card-grid--3col {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {
	.card-grid--2col,
	.card-grid--3col {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* ---------- 特徴カード（トップ） ---------- */

.feature-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.feature-card__title {
	margin: 14px 0 5px;
	font-size: 21px;
	font-weight: 600;
	line-height: 28px;
}

.feature-card__sub {
	color: var(--color-pink);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
	line-height: 15px;
}

.feature-card__text {
	margin-top: 15px;
	font-weight: 300;
}

.feature-card__button {
	margin-top: 25px;
}

@media (max-width: 767px) {
	.feature-card__title {
		font-size: 19px;
		line-height: 25px;
	}
}

/* ---------- 診療科目（トップ） ---------- */

/* 本番の iconbox と同じく、下に余白（PC 25px / SP 20px） */
.service-box {
	padding-bottom: 25px;
}

.service-box::after {
	content: "";
	display: table;
	clear: both;
}

/* 本番（Unyson iconbox）と同じく、アイコンを右に回り込ませる */
.service-box__icon {
	float: right;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin: 10px 15px 0 0;
	border-radius: 50%;
	color: #fff;
}

.service-box__icon--pink {
	background: var(--color-pink);
}

.service-box__icon--teal {
	background: var(--color-teal);
}

.service-box__title {
	margin: 10px 0 0;
	font-size: 19px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: -1px;
}

.service-box__text {
	margin-top: 18px;
	font-weight: 300;
}

@media (max-width: 767px) {
	.service-box {
		padding-bottom: 20px;
	}

	.service-box__text {
		margin-top: 21px;
	}
}

/* ---------- 背景写真の帯 ---------- */

.photo-band {
	position: relative;
	display: flex;
	align-items: center;
	height: 500px;
	background-color: var(--color-teal);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
}

.photo-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #06b2c5;
	opacity: 0.2;
}

.photo-band__inner {
	position: relative;
}

.photo-band__title {
	color: #fff;
	font-size: 34px;
	font-weight: 700;
	line-height: 50px;
}

.photo-band__sub {
	margin-top: 5px;
	font-family: var(--font-heading);
	font-size: 17px;
	line-height: 32px;
}

.photo-band__button {
	margin-top: 45px;
}

@media (max-width: 767px) {
	.photo-band {
		height: auto;
		padding-block: 60px;
	}

	.photo-band__title {
		font-size: 24px;
		line-height: 35px;
	}

	.photo-band__button {
		margin-top: 30px;
	}
}

/* ---------- お知らせカード（トップ） ---------- */

.news-card__date {
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	line-height: 16px;
	text-transform: uppercase;
}

.news-card__date a {
	color: var(--color-green);
}

.news-card__title {
	font-size: 24px;
	line-height: 48px;
}

.news-card__title a {
	color: var(--color-text);
}

.news-card__title a:hover {
	color: var(--color-teal);
}

.news-card__excerpt {
	margin: 10px 0 15px;
}

.news-card__button {
	margin-top: 20px;
}

@media (max-width: 767px) {
	.news-card__title {
		font-size: 22px;
		line-height: 43px;
	}
}

/* ---------- 診療時間＆アクセス ---------- */

.hours-access__title {
	line-height: 40px;
}

.hours-access {
	padding-top: 107px;
	padding-bottom: 77px;
}

.hours-table {
	width: 65%;
	margin: 15px auto 10px;
	border-right: 1px solid var(--color-navy);
	color: var(--color-navy);
}

.hours-table tr {
	border-bottom: 1px solid var(--color-navy);
}

.hours-table th,
.hours-table td {
	padding: 20px 15px;
	border-bottom: 1px solid var(--color-navy);
	font-size: 18px;
	line-height: 1;
	text-align: center;
}

.hours-table th {
	font-family: var(--font-mincho);
	font-weight: 400;
	letter-spacing: 0.1em;
}

.hours-table td {
	border-left: 1px solid var(--color-navy);
}

.hours-access__note {
	color: var(--color-navy);
	font-family: "Playfair Display", serif;
	font-size: 17px;
	line-height: 35px;
	text-align: center;
}

.hours-access__map {
	margin-top: 60px;
}

.hours-access__iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

.hours-access__routes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 29px;
}

.hours-access__route-title {
	color: var(--color-text);
}

.hours-access__parking {
	margin-top: 33px;
	text-align: center;
}

.hours-access__parking img {
	width: 520px;
}

.hours-access__button {
	margin-top: 34px;
	text-align: center;
}

@media (max-width: 767px) {
	.hours-access {
		padding-block: 40px;
	}

	.hours-access__title {
		line-height: 28px;
	}

	.hours-table {
		width: 100%;
		margin-top: 57px;
	}

	.hours-access__note {
		margin-top: 20px;
	}

	.hours-table th,
	.hours-table td {
		padding: 15px 12px;
		font-size: 12px;
		line-height: 1.2;
	}

	.hours-access__map {
		margin-top: 40px;
	}

	.hours-access__routes {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-top: 49px;
	}

	.hours-access__parking {
		margin-top: 20px;
	}

	.hours-access__button {
		margin-top: 35px;
	}
}

/* ---------- バナー ---------- */

.banner {
	text-align: center;
}

.banner__image {
	width: 400px;
}

/* ---------- 写真の並び（キャプション付き） ---------- */

.photo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 30px;
}

.photo-grid__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.photo-grid__caption {
	margin-top: 15px;
	font-size: 14px;
}

@media (max-width: 767px) {
	.photo-grid {
		grid-template-columns: 1fr;
		gap: 35px;
	}
}

/* ---------- 画像＋テキスト（テキスト 2/3・画像 1/3） ---------- */

.media {
	display: grid;
	/* 本番の 8:4 カラム（1140px 中 750px と 360px） */
	grid-template-columns: 750fr 360fr;
	gap: 30px;
	align-items: start;
}

.media__image img {
	display: block;
	width: 100%;
}

/* 本番SPはテキストが先、画像が後 */
@media (max-width: 767px) {
	.media {
		grid-template-columns: 1fr;
	}
}

/* ---------- 経歴表（医院紹介） ---------- */

.career-table td {
	padding: 7px 10px;
	border-bottom: 1px solid var(--color-border);
}

.career-table tr:nth-child(odd) td {
	background: #fff;
}

.career-table tr:nth-child(even) td {
	background: #eee;
}

/* ---------- 症例写真（診療案内） ---------- */

.case-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin-top: 30px;
}

.case-images__item {
	margin: 0;
}

.case-images__item figcaption {
	font-size: 14px;
}

@media (max-width: 767px) {
	.case-images {
		flex-direction: column;
	}

	.case-images__item,
	.case-images__item img {
		width: 100%;
	}

	.case-images__item figcaption {
		font-size: 12px;
		text-align: left;
	}
}

/* ---------- フッター ---------- */

.site-footer__middle {
	padding: 18px 0;
	background: var(--color-footer);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0 25px;
}

.footer-menu a {
	display: block;
	color: #fff;
	font-family: var(--font-heading);
	font-size: 14px;
	line-height: 46px;
}

.footer-menu .current-menu-item > a,
.footer-menu .current_page_item > a,
.footer-menu a:hover {
	color: var(--color-teal);
}

.site-footer__logo img {
	display: block;
	width: 138px;
}

.site-footer__bar {
	padding: 40px 0;
	background: var(--color-dark);
}

.site-footer__copyright {
	color: #fff;
	font-family: var(--font-heading);
	font-size: 13px;
	line-height: 16px;
	text-align: center;
}

@media (max-width: 767px) {
	.site-footer__inner {
		flex-direction: column-reverse;
		gap: 18px;
		padding-top: 2px;
	}

	.footer-menu {
		flex-direction: column;
		align-items: center;
	}
}
