/*
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     onepress
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */
/*----base----------*/
body{
	color:#222;
}
code{
	color:#000D6E;
	background-color:#FAF000;
}
h2,h3,h4,h5,h6{
	color:#000D6E;
	line-height:1.8;
}
a{
	transition:0.5s;
}
a:hover{
	opacity:0.8;
}
.home #primary{
	padding-top:0;
}
.home .container{
	width:100%;
}
.no-sidebar .content-area{
	float:none;
}
.home .wp-block-group.alignfull.has-background{
	margin-left:-15px;
	margin-right:-15px;
}
.home .wp-block-group__inner-container{
	max-width:1500px;
	margin:0 auto;
}
.home .entry-content li{
	margin-left:2rem;
}
/*----title----------*/
.ttl-bf{
	position:relative;
}
.ttl-bf br{
	display:none;
}
.ttl-bf::before,.ttl-af::after{
	content:"＼";
	display:inline-block;
}
.ttl-bf::before{
	margin-right:2rem;
}
.ttl-af::after{
	content:"／";
	margin-left:2rem;
}
@media screen and (max-width:599px){
	.ttl-bf br{
		display:block;
	}
	.ttl-bf::before,.ttl-bf::after{
		position:absolute;
		top:15px;
	}
	.ttl-bf::before{
		margin-right:0;
		left:8px;
	}
	.ttl-af::after{
		margin-left:0;
		right:8px;
	}
}
/*----utility----------*/
.pc{
	display:block;
}
.sp{
	display:none;
}
.pl00{
	padding-left:0 !important;
}
.w750{
	max-width:750px;
	margin:0 auto;
}
.w1100{
	max-width:1100px;
	margin:0 auto;
}
.box-center{
	justify-content:center;
}
.box-shadow a{
	box-shadow:0 2px 4px rgba(0,0,0,0.2);
}

@media screen and (max-width:599px){
	.pc{
	display:none;
	}
	.sp{
	display:block;
	}
	.wp-block-spacer.spacer-100{
		height:50px !important;
	}
	.wp-block-spacer.spacer-60{
		height:30px !important;
	}
	.wp-block-spacer.spacer-50{
		height:25px !important;
	}
	.wp-block-spacer.spacer-25{
		height:0 !important;
	}
	.wp-block-spacer.spacer-30{
		height:0px !important;
	}
	.f-32{
		font-size:20px !important;
	}
	.f-30{
		font-size:20px !important;
	}
	.f-28{
		font-size:18px !important;
	}
	.f-24{
		font-size:18px !important;
	}
	.f-20{
		font-size:16px !important;
	}
	.f-18{
		font-size:16px !important;
	}
	.f-16{
		font-size:14px !important;
	}
	
}

/*---ボタン----------*/
.btn-wrap{
	gap:3%;
}
.btn-wrap > div{
	width:45%;
}
.btn-wrap a{
	line-height:1;
	transition:0.3s;
	width:100%;
	box-shadow:0 2px 4px rgba(0,0,0,0.4);
}
.btn-wrap a:hover{
	color:#fff;
	text-decoration:none;
	opacity:0.8;
	box-shadow:none;
}
.btn-more a{
	transition:0.3s;
	padding-top:0.3em;
	padding-bottom:0.3em;
}
.btn-more a:hover{
	text-decoration:none;
	opacity:1;
	color:#fff;
	background:#222;
}
@media screen and (max-width:599px){
	.btn-wrap{
		display:block;
	}
	.btn-wrap > div{
		font-size:20px !important;
		width:100%;
		margin-bottom:15px !important;
	}
	.btn-wrap > div img{
		width:26px !important;
	}
}

/*---テーブル----------*/
.box-table .wp-block-table table{
	margin-bottom:0;
}
.box-table .wp-block-table thead{
	border-color:#000d6e;
}
.box-table .wp-block-table td,
.box-table .wp-block-table th{
	padding:1rem 0.5rem;
	border-color:#ccc;
}
.box-table .wp-block-table td:nth-of-type(2){
	color:#000d6e;
	background:#e7eef8;
}
.box-table .wp-block-table th:nth-of-type(2){
	background:#e7eef8;
}
.box-table .wp-block-table td img{
	padding:10px 0;
}
.home figure.wp-block-embed{
	text-align:center;
}
/*----Simple Floating Menu（追従ボタン） ----------*/
.sfm-shape-button{
	border-radius:6px 0 0 6px;
}
.sfm-shape-button:hover{
	border-radius:1px solid;
}
@media screen and (max-width:599px){
	.sfm-floating-menu a.sfm-shape-button{
		width:35px;
	}
}
/*----header----------*/
@media screen and (max-width:599px){
	.followWrap{
		height:50px !important;
	}
	.site-header,
	.site-branding .has-logo-img
	,.site-branding .site-logo-div{
		line-height:50px;
	}
	.site-logo-div img{
		height:40px;
	}
}
/*----footer----------*/
footer .sidebar .widget a{
	color:#222;
}
.footer-widgets{
	background: #f4f4f4;
}
.footer-widgets.section-padding{
	padding:3rem 0rem 1.5rem;
}
.footer-ttl{
	border-bottom: 1px solid #000D6E;
}
/*----main visual----------*/
.mv.pc{
	display:flex;
}
.mv.sp{
	display:none;
}
.mv.wp-block-cover{
	margin:0 -15px;
	position:relative;
}
.mv .mv-catch{
	position:absolute;
	left:8%;
	top:2%;
}
.mv .wp-block-image{
	margin-bottom:0;
}
.mv .wp-block-image.alignfull img{
    height: auto;
    width: auto;
    max-height: calc(100vh - 60px);
    margin: 0 auto;
    display: block;
}
@media screen and (max-width:599px){
	.mv.pc{
	display:none;
}
	.mv.sp{
	display:flex;
	padding-top:20px !important;
}
	.mv .wp-block-image{
		margin:0 -15px;
	}
	.mv-catch{
		left:0;
		font-size:12px !important;
		padding:0 10px;
		line-height:1;
	}
	
}

@media screen and (max-width:599px){
:where(.wp-block-group.has-background){
		padding:1.25em 1.3em;
	}
}
/*---医院情報----------*/
@media screen and (max-width:599px){
	.info-address br:last-of-type{
		display:none;
	}
}
/*---LINE----------*/
@media screen and (max-width:599px){
	.box-line br{
		display:none;
	}
}
/*---feature----------*/
@media screen and (max-width:599px){
	.wp-block-group.box-feature{
		padding-left:0 !important;
		padding-right:0 !important;
	}
}
/*---point----------*/
@media screen and (max-width:599px){
	.box-point .wp-block-image img{
		width:55px !important;
	}
}
/*---提携先----------*/
@media screen and (max-width:599px){
	.box-pertner .wp-block-column:not(:last-of-type){
		border-bottom:1px solid #ccc;
	}
}
/*---最新NEWS----------*/
.home .box-news.wp-block-latest-posts__list li{
	display:flex;
	gap:2rem;
	align-items:flex-start;
	margin-left:0;
}
.home .box-news .wp-block-latest-posts__post-title{
	order:2;
	display:block;
	font-weight:bold;
	color:#000D6E;
}
.home .box-news .wp-block-latest-posts__post-date{
	order:1;
}
.home .box-news .wp-block-latest-posts__post-excerpt{
	order:3;
	margin-top:0;
}
@media screen and (max-width:599px){
	.home .box-news.wp-block-latest-posts__list li{
		flex-direction:column;
		gap:5px;
	}
}
/*---コラム----------*/
.home .box-column.wp-block-latest-posts__list{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.home .box-column.wp-block-latest-posts__list li{
	flex-basis:23%;
	margin-left:0;
}
.home .box-column .wp-block-latest-posts__post-title{
	display:block;
	font-weight:bold;
	color:#000D6E;
	margin-top:0.5em;
}
@media screen and (max-width:599px){
	.home .box-column.wp-block-latest-posts__list li{
		flex-basis:48%;
	}
}

/* 追従する予約ナビゲーション */
.reserve_nav {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 999;
}
.reserve_nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.reserve_nav ul > li {
	margin: 8px 0 0 0;
	background-color: #fff;
}
.reserve_nav ul > li:first-of-type {
	margin-top: 0;
}
.reserve_nav ul > li > a {
	display: flex;
	width: 72px;
	height: 128px;
	position: relative;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
}
.reserve_nav ul > li > .reserve_nav-web {
	background-color: #FA7300;
}
.reserve_nav ul > li > .reserve_nav-tel {
	background-color: #000D6E;
}
.reserve_nav ul > li > .reserve_nav-line {
	background-color: #00B900;
}
.reserve_nav ul > li > a:before {
	content: "";
	display: block;
	width: 32px;
	height: 32px;
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	margin-bottom: 6px;
}
.reserve_nav ul > li > .reserve_nav-web:before {
	background-image: url(assets/images/icon-web.svg);
}
.reserve_nav ul > li > .reserve_nav-tel:before {
	background-image: url(assets/images/icon-tel.svg);
}
.reserve_nav ul > li > .reserve_nav-line:before {
	background-image: url(assets/images/icon-line.svg);
}
.reserve_nav ul > li > a:after {
	content: "";
	display: block;
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	background-color: transparent;
	border: 1px solid #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.reserve_nav ul > li > a:hover {
	text-decoration: none;
	opacity: .9;
	filter: brightness(1.15);
	text-decoration: none;
}
.reserve_nav ul > li > a:focus {
	text-decoration: none;
}
.reserve_nav ul > li > a > span {
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	line-height: 1.2;
}
.reserve_nav-hyphen {
	display: none;
}

@media screen and (max-width:599px){
	.reserve_nav {
		position: fixed;
		top: auto;
		bottom: 0;
		transform: none;
		width: 100%;
	}
	.reserve_nav ul {
		display: flex;
	}
	.reserve_nav ul > li {
		margin-top: 0;
		width: calc(100% / 3);
	}
	.reserve_nav ul > li > a {
		width: 100%;
		height: 50px;
	}
	.reserve_nav ul > li > a:before {
		width: 22px;
		height: 22px;
		margin-bottom: 2px;
	}
	.reserve_nav ul > li > a:after {
		width: calc(100% - 3px);
		height: calc(100% - 3px);
	}
	.reserve_nav ul > li > a:hover {
		opacity: 1;
		filter: none;
	}
	.reserve_nav ul > li > a > span {
		font-size: 12px;
	}
	.reserve_nav-hyphen {
		display: inline;
	}
}


.display_pc {
	display: block;
}
.display_sp {
	display: none;
}
@media screen and (max-width:599px){
	.display_pc {
		display: none;
	}
	.display_sp {
		display: block;
	}
}