﻿@charset "UTF-8";

/* =====================================================
   01 基本設定及背景
   ===================================================== */

body {
    background-image: url("images/bg.png") ;
    background-position: center top;
		background-repeat:repeat;
    
}

.header {
  border-bottom: 1px solid #b11a1c;
  box-shadow:
    0 4px 20px rgba(0,0,0,.36);
    
}


.hero {
	
    background-image: url("images/bg0.png") ;
    background-position: center top;
		background-repeat: no-repeat;
    background-size: cover;
}


.hero-title {
		position: static;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.hero_m {
    display: none;
}
.hero-online {    position: absolute;
    width: min(100%, 105px);
    margin:0 0 0 ;
}



/* =====================================================
   05 課程內容及區塊
   ===================================================== */

.course-page {
    padding: 26px 20px 40px ;
    background: transparent;
    color: #40332e;
    
    background-image: url("images/star.png") ;
		background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;

    
}

.course-page *, .course-page *::before, .course-page *::after {
 box-sizing: border-box; 
 
 }

.course-container {
    gap: 18px;
     position: relative;
}

.course-main, .course-sidebar { min-width: 0; overflow: visible; }

.course-main .course-hero,
.course-main .teacher-section,
.course-main .content-section,
.course-main .share-section, 
.course-main .faq-section {
    background: #fffaf3;
    border: 0;
    box-shadow: 0 8px 22px rgba(85, 21, 22, .12);
    margin: 0 0 40px;
    overflow: hidden;
    padding: 0 ;
    border-radius: 0;
}

.course-main .signup-form-card {
    background: #fffaf3;
    
}

.course-main .section-banner {
    display: block;
    height: auto;
    margin: 15px 0 14px;
    border-radius: 0;
}

.course-main .course-hero-img, 
.course-main .content-image
 {	
 
    width: min(100%, 1000px);

    margin: 0 auto ;
    display: block;
    height: auto;
    margin: 0 auto 15px;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.course-list-section .section-banner {
    position: absolute;
margin-top:-10px;

    width: min(100%, 300px);
}

.course-main .lesson-card {
    margin: 16px 0 -20px 0;
    border-radius: 0;
    padding-top:50px;
    border:none;
}

/* =========================
   課程文章列表
========================= */

.lesson-body {
    display: flex;
    align-items: flex-start;
    gap: 30px;

    width: 100%;
    padding: 10px 0;
}

/* 左側圖片 */

.lesson-image {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    overflow: hidden;
}

.lesson-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.lesson-image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.lesson-image a:hover img {
    transform: scale(1.04);
}

/* 右側內容 */

.lesson-content {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 標題 */

.lesson-title {
    margin: 0 0 4px;
    padding: 0;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .5px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lesson-title a {
    color: #30343a;
    text-decoration: none;
    transition: color .2s;
}

.lesson-title a:hover {
    color: #c86d36;
}

/* 日期 */

.lesson-date {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;

    margin-bottom: 16px;
}

/* 文章摘要 */

.lesson-description {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: .3px;

    margin-bottom: 14px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 閱讀全文按鈕 */

.lesson-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 94px;
    height: 35px;
    padding: 0 18px;

    border: 1px solid #a47d5d;

    background: #fff;
    color: #765439;

    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;

    box-sizing: border-box;
    transition: all .25s ease;
}

.lesson-btn:hover {
    background: #a47d5d;
    color: #fff;
}

/* =========================
   手機版 RWD
========================= */

@media (max-width: 767px) {

    .lesson-body {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .lesson-image {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .lesson-content {
        width: 100%;
    }

    .lesson-category {
        font-size: 12px;
    }

    .lesson-title {
        font-size: 19px;
        line-height: 1.45;
    }

    .lesson-date {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .lesson-description {
        font-size: 14px;
        line-height: 1.8;

        -webkit-line-clamp: 3;
    }

    .lesson-btn {
        height: 36px;
        font-size: 12px;
    }
}


.course-main .faq-section{ margin: 0 0 ;
padding-top:100px;
padding-bottom:20px;
}

.faq-section .section-banner {
    position: absolute;
margin-top:-110px;

    width: min(100%, 300px);
}

.course-main .faq-list {
 border-color: #ecd9c6; padding: 0 20px;
   gap: 0 28px;
 
 }

.course-main .faq-item { border-color: #ecd9c6; }

.course-main .faq-question { color: #663c39;

    padding: 18px 1px; }

.course-main .faq-plus { color: #b43841; }

.course-main .faq-answer { color: #756760; }


.site-footer {
    position: relative;
	z-index:9;
	margin-top:50Px;
}

/* =========================
   案例圖片展示
========================= */

.share-section .section-banner{

    width: min(100%, 650px);
}

.lesson-body .lesson-gallery {
    width: 95%;
    max-width: 850px;
    margin: 0 auto;
}

/* 大圖 */
.lesson-gallery .gallery-main {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 530px;
    padding: 18px;

    background: #F5F0E8;
    border: 1px solid #E8DCCB;
    border-radius: 12px;

    box-sizing: border-box;
    overflow: hidden;
}

/* 大圖 */
.lesson-gallery .gallery-main img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 5px;

    filter: drop-shadow(0 5px 10px rgba(70,50,30,.12));

    cursor: zoom-in;

    transition: filter .3s ease;
}

/* 滑過圖片 */
.lesson-gallery .gallery-main img:hover {
    filter: drop-shadow(0 8px 15px rgba(70,50,30,.20));
}

/* ==============================
   左右切換按鈕
============================== */

.lesson-gallery .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    padding: 0;

    border: 1px solid rgba(190,165,137,.6);
    border-radius: 50%;

    background: rgba(255,255,255,.92);
    color: #8C6C53;

    font-size: 20px;
    line-height: 1;

    box-shadow: 0 3px 12px rgba(0,0,0,.10);

    cursor: pointer;
    z-index: 2;

    transition:
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

/* 左側按鈕 */
.lesson-gallery .gallery-prev {
    left: 15px;
}

/* 右側按鈕 */
.lesson-gallery .gallery-next {
    right: 15px;
}

/* 箭頭滑過 */
.lesson-gallery .gallery-arrow:hover {
    background: #A88361;
    border-color: #A88361;
    color: #fff;

    box-shadow: 0 5px 15px rgba(110,75,45,.25);
}

/* ==============================
   大圖下方資訊區
============================== */

.lesson-gallery .gallery-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
    padding: 14px 4px;
}

/* 案例標題 */
.lesson-gallery .gallery-description strong {
    color: #665044;
    font-size: 15px;
    font-weight: 700;
}

/* 圖片計數 */
.lesson-gallery .gallery-description span {
    color: #A18B75;
    font-size: 12px;
    letter-spacing: 1px;
}

/* 自動播放按鈕 */
.lesson-gallery .gallery-play {
    padding: 9px 15px;

    background: #FFF9F0;
    border: 1px solid #D8BFA1;
    border-radius: 6px;

    color: #8C6C53;
    font-size: 12px;

    cursor: pointer;
    transition: all .25s ease;
}

.lesson-gallery .gallery-play:hover,
.lesson-gallery .gallery-play.is-playing {
    background: #899C5A;
    border-color: #899C5A;
    color: #fff;
}


/* =========================
   縮圖區美化版
========================= */

.lesson-gallery .gallery-thumbs {
    display: flex;
    gap: 14px;

    padding: 8px 4px 16px;
    margin-top: 8px;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: #a6a6a6 #ece7df;
}

/* Chrome / Edge / Safari 捲軸 */
.lesson-gallery .gallery-thumbs::-webkit-scrollbar {
    height: 8px;
}

.lesson-gallery .gallery-thumbs::-webkit-scrollbar-track {
    background: #ece7df;
    border-radius: 999px;
}

.lesson-gallery .gallery-thumbs::-webkit-scrollbar-thumb {
    background: #9c9c9c;
    border-radius: 999px;
}

.lesson-gallery .gallery-thumbs::-webkit-scrollbar-thumb:hover {
    background: #7f7f7f;
}

/* 每一個縮圖卡片 */
.lesson-gallery .gallery-thumb {
    position: relative;
    flex: 0 0 96px;

    width: 96px;
    height: 96px;
    padding: 6px;

    background: #fffdf9;
    border: 1px solid #e5d7c8;
    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .06);

    cursor: pointer;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

/* 圖片本身 */
.lesson-gallery .gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;

    border-radius: 8px;
    object-fit: cover;
}

/* hover */
.lesson-gallery .gallery-thumb:hover {
    transform: translateY(-4px);
    border-color: #c7a98a;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

/* 目前選中的縮圖 */
.lesson-gallery .gallery-thumb.active {
    background: #fff7ef;
    border-color: #b8895c;
    box-shadow: 0 10px 22px rgba(163, 120, 72, .18);
    transform: translateY(-3px);
}

/* 選中狀態再加一層內框感 */
.lesson-gallery .gallery-thumb.active::after {
    content: "";
    position: absolute;
    inset: 4px;

    border: 2px solid rgba(184, 137, 92, .45);
    border-radius: 10px;
    pointer-events: none;
}

/* 編號標籤 */
.lesson-gallery .gallery-thumb::before {
    content: attr(data-case);
    position: absolute;
    top: 8px;
    left: 8px;

    min-width: 24px;
    height: 24px;
    padding: 0 7px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(69, 56, 46, .82);
    color: #fff;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .4px;

    pointer-events: none;
}


/* =========================
   圖片放大視窗
========================= */

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;

    z-index: 9999;

    align-items: center;
    justify-content: center;

    padding: 35px;

    background: rgba(0,0,0,.92);
    box-sizing: border-box;
}

.gallery-lightbox.show {
    display: flex;
}

.gallery-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-lightbox .lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;

    border: none;
    background: transparent;
    color: white;

    font-size: 38px;
    cursor: pointer;
}

/* =========================
   手機版
========================= */

@media (max-width: 767px) {

    .lesson-body .lesson-gallery {
        margin: 15px auto;
    }


    .lesson-gallery .gallery-main {
        height: 400px;
        padding: 10px;
        border-radius: 9px;
    }

    .lesson-gallery .gallery-arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .lesson-gallery .gallery-prev {
        left: 8px;
    }

    .lesson-gallery .gallery-next {
        right: 8px;
    }

    .lesson-gallery .gallery-info {
        padding: 12px 2px;
    }


    .lesson-gallery .gallery-description strong {
        font-size: 14px;
    }

 
    .lesson-gallery .gallery-thumbs {
        gap: 10px;
        padding-bottom: 12px;
    }

    .lesson-gallery .gallery-thumb {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
        padding: 5px;
        border-radius: 10px;
    }

    .lesson-gallery .gallery-thumb img {
        border-radius: 7px;
    }

    .lesson-gallery .gallery-thumb::before {
        top: 6px;
        left: 6px;
        min-width: 21px;
        height: 21px;
        font-size: 10px;
    }


    .gallery-lightbox {
        padding: 12px;
    }
}

@media (max-width: 400px) {

    .lesson-gallery .gallery-main {
        height: 320px;
    }

}


/* =====================================================
   06 課程票券式報名卡
   ===================================================== */

.course-sidebar { align-self: stretch; height: 100%; }

/* 報名卡片 */
.course-sidebar .signup-card {
    background: #FFF9F0;
    border: 1px solid #EAD7BD;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(94, 70, 43, .10);
}

/* 課程標題 */
.course-sidebar .signup-header h2 {
    color: #665044;
}

/* 課程副標 */
.course-sidebar .signup-header p {
    color: #A17B60;
}

/* 課程資訊外框 */
.course-sidebar .signup-details {
    background: #FFFCF7;
    border: 1px solid #EAD7BD;
    border-radius: 12px;
}

/* 資訊分隔線 */
.course-sidebar .signup-detail {
    border-bottom-color: #EAD7BD;
}

/* 日期、講師、上課方式的小標 */
.course-sidebar .purchase-title {
    color: #9D7A60;
}

/* 資訊內容 */
.course-sidebar .purchase-name strong {
    color: #665044;
}

/* 課程費用區塊 */
.course-sidebar .bundle-box {
    background: #F5EBD7;
    border: 1px solid #EAD7BD;
    border-radius: 12px;
}

/* 課程費用標籤 */
.course-sidebar .bundle-label {
    background: #899C5A;
    color: #FFFFFF;
    border-radius: 20px;
}

/* 個人報名小標 */
.course-sidebar .single-badge {
    background: #E5EBCD;
    color: #657B43;
    border-radius: 20px;
}

/* 價格 */
.course-sidebar .price-content small,
.course-sidebar .price-content strong {
    color: #C77E51;
}

/* 報名按鈕 */
.course-sidebar .main-buy-btn {
    background: #899C5A;
    color: #FFFFFF;
    border: 1px solid #899C5A;
    border-radius: 9px;
    box-shadow: 0 4px 0 #647740;
    transition: all .25s ease;
}

/* 報名按鈕 Hover */
.course-sidebar .main-buy-btn:hover {
    background: #728649;
    border-color: #728649;
    box-shadow: 0 2px 0 #546435;
    transform: translateY(2px);
}

/* 下方說明 */
.course-sidebar .signup-note {
    color: #9A816A;
}

/* 課程洽詢文字 */
.course-sidebar .signup-note span {
    color: #A77651;
}


/* =========================
   訂單資訊區塊
========================= */

.finish-signup-order {
    width: 100%;
    padding: 20px;

    background: #FFF9F0;

    box-shadow: 0 5px 18px rgba(94, 70, 43, .06);
    box-sizing: border-box;

    font-family:
        "Noto Sans TC",
        "Microsoft JhengHei",
        Arial,
        sans-serif;
}

/* 訂單資訊標題 */

.finish-signup-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 15px;
    padding-bottom: 14px;

    border-bottom: 1px solid #EAD7BD;

    color: #665044;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
}

/* 標題前方綠色裝飾 */

.finish-signup-title::before {
    content: "";
    display: block;

    width: 4px;
    height: 20px;

    background: #899C5A;
    border-radius: 5px;
}

/* 每一列訂單資訊 */

.finish-signup-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
    padding: 13px 0;

    border-bottom: 1px dashed #E8DCCB;

    font-size: 13px;
    line-height: 1.7;
}

/* 左邊欄位名稱 */

.finish-signup-row > span {
    flex-shrink: 0;

    color: #9B816A;
    font-size: 13px;
    font-weight: 400;
}

/* 右邊資料內容 */

.finish-signup-row > strong {
    min-width: 0;

    color: #665044;
    font-size: 13px;
    font-weight: 600;

    text-align: right;
    overflow-wrap: anywhere;
}

/* 報名姓名 */

.finish-member-names {
    display: block;
    max-width: 65%;

    color: #665044;
    line-height: 1.8;

    text-align: right;
    white-space: normal;
}

/* 發票資訊 */

.finish-signup-invoice {
    margin-top: 15px;
    padding: 12px 15px;

    background: #F5EBD7;
    border: 1px solid #EAD7BD;
    border-radius: 8px;

    color: #80654F;
    font-size: 13px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

/* 發票資訊沒有資料時不顯示 */
.finish-signup-invoice:empty {
    display: none;
}

/* =========================
   手機版
========================= */

@media (max-width: 767px) {

    .finish-signup-order {
        padding: 17px 15px;
        border-radius: 12px;
    }

    .finish-signup-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .finish-signup-row {
        gap: 10px;
        padding: 12px 0;
        font-size: 13px;
    }

    .finish-signup-row > span,
    .finish-signup-row > strong {
        font-size: 12px;
    }

    .finish-member-names {
        max-width: 60%;
    }

    .finish-signup-invoice {
        padding: 12px;
        font-size: 12px;
    }
}


/* =====================================================
   10 原有響應式設定（保留媒體查詢規則）
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
    .stage-opening {
        display: none;
    }
}

@media (max-width: 900px) {

    .finish-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .finish-main {
        padding: 30px 18px 60px;
    }

}

@media (max-width: 600px) {

    .finish-main {
        padding: 20px 12px 45px;
    }

    .finish-status-card {
        gap: 12px;
        padding: 18px;
        margin-bottom: 18px;
    }

    .finish-status-icon {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .finish-status-card h2 {
        font-size: 17px;
    }

    .finish-status-card p {
        font-size: 13px;
    }

    .finish-layout {
        gap: 16px;
    }

    .atm-card,
    .finish-order-card {
        padding: 20px 17px;
        border-radius: 10px;
    }

    .finish-card-title h2,
    .finish-order-card > h2 {
        font-size: 17px;
    }

    .atm-amount-box {
        padding: 18px;
    }

    .atm-amount-box strong {
        font-size: 27px;
    }

    .atm-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .atm-deadline {
        grid-column: auto;
    }

    .atm-copy-row strong {
        font-size: 16px;
    }

    .atm-account {
        font-size: 16px !important;
    }

    .atm-guide {
        padding: 17px;
    }

    .atm-bottom-actions .check-payment-btn {
        width: 100%;
    }

    .finish-total strong {
        font-size: 21px;
    }

}

@media (max-width: 600px) {

    .success-message {
        padding: 24px 15px;
    }

    .success-message h3 {
        font-size: 17px;
    }

    .success-message p {
        font-size: 13px;
    }

}

@media (max-width: 900px) {

    .finish-layout {
        grid-template-columns: 1fr;
    }

    .finish-main .finish-order-card {
        width: 100%;
    }

    .finish-main .course-sidebar .signup-card {
        position: static;
        top: auto;
    }

}

@media (max-width: 600px) {

    .finish-main .course-sidebar .signup-header {
        padding: 22px 18px 17px;
    }

    .finish-main .course-sidebar .signup-header h2 {
        font-size: 20px;
    }

    .finish-main .finish-signup-order {
        margin: 0 14px 12px;
        padding: 13px;
    }

    .finish-main .course-sidebar .finish-bundle-box {
        margin: 12px 14px 14px;
    }

    .finish-main .course-sidebar .finish-bundle-box
    .price-content strong {
        font-size: 28px;
    }

}

@media (max-width: 600px) {

    .course-sidebar .bundle-box.has-coupon .price-original {
        font-size: 12px;
    }

    .course-sidebar .bundle-box.has-coupon .price-content small {
        font-size: 23px;
    }

    .course-sidebar .bundle-box.has-coupon .price-final {
        font-size: 27px;
    }

}

@media (max-width: 768px) {

.hero_m {
    display: block;
}
.stage-opening, .stage-curtain, .kids, .stage, .top-light, .light-left, .light-center, .light-right {
		display: none;
}

.menu {
  gap: 15px;
  
  
}
.menu a {
  width:65px;
    height: 35px;
  font-size: 13px;
    border:none;
}

.course-list-section .section-banner {
margin-top:20px;
    width:180px;
}

.course-main .lesson-card {
    padding-top:50px;
}

.course-main .faq-section{ margin: 0 0 ;
padding-top:80px;
}


.faq-section .section-banner {
    position: absolute;
margin-top:-75px;

    width:180px;
}


.site-footer {
    position: relative;
	z-index:9;
	margin-top:5px;
}


}


/* =====================================================
   11 手機底部導覽與報名區
   適用前述 .mobile-course-buy / .mobile-course-menu HTML
   ===================================================== */
@media (min-width: 769px) {
    .mobile-course-buy { display: none; }
}
@media (max-width: 768px) {
    /* 避免固定底欄遮住頁面末端 */


}

/* =========================================
   新增同行者資料表格
========================================= */

.companion-table {
    width: 100%;
    max-width: 650px;
    margin: 20px auto;
    border-collapse: separate;
    border-spacing: 0;

    background: #fffaf3;
    border: 1px solid #f0d4b5;
    border-radius: 14px;

    box-shadow: 0 5px 18px rgba(70, 10, 13, .08);
    overflow: hidden;

    font-family:
        "Noto Sans TC",
        "Microsoft JhengHei",
        Arial,
        sans-serif;
}

.companion-table * {
    box-sizing: border-box;
}

/* =========================================
   表格標題
========================================= */

.companion-table thead td {
    padding: 17px 22px;

    background: #fff0dc;
    color: #733035;

    border-bottom: 1px solid #f0d4b5;

    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

/* =========================================
   欄位內容
========================================= */

.companion-table tbody th,
.companion-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f3e9dd;
}

.companion-table tbody th {
    width: 155px;

    color: #70554b;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.companion-table tbody td {
    background: #fffdf9;
}

/* 最後一行不需要底線 */
.companion-table tbody tr:last-child th,
.companion-table tbody tr:last-child td {
    border-bottom: none;
}

/* =========================================
   輸入欄位
========================================= */

 textarea ,
.companion-table input[type="text"],
.companion-table input[type="email"],
.companion-table input[type="tel"] {
    display: block;

    width: 100%;
    height: 44px;
    padding: 10px 13px;

    background: #fff;
    color: #40332e;

    border: 1px solid #ddd6ce;
    border-radius: 8px;

    font-size: 14px;
    font-family: inherit;

    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.companion-table input:focus {
    border-color: #be2337;
    box-shadow: 0 0 0 3px rgba(190, 35, 55, .10);
}
 textarea {
 
    height: 80px;
}
/* =========================================
   送出按鈕
========================================= */

.companion-table tfoot td {
    padding: 20px;
    text-align: center;

    background: #fff9ed;
    border-top: 1px solid #f0d4b5;
}

.companion-table input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    min-height: 45px;
    padding: 11px 28px;

    background: #118bc8;
    color: #fff;

    border: 0;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 700;
    font-family: inherit;

    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.companion-table input[type="submit"]:hover {
    background: #0875ad;
    transform: translateY(-1px);
}

.companion-table input[type="submit"]:active {
    transform: translateY(0);
}

/* =========================================
   手機版
========================================= */

@media (max-width: 600px) {

    .companion-table {
        margin: 15px auto;
        border-radius: 12px;
    }

    .companion-table thead td {
        padding: 15px 17px;
        font-size: 17px;
    }

    /* 手機版標籤與輸入框上下排列 */
    .companion-table tbody tr {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid #f3e9dd;
    }

    .companion-table tbody th,
    .companion-table tbody td {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
    }

    .companion-table tbody th {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .companion-table tbody td {
        background: transparent;
    }

    .companion-table input[type="text"] {
        height: 43px;
        font-size: 14px;
    }

    .companion-table tfoot td {
        padding: 16px;
    }

    .companion-table input[type="submit"] {
        width: 100%;
    }
}

/* ==============================================
   課程費用 - Reader's Theater
============================================== */

.course-sidebar .bundle-box {
    margin: 14px 18px 16px;
    padding: 16px;

    background: linear-gradient(160deg, #fff4d5, #ffeabc);
    border: 1px solid #f3d9a6;
    border-radius: 15px;
}

/* 課程費用標題 */
.course-sidebar .bundle-top {
    margin-bottom: 15px;
}

.course-sidebar .bundle-label {
    display: inline-block;
    padding: 5px 14px;

    background: #be2337;
    color: #fff;
    border-radius: 20px;

    font-size: 12px;
    font-weight: 800;
}

/* 金額主區塊 */
.course-sidebar .bundle-price {
    width: 100%;
}

.course-sidebar .normal-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 5px 0;
    border: none;
}

/* 報名人數標籤 */
.course-sidebar #pricePeopleLabel {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;

    padding: 5px 11px;
    border-radius: 20px;

    background: #e7f1fa;
    color: #54759a;

    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* 價格排列 */
.course-sidebar .price-content {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;

    min-width: 0;
    margin-left: auto;
}

/* NT$ */
.course-sidebar .price-content small {
    color: #a43e47;
    font-size: 13px;
    font-weight: 700;
}

/* 最終價格 */
.course-sidebar .price-final {
    color: #c63341;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
}

/* 原價（預設隱藏） */
.course-sidebar .price-original {
    color: #a58b79;
    font-size: 14px;
    font-weight: 500;
    text-decoration: line-through;
    white-space: nowrap;
}

.course-sidebar .price-original[hidden],
.course-sidebar #discountSaveText[hidden] {
    display: none !important;
}

/* ==============================================
   使用折價券後
============================================== */

.course-sidebar .bundle-box.has-coupon .normal-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;

    padding: 4px 0 13px;
    border-bottom: 1px dashed #e4bf91;
}

/* 保留報名人數，放在價格上方 */
.course-sidebar .bundle-box.has-coupon #pricePeopleLabel {
    display: inline-flex;
}

/* 原價與優惠價 */
.course-sidebar .bundle-box.has-coupon .price-content {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;

    width: 100%;
    margin: 0;
}

/* 原價刪除線 */
.course-sidebar .bundle-box.has-coupon .price-original {
    display: inline-block;
    margin-right: 10px;

    color: #a58b79;
    font-size: 15px;
    font-weight: 600;
}

/* 折扣後 NT$ */
.course-sidebar .bundle-box.has-coupon .price-content small {
    color: #a43e47;
    font-size: 16px;
    font-weight: 800;
}

/* 折扣後價格 */
.course-sidebar .bundle-box.has-coupon .price-final {
    color: #c81b34;
    font-size: 36px;
    font-weight: 800;
}

/* 已折抵金額 */
.course-sidebar .bundle-box.has-coupon #discountSaveText:not([hidden]) {
    display: block;

    margin-top: 12px;
    padding: 0;

    color: #b80e25;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    text-align: left;
}

/* ==============================================
   手機版
============================================== */

@media (max-width: 600px) {

    .course-sidebar .bundle-box {
        margin: 12px 14px 14px;
        padding: 14px;
    }

    .course-sidebar .bundle-top {
        margin-bottom: 12px;
    }

    .course-sidebar .normal-price {
        gap: 8px;
    }

    .course-sidebar #pricePeopleLabel {
        font-size: 11px;
        padding: 5px 9px;
    }

    .course-sidebar .price-final {
        font-size: 28px;
    }

    .course-sidebar .bundle-box.has-coupon .price-original {
        font-size: 13px;
        margin-right: 5px;
    }

    .course-sidebar .bundle-box.has-coupon .price-content small {
        font-size: 14px;
    }

    .course-sidebar .bundle-box.has-coupon .price-final {
        font-size: 31px;
    }

    .course-sidebar .bundle-box.has-coupon #discountSaveText:not([hidden]) {
        font-size: 13px;
    }
}