/* Responsive Styles
================================================== */

/* All size smaller than 1301 */
@media only screen and (max-width: 1300px) {
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page {
		/*max-width: 970px;*/
		max-width: 95%;
	}
	#sticky_header .container {
		max-width: 100%;
	}
	footer .container {
		max-width: 1100px;
	}
	.boxed-layout .container,
	.boxed-layout-small .container {
		max-width: 904px;
	}
	.four-column-full-width {
		width: 33.33%;
	}
}

/* All size smaller than 1151 */
@media only screen and (max-width: 1150px) {
	#news_wrap .news_inner {
	    max-width: 93.5%;
	}
	footer .container {
		max-width: 95%;
	}
	.footer_wrap .information {
		padding-left: 40px;
	}
}
/* All size smaller than 1101 */
@media only screen and (max-width: 1100px) {
	.page_main_wrap {
	    margin: 0 calc(50% - 50vw);
	    width: 100vw;
	}
	.news_main_wrap,
	.section_main_wrap {
		width: 100vw;
		margin: 0 calc(50% - 50vw) 80px;
	}
}
/* All size smaller than 1024
================================================== */
@media only screen and (max-width: 1023px) {
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page,
	#site-title a img {
		/*width: 708px;*/
		max-width: 95%;
	}
	.boxed-layout #page,
	.boxed-layout-small #page {
		overflow: hidden;
	}
	.boxed-layout .container,
	.boxed-layout-small .container,
	.boxed-layout #site-title a img {
		width: 668px;
	}
	.widget-title {
		font-size: 22px;
		line-height: 30px;	
	}
	.slider-content .slider-title a {
		font-size: 24px;
		line-height: 31px;
	}
	.slider-content .slider-text h3 {
		font-size: 15px;
		line-height: 22px;
	}
	#primary,
	#secondary {
		margin-bottom: 50px;
		padding: 0px;
		float: none;
		width: 100%;
		border: none;
	}
	.left-sidebar-layout #primary {
		float: none;
		padding-left: 0px;
	}
	.left-sidebar-layout #secondary {
		float: none;
		padding-right: 0px;
		border: none;
	}
	/* ----- Column ----- */
	.column {
		margin: 0 -15px;
	}
	.two-column,
	.three-column,
	.four-column {
		padding: 0  15px 40px;
	}
	.two-column,
	.four-column,
	.three-column,
	.four-column-full-width,
	.business-sidebar .three-column,
	.boxed-layout-small .four-column-full-width {
		width: 50%;
	}
	.widget_about_us .two-column,
	.widget_latest_blog .two-column {
		padding: 0 0 30px;
		width: 100%;
	}
	.three-column:nth-child(3n+4),
	.four-column:nth-child(4n+5),
	.column-2:nth-child(2n+3),
	.column-3:nth-child(3n+4),
	.column-4:nth-child(4n+5) {
 		clear: none;
	}
	.three-column:nth-child(2n+3),
	.four-column:nth-child(2n+3) {
 		clear: both;
	}

	#colophon .widget-area {
		margin: 0;
		display: block;
	}
	#colophon .column-1,
	#colophon .column-2,
	#colophon .column-3,
	#colophon .column-4 {
		border-right: none;
		width: 100%;
		float: none;
		padding: 0;
		display: block;
	}
	a.footer_btn {
		width: 100%;
	}
	.main-navigation a {
	    padding: 10px 9px;
	}
	.top_message_wrap .covid19 .br {
		display: inline;
	}
}
/* All Mobile Screen ( smaller than 931px )
================================================== */
@media only screen and (max-width: 930px) {
	.columntable-wrap {
		overflow-x: scroll;
		padding: 0 20px;
		box-sizing: border-box;
	}
	table.column02_4107,
	table.column02_4112,
	table.column06_4276 {
		min-width: 1000px;
		width: 100%;
		white-space: nowrap;
	}
}
/* All Mobile Screen ( smaller than 891px )
================================================== */
@media only screen and (max-width: 890px) {
	.pc_menu {
		display: none;
	}
	.sp_menu {
		display: block;
	}
	#header_right div.tel {
		line-height: 1.3;
	}
	.tel strong {
	    padding-right: 0px;
	}
	#header_right img {
	    top: 5px;
	}
	.reha_tel {
		display: block;
	}
	/* ----- Responsive Navigation ----- */
	#sticky_header-sticky-wrapper {
		height: auto !important;
	}
	#sticky_header {
		/*position: relative !important;*/
	}
	.is-sticky #sticky_header {
		top: 0 !important;
	}
	.nav-site-title {
		display: none;
	}
	.menu-toggle {
		background-color: rgba(0, 0, 0, 0);
		border: 0 none;
		color: #666;
		cursor: pointer;
		display: block;
		font-size: 0;
		/*margin: 0 auto;*/
		margin: 0;
		padding: 10px 0;
		text-align: center;
		/*width: 300px;*/
	}
	.line_box {
		float: left;
		width: 32px;
		padding: 0 0 0 10px;
	}
	.line-menu {
		float: left;
	}
    .line-one, 
    .line-two, 
    .line-three {
		backface-visibility: hidden;
		display: block;
		height: 3px;
		margin: 5px auto;
		-webkit-transition: all 0.3s;
	    	-moz-transition: 	all 0.3s;
	    	-o-transition: 		all 0.3s;
    	transition: 		all 0.3s;
		width: 100%;
	}
    .line-menu {
		backface-visibility: hidden;
		display: block;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		margin: 0;
		padding: 0 10px;
		-webkit-transition: all 0.3s;
	    	-moz-transition: 	all 0.3s;
	    	-o-transition: 		all 0.3s;
    	transition: 		all 0.3s;
	}
	.menu-toggle.on .line-one {
			-moz-transform: rotate(-45deg) translate(-5px, 5px);
	        -o-transform: rotate(-45deg) translate(-5px, 5px);
	        -webkit-transform: rotate(-45deg) translate(-5px, 5px);
    	transform: rotate(-45deg) translate(-5px, 5px);
	}
	.menu-toggle.on .line-two {
		opacity: 0;
			-moz-opacity: 0;
			filter:alpha(opacity=0);
	}
	.menu-toggle.on .line-three {
			-moz-transform: rotate(45deg) translate(-6px, -6px);
	        -o-transform: rotate(45deg) translate(-6px, -6px);
	        -webkit-transform: rotate(45deg) translate(-6px, -6px);
    	transform: rotate(45deg) translate(-6px, -6px);
	}
	.menu {
		display: none;
	}
	.widget_nav_menu .menu {
		display: block;
	}
	.toggled-on .menu {
		display: block;
	}
	.main-navigation {
		float: none;
		padding: 0;
	}
	.sp_menu .main-navigation ul li:nth-last-child(-n+2) a:hover,
	.sp_menu .main-navigation ul li:nth-last-child(-n+2):hover > a {
	    color: #fff;
	}
	.main-navigation > ul > li {
		position: inherit;
		width: 100%;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin-left: 0;
		padding: 0 20px;
	}
	.main-navigation > ul > li::before {
		visibility: hidden;
	}
	/*電話番号2個背景*/
	.main-navigation > ul > li:nth-last-child(-n+2) {
		background-color: #FF7C68;
	}
	.main-navigation a {
		float: none;
		padding: 10px 0;
		height: inherit;
	}

	.sub-menu-toggle {
		background-color: transparent;
		border: none;
		color: #fff;
		float: right;
		/*width: 25px;
		height: 25px;*/
		text-align: center;
		line-height: 10px;
		margin: 15px 0 0 0;
		cursor: pointer;
		position: relative;
		z-index: 9;
	}

	.sub-menu-toggle:hover, 
	.sub-menu-toggle:focus {
		background-color: transparent;
		border: none;
	}

	/* ----- Dropdown ----- */
	.main-navigation ul li:hover ul {
	  	top: auto;
	}

	.main-navigation ul li ul {
		display: block;
		background-color: transparent;
	  	top: auto;
	  	width: 100%;
	  	left: 40px;
	  	display: block;
		opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	  	position: static;
	  	box-shadow: none;
	  	transition: none;
	  	margin: 10px 0 10px 0;
	  	overflow: hidden;
	}
	.main-navigation ul li ul li {
		/*float: none;*/
		float: left;
		margin: 0;
		position: relative;
	    text-align: left;
	    /*width: 100%;*/
	    width: 50%;
	    z-index: 1;
	    display: block;
		opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	}
	.main-navigation ul li ul li {
    	/*border-top: 1px solid rgba(0, 0, 0, 0.1);*/
	}
	.main-navigation ul li ul li:before {
		position: static;
	}
	.main-navigation ul li ul li ul {
		left: 160px;
		display: block;
		opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	}
	#site-navigation ul ul ul a {
		padding-left: 40px;
	}
	.main-navigation ul ul li:hover ul {
		top: 0;
		display: block;
	  	opacity: 1;
		-moz-opacity: 1;
		filter:alpha(opacity=100);
	  	visibility:visible;
	}
	.main-navigation li li.menu-item-has-children > a:after, 
	.main-navigation li li.page_item_has_children > a:after {
		content: "\f107";
	}

	.main-navigation li.menu-item-has-children > a:after, 
	.main-navigation li.page_item_has_children > a:after {
		content: none;
	}
	.footer_wrap {
		flex-direction: column;
	}
	.footer_wrap .map {
		order: 2;
		max-width: 890px;
	    width: 100%;
	    margin: 0 auto;
	}
	.footer_wrap .information {
		order: 1;
		max-width: 890px;
	    width: 100%;
	    padding-left: 0px;
	    margin-bottom: 50px;
	}

	#footer_bottom {
		background-color: #00346C;
		padding: 40px 0;
	}
	.footer_bottom_wrap {
		flex-direction: column;
		text-align: center;
	}
	.footer_rogo {
		order: 1;
		width: 200px;
		margin: 0 auto 50px auto;
	}
	.footer_nav {
		order: 3;
		padding: 0 0 0 0px;
	}
	.footer_nav ul {
		margin: 0;
		padding: 25px 0;
		font-size: 15px;
	}
	.copyright {
		order: 4;
		color: #89A2CD;
		font-size: 12px;
	}
	.footer_banner {
		order: 2;
		width: 300px;
		margin: 0 auto 20px auto;
		padding-top: 0px;
	}
	a.footer_btn {
		width: 60%;
	}
}
/* All Mobile Screen ( smaller than 768px )
================================================== */
@media only screen and (max-width: 767px) {
	header .container {
		margin: 0 auto;
		width: 100%;
		padding: 20px;
		position: relative;
	}
	#sticky_header .container {
		width: 100%;
	}
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page {
		/*width: 460px;*/
		width: 95%;
	}
	.boxed-layout .container,
	.boxed-layout-small .container {
		width: 440px;
	}
	.comments-title,
	#respond h3#reply-title {
		font-size: 26px;
		line-height: 32px;
	}
	#main h1,
	#main h2,
	#main h3,
	#main h4,
	#main h5,
	#main h6 {
		padding-bottom: 10px;
	}
	hr {
		margin-bottom: 30px;
	}
	input[type="text"],
	input[type="email"],
	input[type="search"],
	input[type="password"],
	textarea,
	input[type="reset"],
	input[type="button"],
	input[type="submit"] {
		margin-bottom: 20px;
	}
	input.s {
		margin: 0;
	}	
	.boxed-layout #colophon,
	.boxed-layout-small #colophon {
		margin-bottom: 20px;
	}
	#site-branding {
		padding: 10px 40px 0px 0;
	}
	#header_right div.lg {
		padding-right: 0px;
	}
	#header_right div.tel {
		display: none;
	}

	.icon_tel2 {
		position: relative;
		top: 5px;
		width: 15px;
		padding-right: 5px;
	}
	.boxed-layout #site-branding,
	.boxed-layout #site-title a img,
	.boxed-layout-small #site-branding,
	.boxed-layout-small #site-title a img {
		max-width: 400px;
	}
	.header-search,
	.header-search-x {
		display: none;
	}

	.main-slider .image-slider {
		min-height: 400px;
	}
	.slider-content {
		width: 90%;
	}
	.slider-content .btn-default {
		font-size: 12px;
		margin: 10px 5px 20px;
		padding: 4px 12px;
	}
	#content {
		padding-top: 0px;
	}
	/* ----- Column ----- */
	.column {
		margin: 0;
	}
	.two-column,
	.three-column {
		padding: 0 0 30px;
		width: 100%;
	}
	.four-column-full-width,
	.boxed-layout-small .four-column-full-width,
	#primary .three-column, 
	#primary .four-column-full-width, 
	#primary .four-column {
		margin: 0;
		width: 100%;
	}
	.four-column {
		padding: 0 10px 30px;
		width: 50%;
	}
	.three-column:nth-child(2n+3) {
 		clear: none;
	}
	.three-column-post .post-container,
	.four-column-post .post-container {
		width: 50%;
	}
	#main .post {
		/*padding-bottom: 40px;*/
	}
	.small_image_blog .post-featured-image {
		width: 100%;
	}
	.header-social-block,
	.top-header .widget_contact {
		display: none;
	}
	#primary .post:not(:nth-child(1)) {
		padding: 0;
		width: 100%;
	}
	#main .sticky {
		padding: 20px 20px 30px;
	}
	#primary .post.sticky:not(:nth-child(1)) {
		margin: 0 0 50px;
		width: 100%;
	}
	#wp_page_numbers,
	.wp-pagenavi,
	#main ul.default-wp-page,
	.pagination {
		margin-bottom: 40px;
	}
	#wp_page_numbers ul li.page_info,
	.wp-pagenavi .pages {
		display: none;
	}
	.widget {
		margin-bottom: 40px;
	}
	.widget_custom-tagcloud {
		margin-bottom: 32px;
	}
	.widget_posts {
		margin-bottom: 20px;
	}
	#colophon .widget_posts {
		margin-bottom: 20px;
	}
	.site-info #site-branding {
		max-width: 100%;
	}
	.news_main_wrap,
	.section_main_wrap {
		margin: 0 calc(50% - 50vw) 50px;
	}
	.pc_on {
		display: none;
	}
	.sp_on {
		display: inline;
	}
	.br {
		display: inline;
	}
	#front-page_wrap {
		position: relative;
		bottom: 30px;
	    margin-bottom: -30px;
	}
	#top_contents_wrap a {
		width: 48%;
		font-size: 14px;
		padding: 15px 5px 25px 5px;
	}
	.top_message_wrap a.covid19 {
		width: 100%;
	}
	.special_message {
		padding: 20px 20px;
	}
	.news_contents_wrap .tab-switch:checked+.tab-label+.news_contents,
	.news_contents_wrap_en .tab-switch:checked+.tab-label+.news_contents {
		padding: 20px 20px 30px 20px;
	}
	.news_contents_wrap .news_contents ul li a,
	.news_contents_wrap_en .news_contents ul li a {
		padding: 10px 0 0 0;
		display: block;
	}
	.topics_inner div.topics_box {
		width: 48%;
		margin: 0 0% 5% 0;
	}
	.topics_image img {
		height: 30vw;
	}
	#hospitalization_mainnav_wrap a {
		width: 48%;
	}
	#section_mainnav_wrap a {
		width: 48%;
	}
	#section_subnav_wrap a {
		width: 49.5%;
		padding: 10px 5px;
	}
	#section_subnav_wrap div {
		width: 49.5%;
	}
	#custom_doctorguide_wrap div.doctorguide_photo {
		width: 40%;
	}
	#custom_doctorguide_wrap div.doctorguide_day {
		width: 100%;
	}
	.gray_frame {
		padding: 20px 20px;
	}
	.newyear_message {
		padding: 30px 30px;
	}
	/*主な疾患と治療法記事*/
	.textarea_2 {
		height: auto;
	}
	.flow_wrap div.flow_box div.text div.prp_flow-2_wrap {
		  	-webkit-flex-wrap: wrap;
		  	-ms-flex-wrap: wrap;
		  flex-wrap: wrap;
		  row-gap: 40px;
	}
	.flow_wrap div.flow_box div.text div.prp_flow-2_wrap div.flow-2_box {
		width : calc(65% / 1 - 0px) ;
		
	}
	.flow_wrap div.flow_box div.text {
	    width: 92%;

	}
}
@media only screen and (max-width: 720px) {
	.hospitalization-cost_wrap .tab-label {
	    width: 24.5%;
	}
	.hospitalization-cost_wrap .tab-label:nth-of-type(4) {
		margin-right: 0;
	}
	.hospitalization-cost_wrap .cost_contents table {
		min-width: 720px;
		width: 100%;
		border-collapse: collapse;
		white-space: nowrap;
	}
	.socialwork-cooperation_wrap .cooperation_contents table {
		min-width: 720px;
		width: 100%;
		border-collapse: collapse;
		white-space: nowrap;
	}
	.hospitalization_fee_wrap table {
		min-width: 720px;
		width: 100%;
		border-collapse: collapse;
		white-space: nowrap;
	}
	#section_subnav_wrap div {
		display: none;
	}
}
/* All Mobile Screen ( smaller than 601px )
================================================== */
@media only screen and (max-width: 600px) {
	.top_banner_wrap {
		display: block;
	}
	.top_banner_wrap div {
		width: 60%;
		margin: 0 auto 10px auto;
	}
	#custom_doctorguide_wrap div.doctorguide_photo {
		width: 100%;
	}
	.post-featured-image img {
		width: 100%;
	}
	.prp_window_wrap {
	  padding: 35px 20px 20px 20px;
	}

	.prp_window_wrap div.title {
		padding: 2px 25px;
		font-size: 1.2em;
	}

	.prp_window_wrap div.phone br {
		display: inline;
	}
}
/* All Mobile Screen ( smaller than 590px )
================================================== */
@media only screen and (max-width: 589px) {
.news_contents_wrap_en .tab-label:not(:first-of-type) {
	margin-right: 0px;
}
.news_contents_wrap_en .tab-label:last-of-type {
	margin-top: 5px;
}
}
/* All Mobile Screen ( smaller than 521px )
================================================== */
@media only screen and (max-width: 520px) {
	a.footer_btn {
		width: 100%;
	}
	.socialwork-cooperation_wrap .tab-label {
	    width: 33%;
	}
	.socialwork-cooperation_wrap .tab-label:nth-of-type(4),
	.socialwork-cooperation_wrap .tab-label:nth-of-type(8) {
		margin-right: 0.5%;
	}
	.socialwork-cooperation_wrap .tab-label:nth-of-type(3),
	.socialwork-cooperation_wrap .tab-label:nth-of-type(6),
	.socialwork-cooperation_wrap .tab-label:nth-of-type(9) {
		margin-right: 0;
	}
	.flow_wrap div.flow_box div.text div.prp_flow-2_wrap div.flow-2_box {
		width : calc(100% / 1 - 0px) ;
		
	}
	.flow_wrap div.flow_box div.text {
	    width: 88%;
        padding-right: 10px;

	}
}
/* All Mobile Screen ( smaller than 481px )
================================================== */
@media only screen and (max-width: 480px) {
	.container,
	.boxed-layout #page,
	.boxed-layout-small #page {
		/*width: 300px;*/
		width: 95%;
	}
	header .container {
	    padding: 15px 10px;
	}
	.boxed-layout .container,
	.boxed-layout-small .container {
		width: 280px;
	}
	.boxed-layout #colophon,
	.boxed-layout-small #colophon {
		margin-bottom: 10px;
	}
	#site-branding {
		max-width: 250px;
		padding: 10px 10px 0 0;
	}
	#site-title a img {
		max-width: 265px;
	}
	.boxed-layout #site-branding,
	.boxed-layout #site-title a img,
	.boxed-layout-small #site-branding,
	.boxed-layout-small #site-title a img {
		max-width: 240px;
	}

	/* ----- Column ----- */
	.column {
		margin: 0;
	}
	.four-column {
		padding: 0 0 30px;
		width: 100%;
	}
	.four-column:nth-child(2n+3) {
		clear: none;
	}
	.two-column-post .post-container,
	.three-column-post .post-container,
	.four-column-post .post-container {
		width: 100%;
	}
	.btn-default {
		padding: 6px 18px;
		font-size: 13px;
	}
	.top_banner_wrap div {
		width: 75%;
	}
	.top_message_wrap .covid19 {
	    font-size: 15px;
	}
	#hospitalization_mainnav_wrap a {
		font-size: 14px;
		padding: 10px 5px;
	}
	#section_mainnav_wrap a {
		font-size: 14px;
		padding: 10px 5px;
	}
	.gray_frame .phone {
		margin: 0 auto;
		text-align: left;
	}
	.gray_frame span.tel {
		color: #66A57B;
		text-decoration: underline;
		padding-right: 0px;
	}
	.gray_frame .phone br {
		display: block;
	}
}
/* All Mobile ( smaller than 410px )
================================================== */
@media only screen and (max-width: 409px) {
	#section_subnav_wrap a {
		font-size: 14px;
	}
}
/* All Mobile ( smaller than 320px )
================================================== */
@media only screen and (max-width: 319px) {
	.container,
	.boxed-layout #page,
	.boxed-layout .container,
	.boxed-layout-small #page,
	.boxed-layout-small .container {
		width: 96%;
	}
}