@media only screen and (max-width:730px){
#device { display:block;}
#device p.pc_btn { display:none;}
#device p.sp_btn {display:block; }
}

@media only screen and (max-width:700px){

body { min-width:400px; font-size:100%;}
#header, #content{ width:100%;}
#footer { width:auto; text-align:center; }

#wrapper { background:#FFF; border-top:none; }
#base { width:auto; margin:0 !important;}

.pc { display:none;}
.sm { display:block;}

/*====================================================================================================
  HEADER
====================================================================================================*/
#header { display:none; }

/*====================================================================================================
  CONTENT
====================================================================================================*/
#content {}

/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer {}
#footer ul li { float:none; }
#footer ul li.add > ul { margin:20px 0 0; }

/*====================================================================================================
  PAGE 
====================================================================================================*/
#page,
#page a { width:50px; height:80px; }
#page { position: fixed; bottom:0; right:5px;}

/*====================================================================================================
  TOPPAGE 
====================================================================================================*/
#toppage {}

/* MAINIMG */
#toppage .mainimg { padding:10% 0; }
#toppage .mainimg::before { width:178px; height:88px; bottom:0; left:-8px; }
#toppage .mainimg::after { width:100px; height:55px; bottom:-2%; right:1%; }
#toppage .mainimg img { width:50%; float:none; margin:auto; }
#toppage .mainimg h2 { font-size:110%; padding:0; width:100%; margin:5% auto 10%; }


/* NEWS */
#toppage .news { width:90%; margin:auto auto 5%; padding-top:15%; }
#toppage .news h3 { font-size:150%; width:95%; margin:auto auto 7%; background-position:left 15%, right 15%; background-size:20px 20px;  }
#toppage .news .box_main { padding:5% 0; background-size:280%; }
#toppage .news .news_list { float:none; width:100%; height:220px; margin-bottom:5%; }
#toppage .news .news_list ul { padding:3% 4%; line-height:150%; }
#toppage .news .news_list ul li { float:none; }
#toppage .news .b_more { background:#ee847d; border-radius:25px; width:100%; height:53px; float:none; }
#toppage .news .b_more a { 
	text-indent:0;
	background:url(/kms/kanwa/common/image/arrow_right-wh.png) no-repeat 95% center;
	padding:3%;
	text-decoration:none;
	color:#fff;
	font-size:125%;
	text-align:center; 
}


/* LINK */
#toppage .link {
	background-size:cover;
	height:auto;
	padding:40px 0;
}
#toppage .link .box_main .box { width:48%; height:auto; padding:0; margin:0 1%; }
#toppage .link .box_main .box a {  }
#toppage .link .box_main .box img { width:100%; }
#toppage .link .box_main .box p.b_more {
	width:75%;
	padding:2% 0;
	font-size:75%;
	background:#EE847D url(../image/arrow_right-sm.png) no-repeat 95%;
}

/* BANNER */
#toppage .banner { width:90%; margin:0 auto; }
#toppage .banner ul li { margin:1% !important; width:48%; }
#toppage .banner ul li:nth-child(odd) { margin-right:5%; }
#toppage .banner ul li img { width:100%; }




/*====================================================================================================
  SUB PAGE
====================================================================================================*/
/* SUB LOGO */
.sub_logo {  padding-top:5%;  position:relative;}
.sub_logo::after {
	content:"";
	position:absolute;	
	background:url(/kms/kanwa/common/image/head_bg.png) no-repeat 85% bottom; 
	background-size:cover;
	width:100%;
	height:145px;
	top:0;
	left:0;
}
.sub_logo h2 {
	background:url(/kms/kanwa/common/image/logo.png) no-repeat center;
	background-size:100%;
	width:170px;
	height:170px;
	margin:auto;
	text-indent:-9999px;
	z-index:9999;
	position:relative;
}
	
/* PAN */
.pan { display: none;}

/* SB TITLE */
h2.sb_tit { width:100%; background-position:bottom; padding:40px 0 45px; }

/*---------------------*/	

#subpage { 
    margin:0 auto !important;
    width:100%;
    box-sizing:border-box;
}

/* MIDASHI */
#subpage h3 { margin:0 2% 20px; font-size: 120%; background-size:280%; }
#subpage h4.mid { margin:0 2% 20px; font-size: 110%;}
	
#subpage h4.mid.mid-small { margin:0 2% 20px; font-size: 90%;}
	
#subpage h4 { margin:0 2% 20px; font-size: 100%;}

/* CATCH COPY */
#subpage .catch { margin:0 2% 20px; font-size: 120%;}

/* COMMON */
#subpage .comment1 { margin:0 2% 20px;}
#subpage .comment1 li{ text-indent: -3em; padding-left: 3em;}
#subpage .comment2 { margin:0 2% 20px; padding:5%;}
#subpage .comment3 { margin:0 2% 20px; padding:5%;}

/* HYOU */
#subpage table.hyou { margin:0 2%; width:96%; table-layout:auto;}
#subpage table.hyou th,
#subpage table.hyou td{
	table-layout:auto !important;
	display:block !important;
	padding:5% !important;
	width:90% !important;
	height:auto !important;
}
#subpage table.pc_tit { display:none;}
#subpage table.hyou .sm_mid { display:block;}

/* 2RETU */
#subpage table.hyou2 td table {}
#subpage table.hyou2 td table th,
#subpage table.hyou2 td table td {
	display:table-cell !important;
	padding:5% !important;
	width:auto !important;
	height:auto !important;
}

/* 3RETU */
#subpage table.hyou3 { border-top:1px solid #DDD;}
#subpage table.hyou3+table.hyou3 { border-top:1px solid #DDD;}

/* 4RETU */
#subpage table.hyou4 {border-top:1px solid #DDD;}
#subpage table.hyou4+table.hyou4 { border-top:1px solid #DDD;}

/* 5RETU */
#subpage table.hyou5 { border-top:1px solid #DDD;}
#subpage table.hyou5+table.hyou5 { border-top:1px solid #DDD;}

/* FREE */
#subpage .pc_table { display:none;}
#subpage .sm_table { display:block;}
#subpage .sm_table table td { padding:5% !important;}
	
/* FREE2 */
#subpage table.free { margin:20px 2% 0; border-top:1px solid #DDD !important; border-bottom:1px solid #DDD !important;}
#subpage table.free td {
	table-layout:auto !important;
	display:block !important;
	padding:5% !important;
	width:90% !important;
	height:auto !important;
	border-bottom:none;
}
#subpage table.free td:last-child {border-bottom:none;}
#subpage table.free td div.sm {display:block !important; text-align:center; border-bottom:none !important /*1px solid #1F266C*/;}
#subpage table.free tr:nth-child(1) td:nth-child(1),
#subpage table.free tr:nth-child(1) td:nth-child(3) {border-bottom:1px dotted #DDD !important;}

/* FIX */
#subpage .fix_table {font-size:1vw;}
#subpage .fix_table table { padding: 0;}
#subpage .fix_table table th,
#subpage .fix_table table td { padding:2%;}

/* LIST */
#subpage ul.list-ul { margin:20px 2%;}

/* LINK */
#subpage .link2,
#subpage .link3,
#subpage .link4 {width:auto;}
#subpage .file2,
#subpage .file3,
#subpage .file4 {width:auto;}

/* EMBEDDED */
#subpage .embedded { margin:0 2% 20px;}
#subpage .embedded iframe { width: 100%; height: 300px;}

/* PHOTO BOX */
#subpage ul.photo_box { clear:none !important; float:none !important; margin:2%; width:96% !important; text-align:center;}
#subpage ul.g1 li,
#subpage ul.g2 li,
#subpage ul.g3 li,
#subpage ul.g4 li,
#subpage ul.g5 li{ margin:15px 0; width:100%; text-align:center;}
#subpage ul.g1 li.photo img,
#subpage ul.g2 li.photo img,
#subpage ul.g3 li.photo img,
#subpage ul.g4 li.photo img,
#subpage ul.g5 li.photo img { max-width:240px !important; height:auto !important;}

/* YOUTUBE */
#subpage .youtube {position: relative; width: 100%;}
#subpage .youtube iframe { width: 100% !important;  height: 100% !important;}

/* BOX */
#subpage .temple-box { margin:0 2%; width:96%;}
#subpage .temple-box:after { display:none;}
#subpage .box1,
#subpage .box2 { float:none;margin: 0 2% 20px; width:96%;}
#subpage .box1:after,
#subpage .box2:after { display:none;}
#subpage .box1 .catch { margin:0 0 20px !important;}
#subpage .box1 h4,
#subpage .box2 h4 { margin:10px 0; font-size:100%;}
#subpage .photo-c { float:none; padding:0; width:100%;}
#subpage .photo-c img { max-width:100% !important; height:auto !important; padding:0 0 20px;}
#subpage .photo-l,
#subpage .photo-r { float:none; padding:0; width:100%; text-align:center;}
#subpage .photo-l img,
#subpage .photo-r img { max-width:100% !important; height:auto !important; padding:0 0 20px;}

/* LINE */
#subpage .line {
	margin:0 2% 20px;
	height:50px;
	background-size:100% auto;
}

/* BUTTON */
#subpage .btn { float:none; margin:1% 2%;}
#subpage .b1,
#subpage .b2,
#subpage .b3 { width:auto;}

/* COLUMNBOX */
#subpage .column {}
#subpage .column:after { display:none;}
#subpage .column .col2 { float:none; margin: 2%; width: 96%;}
#subpage .column .col3 { float:none; margin: 2%; width: 96%;}

/* FLOW */
#subpage ul.flow_box {}
#subpage ul.flow_box:after { display:none;}
#subpage ul.flow_box li { float:none; width:96% !important;}
#subpage ul.flow_box li a:hover {}
#subpage .flow1+.flow1 { margin-top:30px;}
#subpage .flow1+.flow1:before { top:-30px;}
#subpage ul.flow_box li+li { margin-top:30px;}
#subpage ul.flow_box li+li:before {
	position:absolute;
	top:-30px;
	left:0;
	display:block;
	clear:both;
	content:"";
	width:100%;
	height:30px;
	background:url(/kms/kanwa/common/image/flow_bg_sm.png) no-repeat center center;
}
#subpage .flow1a+.flow1a {margin-top:30px;}
#subpage .flow1a+.flow1a:before { top:-30px; width:100%;}
#subpage .flow1a li+li { margin-top:5px !important; padding: 0 !important;}


/*====================================================================================================
  組織について
====================================================================================================*/
#about .re_box { }
#about .b_more { 
	position:static; 
	margin:auto;
	width:96%; 
	text-align:center;
	border-radius:5px;
}
#about .b_more a { padding:15px;}

/*====================================================================================================
  組織について
====================================================================================================*/
#committe { width:90%; margin:0 auto; }
#committe table.hyou tr { display: block !important; padding:5% 2% !important;}
#committe table.hyou tr td { position: relative !important; padding: 5px 0 5px 100px !important; width: auto !important; text-align: left !important;} 
#committe table.hyou tr td+td { margin-top: 5px;} 
#committe table.hyou tr td:before {
	display: block;
	content: attr(data-label);
	padding:2px 0;
	position: absolute; left:10px; top:5px;
	width:80px;
	height:25px; 
	font-size: 80%;
	text-align: center;
	color: #fff;
	background: #EABBBB;
}


/*====================================================================================================
  地域マップ
====================================================================================================*/
#map { width:90%; margin:0 auto; }

#map .map_all { width:100%; margin:20px 0; }
#map .map_all img { width:100%; }
#map ul { width:100%; }
#map ul li { border-radius:7px; margin-top:7px; }
#map ul li:hover { opacity:0.7; }
#map ul li#map1 { background:#BAD27F; }
#map ul li#map2 { background:#F0BC70; }
#map ul li#map3 { background:#EE847D; }

#map ul li#map5 { background:#9CC4E4; }
#map ul li a {
	display:block;
	text-decoration:none;
	color:#FFF;
	padding:20px 0;
	text-align:center;
	letter-spacing:2px;
	font-family:"Noto Sans JP";
	font-size:107%;
	font-weight:500;
	background:url(/kms/kanwa/common/image/arrow_right-wht.png) no-repeat 95%;
}

#map table.hyou tr { display: block !important; padding:5% 2% !important;}
#map table.hyou tr td { position: relative !important; padding: 5px 0 5px 100px !important; width: auto !important; text-align: left !important;} 
#map table.hyou tr td+td { margin-top: 5px;} 
#map table.hyou tr td:before {
	display: block;
	content: attr(data-label);
	padding:2px 0;
	position: absolute; left:10px; top:5px;
	width:80px;
	height:25px; 
	font-size: 80%;
	text-align: center;
	color: #fff;
	background: #EABBBB;
}



/*====================================================================================================
  緩和ケアについて
====================================================================================================*/
#care {}
#care ul#anchor { width:90%; margin:0 auto; }
#care ul#anchor li { float:none; width:100%; margin-top:8px; }
#care ul#anchor li+li { margin-left:0; }
#care ul#anchor li a { text-align:left; padding:15px 20px; background-position:95%; }

#care table.hyou tr { display: block !important; padding:5% 2% 9% 2%!important;}
#care table.hyou tr td { position: relative !important; padding: 5px 0 5px 110px !important; width: auto !important; text-align: left !important;} 
#care table.hyou tr td+td { margin-top: 5px;} 
#care table.hyou tr td:before {
	display: block;
	content: attr(data-label);
	padding:2px 0;
	position: absolute; left:10px; top:5px;
	width:90px;
	height:25px; 
	font-size: 80%;
	text-align: center;
	color: #fff;
	background: #EABBBB;
}
#care table.hyou tr td.byosyo:before {margin-right:10px; height:45px;white-space: pre-line;}

/*====================================================================================================
  研修について
====================================================================================================*/
#training { width:90%; margin:0 auto; }

#training .comment1 { margin:0 0 20px; }
#training h3 { width:100%; margin:0 0 20px; }
#training .hyou { width:100%!important; margin:0!important; }
#training table.hyou tr { display:table-row; }
#training table.hyou th,
#training table.hyou td { display:block!important; padding:15px!important; }
#training table.hyou th { border-right:none; padding-bottom:0!important; }
#training table.hyou td { padding-top:0!important; text-align:justify; }

	#training ul#anchor li{ width:100%; }

/*====================================================================================================
  188bet体育_188bet赌场-【平台官网】
====================================================================================================*/
#news { padding:0 5%; }
#news ul li { float:none; }

/*====================================================================================================
  PAGE TITLE
====================================================================================================*/
}
