@charset "utf-8";

:root {
	--color-bg: #fff;
	--color-txt: #222;
	--color-line: color-mix(in srgb, var(--color-txt) 20%, transparent);
	
}

body {
	position: relative;
	background-color: var(--color-bg);
	color: var(--color-txt);
	background-image: url(/assets/img/special-structure/bg_noise_wt.jpg);
	background-size: 360px;
}

a[href]:hover {
	color: color-mix(in srgb, var(--color-txt) 70%, transparent);
}

img {
	width: 100%;
	display: block;
}

hr {
	border-color: var(--color-line);
}

ol {
	padding-left: 1.25em;
}

/* --------------------------------------------------------- */

.main-wrapper {
	position: relative;
	padding-top: 0;
}

.g-header {
	top: 0;
	background-color: rgba(255,255,255,0.2);
	backdrop-filter: blur(5px);
}

@media screen and (min-width: 1280px) {
	.gnav-child__list {
		background: var(--color-bg);
		border: 1px solid currentColor;
		opacity: 0;
	}
}

@media screen and (min-width: 1280px) {
	.invert-anchor:before {
		background-color: var(--color-txt);
	}
	
	.invert-anchor:hover > * {
		color: var(--color-bg) !important;
	}
	
	.invert-anchor:hover .d-glid {
		--line-color: color-mix(in srgb, var(--color-bg) 10%, transparent);
		--obj-color: color-mix(in srgb, var(--color-bg) 10%, transparent);
	}
}

.part-header {
	background-color: var(--color-bg);
}

.site-subheader {
	background-color: transparent;
}

.section-body__subttl {
	font-weight: bold;
}

.chapter-section {
	margin-bottom: 100px;
}

@media screen and (min-width: 1280px) {
	.chapter-section {
		margin-bottom: 160px;
	}
}

@media screen and (min-width: 1280px) {
	.section-header-ttl {
		position: sticky;
		top: 20px;
		transition: top .25s cubic-bezier(0.65, 0.05, 0.36, 1);
		
		.scroll-up & {
			top: 100px;
		}
	}
}

.svg-filter {
	position: absolute;
	width: 0;
	height: 0;
}

/* --------------------------------------------------------- */

.carousel {
	position: relative;
	overflow: hidden;
	mix-blend-mode: multiply;
}

/* --------------------------------------------------------- */

.h-dot::before {
	
}

/* --------------------------------------------------------- */

.d-glid {
	--line-color: color-mix(in srgb, var(--color-txt) 10%, transparent);
	--obj-color: color-mix(in srgb, var(--color-txt) 30%, transparent);
}

/* --------------------------------------------------------- */
/* KV */

.kv {
	position: relative;
	/*position: sticky;
	top: 0;*/
	width: 100%;
	height: 100vh;
	margin-bottom: 80px;
	background-color: var(--color-bg);
	color: var(--color-txt);
	z-index: 0;
	overflow: hidden;
	mix-blend-mode: multiply;
	
	&::before,
	&::after {
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		content: "";
		pointer-events: none;
	}
	
	&::before {
		background: linear-gradient(0deg, #ff0000, #a88231, rgba(0,0,0,1), #003e9b, #ff0000);
		background-size: 400% 400%;
		animation: kvGradient 20s ease infinite;
		z-index: 5;
		mix-blend-mode: color;
	}
	
	&::after {
		background: linear-gradient(to bottom, color-mix(in srgb, var(--color-bg) 0%, transparent) 0%, var(--color-bg) 100%);
		z-index: 6;
	}
}

@media screen and (min-width: 1280px) {
	.kv {
		margin-bottom: 120px;
	}
}


.kv-ttl-container {
	position: absolute;
	top: auto;
	bottom: 40px;
	left: 0;
	right: 0;
	display: block;
	width: calc(100% - 50px);
	margin: auto;
	z-index: 10;
	font-weight: bolder;
}

.kv-ttl {
	margin-bottom: 20px;
	font-size: clamp(3.75rem, 1.1201rem + 11.6883vw, 15rem); /* 360px - 1900px / 60px - 240px*/
	font-family: "DIN Next LT W01 Bold", "Roboto", sans-serif;
	letter-spacing: -0.025em;
	line-height: 1.1;
	opacity: 0;
	font-family: inherit;
	
	& .tm {
		font-size: 60%;
		vertical-align: top;
	}
}

.kv-subttl {
	font-size: clamp(1.75rem, 1.4578rem + 1.2987vw, 3rem); /* 360px - 1900px / 28px - 48px*/
	line-height: 1.2;
	font-family: inherit;
}

.kv-copy {
	font-size: clamp(1.75rem, 1.4578rem + 1.2987vw, 3rem); /* 360px - 1900px / 28px - 48px*/
	line-height: 1.2;
	font-family: inherit;
}

.kv-text-inner {
	display: inline-block;
}

@media screen and (min-width: 1280px) {
	
	.kv-ttl-container {
		width: calc(100% - 160px);
		bottom: 80px;
	}
	
	.kv-scroll-navigate-container {
		width: calc(100% - 80px);
		bottom: -40px;
	}
}



.kv__mainimg {
	position: absolute;
	inset: 0;
	width: 100%;
	z-index: 2;
	mix-blend-mode: multiply;
	filter: grayscale(1);
	pointer-events: none;
	
	& img {
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		animation: kvObjectMoving 20s ease-in-out infinite alternate;
		object-fit: contain;
		
		&:nth-child(odd) {
			animation-name: kvObjectMovingReverse;
		}
	}
	
	& .l {
		inset: 0 auto auto 0;
		object-position: left top;
	}
	
	& .r {
		inset: auto 0 0 auto;
		object-position: right 0 bottom 50px;
	}

	&.-bg {
		& img {
			animation: kvObjectMovingReverse 30s ease-in-out infinite alternate;
			
			&:nth-child(odd) {
				animation-name: kvObjectMoving;
			}
		}
	}
	
	animation: perlinNoise 0.25s linear infinite;
	animation-name: perlinNoise;
}


.kv-anm {
	opacity: 0;
}

.load .kv-anm {
	animation: showKvTxt 1s linear;
	animation-fill-mode: both;
}

.kv .kv-anm:nth-of-type(1) { animation-delay: 0.2s; }
.kv .kv-anm:nth-of-type(2) { animation-delay: 0.4s; }
.kv .kv-anm:nth-of-type(3) { animation-delay: 0.6s; }
.kv .kv-anm:nth-of-type(4) { animation-delay: 0.8s; }
.kv .kv-anm:nth-of-type(5) { animation-delay: 1.0s; }
.kv .kv-anm:nth-of-type(6) { animation-delay: 1.2s; }

@keyframes kvGradient {
	  0% { background-position: 50% 0% }
	 50% { background-position: 50% 100% }
	100% { background-position: 50% 0% }
}

@keyframes kvObjectMoving {
	  0% { transform: translateY(50px); }
	 50% { transform: translateY(-50px); }
}

@keyframes kvObjectMovingReverse {
	  0% { transform: translateY(-50px); }
	 50% { transform: translateY(50px); }
}

@keyframes perlinNoise {
	0% {
		filter:url("#perlinNoise1")
	}
	20% {
		filter:url("#perlinNoise2")
	}
	30% {
		filter:url("#perlinNoise3")
	}
	40% {
		filter:url("#perlinNoise4")
	}
	50% {
		filter:url("#perlinNoise5")
	}
	60% {
		filter:url("#perlinNoise6")
	}
	70% {
		filter:url("#perlinNoise7")
	}
	80% {
		filter:url("#perlinNoise8")
	}
	90% {
		filter:url("#perlinNoise9")
	}
	100% {
		filter:url("#perlinNoise10")
	}
}

/* Image */

.img-reel {
	position: absolute;
	top: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: auto;
	padding: 0;
	font-size: 0;
	line-height: 0;
	list-style: none;
	overflow: hidden;
	background-color: var(--color-bg);
	
	
	& .img-reel__item {
		position: absolute;
		margin: 0;
		padding: 0;
		font-size: 0;
		line-height: 0;
		top: 0;
		height: 100%;
		width: 100%;
		background-position: 0 center;
		
		animation-duration: 7s;
		animation-delay: 0s;
		animation-timing-function: ease-out;
		animation-fill-mode: forwards;
		animation-iteration-count: 1;
		opacity: 0;
		z-index: 1;
	}
	
	& .img-reel__item-inner {
		height: 100%;
		width: 100%;
	}
	
	& .img-reel__item-bg.img {
		display: none;
	}
	
	& .img-reel__item-bg.video {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	& .img-reel__item.current {
		z-index: 2;
		animation-name: showImage;
	}
	
	& .img-reel__item.prev {
		z-index: 2;
		animation-name: hideImage;
	}
	
	& .img-reel__item-inner {
		position: absolute;
		left: -50px;
		top: 0;
		width: calc(100% + 100px);
		height: 100%;
		
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
		
		transform: translate3d(0, 0, 0);
		transform-origin: center center;
		
		animation: inherit;
		animation-timing-function: linear;
	}
	
	& .img-reel__item.current .img-reel__item-inner {
		animation-name: showTranslateBG;
	}
	
	& .img-reel__item.prev .img-reel__item-inner {
		animation-name: hideTranslateBG;
	}
}


@keyframes showImage {
	0% {
		opacity: 0;
	}
	
	50% {
		opacity: 1;
	}
	
	100% {
		opacity: 1;
	}
}

@keyframes hideImage {
	0% {
		opacity: 1;
	}
	
	50% {
		opacity: 0;
	}
	
	100% {
		opacity: 0;
	}
}

@keyframes showTranslateBG {
	0%   {transform: translate3d(250px, 0px, 0) ;}
	100% {transform: translate3d(0, 0, 0) ;}
}

@keyframes hideTranslateBG {
	0%   {transform: translate3d(0, 0, 0) ;}
	100% {transform: translate3d(-250px, -0px, 0) ;}
}

/* --------------------------------------------------------- */

.pageintro {
	
}

.pageintro__ttl {
	font-size: clamp(1.75rem, 1.4578rem + 1.2987vw, 3rem); /* 360px - 1900px / 28px - 48px*/
	font-weight: bold;
}

/* --------------------------------------------------------- */

.columnblock {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	
	& .columnblock__item {
		display: flex;
		flex-direction: column;
		gap: 20px;
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 3;
		padding: 20px;
		
		& > * {
			margin: 0;
			padding: 0;
		}
	}
	
	& .img {
		display: block;
		width: 100%;
		
		& img {
			display: block;
			width: 100%;
		}
	}
	
	& .body {
		& > * {
			margin: 0;
			padding: 0;
		}
	}
	
	& .body__ttl {
		font-weight: bold;
		font-size: 120%;
		line-height: 1.6;
	}
	
	& .body__txt {
		
	}
	
	& .-iconblock {
		gap: 5px;
		
		& dt {
			display: flex;
			flex-direction: column;
			gap: 10px;
			font-size: 120%;
			font-weight: bold;
		}
		
		& .icon {
			width: clamp(3.75rem, 2.8734rem + 3.8961vw, 7.5rem);;
			height: clamp(3.75rem, 2.8734rem + 3.8961vw, 7.5rem);;
			border: 1px solid var(--color-line);
			padding: 20px;
			stroke-width: 0.8;
			border-radius: 20px;
		}
		
		& .num {
			position: absolute;
			inset: 1em 1em auto auto;
			display: inline-flex;
			align-items: baseline;
			gap: 0.25em;
			font-size: 60%;
			line-height: 1;
			font-weight: bold;
			text-transform: uppercase;
			
			&::before {
				display: block;
				content: "";
				width: 1.5em;
				height: 1px;
				background-color: currentColor;
			}
		}
	}
}

@media screen and (min-width: 768px) {
	
	.columnblock {
		grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
	}
}

/* --------------------------------------------------------- */

.subsection-sbs {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.subsection-sbs__main {
	
}

.subsection-sbs__sub {
	
}

@media screen and (min-width: 768px) {
	.subsection-sbs {
		flex-direction: row;
	}
	
	.subsection-sbs__main {
		width: 65%;
	}
	
	.subsection-sbs__sub {
		width: 35%;
	}
}

/* --------------------------------------------------------- */

.table {
	width: 100%;
	border-collapse: collapse;
	
	& .table__head {
		
	}
	
	& .table__body {
		
	}
	
	& .table__item {
		border-top: 1px solid var(--color-line);
		
		&:last-child {
			border-bottom: 1px solid var(--color-line);
		}
		
		& th {
			padding-block: 5px;
			min-width: 6em;
			text-align: left;
		}
		
		& td {
			padding-block: 5px;
		}
	}
}

/* --------------------------------------------------------- */

.compare {
	width: 100%;
	display: flex;
	font-feature-settings: "palt";
	
	& .compare__item {
		display: flex;
		border-top: 1px solid var(--color-line);
		flex-direction: column;
		align-items: center;
		flex: 1;
		text-align: center;
		color: color-mix(in srgb, currentColor 50%, transparent);
		padding-block-start: 10px;
		
		& dt {
			margin: 0;
			font-size: 80%;
		}
		
		& dd {
			margin: 0;
			padding: 0;
		}
	
		&:has([data-icon=icon_geometry_double-circle]),
		&:has([data-icon=icon_geometry_circle]) {
			font-weight: bold;
			color: var(--color-txt);
		}
	}
	
	& [data-icon=icon_geometry_double-circle] {
		color: rgb(104, 195, 0);
		stroke-width: 2.5;
	}
	
	& [data-icon=icon_geometry_circle] {
		color: rgb(0, 170, 170);
		stroke-width: 2;
	}
	
	& [data-icon=icon_geometry_triangle] {
		
	}
}

/* --------------------------------------------------------- */

.faq {
	
	& .faq__item {
		padding-block: 15px;
		border-bottom: 1px solid var(--color-line);
	}
	
	& .faq__q {
		display: flex;
		gap: 1em;
		margin: 0;
		padding: 0;
		font-weight: bold;
	}
	
	& .faq__a {
		display: flex;
		gap: 1em;
		margin: 0;
		padding: 0;
	}
	
	& .lbl {
		width: 1.5em;
		font-weight: bold;
	}
	
	& .txt {
		
	}
}

/* --------------------------------------------------------- */

.contact-module__item {
	width: 100%;
}

.contact-phone__num {
	font-size: 200%;
}

@media screen and (min-width: 768px) {
	.contact-phone__num {
		font-size: 300%;
	}
}

@media screen and (min-width: 1280px) {
	
	.contact-phone {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	
	.contact-module__txt {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
}

@media screen and (min-width: 1600px) {
	
	.contact-phone__num {
		font-size: 400%;
	}
}

@media screen and (min-width: 1900px) {
	
	.contact-phone__num {
		font-size: 500%;
	}
}