@charset "utf-8";
/*
Theme Name: asahiyama-pdc
Theme URI:
Author:
Author URI:
Description: 旭山小児歯科さま
Version: 1.0.1
*/

* {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	box-shadow: none;
	outline: none;
}

html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td, input, textarea, iframe {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	font-size: 100%;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	line-height: 1;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}

ol, ul {
	list-style: none;
	list-style-type: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	text-decoration: none;
}

input, textarea, select, button {
	font-size: inherit;
	font-family: inherit;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-*/

html {
	overflow-x: hidden;
	font-family: "m-plus-rounded-2p", sans-serif;
	font-size: 62.5%;
}

body {
	overflow-x: hidden;
	color: #000;
	font-size: 1.6em;
	font-weight: 500;
	line-height: 1.5;
}

main {
	min-height: 1000px;
}

.inner {
	max-width: 1140px;
	margin: auto;
	padding: 0 20px;
}

h2 {
	font-size: 2.2rem;
	font-weight: 500;
}

h3 {
	font-size: 1.8rem;
	font-weight: 500;
}

h4 {
	font-size: 1.6rem;
	font-weight: 500;
}

a {
	display: block;
	color: #000;
	transition: 0.5s;
}

a:hover {
	opacity: 0.7;
}

input[type="text"] {
	height: 38px;
	padding: 0 0.8rem;
	border: 1px solid #b8b8b8;
	border-radius: 5px;
	/* -webkit-appearance: none; */
}

input[type="submit"] {
	height: 38px;
	padding: 0 1rem;
	border-radius: 5px;
	background: #017E67;
	color: #fff;
	text-align: center;
	cursor: pointer;
	transition: 0.5s;
	/* -webkit-appearance: button; */
}

input[type="submit"]:hover {
	opacity: 0.7;
}

:target::before {
	display: block;
	height: 152px;
	margin-top: -152px;
	content: '';
}

@media screen and (max-width: 767px) {
	:target::before {
		height: 64px;
		margin-top: -64px;
	}

	h2 {
		font-size: 2rem;
		padding: 0 1rem
	}

	h3 {
		font-size: 1.8rem;
	}

	h4 {
		font-size: 1.6rem;
	}

	a:hover,
	input[type="submit"]:hover {
		opacity: 1;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ナビゲーション
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

#overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 12;
	background: rgba(0, 0, 0, 0.6);
}

#open {
	display: none;
}

#close-bar {
	display: none;
}

.toggle {
	width: 56px;
	height: 56px;
	margin: 0.4rem 1rem;
	padding: 1.4rem 1.6rem 0;
	border-radius: 50%;
	background: #017E67;
	color: #fff;
	font-weight: bold;
	font-size: 0.9rem;
	cursor: pointer;
	transition: 0.5s;
}

/* .toggle:hover {
	opacity: 0.7;
} */

.toggle>div {
	position: relative;
}

.toggle span {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	transition: 0.35s ease-in-out;
}

.toggle span:nth-child(1) {
	top: 0;
}

.toggle span:nth-child(2) {
	top: 7px;
}

.toggle span:nth-child(3) {
	top: 14px;
}

.toggle span:nth-child(4) {
	top: 20px;
	left: -3px;
	height: 0;
}

nav.open .toggle span:nth-child(1) {
	top: 7px;
	transform: rotate(225deg);
}

nav.open .toggle span:nth-child(2) {
	left: 50%;
	width: 0;
}

nav.open .toggle span:nth-child(3) {
	top: 7px;
	transform: rotate(-225deg);
}

nav ul {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 3rem 0;
}

nav a {
	display: block;
	width: 100%;
	color: #000;
	text-decoration: none;
}

nav a::after {
	display: block;
	width: 0;
	height: 1px;
	background: #017E67;
	content: "";
	transition: width 0.5s ease;
}

nav a:hover {
	opacity: 1;
	color: #017E67;
}

nav a:hover::after {
	width: 80%;
}

nav a.current::after {
	display: block;
	width: 80%;
	height: 2px;
	background: #017E67;
	content: "";
}

@media screen and (min-width: 768px) {
	nav {
		position: relative;
		padding: 3rem 0;
	}
	header nav ul {
		max-width: 1140px;
		margin: auto;
		padding: 0;
	}
	header nav ul li {
		margin: 0 1.2rem;
	}
	nav a {
		display: inline-block;
		position: relative;
		padding: 0 1.9rem;
		text-align: center;
		line-height: 2;
		font-size: 1.5rem;
	}
	nav a::after {
		position: absolute;
		bottom: 0;
		left: 50%;
		transition: 0.3s;
		transform: translateX(-50%);
	}
	nav a.current::after {
		position: absolute;
		bottom: 0;
		left: 50%;
	}
}

@media screen and (max-width: 767.9px) {
	#open {
		display: block;
		position: absolute;
		top: 4px;
		right: 10px;
		margin: auto;
	}
	#close-bar {
		display: block;
	}
	nav {
		position: absolute;
		overflow-y: scroll;
		z-index: 12;
		top: 0;
		right: 0;
		width: 250px;
		background: #fff;
		transform: translateX(100%);
	}
	nav.open {
		transform: translateX(0);
		transition: 0.3s;
	}
	nav ul {
		display: block;
		margin-bottom: 10rem;
	}
	nav ul li {
		margin-left: 0;
		border-bottom: 1px solid #dbdbdb;
		background: #fff;
	}
	nav ul li:first-child {
		border-top: 1px solid #dbdbdb;
	}
	nav a {
		position: relative;
		padding: 0 1rem;
		font-weight: normal;
		line-height: 3;
		text-indent: 1rem;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ヘッダー
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

header {
	position: relative;
	z-index: 13;
	border-top: 4px solid #5BDD82;
}

header .header p {
	margin-top: 1.7rem;
	font-size: 1.4rem;
}

header .logo a {
	font-size: 4.2rem;
	color: #5BDD82;
}

header .booking-btn {
	position: fixed;
	top: 388px;
	right: 36px;
}

header .web-monshin-btn {
	position: fixed;
	top: 560px;
	right: 36px;
}

header .header-bar-outer {
	width: 100%;
	height: 214px;
}

header .header-bar-inner {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 10px 7px -7px rgba(0, 0, 0, 0.1);
	background: rgba(255, 255, 255, 0.9);
	transition: 0.5s;
	transform: translate3d(0, 0, 0);
}

header .header-bar-inner .inner {
	position: relative;
}

header .header-bar-inner.change {
	position: fixed;
}

header .header-bar-inner .main-header {
	display: flex;
	height: 124px;
	justify-content: space-between;
	align-items: center;
	transition: 0.5s;
	transform: translate3d(0, 0, 0);
}

header .header-bar-inner .main-header .telephone {
	flex: none;
	margin-left: 5rem;
}

header .header-bar-inner .main-header p {
	margin-top: 1rem;
	font-size: 1.3rem;
	line-height: 1.5;
}

header .header-bar-inner.change .main-header p {
	display: none;
}

@media screen and (min-width: 768px) {
	header .header-bar-inner .main-header {
		padding: 0;
	}
	header .header-bar-inner.change .main-header {
		height: 80px;
	}
}

@media screen and (max-width: 867.9px) {
	header .header-bar-inner .booking-btn {
		width: 100px;
	}
}

@media screen and (max-width: 767.9px) {
	header .header p {
		display: none;
	}

	header .header-bar-outer {
		height: 64px;
	}

	header .header-bar-inner .main-header {
		height: 64px;
	}

	header .header-bar-inner .main-header .logo {
		width: 76%;
	}

	header .header-bar-inner .main-header .logo a {
		font-size: 3.2rem;
	}

	header .header-bar-inner .main-header .telephone {
		display: none;
	}

	header .booking-btn,
	header .web-monshin-btn {
		display: none;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
フッター
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

footer {
	/* box-shadow: 0 -10px 7px -7px rgba(0, 0, 0, 0.1); */
	background: #fff;
	border-bottom: 4px solid #5BDD82;
}

footer .footer-bar-outer {
	width: 100%;
	height: 20px;
}

footer .footer-bar-inner {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 11;
	width: 100%;
	height: 20px;
	padding: 0.5rem;
	text-align: center;
	justify-content: center;
	transition: 0.5s;
	transform: translate3d(0, 0, 0);
}

/* footer .footer-bar-inner.change {
	position: static;
} */

footer .main-footer .logo{
	font-size: 4.2rem;
	color: #5BDD82;
}

footer .footer-container>ul {
	margin-top: 2rem;
	font-size: 1.5rem;
	line-height: 1.7;
	/* min-width: 440px; */
}

footer .footer nav {
	padding: 3.6rem 0 0;
	/* margin-top: .4rem; */
}

footer .footer nav li {
	margin: 0 0 0.5rem 2rem;
}

footer .footer nav a {
	padding: 0 1rem;
	font-size: 1.4rem;
}

footer .footer nav li:last-of-type a {
	padding-right: 0;
}

footer .footer nav a::after {
	height: 0;
}

footer .footer nav a.current::after {
	height: 1px;
}

footer .footer nav ul li.medical .sub {
	top: 60px;
	padding: 0;
	background: none;
}

footer .footer nav ul li.medical:hover .sub {
	top: 60px;
}

footer small {
	display: block;
	padding: 2rem 0;
	font-size: 1.4rem;
	text-align: center;
	border-top: 1px solid #BDBDBD;
}

#page-top {
	display: none;
}

#page-top a {
	position: absolute;
	right: 5%;
	bottom: 40px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #F6F676;
	color: #000;
	font-weight: bold;
	font-size: 1.6rem;
	line-height: 60px;
	cursor: pointer;
}

#page-top a::before {
	display: block;
	width: 18px;
	height: 18px;
	margin: 3rem auto -2rem;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	content: "";
	transform: rotate(-45deg);
}

#page-top a::after {
	content: "TOPへ";
}

#page-top a:hover {
	opacity: 0.8;
}

footer section.main-tel {
	display: none;
}

@media screen and (min-width: 768px) {
	footer .footer .main-footer {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		flex-flow: row-reverse;
		padding-top: 4rem;
	}

	footer .footer-container {
		display: flex;
		justify-content: space-between;
		margin-bottom: 6rem;
	}

	footer .footer-container>ul li:first-of-type {
		margin-right: 3rem;
	}

	footer .footer .main-footer a.telephone {
		flex: none;
		margin-left: 5rem;
	}

	footer .footer nav ul {
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: 1rem 0;
	}
}

@media screen and (max-width: 1047.9px) {
	footer .footer-container>ul {
		display: block;
		min-width: 272px;
	}
}

@media screen and (max-width: 767.9px) {
	footer {
		border-bottom: none;
		margin-bottom: 9rem;
	}

	footer .footer {
		position: relative;
		text-align: center;
		padding-bottom: 5rem
	}

	footer .footer .main-footer .telephone {
		display: none;
	}

	footer .footer .main-footer a {
		display: table;
		margin: auto;
	}

	footer .footer .main-footer a.logo {
		font-size: 3.2rem;
	}

	footer .footer nav {
		display: none;
	}

	#page-top a:hover {
		opacity: 1;
	}

	footer section.main-tel {
		position: fixed;
		bottom: 0;
		left: 0;
		display: block;
		width: 100%;
		background-color: rgba(255, 255, 255, 0.9);
		border-bottom: 4px solid #4B9FC4;
		box-shadow: 0 -10px 7px -7px rgb(0 0 0 / 10%)
	}

	footer section.main-tel .main-tel-inner {
		display: block;
		max-width: 360px;
		margin: 1rem auto;
	}

	footer section.main-tel a {
		display: inline;
	}

	footer section.main-tel a:nth-of-type(1) img {
		width: 70%;
	}

	footer section.main-tel a:nth-of-type(2) img {
		width: 28%;
	}

	#page-top a {
		bottom: 120px;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ボトム
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

article section.navigation {
	margin: 12rem auto 20rem;
}

article section.navigation h2 {
	font-size: 1.8rem;
}

article section.navigation .title {
	display: block;
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 1.8rem 2rem 1.8rem 0;
	background: rgba(255, 255, 255, 0.6);
	font-size: 1.6rem;
	text-align: right;
}

article section.navigation .title::after {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 1.5rem;
	background: url("image/common/icon/arrow.svg") center center no-repeat;
	background-size: 18px 18px;
	vertical-align: -2px;
	content: "";
}

article section.navigation .name {
	position: absolute;
	top: 50px;
	left: 50px;
	margin: -5rem;
	padding: 3rem;
	background: radial-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 60%);
	font-size: 1.8rem;
	line-height: 1.5;
}

article section.navigation .staff {
	position: relative;
	max-width: 780px;
	margin: 5rem auto;
}

article section.navigation .staff .image {
	position: relative;
	height: 200px;
	margin: 1rem 0;
	background: url("image/home/staff.png") right center no-repeat;
	background-size: cover;
}

article section.navigation .medical {
	position: relative;
	max-width: 780px;
	margin: 7rem auto;
}

article section.navigation .medical .image {
	position: relative;
	height: 200px;
	margin: 1rem 0;
	background: url("image/home/medical.png") center center no-repeat;
	background-size: cover;
}

.description {
	position: absolute;
	bottom: 7%;
	left: 3%;
}

article section.guide {
	margin: 12rem auto;
	padding: 7rem 0 6rem;
	background: #FDFFED;
}

article section.guide .access h2::before {
	display: inline-block;
	width: 58px;
	height: 63px;
	margin-right: 1.5rem;
	background: url("image/common/icon/access.svg") center center no-repeat;
	background-size: 58px 63px;
	vertical-align: -12px;
	content: "";
}

article section.guide .access iframe {
	width: 100%;
	min-height: 340px;
	max-height: 450px;
	margin-top: 1rem;
}

article section.guide .access a {
	display: table;
	margin: 0.6rem 0 0 auto;
	font-size: 1.4rem;
}

article section.guide .access a::before {
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 1rem;
	background: url("image/common/icon/zoom.svg") center center no-repeat;
	background-size: 22px 22px;
	vertical-align: -7px;
	content: "";
}

article section.guide .hour h2::before {
	display: inline-block;
	width: 54px;
	height: 55px;
	margin-right: 1.5rem;
	background: url("image/common/icon/hour.svg") center center no-repeat;
	background-size: 54px 55px;
	vertical-align: -11px;
	content: "";
}

article section.guide .hour>div {
	width: 100%;
	max-width: 504px;
}

article section.guide .hour table {
	width: 100%;
	margin: 1.6rem 0;
	padding: 1.5rem 7%;
	border-radius: 10px;
	background: #fff;
	text-align: right;
	border-collapse: separate;
}

article section.guide .hour table thead {
	color: #017E67;
}

article section.guide .hour table tbody {
	color: #000;
}

article section.guide .hour table thead, article section.guide .hour table tbody {
	line-height: 3;
}

article section.guide .hour table th {
	border-bottom: 1px solid #C8C8C8;
	font-weight: 500;
}

article section.guide .hour table th:first-of-type {
	text-align: left;
}

article section.guide .hour table th:nth-of-type(n+2) {
	width: 8%;
}

article section.guide .hour table tbody td {
	border-bottom: 1px solid #C8C8C8;
	vertical-align: middle;
}

article section.guide .hour table tbody td:first-of-type {
	line-height: 1.2;
}

article section.guide .hour table tbody td:first-of-type span {
	display: block;
	text-align: left;
	/* margin-right: 2.5rem; */
}

article section.guide .hour table tfoot td {
	padding-top: 1.8rem;
	text-align: left;
}

article section.guide .hour table tfoot .closed-day {
	display: flex;
	justify-content: space-between;
}

article section.guide .hour table tfoot .closed-day dt {
	display: inline-block;
	width: 60px;
	margin-right: 1rem;
}

article section.guide .hour tfoot dl {
	font-size: 1.5rem;
	width:45%;
}

article section.guide .contact dl,
article section.guide .contact ul li {
	font-size: 1.4rem!important;
}

article section.guide .contact dl {
	display: table;
}

article section.guide .contact dl dt,
article section.guide .contact dl dd {
	display: table-cell;
	vertical-align: top;
}

article section.guide .contact p.telephone {
	position: relative;
	margin: 1.6rem 0;
	font-weight: bold;
	font-size: 2.2rem;
}

article section.guide .contact p.telephone a {
	display: inline-block;
	font-family: "century-gothic", sans-serif;
	font-weight: 700;
	font-size: 2.8rem;
}

article section.guide .contact p.telephone::before {
	display: inline-block;
	width: 36px;
	height: 36px;
	margin-right: 1rem;
	background: url("image/common/icon/tel_icon.svg") center center no-repeat;
	background-size: 36px 36px;
	vertical-align: -8px;
	content: "";
}

article section.guide .contact ul li {
	line-height: 1.7;
}

article section.guide .contact dl dt.subject {
	display: inline-block;
	width: 60px;
	margin-right: 1.6rem;
}

@media screen and (min-width: 896px) {
	article section.guide .inner {
		display: flex;
	}
	article section.guide .access {
		margin-right: 6%;
		flex: 1;
	}
	article section.guide .hour>div {
		width: 504px;
	}
}

@media screen and (min-width: 480px) {
	article section.guide .hour table tbody br {
		display: none;
	}
}

@media screen and (max-width: 895.9px) {
	article section.guide .hour>div {
		display: table;
		margin: auto;
	}
	article section.guide .access {
		margin-bottom: 3rem;
	}
}

@media screen and (max-width: 767.9px) {
	.description {
		position: inherit;
		left: 0;
		padding-top: 8px;
	}

	article section.guide .access h2::before {
		background-size: 75%;
		margin-right: 0;
		vertical-align: -15px;
	}

	article section.guide .hour h2::before {
		background-size: 80%;
		margin-right: 0.8rem;
		vertical-align: -17px;
	}
}

@media screen and (max-width: 559.9px) {
	article section.guide .hour table tfoot .closed-day  {
		display: block;
	}

	article section.guide .hour tfoot dl {
		width:100%;
	}

	article section.guide .hour tfoot dl:last-of-type {
		margin-top: 2rem;
	}
}

@media screen and (max-width: 479.9px) {
	article section.guide .hour table {
		font-size: 1.4rem;
	}

	article section.guide {
		padding-top: 3rem;
	}

	article section.guide .hour table tfoot ul span {
		display: block;
	}

	article section.guide .hour table tbody td:first-of-type span {
		margin-right: 3rem;
	}

	article section.guide .contact dl:first-of-type dt {
		width: 100px;
	}

	.navigation h2 {
		padding-left: 0;
	}

	article section.navigation .name {
		padding: 2rem;
	}

	.description {
		padding: 0;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
メイン
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

article section ul {
	font-size: 1.5rem;
	text-align: left;
}

article section ol {
	font-size: 1.5rem;
}

article section li.empty {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

article section dl {
	font-size: 1.6rem;
	text-align: left;
}

article section p {
	font-size: 1.6rem;
}

article section.main-description {
	padding: 4rem 0 8rem;
	text-align: center;
}

article section.main-description .top-h2 {
	font-size: 2.4rem;
	line-height: 1.6;
	margin: 2rem 0;
}

article section.main-description .top-h2 br {
	display: none;
}

section.calendar iframe {
	display: block;
	width: 100%;
	margin: 1.5rem auto;
}

section.calendar .inner {
	max-width: 820px;
}

section.calendar h2 {
	margin-bottom: 3rem;
}

@media screen and (max-width: 767.9px) {
	article section.main-description .break {
		display: block;
	}

	article section.main-description {
		padding: 3rem 0 6rem;
	}

	article section.main-description p {
		font-size: 1.8rem;
	}
}

@media screen and (max-width: 479.9px) {
	article section p {
		font-size: 1.4rem;
	}

	article section.main-description .top-h2 {
		font-size: 1.8rem;
	}

	article section.main-description .top-h2 br {
		display: block;
	}

	article section.main-description p {
		font-size: 1.4rem;
	}

	section.calendar iframe {
		max-height: 398px;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ホーム
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

article.home section.main-image {
	height: auto;
	margin-top: -89px;
}

article.home section.information .inner {
    max-width: 690px;
    margin: auto;
}

article.home section.information h2::before {
    display: inline-block;
    width: 55px;
    height: 49px;
    margin-right: 1.5rem;
    background: url("image/common/icon/news.svg") center center no-repeat;
    background-size: 55px 49px;
    vertical-align: -18px;
    content: "";
}

article.home section.information dl {
    margin: 1rem 0 12rem;
}

article.home section.information dl dt {
    padding-top: 2rem;
}

article.home section.information dl dd {
    padding-bottom: 1rem;
    border-bottom: 1px solid #bfbfbf;
}

article.home section.introduction .intro-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

article.home section.introduction h3 {
	font-size: 2.4rem;
	color: #017E67;
	margin-top: 2.4rem;
	text-align: center;
}

article.home section.introduction .intro-items {
	width: 30%;
}

@media screen and (min-width: 480px) {
article.home section.information dl dt {
    float: left;
	}

	article.home section.information dl dd {
    padding: 2rem 0 2rem 14rem;
	}
}

@media screen and (max-width: 767.9px) {
	article.home section.introduction .intro-bottom {
		display: block;
	}

	article.home section.introduction .intro-items {
		width: 70%;
		margin: 0 auto 8rem;
	}

	article.home section.introduction .intro-items img {
		width: 100%;
	}
}

@media screen and (max-width: 479.9px) {
	article.home section.information h2 br {
		display: block;
	} 

	article.home section.introduction h3 {
		font-size: 1.8rem;
	}

	article.home section.introduction .intro-items {
		width: 95%;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
診療方針
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

.page-top .aligncenter {
	margin-top: -60px;
}

.concept-top {
	background: url("image/common/page-top/concept_bg.png") center no-repeat;
}

.concept-wrapper {
	width: 90%;
	margin: 0 auto;
}

#concept h3 {
	margin: 4rem auto;
}

.concept-top-text {
	line-height: 1.6;
	margin-bottom: 8rem;
}

.concept-container {
	max-width: 1042px;
	width: 95%;
	margin: 0 auto 4rem;
	padding: 5rem 3.2rem 5rem 8rem;
	box-sizing: border-box;
	border-radius: 20px;
}

.concept-container ol {
	list-style-type: decimal;
	max-width: 617px;
	margin: 0 auto;
}

.concept-container ol ::marker {
	color:#017E67;
}

.concept-container li:last-of-type {
	margin-top: 4rem;
}

.concept-container .text-small {
	display: block;
	font-size: 1.8rem!important;
	margin: 1.2rem 0 0;
	line-height: 1.4;
}

@media screen and (max-width: 767.9px) {
	.concept-image {
		width: 90%;
		margin: 3rem auto 12rem;
	}
}

@media screen and (max-width: 479.9px) {
	.page-top {
		margin-top: 6rem;
	}

	#concept h3 {
		font-size: 3.2rem!important;
		margin-top: 6rem;
	}

	.concept-top-text {
		font-size: 1.8rem!important;
	}

	#concept .break {
		display: block;
	}	

	.concept-container {
		padding: 5rem 2.4rem 5rem 5rem;
	}

	.concept-container li {
		font-size: 2.4rem!important;
	}

	.concept-container .text-small br {
		display: none;
	}

	.concept-text-large {
		font-size: 2rem!important;
	}

	.concept-container .concept-text-large br {
		display: block;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
診療内容
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.medical-top {
	background: url("image/common/page-top/medical_bg.png") center no-repeat;
}

.page-top-text {
	line-height: 1.6;
	margin: 4rem auto 20rem;
	width: 92%;
}

.medical-wrapper {
	max-width: 1100px;
	width: 92%;
	margin: 0 auto 14rem;
}

.medical-wrapper .medical-column-left {
	position: relative;
}

.medical-title-wrapper {
	position: absolute;
	top: -90px;
	left: 0;
	width: 100%;
	height: auto;
}

.medical-wrapper h3 {
	width: 176px;
	height: 176px;
	border-radius: 50%;
	padding: 7rem 0;
	margin: 0 auto;
}

.medical-wrapper.medical-third h3 {
	padding: 4.6rem 0;
}

.medical-wrapper h4 {
	margin-bottom: 1rem;
}

.medical-wrapper p {
	margin-bottom: 4rem;
}

.medical-wrapper.medical-second,
.medical-wrapper.medical-third {
	position: relative;
}

.medical-wrapper.medical-second::after {
	position: absolute;
	bottom: -45px;
	right: 0;
	display: block;
	width: 117px;
	height: 155px;
	background: url("image/common/picture_02.png") center center no-repeat;
	background-size: 117px 155px;
	content: "";
}

.medical-wrapper.medical-third::after {
	position: absolute;
	bottom: -90px;
	left: 0;
	display: block;
	width: 370px;
	height: 342px;
	background: url("image/common/picture_03.png") center center no-repeat;
	background-size: 370px 342px;
	content: "";
}

.medical-wrapper img {
	width: 100%;
}

.medical-wrapper figure {
	margin-bottom: 1.6rem;
}

.medical-wrapper .wp-block-columns {
	margin-bottom: 8rem;
}

#medical .medical {
	display: none;
}

@media screen and (max-width: 767.9px) {
	.medical-wrapper {
		margin: 0 auto;
	}

	.medical-wrapper .wp-block-columns {
		margin-bottom: 18rem;
	}

	.medical-wrapper p br {
		display: none;
	}

	.medical-wrapper.medical-second::after {
		bottom: -145px;
	}

	.medical-wrapper.medical-third {
		margin-bottom: 30rem;
	}

	.medical-wrapper.medical-third::after {
		bottom: -280px;
		left: -8%;
		background-size: 70%;
	}

	.medical-third-column {
		gap: 0;
	}
}

@media screen and (max-width: 479.9px) {
	.medical-top {
		background: url("image/common/page-top/medical_bg.png") left -400px center no-repeat;
	}

	.page-top-text {
		font-size: 2rem!important;
	}

	.medical-title-wrapper {
		top: -78px;
	}

	.medical-wrapper h3 {
		font-size: 2.4rem!important;
		width: 150px;
		height: 150px;
		padding: 5.8rem 0;
	}

	.medical-wrapper h4 {
		font-size: 2rem!important;
	}

	.medical-wrapper p {
		font-size: 1.8rem!important;
	}

	.medical-wrapper.medical-second::after {
		bottom: -96px;
		background-size: 70%;
	}
	
	.medical-wrapper.medical-third h3 {
		padding: 3.8rem 0;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
当院の紹介
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

.about-top {
	background: url("image/common/page-top/about_bg.png") center no-repeat;
}

.about-wrapper {
	display: flex;
	flex-wrap: wrap;
	max-width: 1100px;
	width: 94%;
	margin: 5rem auto 0;
}

.about-item {
	flex-basis: 30%;
	margin: 0 1.8rem 6rem;
}

.about-item img {
	width: 100%;
}

.about-wrapper h3 {
	font-size: 2rem;
	color: #5BDD82;
	margin: 1rem 0;
}

@media screen and (max-width: 1163.9px) {
	.about-item {
		margin: 2rem 1.4rem;
	}
}

@media screen and (max-width: 910.9px) {
	.about-item {
		flex-basis: 46%;
	}
}

@media screen and (max-width: 795.9px) {
	#about .break {
		display: block;
	}
}

@media screen and (max-width: 765.9px) {
	.about-item {
		flex-basis: 45%;
	}
}

@media screen and (max-width: 615.9px) {
	.about-item {
		flex-basis: 100%;
	}
}

@media screen and (max-width: 479.9px) {
	#about .page-top-text {
		margin: 4rem auto 8rem;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
院長・スタッフ紹介
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

.staff-top {
	background: url("image/common/page-top/staff_bg.png") center no-repeat;
}

#staff .page-top-text {
	margin: 4rem auto 12rem;
}

.staff-wrapper,
.staff-pediatric {
	max-width: 1100px;
	width: 94%;
	margin: 8rem auto;
}

.staff-wrapper .staff-text br {
	display: none;
}

.staff-wrapper .wp-block-image {
	margin-bottom: .5rem;
}

.staff-wrapper p {
	line-height: 1.8;
}

.staff-first-column {
	position: relative;
}

.staff-first-column::after {
	position: absolute;
	bottom: -90px;
	right: -210px;
	display: block;
	width: 212px;
	height: 290px;
	background: url("image/common/picture_04.png") center center no-repeat;
	background-size: 212px 290px;
	content: "";
}

.staff-first-column p {
	line-height: 1.7;
	margin-top: 3rem;
}

.staff-wrapper h4 {
	font-size: 18px;
	margin-bottom: 3rem;
}

.staff-wrapper .staff-text {
	margin: 2rem 0 0;
}

.staff-wrapper .staff-name {
	font-size: 2rem;
	margin-top: 0;
}

.staff-wrapper .break {
	padding-right: 2rem;
	font-size: 2.8rem;
}

.staff-wrapper table td {
	border: none;
	padding: 4px 0;
	min-width: 100px;
}

.staff-first-column {
	margin-bottom: 5rem;
}

.staff-pediatric {
	border-radius: 20px;
	padding: 5rem 6rem;
}

.pediatric-logo-text {
	margin: 8rem 0 1rem;
}

.staff-pediatric .wp-block-columns {
	margin-bottom: 3rem;
}

#staff .staff {
	display: none;
}

#staff .navigation {
	position: relative;
	margin-bottom: 35rem;
}

#staff .navigation::after {
	position: absolute;
	bottom: -252px;
	left: 8%;
	display: block;
	width: 308px;
	height: 240px;
	background: url("image/common/picture_05.png") center center no-repeat;
	background-size: 308px 240px;
	content: "";
}

@media screen and (max-width: 1515.9px) {
	.staff-first-column::after {
		bottom: -138px;
		right: -20px;
		background-size: 70%;
	}
}

@media screen and (max-width: 1068.9px) {
	.staff-wrapper .break {
		display: block;
	}

	.staff-wrapper .staff-name {
		line-height: 1.4;
	}
}

@media screen and (max-width: 867.9px) {
	.staff-top {
		background: url("image/common/page-top/staff_bg.png") left -400px center no-repeat;
	}
}

@media screen and (max-width: 767.9px) {
	.staff-wrapper .wp-block-column {
		margin-bottom: 2.5rem;
	}

	.staff-wrapper .staff-history {
		display: block;
	}

	.staff-wrapper .staff-history .wp-block-column:nth-child(2) {
		margin-left: 0;
	}

	.staff-wrapper .wp-block-image {
		text-align: center;
	}

	.staff-text, .staff-name {
		text-align: center;
	}

	.staff-first-column::after {
		bottom: -214px;
	}

	.pediatric-logo-text {
		margin: 0 0 1rem;
	}

	.pediatric-last-text {
		margin-top: 6rem;
	}
}

@media screen and (max-width: 479.9px) {
	.staff-wrapper h3 {
		font-size: 2rem!important;
	}

	.staff-wrapper p,
	.staff-wrapper figure {
		font-size: 1.6rem!important;
	}

	.staff-first-column::after {
		right: -40px;
		background-size: 55%;
	}

	.staff-pediatric {
		padding: 4rem 2rem;
	}

	.staff-pediatric p {
		font-size: 1.6rem!important;
	}

	.pediatric-logo-text {
		font-size: 1.8rem!important;
	}

	#staff .navigation::after {
		left: 0;
		background-size: 70%;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
ブログ
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

article.blog .inner {
	padding: 5rem 20px;
}

article.blog #content a {
	color: #000;
}

article.blog .searchform {
	margin-top: 2rem;
}

article.blog label.screen-reader-text {
	display: none;
}

article.blog input[type="text"] {
	width: 200px;
	margin-right: 0.3rem;
}

article.blog #main h2 {
	margin-bottom: 2rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #c9c9c9;
}

article.blog #main section.post {
	padding: 1rem 0 2rem;
	border-top: 1px solid #c9c9c9;
}

article.blog #main section.post:first-of-type {
	padding-top: 0;
	border: none;
}

article.blog #main section.post h1 {
	font-size: 2.2rem;
	line-height: 1.5;
}

article.blog #main section.post time {
	font-size: 1.5rem;
}

article.blog #main section.post .category {
	display: block;
	margin-bottom: 1.5rem;
	color: #017E67;
	font-size: 1.5rem;
}

article.blog #main section.post .category a {
	color: #017E67;
}

article.blog #main section.post a.readmore {
	display: table;
	margin: 1.5rem 0 0 auto;
	color: #017E67;
	font-size: 1.5rem;
}

article.blog #main section.post p {
	margin-bottom: 1rem;
}

article.blog #main section.post img {
	display: block;
	margin: 2rem auto;
}

article.blog #main section.pagination {
	margin: 5rem 0;
	text-align: center;
}

article.blog #main section.pagination a {
	display: inline-block;
	margin: 0 1rem;
	padding: 0.5rem 4rem;
	border-radius: 5px;
	background: #017E67;
	color: #fff;
	text-align: center;
}

article.blog #side section {
	margin-top: 5rem;
}

article.blog #side section h2 {
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #c9c9c9;
	font-size: 1.8rem;
}

article.blog #side section ul li {
	padding: 0.5rem 0;
	line-height: 1.5;
}

article.blog #side section.widget_recent_entries ul li {
	border-top: 1px solid #c9c9c9;
}

article.blog #side section.widget_recent_entries ul li:first-of-type {
	border: none;
}

article.blog #side section span.post-date {
	display: block;
	font-size: 1.4rem;
}

article.blog #side section.archive ul.year {
	color: #017E67;
}

article.blog #side section.archive ul.year span {
	cursor: pointer;
	transition: 0.5s;
}

article.blog #side section.archive ul.year span:hover {
	opacity: 0.7;
}

article.blog #side section.archive ul.year li:nth-of-type(n+2) ul.month {
	display: none;
}

article.blog #side section.archive ul.month {
	margin-left: 1rem;
}

@media screen and (min-width: 767.9px) {
	article.blog #content {
		display: flex;
		justify-content: space-between;
	}
	article.blog #main {
		margin-right: 7%;
		flex: 1;
	}
	article.blog #side {
		width: 270px;
		flex: none;
	}
	article.blog #side section:first-of-type {
		margin: 0;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
404 Not Found
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

article section.notfound .inner {
	padding: 5rem 20px;
	text-align: center;
}

article section.notfound a {
	display: inline-block;
	margin-top: 3rem;
}
