/* ========================================
   森ふゆこ マネー教室 - スタイルシート
   配色: 樱花淡粉 #F8E1E9, #B8A8D1, #FFFFFF
   字体: Gowun Dodum, Zen Maru Gothic
   ======================================== */

/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sakura-pink: #F8E1E9;
    --lavender: #B8A8D1;
    --white: #FFFFFF;
    --dark-text: #2D2D3A;
    --light-text: #6B6B80;
    --accent-pink: #E8B4BC;
    --deep-purple: #7B6BA8;
    --soft-shadow: rgba(184, 168, 209, 0.3);
    --gradient-primary: linear-gradient(135deg, #F8E1E9 0%, #B8A8D1 100%);
    --gradient-secondary: linear-gradient(135deg, #B8A8D1 0%, #9B8BC1 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gowun Dodum', 'Zen Maru Gothic', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   行情背景
   ======================================== */
.market-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, var(--sakura-pink) 0%, var(--lavender) 100%);
    padding: 8px 0;
    overflow: hidden;
}

.ticker-tape {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    font-size: 13px;
    color: var(--dark-text);
    font-weight: 500;
}

.ticker-item.up {
    color: #2ECC71;
}

.ticker-item.down {
    color: #E74C3C;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    background: url(../images/bgc.png) no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 60px;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(184, 168, 209, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(248, 225, 233, 0.5) 0%, transparent 50%);
}

/* 桜の花びらアニメーション */
.sakura-petals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--sakura-pink);
    border-radius: 50% 0 50% 50%;
    opacity: 0.7;
    animation: falling linear infinite;
}

.petal:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.petal:nth-child(2) { left: 20%; animation-duration: 10s; animation-delay: 1s; }
.petal:nth-child(3) { left: 30%; animation-duration: 9s; animation-delay: 2s; }
.petal:nth-child(4) { left: 50%; animation-duration: 11s; animation-delay: 0.5s; }
.petal:nth-child(5) { left: 60%; animation-duration: 8s; animation-delay: 3s; }
.petal:nth-child(6) { left: 75%; animation-duration: 10s; animation-delay: 1.5s; }
.petal:nth-child(7) { left: 85%; animation-duration: 9s; animation-delay: 2.5s; }
.petal:nth-child(8) { left: 95%; animation-duration: 12s; animation-delay: 0.8s; }

@keyframes falling {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    padding-right: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.title-accent {
    color: var(--deep-purple);
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 32px;
    line-height: 1.9;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-purple);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* CTA ボタン */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px var(--soft-shadow);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--soft-shadow);
}

.cta-btn .btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--lavender);
    color: var(--deep-purple);
}

.cta-btn.secondary:hover {
    background: var(--lavender);
    color: white;
}

.cta-btn.large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

/* Hero ビジュアル */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.anime-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,225,233,0.9) 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px var(--soft-shadow);
}

.frame-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--lavender);
}

.frame-decoration.top-left {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
    border-radius: 10px 0 0 0;
}

.frame-decoration.top-right {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 10px 0 0;
}

.frame-decoration.bottom-left {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 10px;
}

.frame-decoration.bottom-right {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 10px 0;
}

.character-card {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--sakura-pink) 0%, transparent 70%);
    opacity: 0.6;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.character-info {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.character-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px var(--soft-shadow);
}

.character-avatar i {
    font-size: 60px;
    color: var(--deep-purple);
}

.character-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.character-role {
    color: var(--light-text);
    margin-bottom: 16px;
}

.character-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.character-tags .tag {
    background: var(--sakura-pink);
    color: var(--deep-purple);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--light-text);
    font-size: 12px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--lavender);
    border-radius: 1px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   共通セクションスタイル
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sakura-pink);
    color: var(--deep-purple);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-title .highlight,
.highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   市場分析セクション
   ======================================== */
.market-analysis {
    background: linear-gradient(180deg, var(--white) 0%, var(--sakura-pink) 100%);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.analysis-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(184, 168, 209, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.analysis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(184, 168, 209, 0.25);
}

.analysis-card:hover::before {
    opacity: 1;
}

.analysis-card.featured {
    background: var(--gradient-primary);
}

.analysis-card.featured::before {
    background: var(--gradient-secondary);
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.analysis-card.featured .card-icon {
    background: var(--white);
}

.card-icon i {
    font-size: 28px;
    color: var(--deep-purple);
}

.analysis-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.analysis-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.analysis-card.featured p {
    color: var(--dark-text);
}

.card-trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    background: var(--sakura-pink);
    color: var(--deep-purple);
}

.card-trend.up {
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
}

/* ========================================
   プロフィールセクション（左図右文）
   ======================================== */
.profile-section {
    background: var(--white);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.profile-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--soft-shadow);
}

.profile-placeholder {
    aspect-ratio: 4/5;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-placeholder i {
    font-size: 150px;
    color: var(--deep-purple);
    opacity: 0.5;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-badge i {
    color: #FFD700;
}

.floating-elements {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.float-item {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--soft-shadow);
    animation: float 3s ease-in-out infinite;
}

.float-item:nth-child(1) {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    bottom: 30%;
    right: -30px;
    animation-delay: 0.5s;
}

.float-item:nth-child(3) {
    bottom: 10%;
    left: -20px;
    animation-delay: 1s;
}

.float-item i {
    color: var(--accent-pink);
    font-size: 18px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sakura-pink);
    color: var(--deep-purple);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
}

.profile-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.profile-intro {
    font-size: 1.1rem;
    color: var(--deep-purple);
    margin-bottom: 16px;
    font-weight: 500;
}

.profile-desc {
    color: var(--light-text);
    margin-bottom: 24px;
}

.profile-achievements {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-text);
}

.achievement i {
    width: 40px;
    height: 40px;
    background: var(--sakura-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-purple);
}

/* ========================================
   理念セクション（右図左文）
   ======================================== */
.philosophy-section {
    background: linear-gradient(180deg, var(--sakura-pink) 0%, var(--white) 100%);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--deep-purple);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
}

.philosophy-text h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.philosophy-quote {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 3px solid var(--lavender);
}

.philosophy-points {
    list-style: none;
    margin-bottom: 32px;
}

.philosophy-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.philosophy-points i {
    color: var(--deep-purple);
    font-size: 1.2rem;
}

.philosophy-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    box-shadow: 0 20px 60px var(--soft-shadow);
    position: relative;
    overflow: hidden;
}

.visual-card .card-header {
    margin-bottom: 20px;
}

.visual-card .card-header i {
    font-size: 40px;
    color: var(--lavender);
}

.quote-text {
    font-size: 1.3rem;
    line-height: 2;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.quote-author {
    text-align: right;
    color: var(--deep-purple);
    font-weight: 500;
}

.card-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    gap: 10px;
}

.deco-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sakura-pink);
    opacity: 0.5;
}

.deco-circle:nth-child(2) {
    width: 40px;
    height: 40px;
    background: var(--lavender);
}

.deco-circle:nth-child(3) {
    width: 30px;
    height: 30px;
}

/* ========================================
   サービスセクション
   ======================================== */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--sakura-pink);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--lavender);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--soft-shadow);
}

.service-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--sakura-pink);
    line-height: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 24px;
    color: var(--deep-purple);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* ========================================
   口コミセクション
   ======================================== */
.testimonials-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--sakura-pink) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(184, 168, 209, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-header .avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-header .avatar i {
    font-size: 24px;
    color: var(--deep-purple);
}

.user-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.user-meta {
    font-size: 0.85rem;
    color: var(--light-text);
}

.rating {
    margin-left: auto;
}

.rating i {
    color: #FFD700;
    font-size: 14px;
}

.testimonial-text {
    color: var(--dark-text);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--light-text);
    text-align: right;
}

/* ========================================
   CTA セクション
   ======================================== */
.cta-section {
    background: var(--gradient-secondary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-section h2 .highlight {
    color: #FFD700;
    -webkit-text-fill-color: #FFD700;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-features i {
    color: #FFD700;
}

.cta-section .cta-btn {
    background: var(--white);
    color: var(--deep-purple);
}

.cta-section .cta-btn:hover {
    background: var(--sakura-pink);
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ========================================
   固定ボタン - 常に表示
   ======================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 12px 16px;
    
    display: flex !important;
    justify-content: center;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

.fixed-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #06C755 0%, #00B900 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(6, 199, 85, 0.4);
    animation: pulse-green 2s ease-in-out infinite;
    white-space: nowrap;
    max-width: 100%;
}

.fixed-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(6, 199, 85, 0.5);
}

.fixed-cta-btn .btn-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.fixed-cta-btn span {
    flex-shrink: 1;
}

.fixed-cta-btn i {
    flex-shrink: 0;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 8px 24px rgba(6, 199, 85, 0.4); }
    50% { box-shadow: 0 8px 32px rgba(6, 199, 85, 0.6); }
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        margin: 0 auto;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .anime-frame {
        max-width: 300px;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .profile-content,
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .philosophy-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--lavender);
        padding-top: 20px;
    }
    
    .philosophy-points {
        display: inline-block;
        text-align: left;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .market-bg {
        padding: 6px 0;
    }
    
    .ticker-item {
        padding: 0 20px;
        font-size: 12px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-desc {
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 50px;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero-container {
        padding: 30px 16px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 auto;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        gap: 16px;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .testimonials-grid {
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .rating {
        margin-left: 0;
        width: 100%;
        order: 3;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    /* 固定ボタン - モバイル最適化 */
    .fixed-cta {
        padding: 10px 12px;
       
    }
    
    .fixed-cta-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        gap: 8px;
        width: auto;
        max-width: calc(100% - 24px);
    }
    
    .fixed-cta-btn .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    .fixed-cta-btn span {
        font-size: 0.8rem;
    }
    
    /* フッター調整 */
    .footer {
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .anime-frame {
        max-width: 240px;
        padding: 16px;
    }
    
    .character-avatar {
        width: 80px;
        height: 80px;
    }
    
    .character-avatar i {
        font-size: 40px;
    }
    
    .character-info h3 {
        font-size: 1.4rem;
    }
    
    .character-tags {
        gap: 6px;
    }
    
    .character-tags .tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .profile-text h2,
    .philosophy-text h2 {
        font-size: 1.4rem;
    }
    
    .profile-intro {
        font-size: 1rem;
    }
    
    .profile-desc,
    .philosophy-quote {
        font-size: 0.9rem;
    }
    
    .profile-achievements {
        align-items: center;
    }
    
    .achievement {
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .achievement i {
        width: 36px;
        height: 36px;
    }
    
    .philosophy-points li {
        font-size: 0.9rem;
    }
    
    .visual-card {
        padding: 24px;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .cta-section h2 {
        font-size: 1.4rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .cta-btn.large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* 固定ボタン - 小画面最適化 */
    .fixed-cta {
        padding: 8px 10px;
    }
    
    .fixed-cta-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        gap: 6px;
        border-radius: 30px;
    }
    
    .fixed-cta-btn .btn-icon {
        width: 18px;
        height: 18px;
    }
    
    .fixed-cta-btn span {
        font-size: 0.75rem;
    }
    
    .fixed-cta-btn i.fa-chevron-right {
        font-size: 0.7rem;
    }
}
