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

/* パフォーマンス最適化 */
.splash-screen {
    will-change: opacity, visibility;
}

.letter {
    will-change: stroke-dashoffset;
}

.splash-logo,
.splash-subtitle,
.loading-dots,
.progress-container {
    will-change: opacity, transform;
}

.bg-circle {
    will-change: transform, opacity;
}

/* ========================================
   SPLASH SCREEN STYLES - アニメーション強化版
   ======================================== */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 50%, #e2e8f0 100%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.splash-screen.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* グリッド背景 */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

/* パーティクル */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 6s; }
.particle:nth-child(2) { top: 80%; left: 20%; animation-delay: 1s; animation-duration: 8s; }
.particle:nth-child(3) { top: 30%; right: 15%; animation-delay: 2s; animation-duration: 7s; }
.particle:nth-child(4) { bottom: 30%; left: 30%; animation-delay: 3s; animation-duration: 9s; }
.particle:nth-child(5) { top: 60%; right: 25%; animation-delay: 4s; animation-duration: 6s; }
.particle:nth-child(6) { bottom: 20%; right: 10%; animation-delay: 5s; animation-duration: 8s; }
.particle:nth-child(7) { top: 10%; left: 60%; animation-delay: 6s; animation-duration: 7s; }
.particle:nth-child(8) { bottom: 60%; left: 70%; animation-delay: 7s; animation-duration: 9s; }

/* 波紋エフェクト */
.ripple-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: rippleExpand 4s ease-out infinite;
}

.ripple-1 { animation-delay: 0s; }
.ripple-2 { animation-delay: 1.5s; }
.ripple-3 { animation-delay: 3s; }

.splash-container {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 400px;
    padding: 2rem;
}

/* ロゴ */
.splash-logo {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: scale(0.8) translateY(30px) rotateY(20deg);
    animation: logoAppear 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-image {
    width: 240px;
    height: auto;
    max-width: 85vw;
    filter: drop-shadow(0 8px 32px rgba(59, 130, 246, 0.15));
    transition: transform 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite alternate;
}

/* サブタイトル - タイピング効果 */
.splash-subtitle {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 1.8s forwards;
}

.subtitle-text {
    font-size: 1.125rem;
    font-weight: 400;
    color: #475569;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.6;
    position: relative;
}

.typing-text {
    overflow: hidden;
    border-right: 0.15em solid transparent;
    white-space: nowrap;
    animation: typing 2.5s steps(12, end) 2s forwards, blink-caret 0.75s step-end infinite 2s;
}

.cursor {
    opacity: 0;
    animation: blink 1s infinite 2s;
}

/* ローディングインジケーター */
.loading-indicator {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 4.5s forwards;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots .dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    animation: dotWave 1.4s ease-in-out infinite;
}

.loading-dots .dot:nth-child(1) { animation-delay: 0s; }
.loading-dots .dot:nth-child(2) { animation-delay: 0.1s; }
.loading-dots .dot:nth-child(3) { animation-delay: 0.2s; }
.loading-dots .dot:nth-child(4) { animation-delay: 0.3s; }
.loading-dots .dot:nth-child(5) { animation-delay: 0.4s; }

.loading-text {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.05em;
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* 進歩的な背景装飾 */
.splash-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 4;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.06));
    animation: floatComplex 15s ease-in-out infinite;
    backdrop-filter: blur(1px);
}

.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    animation: innerRotate 8s linear infinite;
}

.deco-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.deco-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 5s;
}

.deco-3 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 10s;
}

/* アニメーション */
@keyframes logoAppear {
    to {
        opacity: 1;
        transform: scale(1) translateY(0) rotateY(0deg);
    }
}

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

@keyframes glowPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.1; }
}

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

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes dotWave {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes textGlow {
    0% { color: #64748b; }
    100% { color: #3b82f6; }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translateY(20px) rotate(240deg);
        opacity: 0.5;
    }
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

@keyframes floatComplex {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-40px) rotate(90deg) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) rotate(180deg) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateY(30px) rotate(270deg) scale(1.05);
        opacity: 0.1;
    }
}

@keyframes innerRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* スプラッシュスクリーンはJavaScriptで完全制御 */

/* モバイル対応 */
@media (max-width: 768px) {
    .splash-container {
        padding: 1.5rem;
        max-width: 360px;
    }
    
    .logo-image {
        width: 200px;
    }
    
    .subtitle-text {
        font-size: 1rem;
    }
    
    .loading-dots .dot {
        width: 6px;
        height: 6px;
    }
    
    .loading-text {
        font-size: 0.8125rem;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .ripple {
        border-width: 1px;
    }
    
    .deco-circle {
        opacity: 0.6;
    }
    
    .deco-1 {
        width: 150px;
        height: 150px;
    }
    
    .deco-2 {
        width: 120px;
        height: 120px;
    }
    
    .deco-3 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .splash-container {
        padding: 1rem;
        max-width: 320px;
    }
    
    .logo-image {
        width: 180px;
    }
    
    .subtitle-text {
        font-size: 0.9375rem;
        padding: 0 0.5rem;
    }
    
    .loading-dots .dot {
        width: 5px;
        height: 5px;
    }
    
    .loading-text {
        font-size: 0.75rem;
    }
    
    .particle {
        width: 2px;
        height: 2px;
    }
    
    .deco-circle {
        opacity: 0.4;
    }
    
    .deco-1 {
        width: 120px;
        height: 120px;
    }
    
    .deco-2 {
        width: 100px;
        height: 100px;
    }
    
    .deco-3 {
        width: 80px;
        height: 80px;
    }
    
    .grid-background {
        background-size: 30px 30px;
    }
    
    /* モバイルでアニメーションを軽量化 */
    .particle,
    .ripple,
    .deco-circle {
        animation-duration: 12s;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f8fafc 100%);
    font-weight: 400;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

/* Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a5568;
    --accent-color: #0066cc;
    --accent-light: #4d9aff;
    
    /* Focus and interaction states */
    --focus-ring: 0 0 0 3px rgba(0, 102, 204, 0.3);
    --focus-ring-offset: 2px;
    
    /* Project Card Colors */
    --color-blue: #0066cc;
    --color-orange: #f56565;
    --color-green: #38a169;
    --color-purple: #9f7aea;
    --color-red: #e53e3e;
    --color-teal: #319795;
    --color-indigo: #667eea;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --black: #000000;
    
    --container-max-width: 1200px;
    --container-padding: 2rem;
    
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-colored: 0 10px 25px -5px rgba(0, 102, 204, 0.15);
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease-out;
}

/* Container */
.oknote-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
.oknote-section-title {
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    line-height: 1.2;
    position: relative;
}

.oknote-section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
}

.oknote-section-header {
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.oknote-section-subtitle {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.8;
}

/* Buttons */
.oknote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: -0.01em;
    text-transform: none;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.oknote-btn:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.oknote-btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

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

.oknote-btn--primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.oknote-btn--outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--gray-300);
}

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

.oknote-btn--block {
    width: 100%;
}

/* Header */
.oknote-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition-fast);
}

.oknote-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    min-height: 60px;
}

.oknote-logo__link {
    text-decoration: none;
}

.oknote-logo__image {
    height: 90px;
    width: auto;
    transition: var(--transition-fast);
}

.oknote-logo__image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.oknote-footer__logo-image {
    height: 65px;
    width: auto;
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.1);
    }
}

.oknote-nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.oknote-nav__link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    letter-spacing: -0.01em;
}

.oknote-nav__link:hover {
    color: var(--primary-color);
}

.oknote-mobile-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    padding: 12px;
    z-index: 1001;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.oknote-mobile-menu:hover {
    background: rgba(0, 0, 0, 0.05);
}

.oknote-mobile-menu:focus {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 8px;
}

.oknote-mobile-menu__line {
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.oknote-mobile-menu--open .oknote-mobile-menu__line:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
}

.oknote-mobile-menu--open .oknote-mobile-menu__line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.oknote-mobile-menu--open .oknote-mobile-menu__line:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Hero Section */
.oknote-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--white);
}


.oknote-hero__wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.oknote-hero__content {
    color: var(--primary-color);
    text-align: left;
}

.oknote-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
}

.oknote-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(77, 154, 255, 0.05));
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 25px;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.oknote-hero__tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.oknote-hero__tagline-prefix {
    color: var(--gray-600);
    font-weight: 300;
    font-style: italic;
}

.oknote-hero__tagline-brand {
    color: #00d4aa;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.oknote-hero__badge i {
    color: var(--accent-color);
}

.oknote-hero__title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--primary-color);
}

.oknote-hero__title-accent {
    background: linear-gradient(135deg, #f1c40f 0%, #e74c3c 50%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.oknote-hero__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 500px;
}

.oknote-hero__stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.oknote-hero__stat {
    text-align: left;
}

.oknote-hero__stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.oknote-hero__stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 400;
}

.oknote-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.oknote-btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    min-height: 52px;
}

.oknote-hero .oknote-btn--outline {
    color: var(--primary-color);
    border-color: var(--gray-300);
    background-color: transparent;
}

.oknote-hero .oknote-btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Image */
.oknote-hero__image-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oknote-hero__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 50% 20% 45% 30% / 40% 30% 60% 50%;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 8px rgba(241, 196, 15, 0.1),
        0 0 0 16px rgba(231, 76, 60, 0.05),
        0 0 0 24px rgba(0, 212, 170, 0.05);
    transition: var(--transition);
    animation: float 8s ease-in-out infinite;
}

.oknote-hero__image:hover {
    transform: scale(1.01);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 0 0 8px rgba(241, 196, 15, 0.15),
        0 0 0 16px rgba(231, 76, 60, 0.08),
        0 0 0 24px rgba(0, 212, 170, 0.08);
}

/* Projects Section */
.oknote-projects {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(248, 250, 252, 0.8) 50%, var(--white) 100%);
    position: relative;
}

.oknote-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 102, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.oknote-projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.oknote-project-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.oknote-project-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

.oknote-project-card__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.oknote-project-card__plan-badge {
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid;
}

.oknote-project-card__plan-badge.standard {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
    border-color: var(--color-green);
}

.oknote-project-card__plan-badge.premium {
    background: rgba(0, 102, 204, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.oknote-project-card__plan-badge.vip {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(159, 122, 234, 0.1));
    color: var(--color-purple);
    border-color: var(--color-purple);
}

.oknote-project-card__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.oknote-project-card__detail {
    text-align: left;
}

.oknote-project-card__detail-label {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.oknote-project-card__detail-value {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.oknote-difficulty {
    display: flex;
    gap: 2px;
}

.oknote-difficulty__star {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--gray-300);
    transition: var(--transition-fast);
}

.oknote-difficulty__star.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.oknote-project-card__btn {
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.oknote-project-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.oknote-project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.4);
}

.oknote-project-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    color: var(--secondary-color);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.oknote-project-card__title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.oknote-project-card__description {
    color: var(--secondary-color);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Plans Section */
.oknote-plans {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--white) 0%, rgba(248, 250, 252, 0.5) 100%);
    position: relative;
}

.oknote-plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 102, 204, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.oknote-plans__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.oknote-plan-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.oknote-plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.4);
}

.oknote-plan-card--featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0, 102, 204, 0.03) 100%);
    box-shadow: var(--shadow-colored);
    transform: scale(1.05);
}

.oknote-plan-card--premium {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, rgba(26, 26, 26, 0.03) 100%);
    box-shadow: 0 10px 25px -5px rgba(26, 26, 26, 0.1);
}

.oknote-plan-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.oknote-plan-card__title {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.oknote-plan-card__price {
    margin-bottom: 2rem;
}

.oknote-plan-card__currency {
    font-size: 1.125rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.oknote-plan-card__amount {
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: -0.04em;
}

.oknote-plan-card__period {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.oknote-plan-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.oknote-plan-card__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 300;
}

.oknote-plan-card__features i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* Simulation Section */
.oknote-simulation {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    position: relative;
}

.oknote-simulation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(67, 56, 202, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.oknote-simulation__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.oknote-simulation__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oknote-simulation__subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.oknote-simulation__card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 1000px;
    margin: 0 auto;
}

.oknote-simulation__inputs {
    margin-bottom: 40px;
}

.oknote-simulation__input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oknote-simulation__control {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oknote-simulation__label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.oknote-simulation__checkboxes {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.oknote-simulation__checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.oknote-simulation__checkbox:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.oknote-simulation__checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
}

.oknote-simulation__checkbox input[type="checkbox"]:checked + .oknote-simulation__checkbox-text {
    font-weight: 700;
    color: var(--white);
}

.oknote-simulation__checkbox input[type="checkbox"]:checked ~ * {
    color: var(--white);
}

.oknote-simulation__checkbox:has(input:checked) {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    transform: translateY(-3px);
}

.oknote-simulation__checkbox:has(input:checked)::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oknote-simulation__checkbox-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
    pointer-events: none;
}

.oknote-simulation__range-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oknote-simulation__range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--gray-200) 0%, var(--gray-200) 100%);
    outline: none;
    appearance: none;
    position: relative;
}

.oknote-simulation__range::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.oknote-simulation__range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.oknote-simulation__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.oknote-simulation__range::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.oknote-simulation__value {
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
    font-size: 1.1rem;
}

.oknote-simulation__results {
    margin-top: 40px;
}

.oknote-simulation__result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 2px solid rgba(0, 102, 204, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.oknote-simulation__result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

.oknote-simulation__result-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.oknote-simulation__result-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.oknote-simulation__result-amount {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oknote-simulation__result-details {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.oknote-simulation__disclaimer {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.oknote-simulation__disclaimer i {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* Project Detail Page */
.oknote-project-detail {
    padding: 2rem 0 6rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    min-height: 100vh;
}

.oknote-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.oknote-breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.oknote-breadcrumb__separator {
    margin: 0 0.5rem;
}

.oknote-project-detail__header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.oknote-project-detail__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.oknote-project-detail__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.oknote-project-detail__badge.standard {
    background: var(--color-green);
    color: var(--white);
}

.oknote-project-detail__badge.premium {
    background: var(--color-orange);
    color: var(--white);
}

.oknote-project-detail__badge.vip {
    background: var(--color-purple);
    color: var(--white);
}

.oknote-project-detail__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.oknote-project-detail__subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
}

.oknote-project-detail__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.oknote-project-detail__section {
    margin-bottom: 3rem;
}

.oknote-project-detail__section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.oknote-project-detail__section-content {
    line-height: 1.8;
    color: var(--gray-700);
}

.oknote-revenue-breakdown {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.oknote-revenue-breakdown__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.oknote-revenue-breakdown__item:last-child {
    border-bottom: none;
}

.oknote-revenue-breakdown__label {
    font-weight: 600;
    color: var(--gray-700);
}

.oknote-revenue-breakdown__value {
    font-weight: 700;
    color: var(--accent-color);
}

.oknote-revenue-note {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-style: italic;
}

.oknote-conditions-list {
    list-style: none;
    padding: 0;
}

.oknote-conditions-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.oknote-conditions-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: bold;
}

.oknote-work-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.oknote-work-steps__item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.oknote-work-steps__number {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.oknote-work-steps__content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.oknote-project-detail__sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.oknote-project-detail__stats {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.oknote-project-detail__stats h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.oknote-project-detail__stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.oknote-project-detail__stat:last-child {
    border-bottom: none;
}

.oknote-project-detail__stat-label {
    font-weight: 500;
    color: var(--gray-700);
}

.oknote-project-detail__stat-value {
    font-weight: 600;
    color: var(--primary-color);
}

.oknote-project-detail__stat-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.oknote-project-detail__stat-badge.standard {
    background: var(--color-green);
    color: var(--white);
}

.oknote-project-detail__stat-badge.premium {
    background: var(--color-orange);
    color: var(--white);
}

.oknote-project-detail__stat-badge.vip {
    background: var(--color-purple);
    color: var(--white);
}

.oknote-project-detail__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.oknote-btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.oknote-btn--outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.oknote-btn--outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Tablet レスポンシブ */
@media (max-width: 1024px) {
    .oknote-project-detail__header {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .oknote-project-detail__icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .oknote-project-detail__title {
        font-size: 2.2rem;
    }
    
    .oknote-project-detail__content {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .oknote-project-detail {
        padding: 1rem 0 4rem;
    }
    
    .oknote-breadcrumb {
        margin-bottom: 1.5rem;
        font-size: 0.8rem;
    }
    
    .oknote-project-detail__header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .oknote-project-detail__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .oknote-project-detail__title {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .oknote-project-detail__subtitle {
        font-size: 1rem;
    }

    .oknote-project-detail__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .oknote-project-detail__section {
        margin-bottom: 2rem;
    }
    
    .oknote-project-detail__section-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .oknote-work-steps__item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .oknote-work-steps__number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .oknote-revenue-breakdown {
        padding: 1rem;
    }
    
    .oknote-revenue-breakdown__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.6rem 0;
    }
    
    .oknote-conditions-list li {
        padding: 0.6rem 0;
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
    
    .oknote-project-detail__stats {
        padding: 1.5rem;
    }
    
    .oknote-project-detail__stat {
        padding: 0.8rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .oknote-project-detail__header {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .oknote-project-detail__title {
        font-size: 1.5rem;
    }
    
    .oknote-project-detail__section-title {
        font-size: 1.2rem;
    }
    
    .oknote-work-steps {
        gap: 1rem;
    }
    
    .oknote-work-steps__item {
        padding: 0.8rem;
    }
    
    .oknote-work-steps__content h3 {
        font-size: 1rem;
    }
    
    .oknote-project-detail__stats {
        padding: 1rem;
    }
    
    .oknote-btn--large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Support Section */
.oknote-support {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(248, 250, 252, 0.8) 100%);
    position: relative;
}

.oknote-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="support-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,102,204,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23support-pattern)"/></svg>');
    opacity: 0.3;
}

/* Support Tabs */
.oknote-support__tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0;
}

.oknote-support__tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    bottom: -1px;
}

.oknote-support__tab:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.05);
}

.oknote-support__tab--active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: rgba(0, 102, 204, 0.05);
}

.oknote-support__tab i {
    font-size: 1.1rem;
}

/* Support Content */
.oknote-support__content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.oknote-support__content--active {
    display: block;
}

.oknote-qa__list {
    max-width: 800px;
    margin: 0 auto;
}

.oknote-qa__item {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.oknote-qa__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: var(--transition);
}

.oknote-qa__question:hover {
    background-color: var(--gray-100);
}

.oknote-qa__question i {
    transition: var(--transition);
    color: var(--accent-color);
}

.oknote-qa__question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.oknote-qa__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.oknote-qa__answer.oknote-qa__answer--open {
    max-height: 200px;
    transition: max-height 0.3s ease-in;
}

.oknote-qa__answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Glossary Styles */
.oknote-glossary {
    max-width: 800px;
    margin: 0 auto;
}

.oknote-glossary__item {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.oknote-glossary__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.oknote-glossary__term {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.oknote-glossary__term::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.oknote-glossary__definition {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
.oknote-footer {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, rgba(248, 250, 252, 0.8) 100%);
    color: var(--primary-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-200);
}

.oknote-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.oknote-footer__nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.oknote-footer__nav-list a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 400;
    font-size: 0.95rem;
}

.oknote-footer__nav-list a:hover {
    color: var(--primary-color);
}

.oknote-footer__bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive Design */
/* Large Tablet */
@media (max-width: 1024px) {
    .oknote-hero__wrapper {
        gap: 3rem;
    }
    
    .oknote-hero__image-container {
        height: 350px;
    }
    
    .oknote-logo__image {
        height: 80px;
    }
    
    .oknote-projects__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .oknote-nav__list {
        gap: 1.5rem;
    }
    
    .oknote-simulation {
        padding: 80px 0;
    }
    
    .oknote-simulation__title {
        font-size: 2rem;
    }
    
    .oknote-simulation__card {
        padding: 30px;
        max-width: none;
        margin: 0 10px;
    }
    
    .oknote-simulation__checkboxes {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .oknote-simulation__checkbox {
        padding: 14px 16px;
    }
}

@media (max-width: 768px) {
    .oknote-header__content {
        padding: 0.5rem 0;
        min-height: 50px;
    }
    
    .oknote-logo__image {
        height: 70px;
    }
    
    .oknote-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 0;
        overflow: hidden;
        z-index: 1000;
    }
    
    .oknote-nav--open {
        display: block;
        opacity: 1;
        transform: translateY(0);
        max-height: 400px;
    }
    
    .oknote-nav__list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .oknote-nav__item {
        border-bottom: 1px solid var(--gray-100);
    }
    
    .oknote-nav__item:last-child {
        border-bottom: none;
    }
    
    .oknote-nav__link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    /* モバイル版ログインボタンのスタイル調整 */
    .oknote-nav__item #login-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 0.5rem 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border: none;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .oknote-nav__item #login-btn:hover {
        background: linear-gradient(135deg, #5a67d8, #6b46c1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    /* ユーザーメニューボタンのモバイル調整 */
    .oknote-nav__item #user-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 0.5rem 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
        border: 2px solid #667eea;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .oknote-nav__item #user-menu-btn:hover {
        background: #667eea;
        color: white;
        transform: translateY(-2px);
    }

    /* モバイル版Premiumリンクの調整 */
    .oknote-nav__item a[href="premium-members.html"] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 0.5rem 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: white;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
    }

    .oknote-nav__item a[href="premium-members.html"]:hover {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    }
    
    .oknote-nav__link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .oknote-nav__link:hover {
        background: var(--gray-50);
        color: var(--accent-color);
        transform: translateX(5px);
    }
    
    .oknote-nav__link:hover::before {
        left: 100%;
    }

    /* ボタン要素は通常のナビリンクスタイルを無効化 */
    .oknote-nav__item button.oknote-nav__link::before,
    .oknote-nav__item a[href="premium-members.html"]::before {
        display: none;
    }

    .oknote-nav__item button.oknote-nav__link:hover,
    .oknote-nav__item a[href="premium-members.html"]:hover {
        background: initial;
        transform: initial;
    }
    
    .oknote-mobile-menu {
        display: flex;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .oknote-hero__wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 2rem 0;
    }
    
    .oknote-hero__content {
        text-align: center;
        order: 1;
    }
    
    .oknote-hero__visual {
        order: 2;
        align-items: center;
        justify-content: center;
    }
    
    .oknote-hero__title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .oknote-hero__stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .oknote-hero__actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .oknote-btn {
        min-width: 250px;
    }
    
    .oknote-projects__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .oknote-project-card__details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .oknote-project-card__detail {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .oknote-section-title {
        font-size: 2rem;
    }
    
    .oknote-projects__grid,
    .oknote-plans__grid {
        grid-template-columns: 1fr;
    }
    
    .oknote-footer__content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .oknote-footer__nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .oknote-container {
        padding: 0 1rem;
    }
    
    .oknote-simulation {
        padding: 60px 0;
    }
    
    .oknote-simulation__title {
        font-size: 1.8rem;
    }
    
    .oknote-simulation__subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .oknote-simulation__card {
        padding: 25px;
    }
    
    .oknote-simulation__checkboxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .oknote-simulation__checkbox {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .oknote-simulation__checkbox-text {
        font-size: 0.9rem;
    }
    
    .oknote-simulation__result-card {
        padding: 25px;
    }
    
    .oknote-simulation__result-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .oknote-simulation__result-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .oknote-simulation__result-amount {
        font-size: 1rem;
        min-height: 50px;
    }
    
    .oknote-simulation__disclaimer {
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    
    .oknote-simulation__result {
        padding: 25px;
    }
    
    .oknote-simulation__result-value {
        font-size: 2rem;
    }
}

/* Animation Classes */
.oknote-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GPU acceleration for animations */
.oknote-hero__image,
.oknote-project-card {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .oknote-floating,
    .oknote-hero__image {
        animation: none !important;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Project Card Color Variations */
.oknote-project-card--blue .oknote-project-card__icon {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.05) 100%);
    color: var(--color-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.oknote-project-card--blue:hover .oknote-project-card__icon {
    background-color: var(--color-blue);
    color: var(--white);
    transform: scale(1.05);
}

.oknote-project-card--orange .oknote-project-card__icon {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(245, 101, 101, 0.05) 100%);
    color: var(--color-orange);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.15);
}

.oknote-project-card--orange:hover .oknote-project-card__icon {
    background-color: var(--color-orange);
    color: var(--white);
    transform: scale(1.05);
}

.oknote-project-card--green .oknote-project-card__icon {
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.1) 0%, rgba(56, 161, 105, 0.05) 100%);
    color: var(--color-green);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.15);
}

.oknote-project-card--green:hover .oknote-project-card__icon {
    background-color: var(--color-green);
    color: var(--white);
    transform: scale(1.05);
}

.oknote-project-card--purple .oknote-project-card__icon {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.1) 0%, rgba(159, 122, 234, 0.05) 100%);
    color: var(--color-purple);
    box-shadow: 0 4px 12px rgba(159, 122, 234, 0.15);
}

.oknote-project-card--purple:hover .oknote-project-card__icon {
    background-color: var(--color-purple);
    color: var(--white);
    transform: scale(1.05);
}

.oknote-project-card--red .oknote-project-card__icon {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.1) 0%, rgba(229, 62, 62, 0.05) 100%);
    color: var(--color-red);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.15);
}

.oknote-project-card--red:hover .oknote-project-card__icon {
    background-color: var(--color-red);
    color: var(--white);
    transform: scale(1.05);
}

.oknote-project-card--teal .oknote-project-card__icon {
    background: linear-gradient(135deg, rgba(49, 151, 149, 0.1) 0%, rgba(49, 151, 149, 0.05) 100%);
    color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(49, 151, 149, 0.15);
}

.oknote-project-card--teal:hover .oknote-project-card__icon {
    background-color: var(--color-teal);
    color: var(--white);
    transform: scale(1.05);
}

.oknote-project-card--indigo .oknote-project-card__icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
    color: var(--color-indigo);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.oknote-project-card--indigo:hover .oknote-project-card__icon {
    background-color: var(--color-indigo);
    color: var(--white);
    transform: scale(1.05);
}

/* Default project card hover effect */
.oknote-project-card:hover .oknote-project-card__icon {
    transform: scale(1.05);
}

/* Header scroll effect */
.oknote-header--scrolled {
    box-shadow: var(--shadow-subtle);
    background-color: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
    .oknote-hero__image {
        border-radius: 20px;
        animation: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .oknote-hero__image:hover {
        transform: none;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }
}

/* 大画面対応 */
@media (min-width: 1200px) {
    .oknote-hero__wrapper {
        max-width: 1100px;
        gap: 4rem;
    }
    
    .oknote-hero__content {
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    .oknote-hero__wrapper {
        max-width: 1200px;
        gap: 4.5rem;
    }
}

@media (max-width: 480px) {
    .oknote-header__content {
        padding: 0.4rem 0;
        min-height: 50px;
    }
    
    .oknote-logo__image {
        height: 60px;
    }
    
    .oknote-mobile-menu {
        padding: 10px;
        gap: 3px;
    }
    
    .oknote-mobile-menu__line {
        width: 20px;
        height: 2px;
    }
    
    .oknote-nav__link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .oknote-footer__logo-image {
        height: 50px;
    }
    
    .oknote-hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .oknote-hero__title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .oknote-hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .oknote-hero__badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .oknote-hero__stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .oknote-hero__stat {
        text-align: center;
        flex: 1;
    }
    
    .oknote-hero__stat-number {
        font-size: 1.5rem;
    }
    
    .oknote-hero__stat-label {
        font-size: 0.8rem;
    }
    
    .oknote-hero__image-container {
        height: 300px;
        margin-top: 2rem;
    }
    
    .oknote-hero__image {
        border-radius: 16px;
    }
    
    .oknote-project-card {
        padding: 1.5rem;
    }
    
    .oknote-project-card__header {
        margin-bottom: 1rem;
    }
    
    .oknote-project-card__badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .oknote-project-card__plan-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
    
    .oknote-project-card__details {
        padding: 0.75rem;
        margin: 1rem 0;
    }
    
    .oknote-project-card__detail-label {
        font-size: 0.7rem;
    }
    
    .oknote-project-card__detail-value {
        font-size: 0.8rem;
    }
    
    .oknote-project-card__btn {
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
    }
    
    .oknote-btn {
        min-width: 200px;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .oknote-qa__question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .oknote-qa__answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .oknote-container {
        padding: 0 1rem;
    }
    
    .oknote-section-title {
        font-size: 1.75rem;
    }
    
    .oknote-section-subtitle {
        font-size: 1rem;
    }
    
    .oknote-support__tabs {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
        border-bottom: none;
    }
    
    .oknote-support__tab {
        border-radius: 8px;
        border-bottom: none;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .oknote-support__tab--active {
        background: var(--accent-color);
        color: var(--white);
    }
    
    .oknote-glossary__item {
        padding: 1rem;
    }
    
    .oknote-glossary__term {
        font-size: 1.1rem;
    }
    
    .oknote-glossary__definition {
        font-size: 0.9rem;
    }
}