/* ==========================================
Webフォント
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@700&display=swap');

/* ==========================================
リセット / 初期設定
========================================== */

@layer reset {
	*, *::before, *::after {
		box-sizing: border-box;
	}
	* {
		margin: 0;
		padding: 0;
	}
	html {
		color-scheme: light;
	}
	body {
		position: relative;
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}
	html, body {
		height: 100%;
		height: 100dvh;
	}
	img, picture, video, canvas, svg {
		display: block;
		max-width: 100%;
		height: auto;
	}
	input, button, textarea, select {
		font: inherit;
		color: inherit;
		background: transparent;
		border: none;
		border-radius: 0;
		padding: 0;
		-webkit-appearance: none;
		appearance: none;
	}
	button, select {
		cursor: pointer;
	}
	textarea {
		resize: vertical;
	}
	input[type="search"]::-webkit-search-decoration,
	input[type="search"]::-webkit-search-cancel-button,
	input[type="search"]::-webkit-search-results-button,
	input[type="search"]::-webkit-search-results-decoration {
		display: none;
	}
	p, h1, h2, h3, h4, h5, h6 {
		font-size: 1rem;
		font-weight: normal;
		overflow-wrap: anywhere;
		line-break: strict;
  	}
	a {
		text-decoration: none;
	}
	ul, ol {
		list-style: none;
		padding: 0;
	}
	/* 視覚効果を軽減する設定の時 */
	@media (prefers-reduced-motion: reduce) {
		html:focus-within {
			scroll-behavior: auto;
		}
		*, *::before, *::after {
			animation-duration: 0.01ms !important;
			animation-iteration-count: 1 !important;
			transition-duration: 0.01ms !important;
			scroll-behavior: auto !important;
		}
	}
}

body, html {
	width: 100%;
	background-color: #ffffff;
	font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: auto;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	font-style: normal;
}
html {
	-webkit-tap-highlight-color: transparent;
	/*
	scroll-behavior: smooth;
	*/
}
[id] {
	scroll-margin-top: 60px; // 停止位置の上部マージン
}

/* スクリーンリーダー用 */
.screen-reader-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ==========================================
背景の固定
========================================== */

.fixed-bg-section {
	position: relative;
	clip-path: inset(0);
}

.fixed-bg-section::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	height: 100svh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: -1;
	will-change: transform;
}

/* ==========================================
トップ
========================================== */

.hero-section {
	position: relative;
	width: 100%;
	height: calc(100vh - 60px);
	height: calc(100svh - 60px);
	overflow: hidden;
}
canvas {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease 0.8s;
}
/* ロゴ */
.hero-logo {
	z-index: 10;
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 280px;
	aspect-ratio: 3 / 2;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%) scale(1.2);
	/* プリローダーのフェードアウト */
	transition: opacity 1.0s ease 0.8s, transform 2.4s ease 0.8s;
	mix-blend-mode: multiply;
	h1 {
		width: 100%;
		height: 100%;
	}
}
.hero-logo svg,
.hero-logo img {
	width: 100%; 
	height: auto;
	display: block;
}
@media (min-width: 768px) {
	.hero-logo {
		width: 420px;
	}
}
/* プリローダー */
.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background-color: #ffffff;
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.4s ease, visibility 0.4s ease; /* 消える速さ */
}
.preloader-icon {
	width: 40px;
	height: auto;
	animation: preloader-spin 3.0s linear infinite; 
}
@keyframes preloader-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ==========================================
トップのアニメーションの制御
========================================== */

/* ロード完了後にコンテンツをフェードイン */
body.is-loaded .hero-logo {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}
body.is-loaded canvas {
	opacity: 1;
}
/* プリローダーをフェードアウト */
body.is-loaded .preloader {
	opacity: 0;
	visibility: hidden;
}
/* アニメ終了後の処理 */
/*
body.is-animated {
}
*/

/* ==========================================
トップのキャラのアニメーション
========================================== */

.hero-character {
	z-index: 20;
	position: absolute;
	display: block;
	left: 50%;
	bottom: 0;
	width: 140px;
	transform: translateX(-50%) translateY(100%);
	img {
		display: block;
		width: 100%;
		height: auto;
	}
}
@media (min-width: 768px) {
	.hero-character {
		width: 160px;
	}
}
/* 登場 */
.is-animated .hero-character {
	animation: popup 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
/* 退場 */
.is-animated .hero-character.is-retracting {
	animation: retract 0.3s ease-in forwards;
}
/* 登場前に退場条件を満たした場合、退場処理を無効化 */
.hero-character.is-disabled {
	animation: none !important;
	transform: translateX(-50%) translateY(100%) !important;
}
/* キーフレーム */
@keyframes popup {
	0%   { transform: translateX(-50%) translateY(100%); }
	100% { transform: translateX(-50%) translateY(32%); }
}
@keyframes retract {
	0%   { transform: translateX(-50%) translateY(32%); }
	100% { transform: translateX(-50%) translateY(100%); }
}

/* ==========================================
トップのバナー
========================================== */

/*
.hero-info {
	z-index: 99;
	position: absolute;
	right: 16px;
	top: 16px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(50%);
	transition: opacity 0.4s ease 1s, visibility 0.4s ease 1s, transform 0.6s ease 1s;
}
.is-animated .hero-info {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}
*/
.hero-info {
	z-index: 99;
	position: absolute;
	right: 16px;
	top: 16px;
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}
.hero-info-list {
	margin: 0;
	padding: 0;
	text-align: right;
	li {
		margin: 0 0 8px auto;
		padding: 0;
	}
	a {
		transform: scale(1);
		transition: transform 0.2s ease;
	}
	a:hover, a:active {
		transform: scale(1.05);
	}
}
.hero-info-text {
	max-width: calc(100vw - 32px);
	a,
	> span {
		display: inline-block;
		padding: 8px 10px;
		border: 3px solid #f964ab;
		background: #fff;
		border-radius: 10px;
		color: #121212;
		font-size: 14px;
		font-weight: 700;
		font-feature-settings: 'palt' 1;
		letter-spacing: 0.04em;
		line-height: 1.4;
		text-align: left;
	}
	i {
		color: #f964ab;
		font-family: "Oswald", sans-serif;
		font-style: normal;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0;
	}
}
.hero-info-img {
	display: block;
	width: 180px;
	height: auto;
	a {
		display: block;
		width: 180px;
		height: auto;
		margin: 0 0 0 auto;
	}
	img {
		display: block;
		width: 100%;
		height: auto;
	}
}


/* 一定間隔おきに揺らす */
.hero-info .hero-info-img {
	animation: info-swing 3s ease-in-out infinite;
	transform-origin: center center;
}
@keyframes info-swing {
	0%		{ transform: rotate(0deg); }
	60%		{ transform: rotate(0deg); }
	65%		{ transform: rotate(3deg); }
	75%		{ transform: rotate(-3deg); }
	80%		{ transform: rotate(0deg); }
	100%	{ transform: rotate(0deg); }
}

/* ==========================================
ナビゲーション
========================================== */

.navigation {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 2px 15px;
	background-color: #ffffff;
	box-shadow: 0 0 20px rgba(13, 83, 141, 0.1);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.navigation-list {
	display: flex;
	width: fit-content;
	margin: 0 auto;
	list-style: none;
	padding: 0;
}
.navigation-item {
	flex-shrink: 0;
}
.navigation-link {
	position: relative;
	display: block;
	box-sizing: border-box;
	padding: 0 15px;
	height: 56px;
	color: #333333;
	font-size: 90%;
	font-weight: 700;
	font-style: normal;
	line-height: 56px;
	text-decoration: none;
	white-space: nowrap;
}
.navigation-link.navigation-icon {
	padding: 0;
	width: 48px;
	img {
		position: absolute;
		left: 12px;
		top: 15px;
		display: block;
		width: 24px;
		height: 24px;
	}
}
.navigation-link::after {
	display: block;
	content: '';
	position: absolute;
	left: 15px;
	bottom: 12px;
	width: calc(100% - 30px);
	height: 4px;
	border-radius: 4px;
	transition: background-color 0.5s ease;
	backface-visibility: hidden;
	will-change: transform;
}
.navigation-link.is-active::after {
	background-color: #ffbe62;
}
.navigation::-webkit-scrollbar {
	display: none;
}
.navigation {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* ==========================================
メインコンテンツ
========================================== */

.content-section {
	position: relative;
	width: 100%;
	/*
	background: linear-gradient(75deg, hsla(50, 90%, 70%, 1), hsla(-20, 90%, 70%, 1));
	*/
}

.sub-section {
	position: relative;
	width: 100%;
	min-height: calc(100vh - 60px);
	min-height: calc(100svh - 60px);
	padding: 60px 0 90px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
@media (min-width: 768px) {
	.sub-section {
	padding: 60px 0 90px 0;
	}
}

/* ==========================================
メッセージ
========================================== */

.text-animate :is(p, h1, h2, h3, h4, h5, h6) {
	opacity: 0;
	filter: blur(3px);
	transition: opacity 1s ease 0.5s, filter 1s ease 0.5s; 
}
.text-animate.is-active :is(p, h1, h2, h3, h4, h5, h6) {
	opacity: 1;
	filter: blur(0);
}

.message-section {
	background-color:#ffffff; /* #fbe88e; */
	&::before {
		background-image: url('/20th/img/natalie.svg');
		background-size: 200px 200px;
		background-position: center calc(50% + 30px);
		will-change: filter, opacity;
		filter: blur(0px);
		opacity: 1;
	}
	&:has(.text-animate.is-active)::before {
		animation: blur-out 1s ease 0.1s forwards;
	}
}
@keyframes blur-out {
	from {
		filter: blur(0px);
		opacity: 1;
	}
	to {
		filter: blur(5px);
		opacity: 0.1;
	}
}
.message-title {
	z-index: 1;
	width: 100%;
	margin-bottom: 60px;
	padding-top: 20px;
	color: #121212;
	font-size: 160%;
	font-family: "Kosugi Maru", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-feature-settings: 'palt' 1;
	text-align: center;
}
@media (min-width: 768px) {
	.message-title {
		font-size: 200%;
	}
}
.message-text {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 30px;
	p {
		margin-bottom: 0.75em;
		color: #121212;
		font-size: 100%;
		font-weight: 500;
		line-height: 1.7;
		/*
		word-break: keep-all;
		overflow-wrap: anywhere;
		font-feature-settings: 'palt' 1;
		word-break: auto-phrase;
		letter-spacing: 0.04em;
		*/
	}
	.message-text-credit {
		margin-top: 1.5em;
		margin-bottom: 0;
		font-size: 100%;
		font-feature-settings: 'palt' 1;
		letter-spacing: 0.04em;
		overflow-wrap: anywhere;
		word-break: keep-all;
		text-align: right;
		small {
			display: block;
			font-size: 80%;
		}
	}
}

/* ==========================================
キャラクター
========================================== */

.character-section {
	overflow: hidden;
	background-color: #fcc456;
}
.character-title {
	z-index: 1;
	width: 100%;
	margin-bottom: 1em;
	color: #121212;
	font-size: 120%;
	font-family: "Kosugi Maru", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-feature-settings: 'palt' 1;
	text-align: center;
}
.character-name {
	width: calc(100% - 40px);
	max-width: 280px;
	margin: 0 auto 10px;
	img {
		display: block;
		width: 100%;
		height: auto;
	}
}
.character-title + .character-name {
	margin-top: -10px;
}
@media (min-width: 768px) {
	.character-title {
		font-size: 160%;
	}
	.character-name {
		max-width: 320px;
	}
	.character-title + .character-name {
		margin-top: -20px;
	}
}

/* キャラクターのレイアウト */
.character-wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px 60px;
	width: calc(100% - 60px);
}
.character-stage {
	width: 80%;
	max-width: 400px;
}
@media (min-width: 768px) {
	.character-wrapper {
		flex-direction: row;
		width: 100%;
		max-width: 728px;
	}
	.character-primary {
		flex: 1;
	}
	.character-secondary {
		flex: 1;
	}
	.character-secondary {
		display: flex;
		align-items: center;
	}
	.character-stage {
		width: 80%;
		max-width: none;
	}
}

/* キャラクターの画像 */
.character-primary {
	margin: 0 auto;
	text-align: center;
}
/* 拡大画像 */
.character-stage {
	aspect-ratio: 1 / 1;
	margin: 0 auto 20px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
#main-image {
	width: 100%;
	height: auto;
	display: block;
	will-change: opacity;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.is-fading-out {
	animation: fadeOut 0.2s forwards ease-in-out;
}
.is-fading-in {
	animation: fadeIn 0.2s forwards ease-in-out;
}
@keyframes fadeOut {
	from { opacity: 1; }
	to   { opacity: 0; }
}
@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* サムネイルリスト */
.character-list {
	display: flex;
	justify-content: center;
	gap: 15px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* サムネイル */
.character-item button {
	padding: 0;
	cursor: pointer;
	background: #ffffff;
	box-sizing: border-box;
	border-radius: 100%;
	overflow: hidden;
	outline: 3px solid transparent;
	transition: all 0.4s ease;
}
.character-item button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 2px;
}
.character-item button img {
	display: block;
	width: 80px;
	height: auto;
}
.character-item button:hover {
	transform: scale(1.2);
}
.character-item button.is-active {
	background-color: #ffee00;
}

/* 紹介文 */
.character-text {
	p {
		/*
		margin-bottom: 1;
		*/
		color: #121212;
		font-size: 100%;
		font-weight: 600;
		line-height: 1.8;
		word-break: keep-all;
		overflow-wrap: anywhere;
		font-feature-settings: 'palt' 1;
		letter-spacing: 0.04em;
	}
	.character-link {
		margin: 30px 0 0;
	}
}
.character-link {
	a {
		padding: 16px;
		display: block;
		background: #ffffff;
		border: 2px solid #222222;
		border-radius: 20px;
		box-shadow: 4px 4px 0 #222222;
		text-align: center;
		color: #222222;
		font-weight: 800;
		transition: all 0.5s ease;
		.character-nyata {
			color: #d33131;
		}
		.character-nyoro {
			color: #2777d3;
		}
	}
}
@media (hover: hover) {
	.character-link a:hover {
		transform: scale(1.1) rotate(-3deg);
		box-shadow: 6px 12px 0 -4px #222222;
	}
}

/* ==========================================
新サービス
========================================== */

.newarrival-section {
	background-color:#ffffff;
}
.newarrival-title {
	z-index: 1;
	width: 100%;
	margin-bottom: 40px;
	color: #121212;
	font-size: 160%;
	font-family: "Kosugi Maru", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-feature-settings: 'palt' 1;
	text-align: center;
}
@media (min-width: 768px) {
	.newarrival-title {
		font-size: 200%;
	}
}
.product {
	position: relative;
	overflow: hidden;
	width: calc(100% - 60px);
	padding: 0 16px 16px;
	background-color: #ffffff;
	border: 4px solid #feb7cf;
	border-radius: 20px;
	p:not(.product-link ) {
		margin-bottom: 1em;
		color: #121212;
		font-size: 100%;
		font-weight: 400;
		line-height: 1.8;
		font-feature-settings: 'palt' 1;
		letter-spacing: 0.04em;
	}
}
.product-title {
	width: auto;
	aspect-ratio: 3 / 1;
	margin: 0 -16px 20px;
}
.product-link {
	a {
		display: block;
		margin: 24px auto 0;
		padding: 16px;
		background-color: #444444;
		border-radius: 8px;
		color: #ffffff;
		font-size: 100%;
		font-weight: 600;
		line-height: 1;
		text-align: center;
		transition: background 0.2s ease;
	}
	a:hover,
	a:active {
		background-color: #666666;
	}
}
@media (min-width: 768px) {
	.product {
		max-width: 640px;
		padding: 0 40px 30px;
		border-radius: 30px;
	}
	.product-title {
		margin: 0 -40px 20px;
	}
}

/* ==========================================
フッター
========================================== */

.footer {
	padding: 40px 10px;
	background: #ffffff;
	min-height: auto;
	/*
	min-height: 100vh;
	min-height: 100svh;
	*/
}
.copyright {
	color: #333333;
	font-size: 10px;
	line-height: 1.3;
	text-align: center;
}
.coming-soon {
	margin-bottom: 40px;
	color: #333333;
	font-family: "Oswald", sans-serif;
	font-size: 30px;
	font-style: normal;
	font-weight: 700;
	text-align: center;
}
.footer-logo {
	width: 120px;
	height: auto;
	margin: 0 auto 20px;
}