@charset "utf-8";
/*
Theme Name: 株式会社エンスイ工業
Theme URI: https://www.ensui-industrial.com/
Description: 株式会社エンスイ工業のテーマです
*/

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,input,select,textarea {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	box-sizing: border-box;
	letter-spacing:0.1rem;
	font-family: 'Noto Serif JP', Yu Mincho, '游明朝','Hiragino Mincho Pro','Hiragino Mincho Pro','ＭＳ 明朝',serif;
}
body {
	overflow:hidden;
    font-weight: 300;
	color:#111;
	font-family: 'Noto Serif JP', Yu Mincho, '游明朝','Hiragino Mincho Pro','Hiragino Mincho Pro','ＭＳ 明朝',serif;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, dl, li, span, small, strong, b, a, dt, dd {
    font-size: 1em;
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	scroll-behavior:smooth;
}

section {
}

blockquote, q {
	quotes: none;
	box-sizing: border-box;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
	box-sizing: border-box;
}
 input, textarea, {
 margin: 0;
 padding: 0;
 box-sizing:border-box;
}
ul {
	list-style: none;
	box-sizing: border-box;
}
ol {
	box-sizing: border-box;
	margin-left:2rem;
}
table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	box-sizing: border-box;
}
table th,
table td {
	padding:2rem;
	font-weight: normal;
}
caption, th {
	text-align: left;
	box-sizing: border-box;
}
a:focus {
	outline: none;
}
header:after, footer:after, section:after, article:after, aside:after, div:after, dl:after, ul:after {
	content : "";
	display : block;
	height : 0;
	clear : both;
}
br {
	letter-spacing: 0;
}
img {
	width: auto;
	height:auto;
	max-width:100%;
	border: 0;
	vertical-align: bottom;
	box-sizing: border-box;
	vertical-align: top;
}
.clear {
	clear: both;
}


html{
    font-size: 62.5%;
}
body{
    font-size:1.6rem;/* 16px*/
    line-height: 1.6;
}

@media (max-width: 980px){
table th, table td {
    padding: 1rem;
    font-size: 0.9em;
	vertical-align:middle;
}
}

/*文字色のスタイル*/
a:link, a:visited {
	text-decoration: none;
	overflow: hidden;
	color:#111;
}

a:hover {
	text-decoration: none;
}

/*全体フェードイン*/
body {
    animation: BgfadeIn 2s ease 0s 1 normal;
    -webkit-animation: BgfadeIn 2s ease 0s 1 normal;
}

@keyframes BgfadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes BgfadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}


/*boxのスタイル*/
.box1200 {
	display:block;
    clear: both;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.box1390 {
	display:block;
    clear: both;
    width: 100%;
    max-width: 1390px;
    margin: 0 auto;
    position: relative;
}

.box1480 {
	display:block;
    clear: both;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    position: relative;
}

@media (max-width:1490px) {
.base {
	padding:0 1.5rem;
}
}

@media (max-width:980px) {
.base {
	padding:0 1.5rem;
}
}

/* 表示・非表示*/
.pc_none {
	display:none;
}

@media (max-width: 980px){
.pc_none {
	display:block;
}
.sp_none {
	display:none;
}
}

/*パン屑のスタイル*/
#breadcrumb {
	width:100%;
	padding:2rem 0;
	background:#FAFAFA;
}

#breadcrumb ul {
	width:100%;
	margin:0 auto;
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	list-style:none;
}

#breadcrumb ul li {
	margin-right:0.5rem;
	letter-spacing:0;
	font-size:1.4rem;
}

#breadcrumb ul li:nth-child(1):before {
    content: "\f015";
    font-family: FontAwesome;
    margin-right:0.5rem;
}

#breadcrumb ul li a {
}

#breadcrumb ul li:after {
    content: "\f105";
    font-family: FontAwesome;
    margin-left:0.5rem;
}

#breadcrumb ul li:last-child:after {
	content:none;
}

@media (max-width: 980px){
#breadcrumb {
	padding:1rem 10px 1rem 10px;
	font-size:0.55em;
	letter-spacing:0;
}

#breadcrumb ul li {
	margin-right:0.25rem;
	font-size:1rem;
}

#breadcrumb ul li:after {
    margin-left:0.25rem;
}
#breadcrumb ul li a {
}

}

/*改行消す*/
@media (max-width: 980px){
.br_none {
	display:none;
}
}


/*hoverのスタイル*/ 
.fade {
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	-ms-transition: 0s ease-in-out;
}

.fade:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
}

.fadein {
	opacity: 0;
	-webkit-transform: translate(0, 50px);
	transform: translate(0, 50px);
	transition: all 0.5s;
}

.fadein-left {
	opacity: 0;
	-webkit-transform: translate(-50px, 0);
	transform: translate(-50px, 0);
	transition: all 0.5s;
}

.fadein-right {
	opacity: 0;
	-webkit-transform: translate(50px, 0);
	transform: translate(50px, 0);
	transition: all 0.5s;
}

.fadein.scrollin,
.fadein-left.scrollin,
.fadein-right.scrollin {
    opacity: 1;
  -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}


@keyframes SlideUp {
0% {
    opacity: 0;
    transform: translateY(50px);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}


/*scaleのスタイル*/
.scale {
	overflow: hidden;
}
.scale img {
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	-ms-transition: 0s ease-in-out;
}
.scale img:hover {
	webkit-transform: scale(1.08);
	-moz-transform: scale(1.08);
	-o-transform: scale(1.08);
	-ms-transform: scale(1.08);
	transform: scale(1.08);
}

/*装飾*/
.bottom10 {	margin-bottom:1rem;}
.bottom15 {	margin-bottom:1.5rem;}
.bottom20 {	margin-bottom:2rem;}
.bottom30 {	margin-bottom:3rem;}
.bottom40 {	margin-bottom:4rem;}
.bottom45 {	margin-bottom:4.5rem;}
.bottom50 {	margin-bottom:5rem;}
.bottom60 {	margin-bottom:6rem;}
.bottom75 {	margin-bottom:7.5rem;}
.bottom90 {	margin-bottom:9rem;}
@media (max-width: 980px){
.bottom10 {margin-bottom:0.5rem;}
.bottom15 {	margin-bottom:1rem;}
.bottom20 {	margin-bottom:1rem;}
.bottom30 {	margin-bottom:1.5rem;}
.bottom40 {	margin-bottom:1.5rem;}
.bottom45 {	margin-bottom:2rem;}
.bottom50 {	margin-bottom:2.5rem;}
.bottom60 {	margin-bottom:3rem;}
.bottom75 {	margin-bottom:3.5rem;}
.bottom90 {	margin-bottom:4.5rem;}
}


/*共通*/
#wrapper {
}

#main {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	box-sizing:border-box;
}

#primary {
	width:100%;
}

@media (max-width: 980px){
#wrapper {
	padding-bottom:3rem;
}

#home #wrapper {
	padding-bottom:0;
}

#main {
	padding:0;
}

#primary {
	width:100%;
	margin-bottom:0;
}
}

.gmap iframe {
	width:100%;
}

@media (max-width: 980px) {
}

/*pagenav*/

.pagenav {
	text-align:center;
}

.pagenav ul {
	clear: both;
	padding: 3rem 0;
	text-align: center;
}
a.page-numbers, .pagenav .current {
	background: #fff;
	border: solid 1px #ddd;
	padding: 5px 10px;
	margin: 5px 2px;
	text-decoration: none;
}
.pagenav .current {
	background: #222222;
	border: solid 1px #094829;
	color: #fff;
}

@media (max-width: 980px) {
.pagenav {
	clear: both;
	padding: 2rem 10px;
	font-size:1.2rem;
}
}

/*ページトップ
***************************************/

div.scroll-btn {
	position: fixed;
	right: 1.5rem;
	z-index: 10000;
}

div.action_box,
div.action_box02,
div.action_box03 {
	position: fixed;
	right: 0;
	z-index: 10000;
	max-width:200px;
}

div.orix {
	margin-top:1.5rem;
	width:100%;
	text-align:center;
}

div.scroll-btn a {
	background: rgba( 204, 204, 204, 0.5);
	width: 50px;
	height: 50px;
	display: block;
	text-align: center;
	transition: .2s ease-in-out;
	-moz-transition: .2s ease-in-out;
	-webkit-transition: .2s ease-in-out;
	-o-transition: .2s ease-in-out;
	-ms-transition: .2s ease-in-out;
}

div.scroll-btn a:hover {
	background: #111;
}

div.scroll-btn a i {
	font-size: 60px;
	line-height: .8;
	color: #fff;
	opacity: .8;
	transition: .2s ease-in-out;
	-moz-transition: .2s ease-in-out;
	-webkit-transition: .2s ease-in-out;
	-o-transition: .2s ease-in-out;
	-ms-transition: .2s ease-in-out
}

div.scroll-btn a:hover i {
	color: #FFF;
	opacity: 1;
}

@media (max-width: 980px) {
div.orix img {
	max-width:228px;
	height:auto;
}
}

.chain01,
.chain02,
.chain03,
.chain04 {
  opacity : 0;
  transition : all 1s;
}
  
.chain01.fadein-chain,
.chain02.fadein-chain,
.chain03.fadein-chain,
.chain04.fadein-chain {
  opacity : 1;
}

/*スマホ用コンタクトボタン
***************************************/

@media screen and (min-width:980px){
#sp_contact {
	display:none;
}
}

@media (max-width:980px) {
#sp_contact {
    position: fixed !important;
    bottom: 0;
    right: 0;
	width: 100%;
	z-index:9999;
	border-top:1px solid #FFF;
}

#sp_contact ul {
	position:relative;
}

#sp_contact li a {
    background: #111;
    text-decoration: none;
    color: #fff;
    width: 50%;
    padding: 15px 0;
    text-align: center;
	letter-spacing: 0rem;
    display: block;
	float: left;
	font-size:0.9em;
}
#sp_contact li:last-of-type a {
	border-left: 1px solid #FFF;
}
#sp_contact a:hover {
    text-decoration: none;
    background:#222;
}

#sp_contact li a i {
	margin-right:0.5rem;
}

}

.flex_wrapper {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
}

.flex_wrapper:after {
	content:none;
}

.jc-spc_btw {
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.jc-center {
	-webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
	justify-content: center; /* 横方向中央揃え */
}

.ai-center {
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items: center; /* 縦方向中央揃え */
}

.fd-row_r {
	flex-direction:row-reverse; /*逆順*/
}

/* header */
#header {
}

#header > div {
    padding: 3rem;
}

#header .header_left {
	width:24.4%;
}

#header .header_left img {
	width:100%;
	max-width:346px;
}

#header .header_right {
    margin-left: auto;
}

#header .header_tel {
	margin-left:2rem;
}

#header .header_tel p {
	font-size:1.3em;
}

@media (max-width: 1280px) {
}

@media (max-width: 1120px) {
}

@media (max-width: 980px) {
#header > div {
    padding: 1.5rem 1rem;
}

#header .header_left {
	width:70%;
}

#header .header_left img {
	max-width:280px;
}

#header .header_tel {
	display:none;
}


}

@media (max-width: 768px) {
}

@media (max-width: 640px) {
}

@media (max-width: 414px) {
}

/* nav */
nav#nav {
	width:100%;
	z-index:100;
}

nav#nav ul {
	position: relative;
	list-style: none;
}

nav#nav > ul {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items: center; /* 縦方向中央揃え */
	-webkit-justify-content: space-between;
	justify-content: space-between;
	position:relative;
}

nav#nav > ul li {
	position: relative;
}

nav#nav > ul > li {
	position:relative;
}

nav#nav > ul > li > a {
	font-size:1em;
	width:100%;
	display:block;
	padding:0.5rem 1rem;
	text-align: center;
}

nav#nav > ul > li.nolink > a {
	pointer-events:none;
}

nav#nav ul li#menu-item-31 > a {
}

nav#nav > ul > li:last-child a{
	background:#0846ad;
	color:#FFF;
	padding:0.5rem 1.5rem;
	margin-left:0.5rem;
}

nav#nav > ul > li.current_page_item a {
}

nav#nav ul li a:hover {
}

nav#nav ul:after {
	display: block;
	clear: both;
	content: '';
}
nav#nav ul li:not(:first-child) {
	border-left: none;
}
nav#nav ul li:hover {
	text-decoration:none;
}
nav#nav ul li a {
	text-decoration: none;
	white-space: nowrap;
	font-weight:400;
}
nav#nav ul ul {
	position: absolute;
	top: 100%;
	z-index:100;
}
nav#nav ul ul li {
	float: none;
	margin: 0;
	border-bottom:1px solid #FFF;
}

nav#nav ul ul li:last-child {
	border-bottom:none;
}
nav#nav ul ul li a {
	color:#FFF;
	padding:0.75rem 1.5rem;
	display:block;
	background:rgba(0,0,0,0.8);
	font-size:0.9em;
}

nav#nav ul ul li a:before {
    content: "\f105";
    font-family: FontAwesome;
    margin-right:0.5rem;
}

nav#nav ul ul li a:hover {
	background:rgba(0,0,0,0.6);
}

nav#nav ul ul li:not(:first-child) {
}

nav#nav ul ul ul {
	display:none;
	position: absolute;
	left: 100%;
}

nav#nav ul ul {
  visibility: hidden;
  opacity: 0;
  transition: .2s ease-in-out;
}

nav#nav ul li:hover > ul {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 1120px) {
	nav#nav > ul > li > a {
		padding:1.5rem 0.5rem;
		font-size:0.9em;
	}
}

@media (max-width: 980px) {
nav#nav {
	display: none;
}
}

#contact_box {
	border-top:1px solid #dddddd;
	border-bottom:1px solid #dddddd;
}

#contact_box h3 img {
	margin-right:1.5rem;
	max-width:240px;
	height:auto;
}

#contact_box h3 span {
	font-weight:300;
	position:relative;
	top:0.5rem;
}

#contact_box .detail_btn {
	line-height:0;
	width:31.6%;
	text-align:center;
}

#contact_box .detail_btn a {
	padding:2.5rem 4.5rem;
	background:#0846ad;
	color:#FFF;
	line-height:1;
	display:block;
	font-size:1.2em;
}

#contact_box .detail_btn a span {
	position:relative;
	top:-7px;
}

#contact_box .detail_btn a:before {
	content:"";
	background:url(../../images/icon_mail.png) no-repeat center center;
    background-size: contain;
    display: inline-block;
    width: 40px;
	height:30px;
	margin-right:1rem;
}

@media (max-width: 980px) {
#contact_box {
	padding:1.5rem 0 2rem 0;
}

#contact_box h3 {
	margin:0 auto 1.5rem auto;
}

#contact_box .detail_btn {
    width: 100%;
	margin:0 auto;
}

#contact_box .detail_btn a {
	width:100%;
	padding: 1.5rem;
	font-size: 1em;
	letter-spacing:0;
	text-align:center;
}

#contact_box .detail_btn a:before {
    width: 24px;
	height:18px;
}

#contact_box .detail_btn a span {
  position: relative;
  top:-2px;
}

}

/* footer */
#footer {
	padding-top:3rem;
}


#footer_info {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
}

#footer_info h3 {
}

#footer_info dl {
	width:100%;
}

#footer_info dl dt {
	font-weight:normal;
	width:100%;
	font-size:1.1em;
}

#footer_info dl dd {
	font-size:0.8em;
}

#footer #footer_nav ul {
	text-align:right;
}

#footer #footer_nav ul li {
	display:inline-block;
	margin-right:1rem;
	padding-right:1rem;
	border-right:1px solid #777;
    line-height: 1;
}

#footer #footer_nav ul li:last-child {
	margin-right:0;
	padding-right:0;
	border:none;
}

#footer #footer_nav ul li a {
	font-size:0.9em;
}

.banners ul {
	-webkit-align-items: flex-end;
	align-items: flex-end;
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
	padding-top:1.5rem;
}

.banners ul li {
	margin-right:1rem;
	padding-right:1rem;
}

.banners ul li:last-child {
	margin-right:0;
	padding-right:0;
}


.sns_icon {
	text-align:center;
	display:block !important;
    position: relative;
	line-height:0;
}

.sns_icon a {
	border:1px solid #0846ad;
	border-radius:6rem;
    padding: 1.5rem;
    width: 50px;
    height: 50px;
	color:#0846ad;
	margin:0 0.5rem;
	display:inline-block;
	position:relative;
	text-align:center;
	
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	-ms-transition: 0s ease-in-out;
}

.sns_icon a:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
}

.sns_icon i {
	font-weight:normal;
	font-size:26px;
    line-height: 0.65;
	position:relative;
}

.sns_icon a:nth-child(1) i {
	left:-1px;
}

.sns_icon a:nth-child(2) i {
	left:-3px;
}

#copy {
	width:100%;
	text-align:center;
	padding-top:2.5rem;
	padding-bottom:2.5rem;
	background:#0846ad;
	color:#FFF;
	margin-top:3rem;
}

@media (max-width: 980px) {
#footer {
	padding-top:2rem;
	padding-bottom:5.2rem;
}

#footer_info {
	width:100%;
	margin-bottom:0.5rem;
}

#footer_info h3 {
	font-size:1em;
	text-align:center;
}

#footer_info dl {
	width:100%;
	text-align:center;
}

#footer_info dl dt {
	width:100%;
	font-size:0.8em;
}

#footer_info dl dd {
	width:100%;
	margin-bottom:0.75rem;
}

#footer_box {
	width:100%;
}

#footer #footer_nav {
	width:100%;
	margin-bottom:0.5rem;
}

#footer #footer_nav ul {
	text-align:center;
	-webkit-justify-content: center;
	justify-content: center;
}

#footer #footer_nav ul li a {
	font-size:0.8em;
}

.banners ul {
	-webkit-justify-content: center;
	justify-content: center;
}

.sns_icon {
	width:100% !important;
	margin-bottom:1rem;
}

#copy {
	margin-top:2rem;
}

#copy small {
	font-size:0.7em;
}

}

/* main_img */
#loadimg {
	clear: both;
	text-align: center;
}
#loading {
	display: none;
}
#loadimg img {
	width: 32px;
	padding: 20% 0;
}

#main_slide_wrapper {
	position:relative;
	z-index:0;
}

#main_slide {
}

#main_slide ul li {
}

#main_slide ul li img {
}

#main_slide_wrapper .mainvisual_text {
	/*中央*/
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translateY(-50%) translateX(-50%);
	margin: auto;
	display:inline-block;
	z-index:10;
	width:40%;
}

#main_slide_wrapper .mainvisual_text p {
	text-align:center;
}


/* 遅れて表示 */
.late {
  opacity: 0;
  animation: appeare 2s ease 1.5s 1 normal forwards running;
}

@keyframes appeare {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* ふわふわするアニメーション */
@keyframes fuwafuwa {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* このクラスをつけると回転を無限に繰り返します */
.fuwafuwa {
  animation: 6s fuwafuwa infinite;
}



@media (max-width: 980px){

#main_slide_wrapper .mainvisual_text {
	width: 60%;
}


#main_slide_wrapper .mainvisual_text p {
}

#main_slide_wrapper .mainvisual_text p span {
}

.flex-control-thumbs {
	margin:0 !important;
}

}

/*company*/
#company #primary iframe {
	margin-top:0 !important;
	max-width:100% !important;
}

#company #primary table td dl {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items: center; /* 縦方向中央揃え */
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin-bottom:1.5rem;
}

#company #primary table td dl dt {
	width:22%;
}

#company #primary table td dl dd {
	width:74%;
}



@media (max-width: 980px){

#company #primary table td:nth-child(1) {
	width:30%;
}

#company #primary table td dl dt {
	width:100%;
}

#company #primary table td dl dd {
	width:100%;
}

}

/*privacy*/
#privacy #primary p {
	background:#F5F5F5;
	padding:3rem;
	margin-bottom:4.5rem;
}

#privacy #main ul {
	list-style:none !important;
}

#privacy #primary dl {
	margin:0 1.5rem;
}

#privacy #primary dl dt {
	margin-bottom:1rem;
	border-left:3px solid #0846ad;
	padding-left:1rem;
	line-height:1.4;
	font-size:1.1em;
}

#privacy #primary dl dd {
	margin-bottom:4.5rem;
	padding-left:1.5rem;
	line-height:1.8;
}

#privacy #primary dl dd:last-child {
	margin-bottom:0;
}

#privacy #primary dl dd table {
	width:100%;
	margin:2rem auto 0 auto;
}

#privacy #primary dl dd table td {
	padding:1.5rem 2rem;
	border:1px solid #DDD;
	vertical-align:middle;
}

#privacy #primary dl dd table td:nth-child(1) {
	width:30%;
	padding:1.5rem 2rem;
	border:1px solid #DDD;
	background:#FAFAFA;
}

@media (max-width: 980px){
#privacy #primary {
}

#privacy #primary p {
	margin-top:0;
	padding:1.5rem;
	font-size:0.9em;
}

#privacy #primary dl dt {
	font-size:1.6rem;
}

#privacy #primary dl dd {
	font-size:1.4rem;
	margin-bottom:2rem;
}

#privacy #primary dl dd:last-child {
	padding-left:0;
}

#privacy #primary dl dd table td:nth-child(1),
#privacy #primary dl dd table td {
	padding:10px;
}
}

/*sitemp*/
#sitemap #main ul {
	list-style:none !important;
	padding-left:0;
	margin-left:0;
}

#sitemap #main ul li {
	margin-bottom:2rem;
}

#sitemap #main ul li:last-child {
	margin-bottom:0;
}

#sitemap #main ul li a {
	display:block;
	background:#F5F5F5;
	padding:1.5rem 2rem;
	text-decoration:none;
}

#sitemap #main ul li a:before {
    content: "\f152";
    font-family: FontAwesome;
    margin-right:0.5rem;
	color:#0846ad;
}

#sitemap #main ul li.menu-item-has-children > a {
    pointer-events: none;
}

#sitemap #main ul li ul {
	margin:1.5rem 0 0 4.5rem;
}

#sitemap #main ul li ul li {
	margin-bottom:1rem;
}

#sitemap #main ul li ul li a {
	background:none;
	padding:0;
}



#sitemap #main ul li ul li a:before {
    content: "\f105";
    font-family: FontAwesome;
    margin-right:0.5rem;
	color:#0846ad;
}



@media (max-width: 980px){
#sitemap #main ul  {
	margin-top:2rem;
	margin-right:0;
}

#sitemap #main ul li {
	margin-bottom:1rem;
}

#sitemap #main ul li a {
	margin-bottom:0.5rem;
}
}


.entry-content .category-list {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	list-style:none;
	margin-bottom:4.5rem;
	margin-left:0;
}

.entry-content .category-list li {
	width:15%;
	margin-bottom:0.5rem;
	margin-right:2%;
}

.entry-content .category-list li:nth-child(6n) {
	margin-right:0;
}

.entry-content .category-list li a {
	text-decoration:none;
	background:#f19db5;
	color:#FFF;
	padding:0.5rem 1rem 0.75rem 1rem;
	display:block;
	font-size:0.85em;
}

.entry-content .category-list li a:hover {
	background:#000;
}

.entry-content .category-list li a:before {
    content: "\f101";
    font-family: FontAwesome;
    margin-right:0.5rem;
}

.entry-content .category-list li.current-cat a {
	background:#000;
}

@media (max-width: 980px){
.entry-content .category-list_wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom:3rem;
}

.entry-content .category-list {
	display: inline-table;
	max-width: 100%;
	margin-bottom:0;
}

.entry-content .category-list li {
	margin-right:0;
	width:auto;
	display:table-cell;
	word-break:keep-all;
	white-space:nowrap;
	border-right:1px solid #FFF;
	margin-bottom:0;
}

.entry-content .category-list li:las-child {
	border-right:none;
}

.entry-content .category-list li a {
	display:block;
}
}

/*contact*/
table.contact {
	margin:0 auto 3rem auto;
}

table.contact th,
table.contact td:nth-child(1) {
	width:35%;
	border:1px solid #DDD;
	font-weight:400;
	vertical-align:middle;
	background:#F5F5F5;
}

table.contact td {
	border:1px solid #DDD;
	line-height:1.8;
	vertical-align:middle;
}

table.contact td input,
table.contact td textarea {
	font-size:1.6rem;
    font-weight: 200;
}

table.contact td input[type="text"] ,
table.contact td input[type="email"],
table.contact td input[type="tel"],
table.contact td input[type="date"] {
	height:40px;
	padding:0.25rem;
	width:80%;
	border:1px solid #DDD;
    box-sizing: border-box;
}

table.contact td select {
	padding:0.25rem;
	border:1px solid #DDD;
    box-sizing: border-box;
	font-size:1.6rem;
}

table.contact td input[type="date"] {
	border:1px solid #CCC;
	height:35px;
	padding:0.5rem;
	width:20%;
}

table.contact td input[type="text"]:focus,
table.contact td input[type="email"]:focus,
table.contact td input[type="tel"]:focus,
table.contact td input[type="date"]:focus,
table.contact td textarea:focus {
	outline: 0;
	-moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);
}

table.contact td span.sp_btm10 {
	display:block;
	margin-bottom:0.5rem;
}

table.contact td span small {
	display:inline-block;
	padding:0.25rem 0.5rem;
	background:#135fa7;
	color:#FFF;
	font-size:0.8em;
	position:relative;
	top:-3px;
}

table.contact th p,
table.contact td p {
	margin-bottom:0;
}

table.contact td textarea {
	width:100%;
	border:1px solid #DDD;
	padding:0.5rem;
}

table.contact th span.required {
	background:#FF0000;
	color:#FFF;
	font-size:0.8em;
	padding:0.15rem 0.5rem;
	display:inline-block;
	margin-left:0.5rem;
}

p.submit {
	text-align:center !important;
	margin-bottom:1.5rem !important;
}

p.submit input {
	font-size:2rem;
	padding:0.75rem 1.5rem;
	margin:0 1rem;
	border:1px solid #CCC;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing, div.wpcf7-response-output {
	border:2px solid #FF0000 !important;
	padding:1rem !important;
	text-align:center;
	background:#FFFFFF;
	color:#FF0000;
	margin:0 auto !important;
	font-size:1.4rem !important;
	width:80% !important;
}

span.wpcf7-list-item {
	margin:0 0.75rem 0 0 !important;
}

span.wpcf7-not-valid-tip {
	font-size:1.4rem;
}

table.contact td strong {
	font-size:1.2em;
	margin-bottom:0.5rem;
	display:block;
}

table.contact td #privacy_box {
	font-size:0.8em;
	max-height:180px;
	overflow:auto;
	background:#FFF;
	padding:1rem;
}

table.contact td #privacy_box p {
	margin-bottom:0.5rem;
}

table.contact td.birth input[type="text"] {
	width:10%;
}

@media (max-width: 980px){

#otoiawase .entry-content p {
	text-align:left;
	font-size:0.9em;
}

.entry-content p.has-background {
	padding: 10px;
}

table.contact {
	margin:0 0 3rem 0;
	width: 100%;
	table-layout: fixed;
	word-break: break-all;
	word-wrap: break-all;
}

table.contact th,
table.contact td:nth-child(1) {
	width:100%;
	background:#FAFAFA;
}

table.contact th,
table.contact td {
}

table.contact td:nth-child(1) {
	width:100%;
	border-bottom:none;
}

#omitsumori .content_wrapper p span {
	font-size:1em !important;
}

table.contact td input,
table.contact td textarea {
	font-size:1.5rem !important;
}

table.contact td input[type="text"] ,
table.contact td input[type="email"],
table.contact td input[type="tel"] {
	width:100%;
}

table.contact td input[type="date"] {
	width:100%;
}

table.contact td.birth input[type="text"] {
	width:20%;
}

table.contact td span small {
	font-size:1em;
}

input[type=text],
textarea {
}

span.wpcf7-list-item {
	display:block;
	margin-bottom:0.5rem !important;
}

.wpcf7 table {
    border-bottom: 1px solid #EEE;
}

.wpcf7 table th,
.wpcf7 table td {
	width:100%;
	display:block;
	border-bottom:none;
}

p.submit input {
	font-size:1.2em;
	padding:0.5rem 1rem;
}
}

#prev_next {
    border-bottom: 1px solid #E0E0E0;
	margin-bottom:9rem;
}

#prev_next ul {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	border-top:1px solid #E0E0E0;
}

#prev_next ul li {
	width:50%;
}

#prev_next ul li #prev_title,
#prev_next ul li #next_title {
	width:100%;
}

#prev_next ul li #prev_title a:hover,
#prev_next ul li #next_title a:hover {
	text-decoration:underline;
}

#prev_next ul li #prev_title a {
	padding:1rem 2rem;
	background:#F0F0F0;
	display:block;
	font-size:1.5rem;
	font-weight:bold;
}

#prev_next ul li #prev_title a:before {
    content: "\f0a8";
    font-family: FontAwesome;
    margin-right:0.5rem;
}

#prev_next ul li #next_title a {
	padding:1rem 2rem;
	background:#F0F0F0;
	text-align:right;
	display:block;
	font-size:1.5rem;
	font-weight:bold;
}

#prev_next ul li #next_title a:after {
    content: "\f0a9";
    font-family: FontAwesome;
    margin-left:0.5rem;
}

#prev_next ul li {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#prev_next ul li.bktop{
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items:center; /* 縦方向中央揃え */
}

#prev_next ul li figure {
	width:35%;
	padding:2rem;
}

#prev_next ul li p {
	width:100%;
	padding:2rem;
	font-weight:bold;
	font-size:1.5rem;
	line-height:1.3;
}

#prev_next ul li:nth-child(2) p {
	text-align:right;
}

#prev_next ul li p a:hover {
	text-decoration:underline;
}

#prev_next ul li:nth-child(1) {
	border-right:1px solid #E0E0E0;
}

.bktop {
}

.bktop a {
	display:block;
	text-align:center;
	width:100%;
	font-size:1.5rem;
	font-weight:bold;
}

.bktop a:before {
    content: "\f015";
    font-family: FontAwesome;
    margin-right:0.5rem;
}

@media (max-width: 980px){
#prev_next {
	margin-bottom:0;
    border-bottom:none;
}

#prev_next ul {
	padding:0;
	border-bottom:1px solid #E0E0E0;
}

#prev_next ul li {
	-webkit-align-items: flex-start; /* 縦方向中央揃え（Safari用） */
	align-items:flex-start; /* 縦方向中央揃え */
}


#prev_next ul li #prev_title a,
#prev_next ul li #next_title a {
	padding:1rem 10px;
	font-size:1.2rem;
}

#prev_next ul li figure {
	display:none;
}

#prev_next ul li p {
	width:100%;
	padding:10px;
}

#prev_next ul li p a {
	font-size:1.2rem;
}

.bktop a {
	margin-top:20%;
	font-size:1.2rem;
}

}

.sns-container {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.sns-container > div {
	width:25%;
	text-align:center;
}

.sns-container > div > a {
	display:block;
	padding:1.5rem 1rem;
	font-size:1.4rem;
	font-weight:bold;
}

.sns-container > div:nth-child(1) a {
	background:#3b5998;
	color:#FFF;
}

.sns-container > div:nth-child(2) a {
	background:#55acee;
	color:#FFF;
}

.sns-container > div:nth-child(3) a {
	background:#00b900;
	color:#FFF;
}

.sns-container > div:nth-child(4) a {
	background:#008fde;
	color:#FFF;
}

.sns-container > div:nth-child(4) a b {
}

@media (max-width: 980px){
.sns-container > div > a {
	padding:1rem 0.5rem;
	font-size:0.8em;
	letter-spacing:0;
}
}

#sb_instagram {
	padding-top:4.5rem !important;
}

#sb_instagram .sb_instagram_header .sbi_header_text.sbi_no_bio h3 {
	border:none !important;
}

@media (max-width: 980px){
}


/*index*/

#index01 {
	padding-top:12rem;
	padding-bottom:12rem;
}

#index01 h2 {
	text-align:center;
	font-weight:400;
	font-size:clamp(20px, 2.3vw, 32px);
	position:relative;
	margin-bottom:6rem;
	line-height: 1.4;
}

#index01 h2 span {
	color:#0846ad;
	font-size:0.5em;
	display:block;
	text-align:center;
	margin-top:0.5rem;
	font-family:Arial, Helvetica, sans-serif;
}

#index01 ul li.w30 {
    width: 30.4%;
}

#index01 ul li img {
	width:100%;
	height:auto;
}

#index01 ul li a {
	display:block;
}

#index02 {
	background:url(../../images/index/index02_bg.jpg) no-repeat center center;
	background-size:cover;
	position:relative;
	padding:12rem 3rem;
}

#index02 h2 {
	text-align:center;
	font-weight:400;
	font-size:clamp(20px, 2.3vw, 32px);
	position:relative;
	margin-bottom:3rem;
	line-height: 1.4;
	letter-spacing:0.25rem;
	color:#FFF;
	border-bottom:1px solid #FFF;
	padding-bottom:3rem;
	max-width:40%;
	margin:0 auto 3rem auto;
}

#index02 h2 span {
	color:#FFF;
	font-size:0.5em;
	display:block;
	text-align:center;
	margin-top:0.5rem;
	font-family:Arial, Helvetica, sans-serif;
}

#index02 p {
	font-size:clamp(15px, 1.5vw, 18px);
	font-weight:500;
	margin-bottom:3rem;
	text-align:center;
	color:#FFF;
	line-height:2;
}

#index02 .detail_btn {
	text-align:center;
}

#index02 .detail_btn a {
	display:inline-block;
	background:#0846ad;
	text-align:center;
	font-weight:500;
	padding:1rem 6rem;
	color:#FFF;
	position:relative;
	font-size:clamp(14px, 1.4vw, 16px);
}

#index02 .detail_btn a:after {
    content: "\f0da";
    font-family: FontAwesome;
    margin-left:1rem;
	color:#FFF;
}

#index03 {
	padding-top:12rem;
}

#index03 ul li {
	background:url(../../images/index/index03_bg.jpg) no-repeat left top;
	border:1px solid #DDD;
}

#index03 ul li a {
	display:block;
	padding:6rem 3rem;
}

#index03 h3 {
	text-align:center;
	font-weight:400;
	font-size:clamp(20px, 2.3vw, 32px);
	position:relative;
	margin-bottom:2rem;
	line-height: 1.4;
}

#index03 h3 span {
	color:#0846ad;
	font-size:0.5em;
	display:block;
	text-align:center;
	margin-top:0.5rem;
	font-family:Arial, Helvetica, sans-serif;
}

#index03 p {
	text-align:center;
	line-height:2;
	font-size:clamp(14px, 1.5vw, 17px);
	margin-bottom:3rem;
}

#index03 .detail_btn02 {
	text-align:center;
}

#index03 .detail_btn02 {
	display:block;
	margin:0 auto;
	text-align:center;
	padding:1.5rem 6rem;
	border-top:1px solid #DDD;
	border-bottom:1px solid #DDD;
	position:relative;
	width:80%;
	font-size: clamp(14px, 1.4vw, 16px);
}

#index03 .detail_btn02 span:after {
    content: "\f0da";
    font-family: FontAwesome;
    margin-left:1rem;
	color:#0846ad;
}

#index04 {
	padding-top:12rem;
	padding-bottom: 6rem;
	background:url(../../images/index/index04_bg.jpg) no-repeat bottom center;
}

#index04 h2 {
	text-align:center;
	font-weight:400;
	font-size:clamp(18px, 2vw, 24px);
	position:relative;
	line-height: 1.4;
}

#index04 h2 span {
	color:#0846ad;
	font-size:0.6em;
	display:block;
	text-align:center;
	margin-top:0.5rem;
	font-family:Arial, Helvetica, sans-serif;
    font-weight: normal;
}

#index04 .detail_btn03 {
	text-align:right;
	width:100%;
}

#index04 .detail_btn03 a {
    font-size: clamp(14px, 1.4vw, 16px);
}

#index04 .detail_btn03 a:after {
  content: "\f0da";
  font-family: FontAwesome;
  margin-left: 1rem;
  color: #0846ad;
}

#index04 ul {
	border-top:1px solid #DDD;
	border-bottom:1px solid #DDD;
	height:340px;
	overflow:auto;
	margin-bottom:3rem;
}

#index04 ul li {
	padding:5.68rem 2rem;
	border-bottom:1px solid #DDD;
	position:relative;
	padding-right:3rem;
}

#index04 ul li:after {
    content: "\f144";
    font-family: FontAwesome;
	/*中央*/
	position: absolute;
	top: 50%;
	transform: translateY(-50%) ;
	-webkit- transform: translateY(-50%) ;
	margin: auto;
	display:inline-block;
	color:#0846ad;
	right:2rem;
    font-size: clamp(20px, 1.4vw, 30px);
}

#index04 ul li:last-child {
	border-bottom:none;
}

#index04 ul li span {
	display:block;
    font-size: clamp(15px, 1.4vw, 16px);
	color:#999999;
	margin-bottom:0.25em;
}

#index04 ul li h4 {
	font-weight:normal;
    font-size: clamp(15px, 1.4vw, 16px);
	
}

.rinen {
    font-size: clamp(24px, 2.4vw, 36px) !important;
}

.list-category {
	padding-top:9rem;
}

.list-category ul {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.list-category ul li {
	width:33.33%;
	border-right:1px solid #FFF;
}

.list-category ul li:nth-child(3n) {
	border-right:none;
}

.list-category ul li a {
	display:block;
	text-align:center;
	padding:1.5rem;
	background:#0846ad;
	color:#FFF;
}

.list-category ul li a:hover,
.list-category ul li.current a {
	background:#00b18d;
}

.item_list {
	display:flex;
	-webkit-flex-wrap: wrap; /* Safari */
	flex-wrap:         wrap;
	padding-top:6rem;
}

.item_list:after {
	content:none;
}

#item_list_wrapper .item_list {
	padding-top:0;
	padding-bottom:0;
}

#item_list_wrapper h2 {
	font-size: 1.8em;
	margin-bottom:4.5rem;
	text-align:center;
	display: flex;
    align-items: center;
	font-weight:normal;
}

#item_list_wrapper h2:before {
    margin-right: 3rem;
}

#item_list_wrapper h2:after {
    margin-left: 3rem;
}

#item_list_wrapper h2:before, #item_list_wrapper h2:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #0846ad;
}

#item_list_wrapper .detail_btn {
	text-align:center;
}

#item_list_wrapper .detail_btn a {
	display:inline-block;
	background:#111111;
	text-align:center;
	font-weight:500;
	padding:1.5rem 7.5rem;
	color:#FFF;
	position:relative;
	font-size:1.2em;
}

#item_list_wrapper .detail_btn a:after {
    content: "\f105";
    font-family: FontAwesome;
	font-size:1.2em;
	position:absolute;
	right:1.5rem;
	/*中央*/
	top: 50%;
	transform: translateY(-50%) translateX(0);
	-webkit- transform: translateY(-50%) translateX(0);
	margin: auto;
	display:inline-block;
}

.item_list article {   
	width: 24%;
    margin-right: 1.33%;
    position: relative;
	margin-bottom:4.5rem;
	background:#FAFAFA;
}

.item_list article .img-wrap {
	overflow:hidden;
}

.item_list article img {
    width: 100%;
}

.item_list article:nth-child(4n) {
	margin-right:0;
}

.item_list article .text {
	width:100%;
	padding:1.5rem;
}

.item_list article .text h3 {
	font-size:1.1em;
	font-weight:normal;
	text-align:center;
}

.item_list article .text ul.post-categories {
	list-style:none;
	display:inline-block;
}

.item_list article .text ul.post-categories li {
	display:inline-block;
	margin-right:0.25rem;
}

.item_list article .text ul.post-categories li span {
	line-height:1;
}

.item_list article .text ul.post-categories li span a {
    display: inline-block;
    background: #00b18d;
	color:#FFF;
    font-size: 0.8em;
    padding: 0.5rem 0.5rem 0.25rem 0.5rem;
	line-height:1;
}

.item_list article .text ul.post-categories li span a.parking {
	background:#b7a73b;
}

.item_list article .text ul.post-categories li span a.plum {
    background: #00b18d;
}

.item_list article .text ul.post-categories li span a.electrical {
	background:#0846ad;
}


.item_list article .text span.article-date {
	font-size:0.9em;
	position:relative;
	display:inline-block;
    top: -0.5rem;
}

.item_list article .text h2 {
	padding-left: 0;
	line-height:1.4;
}

.item_list article .text h2 a {
	line-height:1.4;
    font-weight: 400;
}

.item_list article .text small {
	font-size:0.8em;
	display:inline-block;
	padding:0 0.25rem;
	background:#aa0000;
}

.item_list article .text p {
	margin-bottom:1.5rem;
}

.item_list article .detail_text {
    text-align: center;
}

.item_list article .detail_text a {
	display:inline-block;
	background: #b48120;
	background: -moz-linear-gradient(top,  #b48120 20%, #c79612 50%, #b48120 80%);
	background: -webkit-linear-gradient(top,  #b48120 20%,#c79612 50%,#b48120 80%);
	background: linear-gradient(to bottom,  #b48120 20%,#c79612 50%,#b48120 80%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b48120', endColorstr='#b48120',GradientType=0 );
	color:#FFF;
	padding:0.5rem 1rem;
	border-radius:5px;
	max-width:400px;
	font-weight:500;
	font-size:0.9em;
	letter-spacing:0.1rem;
	text-shadow:1px 1px 0 #333;
	filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.4));
}

.item_detail {
	width:80%;
	max-width:960px;
	margin:0 auto;
}

.item_detail .left {
	margin-bottom:3rem;
}

@media (max-width: 1500px){
}

@media (max-width: 1200px){
}

@media (max-width: 980px){

#index01 {
	padding-top:6rem;
	padding-bottom:6rem;
}

#index01 h2 {
	margin-bottom:3rem;
}

#index01 ul li.w30 {
    width: 100%;
}

#index02 {
	padding:6rem 1rem;
	margin-bottom:0;
}

#index02 h2 {
	padding-bottom:1.5rem;
}

#index02 .box01 {
	width:100%;
}

#index03 {
	padding-top:6rem;
	padding-bottom:6rem;
}

#index03 ul li.w48 {
	width:100%;
	margin-bottom:1.5rem;
	background-size:100%;
}

#index03 ul li.w48:last-child {
	margin-bottom:0;
}

#index03 ul li.w48 a {
	padding:3rem 1.5rem;
}

#index04 {
	padding-top:1.5rem;
	padding-bottom:6rem;
	background-size:300%;
}

#index04 h2.w36 {
	margin-bottom:3rem;
	width:100%;
}

#index04 ul.w60 {
	width:100%;
	height:220px;
}

#index04 ul li {
	padding-right:4.5rem;
	padding-top:1.5rem;
	padding-bottom:1.5rem;
}

#greeting .entry-content table td {
	font-size:0.9em;
}

#greeting .entry-content table td:nth-child(1) {
	width:20%;
}
#greeting .entry-content table td:nth-child(2) {
	width:23%;
}
#greeting .entry-content table td:nth-child(3) {
	width:15%;
}

}

@media (max-width: 980px){

#counter_box {
	font-size:1.4em;
	margin-bottom: 3rem;
	text-align:center;
}

#counter_box dl {
	width:100%;
	padding:1.5rem;
	background:#222;
	color:#FFF;
}

#counter_box dt {
	font-size:1.2em;
}

.group_link li {
	margin-bottom:1rem;
}

.group_link li a {
	display:block;
}

.list-category {
	padding-top:4.5rem;
}

.list-category ul li a {
	font-size:0.9em;
	padding:1rem;
}


#item_list_wrapper h2 {
	font-size:1.4em;
	margin-bottom:3.5rem;
}

.item_list {
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding-top:3rem;
}

.item_list article {
	width:48%;
	margin-right:0;
	margin-bottom:1.5rem;
}

.item_list article .text {
	padding:1rem;
	font-size:0.9em;
}
 
.item_list article .text h3 {
	font-size:1em;
}

.item_list article img {
    width: 100%;
	height:auto;
	object-fit: inherit;
}

.item_list article .text p {
	font-size:0.9em;
}

#item_list_wrapper .detail_btn a {
    padding: 1rem 4.5rem;
    font-size: 1em;
}

.item_detail {
	width:100%;
}

}

@media (max-width: 600px){

#index01 ul li {
	width:100%;
	margin-bottom:1rem !important;
}

}



.tab6 {
	width: 100%;/*横幅はここで設定します。100%にすれば可変になります。*/
	margin: 0 auto;
}

.tab6 .tab-content {
	background:#F7F7F7;
}

.tab6 label {
	display: inline-block;
	margin: 0;
	padding: 1rem;
	width:33.333%;
	float:left;
	
	display: inline-block;
	cursor: pointer;
	background: #EEE;
	color:#000;
	text-align:center;
	box-sizing:border-box;
	letter-spacing:0;
	font-size:1.2em;
}

.tab6 label:hover {
  background: #FFF;
}
.tab6 input:checked + label {
	background: #0846ad;
	color: white;
	position:relative;
}

.tab6 input {
  display: none;
}
.tab6 #tab6-b1,
.tab6 #tab6-b2,
.tab6 #tab6-b3,
.tab6 #tab6-b4,
.tab6 #tab6-b5,
.tab6 #tab6-b6,
.tab6 #tab6-b7 {
  display: none;
}
.tab6 #tab6-1:checked ~ #tab6-b1,
.tab6 #tab6-2:checked ~ #tab6-b2,
.tab6 #tab6-3:checked ~ #tab6-b3,
.tab6 #tab6-4:checked ~ #tab6-b4,
.tab6 #tab6-5:checked ~ #tab6-b5,
.tab6 #tab6-6:checked ~ #tab6-b6,
.tab6 #tab6-7:checked ~ #tab6-b7 {
	display: block;
	clear:both;
	padding:3rem;
	border-top:5px solid #0846ad;
}

.tab6 .tab-content table th,
.tab6 .tab-content table td  {
	border:1px solid #DDD;
	background:#FFF;
	font-size:0.9em;
	padding:1rem;
	vertical-align:middle;
}

.tab6 .tab-content table th {
	text-align:center;
}

.tab6 .tab-content table td {
}

.tab6 .tab-content table th:nth-child(1) {width:15%; text-align:center;}
.tab6 .tab-content table th:nth-child(2) {width:20%; text-align:center;}
.tab6 .tab-content table th:nth-child(3) {width:15%; text-align:center;}
.tab6 .tab-content table th:nth-child(4) {width:50%; text-align:center;}

.tab6 .tab-content table td:nth-child(1),
.tab6 .tab-content table td:nth-child(2),
.tab6 .tab-content table td:nth-child(3),
.tab6 .tab-content table td:nth-child(4) {
	text-align:center;
}

.tab6 .tab-content table td[colspan] {
	background:#FAFAFA;
}


@media (max-width:980px) {
.tab6 {
	border-top:0;
}

.tab6 label {
    font-size: 0.9em;
	margin:0;
	border-radius:0;
	padding:0.6rem 0.5rem;
}

.tab6 #tab6-1:checked ~ #tab6-b1,
.tab6 #tab6-2:checked ~ #tab6-b2,
.tab6 #tab6-3:checked ~ #tab6-b3,
.tab6 #tab6-4:checked ~ #tab6-b4,
.tab6 #tab6-5:checked ~ #tab6-b5,
.tab6 #tab6-6:checked ~ #tab6-b6,
.tab6 #tab6-7:checked ~ #tab6-b7 {
	padding:0;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;
}

.tab6 .tab-content > div {
	overflow-x:scroll;
	position:relative;
	height:500px;
}

.tab6 .tab-content table {
	width:calc(100% - 1rem);
}

.tab6 .tab-content table th {
	word-break:keep-all;
	white-space: nowrap;
}

.tab6 .tab-content table td {
	word-break:keep-all;
	white-space: nowrap;
}

}

