@charset 'utf-8';

/* ページ全体で横スクロールを防止 */
html {
	overflow-x: hidden;
	width: 100%;
}

body {
	padding: 0;
	margin: 0;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
	width: 100%;
}

/* ============================
  ベース
/* ============================ */
img {
	vertical-align: bottom;
}

/*ホバーエフェクト*/
a {
	color: #4B5D15;
	text-decoration: underline;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
	color: #8FB32B;
	text-decoration: none;
}

/*動く下線パターン1*/
.txt a {
	text-decoration: none;
	background: linear-gradient(#333, #333) 100% 100%/100% 1px no-repeat;
}

.txt_g a {
	text-decoration: none;
	background: linear-gradient(#8FB32B, #8FB32B) 100% 100%/100% 1px no-repeat;
}

.txt_w a {
	text-decoration: none;
	background: linear-gradient(#FFFFFF, #FFFFFF) 100% 100%/100% 1px no-repeat;
}

span.txt:hover,
.txt a:hover,
.txt_g a:hover,
.txt_w a:hover {
	animation: u_line .8s cubic-bezier(.23, 1, .32, 1) 0s;
}

@keyframes u_line {
	0% {
		background-size: 100% 1px;
		background-position: 100% 100%
	}

	50% {
		background-size: 0 1px;
		background-position: 100% 100%
	}

	51% {
		background-size: 0 1px;
		background-position: 0 100%
	}

	to {
		background-size: 100% 1px;
		background-position: 0 100%
	}
}

/*動く下線パターン2*/
.txt2 a {
	text-decoration: none;
	background: linear-gradient(#333, #333) 100% 100%/0 1px no-repeat;
	transition: background-size .4s cubic-bezier(.23, 1, .32, 1) 0s;
}

.txt2_g a {
	text-decoration: none;
	background: linear-gradient(#8FB32B, #8FB32B) 100% 100%/0 1px no-repeat;
	transition: background-size .4s cubic-bezier(.23, 1, .32, 1) 0s;
}

.txt2_w a {
	text-decoration: none;
	background: linear-gradient(#FFFFFF, #FFFFFF) 100% 100%/0 1px no-repeat;
	transition: background-size .4s cubic-bezier(.23, 1, .32, 1) 0s;
}

.txt2 a:hover,
.txt2_g a:hover,
.txt2_w a:hover {
	background-size: 100% 1px;
	background-position: 0 100%;
}

.red {
	color: #fa0f00;
}


/*選択時の色*/
::-moz-selection {
	background: #ddd;
}

::selection {
	background: #ddd;
}

::-moz-selection {
	background: #ddd;
}

.fa {
	padding: 0 5px;
}


/*見出し*/

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	font-weight: bold;
	line-height: 1.6em;
	position: relative;
	margin: 1em 0 1em 0;
	padding: 0;
}

#content h1 {
	font-size: 2.5em;
	line-height: 1.6em;
}

#content h2 {
	font-size: 2.5rem;
}

#content h3 {
	font-size: 1.7em;
}

#content h4 {
	font-size: 1.5em;
}

#content h5 {
	font-size: 1.2em;
}

#content h6 {
	font-size: 1.1em;
}


#content h2 {
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.2em;
	margin: 4rem 0 2rem 0;
	padding: 0;
}

#content h2.meta-title {
	text-align: left;
}

#content h2.top {
	margin: 2rem 0 2rem 0;
	padding: 6rem 0 0 0;
}

#content h2 div {
	font-size: 4em;
	font-family: "Josefin Sans", sans-serif;
	line-height: 1em;
	letter-spacing: 0.02em;
	color: #708B1F;
}


/* テーブル
----------------------------- */

/*ノーマル*/
#content table {
	line-height: 1.8em;
	width: 100%;
	margin: 1em 0;
	border-collapse: collapse;
	text-align: left;
	border-top: 1px solid #333;
}

#content table th {
	width: 20%;
	font-weight: bold;
	padding: 1em;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #333;
	word-break: break-all;
}

#content table td {
	padding: 1em;
	vertical-align: top;
	border-bottom: 1px solid #333;
	word-break: break-all;
}

#content table th+th,
#content table th+td,
#content table td+td {
	/*border-left: 1px solid #ccc;*/
}


/*ボタンスタイル*/
.btn a {
	max-width: 500px;
	line-height: 70px;
	letter-spacing: 0.05em;
	display: block;
	text-align: center;
	text-decoration: none;
	padding-right: 1em;
	color: #FFFFFF;
	background: #708B1F;
	position: relative;
	-moz-border-radius: 35px;
	-webkit-border-radius: 35px;
	border-radius: 35px;
}

.btn a:hover {
	background: #8CA331;
}

.btn a::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 2rem;
	margin: auto;
	width: 20px;
	height: 20px;
	background: url("../img/arrow_w.svg") center no-repeat;
	background-size: contain;
	vertical-align: middle;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.btn a:hover::after {
	transform: translate(5px, 0);
	-webkit-transform: translate(5px, 0);
	-moz-transform: translate(5px, 0);
	-ms-transform: translate(5px, 0);
	-o-transform: translate(5px, 0);
}

/*.btn a:hover{
	text-indent:-0.5em;
}*/

.center.btn a,
.center .btn a {
	margin: 0 auto;
}

.right.btn a {
	margin: 0 0 0 auto;
}

/*small*/
.btn.btn_small a {
	font-size: 0.9em;
	font-weight: bold;
	max-width: 330px;
	line-height: 50px;
	color: #FFFFFF;
	background: #708B1F;
	border: solid 2px #708B1F;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
}

.btn.btn_small a:hover {
	background: #8CA331;
	border: solid 2px #8CA331;
}

.btn.btn_small a::after {
	background: url("../img/arrow_w.svg") center no-repeat;
}


/*リンクスタイル*/
.txtlink a {
	line-height: 1.3em;
	display: block;
	margin: 2em 0;
	padding: 1rem 5rem 1rem 1rem;
	color: #708B1F;
	border: solid 1px #708B1F;
	position: relative;
}

.txtlink a::before,
.txtlink a::after {
	position: absolute;
	top: 10%;
	bottom: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.txtlink a::before {
	right: 1rem;
	width: 45px;
	height: 1px;
	background: #708B1F;
}

.txtlink a::after {
	right: 1.2rem;
	width: 15px;
	height: 15px;
	border-top: 1px solid #708B1F;
	-webkit-transform: rotate(40deg);
	transform: rotate(40deg);
}

/*ギャラリー調整*/
#content ul.blocks-gallery-grid {
	margin: 2rem 0;
}

#content .margin0 ul.blocks-gallery-grid {
	margin: 0;
}

#content ul.blocks-gallery-grid li {
	padding: 0;
}

.wp-block-gallery .blocks-gallery-item figcaption {
	line-height: 1.5em;
}

/*1枚画像*/
.wp-block-image img {
	height: auto;
}

.wp-block-image.img_right {
	padding-top: 1rem;
}

.wp-block-image.img_right img {
	height: 22vw;
	max-height: 260px;
	object-fit: cover;
}



/*タイトル本文付写真リスト*/
#content ul.photolist {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 2rem 0;
	padding: 0;
	list-style: none;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

#content ul.photolist li {
	margin: 0 0 1rem 0;
	padding: 1.7rem;
	background: url(../img/bg_tile.gif) 0 0 repeat;
}

#content ul.photolist.column3 li {
	width: 32%;
}

#content ul.photolist h4 {
	font-size: 1.1rem;
	line-height: 1.5em;
	margin: 0;
	padding: 1.5rem 0 1rem 0;
	border: none;
}

#content ul.photolist p {
	font-size: 0.95em;
	line-height: 1.5em;
}


/*タイトル本文付写真リスト背景梨*/
#content ul.itemlist {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 2rem 0;
	padding: 0;
	list-style: none;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

#content ul.itemlist li {
	margin: 0 0 2rem 0;
}

#content ul.itemlist.column2 li {
	width: 47%;
}

#content ul.itemlist h4 {
	font-size: 1.2rem;
	line-height: 1.5em;
	margin: 0;
	padding: 1.5rem 0 0.5rem 0;
	border: none;
	color: #708B1F;
}

#content ul.itemlist .img img {
	width: 100%;
	height: 30vw;
	max-height: 400px;
	margin: 0 auto;
	object-fit: cover;
}

#content ul.itemlist p {
	line-height: 1.5em;
}



/*dl*/
dl.dl_normal dt {
	font-weight: bold;
	font-size: 1.1em;
	text-decoration: none;
}

dl.dl_normal dd {
	padding: 0 0 0 2rem;
}

/*セレクトボックス*/
.select-box {
	font-size: 0.9em;
}

.select-box span.flame-select {
	position: relative;
}

.select-box span.flame-select::after {
	content: '';
	width: 8px;
	height: 8px;
	border: 0px;
	border-top: solid 2px #333333;
	border-right: solid 2px #333333;
	-ms-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
	position: absolute;
	top: 50%;
	right: 1.3rem;
	margin-top: -4px;
	pointer-events: none;
}

.select-box select {
	margin-left: 0.2rem;
	padding: 0 3em 0 1em;
	min-width: 13em;
	height: 3em;
	background-color: #ffff;
	border: solid 2px #eaecee;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
}

.select-box select:focus {
	outline: none;
}

/*ライトボックス調整*/
.tos-wrapper {
	box-sizing: initial;
}

/*iframe*/
#content iframe {
	border: none;
	display: block;
	margin: 1rem 0;
}

/*ページトップ*/
.pagetop {}

.pagetop a {
	font-size: 2em;
	font-weight: bold;
	line-height: 1.7;
	display: block;
	width: 2em;
	height: 2em;
	margin: 0;
	padding: 0;
	text-align: center;
	text-decoration: none;
	color: #708B1F;
	background: none;
	box-shadow: none;
}

.pagetop a::before {
	font-family: Font Awesome\ 5 Free, FontAwesome;
	font-weight: bold;
	content: '\f077';
}

.pagetop a:hover {
	color: #8CA331;
	background: none;
}


/*縦文字*/
.tate {
	writing-mode: vertical-rl;
	text-orientation: upright;
}

/*フェード*/
.fuwa {
	opacity: 0;
	transform: translate(0, 50px);
	transition: all 1s;
}

.fuwa.fuwa-scroll {
	opacity: 1;
	transform: translate(0, 0);
}


/*  ナビゲーション
----------------------------- */
#wrapper {}

header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
	color: #333333;
}

nav {
	height: 80px;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
	overflow: visible;
}

nav #title {
	display: flex;
	align-items: center;
}

nav #site-title {
	width: 220px;
	margin-right: 0.7em;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

nav #site-title a {
	height: 80px;
	display: flex;
	align-items: center;
	padding: 0 1rem;
}

nav #spnavi #site-title {
	margin-right: 0;
	margin-bottom: 1rem;
}

nav #spnavi #site-title a {
	padding: 0;
}

nav #site-title img {
	width: 100%;
	max-height: 52px;
}

nav #title .title-copy {
	font-size: 0.9rem;
}

nav #pcnavi {
	margin-left: auto;
}

#pcnavi ul#menu-main {
	display: flex;
	list-style: none;
	justify-content: flex-end;
}

#pcnavi ul#menu-main>li {
	text-align: center;
	position: relative;
}

nav ul li a {
	display: block;
	text-decoration: none;
}

#access li a {
	font-size: 1rem;
	padding: 0 1rem;
	letter-spacing: 0.1em;
	line-height: 80px;
	font-weight: bold;
}

#access ul.sub-menu li a {
	line-height: 1.5;
	padding: 0.8em 1.5em;
}

/*メニューカレント*/
#pcnavi ul#menu-main>li.current-menu-item>a {}

/*ドロップダウンメニュー（PCナビゲーション）*/
#pcnavi ul.sub-menu {
	display: none;
	position: absolute;
	top: 80px;
	left: 0;
	min-width: 220px;
	background: #FFFFFF;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 10001;
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 3px solid #8FB32B;
}

#pcnavi li:hover>ul.sub-menu {
	display: block;
}

#pcnavi ul.sub-menu li {
	text-align: left;
	width: 100%;
	display: block;
}

#pcnavi ul.sub-menu li a {
	display: block;
	padding: 1em 1.5em;
	line-height: 1.5;
	font-size: 0.95rem;
	color: #333333;
	white-space: nowrap;
	border-bottom: 1px solid #EFEFEF;
	background: #FFFFFF;
	font-weight: normal;
	letter-spacing: 0;
	transition: all 0.3s ease;
}

#pcnavi ul.sub-menu li:last-child a {
	border-bottom: none;
}

#pcnavi ul.sub-menu li a:hover {
	background: #F8F8F8;
	color: #8FB32B;
	padding-left: 2em;
}

/*お問い合わせボタン*/
#access li.menu_inq {
	padding-left: 1rem;
}

#access li.menu_inq a {
	width: 180px;
	color: #FFFFFF;
	background: #708B1F;
	height: 150%;
	margin-top: -10%;
	padding-top: 10%;
}

/* チェックボックスは非表示に */
.drawer-hidden {
	display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer-open {
	display: flex;
	height: 50px;
	width: 50px;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 100;
	/* 重なり順を一番上に */
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ハンバーガーメニューのアイコン */
.drawer-open span {
	display: block;
	height: 2px;
	width: 50px;
	position: absolute;
	background: #333333;
	border-radius: 2px;
}

.drawer-open span:before,
.drawer-open span:after {
	content: '';
	display: block;
	height: 2px;
	width: 50px;
	background: #333333;
	transition: 0.5s;
	position: absolute;
}

/* 三本線のうち一番上の棒の位置調整 */
.drawer-open span:before {
	bottom: 10px;
}

/* 三本線のうち一番下の棒の位置調整 */
.drawer-open span:after {
	top: 10px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer-check:checked~.drawer-open span {
	background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になるように上下の線を回転 */
#drawer-check:checked~.drawer-open span::before {
	bottom: 0;
	transform: rotate(45deg);
	background: #333333;
}

#drawer-check:checked~.drawer-open span::after {
	top: 0;
	transform: rotate(-45deg);
	background: #333333;
}

/* メニューのデザイン*/
.drawer-content {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 100%;
	/* メニューを画面の外に飛ばす */
	z-index: 99;
	transition: .5s;
	background-color: #FFFFFF;
	overflow: scroll;
	/* IE, Edge 対応 */
	-ms-overflow-style: none;
	/* Firefox 対応 */
	scrollbar-width: none;
	color: #333333;
}

/* Chrome, Safari 対応 */
.drawer-content::-webkit-scrollbar {
	display: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked~.drawer-content {
	left: 0;
	/* メニューを画面に入れる */
}

.drawer-content .menu_scroll {
	padding: 5rem 8vw 7rem 8vw;
	min-height: 100%;
	-webkit-overflow-scrolling: touch;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#spnavi .menu_scroll>div {
	width: 48%;
}


#spnavi ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#spnavi li {
	margin: 0;
	padding: 0;
}

#spnavi li a {
	display: block;
	font-size: 0.95em;
	font-weight: normal;
	padding: 1em;
	color: #333333;
	position: relative;
}

#spnavi li.menu-item-has-children a {
	padding-bottom: 0.5em;
}

#spnavi ul.sub-menu li a {
	font-size: 0.9em;
	padding: 0.7em 3em;
}

/*スモールヘッダー*/
header.smaller {
	background: #F7F7F7;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

header.smaller nav {
	height: 60px;
}

header.smaller nav #site-title {
	width: 180px;
}

header.smaller nav #site-title a {
	height: 60px;
}

header.smaller nav #title .title-copy {
	font-size: 0.8rem;
}

header.smaller nav #access li a {
	font-size: 0.9rem;
	line-height: 60px;
}

header.smaller nav #access li.menu_inq a {
	width: 140px;
}

/*  お問い合わせエリア
----------------------------- */
.box_contact {
	padding: 10vw 0 0 0;
	background-color: #708B1F;
}

.inner_contact {
	color: #ffffff;
	position: relative;
	z-index: 1;
	opacity: 0.9;
	padding: 10rem 0 4rem 0;
	justify-items: center;
}

.inner_contact:after {
	content: "CONTACT";
	font-family: "Josefin Sans", sans-serif;
	font-size: 6vw;
	line-height: 0.7em;
	font-weight: bold;
	position: absolute;
	display: block;
	width: 100%;
	left: 0;
	text-align: center;
	z-index: -1;
	top: -10rem;
	justify-self: center;
	color: #FFFFFF;
	opacity: 0.8;
	filter: alpha(opacity=5);
	-ms-filter: "alpha(opacity=5)";
	-moz-opacity: 0.05;
	-khtml-opacity: 0.05;
}

.inner_contact h2 {
	font-size: 2.5rem;
	letter-spacing: 0.1em;
	position: absolute;
	left: 5vw;
	top: 5vw;
}

.contact_detail {
	padding-bottom: 4rem;
}

.contact_detail .box_tel {
	font-size: 3rem;
	padding: 1rem 0 3rem 0;
}

.contact_detail .box_tel a {
	color: #FFFFFF;
	line-height: 1;
	text-decoration: none;
	display: inline-block;
}

.btn_waku a {
	max-width: 400px;
	line-height: 60px;
	letter-spacing: 0.05em;
	display: block;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
	border: solid 2px #ffffff;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	margin: 0 auto;
}

.btn_waku a i {
	margin-right: 0.3em;
}

/*  フッター
----------------------------- */
footer {
	padding: 4rem 0;
	text-align: center;
	position: relative;
}


.pagetop {
	transition: .3s;
	opacity: 0;
	visibility: hidden;
}

.pagetop.active {
	opacity: 1;
	visibility: visible;
}

.pagetop.absolute {
	position: absolute;
	top: -70px;
	bottom: auto;
}

/*フッターメニュー*/
ul#menu-footermenu {
	text-align: center;
	padding-bottom: 5rem;
}

ul#menu-footermenu li {
	display: inline-block;
	list-style: none;
	padding: 0 2rem;
}


.pravacymark .mark {
	padding-bottom: 0.5rem;
}

.pravacymark .mark a {
	display: inline-block;
	border: solid 1px #CCCCCC;
}


p#sitecopy {
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	margin: 0;
	/*padding-top: 3rem;*/
}



/*  メインビジュアル
----------------------------- */
#mainimage {
	position: relative;
	display: block;
	overflow: visible;
	width: 100%;
	height: 80vh;
	background: transparent;
}

#mainimage .swiper-slide img {
	width: 100%;
	height: 90vh;
	min-height: 700px;
	object-fit: cover;
	vertical-align: bottom;
	transform: scale(1.1);
}

.swiper-slide.swiper-slide-active img {
	animation: animationZoom 14s;
}

@keyframes animationZoom {
	0% {
		transform: scale(1.0);
	}

	100% {
		transform: scale(1.1);
	}
}

/*#mainimage .swiper-wrapper:after{
	content:"";
	position: absolute;
	left:0;
	top:0;
	width:100%;
	height: 100%;
	background-color:#000;
	opacity: 0.2;
}*/

#mainimage span.maincopy {
	position: absolute;
	display: block;
	width: 90%;
	max-width: 26em;
	height: 1.5em;
	margin: auto;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	color: #333333;
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: 1em;
	line-height: 1.6em;
	z-index: 10;
	text-align: center;
	pointer-events: none;
	text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

#mainimage .main_lead {
	position: absolute;
	display: block;
	width: 90%;
	max-width: 30em;
	margin: auto;
	right: 0;
	left: 0;
	top: 65%;
	color: #555555;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.8em;
	z-index: 10;
	text-align: center;
	pointer-events: none;
	text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
}


/* レイアウト
----------------------------- */
#main {
	padding-bottom: 8rem;
}

.home #main {
	padding-bottom: 0;
}

.contentbox {
	max-width: 1000px;
	margin: auto;
}

.widebox {
	max-width: 100%;
}

.section_lead {
	text-align: center;
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 3rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* トップページ
----------------------------- */
/* 採用バナー */
.bnr_recruit {
	max-width: 1104px;
	text-align: center;
	margin: 0 auto;
	padding: 4rem 0 0 0;
	position: relative;
	z-index: 1;
}

.bnr_recruit>a {
	display: block;
	border: solid 2px #eaecee;
}

.bnr_recruit .btn {
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	bottom: -25px;
}

.bnr_recruit .btn a:hover {
	opacity: 1;
	filter: alpha(opacity=100);
	-ms-filter: "alpha(opacity=100)";
	-moz-opacity: 1;
	-khtml-opacity: 1;
}

/*ごあいさつ*/
#content .box_message h3 {
	padding: 0;
	font-size: 1.7em;
}

#content .box_message.contentbox {
	max-width: 800px;
}

.box_message .btn {
	padding: 2rem 0 4rem 0;
}

.box_message ol {
	margin: 1rem 0 !important;
	padding: 0 0 0 1.5rem;
}

.box_message ol li {
	padding: 0.5rem 0;
}

.box_message .name {
	margin-top: 2rem;
	text-align: right;
}

#content .box_message .box_photo {
	position: relative;
}

#content .box_message .box_photo:after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	/*	background:url("../img/bg_nami_tate.svg") 102% center no-repeat;*/
	background-size: auto 110%;
}

/*事業内容*/
#content .box_business {
	max-width: 90%;
	margin: 0 auto;
}

#content .box_business h3 {
	margin: 1rem 0 1rem 0;
	padding: 0;
	font-size: 1.4em;
	text-align: center;
}

#content .box_business p {
	padding: 0;
	text-align: center;
}

/*会社情報*/
#content .box_company.contentbox {
	max-width: 800px;
	margin-bottom: 10rem;
}

/* お知らせ */
.box_news {
	padding: 6rem 0;
}

.home .box_news {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

#content .box_news h2 {
	text-align: center;
	margin-bottom: 3rem;
}

#content .ul_newslist {
	margin: 0;
	padding: 0;
	border-top: solid 1px #CCCCCC;
	max-width: 900px;
	margin: 0 auto;
}

#content .ul_newslist li {
	margin: 1.2rem 0;
	padding: 1.2rem 0;
	list-style: none;
	font-size: 1.05em;
	border-bottom: solid 1px #CCCCCC;
	transition: background-color 0.3s ease;
}

#content .ul_newslist li:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

.ul_newslist .date {
	display: inline-block;
	margin-right: 1em;
}

.home .box_news .btn {
	padding-top: 1.5rem;
	text-align: center;
}

/* 企業理念セクション */
.box_mission {
	text-align: center;
}

.mission_main {
	text-align: center;
	max-width: 1100px;
	margin: 0 auto 4rem;
	padding: 0 2rem;
}

#content .box_mission h2 {
	text-align: center;
	margin-bottom: 3rem;
}

.mission_title {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	text-align: center;
	padding-bottom: 1rem;
	position: relative;
}

.mission_lead {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 2rem;
	text-align: center;
}

.mission_text {
	font-size: 1rem;
	color: #666;
	line-height: 2;
}

.mission_values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	max-width: 1400px;
	margin: 0 auto;
}

.value_item {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value_item:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value_icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.value_title {
	font-size: 1.3rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 1rem;
}

.value_text {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.7;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.mission_values {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.mission_title {
		font-size: 1.8rem;
	}

	.mission_lead {
		font-size: 1.1rem;
	}

	.mission_values {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.value_item {
		padding: 1.5rem;
	}

	.grid_business {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.home .box_news,
	.mission_main,
	.mission_values,
	.grid_business {
		padding: 0 1rem;
	}
}

/*リンクバナー*/
.box_banner {
	padding: 8rem 0 6rem 0;
}

.box_banner p {
	font-size: 1.1em;
	font-weight: bold;
	color: #777777;
}

#content .box_banner ul {
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
}

#content .box_banner ul li {
	max-width: 452px;
	margin: 0 1rem;
	padding: 0;
	list-style: none;
}

.box_banner li.bnr_sunloft a {
	display: block;
	border: solid 1px #0080cc;
}

.box_banner li.bnr_s-plant a {
	display: block;
	border: solid 1px #5bb6b6;
}


/* サブページ
----------------------------- */
/*ページタイトルと背景*/
.pagetitle {
	background-attachment: fixed;
}

.pagetitle h1 {
	font-size: 1em;
	padding: 8vw 0 0 0;
	letter-spacing: 0.1em;
	background-size: 100% auto;
}

.pagetitle h1 em {
	display: block;
	font-style: normal;
}

.pagetitle h1 span {
	color: #708B1F;
	font-size: 3rem;
	letter-spacing: 0.1em;
	display: block;
	text-transform: uppercase;
	line-height: 1.4em;
}

/*背景なし*/
.pagetitle#ct_news,
.pagetitle#ct_inquiry,
.pagetitle#ct_privacy {
	padding-top: 0;
	background: none;
}

#pankuzu {
	padding: 1rem 0;
}

.entry-content {
	margin-top: 1.5rem;
}

/* sidebox
----------------------------- */
/*投稿ページ*/
.archivemain #sidebox {
	margin-top: 2rem;
}

#sidebox .select-box {
	display: inline-block;
}

#sidebox #box_cate {
	padding-left: 2rem;
	display: inline-block;
}

span.sidetitle {
	display: inline-block;
	width: 5em;
}

#box_cate {}

#content ul.catelist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
}

#content ul.catelist li {
	margin: 0;
	padding: 0;
	display: inline-block;
}

#content ul.catelist li::after {
	content: "・";
}

#content ul.catelist li:last-of-type::after {
	display: none;
}

.catelist a {
	color: #4B5D15;
}

#content ul.catelist ul.children {
	margin: 0;
	padding: 0;
	display: inline-block;
}

#content ul.catelist ul.children::before {
	content: "(";
	display: inline-block;
	margin: 0 0.2rem;
}

#content ul.catelist ul.children::after {
	content: ")";
	margin: 0 0.2rem;
}

#content ul.catelist .current-cat>a {
	font-weight: bold;
}

.box_articlelist #box_cate,
.box_workslist #box_cate {
	padding-bottom: 0;
}


/* お知らせ
----------------------------- */
.archivemain {}

#content.archivemain h2 {
	margin: 1.5em 0;
}

#content.archivemain .ul_newslist {
	padding: 0;
	margin: 0 auto;
}

.entry-meta {
	padding-top: 2rem;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.entry-meta .term a {
	margin-right: 0.5rem;
}

.entry-meta .day {
	font-size: 0.9em;
	color: #999999;
	margin-left: auto;
}

#content h2.h_news {
	padding-top: 1em;
	font-size: 2.2em;
	line-height: 1.5em;
}

.single .entry-content {
	padding-bottom: 4rem;
}


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


/* 事業案内
----------------------------- */
.box_business-list {
	margin: 0 auto 1rem auto;
	padding: 2rem;
	background-color: #F9F9F9;
}

#content .box_business-list ul {
	margin-bottom: 0;
}

#content .box_business-list ul li:last-of-type {
	padding-bottom: 0;
}

.img_group {
	padding-bottom: 2rem;
}

.box_business-list .bnr_celf {
	margin: 20px auto;
	text-align: center;
}

.box_business-list .bnr_celf .btn.btn_small a {
	margin: -30px auto 0;
}


/* 採用情報
----------------------------- */
.box_over {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	background: #F9F9F9;
	overflow: hidden;
}


#content .box_voice h4 {
	font-size: 1.8em;
	margin: 3em 0 1em 0;
}


/* お問い合わせ
----------------------------- */
.page-id-42 #main {
	padding-bottom: 2rem;
}

/*フォーム*/
#content table.tbl_form {
	line-height: 1.8em;
	width: 100%;
	margin: 1em 0;
	border-collapse: collapse;
	text-align: left;
}

#content table.tbl_form th {
	width: 1%;
	white-space: nowrap;
}

#content table.tbl_form td {}

#content table.tbl_form th+th,
#content table.tbl_form th+td,
#content table.tbl_form td+td {
	border-left: none;
}

.tbl_form input::placeholder {
	color: #999999;
}

.tbl_form input:-ms-input-placeholder {
	color: #999999 !important;
}

.tbl_form input::-webkit-input-placeholder {
	color: #999999 !important;
}

#content table.tbl_form th p {
	margin: 0;
	display: inline;
}

.ziptext {
	display: block;
	font-size: 0.9rem;
	padding: 0.5rem 0;
	color: #708B1F;
}

#content .wpcf7 table input.short {
	width: 8em;
}

#content .wpcf7 table input.half {
	width: 44%;
}

.wpcf7-form-control-wrap.doko {
	display: block;
	padding: 0.5rem;
}






/* ============================
  PC
/* ============================ */
@media(min-width: 900px) {

	.center_pc {
		text-align: center;
	}

	/*カラム*/
	.col2,
	.col3 {
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}

	.col2>* {
		width: 50%;
	}

	.col3>* {
		width: 33.333%;
		width: calc(100% / 3);
	}

	.col_reverse {
		-webkit-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}

	.col_reverse.col_change {
		-webkit-flex-direction: row;
		flex-direction: row;
	}

	/*セレクトボックス*/
	.select-box {
		font-size: 1em;
	}

	/*電話番号リンク*/
	a.tel {
		pointer-events: none;
		text-decoration: none;
	}

	.txt a.tel {
		background: none;
	}


	/*  メインビジュアル
----------------------------- */
	#mainimage {
		position: relative;
	}

	/* レイアウト
----------------------------- */
	#main {
		overflow: hidden;
		/*box_over用*/
	}

	.box_over {
		margin: 0 calc(50% - 50vw);
		width: 100vw;
		max-width: 100vw;
	}

	/* トップページ
----------------------------- */
	/* ニュース */
	#content .ul_newslist li {
		display: -webkit-flex;
		display: flex;
	}


	/*ごあいさつ*/
	.col2>.box_text {
		width: 50%;
		padding: 0 7vw;
		margin: auto;
	}

	.col2>.box_photo {
		width: 50%;
	}


	/* 会社概要
----------------------------- */
	#content h3.copy_company {
		font-size: 1.8em;
		margin: 4rem 0 6rem 0;
	}

	#content .box_company_message .box_text {
		width: 65%;
		padding: 0 0 0 7vw;
	}

	#content .box_company_message .box_photo {
		width: 35%;
	}

	/* 事業案内
----------------------------- */


	/* 採用情報
----------------------------- */
	.box_over .tit {
		padding: 0 7vw;
		position: relative;
		z-index: 1;
	}

	#content .box_over .tit h3 {
		position: absolute;
		font-size: 3vw;
		line-height: 1.6em;
		z-index: 2;
		width: 100vw;
		margin: 0;
		padding: 11rem 0 0 0;
	}

	.box_over .joining {
		padding-top: 8rem;
	}

	.box_over .staff_main {
		max-width: 750px;
	}

	.staff_sub {
		padding: 4rem 0 8rem 0;
	}



}

/* ============================
  PC（1300px以下）
/* ============================ */
@media(max-width: 1300px) {


	nav #title .title-copy {
		font-size: 0.8rem;
		line-height: 1.6em;
	}


}

/* ============================
  PC（1200px以下）
/* ============================ */
@media(max-width: 1200px) {


	header.smaller nav #site-title,
	header nav #site-title {
		width: 180px;
	}

	nav #title .title-copy {
		display: none;
	}


	/*  ナビゲーション
----------------------------- */
	header.smaller nav #access li a,
	#access li a {
		font-size: 0.9rem;
		padding-left: 0.6rem;
		padding-right: 0.6rem;
	}


	#access li.menu_inq a {
		width: 140px;
	}


	/* サブページ
----------------------------- */
	#pankuzu {
		padding: 0.5rem 4vw;
	}

	#content {
		padding: 0 4vw;
	}

}

/* ============================
  PC
/* ============================ */
@media(min-width: 900px) {

	/*  お問い合わせエリア
----------------------------- */
	.contact_detail {
		max-width: 600px;
		margin: 0 auto;
		position: relative;
		z-index: 2;
	}

	.box_contact {
		padding: 6rem 0;
		position: relative;
		overflow: hidden;
	}

	.inner_contact {
		padding: 0;
		max-width: 1000px;
		margin: 10rem auto auto auto;
		position: relative;
	}

	.inner_contact:after {
		content: "CONTACT";
		display: block;
		font-size: 13rem;
		font-weight: bold;
		color: #DBE5B9;
		/* 薄いオリーブ色 */
		position: absolute;
		top: -10rem;
		left: 0;
		right: 0;
		margin: auto;
		text-align: center;
		z-index: 1;
		line-height: 1;
		opacity: 0.6;
	}

	.inner_contact h2 {
		display: none;
		/* PCでは背景文字として表示するためh2タイトルは非表示 */
	}

}

/* ============================
  タブレット
/* ============================ */
@media(max-width: 900px) {

	/*見出し*/
	#content h1,
	#content h2,
	#content h3,
	#content h4,
	#content h5,
	#content h6 {
		margin: 1.5em 0 1em 0;
	}

	#content h1 {
		font-size: 2em;
		line-height: 1.4em;
	}

	#content h2 {
		font-size: 1.5rem;
	}

	#content h2 div {
		font-size: 1.8em;
	}

	#content h3 {
		font-size: 1.2em;
	}

	#content h4 {
		font-size: 1.1em;
	}

	#content h5 {
		font-size: 1em;
	}

	#content h6 {
		font-size: 1em;
	}


	/* テーブル
----------------------------- */

	/*ノーマル*/
	#content table th,
	#content table td {
		font-size: 0.9em;
		padding: 1em;
		line-height: 1.6em;
	}

	/*スマホでブロック化*/
	#content table.sp_block,
	#content table.sp_block tbody,
	#content table.sp_block tr,
	#content table.sp_block tr th,
	#content table.sp_block tr td {
		display: block;
		width: 100%;
	}

	#content table.sp_block tr th,
	#content table.sp_block tr td {
		border-left: none;
	}

	#content table.sp_block tr th {
		border-bottom: none;
		padding-bottom: 0;
	}

	/*横スクロール*/
	.scroll-table {
		display: block;
		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
	}

	.scroll-table::-webkit-scrollbar {
		height: 8px;
	}

	.scroll-table::-webkit-scrollbar-track {
		background: #f1f1f1;
		-moz-border-radius: 8px;
		-webkit-border-radius: 8px;
		border-radius: 8px;
	}

	.scroll-table::-webkit-scrollbar-thumb {
		background: #bcbcbc;
		-moz-border-radius: 8px;
		-webkit-border-radius: 8px;
		border-radius: 8px;
	}

	#content .scroll-table table {
		margin-bottom: 0.5rem;
	}

	.scroll-hint-icon-wrap.is-active {
		background-color: rgba(0, 0, 0, 0.05);
	}

	.scroll-hint-icon-wrap.is-active .scroll-hint-icon {
		height: 70px;
	}

	.scroll-hint-text {
		display: none;
	}

	/*ボタンスタイル*/
	.btn_next a,
	a.btn {
		font-size: 0.9rem;
	}

	.btn_next {
		padding-top: 2rem;
	}

	.more>a:after {
		width: 40px;
		height: 40px;
		right: -45px;
	}


	/*1枚画像*/
	.wp-block-image.img_right img {
		height: 60vw;
		max-height: 300px;
	}

	/*タイトル本文付写真リスト*/
	#content ul.photolist {
		display: block;
	}

	#content ul.photolist.column3 li {
		width: auto;
	}


	/*dl*/
	dl.dl_normal dt {
		font-size: 1em;
	}

	dl.dl_normal dd {
		padding: 0 0 0 1rem;
	}


	/*  ナビゲーション
----------------------------- */
	#wrapper {
		padding-top: 60px;
	}

	header nav {
		height: 60px;
	}

	nav #site-title a {
		height: 60px;
	}

	nav #title .title-copy {
		display: none;
	}

	nav #spnavi {
		margin-left: auto;
		padding-right: 1em;
	}

	.drawer-content .menu_scroll {
		display: block;
	}

	#spnavi .menu_scroll>div {
		width: auto;
	}

	#spnavi li a {
		font-size: 0.9em;
		padding: 0.7rem 0.5em;
		color: #333333;
	}

	#spnavi li.menu-item-has-children a {
		padding-bottom: 0;
	}

	#spnavi ul.sub-menu li a {
		font-size: 0.8em;
		padding: 0.5em 3em;
	}

	/*  お問い合わせエリア
----------------------------- */
	.box_contact {
		padding: 60vw 0 0 2vw;
		background-position: center;
	}

	.inner_contact {
		padding: 1rem 1rem 5rem 1rem;
	}

	.inner_contact:after {
		font-size: 20vw;
	}

	.inner_contact h2 {
		font-size: 1.5rem;
		position: static;
		writing-mode: horizontal-tb;
		text-align: center;
		padding: 0 0 2rem 0;
	}


	/*  フッター
----------------------------- */
	.pagetop {
		bottom: 3.5em;
	}


	/*  メインビジュアル
----------------------------- */
	#mainimage img.mainimg {
		height: 105vh;
	}


	/* トップページ
----------------------------- */
	/*ごあいさつ*/
	#content .box_message h3 {
		font-size: 1.5em;
		line-height: 1.8em;
	}

	.box_message .box_text {
		text-align: center;
	}

	.box_message .box_text .btn a {
		margin: 0 auto;
	}

	#content .box_message .box_photo:after {
		display: none;
	}

	/*事業紹介*/
	.box_text {
		margin: 4rem 0 2rem 0;
		padding: 0;
	}

	/* お知らせ */
	.ul_newslist .date {
		display: block;
	}

	/*リンクバナー*/
	.box_banner {
		padding: 6rem 0 4rem 0;
	}

	#content .box_banner ul {
		padding: 0 1rem;
	}

	#content .box_banner ul li {
		margin: 0 auto;
	}

	#content .box_banner li.bnr_sunloft {
		padding-bottom: 1.5rem;
	}


	/* サブページ
----------------------------- */
	/*ページタイトルと背景*/
	.pagetitle h1 {
		font-size: 0.9em;
		padding-top: 3rem;
	}

	.pagetitle h1 span {
		font-size: 1.8em;
		line-height: 1.2em;
	}

	.entry-content {
		margin-top: 1.5rem;
	}

	/* sidebox
----------------------------- */
	/*投稿ページ*/
	.archivemain #sidebox {
		font-size: 0.9rem;
		line-height: 1.5em;
	}



	/* お知らせ
----------------------------- */
	/*詳細*/
	.entry-meta {
		padding-top: 1em;
	}


	/* 会社概要
----------------------------- */
	#content h3.copy_company {
		font-size: 1.4em;
		line-height: 1.6em;
		margin: 2rem 0;
	}



	/* 事業案内
----------------------------- */
	#content.page_business h2 {
		margin: 4rem 0 2rem 0;
	}

	#content.page_business h3.copy {
		margin: 2.5rem 0 1.5rem 0;
		font-size: 2em;
		line-height: 1.3em;
		text-align: center;
	}

	.page_business .text_photo {
		padding-bottom: 2rem;
	}

	.page_business .box_text {
		padding: 0;
	}

	#content ul.sub_photo {
		padding: 1rem 0;
	}


	/* 採用情報
----------------------------- */
	#content .box_over .tit h3 {
		font-size: 2.5rem;
		line-height: 1.4em;
		margin: 0;
		padding: 4rem 1.5rem 0 1.5rem;
	}

	.box_over .joining {
		padding: 1.5rem;
	}

	#content .box_voice h4 {
		font-size: 1.4em;
		line-height: 1.3em;
		margin: 2em 0 0.5em 0;
	}

	.staff_sub {
		padding: 2rem 0 4rem 0;
	}

	/* お問い合わせ
----------------------------- */
	/*フォーム*/
	#content table.tbl_form.sp_block th {
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 0;
	}

	#content table.tbl_form.sp_block td {
		padding-left: 0;
		padding-right: 0;
	}

	#content .wpcf7 table input[type='text'],
	#content .wpcf7 table input[type='email'],
	#content .wpcf7 table textarea,
	#content input.wpcf7-submit[type="submit"] {
		width: 100%;
	}

	#content input.wpcf7-submit[type="submit"] {
		max-width: 400px;
	}

	#content .wpcf7 table input[type='text'].short {
		width: 8em;
	}

	#content .wpcf7 table input[type='text'].half {
		width: 44%;
	}



}

/* ============================
  スマホ（小）
/* ============================ */
@media(max-width: 500px) {

	/* ページネーション　タイプ：[<前へ] [次へ>] */
	#nav-below .back a,
	#nav-below .nav-previous a,
	#nav-below .nav-next a {
		font-size: 0.85rem;
		width: 7em;
	}

	/*  ナビゲーション
----------------------------- */
	nav #site-title {
		margin-right: 0.5em;
	}

	header.smaller nav #title .title-copy {
		font-size: 0.6rem;
	}


	/*  お問い合わせエリア
----------------------------- */
	.inner_contact h2 {
		font-size: 1em;
	}

	.contact_detail .box_tel {
		width: auto;
		display: block;
	}

	.contact_detail .box_web {
		display: block;
		width: auto;
	}

	.contact_detail .t {
		font-size: 0.9em;
	}

	.contact_detail .box_tel .num {
		font-size: 1.8em;
		white-space: nowrap;
	}

	.contact_detail .box_web .contact a {
		font-size: 0.8em;
	}

	/*  フッター
----------------------------- */
	footer {
		padding: 4rem 0 2rem 0;
	}

	.pravacymark .mark img {
		width: 200px;
	}

	.pravacymark .txt {
		font-size: 0.8em;
	}

	/*  メインビジュアル
----------------------------- */
	#mainimage span.maincopy {
		font-size: 5vw;
		right: 0;
		left: 0;
		top: 40%;
		bottom: auto;
		letter-spacing: 0.25em;
	}

	#mainimage .main_lead {
		font-size: 3.5vw;
		top: 52%;
		letter-spacing: 0.05em;
		line-height: 1.6em;
		max-width: 85%;
	}

	/* トップページ
----------------------------- */
	/* 採用バナー */
	.bnr_recruit>a {
		height: 0;
		padding-top: 77%;
		background: url("../img/bnr_recruit_sp.jpg") 0 0 no-repeat;
		background-size: 100% auto;
	}

	.bnr_recruit>a>img {
		display: none;
	}


	/*ごあいさつ*/
	.box_message .box_text {
		text-align: left;
	}

	.box_message .box_text p br {
		display: none;
	}

	.box_message .btn {
		padding: 0 0 4rem 0;
	}

	/*事業内容*/
	.box_business-list .bnr_celf .btn.btn_small a {
		margin: -10px auto 0;
		max-width: 190px;
		line-height: 40px;
	}

	.box_business-list .bnr_celf .btn.btn_small a::after {
		right: 25px;
		top: -3px;
	}


	/* サブページ
----------------------------- */
	/*ページタイトルと背景*/
	.pagetitle {
		padding-top: 7rem;
	}

	.pagetitle#ct_company {
		background-size: 150% auto;
		background-position: right top;
	}

	.pagetitle#ct_business,
	.pagetitle#ct_recruit {
		background-size: 120% auto;
	}

	/* 採用情報
----------------------------- */
	#content .box_over .tit h3 br {
		display: none;
	}


}

/* ========================================
   トップページ 新デザイン
======================================== */

/* 背景物理演算キャンバス */
#physics-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 80vh;
	z-index: 5;
	pointer-events: auto;
	touch-action: pan-y;
}

/* スマホ・タブレットではキャンバスへのタッチ判定を無効化してスクロールを最優先 */
@media screen and (max-width: 1024px) {
	#physics-canvas {
		pointer-events: none !important;
	}
}

/* メインビジュアルのコンテンツを前面に */
#mainimage span.maincopy {
	position: absolute;
	z-index: 10;
	pointer-events: none;
}

/* スクロールダウン */
.scroll_down {
	position: relative;
	width: 100%;
	padding: 40px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	pointer-events: none;
	animation: scrollFade 2s ease-in-out infinite;
}

.scroll_down span {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	color: #333333;
}

.scroll_line {
	width: 1px;
	height: 60px;
	background: linear-gradient(to bottom, #333333 0%, rgba(51, 51, 51, 0) 100%);
	position: relative;
	overflow: hidden;
}

.scroll_line::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	background: #FF6B6B;
	animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
	0% {
		transform: translateY(-30px);
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		transform: translateY(60px);
		opacity: 0;
	}
}

@keyframes scrollFade {

	0%,
	100% {
		opacity: 0.6;
	}

	50% {
		opacity: 1;
	}
}

/* NEWSアーカイブ */
.archive_news_list {
	margin: 3rem 0;
}

.archive_news_list .ul_newslist {
	max-width: 900px;
	margin: 0 auto;
}

.archive_news_list .ul_newslist li {
	padding: 1.5rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.archive_news_list .ul_newslist li:first-child {
	border-top: 1px solid #e0e0e0;
}

/* サービスセクション */
.box_business {
	padding: 6rem 0;
}

#content .box_business h2 {
	text-align: center;
	margin-bottom: 1rem;
}



.box_business .btn,
.box_achievement .btn {
	margin-top: 3rem;
	text-align: center;
}

.grid_business {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 2rem 0;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

.business_item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
}

.business_item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.business_thumb {
	width: 100%;
	overflow: hidden;
}

.business_thumb a {
	display: block;
}

.business_thumb img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.business_item:hover .business_thumb img {
	transform: scale(1.05);
}

.business_title {
	padding: 1rem 1.5rem 0.5rem;
	font-size: 1.2rem;
	line-height: 1.5;
	text-align: center;
}

.business_title a {
	color: #333;
	text-decoration: none;
	display: block;
}

.business_title a:hover {
	color: #8FB32B;
}

.business_summary {
	padding: 0 1.5rem 1rem;
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
	text-align: center;
}

.card_btn {
	display: inline-block;
	margin: 0 1.5rem 1.5rem;
	padding: 0.6rem 1.5rem;
	background: #fff;
	border: 2px solid #333;
	color: #333;
	text-decoration: none;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 600;
	transition: all 0.3s ease;
	text-align: center;
}

.card_btn:hover {
	background: #333;
	color: #fff;
	transform: translateY(-2px);
}

/* 実績セクション */
.box_achievement {
	padding: 4rem 0;
	background: #F7F7F7;
}

.grid_achievement {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 2rem 0;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

.achievement_item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
}

.achievement_item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.achievement_thumb {
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.achievement_thumb a {
	display: block;
	height: 100%;
}

.achievement_thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.achievement_item:hover .achievement_thumb img {
	transform: scale(1.05);
}

.achievement_title {
	padding: 1rem 1.5rem 0.5rem;
	font-size: 1.2rem;
	line-height: 1.5;
}

.achievement_title a {
	color: #333;
	text-decoration: none;
}

.achievement_title a:hover {
	color: #8FB32B;
}

.achievement_client {
	padding: 0 1.5rem 1rem;
	font-size: 0.9rem;
	color: #666;
	text-align: center;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {

	.grid_business,
	.grid_achievement {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

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

	.grid_business,
	.grid_achievement {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.box_business,
	.box_achievement {
		padding: 2rem 0;
	}
}

/* ========================================
   アーカイブページ - サービス・実績
======================================== */

/* サービスアーカイブ */
.archive_business_grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem 2rem;
	margin: 3rem 0;
}

.business_archive_item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business_archive_item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.business_archive_thumb {
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.business_archive_thumb a {
	display: block;
	height: 100%;
}

.business_archive_thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.business_archive_item:hover .business_archive_thumb img {
	transform: scale(1.05);
}

.business_archive_content {
	padding: 2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.business_archive_title {
	font-size: 1.4rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.business_archive_title a {
	color: #333;
	text-decoration: none;
}

.business_archive_title a:hover {
	color: #8FB32B;
}

.business_archive_summary {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #666;
	margin-bottom: 1.5rem;
	flex: 1;
}

.business_archive_link {
	text-align: right;
}

.btn_detail {
	display: inline-block;
	padding: 0.5rem 2rem;
	background: #8FB32B;
	color: #fff !important;
	text-decoration: none;
	border-radius: 4px;
	transition: background 0.3s ease;
	font-size: 0.9rem;
}

.btn_detail:hover {
	background: #708B1F;
}

/* 実績アーカイブ */
.archive_filter {
	margin: 2rem 0;
	text-align: center;
}

.year_filter {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 2rem 0;
}

.year_filter li a,
.year_filter .year_btn {
	display: block;
	padding: 0.5rem 1.5rem;
	background: #fff;
	color: #333;
	text-decoration: none;
	border: 1px solid #ddd;
	border-radius: 20px;
	transition: all 0.3s ease;
}

.year_filter li a:hover,
.year_filter li a.active,
.year_filter .year_btn:hover,
.year_filter .year_btn.active {
	background: #8FB32B;
	color: #fff;
	border-color: #8FB32B;
}

.archive_achievement_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 3rem 0;
}

.achievement_archive_item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement_archive_item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.achievement_archive_thumb {
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f0f0f0;
}

.achievement_archive_thumb.no_image {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e0e0e0;
}

.achievement_archive_thumb.no_image span {
	color: #999;
	font-size: 1rem;
}

.achievement_archive_thumb a {
	display: block;
	height: 100%;
}

.achievement_archive_thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.achievement_archive_item:hover .achievement_archive_thumb img {
	transform: scale(1.05);
}

.achievement_archive_content {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.achievement_archive_title {
	font-size: 1.2rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.achievement_archive_title a {
	color: #333;
	text-decoration: none;
}

.achievement_archive_title a:hover {
	color: #8FB32B;
}

.achievement_archive_meta {
	font-size: 0.85rem;
	line-height: 1.8;
	color: #666;
	margin-bottom: 1.5rem;
	flex: 1;
}

.achievement_archive_meta .label {
	font-weight: bold;
	color: #333;
}

.achievement_archive_meta p {
	margin: 0.3rem 0;
}

.no_posts {
	text-align: center;
	padding: 3rem 0;
	color: #999;
	font-size: 1.1rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
	.archive_business_grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.archive_achievement_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 640px) {
	.archive_achievement_grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.business_archive_content,
	.achievement_archive_content {
		padding: 1.5rem;
	}

	.year_filter {
		gap: 0.5rem;
	}

	.year_filter li a {
		padding: 0.4rem 1rem;
		font-size: 0.9rem;
	}
}

/* ========================================
   詳細ページ - サービス・実績
======================================== */

/* 共通ナビゲーション */
.post_navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 4rem 0 2rem;
	padding: 2rem 0;
	border-top: 1px solid #CCCCCC;
}

.post_navigation .nav-previous,
.post_navigation .nav-next {
	flex: 1;
}

.post_navigation .nav-previous {
	text-align: left;
}

.post_navigation .nav-next {
	text-align: right;
}

.post_navigation .back {
	flex: 0 0 auto;
	margin: 0 2rem;
}

.post_navigation a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.post_navigation a:hover {
	color: #8FB32B;
}

.post_navigation .back a {
	display: inline-block;
	background: #333;
	color: #fff !important;
	border-radius: 25px;
	transition: background 0.3s ease;
}

.post_navigation .back a:hover {
	background: #555;
}

/* サービス詳細 */
.single_business_content {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

/* シングルページタイトル統一 */
.single_title {
	font-size: 2rem;
	line-height: 1.5;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #CCCCCC;
	color: #333;
	text-align: center;
}

.service_single_thumbnail {
	margin-bottom: 2rem;
}

.service_single_thumbnail img {
	width: 100%;
	height: auto;
}

.service_single_summary {
	padding: 2rem 0;
	margin-bottom: 2rem;
	border-bottom: 1px solid #CCCCCC;
}

.service_single_summary p {
	line-height: 1.8;
	color: #666;
}

.service_single_body {
	line-height: 1.9;
	color: #333;
}

.service_single_body h3,
.service_single_body h4 {
	margin: 2rem 0 1rem;
	color: #333;
}

.service_single_body p {
	margin-bottom: 1.5rem;
}

.service_single_body ul,
.service_single_body ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.service_single_body img {
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
}

/* 実績詳細 */
.single_achievement_content {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

.achievement_single_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 2rem;
	padding: 2rem 0;
	border-bottom: 1px solid #CCCCCC;
}

.achievement_single_meta .meta_item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.achievement_single_meta .meta_label {
	font-size: 0.85rem;
	color: #999;
	font-weight: bold;
}

.achievement_single_meta .meta_value {
	font-size: 1.1rem;
	color: #333;
}

.achievement_single_thumbnail {
	margin-bottom: 2rem;
}

.achievement_single_thumbnail img {
	width: 100%;
	height: auto;
}

.achievement_single_body {
	line-height: 1.9;
	color: #333;
	margin-bottom: 3rem;
}

.achievement_single_body h3,
.achievement_single_body h4 {
	margin: 2rem 0 1rem;
	color: #333;
}

.achievement_single_body p {
	margin-bottom: 1.5rem;
}

.achievement_single_body ul,
.achievement_single_body ol {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.achievement_single_body img {
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
}

/* ギャラリー（Swiper） */
.achievement_gallery {
	margin-top: 3rem;
}

.achievement_gallery h3 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	color: #333;
}

.achievement_swiper {
	border-radius: 8px;
	overflow: hidden;
}

.achievement_swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
}

.achievement_swiper .swiper-slide img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.achievement_swiper .swiper-button-prev,
.achievement_swiper .swiper-button-next {
	color: #8FB32B;
}

.achievement_swiper .swiper-pagination-bullet-active {
	background: #8FB32B;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {

	.single_business_content,
	.single_achievement_content {
		max-width: 100%;
	}

	.service_single,
	.achievement_single {
		padding: 2rem;
	}

	.post_navigation {
		flex-wrap: wrap;
		gap: 1rem;
	}

	.post_navigation .nav-previous,
	.post_navigation .nav-next {
		flex: 1 1 45%;
	}

	.post_navigation .back {
		flex: 1 1 100%;
		order: -1;
		margin: 0 0 1rem 0;
		text-align: center;
	}
}

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

	.service_single,
	.achievement_single {
		padding: 1.5rem;
	}

	.single_title {
		font-size: 1.5rem;
	}

	.service_single_summary,
	.achievement_single_meta {
		padding: 1.5rem;
	}

	.achievement_single_meta {
		flex-direction: column;
		gap: 1rem;
	}

	.post_navigation .nav-previous,
	.post_navigation .nav-next {
		flex: 1 1 100%;
		text-align: center;
	}
}