/* ============================================
   10回コース詳細ページ専用スタイル
   ============================================ */

/* コースセクション */
.course-10-section {
    background-color: #EDEDEA;
    min-height: 100vh;
}

/* コース詳細カード */
.course-detail-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    border: 1px solid #B10100;
    overflow: hidden;
}

/* コースヘッダー */
.course-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    padding: 16px 0;
    background-color: #B10100;
}

.course-name {
    font-family: 'YuMincho', serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.7;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
}

/* コースコンテンツ */
.course-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 24px;
    padding: 24px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* メイン情報 */
.course-main-info {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 24px;
}

.course-tagline {
    font-family: 'YuMincho', serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.7;
    color: #333333;
    margin: 0;
    text-align: center;
}

.course-image-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.course-description {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 15.3px;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    color: #333333;
    margin: 0;
}

.text-bold {
    font-weight: 700;
}

/* セクションタイトル */
.section-title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    gap: 24px;
}

.title-line {
    flex: 1;
    height: 1px;
    background-color: #B10100;
}

.section-title {
    font-family: 'YuMincho', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-align: center;
    color: #B10100;
    margin: 0;
    white-space: nowrap;
}

/* コースの特徴 */
.course-features {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-family: 'YuGothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    padding-left: 1em;
    position: relative;
}

.feature-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #333333;
}

/* 学びの流れ */
.course-flow {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
}

.step-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ステップカード */
.step-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
    background-color: transparent;
}

.step-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    background-color: #B10100;
    padding: 4px 8px;
    width: fit-content;
    min-width: 78px;
    line-height: 1;
}

.step-label {
    font-family: 'YuMincho', serif;
    font-weight: 200;
    font-size: 10px !important;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    margin-right: 4px;
}

.step-num {
    font-family: 'YuMincho', serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-title {
    font-family: 'YuMincho', serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.step-description {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.step-image-wrapper {
    width: 100%;
    height: 194px;
    overflow: hidden;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* コースの特徴 */
.course-features-section {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
}

.features-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.features-list li {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 15.3px;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    color: #333333;
    padding-left: 1em;
    position: relative;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.features-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #333333;
    font-size: 16px !important;
}

/* 修了後のレベル */
.course-completion-section {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.section-line {
    flex: 1;
    height: 1px;
    background-color: #B10100;
}

.section-title {
    font-family: 'YuMincho', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-align: center;
    color: #B10100;
    margin: 0;
    white-space: nowrap;
}

.completion-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.completion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.completion-list li {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 15.3px;
    letter-spacing: 0.05rem;
    line-height: 1.2;
    color: #333333;
    padding-left: 1em;
    position: relative;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.completion-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #333333;
    font-size: 16px !important;
}

/* アクションボタン */
.course-actions {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
    padding-top: 24px;
}

.action-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    gap: 12px;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.action-button * {
    color: inherit;
}

.action-button-primary {
    background-color: #B10100;
    color: #FFFFFF;
}

.action-button-primary,
.action-button-primary * {
    color: #FFFFFF !important;
}

.action-button-primary:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(177, 1, 0, 0.3);
}

.action-button-primary:active {
    transform: translateY(0);
}

.action-button-primary span {
    font-family: 'YuGothic', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF !important;
}

.action-button-primary svg {
    flex-shrink: 0;
}

.action-button-primary svg path {
    stroke: #FFFFFF !important;
}

.action-button-secondary {
    background-color: transparent;
    border: 1px solid #CCCCCC;
    color: #333333;
}

.action-button-secondary,
.action-button-secondary * {
    color: #333333 !important;
}

.action-button-secondary:hover {
    background-color: #F5F5F5;
}

.action-button-secondary span {
    font-family: 'YuGothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #333333 !important;
}

.action-button-secondary svg {
    flex-shrink: 0;
}

.action-button-secondary svg path {
    stroke: #333333 !important;
}

.button-arrow {
    flex-shrink: 0;
}

/* 修了後のレベル */
.course-outcome {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
}

.outcome-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.outcome-list li {
    font-family: 'YuGothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    padding-left: 1em;
    position: relative;
}

.outcome-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #333333;
}

/* アクションボタン */
.course-actions {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
    padding-top: 24px;
}

.action-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    gap: 12px;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.action-button-primary {
    background-color: #B10100;
}

.action-button-primary:hover {
    background-color: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(177, 1, 0, 0.3);
}

.action-button-primary:active {
    transform: translateY(0);
}

.action-button-primary .button-text {
    font-family: 'YuGothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
}

.action-button-secondary {
    background-color: transparent;
    border: 1px solid #CCCCCC;
}

.action-button-secondary:hover {
    background-color: #F5F5F5;
}

.action-button-secondary .button-text {
    font-family: 'YuGothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
}

.button-arrow {
    flex-shrink: 0;
}

/* CTAバナー */
.cta-banner {
    width: 100%;
    height: 103.78px;
    overflow: hidden;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    transition: opacity 0.3s ease;
}

.cta-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* タブレット表示 */
@media (min-width: 768px) {
    /* コンテンツ幅は390px固定を維持 */
    .course-tagline {
        font-size: 20px;
    }

    .course-description {
        font-size: 16px;
    }

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

    .feature-list li,
    .outcome-list li {
        font-size: 16px;
    }

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

    .course-image-wrapper {
        height: 160px;
    }

    .step-image-wrapper {
        height: 194px;
    }
}

/* デスクトップ表示 */
@media (min-width: 1024px) {
    /* コンテンツ幅は390px固定を維持 */
    .course-image-wrapper {
        height: 160px;
    }

    .step-image-wrapper {
        height: 194px;
    }

    .cta-banner {
        height: 103.78px;
    }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
    .action-button,
    .cta-button {
        transition: none;
    }
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    .course-tagline,
    .course-description,
    .step-title,
    .step-description,
    .feature-list li,
    .outcome-list li {
        color: #000000;
    }

    .course-detail-card {
        border: 2px solid #B10100;
    }

    .action-button-secondary {
        border: 2px solid #333333;
    }
}

