@charset "UTF-8";

/*基本スタイル上書き
--------------------------------------------------------*/

.p-front-menu__item__text {
	font-size: 1.66rem;
}

.u-color-pink {
	background-color: #ffc0cb;
}

.post_thumb {
	object-fit: cover;
	height: 180px;
}

.l-header__nav ul li.menu07 a:before {
	background: url(../img/_common/img-menu07.png)center/cover
}
.l-header__nav ul li.menu07 a:hover:before {
	background: url(../img/_common/img-menu07_1.png)center/cover
}

.p-front-menu__item__img.-img01::before {
	background: url(../img/_common/img-menu01.png) center/cover
}
.p-front-menu__item__img.-img02::before {
	background: url(../img/_common/img-menu02.png) center/cover
}
.p-front-menu__item__img.-img03::before {
	background: url(../img/_common/img-menu03.png) center/cover
}
.p-front-menu__item__img.-img04::before {
	background: url(../img/_common/img-menu04.png) center/cover
}
.p-front-menu__item__img.-img05::before {
	background: url(../img/_common/img-menu05.png) center/cover
}
.p-front-menu__item__img.-img06::before {
	background: url(../img/_common/img-menu06.png) center/cover
}
.p-front-menu__item__img.-img07::before {
	background: url(../img/_common/img-menu07.png) center/cover
}

.p-front-menu__item a:hover .p-front-menu__item__img.-img01::before {
	background: url(../img/_common/img-menu01_1.png) center/cover
}
.p-front-menu__item a:hover .p-front-menu__item__img.-img02::before {
	background: url(../img/_common/img-menu02_1.png) center/cover
}
.p-front-menu__item a:hover .p-front-menu__item__img.-img03::before {
	background: url(../img/_common/img-menu03_1.png) center/cover
}
.p-front-menu__item a:hover .p-front-menu__item__img.-img04::before {
	background: url(../img/_common/img-menu04_1.png) center/cover
}
.p-front-menu__item a:hover .p-front-menu__item__img.-img05::before {
	background: url(../img/_common/img-menu05_1.png) center/cover
}
.p-front-menu__item a:hover .p-front-menu__item__img.-img06::before {
	background: url(../img/_common/img-menu06_1.png) center/cover
}
.p-front-menu__item a:hover .p-front-menu__item__img.-img07::before {
	background: url(../img/_common/img-menu07_1.png) center/cover
}

.p-front-hero h2 {
	text-shadow: 1px 1px 5px rgba(0,0,0,.3);
	max-width: 100%;
	text-align: center;
}

.p-front-hero h2 br.res {
	display: none;
}

/* リンク不具合解消 */
.l-header__main {
	pointer-events: none;
}

.l-header__main h1, .l-header__main .c-breadcrumb {
	pointer-events: auto;
}

li.p-front-menu__item:last-child {
	max-width: 105pt;
	margin: 0 10px;
}

.-img07 {
	margin-bottom: 20px!important;
}

.sp { display: none; }
@media screen and (max-width: 1200px) {
	.p-front-hero h2 { max-width: 310px; text-align: left;}
	.p-front-hero h2 br.res { display: block; }
}

.p-front-menu__button a {
	box-sizing: border-box;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: #a8ddea;
	border: 1.5px solid #a8ddea;
	border-radius: 100px;
	height: 80px;
	padding: 30px 50px;
	line-height: 1;
	font-size: 2.2rem;
	font-weight: 700;
	color: #fff;
	transition: all .3s
}

.p-medical-main__head__content h3 {
	color: #51aa7d;
}

.p-medical-head { margin-bottom: 0 }
.p-medical-head iframe { background-color: #ccc; }
.accordion-inn { margin-top: 40px; }

/* カテゴリ 色を濃く */
.u-color-green { background-color: #9fe2ae; }
.u-color-yellow { background-color: #f5d05e; }
.u-color-blue { background-color: #8cd0e2; }
.u-color-pink { background-color: #ffaab8; }

@media screen and (max-width: 767px) {
	.p-front-hero h2 {
		top: 40%;
		bottom: auto;
	}
	li.p-front-menu__item:last-child {
		max-width: none;
		margin: 0 auto;
	}
	.-img07 {
		margin-bottom: 0!important;
	}
	.p-archive-body__tab__item a {
		min-width: 70px;
		font-size: 1.2rem;
		margin: 10px 3px 0;
	}
	.sp { display: block; }
	.pc { display: none; }
}

/*診療時間
--------------------------------------------------------*/

.time_kakoi {
	display: flex;
	align-items: center;
	font-size: 1.4rem;
	background-color: #f8f8f8;
	padding: 20px;
	margin: -10px auto 20px;
	line-height: 1.4em;
	text-align: justify;
}

.time_kakoi p.title {
	color: #51aa7d;
	font-weight: bold;
	width: 220px;
	margin: 10px;
}

.p-front-time__note b {
	font-size: 1.8rem;
	font-weight: bold;
	color: #51aa7d;
}

#hours {
	padding-top: 100px;
	margin-top: -100px;
}

/*診療内容
--------------------------------------------------------*/

.p-medical-head__video,
.p-medical-head-accordion__content__video {
	width: 100%;
	max-width: 680px;
	aspect-ratio: 16 / 9;
}

.p-medical-head__video iframe,
.p-medical-head-accordion__content__video iframe {
	width: 100%;
	height: 100%;
}

.p-medical-main-accordion__list {
	display: grid;
	grid-template-columns: none;
	gap: 25px;
}

.p-medical-main-accordion__content table {
	width: 100%;
	margin: auto;
	background-color: #fff;
}

.p-medical-main-accordion__content table th,
.p-medical-main-accordion__content table td {
	font-size: 90%;
	text-align: center;
	vertical-align: middle;
	padding: .5em;
	border: 1px solid #e8e8e8;
}

.p-medical-main-accordion__content table th {
	background-color: #e8e8e8;
}

.p-medical-main-accordion__content p.kakoi {
	font-size: 90%;
	width: 100%;
	text-align: center;
	padding: .5em;
	margin: auto;
	border-radius: 10px;
	background-color: #fff;
	border: 1px solid #e8e8e8;
	line-height: 1.6em;
}

.p-medical-main-accordion__content p.kakoi2 {
	color: #51aa7d;
	font-size: 90%;
	font-weight: bold;
	width: 100%;
	text-align: center;
	padding: .5em;
	margin: 30px auto 0;
	border-radius: 10px;
	border: 1px solid #51aa7d;
	line-height: 1.6em;
}

.p-medical-main-accordion__content p.kakoi2 a {
	color: #51aa7d;
}

.arr-down {
	text-align: center;
	margin: 30px auto;
	display: block;
	vertical-align: middle;
	color: #333;
	line-height: 1;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent;
	border-width: 0.64952em 0.375em;
	border-top-color: currentColor;
	border-bottom: 0;
}

p.sml {
	font-size: 90%;
}

/* medical リンク位置調整 */

li.anchor {
	padding-top: 80px;
	margin-top: -80px;
}

/* Post index thumb */

.p-front-news__swiper__img,
.p-archive-body__item__img {
	position: relative;
}

.p-front-news__swiper__img .ico_play,
.p-archive-body__item__img .ico_play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	width: 30%;
	height: auto;
}

.p-front-news__swiper__img img {
	object-fit: cover;
	aspect-ratio: 7 / 5;
}

/* Post */

.p-single-main__head p span {
    color: #666;
}

.p-single-main__head p time {
    color: #666;
}

.p-single-main__content a {
	text-decoration: underline;
}

.p-single-main__content a:hover {
	text-decoration: none;
}

.wp-block-embed__wrapper iframe {
	aspect-ratio: 16 / 9;
	width: 100%;
	height: auto;
 }

.c-pager p {
	width: 33.3%;
}

.c-pager p.c-pager__back {
	text-align: center;
}

.c-pager p.c-pager__next a {
	justify-content: flex-end;
}

/* doctors */

.btn_lnk a {
	display: inline-block;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #a0dcbe;
	background-color: #fff;
	border-radius: 50px;
	padding: 12px;
}

.btn_lnk a:hover {
	opacity: 1;
	color: #fff;
	background-color: #a0dcbe;
}

.btn_lnk a i {
	color: #a0dcbe;
	padding: 0 5px;
}

.btn_lnk a:hover i {
	color: #fff;
}

.p-doctors-main-detail__block__main .mrg_b_10 {
	margin-bottom: 12px;
}

.p-doctors-main-detail__block .btn_lnk a {
	margin: 30px 0;
}

@media screen and (max-width:767px) {

	/*.l-header__main {
		background: rgb(255,255,255);
		background: linear-gradient(180deg, rgba(255,255,255,1) 70%, rgba(255,255,255,0) 100%);
	}*/
	/* medical リンク位置調整 */
	.p-medical-head-accordion__item:last-child {
		margin-top: -80px;
	}

	.p-front-menu__button a {
		height: auto;
		padding: 20px;
		font-size: 1.7rem;
	}

	.p-front-time__note li {
		font-size: 1.5rem;
	}

	.post_thumb {
		object-fit: cover;
		height: 100px;
	}

	.p-single-main__head h2 {
		line-height: 1.4;
	}

	.swiper-wrapper div:nth-child(n + 4) {
		display: none!important;
	}

	.p-medical-head-accordion__content__imgs img {
		width: 100%;
		height: 260px;
		object-fit: cover;
	}

	.btn_lnk {
		text-align: center;
		margin: auto;
	}

	/* 診療時間 */

	.time_kakoi {
		display: block;
		padding: 10px;
	}

	.time_kakoi p.title {
		text-align: center;
		width: 100%;
		margin: 0 0 5px 0;
	}
	.p-front-time__note li {
		line-height: 1.4em;
	}

}

.l-header__sns li.twitter a::before {
	background: url(../img/_common/icon_x_01.svg) center/cover;
}
.l-header.active .l-header__sns li.twitter a::before {
	background: url(../img/_common/icon_x_03.svg) center/cover;
}
.l-header.active .l-header__container__sns li.twitter a::before {
	background: url(../img/_common/icon_x_03.svg) center/cover;
}

.l-footer__main__list li:nth-child(2) img {
	height: 22px;
	width: auto;
}

/* 202411add */
.sml_txt {
	font-size: 1.4rem!important;
}

.l-header__sns li a:before {
    width: 21px;
    height: 21px;
}

.l-header__sns li.line a::before {
	background: url(../img/_common/icon-line02.svg) center/cover;
}

.l-header.active .l-header__sns li.line a::before {
	background: url(../img/_common/icon-line01.svg) center/cover;
}

.l-header.active .l-header__container__sns li.line a::before {
	background: url(../img/_common/icon-line01.svg) center/cover;
}

.js-header-menu p.sub {
	color: #fff;
}

.p-front-hero__swiper {
    height: 60vh!important;
}

.p-front-hero h2 {
    top: 22vh;
    display: flex;
    align-items: flex-start;
}

.l-footer__main__list li:last-child img {
	height: 24px;
	width: auto;
}

@media screen and (max-width:767px) {

	.js-header-menu p.sub {
		color: #333;
	}

	.p-front-hero__swiper {
	    height: 80vh!important;
	}

}