@charset "utf-8";

/* body
---------------------------------------------------*/
:root {
	/* size */
	--site-max-width: 1280px;
	--space-LR: 5.5%;
	--space-LR-sp: 24px;
	--space-contents-LR: 15.25%;/*ウィンドウ幅が1440pxの時に220pxくらい*/
	--h2-top: 100px;
	--h2-bottom: 120px;
	/* font-size */
	--fs-14px: 0.875rem;
	--fs-18px: 1.125rem;
	--fs-24px: 1.5rem;
	/* color */
	--color-corporate: #98fd98;
	--color-gold: #b58b4d;
	--color-gray: #e6e6e6;
	--color-green: #619b61;
	--color-bk: #1a1a1a;
	--color-wh: #fff;
}
@media screen and (max-width: 990px) {
	:root {
		--space-LR: 3%;
		--space-contents-LR: 7%;
	}
}
@media screen and (max-width: 750px) {
	:root {
		--space-contents-LR: 3.5%;
	}
}

html {
	overflow-y: scroll;
}
body {
	line-height: 1.5;
	color: var(--color-bk);
}
a {
	text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
}
img {
	max-width: 100%;
	height: auto;
}
.wrapper {
	width: 100%;
	max-width: var(--site-max-width);
	margin: 0 auto;
}
header,
.contents,
footer{
	padding: 0 var(--space-LR);
}
.sp {
	display: none;
}
.gray {
	background-color: var(--color-gray);
}

/* header
---------------------------------------------------*/
header {
	background-color: rgba(255, 255, 255, 0.9);
	position: sticky;
	z-index: 100;
	top: 0;
	left: 0;
}
header h1 {
	padding: 16px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}
header h1,
header a {
	color: var(--color-gold);
}
header h1 {
	margin-right: min(3%, 40px);
}
header .wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.button_pf {
	position: fixed; 
    top: 8px; 
    right: 16px;    
    padding: 10px;   
    cursor: pointer;
    z-index: 20; 
    transition: background-color 0.3s;
}
/* nav
---------------------------------------------------*/
nav input {
	display: none;
}
nav ul {
	display: flex;
	justify-content: right;
	gap: 20px;
}
nav li {
	text-align: center;
	vertical-align: middle;
	margin-bottom: 16px;
}
nav ul li a {
	display: block;
	position: relative;
	padding: 7px 5px;
	color: var(--color-bk);
	transition: all 0.2s ease;
}
nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: var(--color-green);
	transition: all 0.4s ease;
	transform: translateX(-50%);
}
nav ul li a:hover {
	color: var(--color-green);
}
nav a:hover::after {
	width: 100%;
}
#home nav .menu1 a,
#menuPage nav .menu2 a,
#product nav .menu3 a,
#access nav .menu4 a,
#reservation nav .menu5 a {
	text-shadow: var(--color-gold) 0 0 2px;
}
#home nav .menu1 a:hover,
#menuPage nav .menu2 a:hover,
#product nav .menu3 a:hover,
#access nav .menu4 a:hover,
#reservation nav .menu5 a:hover {
	text-shadow: var(--color-green) 0 0 2px;
}

/* main
---------------------------------------------------*/
#menuPage h2,
#product h2,
#access h2,
#reservation h2 {
	text-align: center;
	padding-top: var(--h2-top);
	margin-bottom: var(--h2-bottom);
	font-size: var(--fs-24px);
}
.gridArea {
	display: grid;
}

/* footer
---------------------------------------------------*/
footer {
	background-color: var(--color-green);
	text-align: center;
	padding-top: 32px;
	padding-bottom: 35px;
}
footer p,
footer a {
	color: var(--color-wh);
	line-height: 2em;
}
footer a:hover {
	color: var(--color-corporate);
}
footer p {
	font-size: var(--fs-14px);
}
footer ul {
	margin-bottom: 1em;
	display: flex;
	justify-content: center;
	gap: 1rem;
}
#home footer .menu1 a,
#menuPage footer .menu2 a,
#product footer .menu3 a,
#access footer .menu4 a,
#reservation footer .menu5 a {
	text-decoration: underline;
}

/* button
---------------------------------------------------*/
.button {
	display: inline-block;
	position: relative;
	z-index: 1;
}
.buttonText {
	color: var(--color-green);
	background-color: transparent;
	line-height: calc(79/16);
	padding: 0 150px;
	border: 2px var(--color-green) solid;
	border-radius: 0;
	cursor: pointer;
}
.button:before {
	content: "";
	position: absolute;
	background-color: var(--color-green);
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	transition: all 0.5s ease;
	z-index: -1;
}
.button:hover,
.button:hover .buttonText {
	color: var(--color-wh);
	text-shadow: var(--color-corporate) 0 0 3px;
}
.button:hover:before {
	width: 100%;
}