@charset "UTF-8";

/* ========================================
   越境マスターズ - Design B
   スタンダード＆クリーン・デザイン
======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #179e98;
    --primary-dark: #127a75;
    --primary-light: #e8f6f5;
    --accent: #d0000d;
    --accent-hover: #b0000b;
    --text: #333333;
    --text-light: #666666;
    --bg: #FFFFFF;
    --bg-alt: #F6F6F6;
    --border: #E0E0E0;
    --white: #FFFFFF;

    /* Typography */
    --font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

/* Section Common */
.section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.4;
}

.section-title-en {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-lead {
    text-align: center;
    font-size: 17px;
    line-height: 2;
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(208, 0, 13, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 0, 13, 0.35);
}

.btn-cta {
    background-color: var(--white);
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: var(--bg-alt);
    transform: translateY(-2px);
}

        /* ========================================
        main
        ========================================  */
        .main-inner-content {
            margin: 0 auto;
            max-width: 1200px;
            text-align: center;
            margin-top: 100px;
            margin-bottom: 0px;
        }
        main {
            padding-top: 0px;
        }
        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--white);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            padding: 0 40px;
        }

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

        .logo {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            letter-spacing: 0.02em;
            margin-top: 8px;
        }

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

        .nav {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .nav a {
            color: var(--primary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s;
        }

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

/* ========================================
   Hero Section
======================================== */
.hero {
    background-color: var(--white);
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    padding: 20px 0;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-description {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
    color: var(--text-light);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========================================
   Issues Section
======================================== */
.issues {
    background-color: var(--bg-alt);
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 50px;
}

.issue-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: var(--white);
    padding: 20px 24px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.issue-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.issue-card p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.issues-message {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    line-height: 2;
}

/* ========================================
   Overview Section
======================================== */
.overview-content {
    max-width: 700px;
    margin: 0 auto;
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
}

.overview-table th,
.overview-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.overview-table th {
    width: 30%;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--bg-alt);
}

.overview-table td {
    font-size: 15px;
}

/* ========================================
   Features Section
======================================== */
.features {
    background-color: var(--bg-alt);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: grid;
    grid-template-columns: 60px 100px 1fr;
    gap: 24px;
    align-items: center;
    background-color: var(--white);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.feature-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    font-family: Arial, sans-serif;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Courses Section
======================================== */
.courses-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 60px;
}

.course-card {
    border-radius: 8px;
    overflow: hidden;
}

.course-main {
    background-color: var(--white);
    border: 2px solid var(--primary);
    position: relative;
}

.course-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    border-radius: 0 0 4px 4px;
}

.course-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.course-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.course-tagline {
    font-size: 15px;
    color: var(--text-light);
}

.course-body {
    padding: 30px;
}

.course-description {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.course-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.course-detail-box {
    background-color: var(--bg-alt);
    padding: 20px;
    border-radius: 6px;
}

.course-detail-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--primary);
    display: inline-block;
}

.course-detail-box ul {
    font-size: 14px;
    line-height: 1.8;
}

.course-detail-box ul li {
    position: relative;
    padding-left: 16px;
}

.course-detail-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.course-goal {
    background-color: var(--primary-light);
}

.course-goal p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

.course-secondary {
    background-color: var(--bg-alt);
    display: flex;
    flex-direction: column;
}

.course-secondary .course-header {
    border-bottom: 1px solid var(--border);
}

.course-secondary .course-name {
    font-size: 20px;
    color: var(--text);
}

.course-secondary .course-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-secondary .course-description {
    flex: 1;
}

.course-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
}

.course-link:hover {
    opacity: 0.7;
}

/* Comparison Table */
.comparison-section {
    background-color: var(--bg-alt);
    padding: 40px;
    border-radius: 8px;
}

.comparison-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border: 1px solid var(--border);
    font-size: 14px;
}

.comparison-table thead th {
    background-color: var(--text);
    color: var(--white);
    font-weight: 700;
}

.comparison-table thead th.col-main {
    background-color: var(--primary);
}

.comparison-table tbody th {
    background-color: var(--bg-alt);
    font-weight: 700;
    text-align: left;
}

.comparison-table tbody td {
    background-color: var(--white);
}

.comparison-table tbody td.col-main {
    background-color: var(--primary-light);
    font-weight: 500;
}

/* ========================================
   Flow Section
======================================== */
.flow {
    background-color: var(--bg-alt);
}

.flow-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow-timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background-color: var(--primary);
    opacity: 0.3;
}

.flow-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.step-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    font-family: Arial, sans-serif;
}

.step-content {
    flex: 1;
    background-color: var(--white);
    padding: 24px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   FAQ Section
======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-q,
.faq-a {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
}

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

.faq-a {
    background-color: var(--accent);
    color: var(--white);
}

.faq-text {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    display: flex;
    gap: 16px;
    padding: 0 0 24px 0;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ========================================
   CTA Section
======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-note {
    margin-top: 24px;
    font-size: 13px;
    opacity: 0.8;
}

/* ========================================
   Footer
======================================== */
.footer {
    background-color: #2a2a2a;
    color: var(--white);
    padding: 40px 0;
}

.footer-inner {
    width: 65%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    /* font-size: 20px; */
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.footer-copy {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.footer-copyright {
    font-size: 12px;
    opacity: 0.6;
}

/* ========================================
   Utilities
======================================== */
.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .feature-item {
        grid-template-columns: 50px 80px 1fr;
        gap: 16px;
        padding: 24px;
    }

    .feature-number {
        font-size: 28px;
    }

    .feature-icon {
        width: 64px;
        height: 64px;
    }

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

    .course-secondary {
        order: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: inline;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .section-lead {
        font-size: 15px;
        text-align: left;
    }

    /* Header */
    .header-nav ul {
        gap: 16px;
    }

    .header-nav .nav-cta {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 24px;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-image {
        order: 2;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 15px;
    }

    .btn {
        padding: 16px 30px;
        font-size: 14px;
    }

    /* Issues */
    .issues-grid {
        grid-template-columns: 1fr;
    }


    /* Features */
    .feature-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .feature-number {
        order: -1;
        font-size: 24px;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .feature-content p {
        text-align: left;
    }

    /* Courses */
    .course-details {
        grid-template-columns: 1fr;
    }

    .course-header {
        padding: 24px 20px 16px;
    }

    .course-body {
        padding: 20px;
    }

    .course-name {
        font-size: 20px;
    }

    .comparison-section {
        padding: 24px;
    }

    /* Flow */
    .flow-timeline::before {
        left: 25px;
    }

    .step-marker {
        width: 50px;
        height: 50px;
    }

    .step-num {
        font-size: 16px;
    }

    .step-content {
        padding: 20px;
    }

    .step-content h3 {
        font-size: 16px;
    }

    /* FAQ */
    .faq-text {
        font-size: 15px;
    }

    /* CTA */
    .cta-title {
        font-size: 24px;
    }

    .cta-text {
        font-size: 14px;
        text-align: left;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 12px 16px;
    }

    .header-logo {
        font-size: 16px;
    }

    .header-nav ul {
        gap: 12px;
    }

    .header-nav a:not(.nav-cta) {
        display: none;
    }
    .hero-inner {

        padding: 10px 24px;
    }
    .hero-label {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-title {
        font-size: 22px;
    }

    .flow-step {
        gap: 16px;
    }

    .step-marker {
        width: 40px;
        height: 40px;
    }

    .step-num {
        font-size: 14px;
    }

    .flow-timeline::before {
        left: 20px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 9px 20px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }

    .header-btns {
        /* display: flex;
        flex-direction: row; */
        margin-left: 30px;
        font-size: 10px;
        text-align: center;
    }
    .section-title {
        /* color: blue; */
      font-size: 18px;
          font-weight: 800;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    .cta-title {
        font-size: 20px;
    }
    .feature-content h3 {
        font-size: 18px;
    }
}

