@charset "utf-8";
/*
Theme Name: 敷島スターチテーマ
Theme URI: http://madecom.co.jp
Description: madecomtheme
Version: 1.0
Author: madecom
Author URI: http://madecom.co.jp
*/


/* 以下ブログテーマのスタイル */


a {
	outline: none;
	-webkit-transition-duration: 0.25s;
	transition-duration: 0.25s;
}

img {
	max-width: 100%;
	height: auto;
	border: none;
	display: block;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-size: 17px;
	margin: 0;
	padding: 0;
	line-height: 170%;
	font-family: "Noto Sans JP", "メイリオ", Meiryo, "Open Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, Helvetica, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ＭＳ Ｐゴシック", "MS PGothic", Arial, sans-serif;
	position: relative;
	color: #333333;
	background-color: #FFFFE0;
}



h1 {
	font-weight: 700;
}

h1 img {
	max-width: 100%;
}

h2 {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 30px 0;
	font-weight: 700;
	font-weight: 700;
	line-height: 1.6;
	padding: 0 0 0 0;
}


h2 span.small {
	font-size: 65%;
	font-weight: 400;
}

h3 {
	font-size: 25px;
	font-weight: 700;
	margin: 0 0 10px 0;
	font-weight: 700;
	line-height: 1.6;
}

h3 .gfont_en {
	display: block;
	margin-bottom: 20px;
	color: #5c76a3;
	font-size: 220%;
}

h3 span.small {
	font-size: 70%;
	display: block;
	letter-spacing: 0.1em;
}

h4 {
	font-size: 18px;
	font-weight: 700;
	margin: 10px 0 15px 0;
}

a,
a:visited {
	color: #515cae;
	text-decoration: underline;
}

a:hover,
a:active {
	color: #0066cf;
	text-decoration: none;
}

ul {
	padding: 0;
	margin: 0;
}

ol {
	counter-reset: num;
	list-style-type: none !important;
	padding: 0;
	margin: 0 0 20px 0;
}

ol li {
	position: relative;
	padding-left: 30px;
	line-height: 1.5em;
	padding: 0.3em 0.5em 0.3em 30px;
}

ol li:before {
	position: absolute;
	counter-increment: num;
	content: counter(num);
	display: inline-block;
	background: #FFED38;
	color: #574a31;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	border-radius: 50%;
	left: 0;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	top: 7px;
}
ol.ol2 li:before {
	position: absolute;
	counter-increment: num;
	content: counter(num) ".";
	display: inline-block;
	background: none;
	color: #574a31;
	font-weight: 700;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	left: 0;
	text-align: center;
	top: 7px;
}
ol.ol2 li a{
	color: #333;
}
li {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

p {
	padding: 10px 0;
}

hr {
	border: none;
	margin: 10px 0;
	clear: both;
}

input {
	margin: 3px;
	padding: 2px;
}

.aligncenter input {
	padding: 5px 20px;
}

table {
	box-sizing: border-box;
	max-width: 100%;
	margin: 5px 0;
	padding: 0;
	border-collapse: collapse;
}

th, td {
	padding: 8px 10px;
	text-align: left;
}

.alignright {
	float: right;
	margin: 0 0 15px 30px;
}

.alignleft {
	float: left;
	margin: 0 30px 15px 0;
}

.aligncenter {
	text-align: center;
	display: block;
	margin: 0 auto 15px auto;
}

.mb0 {
	margin-bottom: 0px !important;
}

.mb10 {
	margin-bottom: 10px !important;
}

.mb20 {
	margin-bottom: 20px !important;
}

.mb30 {
	margin-bottom: 30px !important;
}

.mb40 {
	margin-bottom: 40px !important;
}

.mb60 {
	margin-bottom: 60px !important;
}

.mb90 {
	margin-bottom: 90px !important;
}

.mb120 {
	margin-bottom: 120px !important;
}
.mt0 {
	margin-top: 0 !important;
}

.mr20 {
	margin-right: 20px;
}

.mr40 {
	margin-right: 40px;
}

.pd0 {
	padding: 0px !important;
}

.pd20 {
	padding: 0 20px;
}

.pd30 {
	padding: 30px 0;
}

.pd60 {
	padding: 60px 0;
}
.pd90 {
	padding: 90px 0;
}
.pd90 {
	padding: 120px 0;
}
.clear {
	clear: both;
}

/* For modern browsers */
.clearfix:before,
.clearfix:after {
	content: "";
	display: block;
	overflow: hidden;
}

.clearfix:after {
	clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
	zoom: 1;
}

.flexwrap, .flex {
	display: flex;
	flex-wrap: wrap;
}

.flex-b, .flex-2, .flex-4,.flex33{
	display: flex;
	justify-content: space-between;
}

.flex-2-c, .flex-2 li {
	width: 48%;
	margin-bottom: 20px;
}
.flex-3,.flex2{
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.flex2 li {
	width: calc((100% - 24px) / 2);
}
.flex-3 li {
	width: calc((100% - 48px) / 3);
}

.flex33 li {
	width: 33%;
	margin-bottom: 10px;
}

.flex-4 li {
	width: 24%;
}

.flex-5 li {
	width: 20%;
}

.flex30 {
	width: 28%;
}

.flex40 {
	width: 38%;
}

.flex50 {
	width: 50%;
}

.flex60 {
	width: 58%;
}

.flex70 {
	width: 67%;
}
.flex1{
	flex: 1;
}

.gap15{
	gap: 15px;
}
.gap30{
	gap: 30px;
}

.gap60{
	gap: 60px;
}
.flex-2-c li {
	width: 100%;
}

.alc {
	align-items: center;
}

.jcc {
	justify-content: center;
}

.reverse {
	flex-direction: row-reverse;
}
.thumbbox{
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 10px;
	border-radius: 10px; /* 任意 */
}

.thumbbox img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bold {
	font-weight: bold;
}

.small {
	font-size: 90%;
	line-height: 1.6;
}

strong {
	font-weight: 700;
}

.big {
	font-size: 140%;
	line-height: 1.6;
	font-weight: 700;
}

.big2 {
	font-size: 120%;
	line-height: 1.7;
	font-weight: 700;
}
.big4 {
	font-size: 240%;
	line-height: 1.8;
	font-weight: 700;
}

.txt-l {
	font-size: 110%;
	line-height: 1.8;
}

.red {
	color: #c20a00;
}

.brown {
	color: #CCB688;
}
.brown2 {
	color: #6d4b41;
}

.yellow {
	color: #fff000;
}

.min {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.txr {
	text-align: right;
}

.txc {
	text-align: center;
}

.txc .centertxt {
	text-align: left;
	display: inline-block;
}

.lsl {
	letter-spacing: 0.15em;
}

.lhl {
	line-height: 2.4;
}

a.pdficon[href $='.pdf'] {
	padding: 4px 0 5px 25px;
	margin: 5px 5px 5px 0;
	line-height: 190%;
	background: transparent url(images/pdf.png) no-repeat left center;
}


.contents {
	position: relative;
}

.wrap800 {
	max-width: 800px;
	box-sizing: border-box;
	padding: 0 10px;
	margin: 0 auto;
}

.wrap980 {
	max-width: 980px;
	box-sizing: border-box;
	padding: 0 10px;
	margin: 0 auto;
}
.wrap1100 {
	width: 80%;
	max-width: 1100px;
	box-sizing: border-box;
	padding: 0;
	margin: 0 auto;
}
.wrap1200 {
	width: 80%;
	box-sizing: border-box;
	padding: 0;
	margin: 0 auto;
}

.wrapbg {
x
	padding-bottom: 90px;
	margin-bottom: 30px;
}
.bgwhite {
	background-color: #FFF;

}

@media screen and (max-width: 1200px) {
	.wrap1200,.wrap1100 {
		width: 90%;
	}

}

@media screen and (max-width: 767px) {

	.wrap800, .wrap980 {
		padding: 0;
	}
	.wrap1100{
		width: 94%;
	}

	#header .wrap1200 {
		padding: 0;
		width: 94%;
		flex-direction: row;
	}

	.bgwhite {
		padding: 0.8em;
	}
	.wrapbg {
		padding-bottom: 30px;
		margin-bottom: 10px;
	}

	.flex-b {
		flex-direction: column;
	}

	.flex-2-c, .flex-3 li, .flex30, .flex40, .flex50, .flex60, .flex70,.linkslist li {
		width: 100%;
	}

	.mb40, .mb30 {
		margin-bottom: 10px !important;
	}

	.mb60, .mb90, .mb120 {
		margin-bottom: 30px !important;
	}

	.mr20, .mr40 {
		margin-right: 0;
	}

	.pd30 {
		padding: 14px 0;
	}

	.pd60 ,.pd90 ,.pd120{
		padding: 30px 0;
	}
	.linkslist li{
		margin-bottom: 10px;
	}
	.linkslist li a{
		padding-left: 24px;
		font-size: 95%;
		position: relative;
	}

	.linkslist li a::after{
		position: absolute;
		top: 0;
		bottom: 0;
		margin: auto;
		content: "";
		vertical-align: middle;
		left: 8px;
		width: 8px;
		height: 8px;
		border-top: 2px solid #b8854c;
		border-right: 2px solid #b8854c;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
}


/*ページネーション*/
.post-navigation {
	overflow: hidden;
	padding: 12px 0;
	display: flex;
	margin-top: 60px;
	justify-content: space-between;

}

.prev, .all, .next {
	width: 33%;
}

.prev a, .all a, .next a {
	display: inline-block;
	padding: 2px 14px;
	font-size: 90%;
	border: 1px solid #666;
	color: #666;
	text-decoration: none;
	font-weight: 500;
}

.prev a:hover, .all a:hover, .next a:hover {
	border: 1px solid #2256b8;
	color: #2256b8;
	background-color: #ebe4e4;
}

/*パンくず*/


.pankuzu {
	padding: 2px 0;
	border-bottom: 1px solid #dcdcdc;
	border-top: 1px solid #dcdcdc;
}


.pankuzu a {
	background: #f2f2f3;
	color: #878787;
	text-decoration: none;
	margin: 0 10px;
	position: relative;
	-webkit-transition-duration: 0.25s;
	transition-duration: 0.25s;
}

.pankuzu a, span.breadcrumb_last {
	display: inline-block;
	vertical-align: top;
	letter-spacing: normal;
	line-height: 26px;
	height: 26px;
	padding: 0 16px;
	border-radius: 3px;
}

span.breadcrumb_last {
	background-color: #007AC3;
	color: #FFF;
	margin-left: 10px;
}

.pankuzu a:hover {
	background: #dbdbdb;
}


#header {
	width: 100%;
	padding: 8px 0 8px 0;
	transition: .4s;
	background: linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.6));
	border-bottom: 1px solid #FFF;
	z-index: 9999;
}


.homeBody #header.fixed {
	position: fixed;
	left: 0;
	top: 0;
	background-color: #FFFFE0;
		border-bottom: 1px solid #FFF;
	padding: 8px 0 8px 0;
}


@media screen and (min-width: 1001px) {

	.pc_lhl {
		line-height: 2.4;
	}

	.pc_lsl {
		letter-spacing: 0.15em;
	}

	.pc_img_s {
		max-width: 75%;
	}
}

.logo {
	width: 280px;
}

.logo h1 {
	margin-right: 8px;
}
.head-r{
	padding: 0;
	display: flex;
	gap: 20px;
}
.head-r1{
	justify-content: flex-end;


}
.head-r1 a{
		width: 140px;
}
a.saiyoubtn,a.contactbtn{
	display: inline-block;
	position: relative;
	padding: 6px 30px 6px 30px !important;
	text-decoration: none;
	color: #333;
	border-radius: 100vh;
	font-weight: 700;
	background-color: #ffd621;
		border: 1px solid #ffd621;
}
a.contactbtn{
	background: none;
	margin-right: 10px;
	border: 1px solid #CCB688;
}
a.saiyoubtn:hover {
	color: #333 !important;
			border: 1px solid #eec40b;
	background-color: #f5c116;
}
a.contactbtn:hover{
	background: #eee4af;
}

a.saiyoubtn::after{
	margin-right: 8px;
}

#mainvisual {
	position: relative;
	padding: 0;
}
#mainvisual li{
	padding: 0 6px;
}
.slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-slide img {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: cover;
}

.topcatch{
	position: absolute;
	font-size: 230%;
	line-height: 1.8;
	letter-spacing: 0.05em;
	font-weight: 700;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 完全に中央に配置 */
    text-align: center; /* テキストを中央寄せ */
    color: #fff; /* 文字色（必要に応じて変更） */
    padding: 10px 20px;
	text-shadow: 
	#645b58 1px 1px 10px, #645b58 -1px 1px 10px,
	#645b58 1px -1px 10px, #645b58 -1px -1px 10px;
}
/*ドロップダウンメニュ*/

nav#navigation {
	width: 100%;
}

nav#navigation ul {
	width: 100%;
	font-weight: 700;
	font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

nav#navigation ul li {
	position: relative;
}

nav#navigation ul li a,#header.fixed nav#navigation ul li a{
	display: block;
	display: inline-block;
	padding: 6px 10px;
	text-align: center;
	line-height: 30px;
	color: #333;
	text-decoration: none;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
	position: relative;
	cursor: pointer;
}
nav#navigation ul li a:hover {
	color: #b9910e;
}


nav#navigation ul li ul {
	width: calc(100% + 140px);
	position: absolute;
	top: 50px;
	left: -50px;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: visibility 0.1s ease-in, opacity 0.1s ease-in;
	-moz-transition: visibility 0.1s ease-in, opacity 0.1s ease-in;
	-ms-transition: visibility 0.1s ease-in, opacity 0.1s ease-in;
	-o-transition: visibility 0.1s ease-in, opacity 0.1s ease-in;
	transition: visibility 0.1s ease-in, opacity 0.1s ease-in;
	z-index: 9999;
}

nav#navigation ul li:hover ul {
	visibility: visible;
	opacity: 1;
}

nav#navigation ul li ul a {
	font-size: 100%;
	line-height: 1.4;
	padding: 0.8em 0.5em;
	width: 100%;
	color: #FFF;
	background-image: linear-gradient(90deg, #559445 0%, #87be47 100%);
}

nav#navigation ul li ul li:first-child a {
	border-radius: 10px 10px 0 0;
}

nav#navigation ul li ul li:last-child a {
	border-radius: 0 0 10px 10px;
}

nav#navigation ul li ul a:hover {
	background-image: linear-gradient(90deg, #208513 0%, #0e6119 100%);
}

nav#navigation ul li ul a:hover::before {
	display: none;
}


nav#navigation ul li ul li {
	margin: -5px 0 0;
	border-left: none;
	float: none;
	-webkit-transition: margin 0.1s ease-in;
	-moz-transition: margin 0.1s ease-in;
	-ms-transition: margin 0.1s ease-in;
	-o-transition: margin 0.1s ease-in;
	transition: margin 0.1s ease-in;
}

nav#navigation ul li:hover ul li {
	margin-top: 0;
}

nav#navigation ul li:hover ul li ul {
	visibility: hidden;
	opacity: 0;
}

nav#navigation ul li:hover ul li:hover ul {
	visibility: visible;
	opacity: 1;
}

nav#navigation ul li:hover ul li ul li {
	margin-left: -10px;
}

nav#navigation ul li:hover ul li ul.dd-left li {
	margin-left: 10px;
}

nav#navigation ul li:hover ul li:hover ul li {
	margin-left: 0;
}


.foot-l h3 {
	width: 320px;
}
@media screen and (max-width:767px) {
.logo,.sp_menulogo {
	width: 65%;
	max-width: 220px;
	margin: 0 0 0 0;
	padding: 14px 14px 10px 10px;
	border-radius: 0 0 16px 0;
}
.sp_menulogo {
	padding-left: 5px;
	margin-top: 20px;
}

	#mainvisual li img{
		height: 320px;
	}
	.topcatch{
		position: absolute;
		font-size: 140%;
		line-height: 1.8;
		padding: 10px 10px;
		width: 90%;
	}
	.pc_only {
		display: none !important;
	}


	.foot-l h3 {
		width: 200px;
	}

	.sp_txl {
		text-align: left;
	}

	.sp_txc {
		text-align: center;
	}

	.sp_center{
		margin: 0 auto;
	}
	.sp_pd {
		padding: 0 14px;
	}

	.sp_img_s {
		width: 60%;
	}

	.sp_flex {
		display: flex;
	}

	.sp_txt {
		font-size: 90%;
		line-height: 1.4;
	}

	.sp_small {
		font-size: 80%;
		line-height: 1.6;
	}

	.big {
		font-size: 120%;
		line-height: 1.6;
	}

	.big2 {
		font-size: 110%;
		line-height: 1.3;
	}

	.big2 p {
		line-height: 1.7;
	}

}

@media screen and (min-width: 1221px) {
	.sp_menu, #spMenu_btn {
		display: none;
	}
}

@media screen and (max-width: 767px) {

	#navigation {
		display: none;
	}

	/*メニュー*/
	#spMenu_btn {
		position: fixed;
		top: 5px;
		right: 8px;
		width: 46px;
		height: 46px;
		z-index: 9999;
		color: #2f256b;
	}
	#spMenu_btn a {
		display: block;
		width: 46px;
		height: 46px;
		background: url(images/menu.svg) 0 0 no-repeat;
		background-size: 46px 46px;
		z-index: 9999;
	}

	#spMenu_btn a.close {
		background: url(images/close.svg) 0 0 no-repeat;
		background-size: 46px 46px;
		z-index: 9999;
	}

	.sp_menu {
		display: block;
		background-color: #ffffff;
		box-sizing: border-box;
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		padding: 0 0 0;
		overflow-y: auto;
		color: #FFF;
		z-index: 9998;
		transition: .3s ease-in-out;
		/*滑らかに表示*/
		opacity: 0;
	}

	.sp_menu.active {
		/*display: block;*/
		right: 0;
		opacity: 1;
	}

	.main_link {
		background-color: #fafafa;
		border-top: 1px solid #888888;
	}

	.child {
		display: none;
	}

	.sp_menu .lastl {
		background: none;
		padding-bottom: 20px;
	}

	.sp_menu .lastl img {
		margin-right: 10px;
		vertical-align: middle;
	}

	.sp_menu .main_link a {
		display: block;
		text-decoration: none;
		padding: 8px 10px 12px;
		color: #363636;
		font-weight: bold;
		background-color: #ffffff;
		border-bottom: 1px solid #FFF;
	}



	.sp_menu .main_link ul li {
		border: 1px solid #fafafa;
	}

	.sp_menu .main_link ul a, .sp_menu .main_link a.kasoulink {
		font-size: 90%;
		border-bottom: none;
		background-color: #e6e2e2;
		color: #333;
		padding: 6px;
		line-height: 1.4;
		position: relative;
		padding-left: 18px;
		display: block;
	}

	.sp_menu .main_link ul a::before, .sp_menu .main_link a.kasoulink::before {
		content: "";
		position: absolute;
		top: 40%;
		left: 7px;
		width: 0;
		height: 0;
		border-width: 5px;
		border-style: solid;
		border-color: transparent transparent transparent #707070;
	}

	.sp_menu .main_link ul a.sp_small {
		font-size: 75%;
	}


	.sp_menu .main_link ul li.spmenubg a {
		background-color: #ececec;
	}


	.sp_menu a.parent {
		background: #2e9648 url(images/arrow-sita.svg) center right 10px no-repeat;
		background-size: 20px 20px;
	}

	.sp_menu a.active {
		background: #e7e7e7 url(images/arrow-ue.svg) center right 10px no-repeat;
		background-size: 20px 20px;
	}

	.sp_menu nav {
		padding: 20px 0;
	}
}

@media screen and (min-width: 768px) {

	.sp_only,
	.sp_br {
		display: none !important;
	}

	.pc_txc {
		text-align: center;
	}

	.pc_txr {
		text-align: right;
	}

	.pc_alc {
		align-items: center;
	}

	.pc_reverse {
		flex-direction: row-reverse;
	}

}

/*----------トップページ------------------------*/

#myVideo{
	opacity: 0;
	transition: opacity 1.5s ease;
}

/* 表示 */
#myVideo.vshow{
	opacity: 1;
}

/* 非表示 */
#myVideo.vhide{
	opacity: 0;
}

.fv-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  background-color: #000;
}

.fv-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-content {
  position: relative;
  z-index: 1;
  height: 100vh;
}

.fv-inner {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;

  display: flex;
  align-items: center;
}

/* SVG */
.catch-svg {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.6))
          drop-shadow(0 0 10px rgba(0,0,0,0.4));
}


a.btn01{
	display: inline-block;
	margin-top: 20px;
	position: relative;
	padding: 8px 60px 8px 60px;
	text-decoration: none;
	color: #FFF;
	border-radius: 100vh;
	border: 1px solid #FFF;
		background-color: rgba(0,0,0,0.1);
}

.btn01:hover {
	background-color: rgba(0,0,0,0.2);

}


a.btn02, a.btn02:visited {
	display: inline-block;
	margin-top: 20px;
	position: relative;
	margin-right: 14px;
	border-bottom: 1px solid #888888;
	padding: 8px 70px 8px 10px;
	text-decoration: none;
	color: #888888;
}

.btn02:hover {
 	padding-right: 80px;
	margin-right: 0;
	color: rgba(105, 93, 88, 0.7);
}

.btn02::after {
position: absolute;
bottom: -13px;
margin: auto;
content: "";
vertical-align: middle;
right: 6px;
width: 24px;
height: 24px;
border-top: 1px solid #888888;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);}


.more a {
	border-radius: 20px;
	padding: 0.8em 2em;
	line-height: 100%;
	display: inline-block;
	color: #333;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	background-color: #fff;
	transition: 0.3s;
	border: 1px solid #efdfc2;
}

.more a:hover {
	text-decoration: none;
	color: #FFF;
	background-color: #559445;
}
#topabout{
	background: url(images/hatake.jpg) center bottom no-repeat;
	background-size: cover;
	color: #FFF;
	padding: 110px 0 300px;
}
.top_factory{
	background: #efe6d3;

}

.top_factory h2 span.big4{
	line-height: 1.2;
}
.top_factory h2 span{
	display: block;
}
.top_factory_ttl{align-items: flex-end;}

.image-grid {
  display: flex;
  gap: 20px;
}

.image-item {
  width: calc((100% - 40px) / 3);
  position: relative;
  overflow: hidden;
  display: block;
}

.image-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.image-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 15px 40px 15px 15px;
  color: #fff;
  font-weight: bold;
  background: rgba(204, 182, 136, 0.8);
}

.image-item p::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
  .image-grid {
    flex-direction: column;
  }

  .image-item {
    width: 100%;
  }
  #topabout{
	background: url(images/hatake.jpg) center bottom no-repeat;
	background-size: cover;
	color: #FFF;
	padding: 60px 20px 150px;
}
  #topabout h2{
	margin-bottom: 0;
  }
  #topabout p{
	font-size: 90%;
	line-height: 1.8;
	font-weight: 400;
  }
  .top_factory{
	padding: 30px;
  }
}


#topnews h2 {
	font-weight: 700;
	font-size: 180%;
	margin: 0 3em;
	text-align: center;
	line-height: 1.2;
	padding-top: 60px;
	letter-spacing: 0.05em;
	color: #CCB688;
	background: url(images/corn.svg) center 0 no-repeat;
	background-size: 60px 60px;

}
#topnews h2 span.small{
	font-size: 50%;
	color: #999;
}

.topnews-c {
	flex: 1;
}

#topnews ul li {
	width: 100%;
}

#topnews ul li a span {
	font-size: 85%;
	letter-spacing: 0.08em;
	display: inline-block;
	margin-right: 14px;
	color: #CCA422;
}


#topnews li a {
	display: block;
	padding: 14px 14px 14px 14px;
	text-decoration: none;
	color: #333;
	position: relative;
	border-bottom: 1px dotted #776d63;
}
#topnews li:first-child a{
	border-top: 1px dotted #776d63;
} 
#topnews li a::before {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
	right: 10px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #c7bda8;
	border-right: 2px solid #c7bda8;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

#topnews li a:hover {
	background-color: #f3ebdb;
}

.topnews-l a{
	position: relative;
	padding-left: 18px;
	color: #3d2a17;
	text-decoration: none;
	padding: 4px 12px 4px 28px;
	border-radius: 10px;
}
.topnews-l a::after{
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
	left: 8px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #b8854c;
	border-right: 2px solid #b8854c;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.topnews-l a:hover{
	background-color: #dfcebc;
}

.newswrap {
	margin-bottom: 30px;
	padding: 0;
	border: 1px solid #ebebeb;
}

.newswrap h2 {
	line-height: 100%;
	background-color: #ebebeb;
	;
	font-size: 140%;
	padding: 12px 20px 12px 20px;
	margin-bottom: 10px;
}

.news-c {
	padding: 0 30px 30px;
}

@media screen and (max-width: 767px) {
	
	.archive #topnews {
		margin: 0;
	}
	#topnews .wrap1100 {
		display: flex;
		flex-direction: column;
		padding: 1em 0.4em;
	}

	#topnews h2 {
		margin: 0;
		text-align: center;
		font-size: 120%;
	}

	#topnews, .topnews-cont .flex {
		flex-direction: column;
	}

	#topnews{
		padding: 10px 0;
	}

	#topnews li a {
		line-height: 1.4;
		padding: 8px 24px 10px 10px;
	}
	#topnews ul li a span{
		margin-right: 8px;
	}

	#topnews li a::after {
		right: 8px;
	}
	.top_links a{
		padding: 20px 8px;
		font-size: 100%;
		line-height: 1.5;
		border-radius: 14px;
	}

	.top_links .flex-4{
		flex-wrap: wrap;

	}
	.top_links .flex-4 li{
		margin-bottom: 8px;
		width: 49%;
	}
	.top_links .flex-4 li a{
		width: 100%;
		font-size: 100%;
		text-align: left;
		align-items: center;
		display: flex;
		justify-content: center;
	}
	.top_links a img{
		width: 44px;
		margin: 0 8px 0 0px;
	}
	.top_cat{
		padding: 0 10px;
		flex-direction: column;
	}
	.top_cat li{
		width: 100%;
		margin-bottom: 8px;
	}
	.top_cat li a{
		padding: 70px 0;
	}
	.sectInner {
		flex-direction: column;
	  }

}

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

input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
}

.form {
	margin: 0 auto 30px;
	background-color: #FFF;
	border-radius: 14px;
	padding: 14px;
}

.form table th, #wpcf7cpcnf table th {
	text-align: left;
	padding: 6px 10px;
	background-color: #f5f5f5;
	color: #333;
	border-bottom: 1px solid #dddcdc;
	min-width: 20%;
}

.form table td, #wpcf7cpcnf table td {
	padding: 6px 20px;
	text-align: left;
	background-color: #FFF;
	border-bottom: 1px solid #ececec;
}

.form td p, .form th p {
	padding: 0;
}

.form .input-l input,
.form .input-l textarea {
	width: 100%;
}

input#zip {
	width: 150px;
}

.form input.wpcf7-submit, .form input.wpcf7-confirm, .wpcf7cp-btns .wpcf7-form-control {
	padding: 12px 40px;
	background-color: #1397a2;
	color: #FFF;
	border-radius: 5px;
	border: none;
	font-size: 110%;
	font-weight: bold;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: .4s;
}

.wpcf7cp-btns .wpcf7-form-control:hover {
	cursor: pointer;
	background-color: #067781;
}

input[type="submit"]:hover {
	background-color: #01656e;
	cursor: pointer;
}

.formReq {
	background-color: #da452a;
	color: #FFF;
	font-size: 70%;
	font-weight: bold;
	padding: 3px 5px 5px 5px;
	line-height: 100%;
	display: inline-block;
	border-radius: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

.wpcf7c-conf {
	border: none !important;
	background-color: #fefefe !important;
}

.form input.wpcf7-back {
	background-color: #dcdcdc;
	color: #000;
	padding: 12px 46px;
	display: inline-block;
	margin-left: 5px;
}

.privacyp {
	padding: 20px 10px;
}

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

form input,
form textarea {
	box-sizing: border-box;
	padding: 8px 10px;
}

.form .wpcf7-submit:disabled {
	background-color: #dcdcdc !important;
	color: #999 !important;
	padding: 12px 40px;
}
.wpcf7-list-item label{
	padding: 8px 8px;
}

@media screen and (min-width: 768px) {

	.form {
		padding: 20px;
	}
}

.wpcf7-checkbox label {
	margin-right: 10px;
}

@media screen and (max-width: 767px) {

	.form table, #wpcf7cpcnf table,
	.form table tbody, #wpcf7cpcnf table tbody,
	.form table tr, #wpcf7cpcnf table tr,
	.form table th, #wpcf7cpcnf table th,
	.form table td, #wpcf7cpcnf table td,
	.form textarea, #wpcf7cpcnf textarea {

		display: block;
		box-sizing: border-box;
		width: 100%;
	}

	.form textarea, form input, form textarea {
		max-width: 100% !important;
	}

	.sp-l input {
		width: 100%;
	}

	.sp-vertical .mwform-checkbox-field {
		display: block;
		margin-left: 0 !important;
	}

	.wpcf7-submit, .form input.wpcf7-confirm {
		font-size: 17px;
		padding: 3px 25px;
		background: #e9e9e9;
		color: #363B3F;
		border-radius: 4px;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-top: none;
		border-right: none;
		border-left: none;
		border-bottom: solid 4px #dcdcdc;
	}

	.wpcf7-submit:hover, .form input.wpcf7-confirm:hover {
		background-color: #dcdcdc;
		color: #dc143c;
	}
}

/*---------フッター--------------------------*/
.footmenu a{
	padding: 2px 20px;
	display: inline-block;
	text-decoration: none;
	color: #333;
	line-height: 100%;
	border-right: 1px solid #9b9b9b;
}
.footmenu a.lastl{
	border: none;
}
.footer {
	margin: 0 auto 0;
	padding: 40px 0 0;
	font-weight: 500;
	font-size: 90%;
}

.footer a {
	color: #6b604c;
	text-decoration: none;
}

.footer h3{
	width: 340px;
	margin: 0 auto;
	display: block;
}

.footer p.copy {
	font-size: 12px;
	padding: 0;
	clear: both;
}
.footbans{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}
.footicons img{
	width: 160px;
}
.footicons p{
	flex:1;
}
.footer p.copy a, .footer p.copy a:visited {
	color: #927867;
}
.foot-tokowaka img{
	width: auto;
	height: 90px;
}

@media screen and (max-width: 767px) {

	.footer {
		padding: 10px 8px 10px;
	}
	.footmenu a{
		padding: 2px 10px;}

	.footer h3 {
		width: 60%;
		margin: 0 auto;
	}

	footer p {
		padding-top: 0px;
		font-size: 85%;
	}

	.footer p.copy {
		font-size: 10px;
		margin: 0 0 10px 0;
		line-height: 1.3;
		padding-bottom: 0;
	}

	.footer .mb20 {
		margin-bottom: 8px !important;
	}
	.footicons{flex-direction: column;}
	.footicons img{
		width: 120px;
	}
	.footbans{
		flex-direction: column;
	}

}
.footicons .flex{
	justify-content: center;
}

/*---------------------------*/

.wp-pagenavi {
	text-align: center;
}

.wp-pagenavi a, .wp-pagenavi span {
	padding: 3px 10px !important;
	margin: 2px 5px !important;
}

.wp-pagenavi {
	margin-bottom: 30px;
}

#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
}

#page-top a img {
	width: 60px;
	display: block;
}


.contactbox {
	position: relative;
}

.g_map,.top_movie{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.g_map iframe,
.g_map object,
.g_map embed,
.g_map video,.top_movie video{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*--------------------下層ページ---------------------*/
.contents-page {
	position: relative;
}

.pagettl {
	letter-spacing: 0.1em;
	padding: 100px 0 100px;
	text-align: left;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 40px 0;
	position: relative;
	color: #FFF;
		background: url(images/ttl-bg-bokashi.jpg) center center no-repeat;
	background-size: cover;

}
.pagettl::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.2)
  );
   z-index: 0;
}

.pagettl h1 {
	text-align: center;
	display: inline-block;
	padding: 26px 30px 23px;
	font-size: 180%;
	z-index: 10;
	font-weight: 700;
}

.pagettl h1::after {
	content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #fff;
  margin: 15px auto 0;}

.page-id-2 .pagettl{
	background: url(images/ttl-bg-koujyou.jpg) center center no-repeat;
	background-size: cover;
}
.page-id-10 .pagettl{
	background: url(images/ttl-bg-koujyou2.jpg) center center no-repeat;
	background-size: cover;
}
.page-id-49 .pagettl{
	background: url(images/ttl-bg-kona.jpg) 0 top no-repeat;
	background-size: cover;
}
.page-id-168 .pagettl{
	background: url(images/yokkaichi.jpg) 0 top no-repeat;
	background-size: cover;
}
.sttl{
	position: relative;
	padding:1.25rem 0 1.25rem 2.1rem;
	position:relative;
	font-size:1.625rem;
	font-weight:700;
	line-height:1.3;
	margin-bottom:1.875rem
}

.sttl:before {
	content:"";
	width:0.3rem;
	height:1.5625rem;
	background:#FFED38;
	position:absolute;
	display:block;
	top:0.8125rem;
	left:0;
	border-radius:0.625rem 0.625rem 0 0
  }
  .sttl:after {
	content:"";
	width:0.3rem;
	height:1.5625rem;
	background:#dfc7ab;
	position:absolute;
	display:block;
	top:2.375rem;
	left:0;
	border-radius:0 0 0.625rem 0.625rem
  }


.sttl2 {
	font-size: 130%;
	color: #6d4b41;
	font-weight: 700;
	border-top: 2px solid #6d4b41;
	border-bottom: 2px solid #6d4b41;
	padding: 16px 10px 16px 10px;
	line-height: 100%;
	margin-bottom: 14px;
}
.sttl3{
	font-size: 120%;}

.sttl4{
	font-size: 130%;
	color: #6d4b41;
	font-weight: 700;
	padding: 24px 14px 24px 14px;
	line-height: 100%;
	border-radius: 8px;
	background-color: #f0ecbd;
	margin-bottom: 14px;
}
	
.table01, .pricetable {
	margin: 10px 0 30px 0;
	font-size: 90%;
	width: 100%;
	line-height: 1.6;
}

.table02 {
	font-size: 90%;
	line-height: 1.4;
	width: 100%;
	border: 1px solid #dcdcdc;
	background-color: #FFF;
}

.table03 {
	margin: 0;
}

.table01 th, .pricetable th {
	white-space: nowrap;
	background-color: #c5b5ab;
	color: #FFF;
	border-right: 1px solid #dad3cf;
	border-bottom: 1px solid #dad3cf;
	padding: 14px 30px;
}

.table02 th {
	background-color: #eee6ca;
}

.table01 td, .pricetable td {
	border-bottom: 1px solid #dad3cf;
	border-right: 1px solid #dad3cf;
	padding: 14px 30px;
	background-color: #fffcf7;
}
.table02 th, .table02 td {
	padding: 8px 8px 8px 8px;
	border: 1px solid #dcdcdc;
}

.txc td, .txc th {
	text-align: center;
}


.table03 th, .table03 td {
	border-bottom: 1px solid #dee4e8;
	padding: 6px 20px;
}

.table03 th {
	background-color: #FFF;
	vertical-align: top;
	padding-top: 15px;
}

.table02 td.short, .table02 th.short {
	min-width: 20%;
}

.table03 tr:last-child th, .table03 tr:last-child td {
	border-bottom: none;
}


.nowrap {
	white-space: nowrap;
}

.simplebox {
	padding: 20px 40px;
	border-radius: 14px;
	background-color: #ffffff;
	box-shadow: rgba(204, 203, 176, 0.15) 0px 3px 3px 0px;
	margin-bottom: 30px;
}

.simplebox td {
	background-color: #FFF;
	border-bottom: 2px solid #ecf5ea;
}

.simplebox h3,.simplebox h4{
	color: #c2633d;
	font-size: 120%;	
}
.simplebox h5,.flowbox-c h3.sttl3{
	background-color: #e9dfcd;
	border-radius: 8px;
	padding: 8px 12px;
	margin-bottom: 14px;
	font-size: 110%;
}

.list01 {
	margin-left: 20px;
}

.list01 li {
	list-style-type: disc;
	margin-bottom: 14px;
}

.list01 li::marker {
	color: #cfb939;
}
.recruit-ban a{
	text-decoration: none;
	color: #333;
}
.recruit-ban a img{
	display: block;
	margin: 0 auto;
	border: 1px solid #dcdcdc;
}
.checklist li {
	background: url(images/icon_check.svg) 0 0 no-repeat;
	background-size: 20px auto;
	padding-left: 28px;
	font-size: 110%;
	margin-bottom: 8px;

}
.shigotolist li{
	background-color: #f1efea;
	border-radius: 12px;
	padding: 10px 22px;
	margin-bottom: 10px;
}
.aisatsuwrap{
	background-color: #FFF;
	padding: 8%;

}
.saiyou-c{
	background-color: #FFF;
	padding: 3% 4%;
}

.flowbox li{
	background-color: #FFF;
	margin-bottom: 90px;
	border-radius: 20px;
	position: relative;
}

.flowbox li::after {
    content: ' ';
    position: absolute;
    bottom: -60px;
    left: calc(50% - 20px);
    width: 0;
    height: 0;
    border: none;
    border-top: 35px solid #c5b5ab;
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
    }

	.flowbox li:last-child:after,.flowbox ul li:after{
		display: none;
	}
	.flowbox ul li{
		margin-bottom: 0;
	}

.flowbox li h2{
	background-color: #c5b5ab;
	padding: 16px 30px;
	color: #FFF;
	border-radius: 20px 20px 0 0;
}
.flowbox-c{
	padding: 0 30px 30px;
}
.centerbox{
	margin: 0 auto;
}
.flowbox-center{
	margin: 0 auto 30px;
	padding-bottom: 90px;
	background: url(images/futate.png) center bottom no-repeat;
}
.flowbox-c h3{
	font-size: 110%;
	color: #644b3c;
	margin: 0;}

	.flow-3 a{
		position: relative;
		display: block;
	
	}
	.dougabox{
		overflow: hidden;
		margin-bottom: 10px;
	}
	.flow-3 img{
		transition: transform 1s ease;}
	
		.flow-3 img:hover{
		transform:scale(1.1,1.1);
	
	  }
	  .flow-3 a:before{
		position: absolute;
		content: "";
		display: block;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		border-radius: 50%;
		border: 2px solid #FFF;
		width: 60px;
		height: 60px;
		z-index: 10;
	  }   
	  .flow-3 a:after{
		position: absolute;
		content: "";
		display: block;
		top: 50%;
		left: 50%;
		transform: translate(-40%, -50%);
		border-style: solid;
		border-color: transparent transparent transparent #FFF;
		border-width: 10px 0 10px 20px;
	  }

@media screen and (max-width: 1200px) {
	.pagettl {
		padding: 16px 0 10px 0;
		margin: 0 0 10px;
	}

	.pagettl h1 {
		font-size: 120%;
		padding: 10px;
	}

	.pagettl h1 span {
		margin-bottom: 10px;
		font-size: 160%;
	}

}

@media screen and (max-width: 767px) {

	.sttl {
		font-size: 110%;
		line-height: 1.6;
		margin-bottom: 0px;
		padding: 8px 8px 8px 14px;
	}

	
.sttl:before {
	height:0.7rem;
	top:0.8125rem;
  }
  .sttl:after {
	height:0.7rem;
	top:1.4rem;
	
  }


	.cttl {
		font-size: 120%;
		line-height: 1.3;
			padding: 8px 8px 8px 8px;
	}
	.kihan-st{
		padding: 8px 10px;
		font-size: 110%;}

	.table01
	.table01 tbody,
	.table01 tr,
	.table01 th,
	.table01 td {
		display: block;
		box-sizing: border-box;
		width: 100%;
	}

	.table01 th {
		border-bottom: none;
		padding: 5px;
	}

	.table01 td {
		line-height: 1.6;
		font-size: 90%;
		padding: 5px;
	}


	h2{
		font-size: 120%;
	
	}
	h3 {
		font-size: 110%;
	}
	.page-id-8 h3 {
		font-size:92%;
		margin-top: 10px;
	}
	.page-id-8 h3.ttl-b{
		margin-bottom: 0;
	}
	.simplebox {
		padding: 10px 10px;
		margin-bottom: 10px;
		background-color: #f5f5f5;
	}

	.list01 li {
		line-height: 1.5;
	}
	.saiyou-c .flex40{
		width: 100%;
		margin: 0 0 5% 0;
	}

	.sttl3 {
		font-size: 100%;
		line-height: 100%;
	
	}
	.singlepg .sttl3{
		margin: 14px 0;
	}


	.flowbox li h2{
		padding: 8px 12px;
		border-radius: 14px 14px 0 0;
	}
	.flowbox-center{
		padding-bottom: 0px;
		background: none;
	}

}

.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.5s, transform 1s;
}

.fade-in.active {
	opacity: 1;
	transform: translateY(0px);
}
	/* 2つ目の要素に200msのdelayをかける */
	.fade2 {
		-moz-transition-delay:200ms;
		-webkit-transition-delay:200ms;
		-o-transition-delay:200ms;
		-ms-transition-delay:200ms;
		}
		
		/* 3つ目の要素に400msのdelayをかける */
		.fade3{
		-moz-transition-delay:500ms;
		-webkit-transition-delay:500ms;
		-o-transition-delay:500ms;
		-ms-transition-delay:500ms;
		}

.img_wrap {
	pointer-events: none;
	position: relative;
}

.img_wrap::after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
	transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
	background: #f1f0eb;
}

.img_wrap.effect-on::after {
	width: 0%;
}

.catbtn a{
	background-color: #FFF;
	display: block;
	padding: 10px;
	text-align: center;
	color: #333;
	border-radius: 10px;
	text-decoration: none;
	border:2px solid #dfd0c1;

}
.catbtn a:hover{
	background-color: #dfd0c1;
	border:2px solid #FFF;
}


@media screen and (max-width: 767px) {
	.catbtn{
		flex-wrap: wrap;
	}
	.catbtn li{
		width: 49%;
		margin-bottom: 8px;
		font-size: 90%;
	}
}

a.gaibu::after{
	content: "";
	background-image: url("images/gaibu.svg");
	background-repeat: no-repeat;
	background-size: contain;
	display: inline-block;
	height: 1.2rem;
	width: 1.2rem;
	margin: 0 0 4px 4px;
	vertical-align: middle;
}
