/* 洗練された高級デザイン設定 */
:root {
    --primary-color: #d4af37;
    --secondary-color: #f7e7ce;
    --accent-color: #c9a96e;
    --pearl-white: #faf8f3;
    --rose-gold: #e8b4b8;
    --champagne: #f7e7ce;
    --deep-gold: #b8860b;
    --soft-pink: #f5e6e8;
    --platinum: #e5e4e2;
    --bronze: #cd7f32;
    --warm-white: #fff8f0;
    --text-dark: #5d4e37;
    --text-light: #8b7355;
    --background-light: #fdf9f3;
    --white: #ffffff;
    --border-color: #e8dcc0;
    --shadow-light: 0 8px 32px rgba(212, 175, 55, 0.12);
    --shadow-medium: 0 16px 40px rgba(212, 175, 55, 0.18);
    --shadow-heavy: 0 24px 60px rgba(212, 175, 55, 0.22);
    --shadow-elegant: 0 12px 30px rgba(232, 180, 184, 0.25);
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #e8b4b8 30%, #f7e7ce 60%, #b8860b 100%);
    --gradient-secondary: linear-gradient(135deg, #c9a96e 0%, #f5e6e8 50%, #faf8f3 100%);
    --gradient-pearl: linear-gradient(135deg, #faf8f3 0%, #f7e7ce 50%, #e8dcc0 100%);
    --gradient-rose-gold: linear-gradient(135deg, #e8b4b8 0%, #d4af37 50%, #b8860b 100%);
    --gradient-luxury: linear-gradient(135deg, #d4af37 0%, #e8b4b8 25%, #faf8f3 50%, #f7e7ce 75%, #c9a96e 100%);
    --gradient-elegant: linear-gradient(135deg, #faf8f3 0%, #f7e7ce 20%, #e8b4b8 40%, #d4af37 60%, #c9a96e 80%, #e5e4e2 100%);
    --gradient-sophisticated: linear-gradient(45deg, #d4af37 0%, #e8b4b8 25%, #faf8f3 50%, #e5e4e2 75%, #c9a96e 100%);
    --gradient-mesh: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
                     radial-gradient(ellipse at bottom right, rgba(232, 180, 184, 0.06) 0%, transparent 60%),
                     radial-gradient(ellipse at bottom left, rgba(247, 231, 206, 0.08) 0%, transparent 60%);
    --shimmer: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    --luxury-shimmer: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.4) 50%, transparent 75%);
    --border-radius: 25px;
    --border-radius-large: 35px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elegant: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--gradient-mesh);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-weight: 400;
}

/* 高級感のある背景パーティクル */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-luxury);
    opacity: 0.03;
    z-index: -1;
    animation: luxuryGradientShift 20s ease-in-out infinite;
}

/* キラキラパール効果の背景テクスチャ */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(232, 180, 184, 0.06) 0%, transparent 70%),
        radial-gradient(circle at 15% 85%, rgba(255, 107, 157, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 85% 15%, rgba(155, 89, 182, 0.04) 0%, transparent 60%);
    z-index: -1;
    animation: sparklingShimmer 8s ease-in-out infinite alternate;
}

/* 洗練されたスパークル効果 */
.subtle-sparkle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(232, 180, 184, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(229, 228, 226, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 10% 70%, rgba(201, 169, 110, 0.2) 1px, transparent 1px);
    background-size: 300px 300px, 250px 250px, 280px 280px, 320px 320px, 260px 260px;
    pointer-events: none;
    z-index: 1;
    animation: subtleSparkle 6s ease-in-out infinite;
}

@keyframes luxuryGradientShift {
    0%, 100% { 
        background: var(--gradient-luxury);
        transform: scale(1) rotate(0deg);
    }
    25% { 
        background: linear-gradient(135deg, #e8b4b8 0%, #f7e7ce 25%, #d4af37 50%, #faf8f3 75%, #c9a96e 100%);
        transform: scale(1.05) rotate(2deg);
    }
    50% { 
        background: linear-gradient(135deg, #f7e7ce 0%, #d4af37 25%, #c9a96e 50%, #e8b4b8 75%, #faf8f3 100%);
        transform: scale(1) rotate(4deg);
    }
    75% { 
        background: linear-gradient(135deg, #c9a96e 0%, #faf8f3 25%, #e8b4b8 50%, #f7e7ce 75%, #d4af37 100%);
        transform: scale(1.05) rotate(2deg);
    }
}

@keyframes sparklingShimmer {
    0% {
        opacity: 0.6;
        transform: translateX(-10px) translateY(-5px);
    }
    50% {
        opacity: 1;
        transform: translateX(5px) translateY(8px) scale(1.02);
    }
    100% {
        opacity: 0.8;
        transform: translateX(10px) translateY(-3px);
    }
}

@keyframes subtleSparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    25% {
        opacity: 0.5;
        transform: scale(1.02);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.98);
    }
    75% {
        opacity: 0.4;
        transform: scale(1.01);
    }
}

/* フローティングエレメント */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 107, 157, 0.1), rgba(116, 185, 255, 0.1));
    animation: float 20s infinite ease-in-out;
}

.floating-circle:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: -5s;
}

.floating-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: -10s;
}

.floating-circle:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-30px) translateX(20px) rotate(90deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-60px) translateX(-10px) rotate(180deg);
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-30px) translateX(-30px) rotate(270deg);
        opacity: 0.8;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: var(--gradient-elegant);
    padding: 2rem 0;
    box-shadow: var(--shadow-elegant);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--luxury-shimmer);
    animation: elegantShimmer 4s infinite;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: subtleBorderGlow 3s ease-in-out infinite;
}

/* エレガントな装飾要素 */
.header .container {
    position: relative;
}

.header .container::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 10%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
    animation: subtleFloat 8s ease-in-out infinite;
}

@keyframes elegantShimmer {
    0% { transform: translateX(-120%) skewX(-5deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(120%) skewX(-5deg); opacity: 0; }
}

@keyframes subtleBorderGlow {
    0%, 100% {
        opacity: 0.6;
        filter: blur(0.5px);
    }
    50% {
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.15;
    }
    33% {
        transform: translateY(-12px) translateX(5px) scale(1.1);
        opacity: 0.3;
    }
    66% {
        transform: translateY(-8px) translateX(-8px) scale(0.9);
        opacity: 0.2;
    }
}

.logo {
    color: var(--white);
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-bounce);
    letter-spacing: 0.5px;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 5px 25px rgba(255, 255, 255, 0.6);
}

.logo i {
    font-size: 2.5rem;
    background: var(--gradient-sophisticated);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: elegantIconGlow 6s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

@keyframes elegantIconGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
        transform: rotate(-1deg) scale(1);
    }
    25% {
        filter: drop-shadow(0 3px 12px rgba(232, 180, 184, 0.4));
        transform: rotate(0.5deg) scale(1.03);
    }
    50% {
        filter: drop-shadow(0 4px 16px rgba(229, 228, 226, 0.5));
        transform: rotate(0deg) scale(1.05);
    }
    75% {
        filter: drop-shadow(0 3px 12px rgba(201, 169, 110, 0.4));
        transform: rotate(-0.5deg) scale(1.03);
    }
}

/* メインレイアウト */
.main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
}

.section {
    margin-bottom: 2rem;
    transition: var(--transition);
}

.hidden {
    display: none !important;
}

/* ウェルカムカード */
.welcome-card {
    background: linear-gradient(145deg, rgba(250, 248, 243, 0.98), rgba(247, 231, 206, 0.95));
    backdrop-filter: blur(25px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-large);
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: var(--shadow-heavy), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: var(--transition-bounce);
}

.welcome-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 90px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-rose-gold);
    animation: luxuryBorderGlow 4s ease-in-out infinite;
}

.welcome-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg, 
        rgba(212, 175, 55, 0.06), 
        rgba(232, 180, 184, 0.08),
        rgba(247, 231, 206, 0.04),
        rgba(229, 228, 226, 0.06),
        rgba(201, 169, 110, 0.08),
        rgba(212, 175, 55, 0.06)
    );
    animation: elegantRotate 30s linear infinite;
    z-index: -1;
}

@keyframes luxuryBorderGlow {
    0%, 100% { 
        background: var(--gradient-rose-gold);
        filter: blur(0px);
        opacity: 1;
    }
    50% { 
        background: var(--gradient-primary);
        filter: blur(1px);
        opacity: 0.8;
    }
}

@keyframes hologramRotate {
    0% { 
        transform: rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        filter: hue-rotate(90deg);
    }
    50% {
        filter: hue-rotate(180deg);
    }
    75% {
        filter: hue-rotate(270deg);
    }
    100% { 
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

@keyframes borderGlow {
    0%, 100% { 
        background: var(--gradient-primary);
        filter: blur(0px);
    }
    50% { 
        background: var(--gradient-secondary);
        filter: blur(2px);
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-icon {
    width: 140px;
    height: 140px;
    background: var(--gradient-elegant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    position: relative;
    box-shadow: 
        0 20px 50px rgba(212, 175, 55, 0.3),
        inset 0 3px 0 rgba(255, 255, 255, 0.5),
        0 0 25px rgba(232, 180, 184, 0.25);
    animation: elegantIconFloat 8s ease-in-out infinite;
}

.welcome-icon::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg, 
        #d4af37, 
        #e8b4b8, 
        #f7e7ce, 
        #e5e4e2, 
        #c9a96e, 
        #d4af37
    );
    animation: sophisticatedIconBorder 5s linear infinite;
    z-index: -1;
}

.welcome-icon i {
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    animation: luxuryIconPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

@keyframes elegantIconFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
    }
    50% { 
        transform: translateY(-12px) scale(1.05);
    }
    75% {
        transform: translateY(-6px) scale(1.03);
    }
}

@keyframes sophisticatedIconBorder {
    0% { 
        transform: rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% { 
        transform: rotate(360deg);
        opacity: 0.7;
    }
}

@keyframes elegantRotate {
    0% { 
        transform: rotate(0deg);
        opacity: 0.6;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.7;
    }
    75% {
        opacity: 0.9;
    }
    100% { 
        transform: rotate(360deg);
        opacity: 0.6;
    }
}

@keyframes luxuryIconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.6));
    }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    50% { 
        transform: translateY(-15px) rotate(180deg);
    }
}

@keyframes iconBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.welcome-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: var(--gradient-rose-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: luxuryTitleGlow 4s ease-in-out infinite;
    text-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    letter-spacing: 1px;
}

.welcome-title::after {
    content: '✨';
    position: absolute;
    top: -25px;
    right: -35px;
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: luxurySparkle 3s ease-in-out infinite;
}

@keyframes luxuryTitleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(232, 180, 184, 0.6));
        transform: scale(1.02);
    }
}

@keyframes luxurySparkle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    }
    33% {
        transform: rotate(120deg) scale(1.3);
        opacity: 1;
        filter: drop-shadow(0 0 16px rgba(232, 180, 184, 0.7));
    }
    66% {
        transform: rotate(240deg) scale(0.9);
        opacity: 0.9;
        filter: drop-shadow(0 0 12px rgba(247, 231, 206, 0.6));
    }
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.5));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 107, 157, 0.8));
        transform: scale(1.02);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: rotate(90deg) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: rotate(270deg) scale(1.1);
        opacity: 0.9;
    }
}

.welcome-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.9;
    position: relative;
    animation: textFadeIn 1s ease-out 0.5s both;
}

.welcome-description::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    animation: underlineExpand 1.5s ease-out 1s both;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* フィーチャーグリッド */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-bounce);
    animation: featureFloat 2s ease-in-out infinite;
}

.feature-item:nth-child(1) { animation-delay: 0s; }
.feature-item:nth-child(2) { animation-delay: 0.5s; }
.feature-item:nth-child(3) { animation-delay: 1s; }

.feature-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(116, 185, 255, 0.3);
}

.feature-item i {
    font-size: 2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 5px rgba(116, 185, 255, 0.3));
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-align: center;
}

@keyframes featureFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ボタン */
.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: var(--border-radius-large);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-medium);
    border: 2px solid transparent;
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

/* ボタンにパーティクルエフェクト */
.btn-primary {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        var(--gradient-primary);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-accent {
    background: var(--gradient-secondary);
    color: var(--white);
}

/* SNSボタンの洗練されたスタイリング */
.sns-share-section {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sns-share-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.sns-share-section h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.sns-share-section p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.sns-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-facebook,
.btn-instagram,
.btn-x {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
    box-shadow: var(--shadow-light);
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #1565c0 0%, #1877f2 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.3);
}

.btn-instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 30%, #fcb045 100%);
    color: white;
}

.btn-instagram:hover {
    background: linear-gradient(135deg, #6a1b9a 0%, #d32f2f 30%, #f57c00 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(131, 58, 180, 0.3);
}

.btn-x {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

.btn-x:hover {
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* SNSボタンのアイコンスタイリング */
.btn-facebook i,
.btn-instagram i,
.btn-x i {
    font-size: 1.2rem;
}

/* SNSボタンのホバー効果 */
.btn-facebook::before,
.btn-instagram::before,
.btn-x::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: left 0.6s ease;
}

.btn-facebook:hover::before,
.btn-instagram:hover::before,
.btn-x:hover::before {
    left: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sns-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-facebook,
    .btn-instagram,
    .btn-x {
        width: 100%;
        max-width: 280px;
    }
    
    .sns-share-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }
}
}

.btn-accent:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* クイズセクション */
.quiz-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShimmer 2s infinite;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressGlow 1.5s ease-in-out infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes progressGlow {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.progress-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.question-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-large);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-secondary);
    animation: borderFlow 3s ease-in-out infinite;
}

.question-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(116, 185, 255, 0.05), transparent);
    animation: cardRotate 15s linear infinite;
    z-index: -1;
}

@keyframes cardSlideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes borderFlow {
    0%, 100% {
        background: var(--gradient-secondary);
    }
    33% {
        background: var(--gradient-primary);
    }
    66% {
        background: var(--gradient-purple);
    }
}

@keyframes cardRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.question-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.5;
}

.answers-container {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.answer-option {
    padding: 2rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-bounce);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.answer-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.2), transparent);
    transition: left 0.5s ease;
}

.answer-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.answer-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.95);
}

.answer-option:hover::before {
    left: 100%;
}

.answer-option:hover::after {
    width: 200px;
    height: 200px;
}

.answer-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(116, 185, 255, 0.1));
    color: var(--primary-color);
    font-weight: 600;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.answer-option.selected::before {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 20px;
    left: auto;
    width: auto;
    height: auto;
    background: none;
    font-size: 1.2rem;
    animation: selectedSparkle 1s ease-in-out;
}

@keyframes selectedSparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* 結果セクション */
.result-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.result-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

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

.result-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: bounce 2s infinite;
}

.result-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.result-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
}

.result-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.result-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    opacity: 0;
    animation: subtitleFadeIn 1s ease-out 0.5s both;
}

/* セレブレーションパーティクル */
.celebration-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.celebration-particles::before,
.celebration-particles::after {
    content: '✨';
    position: absolute;
    font-size: 1.5rem;
    color: #f1c40f;
    animation: celebrationFloat 3s ease-in-out infinite;
}

.celebration-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.celebration-particles::after {
    top: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes resultTitleGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.5));
    }
    to {
        filter: drop-shadow(0 0 25px rgba(255, 107, 157, 0.8));
    }
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes celebrationFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) rotate(180deg) scale(0.8);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.1);
        opacity: 1;
    }
}

.result-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.skin-type-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skin-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
}

.skin-type-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skin-type-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.recommendations, .products {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.recommendations-title, .products-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recommendations-title i, .products-title i {
    color: var(--accent-color);
}

.care-list, .product-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.care-list li, .product-list li {
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.care-list li::before, .product-list li::before {
    content: '✨';
    margin-right: 0.5rem;
}

/* LINE登録CTA */
.line-cta-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.line-cta-card {
    background: linear-gradient(145deg, rgba(0, 195, 0, 0.05), rgba(0, 195, 0, 0.02));
    border: 2px solid #00c300;
    border-radius: var(--border-radius-large);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 195, 0, 0.15);
}

.line-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00c300, #00ff00, #00c300);
    animation: lineGlow 2s ease-in-out infinite;
}

.line-cta-icon {
    width: 80px;
    height: 80px;
    background: #00c300;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 195, 0, 0.3);
    animation: linePulse 2s ease-in-out infinite;
}

.line-cta-icon i {
    font-size: 2.5rem;
    color: white;
}

.line-cta-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
}

.line-benefits {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    flex-shrink: 0;
}

.benefit-item span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.btn-line {
    background: #00c300;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 2.5rem;
    border-radius: 25px;
    margin: 1.5rem 0 1rem;
    box-shadow: 0 8px 25px rgba(0, 195, 0, 0.3);
    border: none;
    transition: var(--transition-bounce);
}

.btn-line:hover {
    background: #00aa00;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 195, 0, 0.4);
}

.line-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

@keyframes lineGlow {
    0%, 100% {
        background: linear-gradient(90deg, #00c300, #00ff00, #00c300);
    }
    50% {
        background: linear-gradient(90deg, #00ff00, #00c300, #00ff00);
    }
}

@keyframes linePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0, 195, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(0, 195, 0, 0.5);
    }
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* 履歴セクション */
.history-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.history-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.history-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.history-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.history-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .welcome-card {
        padding: 2rem 1.5rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .quiz-navigation {
        flex-direction: column;
    }
    
    .quiz-navigation .btn {
        width: 100%;
        justify-content: center;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .history-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 1rem 0;
    }
    
    .welcome-card {
        padding: 1.5rem 1rem;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .result-icon {
        width: 80px;
        height: 80px;
    }
    
    .result-icon i {
        font-size: 2rem;
    }
    
    .result-title {
        font-size: 1.8rem;
    }
    
    .result-title::after {
        width: 50px;
        height: 2px;
        bottom: -6px;
    }
}

/* アニメーション */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}