@charset "utf-8";

/*
Theme Name:template
*/

/*リセットCSS（sanitize.css）
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*googlefont
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;900&family=Pangolin&display=swap');

/*slick.css
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css");

/*Font Awesome
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");

/*--------------------------------------------------------------------------
全体
---------------------------------------------------------------------------*/
html{scroll-behavior: smooth;}
body{
	margin: 0px;
	padding: 0px;
	color: #31200C;
	font-family: 'M PLUS Rounded 1c',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 17px;
	line-height: 2;
	background: transparent;
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,
form,figure,form,select,input,textarea{
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	font-weight: normal;
}
ul{
	list-style-type: none;
}
img{
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
table{
	border-collapse: collapse;
	font-size: 100%;
	border-spacing: 0;
}
iframe{
	width: 100%;
	height: 300px;
}
video,audio{
	max-width: 100%;
}

@media screen and (max-width:1024px) {
	body{
		font-size: 16px;
	}
}
@media screen and (max-width:599px) {
	body{
		font-size: 14px;
	}
	iframe{
		height: 240px;
	}
}
@media screen and (max-width:320px) {
	body{
		font-size: 13px;
	}
}

/*リンク
---------------------------------------------------------------------------*/
a{
	color: #31200c;
}
#main a{
	color: #156216;
}
a:hover{
	text-decoration: none;
	transition: 0.3s;
}
a.link::after{
	font-family: "Font Awesome 6 Free";
	content:" \f138";
	font-weight: 900;
	padding-left: 0.5em;
	display: inline-block;
	text-decoration: none;
}

/*inner
---------------------------------------------------------------------------*/
.inner{
	max-width: 1280px;
	margin: 0 auto;
}


/*--------------------------------------------------------------------------
header
---------------------------------------------------------------------------*/
header{
	background: #fff;
	background: rgba(255,255,255,0.9);
}
header .inner{
	display: flex;
	align-items: center;
	padding: 0;
}
header .inner #logo{
	flex: 1;
}
header .inner #logo img{
	width: 90%;
}
header .inner span{
	flex: 2;
	text-align: left;
	font-size: 0.9em;
}
header .inner p{
	flex: 1;
	text-align: right;
}

@media screen and (max-width:1024px) {
	header .inner .btn1{
		display: none;
	}
}
@media screen and (max-width:599px) {
	header .inner{
		display: block;
		padding: 15px 0;
	}
	header .inner #logo{
		width: 60%;
	}
	header .inner span,
	header .inner p{
		display: none;
	}
}


/*--------------------------------------------------------------------------
メニューバー
---------------------------------------------------------------------------*/
#menubar{
	clear: both;
	height: 60px;
	text-align: center;
	background: #fff;
	padding: 10px 0;
	/*max-width: 1280px;*/
	margin: 0 auto;
	font-size: 0.9em;
}
#menubar ul{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
#menubar ul li{
	width: calc(100%/5);
  }
#menubar ul li + li{
	position: relative;
  }
#menubar ul li + li::before{
	content: "";
	display: block;
	height: 1em;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
}
#menubar ul li a{
	font-weight: 500;
	text-decoration: none;
	display: block;
	width: 90%;
	margin: 0 auto;
	line-height: 1;
	height: 45px;
	padding-top: 10px;
}
#menubar ul li:hover a{
	color: #0e440f;
}

#menubar ul li.dropdown a::after{
	font-family: "Font Awesome 6 Free";
	content: "\f107";
	font-weight: 600;
	margin-left: 0.25em;
}
/*
#menubar ul li.dropdown ul{
	opacity: 0;
	visibility: hidden;
	margin-top: 5px;
	background: #e9e9e9;
	transition: 0.25s;
}
#menubar ul li.dropdown ul li{
	width: 100%;
	text-align: left;
	font-size: 0.95em;
	padding: 5px;
}
#menubar ul li.dropdown ul li a{
	height: 45px;
	padding-top: 10px;
}
#menubar ul li.dropdown ul li a::after{
	content: none;
	margin-left: 0;
}

#menubar ul li.dropdown:hover ul{
	opacity: 1;
	visibility: visible;
}
*/

@keyframes dropdown{
	from{
	  opacity: 0;
	  transform: translateY(5px);
	}
  
	to{
	  opacity: 1;
	  transform: translateY(0px);
	}
}
#menubar ul li.dropdown ul{
	display: none;
	margin-top: 5px;
	background: rgba(255,255,255,0.9);
}
#menubar ul li.dropdown ul li{
	width: 100%;
	text-align: left;
	font-size: 0.9em;
	/*padding: 2.5px 0;*/
}
#menubar ul li.dropdown ul li a{
	height: 45px;
	padding-top: 15px;
	line-height: 1;
}
#menubar ul li.dropdown ul li a::after{
	content: none;
	margin-left: 0;
}
#menubar ul li.dropdown:hover ul{
	animation: dropdown 0.3s linear 0s;
	display: block;
}
#menubar ul li.dropdown ul li:hover{
	background: #fff;
	transition: 0.3s;
}

@media screen and (max-width:1024px) {
	#menubar{
		display: none;
	}
}


/*--------------------------------------------------------------------------
ハンバーガーメニュー
---------------------------------------------------------------------------*/
#ham_nav{
	display: none;
}

@media screen and (max-width:1024px) {
	#ham_nav{
		display: block;
		position: fixed;
		z-index: 999;
		top: -120%;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(255,255,255,0.95);
		transition: all 0.5s;
	}
	#ham_nav.panelactive{
		top: 0;
	}
	
	#ham_nav ul{
		padding-top: 100px;
		width: 100%;
	}
	#ham_nav ul li{
		width: 98%!important;
		margin: 1%;
		text-align: center;
	}
	#ham_nav ul li a{
		text-decoration: none;
		padding: 2.5%;
		display: block;
		width: 100%;
		letter-spacing: 0.1em;
		color: #333;
	}
	
	/*ハンバーガーアイコン*/
	.btn_ham{
		position: fixed;
		z-index: 9999;
		top: 10px;
		right: 10px;
		cursor: pointer;
		width: 50px;
		height: 50px;
		background: #156216;
	}
	.btn_ham span{
		display: inline-block;
		transition: all .4s;
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background-color: #fff;
		width: 45%;
	}
	.btn_ham span:nth-of-type(1) {
		top: 15px;	
	}
	.btn_ham span:nth-of-type(2) {
		top: 23px;
	}
	.btn_ham span:nth-of-type(3) {
		top: 31px;
	}
	
	.btn_ham.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}
	.btn_ham.active span:nth-of-type(2) {
		opacity: 0;
	}
	.btn_ham.active span:nth-of-type(3){
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}
}
@media screen and (max-width:768px) {
	#ham_nav ul li{
		width: 48%;
	}
}


/*--------------------------------------------------------------------------
メイン
---------------------------------------------------------------------------*/
#main{
	clear: both;
	overflow: hidden;
	margin: 0 auto 30px;
}

#main section{
	padding: 50px 0;
}

#main h2{
	clear: both;
	margin-bottom: 30px;
	padding: 10px 0;
	text-align: center;
	font-size: 2.5em;
	letter-spacing: 0.15em;
	font-weight: 500;
}
#main h3{
	text-align: center;
	font-size: 1.75em;
	font-weight: 700;
	letter-spacing: 0.15em;
	margin: 0 0 20px;
}
#main h4{
	font-size: 1.25em;
	font-weight: 600;
}

#main p{
	padding: 20px;
}
#main p + p{
	margin-top: -5px;
}

#main ul.disc{
	list-style-type: disc;
	padding-left: 20px;
	margin-bottom: 30px;
}
#main ul.kome li{
	text-indent: -1.5em; /*マーカー分*/
    padding-left: 1.5em;
}
#main ul.kome li::before{
	content: "※";
	padding-right: 0.5em;
}
#main ol{
	padding-left: 20px;
	margin-bottom: 30px;
}

@media screen and (max-width:599px) {
	#main section{
		padding: 25px 15px;
	}
	#main h2{
		margin-bottom: 15px;
		font-size: 1.5em;
	}
	#main h3{
		font-size: 1.25em;
	}
	#main p{
		padding: 5px;
	}
	#main ul,
	#main ol{
		padding-left: 20px;
	}
	#main table ul,
	#main table ol{
		padding-left: 0;
	}
}


/*--------------------------------------------------------------------------
slick
---------------------------------------------------------------------------*/
.slider{
	margin: 50px 0;
	width: 100%;
}
.slider img{
	width: 95%;
	height: auto;
	margin: auto;
	border: solid 5px #fff;
	box-sizing: border-box;
}
.slick-prev{
	left: -30px;
	z-index: 1;
}
.slick-next{
    right: -30px;
	z-index: 1;
}
.slick-prev::before,
.slick-next::before{
	color: #000;
}

@media screen and (max-width:599px) {
	.slider{
		margin: 25px 0;
	}
	.slick-prev{
		left: 0;
	}
	.slick-next{
		right: 0;
	}
	.slick-prev::before,
	.slick-next::before{
		display: none;
	}
}


/*--------------------------------------------------------------------------
table
---------------------------------------------------------------------------*/
.ta1{
	table-layout: fixed;
	width: 96%;
	margin: 0 auto 30px;
	background: #fff;
	border-collapse: collapse;
}
.ta1,
.ta1 td,
.ta1 th{
	word-break: break-all;
	border: 1px solid #d5d2ce;
	box-sizing: border-box;
	padding: 15px 20px;
}
.ta1 th{
	text-align: center;
	background: #eae8e6;
}
.ta1 th:first-child{
	width: 30%;
}
.ta1 ul{
	margin-left: 1em;
}

@media screen and (max-width:599px) {
	.ta1{
		width: 98%;
	}
	.ta1 td,
	.ta1 th,
	.ta1 th:first-child{
		display: block;
		width: 100%;
		margin: 0;
		padding: 5px 10px;
		text-align: left;
	}
}


/*--------------------------------------------------------------------------
input
---------------------------------------------------------------------------*/

#main input[type="text"],
#main textarea{
	width: 100%;
	margin: 0;
	padding: 5px;
}
#main textarea{
	display: block;
}
/*
#main input[type="submit"].btn:hover,
#main input[type="button"].btn:hover,
#main input[type="reset"].btn:hover{
	opacity: 0.8;
	transition: 0.3s;
	cursor: pointer;
}
*/


/*--------------------------------------------------------------------------
btn
---------------------------------------------------------------------------*/
p a.btn1{
	display: inline-block;
	position: relative;
	overflow: hidden;
}
a.btn1,
#main input[type="submit"].btn1,
#main input[type="button"].btn1,
#main input[type="reset"].btn1{
	display: block;
	text-decoration: none;
	background: #F05D4D;
	color: #fff!important;
	text-align: center;
	font-size: 0.95em;
	padding: 5px 30px;
	margin: 15px auto;
	border: none;
	border-radius: 30px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
	box-sizing: border-box;
	transition: 0.3s;
}
#main input[type="submit"].btn1,
#main input[type="button"].btn1,
#main input[type="reset"].btn1{
	font-size: 1.2em;
	padding: 10px 30px;
}
a.btn1::after{
	font-family: "Font Awesome 6 Free";
	content: "\f105";
	font-weight: 600;
	margin-left: 0.25em;
}

a:hover.btn1,
#main input[type="submit"].btn1:hover,
#main input[type="button"].btn1:hover,
#main input[type="reset"].btn1:hover{
	opacity: 0.8;
}


/*--------------------------------------------------------------------------
footer
---------------------------------------------------------------------------*/
footer{
	clear: both;
	background: #6e6254;
	font-size: 0.9em;
	color: #fff;
}
footer a, footer a:hover{
	color: #fff;
}

footer .info{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding: 30px 15px;
}
footer .info .left{
	width: 60%;
}
footer .info .left img.logo{
	width: 300px;
	margin-bottom: 30px;
}
footer .info .left .map::before{
	font-family: "Font Awesome 6 Free";
	content:"\f3c5";
	font-weight: 900;
	margin-right: 0.5em;
}
footer .info .left .tel::before{
	font-family: "Font Awesome 6 Free";
	content:"\f095";
	font-weight: 900;
	margin-right: 0.5em;
}
footer .info .left .text::before{
	font-family: "Font Awesome 6 Free";
	content:"\f05a";
	font-weight: 900;
	margin-right: 0.5em;
}

footer .info .right{
	width: 40%;
}
footer .info .right iframe{
	height: 300px;
}

/*フッターメニュー
---------------------------------------------------------------------------*/
#footermenu{
	display: flex;
	overflow: hidden;
	padding: 20px 0;
	font-size: 12px;
	border-top: solid 1px #fff;
}
#footermenu ul{
	flex: 1;
	padding: 0 1%;
}
#footermenu ul li{
	padding: 0 10px;
}
#footermenu li.title{
	font-weight: bold;
	border-radius: 2px;
}
#footermenu a{
	text-decoration: none;
}
#footermenu a:hover{
	opacity: 0.7;
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright{
	clear: both;
	text-align: center;
	font-size: 0.8em;
}
#copyright a{
	text-decoration: none;
}

@media screen and (max-width:1024px) {
	footer .info .right iframe{
		height: 240px;
	}
	#footermenu{
		display: none;
	}
}
@media screen and (max-width:599px) {
	footer .info{
		display: block;
		padding: 30px 15px;
	}
	footer .info .left,
	footer .info .right{
		width: 100%;
	}
	footer .info .left{
		margin-bottom: 15px;
	}
	footer .info .left img.logo{
		display: block;
		width: 200px;
	}
	footer .info .right iframe{
		height: 200px;
	}
}


/*--------------------------------------------------------------------------
pagetop
---------------------------------------------------------------------------*/
#pagetop a{
	display: flex;
	justify-content: center;
	align-items: center;
	background: #156216;
	background: #31200c;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	transition: all 0.3s;
}
#pagetop a:hover{
	opacity: 0.8;
}
#pagetop a::before{
	font-family: "Font Awesome 6 Free";
	content:"\f102";
	font-weight: 900;
}

#pagetop{
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	opacity: 0;
	transform: translateY(100px);
}
#pagetop.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
	opacity: 0;
	transform: translateY(100px);
}
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#pagetop.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

@media screen and (max-width:1024px) {
	#pagetop a{
		display: none;
	}
}


/*--------------------------------------------------------------------------
index
---------------------------------------------------------------------------*/
#mainimg{
	margin-bottom: 15px;
}
#mainimg img{
	width: 100%;
	height: 80vh;
	object-fit: cover;
}

#subimg{
	position: relative;
	z-index: -1;
}
#subimg img{
	width: 100%;
}
#subimg h2{
    position: absolute;
    top: 50%;
    left: 2.5%;
    transform: translate(-2.5%, -50%);
    -webkit-transform: translate(-2.5%, -50%);
    -ms-transform: translate(-2.5%, -50%);
	font-family: "Pangolin";
	font-size: 4em;
	color: rgba(255,255,255,0.5);
}

@media screen and (max-width:1024px) {
	#mainimg img{
		width: 100%;
		height: auto;
		object-fit: contain;
	}
	#subimg h2{
		font-size: 2em;
	}
}


/*--------------------------------------------------------------------------
更新情報・お知らせ
---------------------------------------------------------------------------*/
#new dl{
	padding:0px 20px;
	margin-bottom:20px;
	line-height: 2;
}
#new dt{
	float: left;
	width: 9em;
	letter-spacing:0.1em;
}
#new dd{
	padding-left: 9em;
	border-bottom: 1px solid #f2f2f2;
}
.newicon{
	background: #363636;
	color: #fff;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: middle;
}

@media screen and (max-width:1024px) {
	#new dl{
		padding: 0 10px;
	}
}
@media screen and (max-width:599px) {
	#new dt{
		float: none;
		display: inline-block;
		width: auto;
	}
	#new dd{
		display: block;
		width: 100%;
		padding: 0;
	}
}


/*--------------------------------------------------------------------------
service
---------------------------------------------------------------------------*/
.servicelink{
	display: flex;
	justify-content: center;
}
.servicelink a.btn1{
	flex: 1;
	margin: 0 15px;
	font-size: 1em;
	background: #6e6254;
}


/*--------------------------------------------------------------------------
recruit
---------------------------------------------------------------------------*/
.kengaku{
	margin: 15px;
	padding: 15px 0;
	background: #FFF2E3;
	border: solid 1px #F05D4D;
	box-sizing: border-box;
}
.kengaku h4{
	text-align: center;
}
.kengaku p:has(.btn1){
	padding: 0!important;
}


/*--------------------------------------------------------------------------
list
---------------------------------------------------------------------------*/
.list1,
.list2{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	margin: 50px 0;
}
.list1 .list1_item{
	width: calc(100%/3);
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
}
.list1 .list1_item figure{
	width: 92%;
	margin: 0 auto;
}
.list1 .list1_item a figure:hover{
	opacity: 0.8;
	transition: 0.25s;
}
.list1 .list1_item h4{
	width: 92%;
	margin: 0 auto;
	text-align: center;
}
.list1 .list1_item table{
	width: 92%;
	margin: 0 auto 15px;
	font-size: 0.9em;
	border-collapse: separate;
	border-spacing: 10px 5px;
}
.list1 .list1_item table th{
	font-weight: normal;
	background: #eae8e6;
	white-space: nowrap;
	padding: 5px;
}
.list1 .list1_item a.btn1{
	margin-top: auto;
}

.list1.service .list1_item h4{
	height: 180px;
	line-height: 180px;
	background: #eae8e6;
}
.list1.service .list1_item a{
	text-decoration: none;
}
.list1.service .list1_item a h4{
	color: #31200C;
}


/*
.list2 .list2_item{
	width: calc(92%/4);
	width: calc(92%/3);
	margin: 0 1% 30px;
	position: relative;
}
.list2 .list2_item a{
	text-decoration: none;
}
.list2 .list2_item figure{
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.list2 .list2_item figure img{
	width: 100%;
	filter: brightness(80%);
	transition: 0.3s;
}
.list2 .list2_item figure img:hover{
	filter: brightness(50%) blur(4px);
}
.list2 .list2_item h4{
	color: #fff;
	font-weight: 500!important;
	letter-spacing: 0.1em;
	text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
*/

@media screen and (max-width:1024px) {
	.list1 .list1_item{
		width: calc(100%/2);
	}
}
@media screen and (max-width:599px) {
	.list1,
	.list2{
		margin: 30px 0;
	}
	.list1 .list1_item{
		width: 100%;
	}
	/*.list2 .list2_item{
		width: calc(96%/2);
	}*/
}


/*--------------------------------------------------------------------------
その他
---------------------------------------------------------------------------*/
.c{text-align: center;}
.color1{color: #F05D4D;}
.big1{font-size: 1.5em;}
.bg1{
	background: #FFF2E3;
}
.bg2{
	background: #FFF2E3;
	background-image: url("../images/bg2.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center top;
}
.mb30{margin-bottom: 30px;}