.sp:not(.pc) ,.tb:not(.pc){
  display: none !important;
}
/* ヘッダ */

.table dl dt {
	width: 180px;
	color: #06C;
}

.table dl dd {
	width: 432px;
}
h3 + p {
   margin-top: 30px;
}

#header_inner {
	position: relative;
	width: 100%;
	max-width: 965px;
	height: 195px;
}
#header h1 {
	position: absolute;
	width: 213px;
	margin: 0 0 0;
	padding: 0;
    top: 20px;
    left: 15px;
}

#header_menu {
	width: 100%;
	margin: 0 0 0;
}
#header_menu {
	background: url(/img/common/header/upper_logo.png) right 15px no-repeat;
}

.svg #header_menu {
	background: url(/img/common/header/upper_logo.svg) right 15px no-repeat;
}

ul#header_upper_menu {
margin: 0px 0 0 0;
    padding: 50px 0 0;
    height: 36px;
    width: 230px;
    float: right;
}

ul#header_upper_menu li {
	float: left;
	margin-left: 10px;
}

ul#header_lower_menu {
	clear: both;
	margin: 0;
	padding: 9px 0 0;
	display: flex;
	justify-content: space-between;
}

ul#header_lower_menu li {
	flex: 0 1 20%;
	height: 73px;
	margin: 0;
	padding: 0;
}

ul#header_lower_menu li a {
	display: block;
	height: 73px;
	margin: 0;
	padding: 0;
	position: relative;

}
ul#header_lower_menu li a.active::before {
	content: "";
    border-right: 6px solid transparent;
    border-bottom: 8px solid #ff6600;
    border-left: 6px solid transparent;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
	
}
ul#header_lower_menu li a::after {
	content: "";
	width: 1px;
	background: #ccc;
	display: block;
	height: 45px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 12px;right: 0;
}
ul#header_lower_menu li:last-child a::after {
	content: "";
	width: 0;
}
ul#header_lower_menu li a img{
	display: block;
	margin: 0 auto;
	padding: 0;
}


@media (min-width: 940px) {
#header h1 {
	position: relative;
	float: left;
	width: 213px;
	margin: 100px 0 0;
	padding: 0;
	top: 0;
	left: 0;
}

#header_menu {
	float: right;
	width: 700px;
	height: 143px;
	margin: 23px 0 0;

}
#header_menu {
	background: url(/img/common/header/upper_logo.png) right 0 no-repeat;
}
.svg #header_menu {
	background: url(/img/common/header/upper_logo.svg) right 0 no-repeat;
}

ul#header_upper_menu {
	margin: 26px 0 0 470px;
	padding: 0;
	height: 36px;
}

ul#header_upper_menu li {
	float: left;
	margin-left: 10px;
}

ul#header_lower_menu {
	margin: 0;
	padding: 9px 0 0;
	list-style: none;
}

ul#header_lower_menu li {
	float: left;
	width: 140px;
	height: 73px;
	margin: 0;
	padding: 0;
}

}

/* 本体外枠 */
#main {
	width: 75%;
	max-width: 965px;
    margin: 25px auto 0;
    padding: 0 0 15px;
    font-size: 1.4rem;
    display: flex;
    background: url(/img/common/bg.png) repeat;
    flex-direction: row-reverse;
}

.single_col #main {
	width: 100%;
	max-width: 970px;
	margin: -20px auto 0;
}

.double_col #main {
	width: 100%;
}



/* 本文 */
#body {
}

.single_col #body {
	width: calc(100% - 20px);
	max-width: 950px;
	margin: 0 10px;
	padding: 40px 0 0;
	background: #fff;
}

.double_col #body {
	
	width: calc(100% - 290px);
	min-height: 600px;
	margin: -20px 15px 0 0;
	padding: 10px 10px 100px;
	background: #fff;
	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
	-o-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
	-ms-box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}

.double_col #inner_body #header_image {
	margin: 0 0 30px;
}

.double_col #inner_body #header_image img{
	width: 100%;
}

.double_col #inner_body h3 {
	border-left: 10px solid #666;
	margin: 0 10px 0 0;
	font-size: 2.5rem; 
}

.double_col #inner_body h3 + h4 {
	margin-bottom: 2em;
}

.double_col #inner_body h4 {
	margin: 1em 0;
	font-size: 1.8rem;
}

.double_col #inner_body h4.underline {
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
}

.double_col #inner_body h4.underline ~ h4.underline{
	margin-top: 2.5em;
}

.double_col #inner_body .contents{
	margin: 0 20px;
}

/* サイドバー */
#sidebar_fix_wrap {
	position: relative;
	width: 25vw;
	padding-top: 30px;
    flex:1;
}

#sidebar {
	margin-left: 15px;
	max-width: 240px;
}
#sidebar.absolute {
	position: absolute;
	top: auto;
	bottom: 50px;
	left: 0;
	width: 225px;
}
#sidebar.fixed {
	position: fixed;
	top:25px;
	bottom: auto;
	left: 0;
	width: 225px;
}
#sidebar.static {
	position: static;
	top: auto;
	bottom: auto;
	left: auto;
	width: 225px;
}

#sidebar h3 {
	text-align: center;
}

#sidebar ul {
	background: #fff;
	list-style: none;
	line-height: 1;
	width: 100%;
}

#sidebar ul li {
	margin: 0;
	padding: 22px 0 18px 5px;
	border-top: 1px solid #ccc;
	line-height: 1.5;
	text-align: center;
}

#sidebar ul li:first-child {
	border: none;
}

@media (min-width: 940px) {
	.double_col #body {
		width: 680px;

		min-height: 600px;
		margin: -20px 15px 0 0;
		padding: 10px 10px 100px;
		background: #fff;
		-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
		-o-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
		-ms-box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
		box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
	}
	#sidebar_fix_wrap {
		position: relative;
		width: 250px;
		flex: 0 0 250px;
	}

	#sidebar {
		margin-left: 15px;
		width: 225px;
	}
	#sidebar.absolute {
		position: absolute;
		top: auto;
		bottom: 50px;
		left: 0;
		width: 225px;
	}
	#sidebar.fixed {
		position: fixed;
		top: 25px;
		bottom: auto;
		left: calc(50% - 482px);
		width: 225px;
	}
	#sidebar.static {
		position: static;
		top: auto;
		bottom: auto;
		left: auto;
		width: 225px;
	}

}



/* ページ位置*/
.single_col #locus {
	width: auto;
	max-width: 910px;
	margin: 10px auto;
	font-size: 1.4rem;
}

.double_col #locus {
	width: 100%;
	max-width: 965px;
	margin: 10px auto 0;
	padding-bottom: 10px;
	font-size: 1.4rem;
}

.double_col #locus p.present_page {
	 float: left;
	 /*width: 400px;*/
	 padding-left: 20px;
	 background: url(/img/common/header/locus_home.png) 0 5px no-repeat;
}



/* ページトップ */
#pagetop {
	width: auto;
	max-width: 945px;
	margin: 0 auto;
	padding-right: 20px; 
	text-align: right;
}



/* フッター */
#footer_menu {
	margin-top: 30px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#footer_menu ul {
	display: flex;
	justify-content:space-between;
	width: 560px;
	margin: 0 auto;
}


#footer_menu ul li {
	width: 140px;
}
#footer_menu ul li a {
	display: block;
	height: 73px;
	margin: 0;
	padding: 0;
	position: relative;

}
#footer_menu ul li a.active::before {
	content: "";
    border-right: 6px solid transparent;
    border-bottom: 8px solid #ff6600;
    border-left: 6px solid transparent;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
	
}
#footer_menu ul li a img{
	display: block;
	margin: 0 auto;
	padding: 0;
}

#footer {
	width: 100%;
	max-width: 965px;
	margin: 0 auto;
	padding: 10px 0 50px;
	font-size: 1.4rem;
	background: url(/img/common/footer/bg.png) 0 40px repeat-x;
}

address {
	display: block;
	float: left;
	margin-left: 5px;
	font-style: normal;
}

#copyright {
	display: block;
	float: right;

	margin-right: 5px;
	font-family: Arial, Helvetica, sans-serif;
	text-align: right;
}

#catch {
	clear: both;
	float: right;
	padding-top: 30px;
	padding-bottom: 30px;
}














/* お問い合わせ */
.contact dl.table dt {
	width: 240px;
}

.contact  dl.table dd {
	width: 372px;
}
a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: #000;
}

#sidebar{}
