* {
	/*outline: 1px solid red;*/
}

:root {
	/* Colors */
	--color-black: #000;
	--color-white: #fff;
	--color-purple: #240248;
	--color-green: #047373;
	--color-gold: #bfa85a;
	--color-cta-bg: #999;
	--color-gray-bg: #e6e6e6;
	--color-brown: #4e3200;
	--color-text-dark: #333;

	/* Fonts */
	--font-base: "Bellefair", "Zen Kaku Gothic New", Helvetica, Arial, sans-serif;
	--font-heading: "Aboreto", "Shippori Mincho", serif;
	--font-bellefair: "Bellefair", serif;

	/* Font sizes */
	--font-base-pc: clamp(1rem, 1.25vw, 18px);
	--font-base-sp: 3.75vw;

	/* Other */
	--container-padding: 2rem;
}

html {
	font-size: 16px;
}

body {
	font-family: var(--font-base);
	font-size: var(--font-base-pc);
	color: var(--color-white);
	//background: var(--color-black);
	letter-spacing: 0.05em;
	margin: 0;
}

@media (max-width: 1023px) {
	html {
		font-size: 14px;
	}
}

@media (max-width: 479px) {
	body {
		font-size: var(--font-base-sp);
	}
}

.fadein {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}

/* active クラスが付与されたらフェードイン */
.fadein.active {
	opacity: 1;
	transform: translateY(0);
}

/* Hero Section */
.hero {
	position: relative;
	padding: 4vw 4vw 20vw 4vw;
}

.hero__title--parent {
	margin-bottom: 0.6em;
}
.hero__title {
	position: relative;
	font-family: var(--font-heading);
	font-size: clamp(2rem, 6vw, 10rem);
	color: rgba(255, 255, 255, 0.15);
	line-height: 1.3;
}

.hero__title::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	filter: blur(0);
	line-height: 1.2;
	clip-path: circle(0% at 0% 50%);
	-webkit-clip-path: circle(0% at 0% 50%);
	transition: clip-path 1.5s ease-in-out 1s, -webkit-clip-path 1.5s ease-in-out 1s;
}

.hero__title.is-visible::after {
	clip-path: circle(150% at 0% 50%);
	-webkit-clip-path: circle(150% at 0% 50%);
}

.hero__subtitle {
	font-family: var(--font-heading);
	font-size: clamp(1.6rem, 2vw, 4rem);
	margin-bottom: 2rem;
}

.hero__image {
	position: absolute;
	width: 60%;
	right: 0;
	bottom: -6vw;
	aspect-ratio: 16 / 6;
}
.hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.why {
	padding: 4vw;
	margin: 0 auto;
}

.why__title {
	font-family: var(--font-heading);
	font-size: clamp(1.6rem, 4vw, 8rem);
	margin-bottom: 1rem;
}

.why__text {
	width: 82%;
	font-size: clamp(1.6rem, 3vw, 6rem);
	line-height: 1.8;
}

@media (max-width: 768px) {
	.hero {
		padding: 10vw 4vw 40vw 5vw;
	}
	.hero__title {
		font-size: min(8vw, 2.5rem);
	}

	.hero__image {
		width: 70%;
		aspect-ratio: 16 / 10;
	}

	.why {
		padding: 8vw 5vw;
	}
	.why__title {
		font-size: min(8vw, 2.5rem);
	}
	.why__text {
		width: 100%;
		font-size: min(6vw, 2rem);
	}
}

.philosophy {
	//background-color: var(--color-purple);
	position: relative;
	overflow: hidden;
	padding: 2vw 4vw 10vw;
}

.philosophy__inner {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 15%;
}

.philosophy__text {
}

.philosophy__heading {
	font-family: var(--font-heading);
	font-size: clamp(1rem, 2vw, 1.5rem);
	margin-bottom: 0.5rem;
}

.philosophy__catch {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 4vw, 3.5rem);
}

.philosophy__desc {
	width: 30vw;
	margin-top: 2em;
}

.philosophy__desc-text {
	font-size: clamp(1rem, 1.5vw, 1.5rem);
	line-height: 2;
}

.philosophy__bg {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 0;
}

.philosophy__bg img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* SP対応 */
@media (max-width: 768px) {
	.philosophy {
		padding: 2vw 5vw 20vw;
	}
	.philosophy__inner {
		flex-direction: column;
	}

	.philosophy__text,
	.philosophy__desc {
		width: 100%;
	}

	.philosophy__catch {
		font-size: min(8vw, 2rem);
	}

	.philosophy__desc-text {
		font-size: min(3.75vw, 2rem);
	}
}

.izm {
	position: relative;
	padding: 4vw 4vw 8vw;
	background: #f5f5f5;
	overflow: hidden;
}

.izm__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 4vw, 6rem);
	display: flex;
	align-items: center;
	gap: 0.8rem;
	color: var(--color-text-dark);
}

.izm__icon {
	font-size: 160%;
}

.izm__intro {
	margin: 1rem 0 4rem;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.8;
	color: var(--color-text-dark);
}

.izm__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.izm__item {
	padding-bottom: 4rem;
	margin-bottom: 4rem;
	border-bottom: 1px solid #aaa;
}

.izm__item-title {
	font-family: var(--font-heading);
	color: var(--color-brown);
	font-size: clamp(1.25rem, 3vw, 3rem);
	margin-bottom: 0.5rem;
}

.izm__item-subtitle {
	font-family: var(--font-heading);
	font-size: clamp(1rem, 1.6vw, 2rem);
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: var(--color-brown);
}

.izm__item-text {
	font-size: clamp(1rem, 1.2vw, 1.2rem);
	color: var(--color-brown);
	line-height: 1.8;
}

.izm__bg {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 0;
}

.izm__bg img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* SP対応 */
@media (max-width: 768px) {
	.izm {
		padding: 8vw 5vw 8vw;
	}
	.izm__heading {
		flex-direction: column;
		text-align: center;
		font-size: min(7vw, 2rem);
	}

	.izm__intro {
		width: 80%;
		margin: 5vw auto 10vw;
		text-align: justify;
		font-size: min(4vw, 1.2rem);
	}
}

.circle-text {
	position: absolute;
	width: 400px; /* 円のサイズ */
	height: 400px;
	border-radius: 50%;
	top: 200px;
	right: -200px;
}

.circleText {
	overflow: visible;
}

.circleText__circle {
	fill: none;
}

.circleText__text {
	fill: #000;
	font-size: 59%;
	letter-spacing: 0.04em;

	/* 回転アニメーションを追加！ */
	transform-origin: 50% 50%;
	animation: spin 15s linear infinite;
}

/* アニメーション定義 */
@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 768px) {
	.circle-text {
		width: 200px;
		height: 200px;
		top: -80px;
		right: -100px;
	}
}
.grow {
	color: var(--color-white);
	position: relative;
	overflow: hidden;
	padding: 8vw;
}

.grow__inner {
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.grow__intro {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: 8vw;
}

.grow__text-en {
	flex: 1 1 45%;
	font-family: var(--font-bellefair);
	font-size: clamp(1.25rem, 3vw, 3rem);
	line-height: 2;
	margin-bottom: 5em;
}

.grow__text-ja {
	flex: 1 1 45%;
	font-size: clamp(1.25rem, 1.5vw, 1.5rem);
	line-height: 2;
}

.grow__concept {
	font-size: clamp(1.25rem, 1.5vw, 1.5rem);
	margin-bottom: 4rem;
}

.grow__concept-en {
	font-family: var(--font-heading);
	margin-bottom: 1rem;
}

.grow__concept-heading {
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 3vw, 3.5rem);
	margin-bottom: 1rem;
}

.grow__concept-desc {
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	line-height: 1.8;
}

.grow__services {
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-bottom: 4rem;
	text-decoration: none;
}

.grow__service {
	flex: 1 1 calc(33.333% - 1.5rem);
	border: 1px solid var(--color-gold);
	padding: 2rem;
	text-align: center;
	color: inherit;
}

.grow__service svg {
	width: 10vw;
	height: 10vw;
}

.grow__service-text {
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: 600;
	line-height: 1.8;
}

.grow__bg {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 0;
}

.grow__bg img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* SP対応 */
@media (max-width: 768px) {
	.grow__intro {
		flex-direction: column;
		margin-bottom: 20vw;
	}

	.grow__text-en {
		font-size: min(6vw, 2rem);
		margin-bottom: 0;
	}
	.grow__services {
		flex-direction: column;
	}

	.grow__service {
		flex: 1 1 100%;
	}

	.grow__concept-en {
		font-size: min(3.5vw, 1.2rem);
	}
	.grow__concept-heading {
		font-size: min(6vw, 2rem);
	}
	.grow__service svg {
		width: 20vw;
		height: 20vw;
	}
}

.dtg {
	text-align: center;
	margin-bottom: 3rem;
}

.dtg__subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	margin-bottom: 0.5rem;
}

.dtg__title {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 6vw, 10rem);
}

.cta {
	color: var(--color-white);
	position: relative;
	overflow: hidden;
	padding: var(--container-padding);
}

.cta__inner {
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.cta__cards {
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	padding: 4rem 2rem;
}

a.cta__link {
	flex: 1 1 calc(50% - 1rem);
	background-color: var(--color-white);
	text-decoration: none;
}

.cta__card {
	color: var(--color-black);
	padding: 2vw;
	position: relative;
}

.cta__card-title {
	font-size: clamp(0.9rem, 2vw, 3rem);
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.cta__card-line {
	border: none;
	border-top: 1px solid #ccc;
	margin-bottom: 1rem;
}

.cta__card-text {
	font-size: clamp(0.9rem, 1.5vw, 1rem);
	line-height: 1.8;
}

.cta__bg {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 0;
}

.cta__bg img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* SP対応 */
@media (max-width: 768px) {
	.dtg__subtitle {
		font-size: min(5vw, 1.6rem);
	}
	.cta__cards {
		flex-direction: column;
		padding: 0;
	}

	.cta__card {
		padding: 6vw;
	}
	.cta__card-title {
		font-size: min(5vw, 1.6rem);
	}
}

/* footer */
:root {
	--color-footer-nav-bg: #333;
}

.footer {
	//background-color: var(--color-black);
	color: var(--color-white);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.footer__brand {
	flex: 1 1 50%;
	display: flex;
	align-items: flex-end;
	padding: 2rem;
}

.footer__logo img {
	width: auto;
	height: auto;
	max-width: 150px;
}

.footer__name {
	font-family: var(--font-base);
	font-size: clamp(0.9rem, 5vw, 10rem);
	margin-left: 1rem;
}

.footer__nav {
	flex: 1 1 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer__nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

.footer__nav-item {
	border-bottom: 1px solid #555;
}

.footer__nav-link {
	display: block;
	padding: 2rem;
	text-align: center;
	color: var(--color-white);
	text-decoration: none;
	font-family: var(--font-heading);
	transition: background 0.3s;
}

.footer__nav-link:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

/* SP対応 */
@media (max-width: 768px) {
	.footer__brand,
	.footer__nav {
		flex: 1 1 100%;
		text-align: center;
		justify-content: center;
	}

	.footer__name {
		margin-left: 0;
	}
}

canvas#noiseCanvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none; /* 必要ならクリックを透過 */
	z-index: -1; /* 必要に応じて上げ下げ */
}
