@charset "UTF-8";
/* CSS Document */
/* ==============================
   COMMON.CSS
   共通要素（header / footer / base）
   ============================== */

/* --- import base layers --- */
@import url("reset.css");
@import url("base.css");
@import url("utility.css");


/* ==============================
   main
   ============================== */
.main {
	max-width: 440px;
	margin: 0 auto;
	padding: 0;
}
.main__nav {
	display: none;
}
@media (min-width: 441px) {
	.main,
	.header,
	.footer {
		border-left: 1px solid var(--color-text-sub);
		border-right: 1px solid var(--color-text-sub);
	}
}
@media (min-width: 768px) {
	.main {
		position: relative;
		display: flex;
		max-width: 1240px;
		padding: 0 20px 0 0;
		border: none;
	}
	.main__nav {
		position: sticky;
		top: 0;
		left: 0;
		display: flex;
		width: calc(100% - 390px);
		padding: 60px 30px 30px;
	}
	.main__content {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 390px;
		min-height: 100vh;
/*		min-height: 100dvh;*/
		margin-left: auto;
		border-left: 1px solid var(--color-text-sub);
		border-right: 1px solid var(--color-text-sub);
	}
}
@media (min-width: 999px) {
	.main {
		padding: 0 60px 0 0;
	}
	.main__nav {
		padding: 40px 60px 30px;
	}
}

/* ==============================
   Header base
   ============================== */
.header {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 440px;
	background: #fff;
	padding-inline: 1.6rem;
	z-index: 100;
}

.header__logo {
	position: relative;
	display: flex;
	align-items: center;
	height: 60px;
	z-index: 101;
}

.header__logo-link {
	display: inline-block;
}

.header__logo-img {
	display: block;
	width: 74px;
}
.header__logo-img-top {
	display: none;
	width: 74px;
}

.header__nav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	padding: 100px 30px 30px;
	background: #fff;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .4s ease, visibility .4s ease;
	will-change: opacity;
	overflow-y: scroll;
	scrollbar-width: none;
}
.header__nav::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Edge */
}
.header__nav::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background: #fff;
}

.header__top {
	width: 100%;
}

.header__nav.is-show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.header__menu {
	margin-bottom: 3rem;
}

.header__menu-item {
	margin-bottom: 1.4rem;
}

.header__menu-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	width: 100%;
}

.header__menu--main {
	font-size: 1.4rem;
}

.header__menu--sub {
	padding-top: 3rem;
	border-top: 1px solid #A5A4A3;
	font-size: 1.2rem;
}
.header__menu--sub .header__menu-item {
	margin-bottom: 1.3rem;
}
.header__menu--sub .header__menu-link {
	display: inline-flex;
	width: auto;
}

.header__bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	width: 100%;
}

.header__sns {
	display: flex;
	gap: 10px;
}

.header__sns-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.header__sns-link .icon {
	background-color: var(--color-primary);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}
.header__sns-link .icon--instagram svg {
	width: 8.2px;
}
.header__sns-link .icon--tiktok svg {
	width: 7px;
}
.header__sns-link .icon--youtube svg {
	width: 9.6px;
}

.header__copyright {
	font-size: 1.1rem;
	text-align: right;
}

@media (min-width: 768px) {
	.header {
		display: none;
	}
}

/* --- ハンバーガー --- */
.hamburger {
	position: absolute;
	top: 11px;
	right: 11px;
	width: 38px;
	height: 38px;
	border-radius: 38px;
	background-color: var(--color-primary);
	cursor: pointer;
	z-index: 101;
	user-select: none;        /* 文字選択禁止 */
	caret-color: transparent; /* キャレット非表示 */
}
.hamburger__line {
	display: block;
	position: absolute;
	left: 12px;
	width: 13px;
	height: 1px;
	background: #fff;
	transition: all 0.4s ease;
}
.hamburger__line:nth-child(1) { top: 16px; }
.hamburger__line:nth-child(2) { bottom: 16px; }

/* --- 開いた状態 --- */
.hamburger.is-open {
	background: transparent;
}
.hamburger.is-open .hamburger__line {
	width: 24px;
	height: 1.5px;
	background: var(--color-text);
}
.hamburger.is-open .hamburger__line:nth-child(1) {
	transform: translate(-4px,2.5px) rotate(25deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
	transform: translate(-4px,-2px) rotate(-25deg);
}

/* ==============================
   PC表示
   ============================== */
@media (min-width: 768px) {
	.hamburger {
		display: none;
	}
	.header__nav {
		position: static;
		height: auto;
		right: auto;
		background: transparent;
		display: none;
	}
	.header__menu {
		flex-direction: row;
		display: none;
	}
}


/* ==============================
   Footer
   ============================== */
.footer {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	padding: 60px 20px 20px;
	background: #fff;
}

.footer__nav {
}

.footer__menu {
	margin-bottom: 4rem;
}

.footer__menu-item {
	margin-bottom: 2rem;
}

.footer__menu-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	width: 100%;
}

.footer__menu--main {
	font-size: 1.4rem;
}

.footer__menu--sub {
	padding-top: 4rem;
	border-top: 1px solid #A5A4A3;
	font-size: 1.3rem;
}
.footer__menu--sub .footer__menu-item {
	margin-bottom: 1.3rem;
}
.footer__menu--sub .footer__menu-link {
	display: inline-flex;
	width: auto;
}

.footer__logo {
	margin-top: 6rem;
	margin-bottom: 4rem;
}

.footer__logo-link {
}

.footer__logo-img {
	display: block;
	width: 132px;
}

.footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	width: 100%;
}

.footer__sns {
	display: flex;
	gap: 10px;
}

.footer__sns-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.footer__sns-link .icon {
	background-color: var(--color-primary);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}
.footer__sns-link .icon--instagram svg {
	width: 8.2px;
}
.footer__sns-link .icon--tiktok svg {
	width: 7px;
}
.footer__sns-link .icon--youtube svg {
	width: 9.6px;
}

.footer__copyright {
	font-size: 1.1rem;
	text-align: right;
}

@media (min-width: 768px) {
	.footer {
		display: none;
	}
}


/* ==============================
   Site Nav
   ============================== */

/* ========== Tablet ========== */
@media (min-width: 768px) {
	.site-nav {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		gap: 4rem;
		height: 100vh;
/*		height: 100dvh;*/
		overflow-y: scroll;
		scrollbar-width: none;
	}
	.site-nav::-webkit-scrollbar {
		display: none; /* Chrome, Safari, Edge */
	}
	.site-nav__brand {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 30px;
		width: 100%;
	}
	.site-nav__catch-img {
		width: 100%;
		max-width: 350px;
	}
	.site-nav__lead-img {
		width: 100%;
		max-width: 350px;
	}
	
	.site-nav__body {
		width: 100%;
		max-width: 350px;
	}

	.site-nav__nav {
	}

	.site-nav__menu {
		margin-bottom: 4rem;
	}

	.site-nav__menu-item {
		margin-bottom: 2rem;
	}

	.site-nav__menu-link {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		width: 100%;
	}

	.site-nav__menu--main {
		font-size: 1.4rem;
	}

	.site-nav__menu--sub {
		padding-top: 4rem;
		border-top: 1px solid #A5A4A3;
		font-size: 1.3rem;
	}
	.site-nav__menu--sub .site-nav__menu-item {
		margin-bottom: 1.3rem;
	}
	.site-nav__menu--sub .site-nav__menu-link {
		display: inline-flex;
		width: auto;
	}

	.site-nav__footer {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		width: 100%;
	}

	.site-nav__sns {
		display: flex;
		gap: 10px;
	}

	.site-nav__sns-link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.site-nav__sns-link .icon {
		background-color: var(--color-primary);
		border-radius: 50%;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
	}
	.site-nav__sns-link .icon--instagram svg {
		width: 8.2px;
	}
	.site-nav__sns-link .icon--tiktok svg {
		width: 7px;
	}
	.site-nav__sns-link .icon--youtube svg {
		width: 9.6px;
	}

	.site-nav__copyright {
		font-size: 1.1rem;
		text-align: right;
	}
}

/* ========== PC ========== */
@media (min-width: 800px) {
}
@media (min-width: 999px) {
}

/* ========== PC ========== */
@media (min-width: 1025px) {
	.site-nav__body {
		width: 100%;
		max-width: none;
	}
	.site-nav__catch-img {
		width: 372px;
	}
	.site-nav__lead-img {
		width: 372px;
	}
	.site-nav__menu {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 2rem 3rem;
		margin-bottom: 3rem;
	}
	.site-nav__menu--sub {
		justify-content: flex-start;
		padding-top: 3rem;
		gap:  1rem 2rem;
	}

	.site-nav__menu-item {
		width: 43%;
		min-width: 200px;
		margin-bottom: 0;
	}
	.site-nav__menu--sub .site-nav__menu-item {
		width: calc((100% - 4rem) / 3);
		min-width: 170px;
		margin-bottom: 0;
	}
}

/* ==============================
   その他共通要素（例：.breadcrumb, .btn）
   ============================== */
/*
.breadcrumb { ... }
.btn { ... }
*/
