@charset "UTF-8";

:root {
	--green: #4F7A63;
	--black: #2E3230;
}

/* ---------------------------------------------------------
	CSS Document Common
--------------------------------------------------------- */

html, body {
	margin: 0;
	padding: 0;
	background: #fff url(../images/bg_sp.webp) no-repeat bottom fixed;
	background-size: 100% 100%;
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-align: center;
	font-family: "Shippori Mincho", serif;
	font-weight: 500;
	font-size: 16px;
	-webkit-font-feature-settings: "palt";
	font-feature-settings: "palt";
	letter-spacing: 0.08em;
	line-height: 1.9;
	word-break: normal;
	word-wrap: break-word;
	color: var(--black);
}

* {
	outline: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border-collapse: collapse;
	font-style: normal;
	list-style: none;
}

img {
	vertical-align: top;
	max-width: 100%;
	height: auto;
	border: 0;
}

a {
	color: var(--green);
}

.tel {
	text-decoration: none;
	color: var(--black);
}

/* ---------------------------------------------------------
	CSS Document layout
--------------------------------------------------------- */

#wrapper {
	padding-top: 80px;
}

.pc {
	display: none;
}

.clearfix:after {
	content: '';
	display: block;
	clear: both;
	height: 1px;
	overflow: hidden;
}

.target {
	scroll-margin-top: 60px;
}

.fuwari {
	transition: 1.2s ease-in-out;
	transform: translateY(10px);
	opacity: 0;
}

.on .fuwari {
	transform: translateY(0);
	animation: lazyload 1.0s forwards ease-in-out;
}

@keyframes lazyload {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* ---------------------------------------------------------
	CSS Document header
--------------------------------------------------------- */

#header {
	width: 100%;
	background: #fff url(../images/bg_sp.webp) no-repeat bottom fixed;
	background-size: 100% 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	transition: background .4s;
}

#header:before {
	content: '';
	width: 100%;
	height: 100svh;
	background: #6B7E73;
	transform: translateX(100%);
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition: 
		opacity 0.5s ease, 
		transform 0s ease 0.5s, 
		visibility 0s ease 0.5s;
}

#header.active:before {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
	transition: 
		transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
		opacity 0.5s ease;
}

#header .h_logo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
	padding: 0 4vw;
	position: relative;
	z-index: 12;
}

#header .h1 {
	font-weight: 500;
	font-size: 18px;
	line-height: 1;
}

#header .h1 a {
	display: flex;
	align-items: center;
	gap: 1.5vw;
	text-decoration: none;
	color: var(--black);
	transition: color 0.6s ease;
}

#header.active .h1 a {
	color: #fff;
	transition: color 0.4s ease;
	transition-delay: 0.2s;
}

#header .h1 img {
	width: 40px;
	height: 40px;
}

/* ---------------------------------------------------------
	CSS Document navi
--------------------------------------------------------- */

#navi {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100svh;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 40px 10vw;
	transform: translateY(20px);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
	opacity: 0;
	visibility: hidden;
	transition: 
		opacity 0.4s ease 0s, 
		transform 0s ease 0.4s, 
		visibility 0s ease 0.4s;
}

#header.active #navi {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: 
		opacity 0.7s ease, 
		visibility 0.5s ease, 
		transform 0.5s ease;
	transition-delay: 0.25s;
}

#navi .h_navi {
	width: 80vw;
	text-align: left;
}

#navi .h_navi li a {
	display: block;
	padding-top: 6vw;
	text-decoration: none;
	color: #fff;
}

#navi .h_navi li.this a {
	font-weight: 600;
	color: #D6E4C6;
}

#navi .h_contact:before {
	display: block;
	content: '';
	width: 50px;
	height: 1px;
	margin: 16vw auto;
	background: #fff;
}

#navi .h_contact a {
	display: inline-block;
	vertical-align: top;
	width: 74vw;
	border-radius: 16vw;
	background: #6FAF8A;
	text-decoration: none;
	font-weight: 600;
	font-size: 4.2vw;
	line-height: 16vw;
	color: #fff;
}

#navi .h_contact a:before {
	display: inline-block;
	vertical-align: top;
	content: '';
	width: 6vw;
	height: 16vw;
	background: url(../images/h_contact.svg) no-repeat left / 4vw auto;
}

/* ---------------------------------------------------------
	CSS Document switch
--------------------------------------------------------- */

#switch {
	width: 50px;
	height: 50px;
	border-radius: 100%;
	background: #6FAF8A;
	position: relative;
	z-index: 12;
}

#switch span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	position: absolute;
	left: 15px;
	transition: all 0.3s;
}

#switch span:nth-child(1) {
	top: 17px;
}

#switch span:nth-child(2) {
	top: 24px;
}

#switch span:nth-child(3) {
	bottom: 17px;
}

.active #switch span:nth-of-type(1) {
	transform: translateY(7px) rotate(-45deg);
}

.active #switch span:nth-of-type(2) {
	opacity: 0;
}

.active #switch span:nth-of-type(3) {
	transform: translateY(-7px) rotate(45deg);
}

/* ---------------------------------------------------------
	CSS Document btn
--------------------------------------------------------- */

.btn a {
	display: inline-block;
	vertical-align: top;
	min-width: 180px;
	height: 46px;
	padding: 0 2em;
	border-radius: 46px;
	background: #6FAF8A;
	text-decoration: none;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	line-height: 46px;
	color: #fff;
}

/* ---------------------------------------------------------
	CSS Document title
--------------------------------------------------------- */

#title {
	overflow: hidden;
}

#title .title_h2,
#title h2 {
	margin: 5vw 5vw 10vw;
	text-align: left;
	font-weight: 600;
	font-size: 3.5vw;
	line-height: 1;
	color: #6B7E73;
}

#title .title_h2 .ja,
#title h2 .ja {
	display: block;
	margin-bottom: 4vw;
	font-size: 6vw;
	color: var(--green);
}

#title .title_h2 .en:before,
#title h2 .en:before {
	display: inline-block;
	vertical-align: 0.25em;
	content: '';
	width: 20px;
	height: 1px;
	margin-right: 1em;
	background: #6B7E73;
}

#title .bg {
	height: 38vw;
	overflow: hidden;
}

#title .bg img {
	width: auto;
	aspect-ratio: 734 / 280;
	object-fit: cover;
}

#title-line {
	margin-bottom: 20vw;
	position: relative;
	z-index: 0;
}

#title-line:after {
	content: '';
	width: 1px;
	height: 0;
	background: linear-gradient(to bottom, #fff 50%, rgba(79, 122, 99, 0.5) 50%);
	position: absolute;
	top: -20px;
	left: 50vw;
	z-index: 0;
	transition: height 0.8s ease;
}

#title-line.on:after {
	height: 40px;
}

/* ---------------------------------------------------------
	CSS Document bread
--------------------------------------------------------- */

#bread {
	margin-bottom: 5vw;
	padding: 3vw 5vw;
}

#bread ol {
	overflow: hidden;
	text-align: left;
	text-overflow: ellipsis;
	font-size: 2.8vw;
	letter-spacing: 0.05em;
	white-space: nowrap;
	line-height: 1;
}

#bread li {
	display: inline;
	margin-right: 1.8em;
	position: relative;
}

#bread li:not(:last-of-type):after {
	content: '';
	width: 0;
	height: 0;
	margin-top: -3px;
	border: solid 4px transparent;
	border-left: solid 6px #231815;
	position: absolute;
	top: 50%;
	right: -20px;
}

#bread a {
	text-decoration: none;
	color: #231815;
}

/* ---------------------------------------------------------
	CSS Document footer
--------------------------------------------------------- */

#footer-line {
	margin-top: calc(20vw + 30px);
	position: relative;
	z-index: 1;
}

#footer-line:after {
	content: '';
	width: 1px;
	height: 0;
	background: linear-gradient(to bottom, rgba(79, 122, 99, 0.5) 50%, #fff 50%);
	position: absolute;
	top: -30px;
	left: 50vw;
	transition: height 0.8s ease 0.4s;
}

#footer-line.on:after {
	height: 60px;
}

#footer {
	overflow: hidden;
	padding: 15vw 0 10vw;
	background: #000;
	color: #fff;
	position: relative;
	z-index: 0;
}

#footer .bg {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: -1;
}

#footer .bg img {
	width: 100%;
	height: 100%;
	aspect-ratio: 624 / 624;
	object-fit: cover;
}

#footer .start {
	margin-bottom: 10vw;
}

#footer .f_name {
	margin-bottom: 20px;
	font-weight: 500;
	font-size: 4vw;
	line-height: 1.6;
}

#footer .f_address {
	font-size: 3.5vw;
	line-height: 1.8;
}

#footer .f_site {
	display: none;
}

#footer .f_contact a {
	display: inline-block;
	vertical-align: top;
	padding: 0 2em;
	border-radius: 12vw;
	background: #6FAF8A;
	text-decoration: none;
	font-weight: 600;
	font-size: 4vw;
	letter-spacing: -0.01em;
	line-height: 12vw;
	color: #fff;
}

#footer .f_contact a:before {
	display: inline-block;
	vertical-align: top;
	content: '';
	width: 23px;
	height: 12vw;
	background: url(../images/h_contact.svg) no-repeat left / 15px 12px;
}

#footer address {
	margin-top: 10vw;
	font-size: 3vw;
	letter-spacing: 0.05em;
}
