@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500;700&display=swap');

:root {
	--green: #3c8018;
	--green-light: #8abf0d;
	--orange: #eb7900;
	--grey: #808080;
	--white: #fff;
	--text: #000;
	--radius: 1em;
	--padding: 1em;
	--padding-2: 2em;
	--shadow: 0 10px 24px rgba(27, 61, 8, 0.18);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6.5em;
}

body {
	background: var(--green);
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text);
	margin: 0;
	padding: 0;
	position: relative;
}

* {
	font-size: 1em;
	box-sizing: border-box;
	background-size: contain;
}

html,
body,
p,
h1,
h2,
h3,
h4,
h5,
ul,
ol,
li,
dd,
dl,
dt,
div {
	padding: 0;
	margin: 0;
	font-weight: 500;
}

img {
	border: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	vertical-align: top;
	max-width: 100%;
}

html {
	height: 100%;
}

li {
	list-style-type: none;
}

a {
	color: inherit;
	text-decoration: none;
}

a.underline,
.underline a {
	text-decoration: underline;
}

.none {
	display: none;
}

.sp {
	display: none;
}

.pc {
	display: block;
}

/* for modern brouser */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
	visibility: hidden;
}

/* IE7,MacIE5 */
.clearfix {
	display: inline-block;
}

/* WinIE6 below, Exclude MacIE5 \*/
* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

.tcenter {
	text-align: center;
}

.tright {
	text-align: right;
}

/* 選択色 */
::selection {
	background: var(--white);
	color: var(--orange);
}

::-moz-selection {
	background: var(--white);
	color: var(--orange);
}

/* YouTube 埋め込み */
.YT {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.YT iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

/* header */
header {
	width: 100%;
	display: grid;
	grid-gap: 0;
	grid-template-columns: 1fr 4fr 1fr;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 99;
	background: rgba(60, 128, 24, 0.85);
	-webkit-backdrop-filter: blur(0.25em);
	backdrop-filter: blur(0.25em);
}

header h1,
.menu-header h1 {
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	align-items: center;
	padding: 1em 1em 0;
}

header h1 img,
.menu-header h1 img {
	max-height: 70px;
}

header img {
	max-height: 100px;
}

header .menu {
	text-align: right;
}

header .menu img {
	cursor: pointer;
}

header .menu img.auto {
	cursor: auto;
}

/* footer */
footer {
	width: 100%;
	max-width: 1000px;
	margin: 1em auto;
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	align-items: end;
	width: 100%;
	height: 35vw;
	max-height: 350px;
	text-align: center;
	padding: 1em 1em 3vw;
	background: var(--green) url(../images/common/footer.svg) center bottom no-repeat;
	background-size: 95% auto;
}

footer img {
	height: 1em;
}

.test-env-badge {
	position: fixed;
	right: 0.9em;
	bottom: 0.9em;
	z-index: 120;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.2em;
	padding: 0.35em 0.9em;
	border-radius: 999px;
	background: var(--orange);
	color: var(--white);
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.08em;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
	pointer-events: none;
}

/* スライドメニュー */
.slide-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--green-light);
	z-index: 1000;
	transform: translateY(-100%);
	transition: transform 0.3s ease-in-out;
	overflow-y: auto;
}

.slide-menu.open {
	transform: translateY(0);
}

.menu-header {
	width: 100%;
	display: grid;
	grid-gap: 0;
	grid-template-columns: 1fr 4fr 1fr;
}

.menu-close {
	text-align: right;
	cursor: pointer;
}

.menu-close img {
	max-height: 100px;
}

.menu-list {
	padding: 1em;
	display: grid;
	grid-gap: 0.5em;
	grid-template-columns: 1fr 1fr 1fr;
	max-width: 736px;
	margin: 1em auto;
}

.menu-list li a {
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	align-items: center;
	background: var(--white);
	color: var(--green);
	padding: 0.5em;
	text-align: center;
	border-radius: var(--radius);
	font-size: 1.5em;
	font-weight: 700;
	height: 6em;
}

.menu-list li a.is-disabled {
	background: #d9ddd5;
	color: #7d8577;
	pointer-events: none;
	cursor: default;
	filter: grayscale(1);
}

/* 新規汎用ページレイアウト */
#content {
	width: 100%;
	max-width: 736px;
	margin: 7.5em auto 2em;
	padding: 0 var(--padding);
}

.page-box {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	padding-bottom: 1em;
}

.page-head {
	background: #2b4d18;
	color: var(--white);
	text-align: center;
	padding: 1em;
	border-radius: 0 0 50% 50% / 0 0 2.5em 2.5em;
	margin-bottom: 1em;
	margin-top: -0.25em;
}

.page-head h2 {
	font-size: 1.5em;
	font-weight: 700;
}

.page-body {
	padding: 0 1.5em;
}

.btn-back {
	display: inline-block;
	background: var(--green);
	color: var(--white);
	padding: 0.75em 2em;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 0.8em;
}

.detail-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	margin-top: 2em;
}

.detail-nav-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3em;
	height: 3em;
	padding: 0;
	border-radius: 999px;
	font-size: 0.8em;
}

.detail-nav-arrow i {
	font-size: 1em;
}

.detail-nav-arrow.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* ページネーション */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f0f0f0;
	border-radius: 5em;
	padding: 0.5em;
	width: max-content;
	margin: 1.5em auto 0.5em;
}

.pagination li a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	color: var(--green);
	font-weight: 700;
	font-size: 0.85em;
	margin: 0 0.25em;
}

.pagination li a:hover,
.pagination li.active a {
	background: var(--green);
	color: var(--white);
}

/* コントロールバー */
.ctrl-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1em;
	flex-wrap: wrap;
	gap: 1em;
}

.selectbox {
	position: relative;
}

.selectbox::before,
.selectbox::after {
	position: absolute;
	content: '';
	pointer-events: none;
}

.selectbox::before {
	right: 0;
	display: inline-block;
	width: 2em;
	height: 2em;
	border-radius: 0 0.5em 0.5em 0;
	background-color: var(--green);
	content: '';
}

.selectbox::after {
	position: absolute;
	top: 40%;
	right: 1em;
	transform: translate(50%, -50%) rotate(45deg);
	width: 0.5em;
	height: 0.5em;
	border-bottom: 0.25em solid #fff;
	border-right: 0.25em solid #fff;
	content: '';
}

.selectbox select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	height: 2em;
	padding: .25em 3em .25em .5em;
	border: 0.1em solid var(--green);
	border-radius: 0.5em;
	color: #333333;
	font-size: 1em;
	cursor: pointer;
	background-color: var(--white);
}

.btn-read-all {
	background: var(--green);
	color: var(--white);
	border: none;
	padding: 0.5em 1.5em;
	border-radius: 0.5em;
	font-weight: 700;
	cursor: pointer;
}

.btn-join {
	display: block;
	background: var(--green);
	color: var(--white);
	padding: 0.35em 1.5em;
	border-radius: 1.5em;
	font-size: 1em;
	font-weight: bold;
	margin: 0.75em auto 0;
	text-align: center;
}

/* 電話発信ボタン */
.btn-call {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	background: var(--green);
	color: var(--white);
	padding: 1em 1.5em;
	border-radius: 5em;
	font-size: 1.2em;
	font-weight: 700;
	margin: 1em auto;
}

.imgBox {
	margin: 0 auto 1em;
}

/* SNSアイコン */
.sns-icons {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}
.sns-icons li a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 2em;
	height: 2em;
	font-size: 1.5em;
	border-radius: 50%;
	background: #f5f5f5;
}
.sns-icons li a .fa-facebook {
	color: #1877F2;
}
.sns-icons li a .fa-instagram {
	background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}
.sns-icons li a.bg-x {
	background: #e0e0e0;
}
.sns-icons li a.bg-x .fa-x-twitter {
	color: #000000;
}
.sns-icons li a .fa-tiktok {
	color: #000000;
}
.sns-icons li a .fa-globe {
	color: var(--green);
}

@media all and (max-width: 736px) {
	html {
		scroll-padding-top: 4.5em;
	}

	img {
		max-width: 100%;
	}

	.sp {
		display: block;
	}

	.pc {
		display: none;
	}

	body {
		font-size: 4.75vw;
	}

	/* header */
	header {
		grid-template-columns: 4fr 1fr;
	}

	header h1 img,
	.menu-header h1 img {
		max-height: 3.5em;
	}

	header img {
		max-height: 5em;
	}

	.menu-list {
		padding: 1em;
		grid-template-columns: 1fr;
		margin: 0 auto;
	}

	.menu-list li a {
		height: 3em;
		font-size: 1em;
	}

	.menu-header {
		grid-template-columns: 4fr 1fr;
	}

	.menu-close img {
		max-height: 5em;
	}

	/* grid & page layout */
	#grid {
		margin: 4.5em auto 0;
	}
	#content {
		margin: 5em auto 1em;
	}

	.ctrl-bar {
		font-size: 0.75em;
	}

	.pagination {
		padding: 0.25em 0.4em;
		max-width: 100%;
		flex-wrap: nowrap;
		box-sizing: border-box;
	}
	.pagination li a {
		width: 1.8em;
		height: 1.8em;
		font-size: 1em;
		margin: 0 0.1em;
	}

	.detail-nav {
		gap: 0.75em;
	}

	.detail-nav .btn-back {
		padding-left: 1.25em;
		padding-right: 1.25em;
	}

	.detail-nav-arrow {
		width: 2.75em;
		height: 2.75em;
	}

	.btn-call i {
		font-size: 2em;
	}
	/* footer */
	footer img {
		height: 0.5em;
	}
}

::-webkit-full-page-media,
:future,
:root main {
	height: auto;
}

body.ptr-enabled {
	overscroll-behavior-y: contain;
}

.ptr-indicator {
	position: fixed;
	left: 50%;
	top: 0;
	z-index: 120;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 10em;
	padding: 0.7em 1em;
	border-radius: 999px;
	background: rgba(255,255,255,0.96);
	color: var(--green);
	box-shadow: 0 8px 24px rgba(0,0,0,0.14);
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -3.5em);
	transition: transform .18s ease, opacity .18s ease;
	font-size: 0.95em;
	font-weight: 700;
}

body.ptr-active .ptr-indicator,
body.ptr-loading .ptr-indicator {
	opacity: 1;
}

body.ptr-ready .ptr-indicator {
	background: rgba(138,191,13,0.96);
	color: var(--white);
}
