/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

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

/* ヒーローセクション */
.hero {
    position: relative;
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 80px;
    overflow-x: hidden;
    overflow-y: visible;
}

.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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.05;
}

.chart-animation {
    position: absolute;
    font-size: 20rem;
    color: white;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-20px);
    }
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
    min-height: 650px;
}

.hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 580px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateX(0);
    transition: all 0.3s;
    margin-right: 50px;
}

.hero-content:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-10px);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
}

.hero-img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 
        0 0 0 15px rgba(255, 255, 255, 0.1),
        0 0 0 30px rgba(255, 255, 255, 0.05),
        0 30px 80px rgba(0, 0, 0, 0.4);
    border: 8px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    animation: heroImageFloat 4s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.hero-img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 15px rgba(255, 255, 255, 0.15),
        0 0 0 30px rgba(255, 255, 255, 0.08),
        0 40px 100px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight-text {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    position: relative;
}

.hero-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.risk-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 問題提起セクション */
.problem-section {
    padding: 80px 0;
    background: var(--background-light);
}

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

.section-title .subtitle-accent {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.section-title .title-highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.problem-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--danger-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 3rem;
    color: var(--danger-color);
    margin: 2rem 0 1rem;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

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

/* ソリューションセクション */
.solution-section {
    padding: 80px 0;
    background: var(--background-white);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefit-list {
    list-style: none;
    margin-top: 2rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.benefit-list i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.solution-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.solution-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 特徴セクション */
.features-section {
    padding: 80px 0;
    background: var(--background-light);
}

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

.feature-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

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

/* システムセクション */
.system-section {
    padding: 80px 0;
    background: var(--background-white);
}

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

.system-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.step-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

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

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

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* 講師紹介セクション */
.instructor-section {
    padding: 80px 0;
    background: var(--background-light);
}

.instructor-card {
    background: var(--background-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 3rem;
    align-items: center;
}

.instructor-image {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 5rem;
}

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

.instructor-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.instructor-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.instructor-credentials {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.credential i {
    color: var(--warning-color);
    font-size: 1.2rem;
}

/* お問い合わせセクション */
.contact-section {
    padding: 80px 0;
    background: var(--background-white);
}

.line-contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--background-light);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.line-icon-large {
    font-size: 8rem;
    color: #06C755;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.line-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 3rem;
    background: #06C755;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-line:hover {
    background: #05B04D;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.4);
}

.btn-line i {
    font-size: 1.6rem;
}

.contact-info-note {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.small-text {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.disclaimer {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* アニメーション */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

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

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .hero-wrapper {
        min-height: 580px;
    }
    
    .hero-content {
        max-width: 500px;
        padding: 2.5rem;
        margin-right: 30px;
    }
    
    .hero-image {
        right: -30px;
    }
    
    .hero-img {
        width: 420px;
        height: 420px;
    }
}

@media (max-width: 1024px) {
    .hero-wrapper {
        min-height: 520px;
    }
    
    .hero-content {
        max-width: 450px;
        padding: 2rem;
        margin-right: 20px;
    }
    
    .hero-image {
        right: -50px;
    }
    
    .hero-img {
        width: 380px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-wrapper {
        flex-direction: column;
        min-height: auto;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 2rem;
        margin-right: 0;
        transform: translateX(0) !important;
    }
    
    .hero-content:hover {
        transform: translateX(0) !important;
    }
    
    .hero-image {
        position: relative;
        right: 0;
        top: 0;
        transform: translateY(0);
    }
    
    .hero-img {
        width: 300px;
        height: 300px;
        animation: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight-text {
        font-size: 1.8rem;
        display: block;
        margin: 0.5rem 0;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-img {
        max-height: 350px;
    }
    
    .system-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .instructor-credentials {
        justify-content: center;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .chart-animation {
        font-size: 10rem;
        right: -50px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .hero-img {
        width: 250px;
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title .subtitle-accent {
        font-size: 1rem;
    }
    
    .problem-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .problem-icon {
        font-size: 2.5rem;
        margin: 1.5rem 0 1rem;
    }
    
    .problem-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .solution-img {
        max-height: 250px;
    }
    
    .line-contact-wrapper {
        padding: 2.5rem 2rem;
    }
    
    .line-icon-large {
        font-size: 6rem;
    }
    
    .line-description {
        font-size: 1.1rem;
    }
    
    .btn-line {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }
}

