@charset "UTF-8";

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

ul,
ol {
	list-style: none;
}

a {
	color: inherit;
}

:root {
	--width-content: 128rem;
	--width-narrow: 96rem;
	--space-section: 12rem;
	--space-page-top: calc(var(--space-section) + 4.8rem);
	--space-gutter: 4rem;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);

	--font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;

	--theme-color: #9364dd;
	--theme-color-dark: oklch(from var(--theme-color) calc(l - 0.08) c h);
	--theme-color-soft: oklch(from var(--theme-color) 95% 0.03 h);
	--theme-color-pale: oklch(from var(--theme-color) 98% 0.012 h);

	--theme-gradient-base: var(--theme-color-pale);
	--theme-gradient-1: oklch(from var(--theme-color) 78% 0.11 h);
	--theme-gradient-hue-shift-2: 35;
	--theme-gradient-hue-shift-3: -80;
	--theme-gradient-hue-unit: 1;
	--theme-gradient-2: oklch(from var(--theme-color) 85% 0.09 calc(h + var(--theme-gradient-hue-shift-2) * var(--theme-gradient-hue-unit)));
	--theme-gradient-3: oklch(from var(--theme-color) 86% 0.08 calc(h + var(--theme-gradient-hue-shift-3) * var(--theme-gradient-hue-unit)));
	--theme-gradient-4: oklch(from var(--theme-color) 62% 0.14 h);

	--color-text: #333;
	--color-text-muted: oklch(from var(--theme-color) 55% 0.02 h);
	--color-border: oklch(from var(--theme-color) 90% 0.02 h);
	--color-error: oklch(55% 0.19 27);
}

@supports (color: oklch(from red 50% 0.1 calc(h + 40deg))) {
	:root {
		--theme-gradient-hue-unit: 1deg;
	}
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

::selection {
	background: var(--theme-color-soft);
}

html {
	font-size: max(min(calc(100vw / 1440 * 10), 10px), calc(100vw / 1920 * 10));
	scroll-behavior: smooth;
	scroll-padding-top: 10rem;
}

@media screen and (max-width: 767px) {
	html {
		font-size: calc(100vw / 375 * 10);
	}
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	background: #fff;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1.6rem;
	line-height: 1.8;
}

main {
	flex: 1 0 auto;
}

.site-header {
	position: fixed;
	top: 1.6rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	width: min(120rem, calc(100% - 3.2rem));
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(0, 0, 0, 0.05);

	border-radius: 3.6rem;
	transition: opacity 0.4s;
}

body:has(.hero) .site-header:not(.is-visible) {
	opacity: 0;
	pointer-events: none;
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.6rem 3.2rem;
}

.site-header__logo {
	line-height: 0;
}

.site-header__logo img {
	width: auto;
	height: 4rem;
}

.site-header__menu-button {
	position: absolute;
	top: 50%;
	right: 3.2rem;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.6rem;
	width: 4rem;
	height: 4rem;
	border: none;
	background: none;
	cursor: pointer;
}

.site-header__menu-line {
	height: 1px;
	background: var(--color-text);
	transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.site-header.is-open .site-header__menu-line:nth-child(1) {
	transform: translateY(calc(0.6rem + 1px)) rotate(45deg);
}

.site-header.is-open .site-header__menu-line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.site-header.is-open .site-header__menu-line:nth-child(3) {
	transform: translateY(calc(-0.6rem - 1px)) rotate(-45deg);
}

.site-header__nav {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows 0.35s var(--ease-out), visibility 0s 0.35s;
}

.site-header.is-open .site-header__nav {
	grid-template-rows: 1fr;
	visibility: visible;
	transition-delay: 0s;
}

.site-header__nav-inner {
	min-height: 0;
	overflow: hidden;
}

.site-header__nav-list {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	padding: 0.8rem 3.2rem 2.8rem;
	opacity: 0;
	transform: translateY(-0.8rem);
	transition: opacity 0.2s, transform 0.35s var(--ease-out);
	font-size: 1.6rem;
	font-weight: bold;
	letter-spacing: 0.06em;
	text-align: center;
}

.site-header.is-open .site-header__nav-list {
	opacity: 1;
	transform: none;
	transition-delay: 0.05s;
}

.site-header__nav-list a {
	text-decoration: none;
}

.site-header__nav-list a:hover {
	color: var(--theme-color);
}

.site-footer {
	padding: 4.8rem 0 3.2rem;
	background: #111;
	color: #fff;
}

.site-footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2.4rem;
	max-width: var(--width-content);
	margin-inline: auto;
	padding-inline: var(--space-gutter);
}

.site-footer__logo {
	line-height: 0;
}

.site-footer__logo img {
	width: auto;
	height: 6.4rem;

	filter: brightness(0) invert(1);
}

.site-footer__name {
	margin-top: 1.6rem;
	font-size: 1.4rem;
	font-weight: bold;
}

.site-footer__description {
	max-width: 44rem;
	margin-top: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.1rem;
	line-height: 1.8;
}

.site-footer__links {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(3, auto);
	gap: 1.2rem 4rem;
	flex-shrink: 0;
	font-size: 1.4rem;
}

.site-footer__links a {
	text-decoration: none;
}

.site-footer__links a:hover {
	text-decoration: underline;
}

.site-footer__copyright {
	margin-top: 4rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.2rem;
	text-align: center;
}

.section {
	padding-block: var(--space-section);
}

.section--tint {
	background: var(--theme-color-pale);
}

.section__inner {
	max-width: var(--width-content);
	margin-inline: auto;
	padding-inline: var(--space-gutter);
}

.section__grid {
	display: grid;
	grid-template-columns: 44rem minmax(0, 1fr);
	gap: 4.8rem 6.4rem;
	align-items: start;
}

.section__heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
}

.section__heading-en {
	color: var(--theme-color);
	font-family: var(--font-display);
	font-size: 9.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 0.95;
}

.section__heading-ja {
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: 0.06em;
}

.hero {
	position: relative;
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;

	background:
		radial-gradient(60% 60% at 20% 30%, var(--theme-gradient-1), transparent 70%),
		radial-gradient(50% 50% at 80% 25%, var(--theme-gradient-2), transparent 70%),
		radial-gradient(55% 55% at 70% 80%, var(--theme-gradient-3), transparent 70%),
		var(--theme-gradient-base);

	mask-image: linear-gradient(#000 72%, transparent);
	-webkit-mask-image: linear-gradient(#000 72%, transparent);

	opacity: var(--hero-bg-opacity, 1);
}

.hero__canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.hero__inner {
	display: grid;
	place-items: center;
	height: 100svh;
}

.hero__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.4rem;
}

.hero__logo {
	width: min(32rem, 60vw, 48svh);
	line-height: 0;
}

.hero__name {
	font-size: 1.6rem;
	font-weight: normal;
	letter-spacing: 0.12em;
}

.hero__scroll {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.2rem;
	text-decoration: none;
}

.hero__scroll-label {
	padding-left: 0.2em;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1;
}

.hero__scroll-line {
	position: relative;
	width: 1px;
	height: min(6.4rem, 10svh);
	overflow: hidden;
	background: rgba(51, 51, 51, 0.15);
}

.hero__scroll-line::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--color-text);
	animation: hero-scroll-line 2s ease-in-out infinite;
}

@keyframes hero-scroll-line {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__scroll-line::before {
		animation: none;
	}
}

.hero__logo .logo {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.logo__part {
	fill: currentColor;
}

.logo__draw {
	fill: none;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.logo__part--flower {
	transform-box: fill-box;
	transform-origin: 12% 100%;
}

.logo__part--idot {
	transform-box: fill-box;
	transform-origin: 50% 50%;
}

.js .hero {
	--hero-bg-opacity: 0;
}

.js .hero .logo__draw {
	stroke-dasharray: 1 2;
	stroke-dashoffset: 1.05;
}

.js .hero .logo__part--flower,
.js .hero .logo__part--idot,
.js .hero .hero__name,
.js .hero .hero__scroll {
	opacity: 0;
}

.logo__draw--fstem { --t: 0s; --d: 0.1s; }
.logo__draw--fcross { --t: 0.1s; --d: 0.08s; }
.logo__draw--fbar { --t: 0.18s; --d: 0.2s; }
.logo__draw--leur { --t: 0.38s; --d: 0.46s; }
.logo__draw--la { --t: 0.82s; --d: 0.36s; }
.logo__draw--p { --t: 1.16s; --d: 0.3s; }
.logo__draw--in { --t: 1.44s; --d: 0.12s; }
.logo__part--idot { --t: 1.54s; }
.logo__draw--rabbit { --t: 0.88s; --d: 0.46s; }
.logo__draw--ear { --t: 1.28s; --d: 0.32s; }
.logo__part--flower { --t: 1.58s; }

.hero.is-playing .logo__draw {
	animation: logo-draw var(--d) linear var(--t) forwards;
}

.hero.is-playing .logo__part--flower {
	animation: logo-bloom 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) var(--t) forwards;
}

.hero.is-playing .logo__part--idot {
	animation: logo-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) var(--t) forwards;
}

.hero.is-drawn .hero__name {
	animation: hero-name-rise 0.8s var(--ease-out) 0.1s forwards;
}

.hero.is-drawn .hero__scroll {
	animation: hero-scroll-fade 0.8s var(--ease-out) 0.6s forwards;
}

@keyframes logo-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes logo-bloom {
	from {
		opacity: 0;
		transform: scale(0.3) rotate(-12deg);
	}

	25% {
		opacity: 1;
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes logo-pop {
	from {
		opacity: 0;
		transform: scale(0);
	}

	60% {
		opacity: 1;
		transform: scale(1.3);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes hero-name-rise {
	from {
		opacity: 0;
		transform: translateY(0.8rem);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes hero-scroll-fade {
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.js .hero {
		--hero-bg-opacity: 1;
	}

	.js .hero .logo__draw,
	.hero.is-playing .logo__draw {
		stroke-dashoffset: 0;
		animation: none;
	}

	.js .hero .logo__part,
	.js .hero .hero__name,
	.js .hero .hero__scroll,
	.hero.is-playing .logo__part,
	.hero.is-drawn .hero__name,
	.hero.is-drawn .hero__scroll {
		opacity: 1;
		animation: none;
	}
}

.news {
	overflow: hidden;
}

.news__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2.4rem;
	margin-bottom: 4.8rem;
}

.news-marquee__track {
	display: flex;
	width: max-content;
	will-change: transform;

	animation: news-marquee calc(var(--set-count, 4) * 12s) linear infinite;
}

.js .news-marquee__track {
	animation-name: none;
}

.news-marquee.is-draggable {
	touch-action: pan-y;
	user-select: none;
	cursor: grab;
}

.news-marquee.is-dragging,
.news-marquee.is-dragging .news-card {
	cursor: grabbing;
}

.news-marquee:hover .news-marquee__track,
.news-marquee:focus-within .news-marquee__track {
	animation-play-state: paused;
}

.news-marquee__item {
	flex: 0 0 auto;
	width: 48rem;

	margin-inline-end: 2.4rem;
}

@keyframes news-marquee {
	to {
		transform: translateX(calc(-100% / var(--copies, 2)));
	}
}

@media (prefers-reduced-motion: reduce) {
	.news-marquee {
		overflow-x: auto;

		padding-inline: max(var(--space-gutter), calc((100% - var(--width-content)) / 2 + var(--space-gutter)));
	}

	.news-marquee__track {
		animation: none;
	}

	.news-marquee__item[aria-hidden="true"] {
		display: none;
	}
}

.news__empty {
	margin-top: 4.8rem;
}

.news-card {
	display: block;
	text-decoration: none;
}

.news-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 0.8rem;
	background: var(--theme-color-soft);
}

.news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.news-card:hover .news-card__thumb img {
	transform: scale(1.05);
}

.news-date {
	display: block;
	color: var(--theme-color);
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
}

.news-card .news-date {
	margin-top: 1.6rem;
}

.news-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin-top: 0.8rem;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.6;
}

.news-archive__inner {
	max-width: var(--width-content);
	margin-inline: auto;
	padding: var(--space-page-top) var(--space-gutter) var(--space-section);
}

.news-archive .section__heading {
	margin-bottom: 4.8rem;
}

.news-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3.2rem;
}

.news-archive__empty {
	text-align: center;
}

.news-archive .pagination {
	margin-top: 6.4rem;
}

.news-archive .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.8rem;
}

.news-archive .page-numbers {
	display: grid;
	place-items: center;
	min-width: 3.6rem;
	height: 3.6rem;
	border-radius: 0.4rem;
	text-decoration: none;
}

.news-archive .page-numbers.current {
	background: var(--theme-color);
	color: #fff;
}

.news-single {
	position: relative;
	isolation: isolate;
}

.news-single__backdrop {
	position: absolute;
	inset: 0 0 auto;
	z-index: -1;
	height: 80rem;
	overflow: hidden;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent);
	mask-image: linear-gradient(to bottom, #000 20%, transparent);
}

.news-single__backdrop img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.3);
	filter: blur(8rem) saturate(1.4);
	opacity: 0.45;
}

.news-single__article {
	max-width: var(--width-narrow);
	margin-inline: auto;
	padding: var(--space-page-top) var(--space-gutter) var(--space-section);
}

.news-single__thumb {
	overflow: hidden;
	border-radius: 1.2rem;
	line-height: 0;
}

.news-single__thumb img {
	width: 100%;
	max-height: 54rem;
	object-fit: cover;
}

.news-single__header {
	margin-top: 4rem;
}

.news-single__title {
	margin-top: 1.2rem;
	font-size: 3.2rem;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.news-single__article .page__content {
	margin-top: 5.6rem;
}

.news-single__footer {
	margin-top: 8rem;
	padding-top: 4.8rem;
	border-top: 1px solid var(--color-border);
	text-align: center;
}

.about__statement {
	font-size: 3.6rem;
	font-weight: bold;
	font-feature-settings: "palt";
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.about__text {
	max-width: 60rem;
	margin-top: 2.4rem;
	line-height: 2;
}

.about__statement + .about__text {
	margin-top: 3.2rem;
}

.services__head {
	margin-bottom: 4.8rem;
}

.services__lead {
	max-width: 56rem;
}

.services__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4rem;
}

.service-card {
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: 1.2rem;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.service-card__image {
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	line-height: 0;
}

.service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.service-card:hover .service-card__image img {
	transform: scale(1.03);
}

.service-card:hover .button {
	background: var(--theme-color);
	color: #fff;
}

.service-card__body {
	padding: 3.2rem;
}

.service-card__tag {
	color: var(--theme-color);
	font-size: 1.2rem;
	font-weight: bold;
	letter-spacing: 0.08em;
}

.service-card__name {
	margin-top: 0.4rem;
	font-family: var(--font-display);
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.2;
}

.service-card__text {
	margin-top: 1.2rem;
}

.service-card__body .button {
	margin-top: 2.4rem;
}

.company__table {
	border-top: 1px solid var(--color-border);
}

.company__row {
	display: grid;
	grid-template-columns: 18rem 1fr;
	gap: 1.6rem;
	padding: 2rem 0.8rem;
	border-bottom: 1px solid var(--color-border);
}

.company__label {
	font-weight: bold;
}

.contact__lead {
	margin-bottom: 4rem;
}

.contact__form {
	max-width: 64rem;
}

.form-field {
	margin-bottom: 2.4rem;
}

.form-field__label {
	display: block;
	margin-bottom: 0.8rem;
	font-weight: bold;
}

.form-field__input {
	width: 100%;
	padding: 1.2rem 1.6rem;
	border: 1px solid var(--color-border);
	border-radius: 0.4rem;
	background: #fff;
	font: inherit;
}

.form-field__input:focus {
	border-color: var(--theme-color);
	outline: 1px solid var(--theme-color);
}

.form-field__input--textarea {
	resize: vertical;
}

.form-field__required {
	display: inline-block;
	margin-left: 0.8rem;
	padding: 0 0.6rem;
	border-radius: 0.2rem;
	background: var(--theme-color);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1.8;
	vertical-align: 0.2rem;
}

.contact__submit {
	display: flex;
	align-items: center;
}

.contact__submit .button {
	padding: 1.4rem 6.4rem;
}

.wpcf7-form-control-wrap {
	display: block;
}

.form-field__input[aria-invalid="true"] {
	border-color: var(--color-error);
}

.wpcf7-not-valid-tip {
	margin-top: 0.6rem;
	color: var(--color-error);
	font-size: 1.3rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 3.2rem 0 0;
	padding: 1.2rem 1.6rem;
	border-width: 1px;
	border-radius: 0.4rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--theme-color);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--color-error);
}

.page__article {
	max-width: var(--width-narrow);
	margin-inline: auto;
	padding: var(--space-section) var(--space-gutter);
}

.page__title {
	margin-bottom: 4.8rem;
	font-size: 2.8rem;
	text-align: center;
}

.not-found__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: var(--width-narrow);
	margin-inline: auto;
	padding: var(--space-page-top) var(--space-gutter) var(--space-section);
	text-align: center;
}

.not-found .section__heading {
	align-items: center;
	gap: 1.6rem;
}

.not-found .section__heading-en {
	font-size: 16rem;
	letter-spacing: 0.02em;
}

.not-found__text {
	margin-top: 3.2rem;
	color: var(--color-text-muted);
	font-size: 1.5rem;
}

.not-found__text span {
	display: inline-block;
}

.not-found__action {
	margin-top: 4.8rem;
}

@view-transition {
	navigation: auto;
}

::view-transition-old(root) {
	animation: page-fade-out 0.2s ease both;
}

::view-transition-new(root) {
	animation: page-fade-in 0.35s var(--ease-out) both;
}

@keyframes page-fade-out {
	to {
		opacity: 0;
	}
}

@keyframes page-fade-in {
	from {
		opacity: 0;
	}
}

.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	width: 0;
	height: 0.3rem;

	background: linear-gradient(
		90deg,
		var(--theme-color),
		oklch(from var(--theme-color) 68% 0.16 calc(h + var(--theme-gradient-hue-shift-2) * var(--theme-gradient-hue-unit))),
		oklch(from var(--theme-color) 72% 0.13 calc(h + var(--theme-gradient-hue-shift-3) * var(--theme-gradient-hue-unit)))
	);
	background-size: 100vw 100%;
	background-repeat: no-repeat;
	opacity: 0;
	pointer-events: none;
}

.is-navigating .page-loader,
.is-arriving .page-loader {
	opacity: 1;
	view-transition-name: page-loader;
}

::view-transition-old(page-loader),
::view-transition-new(page-loader) {
	height: 100%;
}

.is-arriving .page-loader {
	width: 100%;
	animation: page-loader-done 0.9s ease forwards;
}

.is-navigating .page-loader {
	animation: page-loader-progress 5s var(--ease-out) forwards;
}

@keyframes page-loader-progress {
	from {
		width: 0;
	}

	to {
		width: 92%;
	}
}

@keyframes page-loader-done {
	0%,
	55% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.js [data-reveal],
.js [data-reveal-group] > * {
	opacity: 0;
	transform: translateY(2.4rem);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js [data-reveal-group] > * {
	transition-delay: calc(var(--reveal-index, 0) * 90ms);
}

.js [data-reveal].is-visible,
.js [data-reveal-group].is-visible > * {
	opacity: 1;
	transform: none;
}

.js .section__heading[data-reveal] {
	opacity: 1;
	transform: none;
	transition: none;
}

.js .section__heading-char {
	color: transparent;
}

.js .section__heading.is-visible .section__heading-char {
	animation: heading-char-color 0.9s ease-out both;
	animation-delay: calc(var(--char-index, 0) * 45ms);
}

@keyframes heading-char-color {
	0% {
		color: transparent;
	}

	25% {
		color: var(--theme-gradient-3);
	}

	45% {
		color: var(--theme-gradient-2);
	}

	65% {
		color: var(--theme-gradient-1);
	}

	85% {
		color: var(--theme-gradient-4);
	}

	100% {
		color: var(--theme-color);
	}
}

.js .section__heading-ja {
	opacity: 0;
	transform: translateY(1.2rem);
	transition: opacity 0.6s var(--ease-out) 0.35s, transform 0.6s var(--ease-out) 0.35s;
}

.js .section__heading.is-visible .section__heading-ja {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	::view-transition-old(root),
	::view-transition-new(root) {
		animation: none;
	}

	.site-header__nav,
	.site-header__nav-list,
	.site-header__menu-line {
		transition: none;
	}

	.js [data-reveal],
	.js [data-reveal-group] > *,
	.js .section__heading-ja {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.js .section__heading-char {
		color: inherit;
		animation: none;
	}
}

@media screen and (max-width: 767px) {
	:root {
		--space-section: 7.2rem;
		--space-gutter: 2.4rem;
	}

	.section__grid {
		grid-template-columns: 1fr;
		gap: 3.2rem;
	}

	.section__heading-en {
		font-size: 5.6rem;
	}

	.news__head {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 3.2rem;
	}

	.news-marquee__item {
		width: 26rem;
		margin-inline-end: 1.6rem;
	}

	.about__statement {
		font-size: 2.6rem;
	}

	.services__head {
		margin-bottom: 3.2rem;
	}

	.services__list,
	.news-list {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}

	.news-single__backdrop {
		height: 48rem;
	}

	.news-single__thumb {
		border-radius: 0.8rem;
	}

	.news-single__header {
		margin-top: 2.4rem;
	}

	.news-single__title {
		font-size: 2.4rem;
	}

	.news-single__article .page__content {
		margin-top: 4rem;
	}

	.not-found .section__heading-en {
		font-size: 9.6rem;
	}

	.not-found__text {
		margin-top: 2.4rem;
	}

	.not-found__action {
		margin-top: 4rem;
	}

	.service-card__body {
		padding: 2.4rem;
	}

	.company__row {
		grid-template-columns: 1fr;
		gap: 0;
		padding-inline: 0;
	}

	.site-header {
		border-radius: 2.8rem;
	}

	.site-header__inner {
		padding: 1.2rem 2.4rem;
	}

	.site-header__logo img {
		height: 3.2rem;
	}

	.site-header__menu-button {
		right: 2.4rem;
		width: 3.2rem;
		height: 3.2rem;
	}

	.site-header__nav-list {
		padding: 0.4rem 2.4rem 2.4rem;
	}

	.site-footer__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.site-footer__links {
		justify-content: center;

		column-gap: 2.4rem;
		white-space: nowrap;
	}
}
