@charset "UTF-8";

html {
	scroll-padding-top: 100px;
}

:root {
	/* breakpoint */
	--sp: 767px;
	--pc: 768px;


	/* @media (width <=  767px) {} sp版*/
	/* @media (width >=  768px) {} pc版*/


	/* 色 */
	--color-body: #687587;
	--color-primary: #43B0A1;

	--color-bg-light-blue: #E5FAFF;
	--color-bg-light-beige: #FAF1E3;

	--color-alcohol: #64A1DE;
	--color-gambling: #E8C064;

	--container-w: 960px;
	--header-h: 60px;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);

	/* text-box: trim-both cap alphabetic; */
	@media (width < 768px) {
		--header-h: 60px;
	}


	/* フォント */
	--font-notsans: "Noto Sans JP",
	sans-serif;
	--font-zen-maru-gothic: "Zen Maru Gothic",
	sans-serif;
	--font-montserrat: "Montserrat",
	sans-serif;


	/* その他 */



}

/* ==================================================== */

body {
	color: var(--color-body);
	background: #ffffff;
	font-family: var(--font-notsans);
	font-weight: 300;
	line-height: 1.5;
	word-wrap: break-word;
}

:where(a, a:link, a:visited) {
	color: var(--color-primary);
	text-decoration: none;
}

:where(a:hover) {
	color: var(--color-primary);
	text-decoration: underline;
}

:where(#content a) {
	text-decoration: underline;
	transition: 0.3s;
	/* &:hover {
			text-decoration: none;
			opacity: 0.6;
		} */
}

.container-inner {
	width: min(90vw, var(--container-w));
	container-type: inline-size;
	margin-inline: auto;
}

main a.c-link {
	color: var(--color-primary);
	text-decoration: underline;

	&:hover {
		text-decoration: none;
	}
}





/* HEADER */
header {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 20px min(6.25dvw, 80px);
	margin-inline: auto;
	position: absolute;
	top: 0;
	left: 0;

	.h-logo {
		height: fit-content;

		a {
			display: inline-block;
			transition: .3s ease-in-out;

			&:hover {
				opacity: 0.6;
			}
			
			picture {
				display: block;
			}
		}

	}

	.button {
		padding: 2px 10px;
		color: #ffffff;
		font-size: 93.33333%;
		font-weight: bold;
		background-color: #000000;

		&:hover {
			background-color: #666666;
		}
	}


	.secondary {
		flex: 1;

		.h-contact {
			display: flex;
			gap: 0 10px;
			width: fit-content;
			margin-inline: auto 0;

			a {
				display: inline-block;
				color: #ffffff;
				font-family: var(--font-zen-maru-gothic);
				font-size: 1.25rem;
				font-weight: 700;
				line-height: 1.4;
				padding: 10px 31px 11px 66px;
				border-radius: 50px;
				background: url(../images/common/icon-tel.png) no-repeat center left 30px / 24px auto;
				background-color: #F09054;
				transition: .3s ease-in-out;

				&:hover {
					filter: brightness(0.925);
				}

				&.line {
					background-color: #4CC764;
					background-image: url(../images/common/icon-line.png);
				}
			}
		}
	}

	@media (width <=1023px) {
		padding-inline: 16px;

		.h-logo a img {
			width: 320px;
		}

		.secondary .h-contact {
			a {
				font-size: 1rem;
				padding: 8px 21px 9px 55px;
				background-position: center left 20px;
			}
		}
	}

	@media (width <=767px) {
		text-align: center;
		padding-block: min(3.733333dvw, 20px);
		justify-content: center;

		.h-logo {
			a {

				img {
					width: 34.666666dvw;
					max-width: 180px;
				}
			}
		}

		.secondary {
			display: none;
		}
	}
}


/* NAV */
.nav {

	a {
		font-weight: bold;

		@media (any-hover: hover) {
			&:hover {
				color: var(--link-c);
			}
		}

		&.on {
			color: var(--link-c);
		}
	}

	.toggle,
	.toggle>div {
		display: contents;
	}

	>ul {
		width: min(90%, 960px);
		height: 100%;
		display: flex;
		margin-inline: auto;
		margin-bottom: 0;

		>li {
			width: 16.6666666%;
			height: 100%;
			position: relative;

			>a {
				display: grid;
				place-items: center;
				height: 100%;
			}
		}
	}

	li:has(.child-nav):hover .child-nav {
		pointer-events: auto;
		opacity: 1;
		transform: translateY(0);
	}

	.child-nav {
		position: absolute;
		inset: var(--h) auto auto 50%;
		translate: -50%;
		padding-block: 10px;
		opacity: 0;
		transform: translateY(-30px);
		z-index: 10;
		pointer-events: none;
		transition-property: opacity, transform;
		transition-duration: 0.5s;

		a {
			display: inline-block;
			white-space: pre;
			padding: 4px 10px;
			font-size: 1.5rem;
		}
	}

	@media (width <=767px) {
		position: fixed;
		inset: var(--header-h) 0 0;
		height: auto;
		z-index: 2000;
		opacity: 0;
		translate: 30px;
		pointer-events: none;
		transition-property: opacity, translate;
		transition-duration: 0.3s;
		background-color: rgba(0, 0, 0, 0.8);

		a {
			display: block;
			padding: 12px 12px 12px 24px;

			&.on {
				background-color: rgba(255, 255, 255, 0.2);
				color: #fff;
			}
		}

		>ul {
			padding: 30px;
			flex-direction: column;
			height: auto;
			width: 100%;

			>li {
				width: 100%;
				height: auto;
			}
		}

		li {
			display: block;
			width: 100%;
			font-weight: bold;
			line-height: 1.4;
			border-bottom: 1px solid #ffffff;
			color: #1eb5e1;

			>a {
				justify-content: start;
			}

			&:has(.child-nav) {
				>a {
					display: flex;
					justify-content: space-between;
					align-items: center;

					&:before {
						content: "";
						display: inline-block;
						width: 20px;
						height: 2px;
						background-color: var(--color-accent);
						position: absolute;
						top: 23.5px;
						right: 10px;
					}

					&:after {
						content: "";
						display: inline-block;
						height: 20px;
						width: 2px;
						background-color: var(--color-accent);
						position: absolute;
						top: 15px;
						right: 19px;
						transition: transform .3s;
						transform-origin: center;
						left: auto;
						transform: none;
						opacity: 1;
						border: none;
					}
				}

				.toggle {
					display: grid;
					grid-template-rows: 0fr;
					transition: grid-template-rows 0.5s;

					>div {
						display: block;
						overflow: hidden;
					}
				}

				&.open {
					.toggle {
						grid-template-rows: 1fr;
					}

					>a {
						&::after {
							transform: rotate(90deg);
							-webkit-transform: rotate(90deg);
						}
					}
				}
			}
		}

		.child-nav {
			position: static;
			pointer-events: auto;
			opacity: 1;
			transform: none;
			background-color: transparent;
			translate: 0;
			border-top: 1px solid #ffffff;
			padding: 0;
			margin: 0 0 10px 15px;

			li {
				border-bottom: 1px dotted #ffffff;

				&:last-child {
					border-bottom: none;
				}
			}

			a {
				display: block;
				padding: 10px 10px 8px 24px;
			}
		}
	}
}

#toggle {
	@media (width >=768px) {
		display: none;
	}
}

.sp-menu {
	@media (width >=768px) {
		display: none !important;
	}

	position: fixed;
	inset: 0 0 auto auto;
	z-index: 3500;
	display: flex;
	width: 90px;

	>* {
		flex: 1;
		height: var(--header-h);
		display: grid;
		place-content: center;
		place-items: center;
		gap: 4px;
		padding-top: 6%;
	}

	.hamburger {
		width: 20px;
		aspect-ratio: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding-block: 1.5px;
		transition: justify-content 0.3s;

		span {
			width: 100%;
			height: 3px;
			background: #000000;
			transition-property: rotate, translate, opacity;
			transition-duration: 0.3s;
			inset: auto 0 -5px;
		}
	}

	.menu.open {
		.hamburger {
			justify-content: center;

			span {
				&:first-child {
					rotate: -45deg;
					translate: 0 3px;
				}

				&:nth-child(2) {
					opacity: 0;
				}

				&:last-child {
					rotate: -135deg;
					translate: 0 -3px;
				}
			}
		}
	}

	.text {
		color: #333;
		font-size: 1.0rem;
		font-weight: bold;
	}

	.tel {
		background-color: #333;

		.icon {
			width: 15px;
		}

		.text {
			color: #ffffff;
		}
	}
}

body:has(.menu.open) {
	@media (width < 768px) {
		.nav {
			translate: 0;
			opacity: 1;
			pointer-events: auto;
		}
	}
}


/* FOOTER */
footer {
	padding-top: 89px;
	position: relative;

	&:before {
		content: "";
		width: min(100%, 880px);
		aspect-ratio: 880 / 130;
		background: url(../images/common/f-humans.png) no-repeat center / cover;
		position: absolute;
		top: 0;
		inset-inline: 0;
		margin-inline: auto;
	}

	.f-outline {
		color: #ffffff;
		background: linear-gradient(to bottom, #AED68D, #43B0A1);
	}

	.container-inner {
		padding-block: 90px 20px;
	}

	.f-sign {
		display: flex;
		justify-content: center;
		gap: 50px;
		padding-bottom: 40px;
		margin-bottom: 30px;
		background-image: linear-gradient(to right, rgb(255 255 255 / 0.5) 2px, transparent 2px);
		/* 4px（線の長2px + 間隔2px）ごとに繰り返す */
		background-size: 4px 2px;
		background-position: left bottom;
		background-repeat: repeat-x;

		.f-name {
			display: block;
			transition: .3s ease-in-out;

			&:hover{
				opacity: 0.6;
			}
		}

		.f-address {
			font-family: var(--font-zen-maru-gothic);
			font-size: 1.125rem;
			font-weight: 700;
			padding-top: 17px;

			.f-place {
				display: block;
				font-size: 1.25rem;
				margin-bottom: 5px;
			}
		}
	}

	.f-tips {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0 20px;
		margin-bottom: 40px;

		>.item {
			display: grid;
			grid-template-columns: 90px 1fr;
			gap: 0 20px;

			&:before {
				content: "";
				display: block;
				width: 90px;
				aspect-ratio: 1;
				background: url(../images/home/kakitsubata.png) no-repeat center left calc(50% - 3px) / 124px auto;
				background-color: #ffffff;
				border-radius: 50%;
			}

			img {
				display: block;
				display: none;
				border-radius: 50%;
				background-color: #ffffff;
			}

			.text-area {
				padding-top: 3.5px;

				.s-title {
					display: block;
					font-family: var(--font-zen-maru-gothic);
					font-size: 1.125rem;
					font-weight: 700;
					margin-bottom: 8px;
				}

				.text {
					line-height: 1.6;
				}
			}

			&.konohazuku {
				&:before {
					background-image: url(../images/home/konohazuku-standing.png);
					background-size: 70px auto;
					background-position: top 12px center;
				}
			}
		}
	}


	.tellink {
		@media (width >=768px) {
			pointer-events: none;
		}
	}

	.f-copyright {
		display: block;
		line-height: 1.65;
		text-align: center;
	}

	@media (width < 768px) {
		padding-top: 55px;

		&:before {
			top: 0;
			width: min(100%, 341px);
			aspect-ratio: 341 / 71;
			background-image: url(../images/common/f-humans_sp.png);
		}

		.container-inner {
			padding-block: 45px 15px;
		}

		.f-sign {
			flex-direction: column;
			gap: 14px;
			padding-bottom: 30px;

			.f-name {
				width: 150px;
				margin-inline: auto;
			}

			.f-address {
				width: fit-content;
				font-size: 0.75rem;
				padding: 0;
				margin-inline: auto;

				.f-place {
					font-size: 1rem;
					margin-bottom: 9px;
				}
			}
		}

		.f-tips {
			grid-template-columns: 1fr;
			gap: 10px;

			>.item {
				grid-template-columns: 68px 1fr;

				&:before {
					width: 68px;
				}

				.text-area {
					padding: 0;

					.s-title {
						font-size: 1rem;
						margin-bottom: 2px;
					}
				}

				&.kakitsubata {
					&:before {
						background-size: 93px auto;
					}
				}

				&.konohazuku {
					&:before {
						background-size: 52px auto;
						background-position: top 8px center;
					}
				}
			}
		}
	}
}



/* TITLE */
/* .page-title {
	width: auto;
	height: 280px;
	background-image: url(../images/common/title-bg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;

	.container-inner {
		padding: 0;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.title-box {
		display: inline-block;
		padding: 15px 30px;
		background-color: rgba(255, 255, 255, 0.85);
	}

	.level01,
	.title {
		margin-bottom: 0;
		font-weight: bold;

		.ja {
			display: block;
		}
	}
} */
.page-title {
	height: 170px;

	@media (width < 768px) {
		height: 110px;
	}
}


/* パンくず */
.breadcrumb {
	padding-top: 0;

	li {
		display: inline-block;
		vertical-align: middle;
		font-size: 1.4rem;

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

		&.on {
			color: var(--color-body);
			font-weight: bold;
		}
	}
}

/* ページトップ */
.pagetop {
	position: fixed;
	bottom: 0;
	right: 0;
	text-align: right;
	width: 48px;
	margin-left: auto;
	z-index: 1000;

	a {
		display: block;
		width: 48px;
		height: 48px;
		line-height: 0;
		text-decoration: none;
		background-color: var(--color-primary);
		border: solid 1px var(--color-primary);
		position: relative;
		transition: 0.3s;

		&::before {
			position: absolute;
			content: '';
			left: 16px;
			top: 20px;
			width: 15px;
			height: 15px;
			border-top: 2px solid #fff;
			border-left: 2px solid #fff;
			-webkit-transform: rotate(45deg);
			transform: rotate(45deg);
		}

		&:hover {
			background-color: #fff;

			&::before {
				border-color: var(--color-primary);
			}
		}
	}
}



.section {
	margin-bottom: 160px;

	@media (width < 768px) {
		margin-bottom: 120px;
	}
}