:root {
	--default-theme-color: #00AAD9;
	--default-gray-color: #515151;
}

html body {
	background-color: #F5f5f5;
}

.c-site-branding__title .custom-logo-link .custom-logo {
	width: auto;
	height: 70px;
}

.p-drop-nav {
	opacity: 0.7;
}

.buttonScope,
.influenza {
	max-width: 300px;
    width: 100%;
}

.buttonScope a,
.influenza a {
	position: relative;
    text-decoration: none;
    font-size:20px;
    color: white;
	background: linear-gradient(-45deg, var(--default-theme-color) 50%, #00ddf9 60%, var(--default-theme-color) 70%);
	background-size: 600% 100%;
	animation: buttonShine 30s infinite;
	animation-delay: 0s;
	animation-timing-function: linear;
	padding: 25.5px 25px;
	border-radius: 5px;
    width: 100%;
	white-space: nowrap;
}

.influenza a {
    animation-delay: 2s;
}

@keyframes buttonShine {
	0% {
		background-position: 400%;
	}
	50% {
		background-position: 0%;
	}
	100% {
		background-position: -400%;
	}
}

.buttonScope a::before,
.influenza a::before {
	content: "";
	position: absolute;
	width: calc(100% - 5px);
	height: calc(100% - 5px);
	border: 2px solid white;
	border-radius: 5px;
    left: 2.5px;
	top: 50%;
	transform: translatey(-50%)
}

.l-container .l-header {
    height: 100px;
    color: var(--default-gray-color);
}

.l-container .l-header .c-row {
    height: 100px;
}


.l-header .p-global-nav .c-navbar__submenu {
    background-color: rgba(255,255,255,0.8);
}

.l-header .p-global-nav .c-navbar__subitem {
    color: var(--default-gray-color);
}

.p-global-nav .c-navbar__item[aria-haspopup=true][data-submenu-visibility=visible]:before {
    display: none;
}

#page-top {
	border-radius: 50%;
}

.homeTopSlider {
    position: relative;
    max-height: 600px;
}

.homeTopSlider::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
}

.homeTopSlider + h2,
.homeTopSlider + h2 + h2 {
    position:absolute;
    top: 5%;
    left: 5%;
    z-index: 20;
	opacity: 0.7;
}

.defaultSectionStyle {
    background-image: url(../../uploads/2024/08/skyblue_background.webp);
}

.defaultSectionStyle h2,
.topinfoSection h2,
.topScheduleSection h2 {
    font-size: 24px;
}

.topEndscopeSection {
    position: relative;
}

.topEndscopeSection h2,
.topConsalSection h2,
.policySection h2,
.facilitySection h2,
.staffSection h2,
.flowSection h2,
.mizoochiSection h2,
.chestSection h2,
.faqSection h2 {
    margin-top: 50px;
}

.topEndscopeSection::before,
.topConsalSection::before,
.topinfoSection::before,
.topScheduleSection::before,
.policySection::before,
.facilitySection::before,
.hospitalSection::before,
.firstSection::before,
.accessSection::before,
.staffSection::before,
.flowSection::before,
.feeSection::before,
.parasiteSection::before,
.internalSection::before,
.gastroenterologySection::before,
.allergySection::before,
.vaccineSection::before,
.dockSection::before,
.vitaminSection::before,
.floraSection::before,
.mizoochiSection::before,
.chestSection::before,
.faqSection::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    left: 50%;
    top: 0;
    transform: translateY(-50%) translateX(-50%);
    background-size: contain;
    z-index: 10;
}

.topinfoSection::before,
.topScheduleSection::before,
.hospitalSection::before,
.firstSection::before,
.accessSection::before,
.feeSection::before,
.parasiteSection::before,
.internalSection::before,
.gastroenterologySection::before,
.allergySection::before,
.vaccineSection::before,
.dockSection::before,
.vitaminSection::before,
.floraSection::before {
    width: 100px;
    height: 100px;
}

.topEndscopeSection::before {
    background-image: url(../../uploads/2023/11/icon_scope.png);
}

.topConsalSection::before {
    background-image: url(../../uploads/2023/11/icon_Stethoscope.png);
}

.topinfoSection::before {
    background-image: url(../../uploads/2023/11/icon_information.png);
}

.topScheduleSection::before {
	background-image: url(../../uploads/2023/11/icon-schedule.png);
}

.policySection::before {
	background-image: url(../../uploads/2023/11/icon_policy.png);
}

.facilitySection::before {
	background-image: url(../../uploads/2023/11/icon_facility.png);
}

.hospitalSection::before {
	background-image: url(../../uploads/2023/11/icon_hospital.png);
}

.firstSection::before {
	background-image: url(../../uploads/2023/11/icon_first.png);
}

.accessSection::before {
	background-image: url(../../uploads/2023/11/icon_access.png);
}

.staffSection::before {
	background-image: url(../../uploads/2023/11/icon_staff.png);
}

.flowSection::before {
	background-image: url(../../uploads/2023/11/icon_flow.png);
}

.feeSection::before {
	background-image: url(../../uploads/2023/11/icon_fee.png);
}

.parasiteSection::before {
	background-image: url(../../uploads/2023/11/icon_parasite.png);
}

.internalSection::before {
	background-image: url(../../uploads/2023/11/icon_Stethoscope.png);
}

.gastroenterologySection::before {
	background-image: url(../../uploads/2023/11/icon_stomach.png);
}

.allergySection::before {
	background-image: url(../../uploads/2023/11/icon_allergy.png);
}

.vaccineSection::before {
	background-image: url(../..//uploads/2023/11/icon_vaccine.png);
}

.dockSection::before {
	background-image: url(../../uploads/2023/11/icon_dockpng.png);
}

.vitaminSection::before {
	background-image: url(../../uploads/2025/07/icon_vitamin.webp)
}

.floraSection::before {
	background-image: url(../../uploads/2025/07/icon_flora.webp)
}

.mizoochiSection::before {
	background-image: url(../../uploads/2023/11/icon_mizoochi.png);
}

.chestSection::before {
	background-image: url(../../uploads/2023/11/icon_chest.png);
}

.faqSection::before {
	background-image: url(../..//uploads/2023/11/icon_faq.png);
}

.buttonNaishin a,
.buttonSchedule a,
.buttonScopeDetail a,
.buttonGastroscopy a,
.buttonColonoscopy a {
	position: relative;
	border-radius: 3px;
	background-color: white;
	border: solid 1px var(--default-gray-color);
	color: var(--default-gray-color);
	transition: all 0.5s ease;
}


.buttonConsal a {
	padding: 20px 130px;
}

.buttonSchedule a {
	padding: 20px 50px;
}

.buttonMizoochi a,
.buttonFukubu a,
.buttonGastroscopy a,
.buttonColonoscopy a {
    padding: 20px;
}

.buttonScopeDetail a {
	padding: 20px;
}

.buttonHospital {
	width: 100%;
}

.buttonHospital a {
	position: relative;
	transition: all 0.5s ease;
	width: 100%;
}

.buttonNaishin a::before,
.buttonSchedule a::before,
.buttonHospital a::before,
.buttonScopeDetail a::before,
.buttonGastroscopy a::before,
.buttonColonoscopy a::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 5px;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	transition: all 0.5s ease;
}

.buttonNaishin a::before,
.buttonSchedule a::before,
.buttonScopeDetail a::before,
.buttonGastroscopy a::before,
.buttonColonoscopy a::before {
	background-color: rgba(00, 170, 217,0.3);
}

.buttonHospital a::before {
	background-color: rgba(200, 200, 200, 0.3);
}

.buttonNaishin a:hover,
.buttonSchedule a:hover,
.buttonScopeDetail a:hover,
.buttonGastroscopy a:hover,
.buttonColonoscopy a:hover {
	color: white;
	background-color: var(--default-theme-color);
}

.buttonHospital a:hover {
	color: white;
	background-color: var(--default-gray-color);
}

.buttonNaishin a:hover::before,
.buttonSchedule a:hover::before,
.buttonHospital a:hover::before,
.buttonScopeDetail a:hover::before,
.buttonGastroscopy a:hover::before,
.buttonColonoscopy a:hover::before {
	transform: translate(-5px, -5px);
	background-color: transparent;
}

.buttonNaishin a::after,
.buttonSchedule a::after,
.buttonHospital a::after,
.buttonScopeDetail a::after,
.buttonGastroscopy a::after,
.buttonColonoscopy a::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border: 1px solid white;
	transition: all 0.5s ease;
}

.buttonNaishin a:hover::after,
.buttonSchedule a:hover::after,
.buttonHospital a:hover::after,
.buttonScopeDetail a:hover::after,
.buttonGastroscopy a:hover::after,
.buttonColonoscopy a:hover::after {
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	top: 5px;
	left: 5px;
	border-radius: 3px;
}

.buttonNaishin a:hover::after,
.buttonSchedule a:hover::after,
.buttonGastroscopy a:hover::after,
.buttonColonoscopy a:hover::after {
	border: 1px solid white;
}

.buttonHospital a:hover::after {
	border: 1px solid var(--default-gray-color);
}

.snow-monkey-recent-posts .c-entries--text .c-entry-summary__content {
    display: unset;
}

.top-info-wrap.smb-recent-posts .c-entry-summary__title {
    display: none;
}

.c-entries--text .c-entries__item>a {
    pointer-events: none;
}

ul.c-entries--text.c-entries {
    max-width: 850px;
    margin: 0 auto;
}

body .is-layout-constrained > .topScheduleTable:where(:not(.alignleft):not(.alignright):not(.alignfull))  {
	max-width: 850px;
}

.wp-block-table.topScheduleTable td {
	border-left: 0px;
	border-right: 0px;
	border: 0px;
}

.wp-block-table.topScheduleTable tr {
	background-image: linear-gradient(to right, #aaa 3px, transparent 3px);
	background-size: 6px 1px;
	background-repeat: repeat-x; 
}

.wp-block-table.topScheduleTable tr:last-child {
	background-image: 
		linear-gradient(to right, #aaa 3px, transparent 3px),
		linear-gradient(to right, #aaa 3px, transparent 3px);
	background-size: 6px 1px, 6px 1px;
	background-repeat: repeat-x, repeat-x;
	background-position: top, bottom;
}

.l-container .l-footer--footer-1 .l-footer__footer {
	padding-top: 0;
	text-align: center;
	background-color: #fff;
}

.footerPhoneNumber a {
	text-decoration: none;
}

.footerPhoneNumber::before {
	content: "\f3cd";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 1.5em;
	margin-right: 4px;
}

footer .copyright {
	font-size: 10px;
}

.policyGroupItem .smb-items__item,
.endoscopeFeatureGroupItem .smb-items__item {
	height: 100%;
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
}

.policyGroup,
.endocopeFeatureGroup {
	overflow: hidden;	
}

.policyGroup h3,
.endoscopeFeatureGroup h3 {
	width: 100%;
	padding-bottom: 0;
	height: 20vw;
	max-height: 180px;
}

.policyGroup ul,
.endoscopeFeatureGroup ul {
	padding-left: 3em;
}

.policyGroup .is-layout-constrained>:not(:last-child),
.endoscopeFeatureGroup .is-layout-constrained>:not(:last-child) {
	margin-bottom: 0;
}

.iconPolicy,
.iconEndoscopeFeature {
	transform: translateY(-50%);
}

.policyGroup .iconPolicy img,
.endoscopeFeatureGroup  .iconEndoscopeFeature img {
	border-color: #fff;
	-moz-box-shadow: 0 5px 20px #ddd inset, 0 3px 0 #999 inset;
	-webkit-box-shadow: 0 5px 20px #ddd inset, 0 3px 0 #999 inset;
	box-shadow: 0 5px 20px #ddd inset, 0 3px 0 #999 inset;
	background-color: #fff;
}

.policyGroup .smb-list,
.endoscopeFeatureGroup .smb-list {
	transform: translateY(-30px);
}

.designedH3 {
	position: relative;
}

.designedH3::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 150px;
	height: 150%;
	border-radius: 50%;
	border: 3px solid var(--default-theme-color);
	border-left-color: transparent;
	border-right-color: transparent;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.facilitySection .wp-block-snow-monkey-blocks-media-text {
	padding-top: 20px;
	padding-bottom: 20px;
}

.facilityGroupItem .smb-items__item {
	height:100%;
	background-color: white;
	box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
}

.accesStationImg {
	clip-path: polygon(20% 0%, 100% 0%, 100% 90%, 80% 100%, 0% 100%, 0% 10%);
}

.accessSection .smb-section-break-the-grid__content {
	margin-left: auto;
	margin-right: auto;
}

.access_table a {
	text-decoration: none;
}

.access_table tr:nth-child(2) td:nth-child(1)::before {
	content: "\f239";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.access_table tr:nth-child(3) td:nth-child(1)::before {
	content: "\f1b9";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.access_table tr td:nth-child(1) {
	background-color: var(--wp--preset--color--sm-lighter-gray);
}

.access_table tr td:nth-child(2) {
	background-color: white;
}

.access_table tr:nth-child(1) td:nth-child(1) {
	border-top: 3px solid var(--default-theme-color);
	border-bottom: 1px solid var(--default-gray-color);
}

.access_table tr:nth-child(1) td:nth-child(2) {
	border-top: 3px solid var(--default-gray-color);
	border-bottom: 1px solid var(--default-gray-color);
}

.access_table tr:nth-child(2) td,
.access_table tr:nth-child(3) td {
	border-bottom: 1px solid var(--default-gray-color);
}

.access_map {
	text-align: center;
}

.staffSection .directorTitle {
	box-shadow: 3px 3px 4px 0 var(--default-gray-color);
}

.staffSection .directorName {
	border-bottom: 1px var(--default-gray-color) dashed;
}

.flowSection .smb-step__item__number {
	border-radius: 5px;
	background-color: var(--default-gray-color);
}

.colonoscopyFlow .wp-block-snow-monkey-blocks-alert{
	position: relative;
	border: 2px solid var(--default-theme-color);
}

.colonoscopyFlow .wp-block-snow-monkey-blocks-alert::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	transform: translateX(-50%) translateY(-50%);
	border: 1px solid var(--default-theme-color);
	border-radius: var(--smb-alert--border-radius);
}

.colonoscopyFeature h3 {
	width: 100%;
	line-height: 5vw;
}

/* .colonoscopyFeatureBox h3 {
	line-height: 5vw;
} */

.colonoscopyFeatureBox .smb-items__item--free,
.colonoscopyFeatureBox .smb-items__item--free .smb-items__item__body,
.colonoscopyFeatureBox .smb-items__item--free .smb-items__item__body .colonoscopyFeature{
    height: 100%;
}

.parasiteImage {
	position: relative;
}

.parasiteImage::before {
	content:"";
	position: absolute;
	background-color: white;
	top: 50%;
	left: 50%;
	width: calc(100% - var(--_gap));
	height: calc(100% - var(--_gap));
	transform: translateX(-50%) translateY(-50%);
	box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
}

.consaltation__itemBox {
	padding: 20px;
	box-shadow: 2px 4px 6px rgba(0,0,0,0.3);
}

.consaltation__itemBox img {
	width: 200px;
}

.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header .wpsbc-select-container select,
.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar table tr th,
.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar table tr td .wpsbc-date-inner .wpsbc-date-number,
.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar table tr td .wpsbc-date-inner .nameText {
	font-size: 18px;
}

.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header .wpsbc-select-container select {
	height: 40px;
}
.topScheduleSection .wpsbc-calendar {
	max-width: 800px !important;
}

.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar table tr td {
	border: 1px solid var(--default-gray-color) !important;
}

.topScheduleSection .wpsbc-container[data-columns] .wpsbc-calendars .wpsbc-calendar {
	float: unset;
	margin-left: auto;
	margin-right: auto;
}

.topScheduleSection .wpsbc-container h2 {
	text-align: center;
}

body .is-layout-flex.diseaseIemsBox {
	align-items: stretch;
}

.endoscopistBox {
    width: fit-content;
}

.internalItem {
	box-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

.epigastriumItemBox .smb-items__item {
	background-color: white;
	box-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

.epigastriumItemBox .smb-items__item h3 {
	position: relative;
}

.epigastriumItemBox .smb-items__item h3::after {
	position: absolute;
	content: "";
	width: 50%;
	height: 100%;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	border-bottom: 1px solid var(--default-gray-color);
}

.epigastriumItemBox .smb-items__item {
	height: 100%;
}

.consaltationGroupItem .smb-items__item {
	height: 100%;
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
}

.chestItem {
	border: 1px solid var(--default-gray-color);
	border-radius: 20px;
	display: inline;
}

.chestItem.wp-container-content-1 {
	flex-grow: unset;
}

.vaccineFeeBox .c-row,
.dockFeeBox .c-row {
	flex-wrap: wrap;
}

.vaccineFee,
.dockFee {
	position: relative;
	z-index: 1;
}

.vaccineFee::after,
.dockFee::after {
	content: "";
	position: absolute;
	background-color: white;
	top: 50%;
	left: 50%;
	width: 90%;
	height: 90%;
	transform: translateX(-50%) translateY(-50%);
	z-index: -1;
	box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.3);
}

.dockFee ul {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

.dockFee li {
	text-align: left;
}

.wpsbc-legend {
	display: none;
}

.wpsbc-legend .wpsbc-legend-item-icon-color {
	border: 1px solid var(--default-gray-color);
}

.p-footer-sticky-nav.p-footer-sticky-nav {
	font-size: 1rem;
	background-color: #003e75;
}

.fixedFooterIocn-wrap {
	color: white;
	font-size: 1rem;
}

.fixedFooterIocn {
	padding: 1rem 0;
	box-shadow: inset 0px 0px 10px 0px rgba(255, 255, 255, 0.3);
}

.fixedFooterIocn img {
	height: 1.5rem;
	margin-right: 5px;
}

.wp-block-group:has(.homeTopSlider) .doctorsfilelogo {
	position: absolute;
	top: 50%;
	right: 50px;
	z-index: 20;
	transform: translateY(-50%);
}

.aboutTopImageWrap,
.accessTopImageWrap,
.staffTopImageWrap,
.scheduleTopImageWrap,
.endoscopeTopImageWrap {
	position: relative;
}

.aboutTopImageWrap .doctorsfilelogo,
.accessTopImageWrap .doctorsfilelogo,
.staffTopImageWrap .doctorsfilelogo,
.scheduleTopImageWrap .doctorsfilelogo,
.medicalconsultationTipImageWrap .doctorsfilelogo,
.selfpayTopImageWrap .doctorsfilelogo {
	position: absolute;
	top: 0;
	right: 50px;
	max-width: 30vw;
}

.endoscopeTopImageWrap .doctorsfilelogo,
.gastroscopeTipImageWrap .doctorsfilelogo,
.insuranceTopImageWrap .doctorsfilelogo{
	position: absolute;
	top: 0;
	left: 50px;
	max-width: 30vw;
}

.faqTopImageWrap .doctorsfilelogo,
.pitstomachTopImageWrap .doctorsfilelogo,
.chestTopImageWrap .doctorsfilelogo {
	position: relative;
	z-index: 20;
	max-width: 90vw;
}

.single-post .c-meta__item--author {
	display: none;
}

@media screen and (max-width: 64em ) {

	.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar table tr td .wpsbc-date-inner .nameText {
		visibility: hidden;
	}

	.wpsbc-legend {
		display: unset;
	}

	.wp-block-image.co2device img {
		width: 200px;
	}

	.wp-block-group:has(.homeTopSlider) .doctorsfilelogo {
		position: absolute;
		top: 50%;
		right: 50px;
		max-width: 40vw;
		z-index: 20;
	}

}

@media screen and (max-width: 40em ) {

	.topScheduleTable {
		font-size: 16px;
	}

	.topScheduleTable.wp-block-table td {
		padding: 0;
	}

	.policyGroup h3,
	.endoscopeFeatureGroup h3 {
		height: 40vw;
		padding-right: 0;
		padding-left: 0;
	}

	.topScheduleSection .wpsbc-container .wpsbc-calendars .wpsbc-calendar table tr td .wpsbc-date-inner .nameText {
		visibility: hidden;
	}

	.wpsbc-legend {
		display: unset;
	}
	
	.colonoscopyFeature h3 {
		padding-top: 0;
		height: 20vw;
		line-height: 20vw;
	}

	.consaltation__itemBox img {
		width: 100px;
	}
	
	.wp-block-group:has(.homeTopSlider) .doctorsfilelogo {
		position: unset;
		max-width: 90vw;
		transform: translateY(0);
		flex-direction: row;

		figure {
			flex: 0 1 45%;
		}
	}

	.aboutTopImageWrap .doctorsfilelogo,
	.accessTopImageWrap .doctorsfilelogo,
	.staffTopImageWrap .doctorsfilelogo,
	.scheduleTopImageWrap .doctorsfilelogo,
	.endoscopeTopImageWrap .doctorsfilelogo,
	.gastroscopeTipImageWrap .doctorsfilelogo,
	.medicalconsultationTipImageWrap .doctorsfilelogo,
	.insuranceTopImageWrap .doctorsfilelogo,
	.selfpayTopImageWrap .doctorsfilelogo {
		position: unset;
		max-width: 90vw;
		transform: translateY(0);
		flex-direction: row;
		
		figure {
			flex: 0 1 45%;
		}
	}
}