:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
}

html {
    scroll-behavior: smooth;
}

body, h2, h3 {
    overflow-wrap: anywhere; /* 収まらない場合に折り返す */
    word-break: auto-phrase;
    line-break: strict; /* 禁則処理を厳格に適用 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

.container iframe {
    width: 100%;
    height: 1500px;
    border: none;
    border-radius: 12px;
}

header {
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

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

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

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

.cta-button {
    background-color: var(--primary);
    margin: 10px;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.cta-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 26px;
    margin-left: 12px;
}

.cta-secondary:hover {
    background-color: rgba(59, 130, 246, 0.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.hero {
    padding: 120px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234f46e5' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 22px;
    max-width: 720px;
    margin: 0 auto 40px;
    color: var(--gray);
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-badge {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

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

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    flex-grow: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.2s;
    text-decoration: none;
}

.feature-link:hover {
    transform: translateX(4px);
}

.feature-link svg {
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.how-it-works {
    padding: 80px 0;
    background-color: #f1f5f9;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.step p {
    color: var(--gray);
}

.benefits {
    padding: 80px 0;
    background-color: white;
}

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

.benefits-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefits-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.benefits-card p {
    color: var(--gray);
}

.pricing {
    padding: 80px 0;
    background-color: #f1f5f9;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 720px;
    position: relative;
}

.pricing-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 320px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: translateY(-50%);
    z-index: 0;
}

.pricing-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    transform: scale(1.05);
    padding: 50px 40px;
    z-index: 2;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) border-box;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.pricing-card.popular:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.25);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.pricing-header {
    margin-bottom: 24px;
}

.price {
    font-size: 56px;
    font-weight: 800;
    margin: 20px 0;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--gray);
    margin-left: 4px;
}

.pricing-card.popular .price {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-description {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 15px;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.6), transparent);
    margin: 20px 0;
    width: 100%;
}

.pricing-features {
    margin-bottom: 32px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    list-style: none;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features li:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    flex-shrink: 0;
}

.pricing-card.popular .pricing-features li:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b82f6'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.pre-register {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.pre-register h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.pre-register p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

.count-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 30px;
    display: inline-block;
}

.count-text {
    font-size: 18px;
    font-weight: 500;
}

.count-number {
    font-size: 24px;
    font-weight: 700;
    color: #ffdd00;
}

.faq {
    padding: 80px 0;
    background-color: white;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f8fafc;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

footer {
    padding: 50px 0;
    background-color: var(--dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-column p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.copyright {
    margin-top: 40px;
    text-align: center;
    color: #cbd5e1;
    font-size: 14px;
}

/* 簡易アニメーション */
.animate {
    animation: fadeInUp 0.6s ease-out;
}

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

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .features-grid, .pricing-cards, .benefits-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .step:not(:last-child):after {
        display: none;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .features-grid, .benefits-cards, .pricing-cards {
        grid-template-columns: 1fr;
    }

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

