/*
Theme Name: tanigawa-kensou
Template: enfold
*/

@import url("../enfold/style.css");

/*========================================
	1-1.Structure Module
========================================*/

body {
	font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h2 {
	font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 700 !important;
	font-size: 26px;
	line-height: 1.5em;
	text-transform:none;
}

@media only screen and (max-width: 768px) {
	h2 {
		font-size: 21px;
	}
}

h3 {
	font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 700 !important;
	line-height: 1.5em;
	text-transform:none;
}

p {
	margin-top: 20px;
	margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {
	p {
		font-size: 15px;
	}
}

img,
.avia_image {
	border-radius: 0 !important;
}

.image-overlay-inside:before {
	display: none;
}

/*========================================
	2-1.contact form7
========================================*/

.wpcf7-form select {
	width: 40% !important;
}

input[type="number"].wpcf7-number {
	vertical-align: middle;
	width: 20% !important;
	display: inline-block !important;
}

select,
textarea,
input[type="text"],
input[type="number"],
input[type='email'] {
	margin-bottom: 0 !important;
}

.wpcf7 input::placeholder { color: #888; }
.wpcf7 textarea::placeholder { color: #888; }

#top input[type="date"] {
	padding: 8px 10px;
	font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

select {
	display: inline-block !important;
	max-width: 160px !important;
}

@media only screen and (max-width:480px){
	select {
		margin: 5px 0 !important;
	}
}

/*========================================
	2-2.お問い合わせフォーム
========================================*/

table.contact {
	margin: 20px 0 0 0;
	padding: 0;
	width: 100%;
	border: solid 1px #e5e5e5;
}

table.contact tr {
	border-top: solid 1px #ddd;
}

table.contact th {
	text-align: left;
	vertical-align: top;
	padding: 18px 15px;
	white-space: nowrap;
	color: #333;
	font-size: 17px;
	font-weight: bold;
	background: #fff;
}

table.contact td {
	background: #fff;
	padding: 18px 15px;
	color: #333;
	font-size: 17px;
}

table.contact td.title {
	padding: 18px 15px;
	color: #036eff;
	font-weight: bold;
	font-size: 17px;
	background: #f4f4f4;
}

table.contact table tr:first-child {
	border: none;
}

table.contact th p,
table.contact td p {
	margin: 5px 0;
}

#top input[type="text"],
#top input[type="date"],
#top .alternate_color input[type='email'],
#top .alternate_color input[type='tel'],
#top .alternate_color textarea,
#top .main_color input[type='email'],
#top .main_color input[type='number'],
#top .main_color textarea,
#top .main_color select {
	margin-bottom: 0;
	color: #333 !important;
	background-color: #f8f8f8 !important;
} 

th .require {
	display: inline-block;
	margin-left:10px;
	padding: 0 10px;
	border-radius: 12px;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	white-space: nowrap;
	background: #2281c5;
}

th.require:before {
	content: ' ';
	white-space: normal;
}

input[type="number"].wpcf7-number {
	margin-bottom: 0 !important;
	vertical-align: middle;
	width: 15% !important;
	display: inline-block !important;
}

span.wpcf7-list-item {
	display: inline-block;
	margin: 0 1em 0 0;
}

/*テーブルレスポンシブ設定*/
@media only screen and (max-width:767px){
	input[type="number"].wpcf7-number {
		vertical-align: middle;
		width: 20% !important;
		display: inline-block !important;
	}
}

@media only screen and (max-width:480px){
	table.contact { margin: 0; }
	table.contact th,
	table.contact td{
		width: 100%;
		display: block;
		border-top: none;
		text-align: center;
	}
	table.contact td .wpcf7-list-item{
		margin-left: 0;
		width: 100%;
		text-align: left;
	}
	table.contact tr:first-child th   { border-top: 1px solid #ddd; }
	table.contact textarea {
		width: 100%;
	}
}

.wpcf7-not-valid-tip {
	color: #dc0000 !important;
}

.wpcf7-mail-sent-ok {
	border: 2px solid #398f14 !important;
	color: #398f14 !important;
	font-weight: bold !important;
}

.wpcf7-validation-errors {
	border: 2px solid #dc0000 !important;
	color: #dc0000 !important;
	font-weight: bold !important;
}

.wpcf7-response-output {
	padding: 0.8em 1em 0.6em 1em !important;
}

input[type='submit'] {
	margin-top: 20px;
	padding: 20px;
	color: #000 !important;
	font-size: 17px;
	font-weight: bold;
        max-width: 340px;
        width: 340px;
	border-radius: 35px;
	background: rgb(255,241,111) !important;
}

@media only screen and (max-width:480px) {
	input[type='submit'] {
	        max-width: 300px;
	        width: 100%px;
	}
}

/*テーブルタイプ*/
table.companyTb {
	margin: 10px 0 20px 0;
	padding: 0;
	border: none;
	width: 100%;
}

table.companyTb th {
	margin: 0;
	padding: 8px;
	width: 25%;
	border: 1px solid #e5e5e5;
	color: #fff;
	background: #083882;
}

table.companyTb td {
	margin: 0;
	padding: 8px;
	border: 1px solid #e5e5e5;
	color: #666;
	background: #fff;
}

.avia-table td:first-child {
	width: 25%;
}

@media only screen and (max-width:480px){
	table.companyTb tr th,
	table.companyTb tr td {
		display: block;
		width: 100%;
	}
}

/*テーブルタイプ*/
table.contactTb {
	margin: 10px 0 20px 0;
	padding: 0;
	border: none;
	width: 100%;
}

table.contactTb th {
	margin: 0;
	padding: 12px;
	width: 25%;
	border: 1px solid #e5e5e5;
	color: #666;
	vertical-align: middle;
	background: #f3f3f3;
}

table.contactTb td {
	margin: 0;
	padding: 12px;
	border: 1px solid #e5e5e5;
	color:#55606e;
	background: #fff;
	font-size: 100%;
}

table.contactTb th p,
table.contactTb td p {
	margin: 0;
}

@media only screen and (max-width:480px){
	table.contactTb tr th,
	table.contactTb tr td {
		display: block;
		text-align: center;
	}

	table tr th,
	table.contactTb tr th {
		width: 100%;
		text-align:center;
	}

	table.contactTb td .wpcf7-list-item{
		margin-left: 0;
		width: 100%;
		text-align: left;
	}
}

/*========================================
	3-1.TOPページ
========================================*/

@media only screen and (min-width:989px){
	#header{
		background: rgba(255, 255, 255, 0.6);
	}
}

.avia_transform .av_fullscreen.avia-fade-slider .active-slide .avia-caption-title,
.slideshow_caption .avia-caption-content {
	text-shadow: 0 0 4px #000,0 0 8px #000,0 0 12px #000,0 0 16px #000;
}

/*メインビジュアル*/
.top-img-photo {
	margin: 20px 0 !important;
}

@media only screen and (max-width:480px){
	.bloglist-simple .read-more-link {
		display: none !important;
	}
}

/*タイトル*/
.entry-content-wrapper h2 {
	text-transform: none !important;
}

.titleBorder {
	margin: 30px 0 20px 0;
	padding: 10px 15px 10px 15px;
	color: #fff !important;
	font-size: 20px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #0088ea), color-stop(1.00, #1aa2ff));
	background: -webkit-linear-gradient(#0088ea, #1aa2ff);
	background: -moz-linear-gradient(#0088ea, #1aa2ff);
	background: -o-linear-gradient(#0088ea, #1aa2ff);
	background: -ms-linear-gradient(#0088ea, #1aa2ff);
	background: linear-gradient(#0088ea, #1aa2ff);
	box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
}

.titleBorderOrange {
	margin: 30px 0 20px 0;
	padding: 10px 15px 10px 15px;
	color: #fff !important;
	font-size: 20px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #ff6600), color-stop(1.00, #ff8c00));
	background: -webkit-linear-gradient(#ff6600, #ff8c00);
	background: -moz-linear-gradient(#ff6600, #ff8c00);
	background: -o-linear-gradient(#ff6600, #ff8c00);
	background: -ms-linear-gradient(#ff6600, #ff8c00);
	background: linear-gradient(#ff6600, #ff8c00);
	box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
}

.titleBorder-top {
	margin: 0 0 20px 0;
	padding: 10px 15px 10px 15px;
	color: #fff !important;
	font-size: 20px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #0088ea), color-stop(1.00, #1aa2ff));
	background: -webkit-linear-gradient(#0088ea, #1aa2ff);
	background: -moz-linear-gradient(#0088ea, #1aa2ff);
	background: -o-linear-gradient(#0088ea, #1aa2ff);
	background: -ms-linear-gradient(#0088ea, #1aa2ff);
	background: linear-gradient(#0088ea, #1aa2ff);
}

.titleBorder2 {
	margin: 0 0 20px 0;
	padding-bottom: 8px;
	border-bottom: solid 3px #cce4ff;
	position: relative;
	font-size: 18px;
}

.titleBorder2:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #5472cd;
	bottom: -3px;
	width: 20%;
}

.sub-point-title h2 {
	margin: 0 0 20px 0;
	padding-bottom: 8px;
	border-bottom: solid 3px #cce4ff;
	position: relative;
}

.sub-point-title h2:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #5472cd;
	bottom: -3px;
	width: 20%;
}

.sub-point-title h3 {
	margin: 0;
	padding: 0 5px 0 10px;
	border-left: solid 5px #0084e1;
	font-size: 20px;
}

.home .main_color div {
	border-color: #eee;
}

/*TOPニュース*/
#top-news-wrap .av-magazine-title {
	padding: 4px 0 0 0;
}

@media only screen and (max-width: 479px) {
	#top-news-wrap .av-magazine {
		margin-top: 10px;
	}
}

#top-news-wrap .av-magazine-title a {
	font-size: 14px !important;
	font-weight: 400 !important;
}

@media only screen and (max-width: 768px) {
	.top-news-title .avia-image-container.avia-align-right {
		float: left !important;
	}
}

@media only screen and (max-width: 479px) {
	.top-news-title .avia-image-container.avia-align-right {
		float: none !important;
	}
	.top-news-title .avia-image-container.avia-align-right img {
		margin: auto;
		width: 110px;
		height: auto;
	}
}

.av-magazine .av-magazine-no-thumb .av-magazine-content-wrap .av-magazine-title {
	padding-bottom: 5px;
}

@media only screen and (max-width: 479px) {
	h3.av-magazine-title {
		padding-top: 5px !important;
		padding-left: 0 !important;
	}
	#top-news-wrap .av-magazine-title {
		display: block;
		clear: both;
	}
}

.av-magazine-content-wrap {
	padding-bottom: 5px;
}

.av-magazine-time {
	float: left;
	margin-right: 10px;
	color: #000;
	width: 90px;
}

@media only screen and (max-width: 479px) {
	.av-magazine-time {
		margin-right: 15px;
	}
}

.av-magazine-content-wrap .text-sep-cats {
	display: none !important;
}

.av-magazine .av-magazine-cats-wrap {
	width: 80px !important;
	height: 22px;
	margin-top: 2px !important;
	margin-right: 10px;
	padding: 2px 0 0 0;
	color: #fff;
	background: #044da4;
	border: none;
	text-align: center;
}

.av-magazine .case .av-magazine-cats-wrap {
	background: #82AC00;
}

.av-magazine .exhibition .av-magazine-cats-wrap {
	background: #e0b13a;
}

.av-magazine .diary .av-magazine-cats-wrap {
	background: #e0b13a;
}

@media only screen and (max-width: 479px) {
	.av-magazine-title {
		display: inline-block;
	}
}

.av-magazine .minor-meta {
	font-size: 11px;
}

.av-magazine-cats {
	margin-top: -5px;
	display: block;
}

.av-magazine-cats a {
	color: #fff !important;
}

.av-magazine-content-wrap.RELEASE .av-magazine-cats {
	background: #89272d !important;
}

.av-magazine-content-wrap.RELEASE .av-magazine-cats a {
	color: #fff !important;
}

.av-sort-by-term a {
	border-top: 1px solid #f1f1f1;
	border-left: 1px solid #f1f1f1;
	border-right: 1px solid #f1f1f1;
	background: #fff;
	padding: 3px 10px;
	min-width: 70px;
	text-align: center;
	color: #333 !important;
	font-size: 10px;
}

.av-magazine-sort {
	display: none;
}

@media only screen and (max-width: 479px) {
	.av-magazine-sort {
		float: left;
	}
	.av-sort-by-term a {
		min-width: 60px;
	}
}

.av-sort-by-term .active_sort {
	color: #fff !important;
	background: #0564d0;
}

.av-sort-by-term a:nth-child(1) {
	background: #ccc;
}

.av-sort-by-term a:nth-child(3) {
	color: #fff !important;
	background: #0564d0;
}

.av-sort-by-term a:nth-child(5) {
	color: #fff !important;
	background: #82AC00;
}

.av-sort-by-term a:nth-child(7) {
	color: #fff !important;
	background: #e0b13a;
}

.av-sort-by-term a:nth-child(9) {
	color: #fff !important;
	background: #999;
}

.av-sort-by-term .text-sep {
	display: none;
}

/*TOPコンテンツ*/
#top-main-wrap .container,
#top-main-wrap-pc .container {
	width:100% !important;
	max-width:100% !important;
	padding: 0 !important;
}

#top-main-wrap {
	display: none !important;
}

@media only screen and (max-width: 479px) {
	#top-main-wrap {
		display: block !important;
	}
	#top-main-wrap-pc {
		display: none !important;
	}
}

.top-contents-wrap.top-contents-wrap-title {
	min-height: 10px !important;
}

.top-contents-wrap h2.av-special-heading-tag {
	font-size: 26px;
	color: #0065b7;
}

@media only screen and (max-width: 768px) {
	.top-contents-wrap h2.av-special-heading-tag {
		font-size: 24px;
	}
}

@media only screen and (max-width: 768px) {
	.top-contents-wrap.sub-point .flex_column{
		margin-bottom: 0 !important;
	}
}

.top-sicky-wrap .avia-button {
	background-color: #ebeff5 !important;
	border-color: #ebeff5 !important;
}

.top-sicky-wrap .avia-button:before {
	background: #ffffff;
}

/*TOPサービス*/
@media only screen and (max-width: 767px) {
	.top-service .flex_column_table.av-equal-height-column-flextable {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
	.top-service .flex_column_table.av-equal-height-column-flextable .flex_column {
		margin-top: 40px !important;
		margin-bottom: 40px !important;
	}
}

/*施工事例*/
.slide-image {
	margin-bottom: 0 !important;
}

.archive .slide-content,
.single .slide-content {
	padding: 20px;
	background-color: #0065b7;
}

.archive .slide-entry-title a,
.single .slide-entry-title a {
	color: #fff !important;
}

.archive .slide-meta time,
.single .slide-meta time {
	color: #fff;
}

.archive .slide-entry-excerpt .more-link,
.archive .slide-entry-excerpt .more-link:active,
.single .slide-entry-excerpt .more-link,
.single .slide-entry-excerpt .more-link:active {
	color: #fff;
}

.archive .slide-entry-excerpt .more-link:hover,
.single .slide-entry-excerpt .more-link:hover {
	color: #f5f5f5;
}

.home .blog-categories {
	display: none;
}

@media only screen and (max-width: 767px) {
	#top-stock .container .content {
		padding-top 0;
		padding-bottom: 0;
	}
}

@media only screen and (max-width: 768px) {
	#top-stock .entry-content-header {
		min-height: 80px;
	}
}

@media only screen and (max-width: 479px) {
	.responsive #top #wrap_all .avia-content-slider-odd .slide-entry {
		margin-bottom: 30px !important;
	}
}

#top-stock .slide-entry-wrap {
	margin-bottom: 30px !important;
}

@media only screen and (max-width: 479px) {
	#top-stock .slide-entry {
		margin-bottom: 30px !important;
	}
}

@media only screen and (max-width: 767px) {
	.top-2column-stock .slide-entry-wrap {
		float: none;
    	}
	.top-2column-stock .av_one_third,
	.top-2column-stock .av_one_half {
		width: 46% !important;
		margin-left: 2% !important;
		margin-right: 2% !important;
		margin-bottom: 5px !important;
		clear: none !important;
		float: left;
        	min-height: 268px;
    	}
	#top-2column-stock-title {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
    	}
	.top-2column-stock .slide-entry-title {
		font-size: 14px;
	}
}

@media only screen and (min-width: 769px) {
	.sub-bg-cover-scroll {
		background-size: contain;
	}
}

.sub-bg-cover {
	background-size: cover;
}

/*カラム*/
.avia-section {
	min-height: 50px;
}

@media only screen and (max-width: 767px) {
	.top-2column .flex_column.av_one_fourth,
	.top-2column .flex_column.av_one_fifth {
		width: 49% !important;
		clear: none !important;
		float: left !important;
		margin-left: 2% !important;
	}
	.top-2column .flex_column.av_one_fourth:nth-child(odd),
	.top-2column .flex_column.av_one_fifth:nth-child(odd) {
		margin-left: 0 !important;
		clear: both !important;
	}

	.top-2column-altemate .flex_column.av_one_fourth,
	.top-2column-altemate .flex_column.av_one_fifth {
		width: 49% !important;
		clear: none !important;
		float: left !important;
		margin-left: 0 !important;
	}
	.top-2column-altemate .flex_column.av_one_fourth:nth-child(odd),
	.top-2column-altemate .flex_column.av_one_fifth:nth-child(odd) {
		margin-left: 2% !important;
	}
}

@media only screen and (max-width: 767px) {
	.top-2column .flex_column.av_one_third {
		width: 48% !important;
		clear: none !important;
		float: left !important;
		margin: 0 1% !important;
	}
}

/*タブセクション*/
.av-tab-section-tab-title-container {
	background-color: #eee;
}

.avia-tab-title-padding-default .av-outer-tab-title {
	padding: 0px;
}

#top .av-section-tab-title{
	padding: 10px 10px 0px 10px;
}

#top-works .av-inner-tab-title {
	width: 130px;
	font-weight: bold;
}

#top .av-section-tab-title {
	color: #666666 !important;
}

/*タブセクション流れ*/
.top-flow-tab .tabcontainer .tab {
	font-size: 16px;
	font-weight: bold;
	color: #083882;
}

@media only screen and (min-width: 480px) {
	.top-content-flow-wrap .sectionWrap {
		display: -webkit-flex;
		display: flex;
		justify-content:center;
		align-items: flex-start;
	}
}

.top-content-flow-wrap .sectionWrap div {
	padding: 0 20px;
	width: 50%;
}

.top-content-flow-wrap .sectionWrap img {
	vertical-align: middle;
}

@media only screen and (max-width: 479px) {
	.top-content-flow-wrap .sectionWrap img {
		margin-bottom: 30px;
		padding-left: 0;
	}
	.top-content-flow-wrap .sectionWrap div {
		padding: 0;
		width: 100%;
	}
}

/*@media only screen and (min-width: 768px) and (max-width: 989px) {
	.responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a,
	.responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
		height: 80px;
		line-height: 80px;
	}
	.logo a img {
		padding-top: 15px;
	}
}*/

.avia-menu-text {
	font-size: 15px;
	font-weight: bold;
}

.avia-menu-text{
		text-shadow:0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff;
}

.sub-menu .avia-menu-text{
	font-size: 13px;
	font-weight: bold;
	color: #666;
}

@media only screen and (min-width: 990px) and (max-width: 1150px) {
	.av-main-nav > li > a {
		padding: 0 6px !important;
	}
	.responsive #top .logo {
		margin-top: 12px;
		height: 45px !important;
	}
}

@media only screen and (min-width: 990px) and (max-width: 1192px) {
	.avia-menu-text {
		font-size: 13px;
	}
}

@media only screen and (max-width: 989px) {
	.avia-menu-text{
		font-size: 13px;
	}
}

@media only screen and (max-width: 767px) {
	.responsive #top .logo {
		height: 60px !important;
	}
}

@media only screen and (max-width: 767px) {
	.responsive #top #header_main > .container .main_menu .av-main-nav > li > a,
	.responsive #top #wrap_all .av-logo-container {
		height: 60px;
		line-height: 60px;
	}
}

.av-main-nav ul {
	width: 308px;
}

#top .av_header_transparency #header_meta {
	border-bottom: none;
}

@media only screen and (max-width: 990px) { 
	.home #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle {
		background: transparent!important;
		position: absolute!important;
	}
}

/*.hd-contactBt {
	display: none;
}

@media only screen and (max-width: 989px){
	#header_meta {
		display: none !important;
	}
	.hd-contactBt {
		display: block;
	}
}

.phone-info {
	padding: 0;
}

.phone-info div a {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	background-color: #002447;
	text-align: center;
	font-size: 23px;
	font-weight: 700;
	color: #fff !important;
	padding: 15px 10px;
}

.hd-contactBt a {
	align-items: center;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	background-color: #083882 !important;
	text-align: center;
	font-size: 15px;
	font-weight: 400;
	color: #fff !important;
}

.phone-info div a::hover {
	color: #f5f5f5 !important;
	text-decoration: none;
}

.hd-contactBt a::hover {
	color: #083882 !important;
	text-decoration: none;
}

.phone-info div a::before,
.hd-contactBt a::before {
	background-image: url("https://www.tanigawa-kensou.com/wp-content/uploads/2024/12/hd-mail.png");
}
.phone-info div a::before,
.hd-contactBt a::before {
	content: "";
	display: block;
	width: 38px;
	height: 25px;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center center;
	margin-right: 0.5rem;
}*/

.responsive body.home {
	overflow-x: visible !important;
}

.home #wrap_all {
	overflow: visible !important;
}

.responsive body.page {
	overflow-x: visible !important;
}

.page #wrap_all {
	overflow: visible !important;
}

/*#top-main {
	background-color: #fff !important;
	background-repeat: no-repeat !important;
	background-position: calc(50% + 0px) calc(20% - 0px) !important;
}*/

#top-main h2 {
	text-shadow:0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff;
}

/*#top-main-mb {
	display: none !important;
}

@media only screen and (max-width: 767px) {
	#top-main-mb {
		display: block !important;
	}
	#top-main {
		display: none !important;
	}
}

#top-main-mb .container {
	width: 100% !important;
	max-width: 100% !important;
}

#top-main-mb .container .content {
	padding: 0 !important;
}

#top-main-mb .av_textblock_section {
	margin: auto;
	width: 85% !important;
	max-width: 85% !important;
}

#top-main h3 {
	margin: 30px 0;
	font-size: 22px;
	text-shadow:0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff;
}

#top-main h2 {
	margin: 30px 0;
	font-size: 27px;
	line-height: 1.5em;
}

@media only screen and (max-width: 1192px) {
	#top-main .av_one_half {
		width: 75%;
	}
}

#top-main-mb h2 {
	margin: 30px 0;
}

#top-main-mb h2 {
	margin: 30px 0;
	font-size: 26px;
	line-height: 1.5em;
}

@media only screen and (max-width: 767px) {
	#top-main-mb h2 {
		font-size: 24px;
	}
}

#top-main p{
	color: #333;
	font-weight: bold;
	line-height: 1.5em;
}

#top-main-mb p {
	color: #333;
	font-weight: bold;
	line-height: 1.5em;
}*/

@media only screen and (max-width: 767px) {
	.top-custom-bt {
		margin-left: 20px;
	}
}

.top-custom-bt .avia-button {
	border-radius: 0;
	font-size: 16px;
	font-weight: bold;
	border: 2px solid #002447;
	border-radius: 3rem;
}

@media only screen and (max-width: 767px) {
	.top-custom-bt .avia-button-wrap {
		margin-left: 7%;
	}
}

@media only screen and (max-width: 767px) {
	.page-contents-sub-title,
	.top-sicky-title,
	.top-sicky-guide {
		margin-top: 0 !important;
		margin-bottom: 10px !important;
	}
}

.top-works-wrap {
	position: relative;
	box-sizing: border-box;
	padding: 20px 60px 10px 60px;
}

@media only screen and (min-width: 768px) {
	.top-works-wrap {
		min-height: 165px;
	}
}

@media only screen and (min-width: 990px) {
	.top-works-wrap {
		min-height: 145px;
	}
}


@media only screen and (max-width: 767px) {
	.top-works-wrap .avia-button-wrap {
		margin-left: 0;
	}
}

.top-works-wrap h2 {
	font-size: 20px;
}

.top-works-wrap h3 {
	display: inline-block;
	position: absolute;
	z-index: 1;
	top: 20px;
	left: 20px;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 12px;
	color: #0065b7;
}

.top-works-wrap hr {
	margin: 10px 0 20px;
}

.top-works-wrap p {
	font-size: 16px;
}

.top-works-wrap p a {
	font-weight: bold;
	color: #333;
}

.top-works-wrap p a:hover {
	color: #604100;
}

@media only screen and (max-width: 767px) {
	.top-works-wrap p {
		font-size: 14px;
	}
}

@media only screen and (min-width: 768px) {
	.top-works-wrap .avia-button-wrap {
		position: absolute;
		bottom: 30px;
	}
}

.top-works-wrap .avia-button {
	border-radius: 0;
	font-size: 14px;
	font-weight: bold;
}

.top-works-wrap.avia-button::before {
	content: "";
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: skewX(-15deg);
	transform: skewX(-15deg);
	width: 100%;
	height: 100%;
	border: 1px solid #083882;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
}

.top-point-wrap .flex_column {
	position: relative;
}

.top-point-text {
	position: absolute;
	top: 10%;
	left: 10px;
	right: 10px;
}

@media only screen and (min-width: 768px) {
	.top-point-text {
		top: 50%;
		left: 20px;
	}
}

.top-point-text p,
.top-point-text p a,
.top-point-text .av_font_icon {
	color: #fff !important;
}

@media only screen and (min-width: 768px) {
	.top-sicky {
		position: sticky !important;
		top: 120px;
	}
}

.top-contents-navi p {
	padding-bottom: 25px;
	border-bottom: 1px solid #604100;
}

.top-contents-navi p a::link {
	color: #333;
}

.top-contents-navi p a::before {
	content: "";
	display: inline-block;
	border: 1px #002447 solid;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	margin-right: 8px;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.top-contents-navi p a:hover::before {
	background-color: #002447;
}

@media only screen and (max-width: 767px) {
	.top-contents-navi p {
		display: inline-block;
		margin-left: 20px;
		font-size: 14px;
	}
	.top-contents-navi p:first-child {
		margin-left: 0;
	}
}

@media only screen and (max-width: 479px) {
	.top-contents-navi p {
		margin-left: 0;
		padding-bottom: 15px;
		display: block;
	}
}

.top-content-section-wrap {
	margin-bottom: 40px;
	padding: 20px;
	background: #f5ffff;
}

@media only screen and (min-width: 480px) {
	.sectionWrap {
		display: -webkit-flex;
		display: flex;
		justify-content:center;
		align-items: flex-start;
	}
}

.sectionWrap div {
	padding: 0 20px;
}

.sectionWrap img {
	vertical-align: middle;
}

@media only screen and (max-width: 479px) {
	.sectionWrap img {
		margin-top: 30px;
		padding-left: 0;
	}
}

@media only screen and (max-width: 767px) {
	.top-sicky-wrap .container .content {
		padding: 0;
	}
}

#top-content-company-wrap .container {
	max-width: 100%;
	padding: 0;
}

#top-content-company-wrap .container .content {
	padding-bottom: 0;
}

.top-strengths-wrap {
	position: relative;
	box-sizing: border-box;
	padding: 20px 20px 10px 20px;
}

@media only screen and (min-width: 768px) {
	.top-strengths-wrap {
		min-height: 165px;
	}
}

@media only screen and (min-width: 990px) {
	.top-strengths-wrap {
		min-height: 145px;
	}
}

.top-strengths-wrap h2 {
	color: #0065b7;
	font-size: 26px;
	margin-bottom: 80px;
}

@media only screen and (max-width: 767px) {
	.top-strengths-wrap h2 {
		font-size: 24px;
	}
}

.top-strengths-wrap h3 {
	font-size: 16px;
	color: #333;
}

.top-strengths-wrap hr {
	margin: 10px 0 20px;
}

.top-strengths-wrap p {
	font-size: 16px;
}

.top-strengths-wrap p a {
	font-weight: bold;
	color: #333;
}

.top-strengths-wrap p a:hover {
	color: #604100;
}

@media only screen and (max-width: 767px) {
	.top-strengths-wrap p {
		font-size: 14px;
	}
}

.contents-sub-title h2 {
	color: #0065b7 !important;
}

@media only screen and (max-width: 767px) {
	.contents-sub-title {
		margin-bottom: 0 !important;
	}
}

.contents-sub-title .av-subheading {
	font-size: 18px !important;
	font-weight: bold;
	line-height: 1.5em;
}

.contents-sub-title-w h2 {
	color: #fff;
}

.contents-sub-title-w .av-subheading {
	font-size: 18px !important;
	font-weight: bold;
	line-height: 1.5em;
	color: #fff;
}

@media only screen and (max-width: 767px) {
	.contents-sub-title-text {
		margin-top: 0 !important;
		margin-bottom: 10px !important;
	}
}

.top-about-section {
	margin-top: 40px !important;
}

.top-about-section h2 {
	font-size: 26px !important;
}

.top-nomargin-section {
	padding-top: 40px;
}

.footer-wrap .entry-content-wrapper {
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: nowrap;
 	flex-wrap: nowrap;
}

@media only screen and (min-width: 768px) {
	.footer-left-photo {
		z-index: 10 !important;
		width: 55% !important;
		margin-right: -3.33% !important;
	}
	.footer-right-text {
		margin-left: 0 !important;
		width: 48.3% !important;
	}
}

@media only screen and (max-width: 767px) {
	.footer-wrap .entry-content-wrapper {
		display: block;
	}
}

.footer-contact-bt a {
	font-size: 20px !important;
	font-weight: bold;
}

.footer-works-wrap {
	position: relative;
	box-sizing: border-box;
	padding: 20px;
}

@media only screen and (min-width: 768px) {
	.footer-works-wrap {
		min-height: 165px;
	}
}

@media only screen and (min-width: 990px) {
	.footer-works-wrap {
		min-height: 145px;
	}
}


@media only screen and (max-width: 767px) {
	.footer-works-wrap .avia-button-wrap {
		margin-left: 0;
	}
}

.footer-works-wrap h2 {
	font-size: 20px;
}

.footer-works-wrap hr {
	margin: 10px 0 20px;
}

.footer-works-wrap p {
	font-size: 16px;
}

.footer-works-wrap p a {
	font-weight: bold;
	color: #333;
}

.footer-works-wrap p a:hover {
	color: #604100;
}

@media only screen and (max-width: 767px) {
	.footer-works-wrap p {
		font-size: 14px;
	}
}

.footer-works-wrap .avia-button {
	border-radius: 0;
	font-size: 14px;
	font-weight: bold;
}

.footer-works-wrap.avia-button::before {
	content: "";
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: skewX(-15deg);
	transform: skewX(-15deg);
	width: 100%;
	height: 100%;
	border: 1px solid #083882;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
}

.grecaptcha-badge {
	visibility: hidden;
}

/*========================================
	4-1.カスタムCSS
========================================*/

@media only screen and (max-width: 567px) {
    .responsive #top #wrap_all .container {
        width: 95%;
        max-width: 95%;
    }
}

/*ヘッダー*/
#header_main {
	border-bottom: none;
}

@media only screen and (max-width: 767px) {
	.responsive #top #main {
		padding-top: 0 !important;
		margin: 0;
	}
}

@media only screen and (max-width: 767px) {
	.responsive .logo img {
		max-height: 43px;
	}
	/*.responsive .home .logo img {
		margin-left: 10px;
	}*/
}

/*ニュース*/
#top .fullsize .template-blog.av_force_fullwidth .post-title {
	margin-left: 0;
	max-width: 90%;
}

/*フレーム*/
iframe {
	border-radius: 5px;
}

/*テーブルタイプ ショップ*/
table.shopTb {
	margin: 10px 0 20px 0;
	padding: 0;
	border: none;
	width: 100%;
}

table.shopTb th {
	margin: 0;
	padding: 15px;
	width: 20%;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #c8c8c8;
	color: #333;
	font-size: 16px;
	font-weight: bold;
	background: #fff;
	line-height: 1.3em;
}

table.shopTb td {
	margin: 0;
	padding: 15px;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px solid #c8c8c8;
	color: #333;
	font-size: 16px;
	background: #fff;
	line-height: 1.3em;
}

table.shopTb.sub-gray th {
	color: #fff;
	border-bottom: 1px solid #eee;
	background: #002447;
}

table.shopTb.sub-gray td {
	border-bottom: 1px solid #eee;
}

table.shopTb.sub-gray-blog th {
	color: #fff;
	border-bottom: 1px solid #eee;
	background: #002447;
}

table.shopTb.sub-gray-blog td {
	border: 1px solid #eee;
}

.tb-contact-icon ul {
	margin: 0;
}

.tb-contact-icon ul li {
	display: inline-block;
	padding: 0:
	list-style: none;
	font-weight: bold;
}

.tb-contact-icon ul li img {
	padding-right: 5px;
	vertical-align: bottom;
}

.tb-contact-icon ul li:first-child {
	margin-left: 0;
}

@media only screen and (max-width:479px){
	.tb-contact-icon ul li {
		display: block;
		margin: 0 0 15px 0;
		padding: 0:
	}
}

@media only screen and (max-width:479px){
	table.shopTb th{
		width: 100%;
		display: block;
		border-top: none;
	}
	table.shopTb td{
		width: 100%;
		display: block;
		border-top: none;
		text-align: left;
	}
}

/*テーブルタイプ データ*/
table.dataTb {
	margin: 10px 0 0 0;
	padding: 0;
	border: none;
	width: 100%;
	border-collapse:separate;
	border-spacing: 0;
}

table.dataTb th {
	margin: 0;
	padding: 8px;
	width: 33%;
	border:none;
	color: #fff;
	text-align: center;
	background: #0076c0;
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

table.dataTb th.thHeader {
	margin: 0;
	padding: 8px;
	width: 33%;
	border:none;
	color: #fff;
	text-align: center;
	background: linear-gradient(#0071ae,#0076c0);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

table.dataTb th:first-child {
	width: 33%;
	min-width: 200px;
}

table.dataTb td {
	margin: 0;
	padding: 8px;
	width: 33%;
	min-width: 150px;
	border: none;
	color: #211001 !important;
	text-align: center;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
}

/*テーブルタイプ 製品リスト*/
table.listTb {
	margin: 10px 0 0 0;
	padding: 0;
	border: none;
	width: 100%;
	border-collapse:separate;
	border-spacing: 0;
}

table.listTb th {
	margin: 0;
	padding: 8px 4px;
	width: 20%;
	border:none;
	color: #fff;
	font-size: 12px;
	text-align: center;
	background: linear-gradient(#0071ae,#0076c0);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

table.listTb th:first-child {
	width: 20%;
	min-width: 100px;
}

table.listTb td {
	margin: 0;
	padding: 8px;
	width: 10%;
	min-width: 110px;
	border: none;
	color: #211001 !important;
	text-align: center;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
}

/*テーブルタイプ 製品リスト2*/
table.listTb2 {
	margin: 10px 0 0 0;
	padding: 0;
	border: none;
	width: 100%;
	border-collapse:separate;
	border-spacing: 0;
}

table.listTb2 th {
	margin: 0;
	padding: 8px 4px;
	width: 25%;
	border:none;
	color: #fff;
	font-size: 12px;
	text-align: center;
	vertical-align: middle;
	background: linear-gradient(#0076c0,#3d71a1);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

table.listTb2 th:first-child {
	width: 20%;
	min-width: 100px;
}

table.listTb2 td {
	margin: 0;
	padding: 8px;
	width: 25%;
	min-width: 110px;
	border: none;
	color: #211001 !important;
	text-align: center;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
}

/*テーブルタイプ スタッフ*/
table.staffTd {
	margin: 10px 0 20px 0;
	padding: 0;
	border: none;
	width: 100%;
}

table.staffTd th {
	margin: 0;
	padding: 8px;
	width: 35%;
	border: none;
	color: #fff;
	line-height: 1.3em;
	background: linear-gradient(#0071ae,#0076c0);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

table.staffTd td {
	margin: 0;
	padding: 8px;
	border: none;
	color: #211001;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
}

table.staffTd td ul {
	margin-bottom: 0;
}

table.staffTd td li {
	padding: 0;
}

@media only screen and (max-width:480px){
	table.staffTd tr th,
	table.staffTd tr td {
		display: block;
		width: 100%;
	}
}

/*テーブルタイプ コーティングリスト1*/
table.cortingTb {
	margin: 10px 0 20px 0;
	padding: 0;
	border: none;
	width: 100%;
}

table.cortingTb th {
	margin: 0;
	padding: 8px;
	width: 25%;
	border: none;
	color: #fff;
	background: linear-gradient(#0071ae,#0076c0);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

table.cortingTb td {
	margin: 0;
	padding: 8px;
	border: none;
	color: #211001;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
}

table.cortingTb td ul {
	margin-bottom: 0;
}

table.cortingTb td li {
	padding: 0;
}

table.cortingTb td:first-child {
	width: 25%;
}

@media only screen and (max-width:480px){
	table.cortingTb tr th,
	table.cortingTb tr td {
		display: block;
		width: 100%;
	}
}

/*テーブルタイプ コーティングリスト2*/
table.cortingTb2 {
	margin: 10px 0 0 0;
	padding: 0;
	border: none;
	width: 100%;
	border-collapse:separate;
	border-spacing: 0;
	line-height: 1.5em;
}

table.cortingTb2 th {
	margin: 0;
	padding: 8px 4px;
	border:none;
	color: #fff;
	font-size: 12px;
	text-align: center;
	background: linear-gradient(#0076c0,#3d71a1);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

table.cortingTb2 td {
	margin: 0;
	padding: 8px;
	border: none;
	color: #211001 !important;
	text-align: center;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
}

/*テーブルタイプ スタッフ*/
.staffWrap {
	margin: 0 0 20px 0;
}

.staffWrap:after{
	content:"";
	display:block;
	clear:both;
}

.staffWrap img {
	max-width: 100%;
	height: auto;
}

table.staffTb {
	margin: 0;
	padding: 0;
	border: none;
	width: 52%;
}

table.staffTb th {
	margin: 0;
	padding: 8px 0;
	width: 25%;
	border: none;
	color: #fff;
	text-align: center;
	background: linear-gradient(#0b62b3,#004e8b);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
	line-height: 1.3em;
}

table.staffTb td {
	margin: 0;
	padding: 8px;
	border: none;
	color: #211001;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
	line-height: 1.3em;
}

.staffFloat {
	float:left;
	margin:0 3% 0 0;
	width: 45%;
}

@media only screen and (max-width: 1024px) {
	.staffFloat {
		width: 35%;
	}
	table.staffTb {
		width: 62%;
	}
	table.staffTb th {
		width: 32%;
	}
}

@media only screen and (max-width: 860px) {
	table.staffTb {
		margin: 0;
		padding: 0;
		border: none;
		width: 100%;
	}
	.staffFloat {
		float:none;
		margin:0 0 5px 0;
		width: 50%;
	}
	table.staffTb th {
		width: 30%;
	}
}

@media only screen and (max-width: 479px) {
	table.staffTb {
		margin: 0;
		padding: 0;
		border: none;
		width: 100%;
	}
	.staffFloat {
		float:none;
		margin:0 0 5px 0;
		width: 100%;
	}
}

.w5p {
	min-width: 100px;
}

.w10p {
	min-width: 100px;
}

.w20p {
	min-width: 100px;
}

.w25p {
	min-width: 100px;
}

.scroll{
	width: 100%;
	padding: 0 0 10px 0;
	overflow-x: auto;
}

@media only screen and (max-width: 768px) {
	.scroll{
		margin-bottom: 30px;
		padding: 0 0 10px 0;
	}
}

.scroll::-webkit-scrollbar{
	height: 10px;
}

.scroll::-webkit-scrollbar-thumb {
	background: #acacac;
	border-radius: 5px;
}

.scroll-wrap::-webkit-scrollbar-track-piece {
	background: #f8f8f8 !important;
	border-radius: 5px;
}
.scroll::-webkit-scrollbar-track {
	background:#f8f8f8;
	border-radius: 5px;
}

/*検索結果ページ*/
.search_form_field h4 {
	margin-bottom: 20px;
}

.search_form_field p {
	display: none;
}

.search-results .post-meta-infos {
	display: none;
}

.search-results .post-title{
	margin-top: 10px;
}

/*ウィジェット*/
h4.footerH4 {
	font-size: 1em;
	margin-top: 28px;
	margin-bottom: 18px;
}

ul.footerUl {
	list-style-type: disc;
}

ul.footerUl li {
	margin-left: 1.2em;
}

#top .news-thumb {
	padding: 0;
	height: 70px;
	width: 70px;
}

#top .news-thumb img {
	width: 100%;
	height: auto;
}

.widget .page_item {
	margin-bottom: 15px;
	font-size: 90%;
	line-height: 1.2em;
}

/*メッセージボックス*/
.avia_message_box_content {
	text-align: left;
}

/*page-top*/
.responsive #scroll-top-link {
	background-color: #ccc !important;
}

@media only screen and (max-width: 767px) {
	.responsive #scroll-top-link {
		display: block !important;
	}
}

/*サブページ*/
.sub-hd-wrap {
	background-size: cover !important;
}

.sub-hd-title-wrap .container {
	padding-top: 0 !important;
}

.sub-hd-title-wrap .entry-content-wrapper {
	display: flex;
	justify-content: space-between;
}

.sub-hd-title-right {
	flex: 1;
	margin-right: calc(50% - 50vw) !important;
	margin-left: 4% !important;
}

.sub-hd-title-left {
	padding: 128px 0 64px 0;
}

.sub-hd-title-left h1 {
	margin-top: 50px !important;
}

@media only screen and (max-width: 767px) {
	.sub-hd-title-wrap .av_one_half {
		width: 77% !important;
		clear: none !important;
		float: left;
    	}
	.sub-hd-title-left {
		padding: 60px 0 0 0;
	}
}

@media only screen and (max-width: 989px) {
	#top.page #wrap_all .av_header_transparency {
		background: transparent;
		position: absolute!important;
	}
	#top.home #wrap_all .av_header_transparency {
		background: #ffffff;
		position: relative !important;
	}
}

.sub-hd-breadcrumbs .breadcrumb-trail {
	font-size: 12px;
}

.sub-main {
	margin-top: 120px;
}

@media only screen and (max-width: 768px) {
	.sub-main {
		margin-top: 10px;
		background-image: url("https://www.tanigawa-kensou.com/images/sub-main_bg-mb.jpg") !important;
		background-position: 0% 50%;
		background-size: 100%;
	}
}

.sub-main-photo {
	margin-top: -100px !important;
}

h1.av-special-heading-tag {
	color: #0065b7;
	font-size: 30px;
	font-weight: bold !important;
	line-height: 1.2em;
}

@media only screen and (max-width: 768px) {
	h1.av-special-heading-tag {
		font-size: 21px;
	}
}

/*サブページアイコンボックス*/
@media only screen and (min-width: 767px) {
	#equipment-list .iconbox_content {
		min-height: 180px;
	}
	#use-list .iconbox_content {
		min-height: 130px;
	}
	#drainage-water-list .iconbox_content {
		min-height: 260px;
	}
}

#equipment-list .iconbox_content_title {
	text-align: left;
}

/*ボタン*/
.avia-button.avia-size-x-large {
	padding: 20px 25px 18px !important;
	font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/*サブページ目次*/
#mokuji div .av_one_third {
	margin-left: 5%;
	width: 30%;
}

#mokuji h2 {
	font-size: 20px !important;
}

#mokuji div .first {
	margin-left: 0;
	width: 30%;
}

#mokuji .column-top-margin {
	margin-top: 25px;
}

#mokuji .avia_button_icon {
	vertical-align: middle;
}

#mokuji .avia-button {
	color: #7e5f00 !important;
	border: 2px solid #7e5f00 !important;
	background-color: #fff !important;
}

#mokuji .avia-button:hover {
	background-color: #f8f8f8 !important;
}

#mokuji .avia_button_background {
	border: none !important;
}

/*フルワイドボタン*/
.avia-button-fullwidth {
	padding: 10px 5px !important;
}

.avia-button-fullwidth .avia_iconbox_title {
	font-size: 13px;
	font-weight: bold;
	vertical-align: middle;
	line-height: 1em;
}

/*.avia-button-wrap .avia-button {
	border-radius: 30px !important;
	line-height: 0.8em;
}*/

.faq-wrap .entry-content-wrapper {
	box-sizing: border-box;
	padding: 30px !important;
	box-shadow: 0 0 10px 0 #000;
}

.faq-wrap ul{
	margin-left: 0;
	margin-bottom: 30px;
	list-style:none;
}

.faq-wrap ul li:first-child {
	background:url("https://www.tanigawa-kensou.com/wp-content/uploads/2024/06/icon-q.png") no-repeat 0 0;
	background-size:auto 30px;
	padding-left: 40px;
	margin-left: 0;
	margin-bottom: 20px;
	font-weight: bold;
}

.faq-wrap ul li:last-child {
	background:url("https://www.tanigawa-kensou.com/wp-content/uploads/2024/06/icon-a.png") no-repeat 0 0;
	background-size:auto 30px;
	padding-left: 40px;
	margin-left: 0;
}

.faq-q {
	display: inline-block;
	margin-right: 4px;
	padding: 10px;
	color: #fff;
	font-weight: bold;
	border: 1px solid #0065b7;
	background: #0065b7;
}

.faq-a {
	display: inline-block;
	margin-right: 8px;
	margin-left: 6px;
	padding: 5px 10px;
	color: #0065b7;
	font-weight: bold;
	border: 1px solid #0065b7 !important;
}

.js_active .toggler {
	border-color: #0065b7;
}

/*スライダーカーセル*/
.staff-photo-wrap .container {
	max-width: 95%;
	padding:0
}

.slick-slide {
	padding: 0 20px;
}

@media only screen and (max-width: 768px) {
	.slick-slide {
		padding: 0 5px;
	}
}

/*ブログアーカイブページ*/
@media only screen and (max-width: 767px) {
	.responsive #top #wrap_all .avia-content-slider-even .slide-entry.slide-parity-odd, .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even {
		margin: 0;
		clear: both;
		margin-bottom: 20px;
	}
}

.archive .entry-content {
	display: none;
}

.blog-categories a {
	display: inline-block;
	margin: 5px 5px 0px 0;
	padding: 0 5px;
	border: 1px solid #002447;
	border-radius: 3rem;
	white-space: nowrap;
	color: #002447 !important;
	font-size: 13px;
	text-align: center;
	min-width: 72px;
	background: #fff;
}

@media only screen and (max-width: 767px) {
	.big-preview.single-big {
		padding: 0 0 10px 0;
	}
}

/*ブログ見出し文字カラー・サイズ*/
/*.single-post .entry-content h2 {
	font-size: 21px;
}

.single-post .entry-content h3 {
	font-size: 18px;
	font-weight: bold !important;
}*/

/*ブログタイトル*/
/*.single-post .post-entry h1 {
	margin-bottom: 20px;
	padding: 10px 15px 10px 15px;
	color: #fff !important;
	font-size: 21px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #006acc), color-stop(1.00, #0084e1));
	background: -webkit-linear-gradient(#006acc, #0084e1);
	background: -moz-linear-gradient(#006acc, #0084e1);
	background: -o-linear-gradient(#006acc, #0084e1);
	background: -ms-linear-gradient(#006acc, #0084e1);
	background: linear-gradient(#006acc, #0084e1);
	box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
}

.single-post .post-entry h2 {
	margin: 30px 0 20px 0;
	padding: 10px 5px 8px 10px;
	border-left: solid 5px #0084e1;
	border-bottom: solid 3px #d7d7d7;
	color: #0084e1 !important;
	font-size: 20px;
	background: #f8f8f8;
}

.single-post .post-entry h3 {
	margin: 30px 0 20px 0;
	padding-bottom: 8px;
	border-bottom: solid 3px #cce4ff;
	position: relative;
	font-size: 18px;
}

.single-post .post-entry h3:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 3px #5472cd;
	bottom: -3px;
	width: 20%;
}

.single-post .post-entry h4 {
	color: #0084e1 !important;
	font-size: 16px;
}

.single-post .post-entry .entry-content {
	margin-top: 30px;
}*/

.single-post .template-single-blog .post-entry h1 {
	margin-bottom: 20px;
	padding: 0;
	font-size: 22px;
}

.single-post .template-single-blog .post-entry h2 {
	margin: 20px 0;
	color: #0065b7;
	font-size: 22px;
	font-weight: bold;
	position: relative;
	padding: 1rem 0;
}

.single-post .template-single-blog .post-entry h2:after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	content: '';
	border-radius: 3px;
	background-image: -webkit-gradient(linear, right top, left top, from(#2af598), to(#009efd));
	background-image: -webkit-linear-gradient(right, #2af598 0%, #009efd 100%);
	background-image: linear-gradient(to left, #2af598 0%, #009efd 100%);
}

.single-post .template-single-blog .post-entry h3 {
	margin: 15px 0 !important;
	padding-left: 0 !important;
	padding-bottom: 5px !important;
	border-left: none !important;
	border-bottom: solid 1px #0098cb !important;
	color: #0098cb !important;
}

/*テーブルタイプ ブログ*/
/*.single-post .template-single-blog .post-entry table {
	margin: 10px 0 20px 0;
	padding: 0;
	border: none;
	width: 100%;
	min-width: 100%;
}

.single-post .template-single-blog .post-entrytable th {
	margin: 0;
	padding: 8px;
	width: 20%;
	border: none;
	color: #fff;
	background: linear-gradient(#0b62b3,#004e8b);
	box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}

.single-post .template-single-blog .post-entry table td {
	margin: 0;
	padding: 8px;
	border: none;
	color: #211001;
	background: #fff;
	box-shadow: 0px -3px 5px 1px #eee inset;
}

@media only screen and (max-width:480px){
	.single-post .template-single-blog .post-entry table tr th,
	.single-post .template-single-blog .post-entry table tr td {
		display: block;
		width: 100%;
	}
}*/

/*ブログ*/
.single-post .post-entry .image_l { padding:3px 0 0 0; margin:0 15px 0px 0; float:left; display:inline; }
.single-post .post-entry .image_r { padding:3px 0 0 0; margin:0 0 0 15px; float:right; display:inline; }

/*.single-post .template-single-blog .post-entry img {
	padding: 4px;
	border: 1px solid #e5e5e5;
	background: #fff;
}*/

/*.big-preview {
	display: none !important;
}*/

.single-post .breadcrumb-trail .trail-end {
	display: none !important;
}

/*見出しリンク設定*/
#top .custom-color-heading a {
	text-decoration: none;
}

#contact-hd .iconbox_left_content .iconbox_icon {
	width: 64px;
	height: 64px;
	line-height: 62px;
	margin-right: 17px;
}

#contact-mail .iconbox_left_content .iconbox_icon {
	width: 64px;
	height: 64px;
	line-height: 62px;
	margin-right: 17px;
}

#contact-mail .iconbox_content {
	padding-top: 23px;
}

#contact-mail .iconbox_icon:before {
	font-family: 'entypo-fontello';	
	content: "\e805" !important;
}

#contact-mail .container .content {
	padding-top: 30px !important;
}

/*タイムラインアイコンサイズ*/
.avia-timeline .milestone_icon {
	height: 60px !important; 
	width: 60px !important; 
	line-height: 60px !important; 
}

.avia-timeline .milestone_icon.milestone-icon-hasborder .milestone_inner {
	line-height: 60px;
}

.av-milestone-content p {
	margin: 0;
}

.avia-timeline-vertical .av-milestone-icon-wrap:after {
	left: 33%;
}

.av-milestone-icon-wrap:after {
	border-color: #000066;
}

.av-milestone-content p {
	margin: 0;
}

.avia-timeline-boxshadow .av-milestone-contentbox {
	padding: 10px 10px 5px 10px;
}

.avia-timeline-container {
	display: block;
}
ul.avia-timeline-vertical {
	display: block;
}
ul.avia-timeline-vertical li {
	display: block;
	overflow: hidden;
	position: relative;
	padding: 0 0 0 60px;
}
.avia-timeline-vertical .av-milestone-date span {
	left: -50px !important;
	right: auto;
}
.avia-timeline-vertical .av-milestone-date span:before {
	right: 0;
	left: auto;
}
.avia-timeline-vertical .av-milestone-date {
	display: block;
	white-space: normal;
	padding: 18px 0 30px 50px;
	margin: 0;
	position: relative;
	text-align: left;
}
.avia-timeline-vertical .av-milestone-icon-wrap {
	overflow: visible;
	position: absolute;
	left: 0;
	top: 0;
	padding-top: 0;
}
.avia-timeline-vertical .av-milestone-icon-wrap {
	display: block;
}
.avia-timeline-vertical.av-milestone-placement-alternate .av-milestone-content-wrap {
	width: 100%;
}
.avia-timeline-vertical .av-milestone-icon-wrap, .avia-timeline-vertical .av-milestone-content-wrap {
	display: block;
}
.avia-timeline-vertical.avia-timeline-boxshadow .av-milestone-content-wrap {
	padding: 0 15px 30px 50px;
}
ul.avia-timeline-vertical.avia-timeline-boxshadow .av-milestone-contentbox:after {
	left: 2em !important;
	top: 0;
	margin-top: 0;
}
ul.avia-timeline-vertical.avia-timeline-boxshadow .av-milestone-contentbox:before {
	left: 2em;
	top: 0;
	margin-top: 0;
}
.avia-timeline-vertical.av-milestone-placement-alternate.avia-timeline-boxshadow li.av-milestone-even .av-milestone-content-wrap {
	padding: 0 15px 60px 50px;
}
.avia-timeline-vertical.av-milestone-placement-alternate.avia-timeline-boxshadow li.av-milestone-even .av-milestone-contentbox:before {
	left: 2em;
	right: auto;
}
.avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-content-wrap {
	padding: 0 0 60px 50px;
	text-align: left;
}
.avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-date {
	padding: 18px 0 30px 50px;
	display: none;
}
.avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-date:first-child {
	display: block;
}
.avia-timeline-vertical.av-milestone-placement-alternate .av-milestone-date {
	width: 100%;
}

.avia-timeline-vertical.av-milestone-placement-alternate.avia-timeline-boxshadow li.av-milestone-even .av-milestone-content-wrap {
	padding: 0 15px 30px 50px;
}

@media only screen and (max-width: 989px) {
	ul.avia-timeline-vertical li {
		padding: 0 0 0 60px;
	}
	.avia-timeline-vertical .av-milestone-date {
		padding: 18px 0 30px 50px;
	}
	.avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-date {
		padding: 18px 0 30px 50px;
	}
}

@media only screen and (max-width: 989px) {
    .av-no-preview .avia-timeline-vertical.avia-timeline-boxshadow .av-milestone-content-wrap {
        padding: 0 15px 30px 10px;
    }
}

@media only screen and (max-width: 989px) {
    .av-no-preview .avia-timeline-vertical.av-milestone-placement-alternate.avia-timeline-boxshadow li.av-milestone-even .av-milestone-content-wrap {
        padding: 0 15px 30px 10px;
    }
}

@media only screen and (max-width: 989px) {
    .av-no-preview ul.avia-timeline-vertical li {
        padding: 0 0 0 60px;
    }
}

@media only screen and (max-width: 767px) {
	.avia_transform .avia-timeline-vertical .milestone_icon {
		opacity: 1 !important;
		-webkit-transform: scale(1) !important;
		-ms-transform: scale(1) !important;
		transform: scale(1) !important;
	}
	.avia-timeline-vertical .av-milestone-date {
		padding: 15px 0 30px 10px;
	}
	.avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-date {
		padding: 15px 0 30px 10px;
	}
}

@media only screen and (max-width: 767px) {
    .av-no-preview .avia-timeline-vertical .av-milestone-date,.av-no-preview .avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-date {
        padding: 15px 0 30px 10px;
    }
}


.av-timeline-nav a {
	background-color: #fff;
	border-radius: inherit;
}

.main_color .av-timeline-nav a span {
	background-color: #0076c0;
}

.av-timeline-nav a span {
	border-radius: 0;
}

/*ナビ*/
#top .widget ul.children {
	margin: 4px 0 5px 20px;
	list-style: disc;
}

#top .widget ul.children li::marker {
	font-weight: 400;
	color: #999;
	font-size: 12px;
}

/* 固定フッター */
.home #footer-contents-01,
.home #footer-contents-02 {
	display: none;
}

.footer-sitemap a:link,
.footer-sitemap a:visited {
	color: #212121;
	font-size:14px;
}

#fixFooter {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 302;
	width:100%;
	background-color: #604100;
	box-shadow: 0 0 5px 1px rgba(0,0,0,0.5);
}

#fixFooter a {
	text-decoration: none;
	display: inline;
}

#fixFooter .inner {
	margin: 5px auto 10px auto;
	width: 1080px;
	max-width: 100%;
}
.ftTel {
	display: block;
}
.ftTel img {
	margin: 3px auto 3px 10px;
	vertical-align: middle;
	text-align: center;
}

.socket_color {
	padding-bottom: 60px;
}

/*フッター*/
.top-footer-fix {
	display:none;
}

.top-footer-fix .content {
	padding: 0 !important;
}

@media only screen and (max-width: 1085px) {
	#fixFooter {
		display:none;
	}
	.top-footer-fix {
		z-index: 10;
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
	}
	.top-footer-fix .toggler,
	.top-footer-fix .toggle_wrap {
		max-width: 500px;
		width: 100%;
		margin: 0 auto !important;
	}
	.responsive #top #wrap_all .top-footer-fix .flex_column{
		margin-bottom: 0 !important;
	}
}

.top-footer-fix .toggle_content {
	padding: 0;
}

.top-footer-fix .toggle_content p {
	margin: 0;
}

.top-footer-fix .toggle_content img {
	margin: 0;
	padding: 0;
}

.top-footer-fix .single_toggle p {
	margin: 0;
	padding: 0;
}

.footer-tel img {
	margin-bottom: 30px;
}

.footer-line img,
.footer-mail img {
	max-width: 420px;
	width: 100%;
}

@media only screen and (max-width: 479px) {
	.footer-tel img{
		max-width: 100%;
	}
	.top-footer-wrap .avia-image-container.avia-align-left {
		float: none;
		margin-right: auto;
		margin-top: auto;
	}
	#mokuji .avia-image-container.avia-align-left {
		float: none;
		margin-right: auto;
		margin-top: auto;
	}
	#mokuji .avia-image-container.avia-align-left img{
		max-width: 250px;
	}
}

.top-footer-fix .toggle_content {
	padding: 20px;
	background: #002447;
}

.ft-ac-top{
	position:relative;
}

.ft-ac-top:after {
/* :after擬似要素による子ボックスのフロートクリア */
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}

.ft-ac-top p {
	margin-bottom: 5px !important;
	color: #fff;
}

.ft-box-top {
	padding: 10px 5px !important;
	border: 1px solid #fff;
	position:relative;
}

.ft-ac-bottom {
	clear: both;
	margin-top: 10px;
	padding: 10px;
	background: #fff;
	border-radius: 4px;
}

.ft-ac-top-right img {
	position:absolute;
	bottom: 0;
	right: 0;
	width: 38%;
	max-width: 200px;
}

/*隠しページ*/
.hide_this,
.hide_this2,
.hide_this3 {
	display: none;
}

.show_button {
	margin: 0 auto;
	padding: 10px 30px 10px;
	width: 300px;
	min-width: 300px;
	font-size: 100%;
	color: #604100;
	border-style: solid;
	border-bottom-width: 2px;
	border-bottom-color: #604100 !important;
}


.show_button2,
.show_button3 {
	margin: 0 auto;
	padding: 10px 30px 10px;
	width: 300px;
	min-width: 300px;
	font-size: 100%;
	border-style: solid;
	border-width: 2px;
	border-color: #604100 !important;
}

/*========================================
	4-1.施工事例
========================================*/

table.caseSpec {
	margin: 20px 0 0 0;
	padding: 0;
	width: 100%;
	border: solid 1px #f5f5f5;
}

table.caseSpec tr {
	border-top: solid 1px #f5f5f5;
	border: none;
}

table.caseSpec th {
	font-weight: normal;
	background: #0065b7;
	text-align: left;
	vertical-align: middle;
	padding: 18px 15px;
	width: 25%;
	white-space: nowrap;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
}

table.caseSpec td {
	background: #fff;
	padding: 18px 15px;
	color: #002447;
	font-size: 15px;
}

table.caseSpec table tr:first-child {
	border: none;
}

@media only screen and (max-width:480px){
	table.caseSpec th,
	table.caseSpec td{
		width: 100%;
		display: block;
		border-top: none;
		text-align: center;
	}
	table.caseSpec tr:first-child th { border-top: 1px solid #ddd; }
}

table.caseTb {
	margin :10px 0 0 0;
	padding: 0;
	width: 100%;
	border: none;
	background: none;
}

table.caseTb tr,
table.caseTb td {
	border: none;
	background: #fff !important;
}

.casePic {
	margin: 0;
	padding: 0;
	width: 45% !important;
}

.casePicBefore {
	position: relative;
}

.casePicBefore img {
	background-color: #fff;
	padding: 4px;
	border: solid 1px #ddd;
	width: 100%;
	height: auto;
}

.casePicBeforeIn {
	position: absolute;
	top: 0;
	left: 0;
}

.casePicBeforeIn img {
	padding: 0;
	background: none;
	border: none;
}

.casePicAfter {
	position: relative;
}

.casePicAfter img {
	background-color: #fff;
	padding: 4px;
	border: solid 1px #ddd;
	width: 100%;
	height: auto;
}

.casePicAfterIn {
	position: absolute;
	top: 0;
	left: 0;
}

.casePicAfterIn img {
	padding: 0;
	background: none;
	border: none;
}

.casePicSingle {
	padding: 0;
	width: 100%;
}

.caseIcon {
	margin: 0;
	padding: 0;
	text-align: center;
	vertical-align:middle;
}

.caseIconImgSm {
	display: none;
}

@media only screen and (max-width:480px){
	table.caseTb th,
	table.caseTb td{
		width: 100% !important;
		display: block;
		border-top: none;
		text-align: center;
	}
	.caseComment{
		text-align: left !important;
	}
	table.caseTb tr:first-child th { border-top: 1px solid #ddd; }

	.caseIconImg {
		display: none;
	}
	.caseIconImgSm {
		display: inline-block;
	}
}

.image-overlay,.overlay-type-image {
	top: 0 !important;
}

.caseSubTitle {
	margin: 0 auto 20px auto;
	padding: 10px 15px 10px 15px;
	color: #fff !important;
	font-size: 130%;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #990000), color-stop(1.00, #dc0000));
	background: -webkit-linear-gradient(#990000, #dc0000);
	background: -moz-linear-gradient(#990000, #dc0000);
	background: -o-linear-gradient(#990000, #dc0000);
	background: -ms-linear-gradient(#990000, #dc0000);
	background: linear-gradient(#990000, #dc0000);
	box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 7px 2px -2px rgba(0,0,0,0.4);
}

.shop_content {
	margin: 0 0 20px 0;
	padding: 20px;
	border: solid 3px #ddd !important;
}

.shop_content h2 {
	margin: 20px 0;
	color: #eb3b3b;
	font-weight: bold !important;
}

.shop_content h2 {
	position: relative;
	margin-bottom: 20px;
	padding: 1rem .5rem;
	color: #4481eb !important;
	font-size: 20px;
	width: 100%;
}

.shop_content h2:after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	content: '';
	border-radius: 2px;
	background-image: -webkit-gradient(linear, right top, left top, from(#2af598), to(#009efd));
	background-image: -webkit-linear-gradient(right, #2af598 0%, #009efd 100%);
	background-image: linear-gradient(to left, #2af598 0%, #009efd 100%);
}

.shop_content h3 {
	margin: 10px 0;
	padding-left: 8px;
	border-left: solid 5px #0098cb;
	font-size: 18px;
}

h4.shop_content_title {
	clear: both;
	background: none;
	margin: 0 0 -40px;
	padding: 0;
}

.shop_content img {
	max-height: 600px;
	width: auto;
}

.shop_content .image-overlay,
.big-preview .image-overlay {
	background: none;
}

/*旧サイトカスタムフィールドテンプレート*/
.single-post .template-single-blog .post-entry h3.caseSubTitle {
	margin: 40px 0 15px 0 !important;
	padding: 10px 4px 10px 10px !important;
	border-left: 5px solid #0098cb !important;
	border-bottom: none !important;
	background: #f8f6f2;
}

.DiagnoseErea {
	width: 100%x;
	margin-bottom: 10px;
	padding: 0;
	border:1px solid #e5e5e5;
}

table.DiagnoseTb {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	border: none;
}

table.DiagnoseTb td {
	padding: 3px 5px;
	vertical-align: top;
}

.DiagnosePic {
	margin: 0;
	padding: 0 1%;
	width: 48%;
	text-align: center;
}

@media only screen and (max-width: 768px) {
	.DiagnosePic {
		display: block;
		padding: 0 2%;
		width: 96%;
	}
}

.DiagnosePic img {
	margin: 10px 0 0 0;
	padding: 0;
}

p.DiagnoseText {
	margin: 5px 10px;
	padding: 5px;
	text-align: left;
	white-space: normal;
	background: #f2f2f2;
}

div.line {
	margin: 0;
	width: 100%;
	height: 3px;
	background: #e5e5e5;
}

/*お客様の声*/
h3.pageSubTitle {
	margin: 20px 0;
	padding: 10px 4px 10px 10px;
	border-bottom: 1px solid #84b648;
	width: 100%;
	font-weight: bold;
	font-size: 120%;
}

p.impPhoto {
	margin: 0;
	padding: 0;
}

p.impPhoto img {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 400px;
	height: auto;
	background-color: #fff;
	padding: 4px;
	border: solid 1px #ddd;
}

/*========================================
	5-1.汎用
========================================*/

.fontmincho {
	font-weight: 400;
	font-family: "Noto Serif JP", "游明朝","Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W3", HiraMinProN-W3, "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.box{
	margin-top: 20px;
	position:relative;
}

/* 配置 */
.txtC{text-align:center;}
.txtL{text-align:left;}
.txtR{text-align:right;}

.txtC-mbL{text-align:center;}
@media only screen and (max-width: 768px) {
	.txtC-mbL{text-align:left;}
}

/* フロート */
.floatl{float:left;margin:0;}
.floatr{float:right;margin:0;}
.floatl10{float:left;margin:0 10px 10px 0;}
.floatr10{float:right;margin:0 0 10px 10px;}
.floatl20{float:left;margin:0 20px 10px 0;}
.floatr20{float:right;margin:0 0 10px 20px;}

.clear{clear:both;}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* 余白 */
.mb0 {margin-bottom:0 !important;}
.mb10{margin-bottom:10px !important;}
.mb15{margin-bottom:15px !important;}
.mb20{margin-bottom:20px !important;}
.mb25{margin-bottom:25px !important;}
.mb30{margin-bottom:30px !important;}
.mb40{margin-bottom:40px !important;}
.mb50{margin-bottom:50px !important;}
.mb60{margin-bottom:60px !important;}

.mt0{margin-top:0 !important;}
.mt20{margin-top:20px !important;}
.mt30{margin-top:30px !important;}
.mt40{margin-top:40px !important;}

.pb10{padding-bottom:10px;}
.pb20{padding-bottom:20px;}
.pb30{padding-bottom:30px;}

/* リストの余白 */
ul.mt10{margin: 10px 0 0 0;}
ul.mt15{margin: 15px 0 0 0;}
ul.mt20{margin: 20px 0 0 0;}
ul.pb20{padding: 0 0 20px 0;}

.bold{font-weight:bold;}

.shadow1{
	text-shadow:0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff;
}

/* フォントサイズのパターン */
.font200{font-size:200%;}
.font160{font-size:160%;}
.font150{font-size:150%;}
.font140{font-size:140%;}
.font130{font-size:130%;}
.font120{font-size:120%;}
.font110{font-size:110%;}
.font90{font-size:90%;}
.font85{font-size:85%;}
.font80{font-size:80%;}
.font70{font-size:70%;font-weight:normal;}
.font60{font-size:60%;font-weight:normal;}
.font50{font-size:50%;font-weight:normal;}

/* フォント色のパターン */
.fontred1{color:#FF0000;}
.fontred2{color:#FF3300;}
.fontred3{color:#d7000f;}
.fontorange1{color:#FF6600;}
.fontorange2{color:#FF9900;}
.fontorange3{color:#FF4E00;}
.fontyellow1{color:#FFcc00;}
.fontyellow2{color:#FFFF00;}
.fontyellow3{color:#e0b13a;}
.fontyellow4{color:#edae44;}
.fontblue1{color:#0000FF;}
.fontblue2{color:#3399CC;}
.fontblue3{color:#0168AE;}
.fontblue4{color:#083882;}
.fontblue5{color:#0065b7;}
.fontnavy1{color:#002447;}
.fontgreen1{color:#006600;}
.fontgreen2{color:#99CC00;}
.fontgreen3{color:#82AC00;}
.fontbrown1{color:#993300;}
.fontbroun2{color:#CC9966;}
.fontbroun3{color:#604100;}
.fontpurple1{color:#6633CC;}
.fontpurple2{color:#9999FF;}
.fontpurple3{color:#993366;}
.fontpink1{color:#FF33CC;}
.fontpink2{color:#FF99CC;}
.fontpink3{color:#fae2e7;}
.fontpink4{color:#dc007f;}
.fontgray1{color:#666666;}
.fontgray2{color:#999999;}
.fontw{color:#ffffff !important;}
.fontb1{color:#333 !important;}
.fontb2{color:#414141 !important;}

/*========================================
	TOPページカスタマイズ
========================================*/

@media only screen and (max-width: 991px) {
	.responsive #top #wrap_all .container {
		width: 95%;
		max-width: 95%;
	}
}

/*TOPページ*/
@media only screen and (max-width: 768px) { 
	.home h2 {
		font-size: 18px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 989px) {
	.responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a,
	.responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container {
		height: 80px;
		line-height: 80px;
	}
	.logo a img {
		padding-top: 15px;
	}
}

@media only screen and (max-width: 767px) {
	.responsive #top .logo {
		height: 80px !important;
	}
}

@media only screen and (max-width: 767px) {
	.responsive #top #header_main > .container .main_menu .av-main-nav > li > a,
	.responsive #top #wrap_all .av-logo-container {
		height: 80px;
		line-height: 80px;
	}
}

#header_meta {
	display: none;
}

.home #header_meta {
	display: block;
	border-bottom: none !important;
}

.hd-contactBt {
	display: none;
}

@media only screen and (max-width: 989px){
	#header_meta {
		display: none !important;
	}
	.hd-contactBt {
		display: block;
	}
}

.phone-info {
	padding: 0;
}

.phone-info span a {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	background-color: #083882;
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	color: #fff !important;
	padding: 14px 32px;
}

.hd-contactBt a {
	align-items: center;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	background-color: #083882 !important;
	text-align: center;
	font-size: 15px;
	font-weight: 400;
	color: #fff !important;
}

.phone-info span a::hover {
	color: #f5f5f5 !important;
	text-decoration: none;
}

.hd-contactBt a::hover {
	color: #083882 !important;
	text-decoration: none;
}

.phone-info span a::before,
.hd-contactBt a::before {
	background-image: url("https://www.tanigawa-kensou.com/wp-content/uploads/2025/07/hd-mail.png");
}
.phone-info span a::before,
.hd-contactBt a::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center center;
	margin-right: 0.5rem;
}

.responsive body.home {
	overflow-x: visible !important;
}

.home #wrap_all {
	overflow: visible !important;
}

#top-main {
	background-color: #fff !important;
	background-repeat: no-repeat !important;
	background-position: calc(50% + 450px) calc(100% - 0px) !important;
}

.top-main-visual p {
	text-shadow:0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff,0 0 4px #fff;
}

#top-main-mb {
	display: none !important;
}

@media only screen and (max-width: 767px) {
	#top-main-mb {
		display: block !important;
	}
	#top-main {
		display: none !important;
	}
}

#top-main-mb .container {
	width: 100% !important;
	max-width: 100% !important;
}

#top-main-mb .container .content {
	padding: 0 !important;
}

#top-main-mb .av_textblock_section {
	margin: auto;
	width: 85% !important;
	max-width: 85% !important;
}

#top-main h2 {
	margin: 40px 0;
	font-size: 30px;
	line-height: 1.8em;
}

#top-main h2 span {
	font-size: 32px;
}

@media only screen and (max-width: 1192px) {
	#top-main .av_one_half {
		width: 75%;
	}
	#top-main h2 {
		font-size: 27px;
	}
}

#top-main-mb h2 {
	margin: 40px 0;
	font-size: 26px;
	line-height: 1.8em;
}

#top-main p{
	color: #333;
	font-size: 14px;
	font-weight: bold;
}

#top-main-mb p {
	color: #333;
	font-size: 13px;
	font-weight: bold;
}

.top-more-bt .avia-button {
	border-radius: 0;
	font-size: 16px;
	font-weight: bold;
}

.top-more-bt .avia-button::before {
	content: "";
	display: block;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: skewX(-15deg);
	transform: skewX(-15deg);
	width: 100%;
	height: 100%;
	border: 1px solid #083882;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
}

.top-more-bt .avia-button:hover::before {
	-webkit-transform: skewX(-24deg);
	transform: skewX(-24deg);
}

@media only screen and (max-width: 767px) {
	.top-more-bt {
		margin-left: 7%;
	}
}

@media only screen and (max-width: 767px) {
	.home .top-sticky-titile,
	.home .top-sticky-discription {
		margin-top: 0 !important;
		margin-bottom: 10px !important;
	}
}

/*.top-works-wrap {
	padding: 20px;
}

.top-works-wrap h2 {
	font-size: 20px;
	color: #333 !important;
}

.top-works-wrap p {
	color: #333 !important;
}*/

@media only screen and (min-width: 768px) {
	.top-sticky {
		position: sticky !important;
		top: 120px;
	}
}

.top-contents-navi p {
	padding-bottom: 25px;
	border-bottom: 1px solid #083882;
}

.top-contents-navi p a::link {
	color: #333;
}

.top-contents-navi p a::before {
	content: "";
	display: inline-block;
	border: 1px #083882 solid;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	margin-right: 8px;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.top-contents-navi p a:hover::before {
	background-color: #083882;
}

@media only screen and (max-width: 767px) {
	.top-contents-navi p {
		display: inline-block;
		margin-left: 20px;
		font-size: 14px;
	}
	.top-contents-navi p:first-child {
		margin-left: 0;
	}
}

@media only screen and (max-width: 479px) {
	.top-contents-navi p {
		margin-left: 0;
		padding-bottom: 15px;
		display: block;
	}
}

.top-content-section-wrap {
	margin-bottom: 40px;
	padding: 20px;
	background: #ebeff5;
}

@media only screen and (max-width: 767px) {
	.top-sticky-wrap .container .content {
		padding: 0;
	}
}

#top-content-company-wrap .container {
	max-width: 100%;
	padding: 0;
}

#top-content-company-wrap .container .content {
	padding-bottom: 0;
}

.footerSitemap ul{
	list-style: none;
}

.footerSitemap-list {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.footerSitemap-list li + li {
	margin-left: 1.5rem;
	padding-left: 1.5rem;
}

.footerSitemap-list li + li a::before {
	content: "";
	background-color: #D5D5D5;
	display: inline-block;
	width: 1px;
	height: 1.375em;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	margin-left: -1.5rem;
}

.footerSitemap-list li + li a {
	color: #333;
	position: relative;
	font-size: 0.875rem;
}

.footer-tel-top {
	border: 1px solid #fff;
	padding: 0.75rem 1rem 0.625rem;
	text-align: center;
	height: 100px;
}

.footer-tel-top p {
	margin: 0;
}

.footer-tel-top a {
	display: block;
	padding-top: 8px !important;
	color: #fff;
	font-size: 28px;
	font-weight: bold;
	text-decoration: none;
}

.footer-tel-top a:hover,
.footer-tel-top a:visited {
	color: #f5f5f5;
}

.footer-tel-time {
	padding-top: 10px;
	text-align: center;
	color: #fff;
	font-size: 0.875rem;
}

.footer-mail-top {
	text-align: center;
	background-color: #fff;
}

.footer-mail-top a {
	display: block;
	padding-top: 30px !important;
	color: #083882;
	font-size: 20px;
	font-weight: bold;
	height: 100px;
	text-decoration: none;
}

.footer-mail-top a mail,
.footer-mail-top a img {
	vertical-align: bottom;
}

.grecaptcha-badge {
	visibility: hidden;
}

.footer_color {
	border: none;
}

/*TOP施工事例一覧*/
#top-stock .top-list-first .slide-content {
	display: none;
}

@media only screen and (max-width: 767px) {
	#top-stock  .top-list-last {
		display: none;
	}
}

#top-stock .top-list-first .slide-image {
	background: none;
}

.home .slide-entry-title a  {
	font-weight: bold !important;
}

.home .entry-content-header p {
	line-height: 1.2em;
}

@media only screen and (max-width: 768px) {
	#top-stock .entry-content-header {
		min-height: 80px;
	}
}

@media only screen and (max-width: 479px) {
	.responsive #top #wrap_all .avia-content-slider-odd .slide-entry {
		margin-bottom: 20px !important;
	}
}

@media only screen and (max-width: 479px) {
	#top-stock .slide-entry {
		margin-bottom: 20px !important;
	}
}

@media only screen and (max-width: 767px) {
	.top-2column-stock-first {
		margin-bottom: 0 !important;
    	}
	.top-2column-stock .slide-entry-wrap {
		float: none;
    	}
	.top-2column-stock .av_one_third,
	.top-2column-stock .av_one_half {
		width: 46% !important;
		margin-left: 2% !important;
		margin-right: 2% !important;
		clear: none !important;
		float: left;
    	}
	#top-2column-stock-title {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
    	}
}

#top-works {
	background: #f8f8f8;
}

#top-works .av-inner-tab-title {
	width: 130px;
	font-weight: bold;
}

#top-works .slide-entry {
	margin-bottom: 20px !important;
}

.av-tab-section-tab-title-container {
	background-color: #ccc;
}

.avia-tab-title-padding-default .av-outer-tab-title {
	padding: 0px;
}

#top .av-section-tab-title{
	padding: 10px 10px 0px 10px;
}

.home .contactBoxWrap {
	display: none;
}

@media only screen and (max-width: 767px) {
	.top-gallery-left {
		min-height: 100px;
	}
}

/*固定ヘッダー*/
@media only screen and (max-width: 989px) {
	#header {
		position: fixed !important;
	}
	#header {
		box-shadow: 0 0 4px 2px rgba(0,0,0,0.5);
	}
	#header {
		background: #fff;
	}
	.responsive #top #wrap_all #header {
		top: 0;
	}
	#main {
		margin-top: 82px !important;
	}
	.home #main {
		margin-top: 0 !important;
	}
	.page #header {
		background: #ffffff !important;
	}
}

@media only screen and (max-width: 989px) {
	.responsive #top #wrap_all #header {
		height: 82px !important;
	}
	.responsive #top #wrap_all .av-logo-container {
		height: 82px !important;
		line-height: 82px !important;
	}
	.responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
		height: 82px !important;
		line-height: 82px !important;
	}
	.responsive #top #wrap_all .main_menu {
		height: 82px !important;
	}
}

.hd-tel {
	display: none;
}

.home .menu-contact {
	display: none;
}

@media only screen and (max-width: 989px) {
	.hd-tel {
		display: block;
		margin-top: 10px;
		margin-left: 10px;
		width: 125px;
		height: 55px;
		float: left;
	}
	.logo {
		float: left !important;
		max-width: 165px !important;
	}
}

@media only screen and (max-width: 390px) {
	.logo {
		max-width: 135px !important;
	}
}

@media only screen and (max-width: 350px) {
	.hd-tel {
		display: none;
	}
	.menu-contact {
		display: block;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.hd-tel {
		margin-left: 180px;
	}
}

@media only screen and (max-width: 300px) {
	.hd-tel {
		width: 115px;
	}
}

.ti-widget.ti-goog .ti-rating-text span,
.ti-widget.ti-goog .ti-rating-text span strong {
	color: #fff !important;
}

.top-blank-line  {
	min-height: 10px !important;
}

.top-blank-line .container .content {
	padding: 10px 0 !important;
}

.pc-off {
	display: none !important;
}

.sm-pad-off {
	display: none !important;
}

@media only screen and (max-width: 989px) {
	.sm-pad-off {
		display: block !important;
	}
	.pad-off {
		display: none !important;
	}
}

@media only screen and (max-width: 479px) {
	.pc-off {
		display: block !important;
	}
	.sm-off {
		display: none !important;
	}
}
