/* ============================================
   コース・学費詳細ページ専用スタイル
   ============================================ */

/* プライシングセクション */
.pricing-section {
    background-color: #EDEDEA;
    min-height: 100vh;
}

/* コースカードエリア */
.course-cards {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
}

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

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

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

/* コースカードコンテンツ */
.course-card-content {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
    padding: 16px;
}

.course-card-description {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    text-align: center;
    color: #333;
    margin: 0;
}

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

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

.course-card-details {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 8px;
}

.course-card-text {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.course-card-button-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
}

.course-card-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px;
    height: 32px;
    border-radius: 40px;
    background-color: transparent;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.course-card-button:hover {
    opacity: 0.8;
}

.course-card-button .button-text {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
    color: #B10100;
}

.course-card-button .button-arrow {
    width: 6px;
    height: 12px;
    flex-shrink: 0;
}

/* 学費エリア */
.course-price-section {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 8px;
    padding: 16px;
    background-color: #EDEDEA;
}

.price-section-title {
    font-family: 'YuMincho', serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #B10100;
    margin: 0;
}

.price-details {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 16px;
}

.price-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-main {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    gap: 8px;
}

.price-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #333;
}

.price-amount-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}

.price-amount {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: #333;
}

.price-unit {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #333;
}

.price-sub {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
}

.price-sub-label,
.price-sub-unit {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #333;
}

.price-sub-amount {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: #333;
}

.price-note {
    font-family: 'YuGothic', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    color: #777777;
    margin: 0;
}

/* 通い方セクション */
.schedule-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

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

.title-line {
    width: 56px;
    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;
}

.schedule-cards {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 8px;
}

.schedule-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-self: stretch;
    background-color: #FFFFFF;
}

.schedule-card-image {
    width: 90px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
}

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

.schedule-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    flex: 1;
}

.schedule-card-title {
    font-family: 'YuMincho', serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.7;
    color: #B10100;
    margin: 0;
}

.schedule-details {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.schedule-detail-row {
    display: flex;
    flex-direction: row;
    align-self: stretch;
    gap: 6px;
}

.schedule-label,
.schedule-value {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.schedule-note {
    font-family: 'YuGothic', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.schedule-highlight {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    align-self: stretch;
    padding: 16px;
    background-color: #FFFFFF;
    border: 1px solid #B10100;
}

.schedule-highlight-text {
    font-family: 'YuGothic', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    color: #B10100;
    margin: 0;
    flex: 1;
}

/* CTAバナー */
.cta-banner {
    width: 100%;
    height: 129px;
    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-card-image-wrapper {
        height: 160px;
    }

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

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

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

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

