/*
Theme Name: genesis-child
Version: 1.0
Template: genesis_tcd103
*/

@charset "UTF-8";

/*ページ内リンク対応*/
body {
	scroll-padding-top: 80px;
	scroll-behavior: smooth;
}

/*事業内容4つ並び*/

@media screen and (min-width: 1700px) {
    .cb_service_category_list_carousel .item {
        width: calc(1500px / 4 - 5px) !important;
    }
}
@media screen and (max-width: 1699px) {
  .cb_service_category_list_carousel .item {
    width: calc( (var(--vw) * 100 - 200px) / 4 - 5px) !important; }
  
}
@media screen and (max-width: 1391px) {
	.cb_service_category_list_carousel .item {
	    width: calc((var(--vw) * 100 - 120px) / 4 - 5px) !important;
	}
}
@media screen and (max-width: 1100px) {
    .cb_service_category_list_carousel .item {
        width: calc((var(--vw) * 100 - 80px) / 4 - 5px) !important;
    }
}
@media screen and (max-width: 950px) {
    .cb_service_category_list_carousel .item {
		width: 100% !important;
	}
}


.megamenu_b.use_carousel .item { width: calc(var(--vw)* 18); }

/*事業カテゴリーページ*/
.service_category_content .header .catch {
	width: auto;
}

/*テーブル*/

.post_content th {
	white-space: nowrap;
}
.post_content td, .post_content th {
	vertical-align: middle;
}

@media screen and (max-width: 767px) {
	.post_content td, .post_content th {
	    display: block;
	    width: 100% !important;
		box-sizing: border-box;
	}
	.post_content th {
	    text-align: left;
	    border-bottom: 0;
	}
	.post_content .facility thead th {
		border-bottom: 1px solid #d4d4d4;
	}
	.post_content .facility tr:nth-child(even) td {
		background-color: #dff3ff;
	}
	/*.post_content .facility td:first-child, 
	.post_content .facility th:first-child {
 		border-bottom: none;
 		padding-bottom: .5em;
	}
	.post_content .facility td:last-child, 
	.post_content .facility th:last-child {
	 	border-top: 1px solid #d4d4d4;
	 	padding-top: .5em;
	}*/
}

/* contact form */
.wpcf7 .wpcf7-submit:disabled {
	background-color: #CCC;
}