/*
Theme Name: お日さまクリニック
Author: 
Author URI: 
Version: 1.0
*/

/* =Reset
-------------------------------------------------------------- */
@charset "utf-8";

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
}


html {
	font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
	line-height: 1.8;
    font-size: 1.8rem;
	font-family: -apple-system-body, BlinkMacSystemFont, "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "メイリオ", sans-serif;
	font-weight: 400;
	color: #513821;
}
_:lang(x)::-ms-backdrop, .selector {
	font-family: "Segoe UI", Meiryo, sans-serif;
}
_:-ms-lang(x)::-ms-backdrop, body {
    overflow-x: hidden;
}

h1,h2,h3,h4,h5{
    position: relative;
}
h1{
	font-size: 3.0rem;
	margin:0;
}
h2{
	font-size: 5.0rem;
	margin-bottom: 50px;
}
h2:has(span){
	line-height: 1.4;
	font-weight: 500;
}
h2 span{
	display: block;
	font-size: 2.2rem;
	color: #F0AD1A;
	font-weight: 700;
	text-transform:capitalize;
}
h3{
	font-size: 4.0rem;
	margin-bottom: 40px;
}
h3:has(span){
	display: inline-block;
}
h3:has(span)::after{
	content: "";
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
	left: calc(100% + 30px);
	width: 100px;
	height: 2px;
	background-color: #513821;
}
h4{
	font-size: 3.0rem;
	margin-bottom: 30px;
	color: #F0AD1A;
}
h5{
	font-size: 2.0rem;
	margin-bottom: 10px;
}
h6{
	font-size: 2.4rem;
	background-color: #FFF1BF;
	border-radius: 10px;
	padding: 5px 20px;
	margin-bottom: 30px;
}


a{
	color: #513821;
	text-decoration: none;
	transition: opacity 0.5s,background-color 0.5s,color 0.5s;
}
a:visited{}
a:hover{
	opacity:0.7;
    transition: opacity 0.5s,background-color 1s,color 1s;
	filter:alpha(opacity=70); /* For IE8 and earlier */
	-ms-filter: "alpha(opacity=70)"; /* ie 8 */
	-moz-opacity:0.7; /* FF lt 1.5, Netscape */
	-khtml-opacity: 0.7; /* Safari 1.x */
	zoom:1;
}
a:hover img{
	opacity: 0.7;
	transition: opacity 0.5s;
	filter: alpha(opacity=70); /* For IE8 and earlier */
	-ms-filter: "alpha(opacity=70)"; /* ie 8 */
	-moz-opacity: 0.7; /* FF lt 1.5, Netscape */
	-khtml-opacity: 0.7; /* Safari 1.x */
	zoom: 1;
}


ol,
ul {
	list-style: none;
}

table {
	width: 100%;
	border-collapse: collapse;
	background-color: #FFFFFF;
}
th {
    font-weight: 500;
	background-color: rgba(56,73,91,0.03);
}
th, td {
	border: 1px solid #eee;
	padding: 10px 20px;
}

p{
}


img{
	max-width:100%;
	vertical-align: bottom;
}
iframe{
    vertical-align:bottom;
}

/* Header -------------------------*/
header{
	position:relative;
}
header#navi{
	width: 100%;
	z-index: 9999;
	background-color: rgba(255,255,255,1);
}
header #logo{
	display: flex;
	align-items: center;
}
header #logo p+p{
	font-size: 4.0rem;
	font-weight: 700;
	margin-left: 25px;
}
header #logo img{
	height: 75px;
    transition: all 1s;
}
header#navi.m_fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: rgba(255,255,255,0.90);
}
header#navi.m_fixed #logo img{
	height: 50px;
}
header#navi.m_fixed nav > ul > li > a{
	padding: 26px 15px;
    transition: all 1s;
}

/* Navigation -------------------------*/
#menu{
	display: flex;
	align-items: center;
	line-height: 1;
}
#menu > div{
	display: flex;
	align-items: center;
	padding: 0 30px 0 10px;
}
#menu > div > p{
	margin-right: 15px;
}
#menu > div div p{
    font-weight: 700;
}
#menu > div div p:last-child{
    font-size: 3.2rem;
    font-weight: 900;
}

header nav:after{
    content: '';
    display: block;
    clear: both;
}

header nav > ul{
	display: flex;
    justify-content: space-between;
}

header nav > ul > li{
	position: relative;
    font-weight: 500;
}

header nav > ul > li > a{
	text-align:center;
	display:block;
    font-size: 2.0rem;
    font-weight: 700;
	padding: 45px 16px;
	transition: all 1s;
}

header nav > ul > li > a::after{
	content: "";
	background-color: #F0AD1A;
	width: 0;
	height: 4px;
	position: absolute;
	left: 15px;
	bottom: 0;
	transition: width 300ms cubic-bezier(0.77, 0, 0.175, 1);
}
header nav > ul > li:hover > a::after, header nav > ul > li.current > a::after {
	width: calc(100% - 30px);
}
header nav > ul > li:hover > a, header nav > ul > li.current > a {
	opacity: 1.0;
    color: #F0AD1A;
}

header nav > ul ul {
    transition: opacity .2s ease-in;
    opacity: 0;
    width: 100%;
    min-width: 150px;
    left: 50%;
    top: 100%;
    transform: translate(-50%,0);
    padding-top: 1px;
    position: absolute;
    box-sizing: border-box;
    height: 0;
    overflow: hidden;
    z-index: 999;
}
header nav > ul > li:hover ul {
    opacity: 1;
    height: auto;
}
header nav > ul ul li {
    display: block;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0 10px;
}
header nav > ul ul li a {
    font-size: 1.4rem;
    display: block;
    padding: 5px 0;
}
header nav > ul ul li+li {
    border-top: #E4E5E9 solid 1px;
}

header#navi .flex{
	padding: 0 0 0 20px;
    justify-content: space-between;
    align-items: center;
}


/* Footer -------------------------*/
footer {
    padding-top: 100px;
}
footer .flex{
    justify-content: space-between;
	padding-bottom: 100px;
}
footer .add {
	width: 40%;
	line-height: 1.6;
}
footer .add +div{
	width: 48%;
}
footer .add p:first-child{
	font-size: 4.0rem;
    font-weight: 700;
    margin-bottom: 30px;
	display: flex;
	align-items: center;
}
footer .add p:first-child span{
	width: 16%;
	max-width: 105px;
	display: inline-block;
    margin-right: 20px;
}
footer .add p:nth-child(2){
	font-size: 2.0rem;
    font-weight: 700;
	line-height: 1.2;
    margin-bottom: 10px;
}
footer .add p:nth-child(2) span a{
	display: block;
	color: #F0AD1A;
	font-size: 4.2rem;
    font-weight: 500;
}
footer .add th,footer .add td{
	border: none;
	background-color: inherit;
	font-size: 2.0rem;
	padding: 20px 15px;
	text-align: center;
	color: #F0AD1A;
	border-bottom: #D9D9D9 solid 1px;
}
footer .add th{
	color: #513821;
}
footer .add tr th:first-child,footer .add tr td:first-child{
	padding-left: 0;
	text-align: left;
	color: #513821;
}
footer .add tr th:last-child{
	font-size: 1.6rem;
}
footer .add table+p{
	margin-top: 30px;
	font-size: 2.0rem;
    font-weight: 700;
}
footer .add table+p span{
	font-size: 1.6rem;
	font-weight: 400;
}
footer nav{
	background-color: #513821;
}
footer nav ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 45px 0;
}
footer nav a{
    display: block;
	color: #fff;
    padding: 0 25px;
	font-weight: 700;
}
footer .copy{
    padding: 15px 0;
	text-align: center;
	font-size: 1.6rem;
}

/* Layout -------------------------*/

.wrap{
	max-width:1530px;
	padding:0px 15px;
	margin:0 auto;
	position: relative;
	z-index: 1;
}
.wrap::after{
    content: '';
    display: block;
    clear: both;
}
#main {
	text-align: justify;
    text-justify: inter-character;
}
#main .wrap{
	margin: 80px auto;
}

.button{
	width: 50%;
	max-width: 290px;
	margin: 50px 0 0;
	text-align: center;
	background-color: #F0AD1A;
    border-radius: 40px;
    box-sizing: border-box;
}
.button a{
	position: relative;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
	display: block;
	padding: 15px;
}
.button a::after {
  content: "\f105";
  font-family: FontAwesome;
  font-size: 3.0rem;
  font-weight: 300;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 20px;
}
body.single .button{
    margin: 60px auto 0;
}
body.single .button a::after {
  content: "\f104";
  right: inherit;
  left: 20px;
}

.button01{
	margin: 0 0 0;
	text-align: right;
}
.button01 a{
	position: relative;
    color: #fff;
    font-weight: 700;
	display: inline-block;
	padding: 10px 50px 10px 30px;
	background-color: #513821;
    border-radius: 30px;
}
.button01 a::after {
  content: "\f105";
  font-family: FontAwesome;
  font-size: 3.0rem;
  font-weight: 300;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 20px;
}


/* Contents -------------------------*/

section+section{ margin-top: 90px; }


/* Home -------------------------*/

#topimg {
	position: relative;
}
#topimg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 60%;
	height: 100%;
	background: linear-gradient(to right,  rgba(255,249,226,1) 50%,rgba(255,249,226,0) 100%);
}
#topimg::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 540px;
	height: 592px;
	background-image: url("img/ellipse.png");
	background-size: contain;
}
#topimg > p img{
	object-fit: cover;
	object-position: right;
	width: 100%;
	height: 600px;
}
#topimg > div{
	position: absolute;
	transform: translateY(-50%);
	top: 45%;
	left: 15%;
	width: 38%;
	z-index: 1;
}
#topimg > div p{
    font-size: 4.7rem;
    font-weight: 700;
	line-height: 1.4;
}
#topimg > div p+p{
    font-size: 2.0rem;
	margin-top: 30px;
}
#topimg > p::after{
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 130px;
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	z-index: 1;
}

.top_ap {color: #513821;
    background-color: #FCE9B7;
    padding: 5px 20px;
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 2rem;
    border-radius: 5px;}


#linkbox{
    margin-top: -80px;
	position: relative;
	z-index: 1;
}
#linkbox .wrap{
	margin: 0 auto;
}
#linkbox .flex{
	height: 160px;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	box-sizing: border-box;
	background-color: #fff;
	box-shadow: 0px 0px 15px 0px rgba(240, 173, 26, 0.24);
	border-radius: 30px;
}
#linkbox .flex div{
	width: 33.3%;
	height: 120px;
	display:flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
    font-weight: 700;
}
#linkbox .flex div+div{
	border-left: rgba(240, 173, 26, 0.5) solid 1px;
}
#linkbox .flex div p:first-child{
    font-size: 2.2rem;
	color: #F0AD1A;
}
#linkbox .flex div p a{
    font-size: 2.2rem;
	color: #F0AD1A;
}
#linkbox .flex div:last-child p+p{
    font-size: 1.6rem;
	line-height: 1.5;
}

#guidance{
    position: relative;
}
#guidance > p{
    position: absolute;
	top: -100px;
	right: 0;
	width: 25%;
	max-width: 155px;
}
#guidance .wrap > .flex:first-child{
    align-items: center;
	margin-bottom: 30px;
}
#guidance h3{
    margin-bottom: 0;
}
#guidance h3+p{
    font-size: 1.8rem;
    margin-left: 30px;
	padding-left: 30px;
	border-left: #513821 solid 1px;
}
#guidance .flex > div{
    width: 32%;
	display: flex;
    margin-right: 2%;
    margin-bottom: 30px;
	border: #F0AD1A solid 1px;
	border-radius: 10px;
	box-sizing: border-box;
	font-size: 1.6rem;
	line-height: 1.5;
	overflow: hidden;
}
#guidance .flex > div:nth-child(3n){
    margin-right: 0;
}
#guidance .flex > div > div:first-child{
    width: 150px;
}
#guidance .flex > div > div+div{
    width: calc(100% - 150px);
	box-sizing: border-box;
	padding: 20px 25px 20px 15px;
}
#guidance .flex > div > div p:first-child{
    font-size: 2.3rem;
    font-weight: 700;
	margin-bottom: 5px;
}

#about{
	position: relative;
	margin-top: 80px;
	background-color: #FFF1BF;
	overflow-x: hidden;
}
#about::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 115px;
	background-image: url("img/aboutback.png");
	background-position: center;
}
/*#about::after{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: #fff;
}*/
#about .wrap > p{
	position: absolute;
	top: -140px;
	left: -180px;
	width: 180px;
	height: 170px;
}
#about .wrap {
	margin: 140px auto 0;
}
#about .flex {
	justify-content: space-between;
	align-items: flex-start;
}
#about .flex > div {
	width: 62%;
	line-height: 1.5;
	padding-bottom: 30px;
}
#about .flex > div+div {
	width: 32%;
	margin-top: 30px;
	padding-bottom: 0;
}

#topics{
    margin: 30px auto 60px;
}
#topics .wrap{
    max-width: 1200px;
}
#topics h3{
    text-align: center;
}
#topics h3+div, #topics > article{
    border-top: rgba(81, 56, 33, 0.3) solid 1px;
}
#topics ul{
    border-bottom: rgba(81, 56, 33, 0.3) solid 1px;
    padding: 30px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
#topics li{
    position: relative;
}
#topics li:first-child{
    width: 80px;
    margin-right: 20px;
}
#topics li:nth-child(2){
    width: 135px;
    margin-right: 20px;
}
#topics li:nth-child(2) a{
    display: block;
    background-color: #FFF1BF;
    font-size: 1.6rem;
	font-weight: 700;
    text-align: center;
	border-radius: 30px;
    padding: 2px;
}
#topics li:last-child{
    width: 100%;
    font-weight: 500;
}
#topics li:last-child i{
    color: #ccc;
}
#topics .button{
    margin: 40px auto 0;
}


/* Sub -------------------------*/
#subimg {
	position: relative;
	overflow: hidden;
}
#subimg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(to right,  rgba(255,249,226,1) 60%,rgba(255,249,226,0) 100%);
}
#subimg::after{
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 130px;
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	z-index: 1;
}
#subimg > p img{
	object-fit: cover;
	object-position: right;
	width: 100%;
	height: 400px;
}
#subimg > div{
	display: flex;
	align-items: center;
	position: absolute;
	transform: translate(-50% , -50%);
	top: 50%;
	left: 50%;
	width: 100%;
	max-width: 1530px;
	height: 100%;
	padding: 0 15px;
	box-sizing: border-box;
	z-index: 1;
}
#subimg > div::after {
	content: "";
	position: absolute;
	bottom: -40px;
	left: 30px;
	width: 214px;
	height: 202px;
	background-image: url("img/sublogo.png");
	background-size: contain;
	z-index: -1;
}

.about-ed > section:first-child > .flex{
	justify-content: space-between;
	align-items: flex-start;
	margin-top: 60px;
}
.about-ed > section:first-child > .flex div:first-child{
	width: 28%;
	border-radius: 15px;
	overflow: hidden;
}
.about-ed > section:first-child > .flex div{
	width: 67%;
	line-height: 1.5;
}
.about-ed > section:first-child > .flex div p+p{
	margin-top: 30px;
}
.about-ed > section:nth-child(2) h3+.flex{
	justify-content: space-between;
	margin-bottom: 60px;
}
.about-ed > section:nth-child(2) h3+.flex > div{
	width: 70%;
}
.about-ed > section:nth-child(2) h3+.flex > div p{
	line-height: 1.5;
}
.about-ed > section:nth-child(2) h3+.flex > div+div{
	width: 26.5%;
}
.about-ed > section:nth-child(2) h3+.flex > div+div p:first-child{
	border-radius: 40px;
	overflow: hidden;
}
.about-ed > section:nth-child(2) h3+.flex > div+div p+p{
	text-align: right;
	margin-top: 20px;
}
.about-ed > section:nth-child(2) .flex+.flex > div{
	width: 48%;
	margin-right: 2%;
	padding: 30px 40px;
	box-sizing: border-box;
	background-color: #FFF1BF;
	border-radius: 20px;
}
.about-ed > section:nth-child(2) .flex+.flex > div:nth-child(2n){
	margin-right: 0;
}
.about-ed > section:nth-child(2) .flex+.flex > div:nth-child(n+3){
	margin-top: 30px;
}
.about-ed > section:nth-child(2) .flex+.flex > div h5{
	font-size: 2.2rem;
	color: #F0AD1A;
}
.about-ed > section:nth-child(3) .flex > div{
	width: 31%;
	margin-right: 3.5%;
	display: flex;
	justify-content: space-between;
	line-height: 1.5;
}
.about-ed > section:nth-child(3) .flex > div:nth-child(3n){
	margin-right: 0;
}
.about-ed > section:nth-child(3) .flex > div:nth-child(n+4){
	margin-top: 50px;
}
.about-ed > section:nth-child(3) .flex > div p{
	width: 42%;
}
.about-ed > section:nth-child(3) .flex > div p+p{
	width: 52%;
}

.our-care #main h3{
	font-size: 2.8rem;
	background-color: #FFF1BF;
	border-radius: 10px;
	padding: 5px 20px;
}
.our-care #main h4{
	font-size: 2.2rem;
	margin-bottom: 10px;
}
.our-care #main section .flex{
	justify-content: space-between;
}
.our-care #main section .flex > p{
	width: 17%;
}
.our-care #main section .flex > div{
	width: 80%;
	line-height: 1.6;
}

.facility-ed section .flex{
	margin-top: 60px;
}
.facility-ed section .flex > div{
	width: 23.5%;
	margin-right: 2%;
	line-height: 1.5;
}
.facility-ed section .flex > div:nth-child(4n){
	margin-right: 0;
}
.facility-ed section .flex > div:nth-child(n+5){
	margin-top: 60px;
}
.facility-ed section .flex > div p:first-child{
	border-radius: 10px;
	overflow: hidden;
}
.facility-ed section .flex > div p+p{
	margin-top: 10px;
}


/* Pagetop -------------------------*/
#pagetop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
    background-color: #F0AD1A;
	width: 50px;
	height: 50px;
	border-radius: 50%;
}
#pagetop a::after {
	position: absolute;
	transform: translate(-50% , -50%);
	top: 45%;
	left: 50%;
    content: "\f106";
    font-family: FontAwesome;
	color: #fff;
    font-size: 3.0rem;
}

/* Clearfix -------------------------*/
.clearfix:after{
	content: '';
	display: block;
	clear: both;
}
.clearfix{
	position: relative;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}


/* Other -------------------------*/
.link:hover{
    cursor: pointer;
}

p.anchor {
	padding-top: 160px;
	margin-top: -160px;
	display: block;
	position: relative;
	z-index: -1
}

.sp{
    display: none;
}

nav.page-navi{
	margin-top: 30px;
}
nav.page-navi li.prev{
	float:left;
}
nav.page-navi li.next{
	float:right;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	margin: 0 0 10px 20px;
	display: inline-block;
	}

img.alignleft {
	margin: 0 20px 10px 0;
	display: inline-block;
	}

.aligncenter {
    display: block;
    margin: 0 auto;
    max-width: max-content;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail {
	max-width: 100%;
	height: auto;
}

.wp-pagenavi{
    margin: 60px 0;
    text-align: center;
}

.wp-caption-text {
    font-size: 1.4rem;
    margin-top: 5px;
}

img[class*="wp-image-"],
img[class*="attachment-"] {
    max-width: 100%;
    height: auto;
}

.edit ul,#tinymce ul{
	margin: 0 0 1.8em;
    padding-left: 1.8em;
    list-style-type: disc;
}
.edit ol,#tinymce ol{
	margin: 0 0 1.8em;
    padding-left: 2.6em;
    list-style-type: decimal;
}
.edit a,#tinymce a{
	color: #0000ff;
    text-decoration: underline;
}
.edit{
    position: relative;
	text-align: justify;
    text-justify: inter-character;
}
.edit blockquote,#tinymce blockquote{
	background-color: #eee;
    padding: 10px;
    margin: 5px 10px;
    border-radius: 10px;
}
.edit a[target="_blank"]::after{
    display: inline-block;
    content: "\f08e";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a[href$=".pdf"]::after{
    display: inline-block;
    content: "\f1c1";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a[href$=".doc"]::after,.edit a[href$=".docx"]::after,.edit a[href$=".xls"]::after,.edit a[href$=".xlsx"]::after,.edit a[href$=".txt"]::after{
    display: inline-block;
    content: "\f0f6";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a[href^="mailto:"]::after{
    display: inline-block;
    content: "\f003";
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ccc;
}
.edit a i{
    color: #ccc;
}
.youtube{
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.youtube iframe{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


/* Forms
--------------------------------------------- */
.snow-monkey-form {
    max-width: 800px;
    margin: 0 auto;
}
.smf-error-messages{
    font-size: 1.4rem;
}
.smf-error-messages::before{
	content: "\f071";
	font-family: FontAwesome;
	margin-right: 5px;
    font-weight: normal;
}
.required .smf-item__label__text {
	position: relative;
}
.required .smf-item__label__text::after {
	position: absolute;
	content: '必須';
	color:  #fff;
	width:  40px;
	height: 22px;
	top: 50%;
	transform: translateY(-50%);
	right: -50px;
	text-align: center;
	background:  #cc3033;
	border-radius: 4px;
	font-size: 1.2rem;
	font-weight: 700;
}
.smf-text-control input,
.smf-textarea-control textarea {
	width: 80%;
    font-size: 2.0rem;
    box-sizing: border-box;
	margin-top: 10px;
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "メイリオ", sans-serif;
}
.smf-textarea-control textarea {
	width: 100%;
}
.smf-placeholder{
    font-size: 2.0rem;
	font-weight: 500;
	padding-left: 1rem;
	box-sizing: border-box;
}
.smf-placeholder:has(div){
	padding-left: 0;
}
.smf-item+.smf-item{
	margin-top: 30px;
}
.smf-action{
	text-align: center;
}
.smf-button-control button.smf-button-control__control {
    display: inline-block;
    padding: 15px 40px;
	color: #fff;
    background-color: #F0AD1A;
	background-image: none;
    border: none;
    border-radius: 30px;
    max-width: 200px;
    margin: 30px auto 0;
    font-size: 1.8rem;
    box-sizing: border-box;
    text-align: center;
	transition: all 0.7s;
}
.smf-button-control button.smf-button-control__control[data-action="back"] {
    background-color: #513821;
}
.smf-button-control button.smf-button-control__control:hover {
	background-color: #bbb;
    cursor: pointer;
	transition: all 0.7s;
}


/* 1590px -------------------------*/
@media screen and (max-width: 1590px) {
body{
	padding-top: 0!important;
}
header#navi{
	display: none!important;
}
#main {
    padding-top: 53px;
}
footer .add {
  width: 58%;
}
footer .add + div {
  width: 40%;
}
p.anchor {
  padding-top: 80px;
  margin-top: -80px;
}
#topimg > div {
  left: 5%;
  width: 90%;
}
#topimg > div p {
  font-size: 3.0rem;
}
#topimg > div p + p {
  font-size: 1.8rem;
  margin-top: 40px;
}
}

/* 1180px -------------------------*/
@media screen and (max-width: 1180px) {
.home p.anchor {
  display: none;
}
.top_ap {display: none;}
#topimg > p img {
  height: 220px;
}
#topimg > div p {
  font-size: 2.0rem;
}
#topimg > div p + p {
  font-size: 1.4rem;
  margin-top: 15px;
}
#topimg::after {
  width: 260px;
  height: 285px;
}
#topimg .button a {
  font-size: 1.6rem;
  padding: 5px;
}
#linkbox {
  display: none;
}
#subimg > p img {
  object-position: center;
  height: 200px;
}
#subimg > div::after {
  bottom: 0;
  left: 20px;
  width: 100px;
  height: 94px;
}
#guidance h3 {
  width: 100%;
}
#guidance h3 + p {
  font-size: 1.6rem;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}

}

/* 980px -------------------------*/
@media screen and (max-width: 980px) {
.sp{
    display: inherit;
}
.pc{
    display: none;
}
h2 {
  font-size: 3.0rem;
  margin-bottom: 40px;
}
h3 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}
h4 {
  font-size: 2.0rem;
  margin-bottom: 20px;
}
footer .add {
  width: 100%;
}
footer .add p:first-child {
  font-size: 2.8rem;
}
footer .add + div {
  width: 100%;
  margin-top: 30px;
}
footer .add th, footer .add td {
  font-size: 1.6rem;
  padding: 10px 5px;
}
#guidance .flex > div {
  flex-wrap: wrap;
}
#guidance .flex > div > div:first-child {
  width: 100%;
  text-align: center;
}
#guidance .flex > div > div:first-child img{
  max-width: 180px;
}
#guidance .flex > div > div + div {
  width: 100%;
  padding: 0 20px 20px;
}
.about-ed > section:nth-child(3) .flex > div {
  width: 48%;
  margin-right: 4%;
}
.about-ed > section:nth-child(3) .flex > div:nth-child(3n) {
  margin-right: 4%;
}
.about-ed > section:nth-child(3) .flex > div:nth-child(2n) {
  margin-right: 0;
}
.about-ed > section:nth-child(3) .flex > div:nth-child(n+3) {
  margin-top: 40px;
}
.our-care #main section .flex > p {
  width: 100%;
  text-align: center;
}
.our-care #main section .flex > div {
  width: 100%;
}
.facility-ed section .flex > div {
  width: 47%;
  margin-right: 6%;
}
.facility-ed section .flex > div:nth-child(2n) {
  margin-right: 0;
}
.facility-ed section .flex > div:nth-child(n+3) {
  margin-top: 30px;
}
.facility-ed section .flex > div p + p {
  font-size: 1.4rem;
}


.button a {
    font-size: 1.6rem;
    padding: 10px;
}


}

/* 480px -------------------------*/
@media screen and (max-width: 480px) {
.button01 a {
  font-size: 1.4rem;
  padding: 10px;
}
#guidance .flex > div {
  width: 100%;
  margin-right: 0;
}
#about .flex > div {
  width: 100%;
}
#about .flex > div + div {
  width: 80%;
  margin: 0 auto 50px;
  order: -1;
}
#topics ul {
  flex-wrap: wrap;
}
#topics li:last-child{
    margin-top: 10px;
}
.about-ed > section:first-child > .flex div:first-child {
  margin-bottom: 30px;
}
.about-ed > section:first-child > .flex div {
  width: 100% !important;
}
.about-ed > section:first-child > .flex div img {
  width: 100%;
}
.about-ed > section:nth-child(2) h3 + .flex > div {
  width: 100% !important;
}
.about-ed > section:nth-child(2) h3 + .flex > div img {
  width: 100%;
}
.about-ed > section:nth-child(2) .flex + .flex > div {
  width: 100%;
  margin-right: 0 !important;
}
.about-ed > section:nth-child(2) .flex + .flex > div+div {
  margin-top: 30px;
}
.about-ed > section:nth-child(3) .flex > div {
  width: 100%;
  margin-right: 0 !important;
}
.about-ed > section:nth-child(3) .flex > div+div {
  margin-top: 40px;
}
#topimg > div {top: 50%;}


}

@media (min-width: 980px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}
