/*!
Theme Name: hokuriku_unyu_kougyou
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hokuriku_unyu_kougyou
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

hokuriku_unyu_kougyou is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/




@charset "UTF-8";


@font-face {
	font-family: 'line_seed_jp';
	src:url('fonts/line_seed_jp_bd.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'line_seed_jp';
	src:url('fonts/line_seed_jp_eb_sub.otf') format('opentype');
	font-weight: 800;
	font-style: normal;
}



html{
	font-size: 10px;
	scroll-behavior: smooth;
}
html.sp{
	font-size: 15px;
}

html[lang]{
	margin: 0 !important;
}
#wpadminbar{
	display: none;
}

body{
	padding: 0;
	margin: 0;
	font-family: 'line_seed_jp', sans-serif;
	font-weight: bold;
	font-size: 1.7rem;
	line-height: 1.8;
	letter-spacing: 0.05em;
	color: #000;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%; /* iPhoneだけ文字が大きくなる現象を防ぐ */
	/*font-feature-settings: "palt";*/ /* 文字詰め（フォントにカーニング情報が含まれる場合） */

	 /* iPhoneで上下のバーを抜いた高さ */
	height: -webkit-fill-available;
	height: -moz-available;
}
html.sp body{
	font-size: 1.9rem;
	letter-spacing: 0;
}

::-webkit-input-placeholder{ color: #bbb; }
:-moz-placeholder          { color: #bbb; }
:-ms-input-placeholder     { color: #bbb; }

html.pc .sp{ display: none !important; }
html.sp .pc{ display: none !important; }

img{
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a,
a:link,
a:visited{
	color: inherit;
	text-underline-offset: 3px;
}
a:hover{

}


.page_width1{
	max-width: 95%;
	width: 1000px;
	margin: 0 auto;
}
.page_width2{
	max-width: 95%;
	width: 940px;
	margin: 0 auto;
}
.page_width1 .page_width2{
	max-width: 100%;
}

.site-header{
	position: absolute;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 20px;
}
html.sp .site-header{
	background-color: #009e06;
	padding: 10px 0;
}
.site-header .site-branding a{
	display: inline-block;
	background-color: #009e06;
	padding: 17px 40px;
	border-radius: 10px;
}
html.sp .site-header .site-branding a{
	padding: 10px 20px;
}
html.sp .site-header .site-branding a img{
	width: 65vw;
}

#site-navigation{
	flex-grow: 1;
	display: flex;
	justify-content: flex-end;
	/*align-items: center;*/
}
html.sp #site-navigation{
	flex-direction: column;
	justify-content: flex-start;
	position: fixed;
	left: 0;
	top: 0px;
	box-sizing: border-box;
	width: 100%;
	height: 100vh;
	padding: 100px 0 50px;
	background-color: #009e06;
	z-index: 1500;

	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s linear;
}
html.sp #open_nav:checked ~ .site-header #site-navigation{
	opacity: 1;
	pointer-events: auto;
}
#site-navigation a{
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	font-size: 2.2rem;
	padding: 10px 15px 0;
	color: #fff;
	white-space: nowrap;
	transition: 0.2s ease-in-out;
}
#site-navigation a:hover{
	opacity: 0.6;
}
html.sp #site-navigation a{
	font-size: 2.5rem;
	padding: 3vh 0;
	border-bottom: 1px solid #fff;
}
html.sp #site-navigation a:first-child{
	border-top: 1px solid #fff;
}

#open_nav{
	display: none;
}

label[for="open_nav"] {
	position: fixed;
	top: 7px;
	right: 12px;
	display: flex;
	height: 80px;
	width: 85px;
/*	border-radius: 5px;*/
	justify-content: center;
	align-items: center;
	z-index: 1600;
	background-color: #009e06;
}
html.pc label[for="open_nav"] {
	display: none;
}
label[for="open_nav"] span,
label[for="open_nav"] span:before,
label[for="open_nav"] span:after {
	content: '';
	display: block;
	height: 3px;
	width: 50px;
	border-radius: 5px;
	background-color: #fff;
	position: absolute;
}
label[for="open_nav"] span:before {
	bottom: 17px;
}
label[for="open_nav"] span:after {
	top: 17px;
}
label[for="open_nav"] img{
	width: 70px;
}
#open_nav:checked ~ label[for="open_nav"] {
	background-color: transparent;
}
#open_nav:checked ~ label[for="open_nav"] span {
	background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#open_nav:checked ~ label[for="open_nav"] span::before {
	bottom: 0;
	transform: rotate(45deg);
}
#open_nav:checked ~ label[for="open_nav"] span::after {
	top: 0;
	transform: rotate(-45deg);
}
label[for="open_nav"] .nav_close{
	/*display: none;*/
}
#open_nav:checked ~ label[for="open_nav"] .nav_open{
	/*display: none;*/
}
#open_nav:checked ~ label[for="open_nav"] .nav_close{
	/*display: block;*/
}
.site-footer{
	text-align: center;
	font-size: 1.7rem;
}
.footer1{
	background-color: #009e06;
}
.img_footer_1{
	margin: 85px 0;
}
.footer2{
	padding: 8rem 0 10rem;
}
.footer2 a{
	text-decoration: none;
}
.footer2 a:hover{
	text-decoration: underline;
	text-underline-offset: 3px;
}
.footer2 nav{
	margin: 5rem 0 8rem;
}
.footer2 nav a{
	font-size: 2.2rem;
	margin: 0 1.5rem;
}
html.sp .footer2 nav a{
	font-size: 1.5rem;
	margin: 0 0.7rem;
}
.footer2 .copyright{
	font-size: 1.6rem;
}
html.sp .footer2 .copyright{
	font-size: 1.3rem;
}


.gototop{
	position: fixed;
	right: 15px;
	bottom: 15px;
	z-index: 1400;
/*	opacity: 0;*/
/*	pointer-events: none;*/
	transition: 0.2s linear;
}
.gototop:hover{
	opacity: 0.7;
}
.gototop.show{
	opacity: 1;
	pointer-events: auto;
}


.anchor_target{
/*	border-top: 1px solid #f00;*/
}

hr.type1{
	background-image: url(img/common/hr1.png);
	background-size: contain;
	border: none;
	height: 14px;
	width: 100%;
	margin: 5px 0;
}

hr.type2{
	background-image: url(img/common/hr2.png);
	background-size: contain;
	border: none;
	height: 20px;
	width: 100%;
	margin: 0;
}

table.type1{
	border-collapse: collapse;
	border: 1px solid #000;
	box-sizing: border-box;
	width: 100%;
}
table.type1 th,
table.type1 td{
	text-align: left;
	font-weight: 300;
	border-bottom: 1px solid #000;
	padding: 30px 40px;
	background-clip: padding-box; /* Firefox対策。border が表示されるようにする。 */
}
table.type1 th{
	text-align: center;
	white-space: nowrap;
	background-color: #ccedcd;
	border-right: 1px solid #000;
}
html.sp table.type1 th,
html.sp table.type1 td{
	padding: 30px 25px;
}
table.type1 td{
	background-color: #fff;
/*	width: 750px;*/
}

table.type2{
	border-collapse: collapse;
	border: 1px solid #fff;
	background-color: #363636;
	box-sizing: border-box;
	width: 100%;
}
html.sp table.type2{
	width: calc(100% - 2px);
}
table.type2 th,
table.type2 td{
	text-align: left;
	font-weight: 300;
	border-bottom: 1px solid #fff;
	padding: 30px 40px;
	background-clip: padding-box; /* Firefox対策。border が表示されるようにする。 */
}
table.type2 th{
	text-align: center;
	white-space: nowrap;
	border-right: 1px solid #fff;
}
table.type2 td{
/*	width: 750px;*/
}

.col2{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 5rem;
	margin: 8rem 0;
}
.col2 > div{
	flex-basis: 47%;
}
html.sp .col2 > div{
	flex-basis: 88%;
}
.col2 h4{
	font-size: 3rem;
	margin: 0;
}
.col2 h4 + img{
	margin: 10px 0 0;
}
.col2 p{
	display: inline-block;
	text-align: left;
}


/* トップ *************************************************************************** */

.page-template-top{
	text-align: center;
}
html.sp .page-template-top{
/*	font-size: 1.9rem;*/
}

.page-template-top h2{
	margin: 5em 0 2.5em;
}

.page-template-top h3{
	font-size: 3rem;
	margin: 6rem 0;
}

.page-template-top .main_image{
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url(img/top/1_bg.jpg);
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	box-sizing: border-box;
	height: 100vh;
}
html.sp .page-template-top .main_image{
	padding: 0 12vw 25vh;
	height: 77vh;
}

.page-template-top .news{
	border: 1px solid #009e06;
	padding: 7rem 3rem;
	margin: 7rem 0;
}
html.sp .page-template-top .news{
	padding: 4rem 2rem;
}
.page-template-top .news h2{
	text-align: center;
	margin: 0;
}
html.sp .page-template-top .news h2 img{
	height: 48px;
}
.page-template-top .news article{
	margin: 0 0 9em;
}
.page-template-top .news article:last-child{
	margin: 0;
}
.page-template-top .news .date{
	text-align: center;
	font-family: 'line_seed_jp', sans-serif;
	font-weight: 800;
	font-size: 2.6rem;
	line-height: 1.5;
	color: #009e06;
	margin: 1.3em 0 2em;
}
.page-template-top .news .content{
	text-align: justify;
	font-size: 1.8rem;
}
.page-template-top .news figure{
	margin-top: 0;
	margin-bottom: 0;
}
.page-template-top .news figure.wp-block-image{
	text-align: center;
}
.page-template-top .news .wp-block-image{
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
.page-template-top .news div.wp-block-image:after{
	content: "";
	display: block;
	clear: both;
}

.page-template-top .area3 p{
	font-size: 2.1rem;
}
html.sp .page-template-top .area3 p{
	font-size: 1.9rem;
}
.page-template-top .bg3{
	background-image: url(img/top/3_bg.jpg);
	background-size: contain;
	background-position: calc(50% + 580px) 0;
	background-repeat: no-repeat;
	height: 409px;
	margin: -30px 0 -270px;
}
html.sp .page-template-top .bg3{
	margin: -10px 0 -150px;
	background-position: calc(50% + 270px) 0;
}

.page-template-top .area4{
/*	margin: -270px 0 0;*/
}
html.sp .page-template-top .area4{
/*	margin: -150px 0 0;*/
}
.page-template-top .img4_2{
	margin: 50px 0;
}
.page-template-top .img4_3{
	margin: 25px 0 25px;
}
.page-template-top .img4_4{
	width: 100%;
	margin: 7rem 0 0;
}

.page-template-top .bg4_5{
	background-image: url(img/top/4_5.jpg);
	background-size: contain;
	background-position: calc(50% - 590px) 0;
	background-repeat: no-repeat;
	height: 402px;
	margin: 0 0 -400px;
}
@media (min-width: 1800px) {
	.page-template-top .bg4_5{
		background-position: -10px 0;
	}
}
html.sp .page-template-top .bg4_5{
	background-position: calc(50% - 290px) 0;
	margin: 0 0 -170px;
}

.page-template-top .area5{
}
.page-template-top .area5 h3{
	margin-top: 10rem;
}
.page-template-top .img5_2{
	margin: 0 0 35px;
}
.page-template-top .syacho{
	margin: 40px 0;
}
.page-template-top .img5_3{
	margin: 13px 0 0;
}
.page-template-top .bg5_4{
	background-image: url(img/top/5_4.jpg);
	background-size: contain;
	background-position: calc(50% + 600px) 0;
	background-repeat: no-repeat;
	height: 556px;
	margin: -300px 0 0;
}
html.sp .page-template-top .bg5_4{
	background-size: 850px;
	background-position: calc(50% + 270px) 0;
	height: 600px;
	margin: -60px 0 -170px;
}
.page-template-top .area5_table{
	position: relative;
}
.page-template-top .bg5_5{
	background-image: url(img/top/5_5.jpg);
	background-size: contain;
	background-position: calc(50% - 540px) 0;
	background-repeat: no-repeat;
	height: 764px;
	margin: -240px 0 -300px;
}
html.sp .page-template-top .bg5_5{
	background-size: 1083px;
	background-position: calc(50% - 220px) 0;
	margin: -110px 0 -120px;
}

.page-template-top .area6{
	position: relative;
	z-index: 12;
}
.page-template-top .area6 .page_width2{
	max-width: 100%;
}
.page-template-top .img6_2{
	margin: 30px 0 0;
}
.page-template-top .area6 .col2{
	margin-bottom: 3rem;
}
html.sp .page-template-top .area6 .col2{
	margin: 5rem 0;
}
.page-template-top .area6 .col2 h4{
	color: #009e06;
}
.page-template-top .area6 .map iframe{
	width: 100%;
}
html.sp .page-template-top .area6 .map iframe{
	height: 60vh;
}
.page-template-top .bg6_3{
	position: relative;
	z-index: 11;
/*	mix-blend-mode: lighten;*/
	background-image: url(img/top/6_3.png);
	background-size: contain;
	background-position: calc(50% + 470px) 0;
	background-repeat: no-repeat;
	height: 479px;
	margin: -195px 0 -95px;
}
@media (min-width: 1360px) {
	.page-template-top .bg6_3{
		background-position: 100%;
	}
}
html.sp .page-template-top .bg6_3{
	display: none;
}

.page-template-top .area7{
	position: relative;
	z-index: 10;
	color: #fff;
	background-color: #363636;
	background-image: url(img/top/7_3.jpg);
	background-position: 50% 0;
	background-repeat: no-repeat;
	padding: 1px 0 100px;
	overflow: hidden;
}
html.sp .page-template-top .area7{
	margin: 60px 0 0;
}
.page-template-top .area7_1{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 610px;
}
.page-template-top .area7_1 h2{
	margin: 0 0 120px;
}
.page-template-top .img7_2{
	margin: 0 0 50px;
}
html.sp .page-template-top .img7_2 img{
	margin: 12px 0;
}
.page-template-top .bg7_4{
	background-image: url(img/top/7_4.png);
	background-size: contain;
	background-position: calc(50% - 540px) 0;
	background-repeat: no-repeat;
	height: 479px;
	margin: -195px 0 -195px;
}
@media (min-width: 1820px) {
	.page-template-top .bg7_4{
		background-position: -10px 0;
	}
}
html.sp .page-template-top .bg7_4{
	background-position: calc(50% - 270px) 0;
	margin: -110px 0 -100px;
}
.page-template-top .bg7_7{
	background-image: url(img/top/7_7.png);
	background-size: contain;
	background-position: calc(50% + 480px) 0;
	background-repeat: no-repeat;
	height: 479px;
	margin: -50px 0 -350px;
}
@media (min-width: 1575px) {
	.page-template-top .bg7_7{
		background-position: 100% 0;
	}
}
html.sp .page-template-top .bg7_7{
	background-position: calc(50% + 140px) 0;
	margin: -50px 0 -50px;
}
.page-template-top .area7 .oubo{
	margin: 1.5rem 0 0.7rem;
}
.page-template-top .area7_2{
	position: relative;
	z-index: 2;
}
html.sp .page-template-top .area7_2{
	max-width: 100%;
}
.page-template-top .bg7_8{
/*	position: relative;*/
/*	z-index: 1;*/
	background-image: url(img/top/7_8.jpg);
	background-size: contain;
	background-position: calc(50% - 550px) 0;
	background-repeat: no-repeat;
	height: 381px;
	margin: -350px 0 0;
}
@media (min-width: 1550px) {
	.page-template-top .bg7_8{
		background-position: -10px 0;
	}
}
html.sp .page-template-top .bg7_8{
	background-position: calc(50% - 205px) 0;
	margin: -75px 0 -160px;
}
.page-template-top a.entry_form{
	display: inline-block;
	margin: 60px 0 0;
	transition: 0.1s linear;
}
.page-template-top a.entry_form:hover{
	filter: brightness(1.15);
}
.page-template-top a.entry_form img{
	max-width: 90%;
}



/* NEWS *************************************************************************** */

.post-type-news .site-main .page_width{
	width: 780px;
}

.post-type-news h1{
	background-image: url(img/news/1_bg.svg);
	background-repeat: no-repeat;
	background-position: center 100%;
}

.post-type-news article{
	padding: 70px 0 100px;
	border-bottom: 1px solid #000;
}
.post-type-news article .date{
	font-size: 1.4rem;
}
.post-type-news article .title{
	font-size: 2rem;
	margin: 20px 0;
}
.post-type-news article .content{
	font-size: 1.4rem;
	line-height: 2.1;
}
.post-type-news .pagination{
	text-align: center;
	margin: 50px 0 200px;
}
.post-type-news .pagination h2{
	display: none;
}
.post-type-news .pagination .nav-links > div{
	display: inline-block;
	margin: 0 50px;
}



/* 固定ページ *************************************************************************** */

.page-template-pages h2{
	text-align: center;
	font-family: 'line_seed_jp';
	font-weight: 800;
	font-size: 5rem;
	color: #009e06;
	margin: 6rem 0 6rem;
}
html.sp .page-template-pages h2{
	font-size: 3.5rem;
}



/* お問合せ *************************************************************************** */

.page-template-contact main{
	text-align: center;
	margin: 0 0 10rem;
}

.page-template-contact .site-header{
	position: static;
}
.page-template-contact #site-navigation a{
	color: #000;
}
html.sp .page-template-contact #site-navigation a{
	color: #fff;
}

.page-template-contact .privacy_policy_area{
	margin: 30px 0 70px;
}
.page-template-contact .submit_area{
	margin: 50px 0 0;
}

.page-template-contact main a{
	color: #019f00;
}
.page-template-contact .tel1{
	font-size: 3rem;
	line-height: 1.5;
	margin-bottom: 0;
}
html.sp .page-template-contact .tel1{
	font-size: 2.5rem;
	margin: 2.5em 0 1.4em;
}
.page-template-contact .p2{
	margin: 0.5em 0 2.5em;
}
html.sp .page-template-contact .p2{
	margin: 0 0 3.5em;
}

.page-template-contact .wpcf7-submit,
.page-template-contact .wpcf7cp-cfm-edit-btn{
	border: 0;
	background: transparent;
	background-image: url(img/common/button_bg1.png);
	background-position: 50%;
	background-size: contain;
	font-family: 'line_seed_jp';
	font-weight: 800;
	font-size: 3rem;
	color: #fff;
	height: 128px;
	width: 800px;
	transition: 0.15s linear;
}
html.sp .page-template-contact .wpcf7-submit,
html.sp .page-template-contact .wpcf7cp-cfm-edit-btn{
	font-size: 2.2rem;
}
html.sp .page-template-contact .wpcf7-submit{
	width: 500px;
}
.page-template-contact .wpcf7-submit:hover,
.page-template-contact .wpcf7cp-cfm-edit-btn:hover{
	cursor: pointer;
	filter: brightness(1.2);
}
.page-template-contact .wpcf7cp-cfm-edit-btn,
.page-template-contact .wpcf7cp-cfm-submit-btn{
	letter-spacing: 0.5em;
	width: auto;
	padding: 0 calc(50px - 0.5em) 0 50px;
}
html.sp .page-template-contact .wpcf7cp-cfm-submit-btn{
	width: auto;
}
.page-template-contact .wpcf7cp-cfm-submit-btn{
	letter-spacing: -1em;
	color: transparent;
	margin: 0 0 0 50px;
}
.page-template-contact .wpcf7cp-cfm-submit-btn:before{
	content: "送信";
	letter-spacing: 0.5em;
	color: #fff;
}

div.wpcf7 .wpcf7-form .ajax-loader{
	display: none;
}

.wpcf7-spinner{
	position: absolute;
	left: calc(50% - 25px);
	margin: -40px 0 0;
}


table.type_cf7,
#wpcf7cpcnf table{
	border-collapse: collapse;
	width: 100%;
}
table.type_cf7{
	margin: 3.5em 0 0;
}
#wpcf7cpcnf table tr:last-child{
	display: none;
}
table.type_cf7 th,
table.type_cf7 td,
#wpcf7cpcnf table th,
#wpcf7cpcnf table td{
	text-align: left;
	font-weight: 300;
	padding: 15px 20px;
	background-clip: padding-box; /* Firefox対策。border が表示されるようにする。 */
}
table.type_cf7 th,
#wpcf7cpcnf table th{
	position: relative;
	vertical-align: top;
	white-space: nowrap;
	padding: 20px 70px 0 0;
	width: 10%;
}
html.sp table.type_cf7 th{
	width: auto;
}
#wpcf7cpcnf table th{
	padding-top: 15px;
}
table.type_cf7 th.hissu:after{
	content: "必須";
	position: absolute;
	right: 0;
	top: 23px;
	background-color: #ffd600;
	border-radius: 4px;
	font-size: 1.3rem;
	padding: 0 0.5em;
}
table.type_cf7 td,
#wpcf7cpcnf table td{
	word-break: break-all;
}
table.type_cf7 p,
#wpcf7cpcnf table p{
	margin: 0;
}
.wpcf7-list-item{
	margin: 0;
}

html.sp table.type_cf7,
html.sp table.type_cf7 tbody,
html.sp table.type_cf7 tr,
html.sp table.type_cf7 th,
html.sp table.type_cf7 td{
	display: block;
}
html.sp table.type_cf7 th{
	padding: 0 20px;
}
html.sp table.type_cf7 th.hissu:after{
	position: static;
	font-size: 1.6rem;
	margin: 0 0 0 1em;
}
html.sp table.type_cf7 td{
	padding: 5px 20px 30px;
}


.thanks_url{
	display: none;
}


input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="search"],
textarea{
	font-size: 1.6rem;
	font-weight: 400;
	box-sizing: border-box;
	border: 1px solid #cdcdcd;
	border-radius: 4px;
	padding: 10px;
	margin: 0;
	width: 100%;
	-webkit-appearance: none; /* iPhone の入力欄へのエフェクトを消す */
}

html.sp input[type="text"],
html.sp input[type="email"],
html.sp input[type="number"],
html.sp input[type="tel"],
html.sp input[type="url"],
html.sp input[type="password"],
html.sp input[type="datetime"],
html.sp input[type="datetime-local"],
html.sp input[type="date"],
html.sp input[type="month"],
html.sp input[type="week"],
html.sp input[type="time"],
html.sp input[type="search"],
html.sp textarea{
	font-size: 1.9rem;
}



/* プライバシーポリシー *************************************************************************** */

.privacy-policy p{
	text-align: justify;
	margin: 1.5em;
}






