@charset "UTF-8";
/* ==========================================================================
   pages.css : ページ固有の指定
   ========================================================================== */

/* ==========================================================================
   トップページ
   ========================================================================== */

/* ---------- メインスライダー（本番：1920×720 の比率、フェード） ---------- */

/* 本番：スライダー（1920×720 の比率）を、画面幅の 30% の高さの枠で下を切り取って表示している */
.hero {
	position: relative;
	height: 30vw;
	overflow: hidden;
}

.hero__slides {
	position: relative;
	aspect-ratio: 1920 / 720;
}

@media (max-width: 767px) {
	/* SPは切り取らない（本番どおり） */
	.hero {
		height: auto;
	}
}

.hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.3s;
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__parking {
	position: absolute;
	top: 204px;
	left: 0;
	right: 0;
	pointer-events: none;
}

.hero__parking-link {
	display: inline-block;
	margin-left: 97px;
	pointer-events: auto;
}

.hero__parking-link img {
	display: block;
	width: 180px;
}

@media (max-width: 1024px) {
	.hero__parking {
		top: auto;
		bottom: 20px;
	}

	.hero__parking-link {
		margin-left: 0;
	}

	.hero__parking-link img {
		width: 120px;
	}
}

@media (max-width: 767px) {
	.hero__parking {
		top: 56px;
		bottom: auto;
	}

	.hero__parking-link {
		margin-left: 4.5px;
	}

	.hero__parking-link img {
		width: 78px;
	}
}

/* ---------- 特徴カード ---------- */

.top-feature {
	padding-top: 100px;
	padding-bottom: 116px;
}

@media (max-width: 767px) {
	.top-feature {
		padding-block: 40px 56px;
	}

	.top-feature .card-grid {
		gap: 35px;
	}
}

/* ---------- 診療科目 ---------- */

.top-service {
	padding-top: 120px;
	padding-bottom: 153px;
}

.top-service__title {
	line-height: 49px;
}

.top-service .section-head {
	margin-bottom: 50px;
}

.top-service__grid {
	gap: 40px 30px;
}

@media (max-width: 767px) {
	.top-service {
		padding-block: 60px 40px;
	}

	.top-service__title {
		line-height: 34px;
	}

	.top-service .section-head {
		margin-bottom: 35px;
	}

	.top-service__grid {
		gap: 20px;
	}
}

/* ---------- 日本庭園の帯 ---------- */

/* 本番は上下中央ではなく、上から 134px の位置に見出しがある */
.top-garden {
	align-items: flex-start;
	padding-top: 134px;
}

.top-garden__sub {
	margin-top: 21px;
}

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

	.top-garden__sub {
		margin-top: 13px;
	}

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

.top-garden .photo-band__button {
	margin-top: 62px;
}

/* ---------- お知らせ ---------- */

.top-news {
	padding-top: 106px;
	padding-bottom: 164px;
}

.top-news__list {
	margin-top: 65px;
	gap: 110px 30px;
}

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

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

	.top-news__list {
		margin-top: 73px;
		gap: 30px;
	}
}

/* ==========================================================================
   医院紹介
   ========================================================================== */

.about-clinic__group + .about-clinic__group {
	margin-top: 67px;
}

.about-clinic__text {
	margin: 15px 0 20px;
}

.about-clinic .photo-grid__caption {
	margin-top: 15px;
}

.about-greeting {
	padding-top: 116px;
}

.about-greeting__text {
	margin-top: 20px;
}

.about-greeting__photo {
	margin-top: 5px;
	text-align: center;
}

.about-greeting__photo img {
	width: 590px;
}

.about-doctor {
	margin-top: 30px;
}

.about-doctor__career {
	margin-top: 15px;
}

.about-doctor + .about-doctor {
	margin-top: 52px;
}

.about-greeting__staff {
	margin-top: 62px;
	text-align: center;
}

.about-greeting__staff img {
	width: 590px;
}

.about-greeting__staff-caption {
	margin-top: 10px;
}

.hours-access--about .hours-access__title {
	font-size: 38px;
	line-height: 49px;
}

.hours-access--about .hours-table {
	margin-top: 19px;
}

.hours-access--about .hours-access__routes {
	margin-top: 39px;
}

.hours-access--about .hours-access__button {
	margin-top: 50px;
}

.hours-access--about .hours-access__note {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 300;
	line-height: 27px;
}

@media (max-width: 767px) {
	.about-clinic__group + .about-clinic__group {
		margin-top: 50px;
	}

	.about-greeting {
		padding-top: 40px;
	}

	.about-clinic__text {
		margin-bottom: 42px;
	}

	.about-doctor {
		margin-top: 71px;
	}

	.about-doctor + .about-doctor {
		margin-top: 72px;
	}

	.about-greeting__staff {
		margin-top: 81px;
	}

	/* 本番SPではこの見出しだけ太字 */
	.hours-access--about .hours-access__title {
		font-size: 27px;
		font-weight: 700;
		line-height: 34px;
	}

	.hours-access--about .hours-table {
		margin-top: 59px;
	}

	.hours-access--about .hours-access__note {
		margin-top: 30px;
	}

	.hours-access--about .hours-access__routes {
		margin-top: 59px;
	}

	.hours-access--about {
		padding-bottom: 20px;
	}

	.hours-access--about .hours-access__button {
		margin-top: 72px;
	}
}

/* ==========================================================================
   診療案内
   ========================================================================== */

.service-guide__title {
	line-height: 48px;
}

.service-guide__media {
	margin-top: 20px;
}

.service-guide__label {
	margin: 30px 0 15px;
}

.service-guide__text--item {
	font-size: 18px;
}

.service-guide__title--flow {
	margin-top: 60px;
	line-height: 42px;
}

.steps-table {
	margin-top: 22px;
	border: 2px solid var(--color-border);
	border-bottom: 0;
}

.steps-table tr {
	border-bottom: 2px solid var(--color-border);
}

.steps-table th {
	/* 本番どおり「3.検査結果と治療プランの説」が2行になる幅 */
	width: 18%;
	padding: 15px;
	background: #d2ebee;
	color: var(--color-teal);
	line-height: 1.5;
	text-align: left;
}

.steps-table td {
	padding: 15px;
	line-height: 1.5;
}

.steps-list {
	margin-top: 20px;
}

.steps-list__title {
	font-weight: 700;
	line-height: 21px;
}

.steps-list__text {
	margin-bottom: 10px;
	line-height: 21px;
}

.service-treatment {
	padding-bottom: 132px;
}

.service-treatment__title--tall {
	line-height: 48px;
}

.service-treatment__name {
	margin-top: 25px;
}

/* 項目ごとの余白は、テンプレートで --gap / --img-gap を指定（本番の間隔に合わせるため） */
.service-treatment__item + .service-treatment__item {
	margin-top: var(--gap, 60px);
}

.service-treatment__item + .service-treatment__item .service-treatment__name {
	margin-top: 0;
}

.service-treatment__text {
	margin-top: 15px;
}

.service-treatment .case-images {
	margin-top: var(--img-gap, 15px);
}

.service-treatment .case-images + .case-images {
	margin-top: 65px;
}

.case-images__item:only-child {
	text-align: center;
}

@media (max-width: 767px) {
	.service-guide {
		padding-top: 60px;
	}

	.service-guide__title,
	.service-treatment__title--tall {
		line-height: 34px;
	}

	.service-guide__media {
		row-gap: 85px;
	}

	.service-guide__title--flow {
		margin-top: 35px;
		line-height: 29px;
	}

	.steps-list {
		margin-top: 42px;
	}

	.service-treatment .case-images + .case-images {
		margin-top: 36px;
	}

	.service-treatment {
		padding-bottom: 64px;
	}

	/* SPでは項目の間隔は一律（本番どおり） */
	.service-treatment__item + .service-treatment__item {
		margin-top: 88px;
	}
}

/* ==========================================================================
   治療方針
   ========================================================================== */

.guideline-block__title {
	margin-bottom: 75px;
}

.guideline-block__title--small {
	font-size: 36px;
}

.guideline-block__name {
	color: #555;
	line-height: 30px;
}

.guideline-block__name--tall {
	line-height: 32px;
}

.guideline-block__text {
	margin-top: 20px;
}

/* 本番は本文の下に 10px の余白があり、次の見出しまでは列の下端から 25px */
.guideline-block__media .guideline-block__text {
	margin-bottom: 10px;
}

.guideline-block__item {
	margin-top: 38px;
}

.guideline-block__sign {
	margin-top: 10px;
	font-size: 24px;
	text-align: right;
}

@media (max-width: 767px) {
	.guideline-block__title {
		margin-bottom: 30px;
	}

	.guideline-block__title--small {
		font-size: 25px;
	}

	.guideline-block__name,
	.guideline-block__name--tall {
		line-height: 24px;
	}

	.guideline-block__name--tall {
		line-height: 26px;
	}
}

/* ==========================================================================
   口腔がん
   ========================================================================== */

.oralcancer-intro {
	padding-bottom: 144px;
}

.oralcancer-intro__title,
.oralcancer-types__title {
	line-height: 49px;
}

.oralcancer-intro__text {
	margin-top: 51px;
}

.oralcancer-intro__graph {
	margin-top: 30px;
	text-align: center;
}

.oralcancer-types {
	padding-top: 97px;
}

.oralcancer-types__grid {
	margin-top: 49px;
	row-gap: 28px;
}

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

.type-card__title {
	margin: 10px 0 22px;
	font-size: 22px;
	font-weight: 700;
	line-height: 22px;
}

/* 本番は見出しから下を上下中央ではなく、上から 139px の位置に置いている */
.oralcancer-checks {
	align-items: flex-start;
	height: 600px;
	padding-top: 139px;
}

.oralcancer-checks::before {
	opacity: 0.24;
}

.oralcancer-checks__title {
	font-size: 38px;
	font-weight: 700;
	line-height: 42px;
}

.oralcancer-checks__sub {
	font-size: 24px;
	font-weight: 700;
	line-height: 34px;
}

.oralcancer-checks__list {
	margin-top: 45px;
	color: #fff;
}

@media (max-width: 767px) {
	.oralcancer-intro {
		padding-bottom: 55px;
	}

	.oralcancer-intro__title,
	.oralcancer-types__title {
		line-height: 34px;
	}

	.oralcancer-intro__text {
		margin-top: 52px;
	}

	.oralcancer-types__grid {
		margin-top: 69px;
	}

	.oralcancer-types {
		padding-top: 40px;
		padding-bottom: 46px;
	}

	.type-card__title {
		font-size: 20px;
		line-height: 20px;
	}

	.oralcancer-checks {
		height: auto;
		padding-block: 35px;
	}

	.oralcancer-checks__title {
		font-size: 27px;
		line-height: 29px;
	}

	.oralcancer-checks__sub {
		font-size: 22px;
		line-height: 31px;
	}

	.oralcancer-checks__list {
		margin-top: 30px;
		font-size: 13px;
	}
}

/* ==========================================================================
   アクセス
   ========================================================================== */

.access-routes {
	padding-bottom: 109px;
}

.access-routes__cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 45px;
}

.access-routes__name {
	margin-bottom: 15px;
	font-size: 22px;
	line-height: 25px;
	text-align: center;
}

/* 本番では注意書きだけ小さい緑の文字 */
.access-routes__notice {
	margin-top: 15px;
	color: #24a9b0;
	font-size: 14.4px;
	line-height: 22px;
}

.access-routes__maps {
	display: grid;
	grid-template-columns: 750fr 360fr;
	gap: 30px;
	align-items: start;
	margin-top: 24px;
}

.access-routes__maps img {
	width: 100%;
}

.access-routes__title--video {
	margin-top: 135px;
}

.access-routes__video {
	position: relative;
	margin-top: 45px;
	aspect-ratio: 16 / 9;
}

.access-routes__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.access-map__map {
	margin-top: 45px;
}

.access-map__map iframe {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
}

.access-map__address {
	margin-top: 39px;
	font-family: var(--font-heading);
	font-size: 17px;
	font-weight: 300;
	line-height: 30px;
}

@media (max-width: 767px) {
	.access-routes {
		padding-bottom: 50px;
	}

	.access-routes__cols,
	.access-routes__maps {
		grid-template-columns: 1fr;
	}

	.access-routes__cols {
		margin-top: 30px;
		gap: 50px;
	}

	.access-routes__name {
		font-size: 20px;
		line-height: 23px;
	}

	.access-routes__maps {
		gap: 35px;
		margin-top: 43px;
	}

	.access-routes__title--video {
		margin-top: 195px;
	}

	.access-routes__video {
		margin-top: 15px;
	}
}

/* ==========================================================================
   お知らせ（一覧・記事・404）
   ========================================================================== */

.news-layout__inner {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
}

.news-layout__heading {
	margin-bottom: 30px;
	font-size: 24px;
}

.news-entry + .news-entry {
	margin-top: 60px;
}

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

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

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

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

.news-entry__content > * + * {
	margin-top: 1em;
}

.news-entry__content table {
	margin-block: 1em;
}

.news-entry__content th,
.news-entry__content td {
	padding: 8px 10px;
	border: 1px solid var(--color-border);
}

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

.news-sidebar__widget + .news-sidebar__widget {
	margin-top: 40px;
}

.news-sidebar__title {
	margin-bottom: 15px;
	font-size: 18px;
	font-weight: 600;
}

.news-sidebar li + li {
	margin-top: 8px;
}

.news-sidebar .post-date {
	display: block;
	color: #999;
	font-size: 13px;
}

.news-sidebar .wp-calendar-table th,
.news-sidebar .wp-calendar-table td {
	padding: 4px 0;
	text-align: center;
}

.news-sidebar .wp-calendar-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
}

.not-found__text {
	margin-top: 10px;
}

.not-found__button {
	margin-top: 30px;
}

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

	.news-entry__title {
		font-size: 20px;
		line-height: 32px;
	}
}

/* ==========================================================================
   汎用の固定ページ
   ========================================================================== */

.page-content__inner > * + * {
	margin-top: 1em;
}
