/* =========== */
/* 検索用ワード */
/* =========== */
/* ヘッダー */
/* ハンバーガーメニュー */
/* フッター */
/* メインビジュアル */
/* プロジェクトページ */
/* ページテンプレート */

/* ヘッダー */
.header {
	position: relative;
}

.header__height {
	height: 140px;
	position: relative;
}

.header__bg {
	height: 140px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--bgColor);
}

.header__inner {
	width: calc(100% - 80px);
	margin-inline: auto;
}

.header__logo {
	padding-top: 30px;
	line-height: 1.2;
}

.header__logo-link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: fit-content;
}

.header__logo-bottom {
	font-weight: 400;
}

.header__logo-link span {
	font-size: 1.1rem;
}
/* ヘッダーここまで */

/* ハンバーガーメニュー */
.menu-btn {
	width: 25px;
	height: 16px;
	position: relative;
	top: 28px;
	left: 2px;
	transition: all 0.3s;
}

.menu-btn.active {
	height: 20px;
	left: 4px;
}

.menu-btn__line {
	background-color: var(--mainColor);
	width: 25px;
	height: 3px;
	transition: all 0.3s;
}

.menu-btn__line-1 {
	position: absolute;
	top: 0;
	left: 0;
}

.menu-btn__line-2 {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.menu-btn__line-3 {
	position: absolute;
	bottom: 0;
	left: 0;
}

.active .menu-btn__line-1 {
	width: 25px;
	transform: rotate(45deg);
	transform-origin: left top;
}

.active .menu-btn__line-2 {
	opacity: 0;
}

.active .menu-btn__line-3 {
	width: 25px;
	transform: rotate(-45deg);
	transform-origin: left bottom;
}

.header-menu {
	width: 100%;
	max-width: 230px;
	height: 280px;
	position: fixed;
	top: -200%;
	left: 0;
	z-index: 99;
	transition: all 0.7s;
}

.header-menu.active {
	top: 140px;
}

.header-menu__bg {
	background-color: var(--mainColor);
	height: 100%;
}

.header-menu__inner {
	height: 100%;
	width: calc(100% - 80px);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: left;
}

.header-menu__list-item + .header-menu__list-item {
	margin-top: 0.25rem;
}

.header-menu__list-sns {
	margin-top: 2rem;
	line-height: 1.8;
}

.header-menu__sns-icon {
	color: var(--accentColor);
	font-size: 1.25rem;
}
/* ハンバーガーメニューここまで */

/* フッター */
.footer-copyright {
	position: fixed;
	bottom: 20px;
	left: 32px;
	z-index: 99;
}

.footer-copyright__bg {
	background-color: var(--bgColor);
}

.footer-copyright__inner {
	padding: 0 8px;
}

.footer-copyright__text,
.footer-copyright__text span {
	font-size: 0.75rem;
}
/* フッターここまで */

/* メインビジュアル */
.hero {
	width: 100%;
	height: calc(100vh - 140px);
	position: relative;
}

.hero__cover {
	background-image: url(../images/hero.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 20%;
	width: 100%;
	height: 100%;
}
/* メインビジュアルここまで */

/* プロジェクトページ */
/* ヘッダーの説明文 */
.project-description-area {
	position: absolute;
	bottom: 10px;
	right: 0;
	z-index: 101;
	font-size: 0.75rem;
	width: fit-content;
	max-width: 50%;
}

/* 親要素（スクロールコンテナ） */
.project {
	height: calc(100vh - 140px);
	overflow: auto;
	scroll-snap-type: y mandatory; /* スナップ有効化 */
	scroll-behavior: smooth;
}

.project-swiper {
	scroll-snap-align: start;
	width: 100%;
	height: calc(100vh - 250px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.project-swiper + .project-swiper {
	margin-top: 35px;
}

.project-swiper.swiper-initialized {
	opacity: 1;
}

.project-swiper-slide {
	width: fit-content !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-swiper-img-wrapper {
	width: fit-content;
	max-height: 100%;
}

.project-swiper-img {
	object-fit: contain;
	width: auto;
	height: calc(100vh - 250px);
	max-height: 100%;
}

.project-swiper-button-prev {
	color: var(--accentColor);
	left: 30px;
}

.project-swiper-button-next {
	color: var(--accentColor);
	right: 30px;
}

.project__height {
	height: 110px;
}

.sp-size-project {
	display: none;
}

.single-project__description-wrapper {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--bgColor);
	padding: 4px 0.75rem;
}

.single-project__description {
	font-size: 0.75rem;
}

.project-list__link {
	display: block;
}

.project-list__link:hover {
	opacity: 1;
}

.project-list__link + .project-list__link {
	margin-top: 20px;
}

.single-project__img-wrapper + .single-project__img-wrapper {
	margin-top: 20px;
}
/* プロジェクトページここまで */

/* ページテンプレート */
.page-content {
	width: calc(100% - 40px);
	max-width: 800px;
	margin-inline: auto;
	margin-block: 60px;
}
/* ページテンプレートここまで */

/* 画面幅480px以下 */
@media screen and (max-width: 480px) {
	/* ヘッダー */
	.header__inner {
		width: calc(100% - 60px);
	}

	.header-menu__inner {
		width: calc(100% - 60px);
	}
	/* ヘッダーここまで */
	/* フッター */
	.footer-copyright {
		position: static;
	}

	.footer-copyright__inner {
		padding: 15px 30px;
	}

	.footer-copyright__text {
		display: block;
		width: fit-content;
	}
	/* フッターここまで */

	/* プロジェクトページ */
	.pc-size-project {
		display: none;
	}

	.sp-size-project {
		display: block;
	}

	.project {
		height: calc(100vh - 140px);
		overflow: visible;
		scroll-snap-type: none;
	}
	/* プロジェクトページここまで */
}
