@charset "UTF-8";
/*
Theme Name: Emanon Premium child
Theme URI: https://wp-emanon.jp/emanon-premium/
Author: 株式会社イノ・コード
Author URI: https://innocord.co.jp/
Description: Emanon Premiumnの子テーマです。
Template: emanon-premium
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:one-column, two-columns, three-columns, left-sidebar, right-sidebar, theme-options
*/

/* 共通 */
@media screen and (min-width: 768px) {
	html {
		scroll-padding-top: 180px;
		scroll-behavior: smooth;
	}
	/*
	.l-header {
		width: 100%;
		height: 121px;
		position: fixed!important;
	}
	.l-header + div {
		margin-top: 121px;
	}
	*/
	.hidePC {
		display: none;
	}
}
@media screen and (max-width: 767px) {
	#contents {
		margin-bottom: 90px;
	}
	.l-footer {
		width: 100%;
		position: fixed;
		bottom: 0;
		z-index: 10;
	}
	.site-copyright {
		display: none;
	}
}

/* トップページアイキャッチ SP文字場所調整 */
@media screen and (max-width: 767px) {
	.main-visual-slider__inner {
		top: 45%;
	}
}

/*ページ下部CTA SP非表示*/
@media screen and (max-width: 767px) {
	#cta-content-199 {
		display: none;
	}
}

/* CTA お問合せ、SPフッター問合せ */
.cta_contact-main_wrap {
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	background-color: #F6F8FB;
}
.cta_contact-main .text_large {
	font-size: 2em;
	line-height: 1.5;
	margin-bottom: 10px;
	position: relative;
	z-index: 2;
}
.cta_contact-main .btn,
.sp_footer.btn {
	display: flex;
}
.cta_contact-main .btn li,
.sp_footer.btn li{
	list-style: none;
}
.cta_contact-main .btn li a,
.sp_footer.btn li a {
	color: #fff!important;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	width: 250px;
	padding: 8px 0;
	border-radius: 24px;
}
.cta_contact-main .btn li a.green,
.sp_footer.btn li a.green {
	background-color: #47984F;
	box-shadow: 0 4px #1F4B27;
}
.cta_contact-main .btn li a.orange,
.sp_footer.btn li a.orange{
	background-color: #F28F2A;
	box-shadow: 0 4px #523216;
}
.cta_contact-main .btn li a:hover,
.sp_footer.btn li a:hover {
	-webkit-transform: translateY(4px);
	transform: translateY(4px);
	box-shadow: none;
}
@media screen and (min-width: 768px) {
	.cta_contact-main_wrap {
		margin-top: 80px!important;
	}
	.cta_contact-main {
		max-width: 1100px;
		margin: 0 auto;
		padding: 40px 0 40px 20px;
		position: relative;
	}
	.cta_contact-main .image {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 380px;
		height: auto;
	}
	.cta_contact-main .btn {
		margin-top: 40px;
	}
	.cta_contact-main .btn li:first-child {
		margin-right: 12px;
	}
}
@media screen and (max-width: 767px) {
	.cta_contact-main {
		display: flex;
		flex-wrap: wrap;
		padding: 16px;
	}
	.cta_contact-main .text_large {
		font-size: 1.28em;
	}
	.cta_contact-main .text_small {
		font-size: 0.77em;
		width: 65%;
		margin-top: 10px;
	}
	.cta_contact-main .image {
		width: calc(35% - 10px);
		margin-right: 10px;
	}
	.cta_contact-main .btn,
	.sp_footer.btn {
		width: 100%;
		justify-content: space-between;
	}
	.cta_contact-main .btn li,
	.sp_footer.btn li {
		width: 49%;
	}
	.cta_contact-main .btn li a,
	.sp_footer.btn li a{
		width: 100%;
	}
	.sp_footer.btn li a.green {
		display: flex;
		justify-content: center;
	}
	.sp_footer.btn li a.green::before {
		content: "";
		display: block;
		width: 20px;
		height: 20px;
		margin-right: 5px;
		background: url(/wp/wp-content/uploads/icon_tel2.png) no-repeat;
		background-size: 20px 20px;
	}
}

/* アクセス方法パーツ */
.table_access td:first-child {
	white-space: nowrap;
}
.table_access td:first-child img {
	max-width: 30px;
	max-height: 30px;
	object-fit: contain;
}
@media screen and (min-width: 768px) {
	.table_access td:first-child img {
		margin-right: 10px;
	}
}
@media screen and (max-width: 767px) {
	.table_access td:first-child img {
		display: block;
	}
}

/* お急ぎの方　電話パーツ */
.contact_tel {
	font-weight: bold;
	margin-top: 20px;
}
.contact_tel .number {
	display: flex;
	align-items: center;
	justify-content: center;
}
@media screen and (max-width: 767px) {
	.contact_tel .number {
		font-size: 1.2em!important;
	}
	.contact_tel .number img {
		width: 26px!important;
	}
}

/* 診療予約 */
.reservation_tab_menu {
	display: flex;
	justify-content: space-between;
	margin-left: 0!important;
}
.reservation_tab_menu li {
	color: #fff;
	font-weight: bold;
	text-align: center;
	list-style: none;
	width: 49.5%;
	padding: 6px 0;
	border-radius: 4px 4px 0 0;
}
.reservation_tab_menu li.contact {
	background-color: #47984F;
}
.reservation_tab_menu li.reservation {
	background-color: #F28F2A;
}
.reservation_tab_menu li a {
	color: #fff;
	display: block;
}
.reservation_tab_menu li:has(a:hover) {
	opacity: 0.8;
}
.reservation_tab .history {
	color: #fff;
	font-weight: bold;
	letter-spacing: 1em;
	display: inline-block;
	margin: 20px 0 10px;
	padding: 0 1em 0 2em;
	border-radius: 10px;
	background-color: #F28F2A;
}
@media screen and (max-width: 767px) {
	.reservation_tab .epb-panel-box__inner {
		padding: 16px;
	}
}
/* フォーム */
.reservation_form .required {
	color: #e71f19;
	text-align: right;
}
.reservation_form .input_item {
	margin: 10px 0;
}
.reservation_form .input_item em {
	color: #e71f19;
	font-style: normal;
}
.reservation_form .input_item .wpcf7-list-item.first {
	margin-left: 0;
}
.wpcf7-previous {
	margin: 0 10px;
	background-color: #F28F2A!important;
}
.wpcf7-submit {
	margin: 0 10px;
}
@media screen and (min-width: 768px) {
	.reservation_form {
		width: 800px;
		margin: 0 auto;
	}
	.reservation_form .input_item {
		display: flex;
	}
	.reservation_form .input_item > span:first-child {
		width: 190px;
	}
	.reservation_form .input_item > span:last-child {
		width: calc(100% - 190px);
	}
	.reservation_form .input_item > span:has(.age) {
		width: auto;
		margin-right: 8px;
	}
	.reservation_form .input_item .age {
		width: 100px;
	}
}

/* トップページ 当院でおこなっている医療 */
.medical-care_list {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
@media screen and (max-width: 767px) {
	.medical-care_list .wp-block-emanon-premium-blocks-button-template {
		min-width: 80%;
	}
	.medical-care_list .epb-button .epb-btn-size__m {
		width: 100%;
	}
	.medical-care_list .epb-button .epb-btn-size__m a {
		display: block;
	}
}