@charset "utf-8";
/*
Theme Name: 紀の川用水土地改良区
Theme URI: https://kinokawayousui.com/
Description: 紀の川用水土地改良区のテーマです
*/


/* h1〜h6は段階的に縮小 */
.page .entry-content h2 {
	font-size: clamp(22px, 2.2vw, 30px);
	margin-bottom:6rem;
	padding: 0 0 1.6rem 0.5rem;
	position: relative;
	line-height: 1.5;
}

.page .entry-content h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #187321;
  opacity: .15;
}

.page .entry-content h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 1px;
  background: #187321;
}


.page .entry-content h2:first-child {
	margin-top:0 !important;
}

.page .entry-content h2.wp-block-heading span {
	font-size:0.6em;
	position:relative;
	top:-0.25rem;
	color:#187321;
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	text-align:right;
	display:block;
	letter-spacing: 1.5px;
}

.page .entry-content h2.wp-block-heading span:before {
  background-color: #187321;
  content: "";
  height: 2px;
  width: 100%;
  display:block;
  margin-top:1rem;
  margin-bottom:1rem;
}

.page .entry-content h3 {
	border:none;
	padding-left:0;
	font-size: clamp(18px, 1.8vw, 24px);
	position:relative;
	line-height: 1.5;
	margin: 3rem 0 4.5rem 0;
	padding:0 0 0 1.5rem;	
/*	align-items: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;*/
}

.page .entry-content h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 1px;
  height: 80%;
  background: #187321;
}

.page .entry-content .wp-block-media-text h3 {
}

.page .entry-content h3 .custom-font-l {
	position:relative;
	top:-3px;
}

/*.page .entry-content h3 span {
	position:relative;
	display:inline-block;
	border-bottom: 1px solid #187321;
	padding:0 4.5rem 1rem 4.5rem;
}

.page .entry-content h3 span:before,
.page .entry-content h3 span:after {
	content: '';
	background-color: #187321;
	width: 1px;
	height: 20px;
	transform: rotate(30deg);
	position: absolute;
	bottom: -10px;
}
.page .entry-content h3 span:before {
  right: 1em;
}

.page .entry-content h3 span:after {
  right: 0.5em;
}
*/

.page .entry-content h4 {
	font-size: clamp(16px, 1.4vw, 18px);
	margin: 3rem 0 1.6rem;
	margin-top: 3rem;
	padding-left: 3.2rem;
	position: relative;
	line-height: 1.6;
}

.page .entry-content h4:before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 1em;
  height: 1px;
  background: #187321;
}

.page .entry-content .wp-block-media-text h4 {
	font-size: clamp(16px, 1.4vw, 18px);
	margin: 3rem 0 3rem 0;
	padding-left:0;
	color:#187321;
	line-height: 2;
	letter-spacing: 2px;
}

.page .entry-content .wp-block-media-text h4:before {
	content:none;
}


.page .entry-content h5 {
	font-size: clamp(16px, 1.4vw, 18px);
	color: #187321;
	margin-bottom:1.5rem;
	padding-bottom:1rem;
	border-bottom:1px solid #CCC;
	line-height: 1.5;
	margin: 1.5rem 0;
}

.page .entry-content h6 {
	font-size: clamp(16px, 1.4vw, 18px);
	color: #666;
	line-height: 1.5;
	margin: 1.5rem 0;
}

@media (max-width: 980px){
.page .entry-content h2 {
	margin-bottom:3rem;
}

.page .entry-content h2.wp-block-heading span {
	font-size:0.5em;
	letter-spacing: 0.5px;
}

.page .entry-content h3 {
	margin-bottom:2rem;
}

}

/*会社案内
***************************************/


#overview .entry-content td:nth-child(1) {
	text-align:left;
	background:rgba(255,255,255,0.5);
}


@media (max-width: 680px){
#overview .gaiyo_table table {
	border-bottom:1px solid #DDD;
}

#overview .gaiyo_table table th,
#overview .gaiyo_table table td {
	width:100%;
	display:block;
	border-bottom:none;
	text-align:left;
}

}

@media (max-width: 450px) {
.over-table {
	overflow-x:scroll !important;
	position:relative !important;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;
}

.over-table table {  
	table-layout: inherit !important;
}

.over-table table th {
	word-break:keep-all;
	white-space: nowrap;
}

.over-table table td {
	word-break:keep-all;
	white-space: nowrap;
}
}


/*お問い合わせフォーム
***************************************/
table.contact {
	margin:0 auto 6rem auto;
}

table.contact th,
table.contact td:nth-child(1) {
	width:30%;
	border-top:none;
	border-right:none;
	border-left:none;
	font-weight:400;
	vertical-align:top;
	background:none;
	font-weight:600;
	font-size:clamp(18px, 1.6vw, 20px);
	padding:2rem 1.5rem
}

table.contact th,
table.contact td {
	line-height:1.8;
	vertical-align:middle;
	background:none;
	border-top:none;
	border-right:none;
	border-left:none;
	font-size:clamp(16px, 1.6vw, 18px);
	padding:2rem 1.5rem;
	text-align:left;

}

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

table.contact td label {
	display:inline-block;
}

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:50px;
	padding:0.25rem 1rem;
	width:80%;
	border:1px solid #DDD;
    box-sizing: border-box;
	font-size:clamp(18px, 1.6vw, 20px);
	background: #FAFAFA;
	border-radius:5px;
	font-weight:400;
}

table.contact td select {
	padding:0.25rem 1rem;
	border:1px solid #DDD;
    box-sizing: border-box;
	font-size:1.6rem;
	background: #FAFAFA;
	border-radius:5px;
	font-size:clamp(16px, 1.4vw, 18px);
	font-weight:400;
}

table.contact td input[type="file"] {
	margin-bottom:1rem;
}

table.contact td input[type="file"]:nth-last-child(2) {
	margin-bottom:0;
}

table.contact td input[type="date"] {
	border:1px solid #CCC;
	height:50px;
	padding:0.5rem;
	width:25%;
	background: #FAFAFA;
	border-radius:5px;
	font-size:clamp(18px, 1.6vw, 20px);
}

table.contact td input[type="checkbox"] {
	border:1px solid #CCC;
	height:35px;
	padding:0.5rem;
	width:30px;
	background: #FAFAFA;
	border-radius:5px;
}

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.product_name_ipt input {
	border:none;
	background:none;
	padding-left:0;
	padding-right:0;
	font-weight:600;
	color:#ce2e2e;
	font-size:clamp(20px, 1.8vw, 24px);
}

table.contact td.product_name_ipt input:focus {
	-moz-box-shadow:inherit;
	-webkit-box-shadow: inherit;
	box-shadow: inherit;
	outline: inherit;	
}

table.contact td span.mwform-zip-field input {
	width:10%;
}

table.contact td span.mwform-tel-field input {
	width:10%;
}


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 td p,
table.contact th p {
	margin-bottom:0 !important;
}

table.contact td p span.plan-check span.wpcf7-list-item,
table.contact td p span.size-check span.wpcf7-list-item {
	display:block;
}

table.contact td p small {
	display:block;
	font-size:0.9em;
}

table.contact td textarea {
	width:100%;
	border:1px solid #DDD;
	padding:0.5rem;
	background: #FAFAFA;
	border-radius:5px;
	font-size:clamp(18px, 1.6vw, 20px);
}

table.contact th span.required {
	background:#ce2e2e;
	color:#FFF;
	font-size:0.8em;
	padding:0.15rem 0.5rem;
	display:inline-block;
	margin-right:1rem;
	border-radius:5px;
}

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

p.submit input {
	font-size:clamp(18px, 2vw, 24px);
	padding:0.5rem 9rem;
	margin:0 1rem;
	border-radius:6rem;
	font-weight:600;
	color:#222;
	border:1px solid #CCC;
}


p.submit .wpcf7-spinner {
	display:block;
	margin-top:3rem;
	margin-left:auto;
	margin-right:auto;
}


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

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

span.wpcf7-not-valid-tip {
	font-size:clamp(14px, 1.2vw, 16px);
	margin-top: 0.5rem;
}

table.contact td strong {
	font-size:clamp(14px, 1.2vw, 16px);
	margin-bottom:1rem;
	display:block;
}

table.contact td label span {
	position:relative;
	top:3px;
	font-weight: 600;
	font-size:clamp(15px, 1.2vw, 16px);
}

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%;
}

.caution_text {
	height:300px;
	overflow:auto;
	font-size:0.9em;
	background:#F7F7F7;
	padding:1.5rem;
}

.caution_text h5 {
	padding:0 1rem !important;
	border-bottom:none !important;
    margin-bottom: 1rem !important;
}

.caution_text .box {
	margin-bottom:1.5rem;
}

.caution_text ul {
	list-style:disc;
	list-style-position:outside;
	margin-left:3rem;
}

::placeholder {
  color: #CCC;
}
/* 旧Edge対応 */
::-ms-input-placeholder {
  color: #CCC;
}
/* IE対応 */
:-ms-input-placeholder {
  color: #CCC;
}

body.mw_wp_form_confirm .privacy-check,
body.mw_wp_form_complete .privacy-check {
    display: none;
}

@media (max-width: 980px){
table.contact {
	margin:0 0 1.5rem 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:#FFF;
	padding:0.75rem 1.5rem;
}

table.contact th,
table.contact td {
}

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

table.contact td input,
table.contact td textarea {
	font-size:16px !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;
}

span.wpcf7-list-item {
	line-height:2.2;
}

table.contact td label {
	display:block;
}

.mw_wp_form .horizontal-item + .horizontal-item {
	margin-left:0;
}

table.contact td span.mwform-zip-field input,
table.contact td span.mwform-tel-field input {
	width:20%;
}

table.contact td select {
	padding:0.5rem 1.5rem;
}

input[type=text],
textarea {
}

table.contact {
}

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

.entry-content th {
	font-weight: bold;
}


p.submit {
	margin-top:0 !important;
}

p.submit input {
	font-size:1.2em;
	padding:0.5rem 6rem;
	margin-top:3rem !important;
}
}


.facility_list{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin:0 !important;
    padding:0;
    list-style:none !important;
}

.facility_list li{
    width:calc((100% - 45px) / 4);
	border-radius:1rem;
}

.facility_list a{
    display:block;
    text-decoration:none;
    color:#fff;
}

.facility_img{
    position:relative;
    overflow:hidden;
	border-radius:1rem;
}

.facility_img img{
    display:block;
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    transition:.3s;
	border-radius:1rem;
    margin:0 !important;
}

.facility_title{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:1rem;
    background:rgba(24,115,33,0.85);
    color:#fff;
	text-align:center;
    line-height:1.4;
	border-radius:0 0 1rem 1rem;
    font-size: clamp(15px, 1.6vw, 20px);
}

.facility_list a:hover img{
    transform:scale(1.05);
}

@media (max-width:980px){
    .facility_list{
        gap:20px;
    }

    .facility_list li{
        width:calc((100% - 20px) / 2);
    }
}

@media (max-width:680px){
	.facility_list li {
		width: calc((100% - 10px) / 2);
	}
	
	.facility_list {
		gap: 10px;
		margin-bottom:4.5rem;
	}
  
    .facility_title{
        padding:5px;
    }
	
	.facility_img img {
		aspect-ratio: 4 / 4;
	}
}