@charset "utf-8";

/*slide.cssの読み込み--------*/
@import url(slide.css);

/*font-awesomeの読み込み*/
@import url(../fontawesome/css/fontawesome.css);
@import url(../fontawesome/css/brands.css);
@import url(../fontawesome/css/solid.css);

/*全端末（PC・タブレット・スマホ）共通設定--------*/

/*全体の設定--------*/
html{
    font-size:62.5%;
}
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 1.6rem;
	line-height: 2;
	background: #fff8f9;
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    font-weight: normal;
}
ul {list-style-type: none;}
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
table {
    border-collapse:collapse;
    font-size: 100%;
    border-spacing: 0;
}
iframe {width: 100%;}
video,audio {max-width: 100%;}

/*リンク（全般）設定--------*/
a {
	color: #a22b47;	
	transition: 0.5s;
    text-decoration: underline;
}
a:hover {
	color: #333;
    text-decoration:none;
}

/*container（footer以外を囲むブロック）--------*/
#top{
    height:0.7rem;
    background-color:#ffe5e9;/*#ffe5e9*/
    border-top:0.7rem solid #a22b47;
    border-bottom:1px solid #a22b47;
}

#container {
	max-width: 980px;    /*サイトの最大幅*/
	margin: 0 auto;
	position: relative;
	padding: 0 3%;
}

/*ヘッダーブロック*/
header {
	float: left;
    text-align:center;
    width: 100%;
}
/*ロゴ画像ブロック*/
header #logo {
	margin-bottom: 5rem;
    background-image:url(../images/backpink.png);
	border-radius: 0px 0px 10px 10px;
    border-right:1px solid #a22b47;
    border-left:1px solid #a22b47;
    border-bottom:1px solid #a22b47;
    border-top:1px solid #ffe5e9;
    margin-top:-1px;
}

.head_ka_new{
    width:100%;
    max-width:300px;
    min-width:280px;
    float:right;
}
/*小児科・内科・アレルギー科・眼科*/
.ka1{
    width:280px;
    display:inline-block;
    line-height:120%;
    color:#fff;
    padding:0.3em;
    /*background-color:#f27586;*/
    background-color:rgba(242,117,134,0.8);
    border-radius:1em;
    margin:0.5em 0.25em 0;
    border:2px solid #fff;
}
.denwa1{
    display:block;
    width:90%;
    line-height:100%;
    padding:0.3em 0 0.15em 0;
    color:#3083ff;
    /*font-size:1.5em;*/
    font-size: clamp(20px, 2vw, 22px);
    background-color:#fff;
    border-radius:1em;
    text-decoration:none;
    margin:0.3em auto;
    /*border:2px solid #FFF;*/
}
.denwa1:hover{
    color:#3083ff;
    background-color:#d8feff
}
.net1{
    display:block;
    width:90%;
    line-height:100%;
    font-size: clamp(20px, 2vw, 22px);
    padding:0.4em 0 0.3em 0;
    color:#ff5932;
    background-color:#fff;
    border-radius:1em;
    text-decoration:none;
    margin:0.3em auto;
    /*border:2px solid #fff;*/
}
.net1:hover{
    color:#ff5932;
    background-color:#ffe9d7;
}
/*歯科*/
.ka2{
    width:280px;
    display:inline-block;
    line-height:120%;
    color:#fff;
    padding:0.3em 0 0.2em 0;
    /*background-color:#6495ed;*/
    background-color:rgba(100,149,237,0.8);
    border-radius:1em;
    margin:0.5em 0.25em 0;
    border:2px solid #fff;
}
.denwa2{
    display:block;
    width:90%;
    line-height:100%;
    padding:0.3em 0 0.15em 0;
    color:#3083ff;
    font-size: clamp(20px, 2vw, 22px);
    background-color:#fff;
    border-radius:1em;
    text-decoration:none;
    margin:0.3em auto;
    /*border:2px solid #FFF;*/
}
.denwa2:hover{
    color:#3083ff;
    background-color:#d8feff;
}

/*サイドバーのネット予約*/
.net2{
    display:inline-block;
    line-height:100%;
    color:#fff;
    font-size:1.2em;
    padding:0.4em 0.5em 0.3em 0.5em;
    background-color:#ff7200;
    border-radius:1em;
    text-decoration:none;
    margin-bottom:1em;
    border:2px solid #fff; 
}
.net2:hover{
    background-color:#ff5932;
}

/*メニューブロック--------*/
.submenu {
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid #a22b47;
	margin-bottom: 20px;
}
/*メニュー１個あたりの設定*/
.submenu li {
	text-align: center;
	border-top: 1px solid #d7bdc3;
	font-size: 1.6rem;
}
.submenu li a {
	display: block;text-decoration: none;
	padding: 15px 5px;
	background: #fff;
}
/*マウスオン時*/
.submenu li a:hover {
	background: #ffe5e9;
}
/*１つ目のメニューへの追加指定*/
.submenu li:first-child {
	border: none;	/*上の線を消す*/
}
/*飾り文字 使用しない*/
.submenu li span {
	display: block;
	font-size: 1.2rem;
	font-weight: normal;
	letter-spacing: 0.2em;
	color: #ed1010;
}

/*スマホ用メニューを表示させない*/
#menubar-s {display: none;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}

/*contents--------*/
#contents {
	clear: both;
    overflow: hidden;
}

/*mainコンテンツ--------*/
#main {
	float: right;
	width: 75%;
}
/*トップページでのmainコンテンツへの追加設定*/
.home #main {
	margin-top: 25%;
}
/*トップページ以外の設定*/
#main {
	margin-top: 100px;
}
/*mainコンテンツのh2タグ設定*/
#main h2 {
	clear: both;
	font-size: 2.4rem;
	margin-bottom: 20px;
	padding: 20px 20px 20px 60px;
	color: #a22b47;
	background: #ffe5e9;
	background: #ffe5e9 url(../images/arrow2.png) no-repeat 7px center / 50px;
    border: 1px solid #a22b47;
	border-radius: 10px;
}
/*mainコンテンツのh3タグ設定*/
#main h3 {
	clear: both;
    color:#000;
    font-size:1.2em;
	margin-bottom: 3rem;
	padding: 4px 20px 4px 50px;
	border: 1px solid #a4aa00;
	border-radius: 2rem;
	background: #fdffd1 url(../images/h3-image.png) no-repeat;
}

/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 20px 20px;
}
/*他。微調整。*/
#main p + p {
	margin-top: -5px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section + section {
	margin-top: 30px;
}

/*subコンテンツ--------*/
#sub {
	float: left;
	font-size: 1.4rem;
	line-height: 1.5;
	width: 21%;
}
#sub h2 {
	font-size: 1.8rem;
}
#sub h2::first-letter {
	border-left: 3px solid #a22b47;
	padding-left: 10px;
}
#sub .box h2::first-letter {
	border-left: 3px solid #fff;
}

/*subコンテンツ内のbox--------*/
#sub .box {
	background: #a22b47;
	color: #fff;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
}
/*リンクテキストの文字色*/
#sub .box a {
	color: #fff;
}

/*subコンテンツ内のaddress--------*/
#sub #address {
	font-style: normal;
}
#sub #address div h2{
    margin-bottom:1rem;
}
#sub #address div{
    margin-bottom:3rem;
}
#sub #address .side-map2{
    display:none;
}
/*バナーの設定*/
.banner{
    max-width:18rem;
    margin:0 auto 2rem;
}

/*フッター設定--------*/
footer {
	clear: both;
	padding-top: 40px;
	text-align: center;
	font-size: 1.6rem;
}

/*フッターメニュー--------*/
#footermenu {
    max-width: 980px;
	padding: 1rem 0;
    margin:0 auto;
}
/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;
	padding: 2px 0.5rem;
}

/*コピーライト--------*/
#copyright {
	clear: both;
	background: #a22b47;
	color: #fff;
    line-height:300%;
}
#copyright a {
	text-decoration: none;
	color: #fff;
}

/*-----------トップページ--------*/
/*お知らせ*/
#main .clicktype{
    padding:0 0 0 0.6rem;
}
#main .clicktype i{
    color:red;
}
#new dd {
    font-size:1em;
	padding-left: 2em;
	padding-bottom:1em;
}
#new .newinfo{
	padding:0 0.5em;
	margin:0 0 1em 0;
}
dl.newinfo dt.news{
	cursor: pointer;
    font-size:1.0625em;
    color:red;
}
dl.newinfo dt.news i:first-child{
	margin-right:0;
	font-size:1em;
}
dl.newinfo dt.news i:nth-child(2){
	margin-left:0.5em;
	color:red;
}
dl.newinfo dd.newsdocs{
	display:none;
}
#new p{
    font-size:0.95em;
}
/*お知らせ全体のブロック*/
.top_osirase{
    background-color:#ffffee;
    margin-bottom:2rem;
    border:1px solid #bbb;
    border-radius:0.5rem;
}

/*トップページの診療科目の４つ*/
/*listブロック--------*/
.kamoku_list{
    margin:0;
    padding:0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;  
}
.list {
	width: 40%;
	margin: 0 0 20px 0;
	border: 1px solid #ccc;
	box-shadow: 3px 4px 2px rgba(0,0,0,0.1);
	padding: 2%;
	border-radius: 3px;
	background: #fff;
}
/*リンクがあった時の設定　実際にはリンクはない*/
/*
.list a {
	display: block;
    text-decoration: none;
    overflow: hidden;
	margin: -2%;
	padding: 2%;
	background: #fff url(../images/arrow1.png) no-repeat right bottom / 40px;
}
*/
/*マウスオン時の設定*/
/*
.list a:hover {
	position: relative;
	left: 1px;
	top: 1px;
}
*/
/*h4（見出し）タグの設定*/
.list h4 {
	color: #a22b47;
	font-size: 120%;
	text-align: center;
}
/*p（段落）タグの設定*/
.list p {
	padding: 0 !important;
	line-height: 1.5;
	font-size: 100%;
	color: #333;
	height: auto;
	overflow:hidden;
}

/*診療予約について　予約・受付について*/
#main ul.houhou{margin:0;}
ul.houhou{
    padding:0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}
ul.houhou li{
    width:40%;
    padding:1rem;
    border-radius:1rem;
    margin-bottom:1.5em;
}
ul.houhou li img{
    width:2.5rem;
}
ul.houhou li span{
    font-size:1.1em;
    font-weight:bold;
}
ul.houhou li a{
    font-weight:bold;
}
.yoyaku1,.yoyaku2{
    background-color:#fffe91;
    border:1px solid #ff7200;
}
.yoyaku3{
    background-color:#d8feff;
    border:1px solid #3083ff;
}
.yoyaku4{
    background-color:#e2ffcf;
    border:1px solid #11b200;
}

/*---テーブル予約・受付方法と予約期間について---*/
.table1{
    width:calc(100% - 2rem);
    margin:0 1rem 2rem;
    border-collapse: collapse;
}
.table1 td{
    border:1px solid #666;
    padding:5px;
    text-align:center;
    background-color:#fffff1;
}
.table1 td{
    width:25%;
}
.table1 tr td:first-child{
    background-color: #e2ffcf;
    font-weight:bold;
}
.table1 tr:first-child td:nth-child(2),
.table1 tr:nth-child(2) td:nth-child(2){
    background-color: #ffdff6;
}
.table1 tr:first-child td:nth-child(3),
.table1 tr:nth-child(2) td:nth-child(3){
    background-color: #e3e8ff;
}
.table1 tr:first-child td:nth-child(4),
.table1 tr:nth-child(2) td:nth-child(4){
    background-color:#ffefe3;
}
.table1 tr:nth-child(3) td:first-child{
    background-color:#fffe91;
}
.table1 tr:nth-child(4) td:first-child{
    background-color:#d8feff;
}
.table1 tr:nth-child(5) td:first-child{
    /*background-color:#d8feff;*/
}
.yoyaku{
    display:inline-block;
    background-color:#ff7200;
    line-height:100%;
    padding:0.5em 0.5em 0.3em 0.5em;
    text-decoration:none;
    border-radius:2em;
    color:#fff; 
}
.yoyaku:hover{
    color:#fff;
    opacity:0.8;
}
.direct_tel{
    display:inline-block;
    background-color:#f27586;
    line-height:100%;
    padding:0.5em 0.5em 0.3em 0.5em;
    text-decoration:none;
    border-radius:2em;
    color:#fff; 
}
.direct_tel:hover{
    color:#fff;
    opacity:0.8;
}
.direct_tel2{
    display:inline-block;
    background-color:#6495ed;
    line-height:100%;
    padding:0.5em 0.5em 0.3em 0.5em;
    text-decoration:none;
    border-radius:2em;
    color:#fff; 
}
.direct_tel2:hover{
    color:#fff;
    opacity:0.8;
}
/*診療時間についての表*/
.table2{
    width:calc(100% - 2rem);
    margin:0 1rem 2rem;
    border-collapse: collapse;
}
.table2 td{
    border:1px solid #666;
    padding:5px;
    text-align:center;
}
.table2 tr td:first-child{
    width:8em;
}
.table2 tr:nth-child(2) td{
    background-color: #fff18f;
}
.table2 tr:nth-child(2) td:nth-child(7){
    background-color: #dffdff;
}
.table2 tr:nth-child(2) td:nth-child(8){
    background-color: #ffe1f0;
}
.type1{
    margin-top:0;
}
.type1 tr:first-child td:first-child{
    font-size:1.1em;
    background-color: #ffdff6;
}
.type1 tr:nth-child(3) td:first-child,
.type1 tr:nth-child(5) td:first-child{
    background-color:#d6ff8f;
}
.type1 tr:nth-child(4) td:first-child{
    background-color:#ffefe3;
}
/*文字の幅調整*/
.scale{
    display:inline-block;
    transform:scale(0.8,1);
    white-space: nowrap;
}
.week{
    font-size:0.6em;
    line-height:100%;
    margin-top:-0.5em;
    transform:scale(0.8,1);
    white-space: nowrap;
}
.type2{
    margin-top:1rem;
    margin-bottom:2rem;
}
.type2 tr:first-child td:first-child{
    font-size:1.1em;
    background-color: #e3e8ff;
}
.type2 tr:nth-child(3) td:first-child,
.type2 tr:nth-child(4) td:first-child{
    background-color:#d6ff8f;
}
.type3{
    margin-top:1rem;
    margin-bottom:2rem;
}
.type3 tr:first-child td:first-child{
    font-size:1.1em;
    background-color: #d0fff1;
}
.type3 tr:nth-child(3) td:first-child,
.type3 tr:nth-child(4) td:first-child{
    background-color:#d6ff8f;
}
.maru td span{
    font-size:1.2em;
}
.doc td span{
    display:inline-block;
    font-size:0.9em;
}
.doc tr:nth-last-child(-n+3) td:nth-last-child(-n+7){
    width:11.5%;
}

/*医療機関情報の表*/
.table3{
    width:calc(100% - 2rem);
    margin:0 1rem 2rem;
    border-collapse: collapse;
}
.table3 td{
    border:1px solid #666;
    padding:5px;
}
.table3 tr td:first-child{
    background-color:#e7ffc7;
    width:5.5em;
}


/*2ページ以降のページ内メニュー--------*/
/*ブロック全体*/
.menu {
	overflow: hidden;
	margin-bottom: 20px;	/*下に空けるスペース*/
	text-align: center;		/*内容をセンタリング*/
}
/*メニュー１個あたりの指定*/
.menu li {
	display: inline;	/*横並びになる指定*/
	border-left: 1px solid #999;	/*右側の線の幅、線種、色*/
    white-space: nowrap; 
}
.menu li a {
	padding: 10px;	/*メニュー内余白*/
}
/*最初のメニューへの追加指定*/
.menu li:last-child {
	border-right: 1px solid #999;	/*左側の線の幅、線種、色*/
}

/*PAGE TOP（↑）設定--------*/
/*アニメーションのキーグレーム設定（変更不要）*/
@keyframes scroll {
0% {opacity: 0;}
100% {opacity: 1;}
}
/*デフォルトでは非表示に*/
body .nav-fix-pos-pagetop a {display: none;}
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;
    z-index: 50;
    position: fixed;
	width: 100px;
	bottom: 3rem;
	right: 3%;
	animation-name: scroll;
	animation-duration: 0.5S;
	animation-fill-mode: forwards;
	border-radius: 50%;
	border: 3px solid #a22b47;
	background-color: rgba(255,255,255,0.5);
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background-color: #ffe5e9;
}

/*pdfアイコン--------*/
a[href$=".pdf"]{
	display: inline-block;
	background: url(../images/PDF_32.png) no-repeat right center;
	padding: 5px 40px 5px 0px;
}
/*ul.disc,olタグ----*/
ul.disc {
	list-style: disc;
	padding: 0 20px 20px 40px;
}
ol {
	padding: 0 20px 20px 45px;
}

/*おしらせ内のクラス--------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}
.red{color:red;}
.blue{color:blue;}
.green{color:green;}

/*その他--------*/
.look {background: #eee;border: 1px solid #ccc;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.mb10 {margin-bottom: 1rem;}
.mb30 {margin-bottom: 3rem;}
.mb50 {margin-bottom: 5rem;}
.mt30 {margin-top:3rem;}
.clear {clear: both;}
.color1, .color1 a {color: #ed1010;}
.bgcolor1 {background: #f2f2f2 !important;}
.bgcolor2 {background: #dbebf7 !important;}
.pr {font-size: 1rem;}
.wl {width: 96%;}
.ws {width: 50%;}
.w40p {width: 40%;}
.w20p {width: 20%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
.fr {float: right;margin-left: 2%;margin-bottom: 20px;}
.fl {float: left;margin-right: 2%;margin-bottom: 20px;}
.big1 {font-size: 2.4rem;letter-spacing: 0.2em;}
#sub .big1 {font-size: 2rem;letter-spacing: normal;}
.mini1 {font-size: 1.1rem;display: inline-block;line-height: 1.5;}
.sh {display: none;}
.dn {display: none;}
.right{text-align:right;}
.center{text-align:center;}


/*------当院について---------*/
.rinen_waku{
    width:calc(100% - 8rem);
    max-width:22em;
    margin:0 2rem 3rem 2rem;
    padding:1rem;
    border:1px solid #333;
    background-color:#ffe5e9;
}
.rinen_waku h4{
    font-weight:bold;
    margin:1rem 2rem;
}
.rinen{list-style-type:decimal;}
.indent{text-indent:1em;}
.normal_h4{font-weight:bold;margin:1rem 2rem;}
.bold{font-weight:bold;}
.ncolor{color:#a22b47;}

figure.sisetu{
	padding: 0px 20px 20px;
    text-align:center;
}
.sisetu-img{
    width:100%;
    max-width:400px;
}
.medical_dx{
    list-style-type:disc;
    padding-left:3em;
    padding-right:1em;
}
.dx_towa{
    font-size:0.9em;
    margin-top:1em;
}

/*------診療案内のページ------*/
.kamoku{margin:0 4rem 3rem;list-style-type:disc;}
.torikumi{
    margin:0 2rem;
    margin-bottom:3rem;
}
.torikumi:after{
    content:"";
    display:block;
    clear:both;
}
.torikumi dt{
    background-color:#a22b47;
    color:#fff;
    width:7em;
    text-align:center;
    padding:0.5rem 1rem;
    border-radius:1rem 1rem 0 0;
    margin-left:2rem;
}
.torikumi dd{
    padding:0.5rem 1rem;
    border:1px solid #a22b47;
    border-radius:1rem;
    background-color:#fffaf4;
}
.torikumi dd span{
    display:block;
    margin-bottom:0.5em;
}
.torikumi dd i{
    font-size:1.2em;
    margin-right:0.5em;
    color:#a22b47;
}
.caution{
    margin:0 2rem 2rem;
    padding:1rem;
    border:2px solid #a22b47;
    font-size:0.95em;
    border-radius:1rem;
}
figure.ganka{
	padding: 0px 20px 20px;
    text-align:center;
}
.ganka-img{
    width:100%;
    max-width:400px;
}

/*------予防接種・乳児健診のページ------*/
.yobou_yoyaku{margin:0 3rem 2rem;list-style-type:disc;}
.vaccine{font-size:1.1em;margin-left:2rem;font-weight:bold;}

/*予防接種　定期健診*/
.vaccine_teiki{
    margin:0 2rem 3rem;
    width:calc(100% - 4rem);
    border-collapse: collapse
}
.vaccine_teiki td{
    border:1px solid #333;
    padding:0 1rem;
    background-color:#fff;
}
.vaccine_teiki tr:first-child td{
    text-align:center;
    background-color:#fdffd1;
}
.vaccine_teiki tr:nth-last-child(-n+12) td:first-child{
    background-color:#fff1f8;
}
/*予防接種　任意健診*/
.vaccine_nini{
    margin:0 2rem 3rem;
    width:calc(100% - 4rem);
    border-collapse: collapse
}
.vaccine_nini td{
    border:1px solid #333;
    padding:0 1rem;
    background-color:#fff;
}
.vaccine_nini tr:first-child td{
    text-align:center;
    background-color:#fdffd1;
}
.vaccine_nini tr:nth-last-child(-n+6) td:first-child{
    background-color:#f4ffe6;
}
.vaccine_nini tr:nth-last-child(-n+6) td:last-child{
    text-align:right;
}
/*乳幼児健診*/
.nyuji_kensin{
    margin:0 2rem 3rem;
    width:calc(100% - 4rem);
    border-collapse: collapse
}
.nyuji_kensin td{
    border:1px solid #333;
    padding:0 1rem;
    background-color:#fff;
}
.nyuji_kensin tr:first-child td{
    text-align:center;
    background-color:#fdffd1;
}
.nyuji_kensin tr td:first-child{
    width:8em;
    background-color:#e6faff;
}

/*検診のページ*/
.kensin_title{
    font-size:1.1em;
    font-weight:bold;
    margin-left:2rem;
    color:#a22b47;
}
.naika_kensin{
    margin:0 2rem 0;
    width:calc(100% - 4rem);
    border-collapse: collapse;
}
.naika_kensin td{
    border:1px solid #333;
    padding:0 1rem;
    background-color:#fff;
}
.naika_kensin tr td:last-child{
    text-align:right;
}
.naika_kensin tr:first-child td{
    text-align:center;
    background-color:#fdffd1;
}
.gantype{
    white-space: nowrap;
}
.kensin_comment{font-size:0.95em;}

.sonota{margin-bottom:5rem;}

/*自由診療*/
.ninniku{
    margin:0 2rem 0;
    width:calc(100% - 4rem);
    border-collapse: collapse;
    margin-bottom:2rem; 
}
.ninniku td{
    border:1px solid #333;
    padding:0 1rem;
    background-color:#fff;
}
.ninniku tr td:first-child{
    width:5em;
    background-color:#ffeacd;
}
.ninniku tr td:last-child{
    text-align:right;
    width:4em;
}
.ninniku tr:first-child td{
    text-align:center;
    background-color:#fdffd1;
}
.ninniku td span.menu_name{
    font-weight:bold;
    color:#834d00;
}
/*歯科のページ*/
figure.shika{
	padding: 0px 20px 20px;
    text-align:center;
}
.shika-img{
    width:100%;
    max-width:400px;
}

/*医師紹介*/
.doc_intro span{
    font-weight:bold;
    color:#a22b47;
}
.doc_intro span:first-child{
    font-size:1.1em;
}
.doc_photo{
    width:20rem;
    border-radius:10rem;
    float:right;
}
.yohaku{
    display:inline-block;
    width:7.2rem;
}
/*地図・交通案内*/
.map{
    margin-left:2rem;
    margin-bottom:2rem;
}
.map dt{
    font-weight:bold;
    color:#a22b47;
    display:inline-block;
    float:left;
}
.map dt i{
    margin-right:0.5em;
}
.map dd{
    padding-left:5em;
}
figure.parking{
	padding: 0px 20px 20px;
    text-align:center;
}
.parking-img{
    width:100%;
    max-width:400px;
}
/*リンク*/
.link_group{
    padding: 0px 2rem 4rem;
}
.link_group dd{
    padding-left:2em;
    margin-bottom:2rem;
}
.link_group dt i{
    font-size:1.2em;
    margin-right:0.5em;
    color:#a22b47;
}

/*特定保健指導に関する運営*/
.table4{
    width:calc(100% - 2rem);
    margin:0 1rem 4rem;
    border-collapse: collapse;
}
.table4 td{
    border:1px solid #666;
    padding:5px;
    font-size:0.9em
}
.table4 tr td:first-child{
    background-color:#e7ffc7;
    width:7.5em;
}

.table5{
    width:calc(100% - 2rem);
    margin:0 1rem 4rem;
    border-collapse: collapse;
}
.table5 td{
    border:1px solid #666;
    padding:5px;
    font-size:0.9em;
}
.table5 tr:nth-last-child(-n+9) td:nth-last-child(-n+6){
    width:12%;
}
.table5 td.koumoku{
    background-color:#e7ffc7;
}

.table6{
    width:calc(100% - 2rem);
    margin:0 1rem 4rem;
    border-collapse: collapse;
}
.table6 td{
    border:1px solid #666;
    padding:5px;
    font-size:0.9em;
}
.table6 tr:nth-last-child(-n+7) td:nth-last-child(-n+6){
    width:12%;
}
.table6 td.koumoku{
    background-color:#e7ffc7;
}

.table7{
    width:calc(100% - 2rem);
    margin:0 1rem 4rem;
    border-collapse: collapse;
}
.table7 td{
    border:1px solid #666;
    padding:5px;
    font-size:0.9em;
}
.table7 tr td:first-child{
    background-color:#e7ffc7;
}
.table7 tr td:last-child{
    width:6em;
    text-align:center;
}

.table8{
    width:calc(100% - 2rem);
    margin:0 1rem 4rem;
    border-collapse: collapse;
}
.table8 td{
    border:1px solid #666;
    padding:5px;
    font-size:0.9em;
}
.table8 tr td:first-child{
    background-color:#e7ffc7;
}
.table8 tr:first-child td:nth-child(2){
    background-color:#e7ffc7;
}
.table8 tr td:last-child{
    width:50%;
}

.table9{
    width:calc(100% - 2rem);
    margin:0 1rem 4rem;
    border-collapse: collapse;
}
.table9 td{
    border:1px solid #666;
    padding:5px;
    font-size:0.9em;
}
.table9 tr td.koumoku{
    background-color:#e7ffc7;
    width:40%;
}
.table9 tr td.koumoku2{
    background-color:#e7ffc7;
    width:5em;
}
/*ご意見投書箱*/
#goForm #naiyou{
    width:90%;
    height:30rem;
    padding:1rem;
    line-height:150%;
}
#submitButton{
    background-color: #e9e9e9;
    font-size:1.6rem;
    border:1px solid #e9e9e9;
    border-radius:1rem;
    padding:1rem 2rem 1.4rem;
    cursor:default;
}
#goiken_naiyou{
    width:90%;
    background-color:#fff;
    border:1px solid #000;
    padding:1rem;
    line-height:150%;
    margin:0 auto 1rem;
}

#goForm2 .btn{
    background-color: #e9e9e9;
    font-size:1.6rem;
    border:1px solid #666;
    border-radius:1rem;
    padding:1rem 2rem 1.4rem;
    cursor:default;
    margin:2rem;
    color:#000;
}
#goiken_icon{
    display:block;
    position:absolute;
    top:400px;
    right:5%;
    width:50px;
    z-index:10;
}
#goiken_icon2{
    display:block;
    position:absolute;
    top:290px;
    right:5%;
    width:50px;
    z-index:10;
}

/*画面幅1100px以下の設定--------*/
@media screen and (max-width:1100px){

    #container {
        padding: 0 3%;
    }
    .home #main {
        margin-top: 25%;
    }
    #main {
        margin-top: 100px;
    }
}

/*画面幅900px以下の設定--------*/
@media screen and (max-width:900px){

    .mainimg{
        display:none;
    }
    .home #container{
        background-image:url(../images/sp_image_top.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .info #container{
        background-image:url(../images/sp_image_info.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .medical #container{
        background-image:url(../images/sp_image_medical.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .yobou #container{
        background-image:url(../images/sp_image_yobou.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .kensin #container{
        background-image:url(../images/sp_image_kensin.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .dental #container{
        background-image:url(../images/sp_image_dental.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .doctor #container{
        background-image:url(../images/sp_image_doctor.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .access #container{
        background-image:url(../images/sp_image_access.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .link #container{
        background-image:url(../images/sp_image_link.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    .hoken #container{
        background-image:url(../images/sp_image_hoken.jpg);
        /*幅900px 高さ400px*/
        background-repeat:no-repeat;
        background-position:top right;
    }
    
    header {
        position: absolute;
        left: 3%;
        top: -1px;
    }
    header #logo {
        width: 65vw;
        margin-bottom: 1rem;
        margin-right:0;
    }
    .head_ka_new{
        float:none;
    } 
    .home #contents {
        padding-top: 220px;
    }
    /*トップページ以外のcontentsブロック*/
    #contents {
        padding-top: 280px;
    }

    /*メインメニュー--------*/
    /*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。透明(0%)から色を100%出すアニメーション指定。*/
    @keyframes menu1 {
        0% {opacity: 0;}
        100% {opacity: 1;}
    }
    /*スマホ用メニューブロック*/
    #menubar-s {
        display: block;overflow: hidden;
        position: absolute;
        top: 0px;
        left: 0px;
        border-top: 1px solid #fff;
        width: 100%;
        z-index: 10;
        animation-name: menu1;
        animation-duration: 0.5S;
        animation-fill-mode: both;
    }
    /*メニュー１個あたりの設定*/
    #menubar-s li a {
        display: block;text-decoration: none;
        padding: 15px 10px 15px 20px;
        border-bottom: 1px solid #fff;
        background: rgba(98,10,30,0.9);
        font-size: 1.6rem;
        color: #fff;
    }
    /*英語表記（飾り文字）*/
    #menubar-s li a span {
        display: block;
        font-size: 1.2rem;
    }
    /*PC用メニューを非表示にする*/
    #menubar {display: none;}

    /*３本バーアイコン設定--------*/
    /*３本バーブロック*/
    #menubar_hdr {
        display: block;
        position: absolute;
        z-index: 100;
        top: 2.5rem;
        right: 3%;
        border: 1px solid #fff;
    }
    /*アイコン共通設定*/
    #menubar_hdr.close,
    #menubar_hdr.open {
        width: 50px;
        height: 50px;
        border-radius: 10%;
    }
    /*三本バーアイコン*/
    #menubar_hdr.close {
        background: #a22b47 url(../images/icon_menu.png) no-repeat center top/50px;
    }
    /*閉じるアイコン*/
    #menubar_hdr.open {
        background: #a22b47 url(../images/icon_menu.png) no-repeat center bottom/50px;
    }

    /*header,main,sub--------*/
    header, #main, #sub {
        float: none;
        width: auto;
        overflow: hidden;
    }
    #sub #address{
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-around;
        justify-content: space-around;
    }
    #sub #address div{
        width:40%;
    }

    /*その他--------*/
    body.s-n #sub,body.s-n #side {display: none;}
    
    .banner{
        margin-bottom:2rem;
        margin-right:2rem;
        max-width:15rem;
        float:left;
    }
    .banner img{
        width:100%;
    }
    #goiken_icon{
    top:350px;
    right:5%;
    width:50px;
    }
    #goiken_icon2{
    top:370px;
    right:5%;
    width:50px;
    }
}

/*画面幅700px以下の設定-----*/
@media screen and (max-width:700px){
    /*診療案内　担当医表*/
    .doc td span{
        writing-mode: vertical-lr;
        white-space: nowrap;
    }
    
    /*文字の幅調整*/
    .scale{
        display:inherit;
        transform:scale(1,1);
    }
}

/*画面幅600px以下の設定-----*/
@media screen and (max-width:600px){

    /*mainコンテンツのh2タグ設定*/
    #main h2 {
        font-size: 2rem;
        padding: 10px 20px 10px 60px;
    }

    /*PAGE TOP（↑）設定--------*/
    body.is-fixed-pagetop .nav-fix-pos-pagetop a {
        width: 60px;
    }
    /*table1*/
    .table1 td{
        font-size:0.8em;
    }
    
    /*table4*/
    .table4 td{
        line-height:110%;
    }
    /*table5*/
    .table5 td{
        line-height:110%;
    }
    .table5 td span{
        -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
        writing-mode: vertical-lr;
    }
    .table5 td.toku span{
        -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
        writing-mode:horizontal-tb;
    }
    .table5 tr:nth-last-child(-n+8) td:nth-last-child(-n+6){
        width:1em;
    }
    .table5 tr:nth-last-child(9) td:nth-last-child(even){
        width:1em;
        height:8em;
    }
    .table5 tr:nth-last-child(9) td:nth-last-child(odd){
        width:2em;
        height:8em;
    }
    .table5 td.moji2{
        height:3em;/*2+1*/
    }
    .table5 td.moji4{
        height:5em;/*4+1*/
    }
    
    /*table6*/
    .table6 td{
        line-height:110%;
    }
    .table6 td span{
        -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
        writing-mode: vertical-lr;
    }
    .table6 td.toku span{
        -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
        writing-mode:horizontal-tb;
    }
    .table6 tr:nth-last-child(-n+7) td:nth-last-child(-n+4){
        width:1em;
    }
    .table6 tr:nth-last-child(-n+7) td:nth-last-child(5){
        width:2em;
    }
    .table6 tr:nth-last-child(-n+7) td:nth-last-child(6){
        width:1em;
    }
    .table6 td.g2{
        height:12em;
    }
    .table6 td.moji2{
        height:3em;/*2+1*/
    }
    .table6 td.moji4{
        height:5em;/*4+1*/
    }
    .table6 td.moji7{
        height:8em;/*7+1*/
    }
    /*table7*/
    .table7 td{
        line-height:110%;
    }
    /*table8*/
    .table8 td{
        line-height:110%;
    }
    /*table9*/
    .table9 td{
        line-height:110%;
    }
    .table9 td span{
        -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
        writing-mode: vertical-lr;
    }
    .table9 tr td.koumoku2{
        width:1em;
        height:5em;
    }
    .ninniku tr td:first-child{
        width:1em;
    }
    .ninniku tr td:last-child{
        width:auto;
    }
    .ninniku tr span.menu{
        display:block;
        -ms-writing-mode: tb-lr;
        -webkit-writing-mode: vertical-lr;
        -o-writing-mode: vertical-lr;
        writing-mode: vertical-lr;
        margin:0;
        line-height:100%;
        white-space: nowrap;
        height:5em;
    }
    #goiken_icon{
    top:300px;
    right:5%;
    width:50px;
    }
    #goiken_icon2{
    top:350px;
    right:5%;
    width:50px;
    }
}

/*画面幅480px以下の設定--------*/
@media screen and (max-width:480px){

    /*全体の設定--------*/
    body {
        font-size: 1.6rem;
    }
    header #logo {
        margin-right:10rem;
        width: 26.5rem;
    }
    /*トップページ以外のcontentsブロック*/
    #contents {
        padding-top: 210px;/*26%*/
    }
    /*mainコンテンツ--------*/
    /*mainコンテンツのh2タグ設定*/
    #main h2 {
        font-size: 1.8rem;
        padding: 10px 20px;
        background-position:right center;
    }
    /*mainコンテンツのh3タグ設定*/
    #main h3::first-letter {
        border-left: none;
        padding-left: 0;
    }
    /*mainコンテンツの段落タグ設定*/
    #main p {
        padding: 0px 10px 20px;
    }
    #sub {
	    font-size: 1.6rem;
    }
    #sub #address{
        display:block;
    }
    #sub #address div{
        width:100%;
    }
    footer {
	    font-size: 1.6rem;
    }
    
    /*トップページ内「お知らせ」ブロック--------*/
    /*ブロック全体の設定*/
    #new dl {
        padding-left: 10px;
        padding-right: 10px;
    }

    /*その他--------*/
    .ws,.wl {width: 94%;}
    .big1 {font-size: 1.8rem;letter-spacing: normal;}
    
    /*当院について*/
    .medical_dx{
        padding-left:2em;
    }
    
    /*診療案内　当院での取り組み*/
    .torikumi{
        margin:0 1rem 3rem;
    }
    /*診療案内　担当医表*/
    .table2 td{
        padding:5px 0;
    }
    .doyou{
    line-height:100%;
    }
    .doc tr:nth-last-child(-n+3) td:nth-last-child(-n+7){
        width:10%;
    }
    
    /*検診*/
    .gan tr td:first-child{
        width:1em;
    }
    .gantype{
        display:block;
        -ms-writing-mode: tb-lr;
        -webkit-writing-mode: vertical-lr;
        -o-writing-mode: vertical-lr;
        writing-mode: vertical-lr;
        margin:0.5em 0;
        line-height:100%;
        white-space: nowrap;
        height:7em;
    }
    
    /*医師紹介*/
    .doc_photo{
        float:none;
    }
    
    /*地図・交通案内*/
    .map dt{
        float:none;
    }
    .map dd{
        padding-left:0;
    }
    #goiken_icon{
    top:80px;
    right:3%;
    width:50px;
    }
    #goiken_icon2{
    top:80px;
    right:3%;
    width:50px;
    }
    
}

/*画面幅375px以下の設定--------*/
@media screen and (max-width:375px){
    /*全体の設定--------*/
    body {
        font-size: 1.6rem;
    }
    header #logo {
        width:24rem;
        margin-right:5rem;
    }
    .yoyaku{
        font-size:0.9em;
    }
    .direct_tel{
        font-size:0.9em;
    }
    #sub {
	    font-size: 1.5rem;
    }
    footer {
	    font-size: 1.5rem;
    }
    #menubar_hdr {
        display: block;
        position: absolute;
        z-index: 100;/*11*/
        top: 2rem;
        right: 3%;
        border: 1px solid #fff;
    }
    /*トップページ　診療時間*/
    .maru td span{
        font-size:1.6rem;
    }
    
    /*診療案内　担当医表*/
    .doc td span{
        /*line-height:100%;*/
    }
    
    /*予防接種・乳幼児健診*/
    .vaccine_teiki,
    .vaccine_nini,
    .nyuji_kensin{
        margin:0 1rem 3rem;
        width:calc(100% - 2rem);
    }
    /*table5*/
    .table5 td.toku span{
        -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
        writing-mode: vertical-lr;
    }
    .table5 td.toku{
        height:8em;/*7+1*/
        width:2em;
    }
    /*table6*/
    .table6 td.toku span{
        -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
        writing-mode: vertical-lr;
    }
    .table6 td.toku{
        height:8em;/*7+1*/
        width:2em;
    }
    #goiken_icon{
    top:80px;
    right:3%;
    width:40px;
    }
    #goiken_icon2{
    top:80px;
    right:3%;
    width:40px;
    }
}

/*画面幅320px以下の設定--------*/
@media screen and (max-width:320px){
    
    body {
        font-size: 1.5rem;
    }
    .yoyaku{
        font-size:0.85em;
    }
    .direct_tel{
        font-size:0.85em;
    }
    /*予約・受付方法*/
    .table1 td{
        font-size:0.9em;
    }
    
}
