@charset "utf-8";

:root {
	--gap: 16px;
	--border: #f7f7f7;
	--text: #27242d;
	--muted: #666;
	--surface: #f7f7f7;
}

html, body {
	color: var(--text);
}

h1 {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
}

.section.brand_hero {
	padding: 60px 0;
	margin: 0 auto;
}

.brand_hero {
	position: relative;
	width: 100%;
	height: auto;
	overflow: visible;
    text-align: center;
}
.brand_hero img{
	max-width: 200px;
	width: 100%;
	height: auto;
    margin: auto;
}

.brand_hero_media {
	width: 100%;
	max-height: 80vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.brand_hero_video_kaorin {
	margin: 0 auto;
	max-width: 300px;
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

.brand_hero_video_fleek {
	margin: 0 auto;
	max-width: 600px;
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

.brand_hero_play {
	position: absolute;
	left: 50%;
	top: 90%;
	transform: translate(-50%, -50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.6);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}

.brand_hero_play:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.brand_hero_play svg {
	width: 24px;
	height: 24px;
	fill: #fff;
}

.section.product_introduction {
	padding: 60px 0;
	margin: 0 auto;
	background: #ece2d6;
}

.section.product_introduction h3 {
	font-size: 40px;
	margin: 20px 0;
	padding: 0;
}

.product_introduction_hero {
	max-width: 1200px;
	margin: 0 auto 60px;
	display: flex;
}

.product_introduction_hero figure,
.product_introduction_specs {
	flex: 0 0 50%;
}

.product_introduction_hero figure {
	margin: 0;
	overflow: hidden;
}

.product_introduction_hero figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product_introduction_specs {
	background: #27242d;
	color: #f7f7f7;
	padding: 32px 40px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.specs {
	margin: 0 auto 24px;
	width: 100%;
	max-width: 400px;
}

.specs_row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs_row:last-child {
	border-bottom: none;
}

.specs_row dt {
	font-weight: 600;
	font-size: 14px;
}

.specs_row dd {
	margin: 0;
}

.btn.btn_ghost {
	display: inline-block;
	margin: 0 auto;
	padding: 10px 20px;
	border-radius: 999px;
	border: 1px solid #fff;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	transition: background-color 0.2s, color 0.2s;
}

.btn.btn_ghost:hover {
	background-color: #fff;
	color: #111;
}

.section.flavors {
	padding: 60px 0;
	margin: 0 auto;
	background: #ece2d6;
}

.section.flavors h3 {
	font-size: 40px;
	margin: 0;
	padding: 0;
}

.flavors_head,
.flavors_grid {
	margin-inline: auto;
}
.produce{
	font-size:20px;
	font-weight: bold;
	text-align: center;
    margin: 0;
	padding: 0 0 1em;
}

.flavors_title {
	font-size: clamp(22px, calc(1.45rem + 1vw), 32px);
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0 0 16px;
	text-align: center;
}

.flavors_grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.flavor_card {
	background: #f7f7f7;
	border-radius: 10px;
	padding: 14px 14px 16px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	display: grid;
	grid-template-rows: auto auto auto;
	align-items: start;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	line-height: 1.4;
}

.flavor_card_media {
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	display: grid;
	place-items: center;
	margin: 0 0 10px 0;
	background: radial-gradient(120% 120% at 15% 10%, rgba(121, 255, 209, 0.25), transparent 45%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.06));
}

.flavor_card_media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: translateZ(0);
}

.flavor_card_name {
	font-size: clamp(16px, calc(1rem + 0.2vw), 18px);
	font-weight: bold;
	margin: 0;
	padding: 0;
}

.flavor_card_tag {
	font-size: clamp(12px, calc(0.8rem + 0.2vw), 14px);
	color: #666;
	margin: 0;
	padding: 0;
}

.device {
	color: var(--text);
}

.section.device {
	padding: 60px 0;
	margin: 0 auto;
}
.section.device h2{
    margin: 0;
    padding: 0;
    line-height: 1em;
}
.section_title .text_sub {
	font-size: 0.7em;
	color: var(--muted);
	margin-left: 8px;
}

.device_grid {
	display: grid;
	gap: var(--gap);
	margin-top: 40px;
}

.device_visual {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0;
	text-align: center;
}

.device_visual img {
	max-width: 300px;
	height: auto;
	display: block;
	margin-left: auto;
}

.device_specs {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	max-width: 500px;
	margin: 0 0 12px;
	padding: 0;
	display: grid;
	gap: 8px;
}

.device_specs_row {
	display: grid;
	grid-template-columns: 12em 1fr;
	gap: 8px;
	font-size: 16px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 6px;
}

.device_specs_row dt,
.device_specs_row dd {
	margin: 0;
}

.device_specs_row dt {
	color: var(--muted);
	font-weight: 600;
}

.device_colors {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.device_swatch {
	width: 32px;
	height: 32px;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: #ddd;
	cursor: pointer;
}

.swatch_black { background: #616869; }
.swatch_blue { background: #318ba3; }
.swatch_green { background: #5c9959; }
.swatch_purple { background: #978aa0; }

.swatch_black_fe { background: #171618; }
.swatch_steel_fe { background: #2b2c35; }
.swatch_silver_fe { background: #b3b1b9; }

.swatch_jet_black { background: #242326; }
.swatch_night_blue { background: #2b2c35; }
.swatch_marble_ivory { background: #e4e2cf; }
.swatch_crayon_gray { background: #afadb3; }

.device_swatch:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.device_swatch.is_active {
	border: 5px solid #333;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.device + * {
	margin-top: 32px;
}

.marquee_x {
	display: grid;
	grid-template-columns: 1fr;
	max-width: 100%;
	overflow: hidden;
}

.row {
	position: relative;
	overflow: hidden;
}

.track_x {
	display: flex;
	flex-direction: row;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.track_x img {
	transform: translateZ(0);
	backface-visibility: hidden;
	height: 100%;
	width: auto;
	display: block;
	object-fit: cover;
	margin: 0 8px;
	border-radius: 8px;
    flex-shrink: 0;
    will-change: auto;
}

@keyframes scroll-left {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
    /* -50% から -100% に変更 */
}

.row_left .track_x {
    animation: scroll-left 100s linear infinite;
    /* 30s から 60s に延長（速度を落とす） */
}

@keyframes scroll-right {
	0% { transform: translateX(-50%); }
	100% { transform: translateX(0); }
}

.row-right .track_x {
	animation: scroll-right 30s linear infinite 1s;
}

.section.about {
	padding: 60px 0;
	margin: 0 auto;
}

.about .inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.about_text_block {
	flex: 1;
}

.about_copy p {
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	line-height: 1.6;
	margin: 0 0 60px;
}

.about_grid {
	display: flex;
	gap: 20px;
	width: 100%;
	justify-content: space-between;
}

.about_item {
	text-align: center;
	padding: 20px;
	width: 560px;
	flex: 1;
}

.about_item img {
	width: 200px;
	height: auto;
	margin-bottom: 5px;
}

.about_item_label {
	font-size: 14px;
	color: #999;
	margin: 0 0 5px;
	padding: 0;
}

.about_item > h3.about_title {
	font-size: 30px;
	font-weight: bold;
	margin: 0;
	padding: 0 0 10px;
}

.brand_card {
	background: #f7f7f7;
	border-radius: 20px;
	box-shadow: none;
	text-align: center;
	padding: 0;
	transition: none;
	font-size: 20px;
}

.brand_card:hover {
	box-shadow: none;
}

.brand_logo {
	display: block;
	margin: 10px auto;
	width: auto;
	height: 20px;
	object-fit: contain;
	overflow: hidden;
}

.brand_name > .btn {
	margin-bottom: 60px;
}

.brand_fv_slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 2 / 1;
    margin: 0 auto;
    overflow: hidden;
}

.brand_fv_slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 12s infinite;
    animation-timing-function: ease-in-out;
}

.slide1 {
    background-image: url("/imgs/felix_lab_main02.png");
    animation-delay: 0s;
}

.slide2 {
    background-image: url("/imgs/felix_lab_main03.png");
    animation-delay: -6s;
}

.slide3 {
    background-image: url("/imgs/felix_lab_main01.png");
    animation-delay: 0s;
}

.slide4 {
    background-image: url("/imgs/felix_lab_main04.png");
    animation-delay: -6s;
}

.slide5 {
    background-image: url("/imgs/kaorin_pod_main01.png");
    animation-delay: 0s;
}

.slide6 {
    background-image: url("/imgs/kaorin_pod_main02.png");
    animation-delay: -6s;
}

.slide7 {
    background-image: url("/imgs/fleek_main01.png");
    animation-delay: 0s;
}

.slide8 {
    background-image: url("/imgs/fleek_main02.png");
    animation-delay: -6s;
}

@keyframes fadeSlide {
    0% { opacity: 0; }
    8% { opacity: 1; }
    50% { opacity: 1; }
    58% { opacity: 0; }
    100% { opacity: 0; }
}

@media (min-width: 1024px) {
	.flavors_title {
		font-size: clamp(26px, calc(2rem + 0.6vw), 36px);
	}

	.flavors_grid {
		gap: 18px;
	}
    .marquee_x {margin: 40px 0;
    }
}

@media (min-width: 768px) and (max-width: 1189px) {
	.about_item {
		width: 300px;
	}
    .marquee_x {margin: 40px 0;
    }
}

@media (min-width: 768px) {
	.device_grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.section.flavors {
		padding: 64px 0;
	}

	.flavor_card {
		padding: 16px;
	}
	.product_introduction_hero {
		flex-direction: row;
	}

	.about .inner {
		padding: 0;
	}

	.about_grid {
		flex-direction: row;
	}
}

@media (max-width: 767px) {
    h1{
        font-size: 14px;
    }
	h1 img {
		width: 150px;
		height: auto;
		margin: 0;
	}
    .section_title {
        margin: 0;
        padding: 0;
    }
	.section.brand_hero {
		padding: 20px 40px;
        text-align: center;
	}

	.brand_hero_media {
		max-height: none;
	}

	.brand_hero_play {
		right: 10px;
		bottom: 10px;
		left: auto;
		top: auto;
		transform: none;
	}

	.section.flavors {
		padding: 56px 0;
	}

    .flavors_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .device_visual img {
        max-width: 80%;
        height: auto;
        display: block;
        margin: auto;
    }

	.produce{
		font-size:14px;
		font-weight: bold;
		text-align: left;
		padding: 1em;
	}

	.product_introduction_hero {
		flex-direction: column;
	}

	.product_introduction_specs {
		width: 100%;
	}

	.about .inner {
		padding: 0 40px;
	}

	.about_copy p {
		font-size: 20px;
	}

	.about_grid {
		flex-direction: column;
	}

	.about_item {
		width: 100%;
	}

    .specs_row {
        flex-direction: column;
        padding: 8px 0;
    }

    .specs_row dt {
        font-size: 12px;
        color: #ece2d6;
    }
    .specs_row dd {
        font-size: 16px;
        margin-bottom: 4px;
    }
}