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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    white-space: nowrap;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション - 基本スタイル */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(88, 86, 214, 0.3), transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1), transparent 30%);
    animation: gradientShift 15s ease infinite;
    transition: background 60s ease-in-out; /* 滑らかな背景遷移 */
}

/* デフォルトでは::before, ::afterを非表示 */
.hero-background::before,
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
}

/* === 春（3-5月）: 桜 === */
.hero.season-spring .hero-background::before {
    opacity: 1;
    background-image: 
        /* 上部の花びら */
        radial-gradient(ellipse 8px 12px at 12% 8%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 10px at 28% 5%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 45% 3%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 62% 7%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 9px at 78% 4%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 88% 9%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 7px 10px at 95% 6%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        
        /* 中央部の花びら */
        radial-gradient(ellipse 7px 11px at 8% 25%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 18% 35%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 10px at 32% 28%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 42% 38%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 55% 32%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 68% 40%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 9px at 75% 30%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 85% 36%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 92% 28%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        
        /* 中央～下部の花びら */
        radial-gradient(ellipse 6px 10px at 5% 52%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 15% 58%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 25% 48%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 38% 62%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 9px at 48% 54%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 60% 65%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 72% 58%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 82% 68%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 10px at 90% 55%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        
        /* 下部の花びら */
        radial-gradient(ellipse 7px 11px at 10% 78%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 22% 85%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 9px at 35% 82%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 48% 88%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 58% 80%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 70% 90%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 6px 10px at 82% 84%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 92% 92%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        
        /* 追加の散りばめ */
        radial-gradient(ellipse 8px 12px at 20% 15%, rgba(255, 192, 203, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 6px 9px at 50% 20%, rgba(255, 182, 193, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 65% 45%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 30% 70%, rgba(255, 182, 193, 0.55) 0%, transparent 50%),
        radial-gradient(ellipse 6px 10px at 80% 75%, rgba(255, 192, 203, 0.5) 0%, transparent 50%);
    animation: sakuraFloat1 25s ease-in-out infinite;
}

.hero.season-spring .hero-background::after {
    opacity: 1;
    background-image: 
        /* 右上の桜の枝 */
        radial-gradient(ellipse 12px 16px at 88% 8%, rgba(255, 192, 203, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse 10px 14px at 85% 12%, rgba(255, 182, 193, 0.75) 0%, transparent 50%),
        radial-gradient(ellipse 11px 15px at 90% 15%, rgba(255, 192, 203, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 86% 18%, rgba(255, 182, 193, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 10px 14px at 92% 20%, rgba(255, 192, 203, 0.75) 0%, transparent 50%),
        
        /* 左上の桜 */
        radial-gradient(ellipse 10px 14px at 8% 10%, rgba(255, 182, 193, 0.75) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 12% 8%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 11px 15px at 10% 15%, rgba(255, 182, 193, 0.8) 0%, transparent 50%),
        
        /* 追加の花びら（様々な位置） */
        radial-gradient(ellipse 7px 11px at 16% 22%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 40% 12%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 6px 10px at 55% 18%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 72% 25%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        
        radial-gradient(ellipse 8px 12px at 14% 42%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 6px 9px at 35% 48%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 52% 44%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 78% 50%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 88% 46%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        
        radial-gradient(ellipse 6px 10px at 12% 68%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 28% 72%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 8px 12px at 44% 75%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 62% 78%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 76% 72%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 6px 9px at 90% 68%, rgba(255, 192, 203, 0.6) 0%, transparent 50%),
        
        radial-gradient(ellipse 8px 12px at 18% 88%, rgba(255, 182, 193, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 38% 92%, rgba(255, 192, 203, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 6px 10px at 52% 85%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 9px 13px at 68% 95%, rgba(255, 192, 203, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 7px 11px at 85% 88%, rgba(255, 182, 193, 0.65) 0%, transparent 50%);
    animation: sakuraFloat2 30s ease-in-out infinite;
    animation-delay: -5s;
}

/* === 夏（6-8月）: ひまわり・夏の光 === */
.hero.season-summer {
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
}

.hero.season-summer .hero-background::before {
    opacity: 1;
    background-image: 
        /* ひまわりの花 */
        radial-gradient(circle 15px at 15% 20%, rgba(255, 193, 7, 0.8) 0%, transparent 50%),
        radial-gradient(circle 12px at 85% 15%, rgba(255, 183, 77, 0.7) 0%, transparent 50%),
        radial-gradient(circle 18px at 25% 75%, rgba(255, 193, 7, 0.85) 0%, transparent 50%),
        radial-gradient(circle 14px at 70% 80%, rgba(255, 183, 77, 0.75) 0%, transparent 50%),
        radial-gradient(circle 16px at 50% 40%, rgba(255, 193, 7, 0.7) 0%, transparent 50%),
        radial-gradient(circle 13px at 90% 50%, rgba(255, 183, 77, 0.8) 0%, transparent 50%),
        /* 光の粒 */
        radial-gradient(circle 3px at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 2px at 60% 20%, rgba(255, 255, 255, 0.7) 0%, transparent 50%),
        radial-gradient(circle 4px at 80% 60%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle 3px at 20% 70%, rgba(255, 255, 255, 0.75) 0%, transparent 50%);
    animation: summerFloat 20s ease-in-out infinite;
}

/* === 秋（9-11月）: 紅葉 === */
.hero.season-autumn {
    background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
}

.hero.season-autumn .hero-background::before {
    opacity: 1;
    background-image: 
        /* もみじの葉 */
        radial-gradient(ellipse 10px 12px at 12% 8%, rgba(255, 87, 34, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 8px 10px at 28% 5%, rgba(251, 192, 45, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 12px 14px at 45% 15%, rgba(255, 152, 0, 0.75) 0%, transparent 50%),
        radial-gradient(ellipse 9px 11px at 65% 10%, rgba(255, 87, 34, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 11px 13px at 85% 18%, rgba(251, 192, 45, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 10px 12px at 15% 35%, rgba(255, 152, 0, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 8px 10px at 40% 40%, rgba(255, 87, 34, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 12px 14px at 60% 45%, rgba(251, 192, 45, 0.75) 0%, transparent 50%),
        radial-gradient(ellipse 9px 11px at 80% 50%, rgba(255, 152, 0, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 11px 13px at 20% 65%, rgba(255, 87, 34, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 10px 12px at 45% 70%, rgba(251, 192, 45, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 8px 10px at 70% 75%, rgba(255, 152, 0, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 12px 14px at 90% 80%, rgba(255, 87, 34, 0.75) 0%, transparent 50%),
        radial-gradient(ellipse 9px 11px at 25% 90%, rgba(251, 192, 45, 0.65) 0%, transparent 50%),
        radial-gradient(ellipse 11px 13px at 55% 85%, rgba(255, 152, 0, 0.7) 0%, transparent 50%);
    animation: autumnFloat 22s ease-in-out infinite;
}

/* === 冬（12-2月）: 雪 === */
.hero.season-winter {
    background: linear-gradient(135deg, #667eea 0%, #a8c0ff 100%);
}

.hero.season-winter .hero-background::before {
    opacity: 1;
    background-image: 
        /* 雪の結晶 */
        radial-gradient(circle 4px at 10% 10%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle 3px at 25% 5%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 5px at 40% 15%, rgba(255, 255, 255, 0.85) 0%, transparent 50%),
        radial-gradient(circle 3px at 60% 8%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 4px at 75% 12%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle 5px at 90% 18%, rgba(255, 255, 255, 0.85) 0%, transparent 50%),
        radial-gradient(circle 3px at 15% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 4px at 35% 35%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle 5px at 50% 28%, rgba(255, 255, 255, 0.85) 0%, transparent 50%),
        radial-gradient(circle 3px at 70% 40%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 4px at 85% 32%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle 5px at 20% 55%, rgba(255, 255, 255, 0.85) 0%, transparent 50%),
        radial-gradient(circle 3px at 45% 60%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 4px at 65% 52%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle 5px at 82% 65%, rgba(255, 255, 255, 0.85) 0%, transparent 50%),
        radial-gradient(circle 3px at 12% 75%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 4px at 30% 80%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle 5px at 52% 85%, rgba(255, 255, 255, 0.85) 0%, transparent 50%),
        radial-gradient(circle 3px at 72% 78%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle 4px at 88% 88%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        radial-gradient(circle 5px at 38% 92%, rgba(255, 255, 255, 0.85) 0%, transparent 50%);
    animation: snowFloat 18s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* 春: 桜のアニメーション */
@keyframes sakuraFloat1 {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.9;
    }
    25% { 
        transform: translateY(-25px) translateX(15px) rotate(8deg);
        opacity: 1;
    }
    50% { 
        transform: translateY(-15px) translateX(-10px) rotate(-5deg);
        opacity: 0.95;
    }
    75% { 
        transform: translateY(-35px) translateX(20px) rotate(12deg);
        opacity: 1;
    }
}

@keyframes sakuraFloat2 {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0.85;
    }
    33% { 
        transform: translateY(-30px) translateX(-20px) rotate(-10deg) scale(1.1);
        opacity: 1;
    }
    66% { 
        transform: translateY(-20px) translateX(25px) rotate(15deg) scale(0.95);
        opacity: 0.9;
    }
}

/* 夏: ひまわり・光のアニメーション */
@keyframes summerFloat {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-15px) scale(1.1) rotate(180deg);
        opacity: 1;
    }
}

/* 秋: 紅葉のアニメーション */
@keyframes autumnFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.85;
    }
    33% { 
        transform: translateY(-20px) translateX(-15px) rotate(-25deg);
        opacity: 1;
    }
    66% { 
        transform: translateY(-10px) translateX(20px) rotate(20deg);
        opacity: 0.9;
    }
}

/* 冬: 雪のアニメーション */
@keyframes snowFloat {
    0% { 
        transform: translateY(-20px);
        opacity: 0;
    }
    10%, 90% { 
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* === 太陽と月の演出 === */
.celestial-body {
    position: absolute;
    pointer-events: none;
    transition: all 60s ease-in-out;
    z-index: 1;
}

/* 太陽 */
.sun {
    width: 80px;
    height: 80px;
    opacity: 0;
}

.sun-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(255, 223, 0, 1) 0%, 
        rgba(255, 193, 7, 0.9) 50%, 
        rgba(255, 152, 0, 0.6) 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(255, 223, 0, 0.8),
        0 0 60px rgba(255, 193, 7, 0.5),
        0 0 90px rgba(255, 152, 0, 0.3);
    animation: sunPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(255, 223, 0, 0.8),
            0 0 60px rgba(255, 193, 7, 0.5),
            0 0 90px rgba(255, 152, 0, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 
            0 0 40px rgba(255, 223, 0, 0.9),
            0 0 80px rgba(255, 193, 7, 0.6),
            0 0 120px rgba(255, 152, 0, 0.4);
    }
}

/* 月 */
.moon {
    width: 60px;
    height: 60px;
    opacity: 0;
}

.moon-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 240, 1) 0%, 
        rgba(240, 240, 220, 0.95) 50%, 
        rgba(220, 220, 200, 0.8) 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 255, 240, 0.6),
        0 0 40px rgba(255, 255, 240, 0.3),
        inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    animation: moonGlow 6s ease-in-out infinite;
}

@keyframes moonGlow {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(255, 255, 240, 0.6),
            0 0 40px rgba(255, 255, 240, 0.3),
            inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(255, 255, 240, 0.8),
            0 0 60px rgba(255, 255, 240, 0.4),
            inset -5px -5px 10px rgba(0, 0, 0, 0.1);
    }
}

/* 月のクレーター */
.moon-crater {
    position: absolute;
    background: rgba(200, 200, 180, 0.4);
    border-radius: 50%;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.moon-crater.crater-1 {
    width: 12px;
    height: 12px;
    top: 20%;
    left: 40%;
}

.moon-crater.crater-2 {
    width: 8px;
    height: 8px;
    top: 45%;
    left: 25%;
}

.moon-crater.crater-3 {
    width: 10px;
    height: 10px;
    top: 60%;
    left: 55%;
}

/* 星 */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 60s ease-in-out;
    z-index: 0;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.star.star-1 { top: 15%; left: 20%; animation: starTwinkle 3s ease-in-out infinite; }
.star.star-2 { top: 25%; left: 70%; animation: starTwinkle 2.5s ease-in-out infinite 0.5s; }
.star.star-3 { top: 35%; left: 15%; animation: starTwinkle 3.5s ease-in-out infinite 1s; }
.star.star-4 { top: 40%; left: 85%; animation: starTwinkle 2.8s ease-in-out infinite 1.5s; }
.star.star-5 { top: 55%; left: 40%; animation: starTwinkle 3.2s ease-in-out infinite 0.8s; }
.star.star-6 { top: 65%; left: 75%; animation: starTwinkle 2.6s ease-in-out infinite 2s; }
.star.star-7 { top: 75%; left: 30%; animation: starTwinkle 3.8s ease-in-out infinite 1.2s; }
.star.star-8 { top: 85%; left: 60%; animation: starTwinkle 2.9s ease-in-out infinite 0.3s; }

@keyframes starTwinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.3);
    }
}

/* 流れ星 */
.shooting-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.shooting-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 12px rgba(255, 255, 255, 0.6);
    opacity: 0;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 100%);
    transform-origin: left center;
    border-radius: 1px;
}

/* 流れ星のサイズバリエーション */
.shooting-star.small {
    width: 2px;
    height: 2px;
}

.shooting-star.small::after {
    width: 60px;
    height: 1.5px;
}

.shooting-star.medium {
    width: 3px;
    height: 3px;
}

.shooting-star.medium::after {
    width: 100px;
    height: 2px;
}

.shooting-star.large {
    width: 4px;
    height: 4px;
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 16px rgba(255, 255, 255, 0.7);
}

.shooting-star.large::after {
    width: 140px;
    height: 2.5px;
}

/* 流れ星のアニメーション */
@keyframes shootingStar1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-200px, 200px) rotate(-45deg);
    }
}

@keyframes shootingStar2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-30deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-250px, 180px) rotate(-30deg);
    }
}

@keyframes shootingStar3 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-60deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-180px, 220px) rotate(-60deg);
    }
}

@keyframes shootingStar4 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-40deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-220px, 190px) rotate(-40deg);
    }
}

@keyframes shootingStar5 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-50deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-200px, 210px) rotate(-50deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

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

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

/* 共通スタイル */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* よくある失敗・悩みセクション */
.problems {
    background: var(--white);
    position: relative;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 1.5rem;
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
}

.accordion-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
}

.accordion-header h3 {
    flex: 1;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.accordion-arrow {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 0 2rem 1.5rem 2rem;
}

.accordion-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.problem-list li i {
    color: #ef4444;
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.problem-summary {
    background: rgba(239, 68, 68, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
    color: var(--text-dark) !important;
    font-weight: 500;
    font-style: italic;
    margin: 1.5rem 0 !important;
}

.solution {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 1rem;
}

.solution strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.solution p {
    color: var(--text-dark);
    margin: 0;
}

/* 親アコーディオン（セクション全体） */
.section-accordion-item {
    margin-bottom: 0;
}

.section-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 2rem 2.5rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.section-accordion-header:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.12));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.section-accordion-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.section-accordion-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.section-accordion-icon i {
    color: var(--white) !important;
    font-size: 1.8rem !important;
}

.section-accordion-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    justify-content: center;
}

.section-accordion-header .section-title {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.section-accordion-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.5;
}

.section-accordion-arrow {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.section-accordion-item.active .section-accordion-arrow {
    transform: rotate(180deg);
}

.section-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, padding 0.6s ease;
}

.section-accordion-item.active .section-accordion-content {
    max-height: 5000px; /* 十分な高さを確保 */
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.section-accordion-content .section-subtitle {
    margin-bottom: 2rem;
}

/* 特徴セクション */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

/* お悩みあるあるセクション */
.problems {
    padding: 5rem 0;
    background: var(--light-bg);
}

.accordion-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    gap: 1rem;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.accordion-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.accordion-header h3 {
    flex: 1;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
}

.accordion-arrow {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 0 2rem 1.5rem 7rem;
}

.accordion-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.solution {
    background: rgba(103, 126, 234, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

.solution strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.solution p {
    margin: 0;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* サービスセクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ポートフォリオセクション */
.portfolio {
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ポートフォリオスクリーンショット */
.portfolio-screenshot-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 2;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-card:hover .portfolio-screenshot-container {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-screenshot {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
}

.portfolio-screenshot-pc {
    display: block;
}

.portfolio-screenshot-mobile {
    display: none;
}

.portfolio-demo-link {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.portfolio-demo-link p {
    color: var(--white);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.portfolio-demo-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.portfolio-demo-link a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ホバー時にオーバーレイを隠す（スクリーンショットを優先） */
.portfolio-card:hover .portfolio-overlay {
    opacity: 0;
    transition-delay: 0s;
}

.portfolio-card .portfolio-overlay {
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 特集ポートフォリオカード */
.portfolio-card-featured {
    grid-column: span 2;
}

.portfolio-card-featured .portfolio-info {
    padding: 2rem;
}

.portfolio-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.portfolio-details h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
}

.portfolio-details h4:first-child {
    margin-top: 0;
}

.portfolio-details p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 実装した技術セクション（PC版は常に展開） */
.tech-section {
    margin-bottom: 2rem;
}

.tech-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.tech-accordion-icon {
    display: none; /* PC版ではアイコン非表示 */
}

.tech-content {
    display: block;
}

.tech-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.tech-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tech-list i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.tech-list strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.tech-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    font-weight: normal;
}

/* 品質バッジ */
.quality-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(16, 185, 129, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.quality-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quality-badge i {
    font-size: 0.9rem;
}

.badge-design {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.badge-function {
    background: linear-gradient(135deg, #4E54C8, #8F94FB);
}

.badge-level {
    background: linear-gradient(135deg, #F093FB, #F5576C);
}

.badge-speed {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

/* 競合優位性リスト */
.competitive-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    color: var(--text-dark) !important;
    font-weight: 600;
    margin-bottom: 1.5rem !important;
    font-size: 1rem;
}

/* オプション制作実績（PC版は常に表示） */
.optional-portfolio-section {
    margin-top: 2rem;
}

.optional-portfolio-header {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    cursor: default;
}

.optional-accordion-icon {
    display: none; /* PC版ではアイコン非表示 */
}

.optional-portfolio-content {
    max-height: none; /* PC版では高さ制限なし */
    overflow: visible;
}

.competitive-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.competitive-list li {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.competitive-list li:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.competitive-list i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.competitive-list strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

/* 料金セクション */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-light);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1.2rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 制作の流れ */
.flow {
    background: var(--bg-light);
}

/* フロータブメニュー */
.flow-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.flow-tab {
    padding: 0.8rem 2rem;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.flow-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.flow-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: transparent;
}

/* フローコンテンツ */
.flow-content {
    display: none;
}

.flow-content.active {
    display: block;
}

.flow-steps {
    max-width: 800px;
    margin: 3rem auto 0;
}

.flow-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
}

.flow-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.step-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 壁紙ショップ */
.wallpaper-shop {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.wallpaper-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.wallpaper-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.wallpaper-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 価格バッジ */
.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.price-badge-basic {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.price-badge-premium {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.wallpaper-image {
    position: relative;
    width: 100%;
    padding-top: 177.5%; /* 9:16 aspect ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.wallpaper-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wallpaper-info {
    padding: 1.5rem;
    text-align: center;
}

.wallpaper-info h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.wallpaper-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.wallpaper-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.wallpaper-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.wallpaper-notice {
    margin-top: 2.5rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.wallpaper-notice p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.wallpaper-notice i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* お問い合わせ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
}

.contact-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(30px);
}

.contact-form.visible {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 条件付きフィールド */
.conditional-fields {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 2px dashed #e5e7eb;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* トップへ戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* タブレット対応 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* セクション全体のパディングを縮小 */
    section {
        padding: 3rem 0;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* WEB関連のお悩みあるある用の調整 */
    #problems .section-title {
        font-size: 1.4rem;
    }
    
    /* 親アコーディオンのモバイル対応 */
    .section-accordion-header {
        padding: 1rem 1.2rem;
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .section-accordion-left {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .section-accordion-text {
        gap: 0.25rem;
    }
    
    .section-accordion-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .section-accordion-icon i {
        font-size: 1.2rem !important;
    }
    
    .section-accordion-header .section-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }
    
    .section-accordion-subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .section-accordion-arrow {
        font-size: 1.1rem;
    }
    
    /* 制作実績のサブタイトル用の調整 */
    #portfolio .section-subtitle {
        font-size: 0.85rem;
    }
    
    /* 料金プランのサブタイトル用の調整 */
    #pricing .section-subtitle {
        font-size: 0.8rem;
    }

    .features-grid,
    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    /* 選ばれる理由のモバイル対応 */
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-card p {
        text-align: justify;
        text-justify: inter-character;
        line-height: 1.9;
    }
    
    /* ポートフォリオ特集カードのモバイル対応 */
    .portfolio-card-featured {
        grid-column: span 1;
    }
    
    /* モバイルではスクリーンショットをスマホ版に切り替え */
    .portfolio-screenshot-pc {
        display: none;
    }
    
    .portfolio-screenshot-mobile {
        display: block;
    }
    
    /* モバイルではリンクテキストを小さく */
    .portfolio-demo-link p {
        font-size: 0.75rem;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .tech-list li {
        padding: 1rem !important;
        background: rgba(200, 169, 110, 0.05);
        border-radius: 8px;
        border-left: 3px solid var(--color-accent);
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }
    
    .tech-list li strong {
        font-size: 1.05rem !important;
        display: block;
        margin-bottom: 0.2rem;
        color: var(--color-primary);
    }
    
    .tech-list .tech-detail {
        font-size: 0.9rem;
        line-height: 1.7;
        color: var(--color-text-muted);
        display: block;
        margin-top: 0;
    }
    
    .tech-list i {
        font-size: 1.2rem !important;
        margin-right: 0.8rem;
    }
    
    .tech-list li {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tech-list strong {
        font-size: 0.95rem;
    }
    
    .tech-detail {
        font-size: 0.8rem;
        padding-left: 0;
    }
    
    /* ハイライトカードのモバイル対応 */
    .feature-card-highlight {
        grid-column: span 1;
    }
    
    .feature-card-highlight::before {
        font-size: 0.75rem;
        padding: 0.2rem 1rem;
    }
    
    .feature-card-highlight p {
        text-align: center;
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* 壁紙ショップ モバイル対応 */
    .wallpaper-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .wallpaper-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .flow-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* 太陽と月のスマホ対応 */
    .sun {
        width: 50px;
        height: 50px;
    }
    
    .moon {
        width: 40px;
        height: 40px;
    }
    
    .moon-crater.crater-1 {
        width: 8px;
        height: 8px;
    }
    
    .moon-crater.crater-2 {
        width: 5px;
        height: 5px;
    }
    
    .moon-crater.crater-3 {
        width: 6px;
        height: 6px;
    }
    
    .star {
        width: 2px;
        height: 2px;
    }
    
    /* 競合優位性のスマホ対応 */
    .competitive-highlight {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
        line-height: 1.6;
    }
    
    .competitive-list {
        gap: 1rem;
    }
    
    .competitive-list li {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
        align-items: flex-start;
        font-size: 0.9rem;  /* 16px → 14.4px */
    }
    
    .competitive-list i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-top: 0;
    }
    
    .competitive-list strong {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .competitive-list li:hover {
        transform: none;
    }
    
    /* アコーディオンのモバイル対応 */
    .accordion-header {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
    }
    
    .accordion-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* オプション制作実績のモバイル対応（アコーディオン） */
    .optional-portfolio-section {
        margin-top: 2rem;
    }
    
    .optional-portfolio-header {
        font-size: 1.1rem;
        margin-top: 1.5rem;
        text-align: center;
        cursor: pointer;
        padding: 1rem;
        background: var(--white);
        border-radius: 8px;
        border: 2px solid var(--primary-color);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .optional-portfolio-header:hover {
        background: rgba(52, 152, 219, 0.05);
    }
    
    .optional-accordion-icon {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        margin-left: 0.5rem;
    }
    
    .optional-portfolio-section.active .optional-accordion-icon {
        transform: rotate(180deg);
    }
    
    /* 実装した技術セクションのアコーディオン（モバイル専用） */
    .tech-section {
        margin-bottom: 2rem;
    }
    
    .tech-header {
        text-align: center;
        cursor: pointer;
        padding: 1rem;
        background: var(--white);
        border-radius: 8px;
        border: 2px solid var(--color-accent);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        position: relative;
        font-size: 1.1rem;
        color: var(--color-primary);
        margin-bottom: 0;
    }
    
    .tech-header:hover {
        background: rgba(200, 169, 110, 0.05);
    }
    
    .tech-accordion-icon {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        margin-left: auto;
        color: var(--color-accent);
    }
    
    .tech-section.active .tech-accordion-icon {
        transform: rotate(180deg);
    }
    
    /* モバイルでアコーディオン表示 */
    .tech-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .tech-section.active .tech-content {
        max-height: 2000px;
    }
    
    /* モバイルでアコーディオン表示 */
    .optional-portfolio-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .optional-portfolio-section.active .optional-portfolio-content {
        max-height: 2000px;
    }
    
    /* 画像のモバイル対応 */
    .optional-portfolio-content img {
        max-width: 300px !important;
    }
    
    /* 説明文のモバイル対応 */
    .optional-portfolio-content p {
        font-size: 0.85rem !important;
        padding: 0 1rem;
    }
    
    .optional-portfolio-content h5 {
        font-size: 1rem !important;
    }
    
    .portfolio-info h4 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    /* オプション制作実績の説明文を30%削減 - 左寄せに変更 */
    .portfolio-info h5 + p {
        font-size: 0.7rem !important;
        text-align: left !important;  /* 左寄せに変更 */
        padding: 0 0.5rem;  /* 左右に少し余白 */
    }
    
    /* h5見出しを左寄せ */
    .portfolio-info h5 {
        text-align: left;
        padding-left: 0.5rem;
    }
    
    .portfolio-info ul li {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .portfolio-info ul li strong {
        font-size: 0.9rem;
    }
    
    /* オプション制作実績のflexレイアウトを縦に */
    .portfolio-info > div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;  /* 左寄せ */
    }
    
    .portfolio-info > div[style*="flex: 1"] {
        min-width: 100% !important;
        text-align: left;  /* 左寄せ */
    }
    
    /* リスト項目を左寄せ */
    .portfolio-info ul {
        max-width: 100%;
        text-align: left;
        padding-left: 0.5rem;
    }
    
    .portfolio-info > div[style*="flex: 0 0 280px"] {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;  /* 画像は中央寄せ */
    }
    
    /* オプション制作実績の左ボーダーを削除してシンプルに */
    .portfolio-info > div[style*="border-left"] {
        border-left: none !important;
        padding-left: 0.5rem !important;  /* 少し余白 */
        text-align: left;
    }
    
    .portfolio-info img[alt*="ステッカー"] {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .accordion-content {
        padding: 0 1.5rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .solution {
        padding: 1rem;
    }
    
    /* 品質バッジのモバイル対応 */
    .quality-badges {
        justify-content: center;
    }
    
    .quality-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

/* 小さなスマートフォン対応 */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 0.8rem;
    }
    
    /* WEB関連のお悩みあるある用の調整 */
    #problems .section-title {
        font-size: 1.2rem;
    }
    
    /* 制作実績のサブタイトル用の調整 */
    #portfolio .section-subtitle {
        font-size: 0.8rem;
    }
    
    /* 料金プランのサブタイトル用の調整 */
    #pricing .section-subtitle {
        font-size: 0.75rem;
    }
    
    /* 競合優位性の小型スマホ対応 */
    .competitive-highlight {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .competitive-list li {
        padding: 0.8rem;
        font-size: 0.85rem;  /* 16px → 13.6px */
    }
    
    .competitive-list i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .competitive-list strong {
        font-size: 0.95rem;
    }
    
    .quality-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    /* 選ばれる理由の小型スマホ対応 */
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        text-align: justify;
        text-justify: inter-character;
        line-height: 1.8;
    }
    
    .feature-card-highlight p {
        font-size: 0.95rem;
        text-align: justify;
        text-justify: inter-character;
        line-height: 1.9;
    }
    
    /* 技術リストの小型スマホ対応 */
    .tech-list li {
        padding: 0.9rem !important;
        font-size: 0.95rem !important;
    }
    
    .tech-list li strong {
        font-size: 1rem !important;
    }
    
    .tech-list .tech-detail {
        font-size: 0.85rem !important;
    }
    
    .tech-list i {
        font-size: 1.1rem !important;
    }
    
    /* オプション制作実績の小型スマホ対応 */
    .portfolio-info h4 {
        font-size: 1rem;
        text-align: center;
    }
    
    .portfolio-info h5 {
        font-size: 1rem;
        text-align: left;  /* 左寄せ */
        padding-left: 0.5rem;
    }
    
    /* オプション制作実績の説明文をさらに小さく - 左寄せ */
    .portfolio-info h5 + p {
        font-size: 0.65rem !important;
        text-align: left !important;  /* 左寄せ */
        padding: 0 0.5rem;
    }
    
    /* オプションセクションの画像とテキスト */
    .optional-portfolio-content img {
        max-width: 250px !important;
    }
    
    .optional-portfolio-content p {
        font-size: 0.8rem !important;
    }
    
    .optional-portfolio-content h5 {
        font-size: 0.95rem !important;
    }
    
    .portfolio-info ul li {
        font-size: 0.8rem;
    }
    
    .portfolio-info ul li strong {
        font-size: 0.85rem;
    }
    
    /* オプション制作実績の左ボーダーを削除 */
    .portfolio-info > div[style*="border-left"] {
        border-left: none !important;
        padding-left: 0 !important;
    }
    
    .portfolio-info img[alt*="ステッカー"] {
        max-width: 250px;
    }
    
    .portfolio-info p[style*="font-size: 0.85rem"] {
        font-size: 0.75rem !important;
        text-align: center;
    }
    
    .portfolio-info div[style*="padding: 0.8rem"] {
        padding: 0.6rem !important;
        font-size: 0.8rem !important;
    }
    
    /* 太陽と月の小型スマホ対応 */
    .sun {
        width: 40px;
        height: 40px;
    }
    
    .moon {
        width: 35px;
        height: 35px;
    }
}

/* アニメーション用のユーティリティ */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 通知メッセージ */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid var(--secondary-color);
}

.notification.error {
    border-left: 4px solid #ef4444;
}