@charset "UTF-8";

/* =========================================================================
   GlutaMAX
   Design System & Variables
   ========================================================================= */
:root {
	/* Color Palette - Premium Light Theme */
	--color-bg-primary: #ffffff; /* White */
	--color-bg-secondary: #f7f9fa; /* Very Light Gray */
	--color-text-primary: #222222;
	--color-text-secondary: #666666;
	--color-accent-gold: #b38b4d; /* Premium Gold/Bronze for light bg */
	--color-accent-gold-light: #d4af37;
	--color-accent-bronze: #8c6b36;
	--color-glass-bg: rgba(255, 255, 255, 0.8);
	--color-glass-border: rgba(0, 0, 0, 0.05);

	/* Typography */
	--font-heading: "Cormorant Garamond", serif;
	--font-body: "Noto Sans JP", sans-serif;

	/* Spacing & Layout */
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 6rem;
	--container-max-width: 1000px;
	--container-large-width: 1200px;

	/* Effects */
	--transition-fast: 0.3s ease;
	--transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	--shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
	--shadow-gold: 0 0 20px rgba(179, 139, 77, 0.2);
}

/* =========================================================================
   Reset & Base Styles
   ========================================================================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	background-color: var(--color-bg-primary);
	color: var(--color-text-primary);
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition-fast);
}

ul {
	list-style: none;
}

/* =========================================================================
   Layout & Utility Classes
   ========================================================================= */
.container {
	width: 90%;
	max-width: var(--container-max-width);
	margin: 0 auto;
}

.container-large {
	max-width: var(--container-large-width);
}

.section {
	padding: var(--space-xl) 0;
	position: relative;
}

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

.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg);
	align-items: center;
}

@media (max-width: 768px) {
	.grid-2 {
		grid-template-columns: 1fr;
		gap: var(--space-md);
	}
}

.relative {
	position: relative;
	z-index: 2;
}

/* Glassmorphism */
.glass-card {
	background: var(--color-glass-bg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--color-glass-border);
	border-radius: 12px;
	padding: var(--space-md);
	transition: var(--transition-fast);
}

.glass-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-gold);
	border-color: rgba(212, 175, 55, 0.3);
}

.img-glass {
	border-radius: 12px;
	box-shadow: var(--shadow-soft);
	position: relative;
}

.img-glass::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px var(--color-glass-border);
	pointer-events: none;
}

/* Buttons */
.btn-primary-large {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-bronze));
	color: #fff;
	padding: 1.2rem 3rem;
	border-radius: 50px;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
	transition: var(--transition-fast);
	position: relative;
	overflow: hidden;
	margin-top: var(--space-md);
}

.btn-primary-large::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: 0.5s;
}

.btn-primary-large:hover::before {
	left: 100%;
}

.btn-primary-large:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-arrow {
	margin-left: 10px;
	transition: transform 0.3s;
}

.btn-primary-large:hover .btn-arrow {
	transform: translateX(5px);
}

/* =========================================================================
   Typography
   ========================================================================= */
.gold-text {
	background: linear-gradient(to right, var(--color-accent-gold-light), var(--color-accent-gold));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.section-header {
	margin-bottom: var(--space-lg);
}

.section-title {
	font-family: var(--font-heading);
	font-size: 3rem;
	color: var(--color-text-primary);
	margin-bottom: 0.5rem;
	letter-spacing: 0.05em;
}

.section-subtitle-jp {
	font-size: 1.1rem;
	color: var(--color-accent-gold);
	font-weight: 500;
	letter-spacing: 0.1em;
}

.section-desc {
	margin-top: 1rem;
	color: var(--color-text-secondary);
	font-size: 0.9rem;
}

/* =========================================================================
   Sections
   ========================================================================= */

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	z-index: 100;
	border-bottom: 1px solid var(--color-glass-border);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.logo {
	height: 40px;
	filter: brightness(0.2);
}

.cta-button-small {
	padding: 0.5rem 1.5rem;
	border: 1px solid var(--color-accent-gold);
	color: var(--color-accent-gold);
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: var(--transition-fast);
}

.cta-button-small:hover {
	background: var(--color-accent-gold);
	color: #000;
	box-shadow: var(--shadow-gold);
}

/* Hero Section */
.hero {
	height: 100vh;
	min-height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 60px; /* offset header */
}

.hero-bg,
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

.bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
}

.hero-overlay {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, var(--color-bg-primary) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 800px;
	width: 100%;
	padding: 0 1rem 80px 1rem; /* Added bottom padding to avoid SCROLL overlap */
}

.hero-title {
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 1rem;
	color: var(--color-text-primary);
	text-shadow: 0 10px 30px rgba(255, 255, 255, 0.8);
}

.hero-title .reg {
	font-size: 2rem;
	vertical-align: super;
	margin-left: -5px;
}

.hero-subtitle {
	font-size: 1.4rem;
	color: var(--color-text-primary);
	margin-bottom: var(--space-lg);
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.8;
}

.hero-product-container {
	position: relative;
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -30px;
}

.hero-product-image {
	max-height: 100%;
	position: relative;
	z-index: 2;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.hero-product-desc {
	margin-top: 1.5rem;
	text-align: center;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 1.35rem; /* slightly larger for readability */
	font-weight: 500;
	color: var(--color-accent-bronze);
	letter-spacing: 0.1em;
	position: relative;
	z-index: 3;
}

.glow-circle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
	filter: blur(20px);
	z-index: 1;
}

/* Animations */
@keyframes float {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-15px);
	}
	100% {
		transform: translateY(0);
	}
}

@keyframes floatSlow {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
	100% {
		transform: translateY(0);
	}
}

.floating {
	animation: float 6s ease-in-out infinite;
}

.floating-slow {
	animation: floatSlow 8s ease-in-out infinite;
}

.scroll-indicator {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

.scroll-indicator span {
	font-family: var(--font-heading);
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	color: var(--color-accent-gold);
	margin-bottom: 10px;
}

.scroll-indicator .line {
	width: 1px;
	height: 60px;
	background: rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.scroll-indicator .line::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 50%;
	background: var(--color-accent-gold);
	animation: scrollLine 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes scrollLine {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(200%);
	}
}

/* Concept Section */
.concept-text h4 {
	color: var(--color-accent-gold);
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
}

.concept-text p {
	color: var(--color-text-secondary);
	margin-bottom: 1.5rem;
}

.concept-text .highlight-text {
	font-size: 1.1rem;
	color: var(--color-text-primary);
	font-weight: 500;
	border-left: 3px solid var(--color-accent-gold);
	padding-left: 1rem;
	margin-top: 2rem;
}

/* Ingredients Section */
.ingredients {
	background-color: var(--color-bg-secondary);
}

.ingredient-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
	margin-top: var(--space-lg);
}

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

.card-icon {
	font-family: var(--font-heading);
	font-size: 3rem;
	color: rgba(212, 175, 55, 0.2);
	position: absolute;
	top: 10px;
	right: 20px;
	font-weight: 700;
}

.card-title {
	font-size: 1.5rem;
	color: var(--color-accent-gold);
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--color-glass-border);
	padding-bottom: 0.5rem;
	display: inline-block;
}

.card-desc {
	color: var(--color-text-secondary);
	font-size: 0.95rem;
	margin-bottom: 1rem;
}

.benefit-list li {
	font-size: 0.9rem;
	color: var(--color-text-primary);
	margin-bottom: 0.5rem;
	padding-left: 1.2rem;
	position: relative;
}

.benefit-list li::before {
	content: "◆";
	color: var(--color-accent-gold);
	position: absolute;
	left: 0;
	top: 0;
	font-size: 0.8rem;
}

.note-box {
	margin-top: var(--space-lg);
	padding: 1rem;
	border: 1px solid var(--color-glass-border);
	border-radius: 8px;
	text-align: right;
	font-size: 0.85rem;
	color: var(--color-text-secondary);
}

/* Trust Section */
.trust {
	background-color: var(--color-bg-primary);
}

.trust-text p {
	color: var(--color-text-secondary);
	margin-bottom: 1.5rem;
}

.trust-text .highlight-text {
	font-size: 1.1rem;
	color: var(--color-text-primary);
	font-weight: 500;
	border-left: 3px solid var(--color-accent-gold);
	padding-left: 1rem;
	margin-top: 2rem;
}

/* Comparison Section */
.dark-grad-section {
	background: linear-gradient(to bottom, var(--color-bg-primary), #f0f4f8);
}

.comparison-table-wrapper {
	overflow-x: auto;
	margin: var(--space-lg) 0;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 700px;
	text-align: left;
}

.comparison-table th,
.comparison-table td {
	padding: 1.5rem;
	border-bottom: 1px solid var(--color-glass-border);
}

.comparison-table thead th {
	font-size: 1.2rem;
	border-bottom: 2px solid var(--color-accent-gold);
	vertical-align: bottom;
}

.comparison-table thead .highlight {
	padding-top: 0.5rem; /* Reduce top padding to compensate for badge */
}

.comparison-table tbody th {
	color: var(--color-text-secondary);
	font-weight: 400;
	width: 20%;
}

.comparison-table .item-normal {
	color: var(--color-text-secondary);
}

.comparison-table .highlight {
	background: rgba(212, 175, 55, 0.05);
	color: var(--color-text-primary);
	font-weight: 500;
}

.badge {
	display: inline-block;
	background: var(--color-accent-gold);
	color: #000;
	font-size: 0.8rem;
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 8px;
}

.qanda-box {
	margin-top: var(--space-lg);
	background: linear-gradient(135deg, #ffffff, #faf7f2);
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(179, 139, 77, 0.1);
}

.q-row,
.a-row {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.a-row {
	margin-bottom: 0;
}

.q-icon,
.a-icon {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	flex-shrink: 0;
}

.q-icon {
	color: var(--color-accent-gold);
}
.a-icon {
	color: var(--color-text-secondary);
}

.q-row h4 {
	font-size: 1.2rem;
	margin-top: 5px;
}

.a-row p {
	color: var(--color-text-secondary);
	margin-top: 5px;
}

/* CTA Section */
.cta-section {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cta-bg-image,
.cta-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.cta-bg-image {
	object-fit: cover;
	opacity: 0.4;
}

.cta-overlay {
	background: radial-gradient(
		circle at center,
		rgba(255, 255, 255, 0.7) 0%,
		var(--color-bg-primary) 100%
	);
}

.cta-logo {
	height: 60px;
	margin-bottom: 2rem;
	filter: brightness(0.2);
}

.cta-heading {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: var(--color-text-primary);
	text-shadow: 0 5px 15px rgba(255, 255, 255, 0.8);
}

.cta-product {
	height: 350px;
	margin-bottom: 2rem;
}

.cta-product img {
	height: 100%;
	margin: 0 auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

.cta-note {
	margin-top: 1rem;
	font-size: 0.85rem;
	color: var(--color-text-secondary);
}

/* Footer */
.footer {
	padding: 3rem 0;
	border-top: 1px solid var(--color-glass-border);
	background-color: var(--color-bg-secondary);
}

.footer-logo {
	height: 40px;
	margin-bottom: 1.5rem;
	opacity: 0.8;
	filter: brightness(0.4);
}

.footer-links {
	display: flex;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

.footer-links a {
	color: var(--color-text-secondary);
	font-size: 0.9rem;
}

.footer-links a:hover {
	color: var(--color-accent-gold);
}

.copyright {
	color: var(--color-text-secondary);
	opacity: 0.7;
	font-size: 0.8rem;
}

/* =========================================================================
   Responsive Adjustments
   ========================================================================= */
@media (max-width: 992px) {
	.hero-title {
		font-size: 4rem;
	}
	.hero-subtitle {
		font-size: 1.2rem;
	}

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

@media (max-width: 768px) {
	:root {
		--space-lg: 3rem;
		--space-xl: 4rem;
	}

	.hero-title {
		font-size: 3.2rem;
	}
	.hero-product-container {
		height: 300px;
	}

	.section-title {
		font-size: 2.2rem;
	}

	.ingredient-cards {
		grid-template-columns: 1fr;
	}

	.cta-heading {
		font-size: 1.8rem;
	}
	.cta-product {
		height: 250px;
	}

	.footer-links {
		flex-direction: column;
		gap: 1rem;
	}
}

/* =========================================================================
   Utility Animations
   ========================================================================= */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.8s ease-out,
		transform 0.8s ease-out;
}

.fade-in-up {
	opacity: 0;
	transform: translateY(50px);
	transition:
		opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
		transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.appear,
.fade-in-up.appear {
	opacity: 1;
	transform: translateY(0);
}

/* =========================================================================
   Registration Form Styles
   ========================================================================= */
.container-small {
	max-width: 700px;
}

.register-section {
	padding-top: 120px; /* Offset for header */
	min-height: calc(100vh - 150px);
}

.form-container {
	margin-top: var(--space-md);
	padding: var(--space-lg) var(--space-md);
}

@media (max-width: 768px) {
	.form-container {
		padding: var(--space-md) var(--space-sm);
	}
}

.form-group {
	margin-bottom: var(--space-md);
}

.form-label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--color-text-primary);
}

.required {
	background: #c39c5b; /* Gold/Bronze hue for required */
	color: white;
	font-size: 0.7rem;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 8px;
	vertical-align: middle;
	font-weight: 400;
}

.form-control {
	width: 100%;
	padding: 1rem;
	border: 1px solid var(--color-glass-border);
	border-radius: 8px;
	background: var(--color-bg-primary);
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-text-primary);
	transition: var(--transition-fast);
}

.form-control:focus {
	outline: none;
	border-color: var(--color-accent-gold);
	box-shadow: 0 0 0 3px rgba(179, 139, 77, 0.1);
	background: #ffffff;
}

.radio-group {
	display: flex;
	gap: 1.5rem;
	margin-top: 0.5rem;
	flex-wrap: wrap;
}

.radio-label {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.radio-label input[type="radio"] {
	margin-right: 8px;
	accent-color: var(--color-accent-gold);
	width: 18px;
	height: 18px;
}

.form-select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1em;
	padding-right: 2.5rem;
}

.form-action {
	margin-top: var(--space-lg);
}

.form-message {
	margin-top: var(--space-md);
	padding: 1rem 1.5rem;
	border-radius: 8px;
	font-size: 0.95rem;
	text-align: center;
}

.form-message-success {
	background: rgba(76, 175, 80, 0.1);
	border: 1px solid rgba(76, 175, 80, 0.3);
	color: #2e7d32;
}

.form-message-error {
	background: rgba(244, 67, 54, 0.1);
	border: 1px solid rgba(244, 67, 54, 0.3);
	color: #c62828;
}

button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.delay-1 {
	transition-delay: 0.2s;
}
.delay-2 {
	transition-delay: 0.4s;
}

/* =========================================================================
   ECサイト準備中ページ
   ========================================================================= */
.page-ec-soon .ec-soon-section {
	padding-top: 100px;
	min-height: calc(85vh - 2rem);
}

.ec-soon-overlay {
	z-index: 1;
	background: radial-gradient(
		circle at center,
		rgba(255, 255, 255, 0.82) 0%,
		rgba(247, 249, 250, 0.95) 55%,
		var(--color-bg-primary) 100%
	);
}

.ec-soon-badge {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-accent-bronze);
	border: 1px solid rgba(179, 139, 77, 0.45);
	padding: 0.45rem 1.15rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.5);
}

.ec-soon-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3.15rem);
	font-weight: 600;
	line-height: 1.28;
	margin-bottom: 1.25rem;
	color: var(--color-text-primary);
	text-shadow: 0 4px 20px rgba(255, 255, 255, 0.85);
}

.ec-soon-sub {
	font-size: 1.02rem;
	color: var(--color-text-secondary);
	max-width: 36em;
	line-height: 1.85;
	margin-bottom: 1.5rem;
}

.ec-soon-br {
	display: none;
}

@media (min-width: 600px) {
	.ec-soon-br {
		display: inline;
	}
}

.ec-soon-product {
	height: min(280px, 38vw);
	margin-bottom: 1.75rem;
}

.ec-soon-product img {
	height: 100%;
	margin: 0 auto;
	filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.45));
}

.ec-soon-card {
	margin-top: 0;
	max-width: 540px;
	width: 100%;
	text-align: left;
	padding: var(--space-md) var(--space-md);
}

.ec-soon-card.glass-card:hover {
	transform: none;
	box-shadow: var(--shadow-soft);
	border-color: var(--color-glass-border);
}

.ec-soon-card-lead {
	font-family: "Noto Serif JP", serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text-primary);
	margin-bottom: 0.75rem;
}

.ec-soon-list {
	margin: 0;
	padding-left: 1.2rem;
	list-style: disc;
	color: var(--color-text-secondary);
	font-size: 0.94rem;
	line-height: 1.75;
}

.ec-soon-list li + li {
	margin-top: 0.5rem;
}

.ec-soon-actions {
	margin-top: 2rem;
}

.ec-soon-actions .btn-primary-large {
	margin-top: 0;
}

@media (max-width: 768px) {
	.page-ec-soon .ec-soon-section {
		padding-top: 88px;
		min-height: auto;
		padding-bottom: var(--space-lg);
	}

	.ec-soon-product {
		height: 220px;
	}
}
