/*
Theme Name: My Custom Theme
Author: kateikyoushi-kojin-keiyaku
Version: 1.0
*/


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

        body {
            font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #fff;
        }

        /* Header */
        .header {
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .logo {
            font-size: 28px;
            font-weight: bold;
            color: #2c5aa0;
            text-decoration: none;
        }

        .nav {
            display: flex;
            gap: 30px;
        }

        .nav a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav a:hover {
            color: #2c5aa0;
        }

        .header-buttons {
            display: flex;
            gap: 15px;
        }

        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .mobile-menu-toggle span {
            width: 25px;
            height: 3px;
            background: #333;
            margin: 3px 0;
            transition: 0.3s;
        }

        .mobile-menu {
            display: none;
            position: absolute;
            top: 70px;
            left: 0;
            right: 0;
            background: white;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            z-index: 999;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu-content {
            padding: 20px;
        }

        .mobile-nav {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 30px;
        }

        .mobile-nav a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }

        .mobile-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-block;
            text-align: center;
        }

        .btn-outline {
            color: #2c5aa0;
            border: 2px solid #2c5aa0;
            background: transparent;
        }

        .btn-outline:hover {
            background: #2c5aa0;
            color: white;
        }

        .btn-primary {
            background: #2c5aa0;
            color: white;
        }

        .btn-primary:hover {
            background: #1e3f73;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="tutorPattern" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="80" fill="%23f0f8ff" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23tutorPattern)"/><g transform="translate(200,150)"><circle cx="80" cy="80" r="40" fill="%23ffebcd" opacity="0.3"/><circle cx="80" cy="60" r="15" fill="%23deb887" opacity="0.4"/><rect x="65" y="75" width="30" height="25" rx="5" fill="%234682b4" opacity="0.3"/></g><g transform="translate(500,200)"><circle cx="60" cy="60" r="30" fill="%23ffe4e1" opacity="0.3"/><circle cx="60" cy="45" r="12" fill="%23cd853f" opacity="0.4"/><rect x="48" y="60" width="24" height="20" rx="4" fill="%2332cd32" opacity="0.3"/></g><g transform="translate(800,180)"><rect x="20" y="20" width="120" height="80" rx="10" fill="%23ffffff" opacity="0.2"/><rect x="30" y="30" width="100" height="5" fill="%23333333" opacity="0.3"/><rect x="30" y="40" width="80" height="5" fill="%23333333" opacity="0.3"/><rect x="30" y="50" width="90" height="5" fill="%23333333" opacity="0.3"/></g></svg>');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 150px 20px 100px;
            margin-top: 70px;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><g transform="translate(150,100)"><ellipse cx="100" cy="120" rx="60" ry="80" fill="%23f0f8ff" opacity="0.15"/><circle cx="100" cy="80" r="25" fill="%23deb887" opacity="0.2"/><rect x="80" y="105" width="40" height="35" rx="8" fill="%234682b4" opacity="0.2"/><rect x="60" y="140" width="80" height="40" rx="20" fill="%236495ed" opacity="0.15"/></g><g transform="translate(400,120)"><ellipse cx="80" cy="100" rx="45" ry="60" fill="%23ffe4e1" opacity="0.15"/><circle cx="80" cy="70" r="18" fill="%23cd853f" opacity="0.2"/><rect x="65" y="88" width="30" height="25" rx="6" fill="%2332cd32" opacity="0.2"/><rect x="50" y="113" width="60" height="30" rx="15" fill="%2398fb98" opacity="0.15"/></g><g transform="translate(680,130)"><rect x="20" y="30" width="140" height="100" rx="15" fill="%23ffffff" opacity="0.25"/><rect x="35" y="45" width="110" height="8" fill="%232c5aa0" opacity="0.3"/><rect x="35" y="60" width="90" height="6" fill="%23666666" opacity="0.25"/><rect x="35" y="72" width="100" height="6" fill="%23666666" opacity="0.25"/><circle cx="70" cy="95" r="8" fill="%232c5aa0" opacity="0.3"/><circle cx="90" cy="95" r="8" fill="%23ff6b6b" opacity="0.3"/><circle cx="110" cy="95" r="8" fill="%234ecdc4" opacity="0.3"/></g></svg>');
            background-size: cover;
            background-position: center;
            z-index: -1;
        }

        .hero-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 40px;
            opacity: 0.95;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn-large {
            padding: 15px 35px;
            font-size: 1.1rem;
            border-radius: 30px;
        }

        .btn-white {
            background: white;
            color: #2c5aa0;
        }

        .btn-white:hover {
            background: #f8f9ff;
            transform: translateY(-2px);
        }

        /* Trust Section */
        .trust {
            padding: 80px 20px;
            background: #f8f9ff;
        }

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

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 60px;
            color: #2c5aa0;
        }

        .trust-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        @media (max-width: 1024px) {
            .trust-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .trust-grid {
                grid-template-columns: 1fr;
            }
        }

        .trust-item {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            text-align: center;
            transition: transform 0.3s;
        }

        .trust-item:hover {
            transform: translateY(-5px);
        }

        .trust-icon {
            width: 80px;
            height: 80px;
            background: #e8f2ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2rem;
            color: #2c5aa0;
        }

        .trust-item h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: #333;
        }

        .trust-item p {
            color: #666;
            line-height: 1.7;
        }

        /* How It Works - Enhanced Single Column */
        .how-it-works {
            padding: 80px 20px;
            background: white;
            overflow: hidden;
        }

        .steps-container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .steps {
            display: flex;
            flex-direction: column;
            gap: 60px;
            margin-top: 60px;
        }

        .step {
            display: flex;
            align-items: center;
            gap: 40px;
            background: #f8f9ff;
            padding: 40px;
            border-radius: 20px;
            transition: all 0.8s ease;
            opacity: 0;
            transform: translateX(-100px);
            position: relative;
        }

        .step:nth-child(even) {
            flex-direction: row-reverse;
            transform: translateX(100px);
        }

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

        .step:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
        }

        .step-visual {
            flex-shrink: 0;
            position: relative;
        }

        .step-image {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .step-image::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
            animation: shimmer 3s infinite;
        }

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

        .step-number {
            position: absolute;
            top: -15px;
            right: -15px;
            width: 50px;
            height: 50px;
            background: #ff6b6b;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            font-weight: bold;
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
            z-index: 2;
        }

        .step-content {
            flex: 1;
            text-align: left;
        }

        .step:nth-child(even) .step-content {
            text-align: right;
        }

        .step h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #333;
            font-weight: 600;
        }

        .step p {
            color: #666;
            line-height: 1.8;
            font-size: 1.1rem;
        }

        /* Vertical Progress Line */
        .vertical-progress-line {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #e9ecef;
            transform: translateX(-50%);
            z-index: 0;
        }

        .vertical-progress-fill {
            height: 0%;
            background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
            width: 100%;
            transition: height 3s ease;
            border-radius: 2px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .step {
                flex-direction: column !important;
                text-align: center;
                gap: 30px;
                padding: 30px 20px;
            }

            .step-content {
                text-align: center !important;
            }

            .step:nth-child(even) .step-content {
                text-align: center !important;
            }

            .step-image {
                width: 100px;
                height: 100px;
                font-size: 2.5rem;
            }

            .step-number {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
                top: -10px;
                right: -10px;
            }

            .step h3 {
                font-size: 1.5rem;
            }

            .step p {
                font-size: 1rem;
            }

            .vertical-progress-line {
                display: none;
            }

            .step {
                transform: translateY(50px) !important;
            }

            .step.visible {
                transform: translateY(0) !important;
            }
        }

        @media (max-width: 480px) {
            .step {
                padding: 25px 15px;
                gap: 20px;
            }

            .step-image {
                width: 80px;
                height: 80px;
                font-size: 2rem;
            }

            .step-number {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }

            .step h3 {
                font-size: 1.3rem;
            }
        }

        /* Stats Section with Animation */
        .stats {
            background: #2c5aa0;
            color: white;
            padding: 60px 20px;
            text-align: center;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            max-width: 800px;
            margin: 0 auto;
        }

        .stat-item {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .stat-item.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .stat-item h3 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            font-weight: bold;
            color: #4ecdc4;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #4ecdc4;
        }

        .stat-item p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* CTA Section */
        .cta {
            padding: 80px 20px;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            text-align: center;
        }

        .cta h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .cta p {
            font-size: 1.2rem;
            margin-bottom: 40px;
            opacity: 0.95;
        }

        /* Footer */
        .footer {
            background: #333;
            color: white;
            padding: 50px 20px 30px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        .footer-section h4 {
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .footer-section a {
            color: #ccc;
            text-decoration: none;
            display: block;
            margin-bottom: 10px;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: white;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid #555;
            color: #999;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .nav {
                display: none;
            }

            .header-buttons {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

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

            .hero-container {
                padding: 0 10px;
            }

            .trust-item {
                padding: 30px 20px;
            }

            .step {
                padding: 30px 20px;
            }

            .step-image {
                width: 100px;
                height: 100px;
                font-size: 2.5rem;
            }

            .step-number {
                width: 35px;
                height: 35px;
                font-size: 1rem;
                top: -10px;
                right: -10px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }

            .stat-number {
                font-size: 2rem;
            }

            .stat-item span {
                font-size: 2rem !important;
            }

            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }

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

            .logo {
                font-size: 24px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .btn-large {
                padding: 12px 25px;
                font-size: 1rem;
            }

            .trust-item {
                padding: 25px 15px;
            }

            .trust-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .step {
                padding: 25px 15px;
            }

            .step-image {
                width: 80px;
                height: 80px;
                font-size: 2rem;
            }
        }