@charset "UTF-8";
/* ヘッダー・フッター・グリッド・全体構造 */

/******************/
/* 共通部分 *********/

.section {
	position: relative;
}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.r-flex {
	flex-direction: row-reverse;
}

.section-inner {
	width: 90%;
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
	.section-inner {
		padding: 0 1em;
	}
}

@media screen and (max-width: 500px) {
	.section-inner {
		padding: 0;
		width: 95%;
	}
}

/******************/
/* header *********/

.site-header {
	position: fixed;
	inset: 0;
	z-index: 3;
	pointer-events: auto;
}

.sp-header,
.openbtn,
.header-logo {
	pointer-events: auto;
}

.header-logo,
.openbtn {
	pointer-events: auto;
}

.header-logo {
	position: fixed;
	top: 60px;
	left: 60px;
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.header-logo.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
}

.pc-header {
	display: block;
}

.sp-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.sp-header {
	display: none;
}

.sp-header-logo {
	position: relative;
	z-index: 10000;
	top: 16px;
	left: 16px;
}

@media screen and (max-width: 1200px) {
	.header-logo__image {
		width: clamp(286px, 32.923vw, 428px);
	}
}

@media screen and (max-width: 800px) {
	.sp-header {
		display: flex;
		position: fixed;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		max-width: 500px;
		width: 100%;
		z-index: 4000;
	}
	.pc-header {
		display: none;
	}
}

@media screen and (max-width: 500px) {
	.sp-header-logo {
		width: 60%;
	}
}

/* ハンバーガー */
.openbtn {
	position: fixed;
	top: 0;
	right: 0;
	width: 64px;
	height: 64px;
	background: var(--color-primary);
	border-radius: 0 0 0 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 3000;
	border-left: 0.5px solid var(--color-white);
	border-bottom: 0.5px solid var(--color-white);
}

.openbtn span {
	position: absolute;
	width: 26px;
	height: 1px;
	background: #fff;
	transition: 0.3s ease;
}

.openbtn span:nth-child(1) {
	transform: translateY(-3px);
}
.openbtn span:nth-child(2) {
	transform: translateY(3px);
}

.openbtn.active span:nth-child(1) {
	transform: rotate(45deg);
}
.openbtn.active span:nth-child(2) {
	transform: rotate(-45deg);
}

/* ===============================
SP グローバルメニュー
=============================== */
.sp-global-nav {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: var(--color-primary);
	transform: translateX(100%);
	opacity: 0;
	transition:
		transform 0.4s ease,
		opacity 0.4s ease;
	overflow: hidden;
}

.is-fixed {
	overflow-y: hidden;
}

.sp-global-nav.is-open {
	transform: translateX(0);
	opacity: 1;
}
.sp-global-inner {
	padding-left: 16px;
	padding-right: 16px;
	min-height: 100dvh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.sp-global-inner::-webkit-scrollbar {
	display: none;
}

.sp-global-logo {
	top: 1.6rem;
}

.sp-menu {
	list-style: none;
	margin-top: var(--space-120);
	margin-bottom: var(--space-64);
}
.sp-menu-item {
	margin-bottom: var(--space-32);
	color: var(--color-white);
	transition: transform 0.3s ease;
}

.sp-menu-item:hover {
	transform: translateX(6px);
}

.sp-menu-item__en-title {
	font-size: var(--fz-32);
	font-family: var(--font-en);
	font-weight: 600;
}

.sp-menu-item__ja-title {
	font-size: var(--fz-14);
}

.sp-global-nav-contact {
	border-top: 0.3px solid var(--color-white);
	padding-top: var(--space-32);
	color: var(--color-white);
	margin-bottom: var(--space-24);
	padding-bottom: 0;
}

.sp-global-nav-contact__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: var(--space-32);
}

.sp-global-nav-contact__label {
	font-size: var(--fz-32);
	font-family: var(--font-en);
	font-weight: 600;
}

.sp-global-nav-contact__number {
	font-size: 28px;
	font-family: var(--font-en);
	font-weight: 600;
	margin-bottom: var(--space-8);
}

.sp-global-nav-contact__row {
	display: flex;
	align-items: center;
	gap: 16px;
	font-weight: 600;
	font-size: var(--fz-12);
}

.sp-global-nav-contact__row .note {
	margin-left: 3px;
}

.sp-global-nav-contact__row dt {
	width: 68px;
}
.sp-global-nav-link__wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sp-global-nav-link__wrapper .side-link {
	display: block;
	overflow: hidden;
	border-radius: 6px;
}

.sp-global-nav-link__wrapper .side-link img {
	transition:
		transform 0.4s ease,
		opacity 0.3s ease;
}

.sp-global-nav-link__wrapper .side-link:hover img {
	transform: scale(1.05);
	opacity: 0.85;
}

@media (min-width: 800px) {
	.sp-global-nav {
		display: block;
	}
}

@media screen and (min-width: 501px) {
	.sp-global-nav {
		position: fixed;
		top: 0;
		left: 50%;
		transform: translateX(-50%) translateX(100%);
		max-width: 500px;
		width: 100%;
	}

	.sp-global-nav.is-open {
		transform: translateX(-50%) translateX(0);
	}
}

@media screen and (max-width: 500px) {
	.sp-menu {
		margin-bottom: var(--space-32);
		margin-top: var(--space-96);
	}
	.sp-menu-item__en-title {
		font-size: var(--fz-24);
	}
	.sp-menu-item__ja-title {
		font-size: var(--fz-12);
	}

	.sp-global-nav-contact {
		padding: var(--space-16) 0;
		margin-bottom: 0;
	}
	.sp-global-nav-contact__title {
		margin-bottom: var(--space-8);
	}
	.sp-global-nav-contact__label {
		font-size: var(--fz-24);
	}
	.sp-global-nav-contact__title img {
		width: 24px;
	}
}

/* splide */
.splide {
	width: 100%;
}
.splide__slide img {
	display: block;
	width: 100%;
	height: auto;
}
.splide__list {
	will-change: transform;
}

/* page-wrapper{ */

.page-wrapper {
	position: relative;
	overflow: visible;
}

.bg-frame {
	position: fixed;
	inset: 15px;
	border: 5px solid var(--color-primary);
	border-radius: 30px;
	overflow: hidden;
	z-index: 0;
}

@media screen and (max-width: 800px) {
	.bg-frame {
		inset: 0;
		border-radius: 0;
		border: 0;
	}
}

/* bg-slider */

.bg-slider {
	position: absolute;
	inset: 0;
}

.bg-slider__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
}

.bg-slider__slide:nth-child(1) {
	background-image: url(../images/pc-bg_slide01.jpg);
}
.bg-slider__slide:nth-child(2) {
	background-image: url(../images/pc-bg_slide02.jpg);
}
.bg-slider__slide:nth-child(3) {
	background-image: url(../images/pc-bg_slide03.jpg);
}
.bg-slider__slide:nth-child(4) {
	background-image: url(../images/pc-bg_slide04.jpg);
}
.bg-slider__slide:nth-child(5) {
	background-image: url(../images/pc-bg_slide05.jpg);
}

@media (max-width: 500px) {
	.bg-slider {
		display: none;
	}
}

/* bg-slider__name */
.bg-slider__name-track {
	display: flex;
	gap: 4px;
	white-space: nowrap;
	position: fixed;
	bottom: 0;
	transform: translateY();
}

.bg-slider__name {
	font-size: 220px;
	font-weight: bold;
	color: rgba(5, 83, 147, 0.4);
	letter-spacing: 0.1em;
	-webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.3);
}

/* side-link */
.side-link__container {
	position: fixed;
	top: 35%;
	right: 0;
	transform: translateY(-50%);
	z-index: 3000;
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.side-link {
	overflow: hidden;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	box-shadow: -8px 10px 20px rgba(0, 0, 0, 0.2);
	border-radius: 4px 0 0 4px;
	transform: translateX(0) !important;
}

.side-link img {
	display: block;
	transition: transform 0.4s ease;
}

.side-link:hover {
	transform: translateX(-12px) scale(1.03);
	box-shadow: -12px 20px 40px rgba(0, 0, 0, 0.3);
}

.side-link:hover img {
	transform: scale(1.05);
}
@media screen and (min-width: 800px) and (max-width: 1400px) {
	.side-link__container {
		top: 50%;
	}
}
@media screen and (max-width: 800px) {
	.side-link__container {
		display: none;
	}
}

/* cv-link */

.cv-link {
	position: fixed;
	z-index: 110;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(5, 83, 147, 0.9);
	padding: var(--space-16);
	color: var(--color-white);
	text-align: center;
	transform: translateY(100%);
	opacity: 0;
}

.cv-link__title-wrapper{
	margin-bottom: var(--space-8);
}
.cv-link__title {
	font-size: var(--fz-18);
	font-weight: 600;
	line-height: 1.6;
}

.cv-link__sub-title{
	font-size: var(--fz-12);
	line-height: 1.4;
	letter-spacing: 0.05em;
}

.cv-link__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	gap: 8px;
}
.cv-link__wrapper-title {
	font-size: 13px;
	font-weight: 600;
}

.cv-link__item {
	max-width: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 1em;
	border-radius: 10px;
	width: 100%;
	min-height: 72px;
	position: relative;
	overflow: hidden;
}

.cv-link__item::after {
	content: '';
	position: absolute;
	top: 0;
	left: -120%;
	width: 50%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: 0.6s;
}

.cv-link__item:hover::after {
	left: 120%;
}

.cv-link__item-line {
	background: linear-gradient(90deg, #06c755 0%, #06c72d 100%);
}

.cv-link__item-tel {
	background: linear-gradient(90deg, #ffb800 0%, #ff9000 100%);
}

.cv-link__wrapper-title {
	font-size: var(--fz-14);
	font-weight: 600;
}

.cv-link__wrapper-subtext-wrapper {
	display: flex;
	flex-direction: row;
	gap: 8px;
}

.cv-link__wrapper-subtext {
	font-size: 10px;
	font-weight: 600;
	text-align: left;
	letter-spacing: var(--ls-5);
}

@media screen and (max-width: 550px) {
	.cv-link__title {
		font-size: 15px;
	}
	.cv-link__wrapper-title {
		font-size: 13px;
	}
	.cv-link__wrapper-subtext {
		font-size: 8px;
	}
	.cv-link__item {
		min-height: 60px;
	}
}

@media screen and (max-width: 500px) {
	.cv-link {
		padding: var(--space-16) var(--space-8);
	}
	.cv-link__wrapper {
		gap: 4px;
	}

	.cv-link__wrapper-subtext-wrapper {
		flex-direction: column;
		gap: 0;
		justify-content: baseline;
	}
	.cv-link__item {
		padding: 0.5em 0;
		min-height: 55px;
		max-height: 55px;
	}

	.cv-link__item img {
		width: 20px;
	}
	.cv-link__wrapper-title {
		font-size: 11px;
	}
}

/* main-content */

.main-content {
	max-width: 500px;
	width: 100%;
	position: absolute;
	z-index: 5;
	top: var(--space-40);
	left: 50%;
	transform: translateX(-50%);
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
	border-radius: 30px 30px 0 0;
	overflow: hidden;
	background-color: var(--color-primary);
}

@media screen and (min-width: 1620px) {
	.main-content {
		top: var(--space-64);
	}
}

@media screen and (max-width: 800px) {
	.main-content {
		top: 0;
		border-radius: 0;
	}
}

@media screen and (max-width: 500px) {
	.main-content {
		top: 0;
		border-radius: 0;
		position: relative;
	}
}

@media screen and (min-width: 801px) {
	.main-content {
		opacity: 0;
		pointer-events: none;
		transition: 0.5s ease;
	}

	.main-content.is-active {
		opacity: 1;
		pointer-events: auto;
	}
}



/* hero-cta */

.hero-cta {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	padding: 60px 80px;
	border-radius: 20px;
	cursor: pointer;
	background: rgba(5, 83, 147, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	transition: 0.4s ease;
	opacity: 0;
	animation: fadeUp 1s ease forwards;
}

.hero-cta:hover {
	transform: translate(-50%, -52%) scale(1.03);
	background: rgba(5, 83, 147, 0.6);
}

.hero-cta__sub {
	margin-bottom: var(--space-16);
}
.hero-cta__title {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 24px;
	letter-spacing: 0.05em;
}

.hero-cta__btn {
	display: inline-block;
	font-size: 13px;
	letter-spacing: 0.1em;
	font-weight: 600;
	position: relative;
	overflow: hidden;
}

.hero-cta__btn span {
	position: relative;
	z-index: 1;
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.main-content.is-active ~ .site-header .hero-close {
	display: block;
}

.hero-cta.is-hide {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -45%) scale(0.95);
	transition: none;
}

@media screen and (max-width: 980px) {
	.hero-cta {
		padding: 40px;
	}
	.hero-cta__title {
		font-size: var(--fz-24);
	}
}

@media screen and (max-width: 800px) {
	.hero-cta {
		display: none;
	}
}


/* main-close */

.main-close {
	position: fixed;
	top: 40px;
	right: 40px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #000;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	cursor: pointer;
	z-index: 9999;

	opacity: 0;
	pointer-events: none;
	transition: 0.3s ease;
}

body.is-main-open .main-close {
	opacity: 1;
	pointer-events: auto;
}


@media screen and (max-width:800px) {
	.main-close{
		display: none;
	}
}

/******************/
/* footer**********/

.site-footer {
	position: relative;
	color: var(--color-white);
}

.footer__logo {
	margin-bottom: var(--space-16);
}

.footer__info {
	font-size: var(--fz-14);
	margin-bottom: var(--space-96);
}
.copyright {
	background-color: var(--color-white);
	padding: var(--space-24);
	color: var(--color-primary);
	text-align: center;
}

.copyright_text {
	font-size: 10px;
	letter-spacing: var(--ls-10);
	font-weight: 600;
}
