/* =========================================
	1. REM BASE UNIT
	PC: 1rem = 16px (100%)
	Mobile: 1rem = 10px (62.5%) - defined in media query
========================================= */
html {
	font-size: 100%;
}

/* =========================================
	1. RESET & VARIABLES
========================================= */
:root {
	--color-primary: #0068b7;
	--color-text-main: #000;
	--color-text-muted: #333;
	--color-accent-blue: #38bdf8;
	--font-main: 'Noto Sans JP', sans-serif;
	--font-title: 'Roboto', sans-serif;
	--radius-pc: 0.625rem;
	--radius-sp: 0.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* =========================================
	1.5. UTILITY CLASSES
========================================= */
.page-wrapper {
	font-family: var(--font-main);
	color: var(--color-text-main);
	overflow-x: hidden;
	background-color: #fff;
}

body.no-scroll {
	overflow: hidden;
}

.global-link {
	text-decoration: none;
	color: inherit;
}

.global-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.global-button {
	cursor: pointer;
	font-family: inherit;
	border: none;
	background: transparent;
	padding: 0;
}

/* =========================================
	2. LAYOUT (>1440px)
========================================= */
.container {
	width: 100%;
	max-width: 73.75rem;
	margin: 0 auto;
}

.section-title-block__main {
	display: inline-block;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 5rem;
	line-height: 3.75rem;
	letter-spacing: 0%;
}

.section-title-block__sub-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
	margin-bottom: 1.875rem;
}

.section-title-block__square {
	width: 1.875rem;
	height: 1.875rem;
	border-radius: 0.375rem;
	background-color: #1298e3;
	display: inline-block;
}

.section-title-block__sub-text {
	font-family: var(--font-main);
	color: var(--color-text-main);
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.5625rem;
	letter-spacing: 0%;
}

.section-divider {
	margin-top: 6.25rem;
	border-bottom: 1px solid #000;
}

/* =========================================
	3. HEADER
========================================= */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1050;
	padding: 2.5rem 0 0 0;
}

.header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 85rem;
	margin: 0 auto;
}

.header__logo {
	font-weight: 900;
	font-size: 1.4rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #000;
}

.header__logo-img {
	max-width: 15.8125rem;
	max-height: 2.5rem;
}

.header__logo-icon {
	display: flex;
	gap: 0.125rem;
	align-items: center;
}

.header__logo-square {
	width: 0.625rem;
	height: 0.625rem;
	background-color: var(--color-primary);
	display: inline-block;
}

.header__logo-square--offset {
	transform: translateY(-0.1875rem);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 3.125rem;
}

.header__nav-link {
	font-family: var(--font-title);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.05em;
	text-align: center;
	position: relative;
	padding-bottom: 0.3125rem;
	display: inline-block;
	transition: color 0.3s ease;
}

.header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-primary);
	transition: width 0.3s ease-out;
}

.header__nav-link:hover {
	color: var(--color-primary);
}

.header__nav-link:hover::after {
	width: 100%;
}

.header__btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 9.6875rem;
	height: 3rem;
	background-color: #fff;
	border: 1px solid #000;
	border-radius: var(--radius-pc);
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1rem;
	line-height: 100%;
	letter-spacing: 5%;
	text-align: center;
	color: #000;
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: color 0.3s ease;
}

.header__btn-outline::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: #000;
	z-index: -1;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease-out;
}

.header__btn-outline:hover {
	color: #fff;
}

.header__btn-outline:hover::before {
	transform: scaleX(1);
}

.header__btn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 9.6875rem;
	height: 3rem;
	background-color: var(--color-primary);
	border: 1px solid #fff;
	border-radius: var(--radius-pc);
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0.05em;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
	z-index: 1;
	transition: color 0.3s ease;
	white-space: nowrap;
}

.header__btn-cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: #000;
	z-index: -1;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease-out;
}

.header__btn-cta:hover {
	color: #fff;
}

.header__btn-cta:hover::before {
	transform: scaleX(1);
}

.header__toggler {
	display: none;
	border-radius: var(--radius-pc);
	align-items: center;
	justify-content: center;
}

/* =========================================
	4. MOBILE MENU OFFCANVAS
========================================= */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	background: #fff;
	z-index: 1040;
	transform: translateX(100%);
	transition: transform 0.35s ease;
	will-change: transform;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.mobile-menu.is-active {
	transform: translateX(0);
}

.mobile-menu__body {
	padding: 13.699rem 2rem 0 2rem;
	min-height: 100%;
}

.mobile-menu__link {
	display: block;
	position: relative;
	border-bottom: 1px solid #000;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1rem;
	line-height: 100%;
	letter-spacing: 5%;
	color: #000;
}

.mobile-menu__icon {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2rem;
	font-weight: 300;
}

.mobile-menu__logo-bottom {
	text-align: center;
	margin-top: 6rem;
}

.mobile-menu__logo-square {
	width: 0.875rem;
	height: 0.875rem;
	background-color: var(--color-primary);
	display: inline-block;
}

.mobile-menu__logo-square--offset {
	transform: translateY(-0.25rem);
}

/* =========================================
	10. CONTACT SECTION
========================================= */
.cta {
	padding-top: 5rem;
	padding-bottom: 3.125rem;
	background: url(../images/common/bg_cmn_contact_pc.webp) center/cover no-repeat;
	color: #fff;
	text-align: center;
	border-radius: 1.25rem 1.25rem 0 0;
}

.cta__title {
	font-family: var(--font-title);
	font-size: 5.0625rem;
	font-weight: 700;
	line-height: 1.75rem;
	letter-spacing: 0%;
	text-align: center;
	color: #fff;
}

.cta__desc {
	font-family: var(--font-main);
	font-size: 1.125rem;
	line-height: 1.875rem;
	letter-spacing: 0%;
	text-align: center;
	color: #fff;
	margin-top: 2.5rem;
}

.cta__cards-grid {
	margin-top: 2.75rem;
	display: flex;
	justify-content: center;
	gap: 2.5rem;
}

.cta-card {
	width: 100%;
	max-width: 36.25rem;
	height: 17.375rem;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	text-align: center;
	border-radius: var(--radius-pc);
	overflow: hidden;
	z-index: 1;
	transition: color 0.4s ease;
}

.cta-card::before {
	content: "";
	position: absolute;
	height: 17.5rem;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: -1;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease-out;
}

.cta-card:hover::before,
.cta-card:active::before {
	transform: scaleX(1);
}

.cta-card:nth-child(1)::before {
	background-color: #000;
}

.cta-card:nth-child(2)::before {
	background: linear-gradient(90deg, #0068b7 0%, #00aeef 100%);
}

.cta-card__sub,
.cta-card__title {
	color: var(--color-primary);
	transition: color 0.4s ease;
}

.cta-card__sub {
	font-family: var(--font-title);
	font-weight: 500;
	font-size: 1rem;
	line-height: 100%;
	letter-spacing: 5%;
	margin-bottom: 0.625rem;
}

.cta-card__title {
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 100%;
	letter-spacing: 5%;
}

.cta-card:hover .cta-card__sub,
.cta-card:hover .cta-card__title,
.cta-card:active .cta-card__sub,
.cta-card:active .cta-card__title {
	color: #fff;
}

.cta-card__arrow-icon {
	position: absolute;
	bottom: 1.875rem;
	right: 1.875rem;
	width: 4.9375rem;
	height: 4.9375rem;
	background-color: #000;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: background-color 0.4s ease, color 0.4s ease;
}

.cta-card__arrow-icon-svg {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1.625rem;
	max-height: 1.625rem;
}

.cta-card:hover .cta-card__arrow-icon,
.cta-card:active .cta-card__arrow-icon {
	background-color: #fff;
	color: #000;
}

.cta-card:hover .cta-card__arrow-icon-svg,
.cta-card:active .cta-card__arrow-icon-svg {
	display: none;
}

.cta-card .cta-card__arrow-icon-svg.hover {
	display: none;
}

.cta-card:hover .cta-card__arrow-icon-svg.hover,
.cta-card:active .cta-card__arrow-icon-svg.hover {
	display: flex;
}

/* =========================================
	11. FOOTER
========================================= */
.footer {
	min-height: 18.25rem;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-content: center;
}

.footer__wrap {
	width: 100%;
	max-width: 56.25rem;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.footer__logo {
	font-weight: 900;
	font-size: 1.4rem;
	display: flex;
	gap: 0.5rem;
	color: #000;
}

.footer__copyright {
	font-family: var(--font-title);
	color: #000;
	font-size: 0.875rem;
	margin-top: 0.75rem;
	font-weight: 400;
	line-height: 100%;
	letter-spacing: 2%;
}

.footer__nav {
	display: flex;
	gap: 3.125rem;
}

.footer__nav-link {
	font-family: var(--font-title);
	font-size: 0.875rem;
	font-weight: 700;
	color: #000;
	position: relative;
	padding-bottom: 0.3125rem;
	display: inline-block;
	transition: color 0.3s ease;
}

.footer__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-primary);
	transition: width 0.3s ease-out;
}

.footer__nav-link:hover {
	color: var(--color-primary);
}

.footer__nav-link:hover::after {
	width: 100%;
}

.hide {
	display: none;
}

/* Breadcrumb */
.breadcrumb,
.breadcrumb__sep {
	display: flex;
	align-items: center;
}

.breadcrumb {
	width: 100%;
	max-width: 85rem;
	margin: 0 auto;
	gap: 0.375rem;
	color: #fff;
}

.breadcrumb-white {
	color: #fff;
}

.breadcrumb-dark {
	color: #000;
}

.breadcrumb__link {
	opacity: 0.4;
	font-family: var(--font-main);
	font-weight: 500;
	font-size: 0.8125rem;
	line-height: 1.625rem;
	letter-spacing: 0;
}

.breadcrumb__link:hover {
	opacity: 0.5;
}

.breadcrumb__sep {
	justify-content: center;
	width: 18px;
	height: 18px;
}

.breadcrumb-white .breadcrumb__sep {
	background: url("../images/common/ico_cmn_breadcrumb_01.svg") center/cover no-repeat;
}

.breadcrumb-dark .breadcrumb__sep {
	background: url("../images/common/ico_cmn_breadcrumb_02.svg") center/cover no-repeat;
}

.breadcrumb__text {
	opacity: 1;
}

/* =========================================
	12. RESPONSIVE MEDIA QUERIES (1rem = 10px)
========================================= */
@media (max-width: 991px) {

	/* -- Mobile base: 1rem = 10px -- */
	html {
		font-size: 62.5%;
	}

	body {
		font-size: 1.6rem;
	}

	.container {
		padding: 0 2rem;
	}

	.header__btn-outline,
	.header__btn-cta,
	.header__toggler {
		border-radius: var(--radius-sp);
	}

	.header__inner {
		padding: 0 1.5rem;
	}

	.header__nav {
		display: none;
	}

	.hero__inner {
		padding: 15rem 1.5rem 0 1.5rem;
	}

	.header__actions {
		gap: 0.8rem;
	}

	.header__toggler {
		display: flex;
		width: 48px;
		height: 38px;
		background: transparent;
	}

	/* CTA button overrides for mobile */
	.header__btn-cta {
		width: auto;
		height: 3.8rem;
		padding: 0 1.5rem;
		font-size: 1.3rem;
	}

	.cta {
		border-radius: 1.25rem 1.25rem 0 0;
		background: url(../images/common/bg_cmn_contact_sp.webp) center/cover no-repeat;
	}

	.cta__cards-grid {
		margin-top: 2.6rem;
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
	}

	.cta-card {
		width: 29.5rem;
		height: 12.9rem;
		border-radius: 1rem;
		padding: 1.5rem;
	}

	.cta-card::before {
		height: 13rem;
	}

	.cta-card__sub {
		margin-bottom: 0.5rem;
		font-size: 1.12rem;
	}

	.cta-card__title {
		font-size: 2.08rem;
	}

	.cta-card__arrow-icon {
		bottom: 1.5rem;
		right: 1.5rem;
		width: 4.4rem;
		height: 4.4rem;
		font-size: 1.6rem;
		background: #0068b7;
	}

	.cta-card__arrow-icon-svg {
		max-width: 1.6rem;
		max-height: 1.6rem;
	}

	.footer__wrap {
		flex-direction: column;
		gap: 4rem;
		max-width: 24.2rem;
		padding: 5rem 0;
	}

	.footer__nav {
		display: grid;
		grid-template-columns: repeat(2, max-content);
		grid-template-rows: repeat(3, auto);
		grid-auto-flow: column;
		row-gap: 3rem;
		column-gap: 9.2rem;
	}

	.header__logo {
		max-width: 16.2rem;
		max-height: 2.6rem;
	}

	.header__logo-img {
		max-width: 16.2rem;
		max-height: 2.6rem;
	}

	.header__btn-outline {
		font-size: 1.6rem;
	}

	.mobile-menu__link {
		font-size: 1.6rem;
		padding: 2.6rem 1rem 2.6rem 1rem;
		border-bottom: 0.0625rem solid #000;
	}

	.mobile-menu__icon {
		font-size: 1.92rem;
	}

	.mobile-menu__logo-bottom {
		font-size: 3.2rem;
	}

	.cta__title {
		font-size: 4.6rem;
		font-weight: 700;
		line-height: 5rem;
		letter-spacing: 0%;
		color: #fff;
		text-align: center;
	}

	.cta__desc {
		font-family: var(--font-main);
		font-size: 1.4rem;
		line-height: 2.2rem;
		letter-spacing: 5%;
		text-align: center;
		color: #fff;
		margin-top: 1.4rem;
		margin-left: auto;
		margin-right: auto;
		max-width: 29.5rem;
	}

	.footer__logo {
		max-width: 24.2rem;
		max-height: 3.8rem;
	}

	.footer__copyright {
		font-size: 1rem;
		font-weight: 400;
		line-height: 100%;
		letter-spacing: 2%;
		margin-top: 1.5rem;
	}

	.footer__nav-link {
		font-size: 1.4rem;
		color: #000;
	}

	.hero__subtitle {
		font-size: 1.52rem;
	}

	/* Breadcrumb */
	.breadcrumb__link {
		font-family: var(--font-main);
		font-weight: 500;
	}

	.breadcrumb {
		padding: 0 2rem;
		display: flex;
		align-items: center;
		gap: 0.6rem;
	}

	.breadcrumb__link {
		opacity: 0.7;
		font-size: 1.2rem;
		line-height: 2.6rem;
		letter-spacing: 0;
	}
}
