/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* 汎用 */
.sp {
	display: none;
}
.ib {
	display: inline-block;
}
.lb {
	word-break: keep-all;
	overflow-wrap: anywhere;
}
.c-ruby rt {
	font-size: 0.5em;
	margin-bottom: 10px;
}
.c-text-vertical {
	writing-mode: vertical-rl;
	text-orientation: mixed;
}
.c-title01 {
	z-index: 1;
}
.c-title01::before {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	border-top: 0.25px dashed #3E3A39;
	position: absolute;
	inset: 50% auto auto 0;
	translate: 0 -50%;
	z-index: -1;
}

.c-title01 .elementor-heading-title {
	display: inline-block;
	width: fit-content;
	background-color: #edede7;
	padding-right: 60px;
}
.c-list01 li span {
	padding-left: 20px!important;
}
.c-list01 li span::before {
	content: '';
	display: block;
	width: 5px;
	height: 1px;
	background-color: #3e3a39;
	position: absolute;
	inset: 0.5lh auto auto 0;
	translate: 0 -50%;
}
@media(max-width: 767px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
	.c-text-vertical.c-text-vertical--message {
		scale: -1 -1;
	}
}
.fadeInUp {
	animation-name: refadeInUp!important;
	animation-timing-function: ease-out!important;
}
@keyframes refadeInUp {
	from {
		opacity: 0;
		translate: 0 100px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}
.c-btn-hover .c-btn-hover__icon {
	transition: .2s ease-out;
}
@media (any-hover: hover) {
	.c-btn-hover:hover .c-btn-hover__icon {
		translate: 10px 0;
	}
}

/* スクロールアニメーション */
.scroll {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.scroll-text {
	color: #fff;
	font-size: 15px;
	line-height: 1;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}
.scroll-border {
	position: relative;
	position: relative;
	width: 10px;
	height: 130px;
	overflow: hidden;
}
.scroll-border::before {
	content: "";
	display: block;
	position: absolute;
	width: 0.5px;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	background: #fff;
	margin: auto;
}
.scroll-border::after {
	content: "";
	display: block;
	position: absolute;
	width: 6px;
	aspect-ratio: 1;
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 50%;
	animation: scrollbar 2.0s ease-in-out infinite;
	margin: auto;
}
@keyframes scrollbar {
	0% {
		bottom: 170px;
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		bottom: -10px;
		opacity: 0;
	}
}

/* ヘッダー */
.hum-wrapper {
	z-index: calc(infinity) !important;
}
.hum {
	font-size: 0;
	border: 1px solid #fff;
	width: 60px;
	aspect-ratio: 1;
	border-radius: 50%;
	position: relative;
	z-index: 100;
	cursor: pointer;
	filter: drop-shadow(0px 0px 3px #232323);
	z-index: calc(infinity) !important;
}
.hum.l-hum {
	border-color: var( --e-global-color-secondary );
	filter: none;
}
.hum::before,
.hum::after,
.hum span {
	display: block;
	background-color: #fff;
	height: 1px;
	width: 25px;
	transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
	position: absolute;
	transform: translate(-50%, 0);
}
.hum.l-hum::before,
.hum.l-hum::after,
.hum.l-hum span {
	background-color: var( --e-global-color-secondary );
}
.hum::before {
	content: "";
	inset: calc(50% - 10px) auto auto 50%;
}
.hum::after {
	content: "";
	inset: calc(50% + 10px) auto auto 50%;
}
.hum span {
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
}
.hum--active::before,
.hum--active::after {
	width: 50%;
}
.hum--active::before {
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
}
.hum--active::after {
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}
.hum--active span {
	opacity: 0;
}
.hum__menu .sub-menu {
	display: block!important;
	width: 100%!important;
	background-color: transparent;
	position: relative!important;
	inset: auto!important;
	padding: 0 0 0 1em!important;
	margin: 10px 0 0!important;
}

.hum__menu .sub-menu menu-item {
	background-color: transparent!important;
}

.hum__menu .sub-menu .elementor-sub-item {
	font-size: 14px;
	color: #fff;
	border-left: 1px solid #fff;
	padding: 0 0 0 15px;
	margin: 20px 0 0;
}
.hum__menu .sub-menu .elementor-sub-item:hover {
	background-color: transparent;
	padding: 0 0 0 15px;
}
.h__btn a {
	display: grid;
	place-items: center;
	min-height: 60px;
}
@media(max-width: 767px) {
	.h__cv {
		inset: auto auto 0 0!important;
	}
	.h__btn a {
		min-height: 50px;
	}
}

/* フッター */
.f__menu .elementor-nav-menu {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(5, 1fr);
	gap: 35px 55px;
	padding-bottom: 35px;
}
.f__menu .elementor-nav-menu > *:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
.f__menu .elementor-nav-menu > *:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
.f__menu .elementor-nav-menu > *:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }
.f__menu .elementor-nav-menu > *:nth-child(4) { grid-area: 4 / 1 / 5 / 2; }
.f__menu .elementor-nav-menu > *:nth-child(5) { grid-area: 5 / 1 / 6 / 2; }
.f__menu .elementor-nav-menu > *:nth-child(6) { grid-area: 1 / 2 / 2 / 3; }
.f__menu .elementor-nav-menu > *:nth-child(7) { grid-area: 2 / 2 / 3 / 3; }
.f__menu .elementor-nav-menu > *:nth-child(8) { grid-area: 3 / 2 / 4 / 3; }
.f__menu .elementor-nav-menu > *:nth-child(9) { grid-area: 4 / 2 / 5 / 3; }

.f__menu .elementor-item {
	justify-content: space-between;
	border-bottom: 0.5px solid #fff;
	padding: 0 5px 5px 0!important;
}
.f__menu .elementor-item::after {
	content: '';
	display: block;
	width: 5px;
	aspect-ratio: 5 / 8;
	background-color: #fff;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transition: .2s ease-out;
	opacity: 1!important;
	position: relative;
	inset: auto;
}
.f__btn .f__btn-icon {
	transition: .2s ease-out;
}
@media (any-hover: hover) {
	.f__menu .elementor-item:hover::after {
		translate: 10px 0;
	}
	.f__btn:hover .f__btn-icon {
		translate: 10px 0;
	}
}
@media(max-width: 767px) {
	.f__menu .elementor-nav-menu {
		gap: 35px;
	}
	.f__pp {
		position: relative!important;
		inset: auto!important;
	}
}

/* トップページ */
.t-fv__catch {
	filter: blur(10px);
	animation: blur 1.5s linear forwards;
}
@keyframes blur {
	100% {
		filter: blur(0);
	}
}
#fvSlider, #fvSlider > *,#fvSlider .swiper-slide-inner {
	width: 100%;
	height: 100%;
}

#fvSlider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- マスクの基本設定 --- */
#fvSlider .swiper-slide {
	-webkit-mask-image: url('/wp-content/uploads/mask.png');
	mask-image: url('/wp-content/uploads/mask.png');
	-webkit-mask-position: 0 100%;
	mask-position: 0 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}
/* スマホ用マスク画像切り替え */
/* @media (max-width: 960px) {
	#fvSlider .swiper-slide {
		-webkit-mask-image: url('/wp-content/uploads/mask-sp.png');
		mask-image: url('/wp-content/uploads/mask-sp.png');
	}
} */
/* 【現れるスライド】Swiper標準のアクティブクラスで3秒かけて表示 */
#fvSlider .swiper-slide-active {
	animation: swiperMaskShow 3s cubic-bezier(.37, 0, .63, 1) forwards;
}
#fvSlider .swiper-slide-active img,
#fvSlider .swiper-slide-duplicate-active img,
#fvSlider .swiper-slide-prev img {
	animation: zoom-in 7s linear normal both;
}
/* 【消えゆくスライド】Swiper標準の前のスライドクラスで3秒かけて隠す */
#fvSlider .swiper-slide-prev {
	animation: swiperMaskHide 3s cubic-bezier(.37, 0, .63, 1) forwards;
}
/* --- アニメーションの設計図 --- */
/* 現れる動き */
@keyframes swiperMaskShow {
	0% {
		-webkit-mask-position: 0 100%;
		mask-position: 0 100%;
	}
	100% {
		-webkit-mask-position: 0 0;
		mask-position: 0 0;
	}
}
/* 隠れる動き */
@keyframes swiperMaskHide {
	0% {
		-webkit-mask-position: 0 0;
		mask-position: 0 0;
	}
	100% {
		-webkit-mask-position: 0 100%;
		mask-position: 0 100%;
	}
}
/* ズームイン */
@keyframes zoom-in {
	to {
		scale: 1.05;
	}
}
.t-cs__list-item::before,
.t-cs__list-item:last-child::after {
	content: '';
	display: block;
	width: 0.5px;
	height: 100%;
	background-color: #595757;
	position: absolute;
	inset: 0 auto auto 0;
	rotate: 37deg;
}
.t-cs__list-item:last-child::after {
	inset: 0 0 auto auto;
}
.t-cs__list-item .t-cs__list-icon {
	transition: .2s ease-out;
}
@media (any-hover: hover) {
	.t-cs__list-item:hover .t-cs__list-title * {
		color: var( --e-global-color-primary )!important;
	}
	.t-cs__list-item:hover .t-cs__list-icon {
		translate: 0 10px;
	}
}
.faq__list .e-n-accordion-item-title {
	align-items: baseline;
	gap: 0;
}
.faq__list .e-n-accordion-item-title::before,
.faq__list-a::before {
	content: 'Q';
	display: block;
	font-size: 30px;
	font-weight: bold;
	line-height: 1;
	width: 55px;
}
.faq__list .e-n-accordion-item-title::after {
	content: '';
	display: block;
	width: 20px;
	aspect-ratio: 20 / 15;
	background-color: #fff;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	transition: .5s ease-out;
}
.faq__list .e-n-accordion-item[open] .e-n-accordion-item-title::after {
	rotate: 180deg;
}
.faq__list .e-n-accordion-item-title span,
.faq__list-a > * {
	width: calc(100% - 55px - 20px);
	padding-top: 5px;
}
.faq__list-a {
	display: flex;
	flex-direction: row!important;
}
.faq__list-a::before {
	content: 'A';
	color: #628F61;
	position: relative;
	inset: auto;
}
.news__list-link .news__list-title *,
.news__list-link .news__list-icon {
	transition: .2s ease-out;
}
@media (any-hover: hover) {
	.news__list-link:hover .news__list-title * {
		color: var( --e-global-color-primary )!important;
	}
	.news__list-link:hover .news__list-icon {
		translate: 10px 0;
	}
}
@media(max-width: 960px) {
	.t-cs__list-item:nth-child(even)::after {
		content: '';
		display: block;
		width: 0.5px;
		height: 100%;
		background-color: #595757;
		position: absolute;
		inset: 0 0 auto auto;
		rotate: 37deg;
	}
	.t-hour,
	.t-hour__box {
		display: contents!important;
	}
}
@media(max-width: 767px) {
	.t-cs__list-item:last-child::after,
	.t-cs__list-item:nth-child(even)::after {
		content: none;
	}
	.t-ms__box {
		display: contents!important;
	}
	.t-ms__img {
		max-width: none!important;
	}
	.t-philosophy__box {
		display: contents;
	}
	.t-philosophy__title {
		position: absolute;
		inset: -100px auto auto 0;
	}
	.t-philosophy__img {
		max-width: none!important;
		position: relative!important;
		inset: auto!important;
	}
	.t-philosophy__btn {
		position: absolute;
		inset: auto 0 -115px auto;
	}
	.t-ae__item .elementor-widget-button {
		display: none;
	}
	.t-ln__box {
		display: contents;
	}
	.t-ln__img {
		max-width: none!important;
	}
	.faq__list .e-n-accordion-item-title::before,
	.faq__list-a::before {
		font-size: 20px;
		width: 25px;
	}
	.faq__list .e-n-accordion-item-title::after {
		width: 10px;
	}
	.faq__list .e-n-accordion-item-title span,
	.faq__list-a > * {
		width: calc(100% - 25px - 10px);
		padding-top: 0;
	}
}

/* 医院について */
.about__imgbox {
	aspect-ratio: 765 / 1095;
}
.about__img {
	max-width: none!important;
}
.doctor__popup .dialog-widget-content {
	width: calc(100% - 20px);
	max-width: 800px;
}

/* お知らせ一覧 */
.cat__name {
	font-family: "Helvetica", Sans-serif;
	font-size: 15px;
	font-weight: 300;
	color: var(--e-global-color-primary);
	text-transform: capitalize;
}
.news__list .elementor-pagination {
	display: flex;
	align-items: center;
}
.news__list .page-numbers.prev,
.news__list .page-numbers.next {
	display: flex;
	gap: 10px;
	align-items: center;
}
.news__list .page-numbers.prev {
	margin-right: 185px!important;
}
.news__list .page-numbers.next {
	flex-direction: row-reverse;
	margin-left: 185px!important;
}
.c-pn .post-navigation__prev--label,
.c-pn .post-navigation__next--label {
	display: flex;
	align-items: center;
	gap: 10px;
}
.c-pn .post-navigation__next--label {
	flex-direction: row-reverse;
}
.c-pn .post-navigation__prev--label::before,
.c-pn .post-navigation__next--label::before,
.news__list .page-numbers.prev::before,
.news__list .page-numbers.next::before {
	content: '';
	display: block;
	width: 13px;
	aspect-ratio: 13 / 9;
	background: url(/wp-content/uploads/icon_arrow01.svg) center / contain no-repeat;
	rotate: 90deg;
}
.c-pn .post-navigation__next--label::before,
.news__list .page-numbers.next::before {
	rotate: -90deg;
}
.c-pn .elementor-post-navigation__link {
	width: auto;
}
.c-pn .elementor-post-navigation {
	justify-content: space-between;
}
.news__content p {
	font-size: 18px;
}
.news__content * + * {
	margin-top: 60px;
}
.news__content * + h1,
.news__content * + h2
.news__content * + h3,
.news__content * + h4,
.news__content * + h5,
.news__content * + h6 {
	margin-top: 80px;
}
@media (max-width: 767px) {
	.cat__name {
		font-size: 12px;
	}
	.news__content p {
		font-size: 16px;
	}
}

/* CT検査 */
.ct_bg {
	height: 100%;
}
.c-reservation .c-reservation__icon {
	transition: .2s ease-out;
}
.ct-example__img figcaption {
    position: absolute;
    inset: auto 30px 15px auto;
}
@media(max-width : 960px) {
	.ct-example__img {
		position: relative!important;
		inset: auto!important;
	}
}
@media (any-hover: hover) {
	.c-reservation:hover .c-reservation__icon {
		translate: 10px 0;
	}
}

/* 感染症対策 */
.it__cv::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background-color: #efefef;
	position: absolute;
	inset: 0 auto auto 0;
	mix-blend-mode: multiply;
}
.endoscopy__cv::after {
	background-color: #9fa0a0;
}

/* 診療について */
.treatment__img {
	flex: 1;
	max-width: none!important;
}

/* 料金案内 */
.price::before {
	content: '';
	display: block;
	width: calc(50vw - 50%);
	height: 100%;
	background-color: #F8F9F6;
	position: absolute;
	inset: 0 calc(-50vw + 50%) auto auto;
}
.price__link .price__icon {
	transition: .2s ease-out;
}
@media (any-hover: hover) {
	.price__link:hover .price__icon {
		translate: 10px 0;
	}
}

/* お問い合わせ */
.contact__details {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 40px 0;
}
.contact__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	color: var(--e-global-color-primary);
	width: 320px;
	min-height: 75px;
	position: relative;
}
.contact__title--required::after {
	content: "必須";
	display: block;
	font-size: 12px;
	color: #3e3a39;
	text-align: center;
	width: 42px;
	border: 1px solid #3e3a39;
	border-radius: 4px;
}
.contact__contents {
	color: #232323;
	width: calc(100% - 320px);
}
.contact__contents > * {
	display: block;
}
.contact__contents > * + * {
	margin-top: 10px;
}
.contact__contents input::placeholder {
	font-size: 14px;
	color: #a0a0a0;
	font-weight: bold;
	letter-spacing: -0.05em;
}
.contact__contents input[type=text],
.contact__contents input[type=email],
.contact__contents input[type=tel],
.contact__contents textarea {
	width: 100%;
	background-color: #eef2ec;
	border: 0;
	border-radius: 0;
	min-height: 75px;
	padding: 10px;
}
.contact__contents--address > *:first-child {
	width: 100%;
	max-width: 140px;
}
.contact__contents .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1em;
}
.contact__contents .wpcf7-checkbox .wpcf7-list-item {
	margin-left: 0;
}
.contact__wrap {
	width: calc(100% - 320px);
	margin-left: auto;
}
.contact__doui {
	font-size: 20px;
	font-weight: 500;
	color: #3e3a39;
	margin-top: 50px;
}
.contact__doui a {
	text-decoration: underline;
	text-decoration-thickness: 0.5px;
	text-underline-offset: 5px;
}
.contact__doui .wpcf7-list-item {
    margin: 0;
}
.contact__doui label {
    display: flex;
    align-items: center;
    gap: 25px;
}
.contact__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff!important;
	width: 100%;
	max-width: 260px;
	min-height: 60px;
	border: 1px solid var(--e-global-color-primary)!important;
	background-color: var(--e-global-color-primary)!important;
	border-radius: calc(1px * infinity);
	margin-top: 145px;
	transition: 0.2s ease-out;
}
@media (any-hover: hover) {
	.contact__btn:hover {
		color: var(--e-global-color-primary)!important;
		background-color: transparent!important;
	}
}
.wpcf7-spinner {
	display: none;
}
@media (width <= 767px) {
	.contact__details {
		flex-direction: column;
		row-gap: 0;
	}
	.contact__title {
		column-gap: 10px;
		width: 100%;
		max-width: max-content;
	}
	.contact__contents {
		width: 100%;
	}
	.contact__contents input[type=text],
	.contact__contents input[type=email],
	.contact__contents input[type=tel],
	.contact__contents textarea {
		min-height: 50px;
	}
	.contact__contents + .contact__title {
		margin-top: 30px;
	}
	.contact__wrap {
		width: 100%;
	}
	.contact__doui {
		font-size: 14px;
		text-align: center;
	}
	.contact__btn {
		margin: 80px auto 0;
	}
}

/* お問い合わせ確認画面 */
.contact-confirm .contact__contents {
	display: flex;
	align-items: center;
	min-height: 75px;
}
.contact-confirm .contact__wrap {
	width: 100%;
	margin-top: 60px;
}

.contact-confirm .contact__btn {
	margin: 20px auto 0;
}

/* ご予約 */
.reservation__btn a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100px;
}
.reservation__btn .elementor-button-icon svg {
	width: 28px;
}
@media (any-hover: hover) {
	.reservation__btn--web a:hover .elementor-button-icon svg {
		filter: brightness(0) saturate(100%) invert(45%) sepia(4%) saturate(3036%) hue-rotate(161deg) brightness(96%) contrast(76%);
	}
	.reservation__btn--line a:hover .elementor-button-icon svg {
		filter: brightness(0) saturate(100%) invert(52%) sepia(79%) saturate(451%) hue-rotate(76deg) brightness(88%) contrast(93%);
	}
	.reservation__btn--tel a:hover .elementor-button-icon svg {
		filter: brightness(0) saturate(100%) invert(42%) sepia(65%) saturate(205%) hue-rotate(161deg) brightness(93%) contrast(87%);
	}
}

/* 大腸CT */
.ct__table tbody > tr > td:first-child .uael-table__text-inner {
	font-weight: bold!important;
}
.ct__table tbody > tr > td:nth-child(2),
.ct__table tbody > tr > td:nth-child(3) {
	text-align: center;
	background-color: #eef2ec!important;
}
.ct__table tbody .elementor-repeater-item-ad49523 .uael-table__text-inner,
.ct__table tbody .elementor-repeater-item-340f18d .uael-table__text-inner,
.ct__table tbody .elementor-repeater-item-1948f9f .uael-table__text-inner,
.ct__table tbody .elementor-repeater-item-12c9966 .uael-table__text-inner,
.ct__table tbody .elementor-repeater-item-41c8c11 .uael-table__text-inner,
.ct__table tbody > tr > td:last-child .uael-table__text-inner {
	font-size: 16px;
}

/* マイシグナル */
.misignal__table .uael-table-wrapper table[data-responsive=yes] tbody tr .uael-table-body-cell-text:first-child {
	margin-top: 0;
}
.misignal__table .uael-align-icon--left {
	line-height: 1;
	margin: 0;
}
.misignal__table .uael-table__text:has(.uael-align-icon--left) {
	display: flex;
	width: 20px;
	margin-inline: auto;
}