@charset "UTF-8";
/*
Theme Name: 山本外科内科医院
*/

/**
 * Foundation
 */

body {
	background-color: #f9f9f9;
	color: #202020;
	font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
}

a:hover,
a {
	color: #009b9f;
}

a:hover {
	opacity: .6;
	text-decoration: none;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'M PLUS 1p', sans-serif;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

h2 [class*="far"],
h2 [class*="fas"] {
	color: #a0a3af;
	font-size: 80%;
}

h3 {
	font-size: 1.25em;
	margin-bottom: .75rem;
}

h4 {
	font-size: 1.125rem;
	margin-bottom: .75rem;
}

dd:last-child {
	margin-bottom: 0;
}

small,
.small {
	font-size: .875rem;
}

.card-header {
	background-color: #009b9f;
	color: #fff;
}

.embed-responsive {
	margin-bottom: 1rem;
}

.flex-basis-0 {
	flex-basis: 0%;
}

.fa-phone {
	transform: scale(-1, 1);
}

@media(min-width: 992px) {
	.embed-responsive-lg-4by3::before {
		padding-top: 75%;
	}

	.modal-open {
		overflow: auto;
	}
}

/**
 * Layout
 */

.site-header {
	background-color: #fff;
	padding: 2.5rem 0 .5rem;
	position: relative;
}

.site-logo {
	font-size: 2.5rem;
	font-family: 'M PLUS 1p', sans-serif;
	line-height: 1;
	margin: 0;
}

.site-header-subnav li a {
	color: #a0a3af;
}

.site-header-subnav .list-inline-item:not(:last-child) {
	margin-right: 1rem;
}

.tel {
	font-size: 1.625rem;
	font-weight: 500;
}

.tel .fa-phone {
	font-size: 80%;
}

.site-header .tel {
	color: #202020;
}

.site-header-spnav-button {
	background: none;
	border: 0;
	display: inline-block;
	font-size: .625rem;
	padding: 0;
	text-align: center;
}

.site-header-spnav-button .fas {
	font-size: 1.25rem;
}

.global-nav {
	background-color: #fff;
}

.global-nav a {
	color: #202020;
	display: block;
	padding: 1.5rem 2rem;
	text-align: center;
}

.global-nav a:hover {
	text-decoration: none;
}

.sub-menu,
.global-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.global-nav-list {
	width: 100%;
}

.global-nav-list > li {
	position: relative;
}

.sub-menu {
	background-color: #009b9f;
	display: none;
	left: 0;
	position: absolute;
	top: 100%;
	z-index: 100;
}

.sub-menu a {
	color: #fff;
	min-width: 200px;
	padding: 1rem;
	text-align: left;
	white-space: nowrap;
}

.page-to-top {
	background-color: #003133;
	color: #fff !important;
	display: block;
	font-size: .75rem;
	padding: 1rem 0;
	text-align: center;
	text-decoration: none !important;
}

.page-to-top .far {
	font-size: 1.5rem;
}

.site-footer {
	padding: 0 0 1.25rem;
	background-color: #006366;
	color: #fff;
}

.site-footer .container {
	padding-top: 1.25rem;
}

.site-footer a {
	color: #fff;
}

.site-footer hr {
	border-color: #fff;
}

.site-footer-subnav a {
	background-color: #003133;
	border-radius: 50px;
	color: #fff;
	display: inline-block;
	font-size: .875rem;
	padding: .75rem 1.5rem;
}

.site-footer-address {
	font-size: .875rem;
	margin: 0;
}

.site-footer-terms a {
	font-size: .75rem;
}

.copyright {
	color: #fff;
	display: block;
	font-size: .75rem;
	text-align: center;
}

.tabbar {
	bottom: 0;
	box-shadow: 0 0 .25rem rgba(0, 0, 0, .125);
	position: -webkit-sticky;
	position: sticky;
}

.tabbar-item {
	width: 100%;
}

.tabbar-item a {
	display: block;
	font-size: .625rem;
	padding: .5rem 0;
}

.tabbar-item a [class*="fa-"] {
	font-size: 1.25rem;
}

@media(min-width: 992px) {
	.menu-item-has-children > a::after {
		content: " \f078";
		color: #a0a3af;
		font-size: 80%;
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
	}

	.global-nav-list > li:focus > a::after,
	.global-nav-list > li:hover > a::after,
	.global-nav-list > li:focus > a,
	.global-nav-list > li:hover > a {
		color: #009b9f;
	}

	.global-nav-list > li:focus .sub-menu,
	.global-nav-list > li:hover .sub-menu {
		display: block;
	}

	.sub-menu::before {
		border-right: .75rem solid transparent;
		border-bottom: .75rem solid #009b9f;
		border-left: .75rem solid transparent;
		bottom: 100%;
		content: '';
		left: 1.75rem;
		position: absolute;
	}

	.modal-backdrop {
		display: none;
	}
}

@media(max-width: 991px) {
	.site-header {
		padding: .75rem 0;
	}

	.site-logo {
		font-size: 1.5rem;
	}

	.global-nav {
		bottom: 0;
		left: -100%;
		max-width: 80%;
		overflow-y: auto;
		position: fixed;
		top: 0;
		transition: left .2s ease-out;
		width: 250px;
		visibility: hidden;
		z-index: 1060;
	}

	.modal[aria-modal="true"] + .global-nav {
		left: 0;
		visibility: visible;
	}

	.global-nav a {
		font-weight: 500;
		padding: 1rem 1.25rem;
		text-align: left;
	}

	.global-nav-list > li {
		border-bottom: 1px solid #edf2f5;
	}

	.global-nav-list > li:first-child {
		border-top: 1px solid #edf2f5;
	}

	.sub-menu {
		background-color: #edf2f5;
		display: block;
		position: static;
	}

	.sub-menu a {
		color: #a0a3af;
		font-size: .875rem;
		padding: .5rem 1.25rem .5rem 2.25rem;
		white-space: normal;
	}

	.site-footer-subnav {
		padding: 0 0 1.5rem;
		margin: 0 0 1.25rem;
		position: relative;
	}

	.site-footer-subnav::after {
		background-color: #003133;
		bottom: 0;
		content: '';
		display: block;
		height: .25rem;
		left: calc((-100vw + 100%) / 2);
		position: absolute;
		width: 100vw;
	}

}

/**
 * Object
 */

.button-group {
	text-align: center;
}

.button {
	background-color: #009b9f;
	border-radius: 50px;
	border: 0;
	color: #fff !important;
	display: inline-block;
	font-size: .875rem;
	font-weight: 500;
	min-width: 310px;
	padding: 15px 50px;
	text-align: center;
	text-decoration: none !important;
}

.top-hero {
	background-color: #edf2f5;
}

.top-pickup {
	background-color: #edf2f5;
}

.pickup-item {
	border-radius: .25rem;
	color: #202020 !important;
	padding: 1.25rem;
	min-height: 180px;
}

.pickup-title {
	border-left: .25rem solid orange;
	padding: 0 0 0 .625rem;
	margin: 0 0 .5rem;
}

.pickup-copy {
	color: #61666a;
	font-size: .75rem;
	margin: 0 0 1rem;
}

.pickup-button {
	/* border: 1px solid rgba(32, 32, 32, .3); */
	background-color: orange;
	border-radius: 50px;
	color: #fff;
	display: inline-block;
	font-size: .75rem;
	padding: 10px 30px;
}

.meta > *:not(:last-child) {
	margin: 0 0 .5rem;
}

.meta {
	color: #a0a3af;
	font-size: .875rem;
	margin: 0 0 2.5rem;
	text-align: center;
}

.meta-category {
	border: 1px solid #009b9f;
	border-radius: 50px;
	color: #009b9f !important;
	display: inline-block;
	font-weight: 400;
	line-height: calc(1.5em - 2px);
	padding: 0 .75rem;
	text-decoration: none !important;
}

.meta-category + .meta-category {
	margin-left: .25rem;
}

.meta-tag {
	color: inherit !important;
}

.meta-tag:not(:last-child) {
	margin-right: .5rem;
}

.widget:not(:last-child) {
	margin-bottom: 2.5rem;
}

.heading {
	font-size: 2rem;
	margin: 2.5rem 0;
	text-align: center;
}

.content-inner {
	max-width: calc(700px + 5rem);
	margin: 2.5rem auto;
	padding: 2.5rem;
}

.content-inner > *:last-child {
	margin-bottom: 0 !important;
}

.content-inner li,
.content-inner p{
	letter-spacing: .04em;
	line-height: 1.75;
}

.content-inner ol,
.content-inner ul,
.content-inner p {
	margin-bottom: 1.5rem;
}

.content-inner li:not(:last-child) {
	margin-bottom: .5rem;
}

.content-inner p:empty {
	display: none;
}

.content-inner h2 {
	border-left: .5rem solid #009b9f;
	background-color: #f9f9f9;
	padding: .75rem 1rem;
	margin-bottom: 1.75rem;
}

.content-inner h2:not(:first-child) {
	margin-top: 3rem;
}

.content-inner h3 {
	border-bottom: 1px solid #a0a3af;
	padding: 0 0 .5rem;
	margin: 1.5rem 0 1.25rem;
}

.newslist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.newslist-more {
	color: #a0a3af !important;
	font-size: .875rem;
}

.newslist-item {
	border-top: 1px solid #a0a3af;
}

.newslist-wrap {
	padding: 0 1.25rem 1.5rem;
}

.newslist-wrap > a {
	display: block;
}

.newslist-title {
	color: #202020 !important;
	display: block;
	padding: 1.5rem 0 .75rem;
}

.newslist-detail p {
	color: #61666a;
	display: block;
	font-size: .75rem;
	margin: 0 0 .75rem;
}

.newslist-meta {
	margin: 0;
	text-align: left;
}

.newslist-meta > *:not(:last-child) {
	margin: 0 1rem 0 0;
}

.pagination .nav-links {
	margin: 1.25rem auto 0;
}

.post-page-numbers,
.page-numbers {
	color: #202020 !important;
	display: inline-block;
	font-size: .875rem;
	line-height: 1;
	margin: 0 .25rem;
	padding: .5rem;
	text-decoration: none;
}

.post-page-numbers.current,
.page-numbers.current {
	background-color: #009b9f;
	border-radius: 4px;
	color: #fff !important;
}

.category-slider {
	margin: 1.75rem 0;
}

.category-slider-item {
	margin-bottom: .5rem;
}

.category-slider-item a {
	border: 1px solid #61666a;
	border-radius: 50px;
	color: #61666a;
	display: inline-block;
	font-size: .875rem;
	line-height: 1.5rem;
	padding: 0 1rem;
}

.category-slider-item.is-current a {
	background-color: #009b9f;
	border-color: #009b9f;
	color: #fff;
}

.error-text {
	color: #a0a3af;
}

@media(max-width: 991px) {
	.pickup-item {
		mihauto
	}

	.newslist-wrap {
		padding: 0 0 1.25rem;
	}

	.newslist-title {
		padding-top: 1.25rem;
	}

}

@media(max-width: 767px) {
	.button {
		min-width: 70%;
	}

	.content-inner {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

}

/**
 * Utility
 */

.alignright {
	margin-left: 1rem;
	float: right;
}

.alignleft {
	margin-right: 1rem;
	float: left;
}

.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: table;
	clear: both;
}

.wp-block-image {
	display: inline-block;
	vertical-align: top;
}

.wp-block-table {
	max-width: 100%;
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.wp-block-table td,
.wp-block-table th {
	border: 1px solid #dee2e6;
	padding: .75rem;
	vertical-align: top;
}

.skip-to-content {
	background-color: #fff;
	font-size: 1.125rem;
	padding: 1.5rem;
	position: absolute;
	right: 100%;
	top: 0;
}

.skip-to-content:focus {
	right: auto;
	z-index: 10000;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

@media(min-width: 992px) {
	.top-directors {
		position: absolute;
		right: 0;
		top: 0;
		width: 100%;
		z-index: 5;
	}
}

.top-directors .card {
	background-color: rgba(255, 255, 255, .8);
	box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.top-directors .card-title {
	border-left: .25rem solid #009b9f;
    padding: 0 0 0 .625rem;
    margin: 0 0 .5rem;
}

.top-directors time {
	min-width: 5em;
}

@media(max-width: 575px) {
	.embed-responsive {
		margin-right: -20px;
		margin-left: -20px;
		width: 100vw;
	}
}

@media(max-width:575px){
	.single-post figure{
width:100%;
	}
		.single-post figure img{
width:100%;
			object-fit:cover;
	}
}
