/* ===========================
   Variables
=========================== */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #dc2626;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --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);
}

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

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

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

/* ===========================
   Typography
=========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1.25rem auto 0;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(30, 64, 175, 0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 3.5rem;
    line-height: 1.9;
    font-weight: 500;
}

.section-subtitle strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===========================
   Buttons
=========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.5);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-large i {
    font-size: 1.5rem;
}

/* ===========================
   Hero Section
=========================== */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.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 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

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

.hero-badge {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.experience-years,
.experience-students {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.hero-title-main {
    display: inline-block;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    font-size: 1.1em;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-size: 1.15em;
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.5));
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.8;
}

.subtitle-highlight {
    display: inline-block;
    font-size: 1.1em;
    font-weight: 600;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.subtitle-method {
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-credentials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.credential-item i {
    color: var(--accent-color);
    font-size: 1.35rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.credential-item span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    margin-top: 3rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* ===========================
   Mission Section
=========================== */
.mission {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-light), white);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.375rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.9;
    font-weight: 500;
}

.highlight-text {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(245, 158, 11, 0.08));
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.highlight-text strong {
    color: var(--accent-color);
    font-size: 1.1em;
}

.message-text {
    font-size: 1.375rem;
    color: var(--text-dark);
    line-height: 1.9;
    font-weight: 500;
}

.mission-message {
    font-size: 1.625rem;
    color: var(--primary-color);
    line-height: 1.9;
    font-weight: 700;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 58, 138, 0.1));
    border-radius: 16px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
    letter-spacing: 0.5px;
    text-align: center;
}

/* ===========================
   Type Section
=========================== */
.type-section {
    padding: 80px 0;
    background: white;
}

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

.type-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

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

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

.type-title {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

.type-description {
    font-size: 1.0625rem;
    color: var(--text-dark);
    line-height: 1.9;
    font-weight: 500;
}

.common-wishes {
    margin-bottom: 4rem;
}

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

.wish-card {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.wish-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.wish-card h4 {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

.wish-card p {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.0625rem;
    font-weight: 500;
}

.type-conclusion {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.conclusion-text {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.conclusion-text strong {
    color: var(--accent-color);
    font-size: 1.1em;
}

.conclusion-detail {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.9;
    font-weight: 500;
}

.conclusion-detail strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===========================
   Solution Section
=========================== */
.solution {
    padding: 80px 0;
    background: var(--bg-light);
}

.comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.comparison-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-item.highlight {
    border: 3px solid var(--primary-color);
}

.comparison-label {
    background: var(--text-light);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.comparison-label.success {
    background: var(--primary-color);
}

.comparison-content {
    padding: 2rem;
}

.comparison-content h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.comparison-content ul {
    list-style: none;
    margin-bottom: 1.75rem;
}

.comparison-content li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
}

.comparison-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5em;
}

.comparison-result {
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.8;
    font-weight: 500;
}

.comparison-result strong {
    font-size: 1.125rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.comparison-result.issue {
    background: rgba(220, 38, 38, 0.12);
    color: var(--secondary-color);
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.comparison-result.success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success-color);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

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

.formula {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 16px;
    border: 2px solid var(--primary-color);
}

.formula-title {
    font-size: 1.625rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.formula-content {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.formula-note {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.8;
}

/* ===========================
   Method Section
=========================== */
.method {
    padding: 80px 0;
    background: white;
}

.method-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.method-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.step-title {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.step-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.step-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
}

.method-plus {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.method-result {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.method-result h3 {
    font-size: 2rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.method-result p {
    font-size: 1.25rem;
    line-height: 1.9;
    font-weight: 500;
}

/* ===========================
   Features Section
=========================== */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-number {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.875rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.feature-content p {
    margin-bottom: 1.25rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-size: 1.0625rem;
    font-weight: 500;
}

.feature-emphasis {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
    display: block;
    margin-top: 1rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.feature-list-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.feature-list-item p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.8;
}

.curriculum-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.timeline-marker {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.timeline-content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===========================
   Curriculum Section
=========================== */
.curriculum {
    padding: 80px 0;
    background: white;
}

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

.curriculum-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.curriculum-month {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.curriculum-title {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.curriculum-list {
    list-style: none;
}

.curriculum-list li {
    padding: 0.875rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    font-weight: 500;
}

.curriculum-list i {
    color: var(--success-color);
    margin-top: 0.25rem;
}

.curriculum-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===========================
   Instructor Section
=========================== */
.instructor {
    padding: 80px 0;
    background: var(--bg-light);
}

.instructor-profile {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.instructor-name {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.instructor-position {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.instructor-section {
    margin-bottom: 2.5rem;
}

.instructor-section h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--border-color);
    font-weight: 700;
}

.instructor-section i {
    color: var(--accent-color);
}

.instructor-credentials {
    list-style: none;
}

.instructor-credentials li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.0625rem;
    line-height: 1.8;
    font-weight: 500;
}

.instructor-credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25em;
}

.instructor-message p {
    margin-bottom: 1.25rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-size: 1.0625rem;
    font-weight: 500;
}

.instructor-section .message-emphasis {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
    display: block;
    margin-top: 1rem;
}

.instructor-history {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    align-items: center;
}

.history-year {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.history-content {
    color: var(--text-dark);
}

/* ===========================
   Voice Section
=========================== */
.voice {
    padding: 80px 0;
    background: white;
}

.voice-cards {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.voice-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
}

.voice-before,
.voice-after {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voice-before {
    color: var(--secondary-color);
}

.voice-before::before {
    content: '😓';
    font-size: 1.5rem;
}

.voice-after {
    color: var(--success-color);
    margin-top: 1.5rem;
}

.voice-after::before {
    content: '✨';
    font-size: 1.5rem;
}

.voice-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.voice-message {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 16px;
}

/* ===========================
   Courses Section
=========================== */
.courses {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.course-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

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

.course-card.recommended {
    border: 3px solid var(--accent-color);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
}

.course-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    text-align: center;
}

.course-duration {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.course-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 500;
}

.course-for,
.course-content {
    padding: 2rem;
}

.course-for h4,
.course-content h4 {
    font-size: 1.1875rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.course-for ul,
.course-content ul {
    list-style: none;
}

.course-for li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.0625rem;
    line-height: 1.8;
    font-weight: 500;
}

.course-for li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25em;
}

.course-content li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    font-weight: 500;
}

.course-content i {
    color: var(--success-color);
    margin-top: 0.25rem;
}

.course-notes {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.course-notes p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.screening-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

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

/* ===========================
   FAQ Section
=========================== */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem;
    background: var(--bg-light);
    font-weight: 700;
    font-size: 1.1875rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(30, 64, 175, 0.05);
}

.faq-question i {
    flex-shrink: 0;
    margin-top: 0.25rem;
    font-size: 1.375rem;
}

.faq-answer {
    padding: 1.75rem;
    background: white;
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.0625rem;
    font-weight: 500;
}

/* ===========================
   Contact Section (LINE)
=========================== */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.line-contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.line-main-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.line-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #06C755, #00B900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.3);
}

.line-title {
    font-size: 2.25rem;
    color: #06C755;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.line-description {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2.75rem;
    line-height: 1.9;
    font-weight: 500;
}

.line-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid #06C755;
}

.step-number {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: #06C755;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.step-text {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.step-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #06C755;
    font-weight: 700;
}

.line-cta {
    margin-top: 2rem;
}

.btn-line {
    background: linear-gradient(135deg, #06C755, #00B900);
    color: white;
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
}

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

.line-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.line-note strong {
    color: #06C755;
    font-weight: 700;
}

.screening-info {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.screening-info h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.screening-content h4 {
    font-size: 1.1875rem;
    color: var(--primary-color);
    margin-top: 1.75rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.screening-content h4:first-child {
    margin-top: 0;
}

.screening-content p {
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    font-size: 1.0625rem;
    font-weight: 500;
}

.screening-criteria {
    list-style: none;
    margin-bottom: 1.5rem;
}

.screening-criteria li {
    padding: 0.875rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    line-height: 1.8;
    font-size: 1.0625rem;
    font-weight: 500;
}

.screening-criteria i {
    color: var(--success-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.screening-flow {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.screening-flow li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.0625rem;
    font-weight: 500;
}

.screening-note {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

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

.screening-note p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 500;
}

/* Old Contact Form Styles (kept for compatibility) */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

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

.required {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

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

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

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-method strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

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

.contact-method .note {
    font-size: 0.875rem;
    color: var(--text-light);
}

.online-seminar-info {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.online-seminar-info h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.online-seminar-info i {
    color: var(--accent-color);
}

.online-seminar-info p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===========================
   Message Section
=========================== */
.message {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    position: relative;
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

.message .container {
    position: relative;
    z-index: 1;
}

.message .section-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 2.75rem;
}

.message .section-title::after {
    background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.8));
}

.message-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-text {
    font-size: 1.375rem;
    margin-bottom: 2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.message-emphasis {
    font-size: 1.625rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #fbbf24;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
    padding: 1.5rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(251, 191, 36, 0.3);
}

.message-final {
    font-size: 1.25rem;
    line-height: 1.9;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.message-final strong {
    color: #fde68a;
    font-size: 1.375rem;
}

.cta-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-status {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fde68a;
    text-shadow: 0 2px 8px rgba(253, 230, 138, 0.5);
}

/* ===========================
   Footer
=========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

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

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

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

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

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

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===========================
   Modal
=========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal:target {
    display: block;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 3rem;
    max-width: 800px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

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

.modal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.law-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.law-table th,
.law-table td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.law-table th {
    background: var(--bg-light);
    font-weight: 600;
    width: 30%;
}

.law-table td {
    color: var(--text-dark);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

    .comparison {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .method-steps {
        flex-direction: column;
    }

    .method-plus {
        transform: rotate(90deg);
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }

    .line-contact-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .hero {
        padding: 60px 0 50px;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-credentials {
        flex-direction: column;
        gap: 1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .type-grid,
    .wish-grid,
    .courses-grid,
    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% 20px;
        padding: 2rem;
    }

    .law-table th,
    .law-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .history-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===========================
   Smooth Scrolling
=========================== */
html {
    scroll-behavior: smooth;
}

/* ===========================
   Animations
=========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}