/*＝＝＝＝＝＝＝＝＝＝＝共用設定＝＝＝＝＝＝＝＝＝＝＝*/
body {
    box-sizing: border-box;
    font-family: "微軟正黑體", "Microsoft JhengHei", 'PingFang TC', Helvetica, Arial, sans-serif;
    background-color: #ffe1e1;
    font-size: 16px;
    color: #333;
}

iframe {
    display: block;
}

#CM823-wrapper {
    width: 100%;
    overflow-x: hidden;
}

#CM823-wrapper a {
    text-decoration: none;
    cursor: pointer;
}

#CM823-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

#CM823-wrapper .bold {
    font-weight: bold;
}

/* ＝＝＝＝＝＝＝＝＝＝＝主視覺＝＝＝＝＝＝＝＝＝＝＝ */
#CM823 {
    display: block;
    position: relative;
    width: 100%;
    min-height: 800px;
    height: auto;
    overflow: hidden;
    background-image: url(../images/CM823/bg.jpg);
}

.MOBILE #CM823 {
    /* margin-top: 45px; */
}

#CM823 .flower-bg {
    background-image: url(../images/CM823/flower.png);
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0%;
    left: 50%;
    width: 1216px;
    height: 462px;
    transform: translate(-50%, 0%);
    z-index: 1;
}

.MOBILE #CM823 .flower-bg {
    background-size: cover;
    width: 100%;
    height: 0;
    padding-bottom: 64vw;
}

#CM823 .header {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;

    padding-top: 20px;
}


#CM823 .header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
}

#CM823 h1 {
    display: block;
    position: relative;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 368px;
    background-size: contain;
}

.MOBILE #CM823 h1 {
    height: 0;
    padding: 26vw;
}

#CM823.result h1 {
    width: 88%;
    height: 200px;
}

.MOBILE #CM823.result h1 {
    height: 0;
    padding: 14vw;
}

#CM823 .header .top_item {
    width: 90%;
    margin: 0px auto 20px auto;
}

.MOBILE #CM823 .header .top_item {
    width: 88%;
    margin: 8px auto;
}

#CM823 .header img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/*＝＝＝＝＝＝＝＝＝＝＝  共用樣式 ＝＝＝＝＝＝＝＝＝＝＝*/
#CM823 .container {
    display: block;
    position: relative;
    margin: 0 auto;
    z-index: 2;
}

#CM823 .content-area {
    display: block;
    width: 640px;
    margin: 0 auto;
    padding-top: 20px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

#CM823 .content-area+.content-area {
    padding-top: 52px;
}

#CM823 .content-area:last-child {
    padding-bottom: 60px;
}

.MOBILE #CM823 .content-area {
    width: 96%;
}


#CM823 .btn-yellow {
    background-color: #ecd342;
}

#CM823 .btn-yellow:hover {
    background-color: #cb9548;
}

#CM823 .btn-red {
    background-color: #f27986;
}

#CM823 .btn-red:hover {
    background-color: #e25358;
}

#CM823 .btn-green {
    background-color: #54a9a1;
}

#CM823 .btn-green:hover {
    background-color: #578480;
}

#CM823 .box-white {
    background-color: #fff;
    border-radius: 30px;
    padding: 40px;
}

.MOBILE #CM823 .box-white {
    padding: 20px;
}

#CM823 h2 {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 32px;
}

.MOBILE #CM823 h2 {
    margin-bottom: 16px;
}

/*＝＝＝＝＝＝＝＝＝＝＝ 選擇主題 ＝＝＝＝＝＝＝＝＝＝＝*/
/* 卡片網格樣式 */
#CM823 .topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

/* 單張卡片樣式 */
#CM823 .topic {
    position: relative;
    text-align: center;
}

/* 卡片圖片 */
#CM823 .topic img {
    width: 100%;
    height: auto;
}

/* 按鈕樣式 */
#CM823 .topic a {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    font-size: 28px;
    font-family: "微軟正黑體", "Microsoft JhengHei", 'PingFang TC', Helvetica, Arial, sans-serif;
    border-radius: 12px;
    width: 56%;
    padding: 8px 0;
    text-align: center;

    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.MOBILE #CM823 .topic a {
    font-size: 20px;
    bottom: 4px;
    width: 80%;
    padding: 4px 0;
}


/*＝＝＝＝＝＝＝＝＝＝＝ 領取紀錄 ＝＝＝＝＝＝＝＝＝＝＝*/

#CM823 .reward-table {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    border: 2px solid #54a9a1;
    border-radius: 12px;
    border-collapse: separate;
    overflow: hidden;
    font-size: 1rem;
}

.MOBILE #CM823 .reward-table {
    font-size: 0.875rem;
}

#CM823 .reward-table th,
#CM823 .reward-table td {
    padding: 8px 6px;
    text-align: center;
}

#CM823 .reward-table th {
    background-color: #54a9a1;
    color: #fff;
    border-right: 2px solid #fff;
}

#CM823 .reward-table td {
    background-color: #fff;
    border-right: 2px solid #54a9a1;
    border-top: 2px solid #54a9a1;
    color: #4a5457;
}

#CM823 .reward-table thead th:nth-of-type(3),
#CM823 .reward-table thead th:nth-of-type(4),
#CM823 .reward-table tbody td:nth-of-type(3),
#CM823 .reward-table tbody td:nth-of-type(4) {
    border-right: none;
}


/* 狀態樣式 */
#CM823 .status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: normal;
    color: #fff;

    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.MOBILE #CM823 .status {
    font-size: 0.875rem;
}

#CM823 .status.unuse {
    background-color: #f27986;
    cursor: pointer;
}

#CM823 .status.unuse:hover {
    background-color: #e25358;
}

#CM823 .status.used {
    background-color: #a8b3b1;
    pointer-events: none;
}


/*＝＝＝＝＝＝＝＝＝＝＝ 個人選擇-問題共用 ＝＝＝＝＝＝＝＝＝＝＝*/
#CM823 .question-box {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 72%;
    flex-direction: column;
}

.MOBILE #CM823 .question-box {
    width: 100%;
}

/* 問題流程bar */
#CM823 .bar-progress {
    width: 64%;
    margin: 0 auto 16px auto;
}

/* 問題配圖 */
#CM823 .question-img {
    width: 68%;
    margin: 0 auto 12px auto;
}

.MOBILE #CM823 .question-img {
    display: none;
}

/* 問題題目 */
#CM823 .question {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin: 0 auto;
    width: 100%;
}

#CM823 .question .number {
    width: 64px;
    height: auto;
    flex-shrink: 0;
}


#CM823 .question p {
    font-family: "微軟正黑體", "Microsoft JhengHei", 'PingFang TC', Helvetica, Arial, sans-serif;
    color: #855b27;
    font-size: 1.1rem;
    line-height: 1.6;
}

#CM823 .question p+p {
    margin-top: 12px;
}





/* 日本共用大標寬度-另外設定 */
.MOBILE #CM823 h2.subtitle-tool {
    width: 80%;
}

.MOBILE #CM823 h2.subtitle-service {
    width: 92%;
}


/*＝＝＝＝＝＝＝＝＝＝＝ 按鈕區 ＝＝＝＝＝＝＝＝＝＝＝*/
#CM823 .btn-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    margin: 0 auto;
}

.MOBILE #CM823 .btn-area {
    width: 80%;
}

/* 按鈕前後文字特別說明及間距 */
#CM823 .btn-area p {
    font-family: "微軟正黑體", "Microsoft JhengHei", 'PingFang TC', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    color: #e25358;
    margin: 8px auto;
}

#CM823 .btn-area p span {
    color: #786a65;
    font-weight: normal;
}


#CM823 .btn-area a {
    position: relative;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    font-family: "微軟正黑體", "Microsoft JhengHei", 'PingFang TC', Helvetica, Arial, sans-serif;
    border-radius: 12px;
    width: 100%;
    padding: 8px 0;
    text-align: center;

    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

#CM823 .btn-area a+a {
    margin-top: 12px;
}


/*＝＝＝＝＝＝＝＝＝＝＝ 活動說明 ＝＝＝＝＝＝＝＝＝＝＝*/
#CM823 .bg-red {
    background-color: #e25358;
    margin-top: 60px;
}

#CM823 .bg-red h2 {
    margin: 0 auto;
    width: 40%;
    display: block;
}

#CM823 .event_guide {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

#CM823 .guide_title {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.6;
    color: #ecd342;
}

#CM823 .guide_item {
    width: 100%;
    height: auto;
    overflow: hidden;
}

#CM823 .deco_bar {
    text-indent: 12px;
    border-left: 6px solid #ecd342;
    margin: 16px 0 10px 0;
    height: 30px;
    display: flex;
    align-items: center;
}

#CM823 .guide_item ul {
    width: 100%;
    list-style-position: outside;
    padding: 0px 0px 0px 42px;
    box-sizing: border-box;
    list-style: disc;
}

#CM823 .guide_item ul.no_style {
    list-style: none;
    padding: 0px 0px 0px 18px;
}

#CM823 .guide_item ul.num {
    list-style: decimal;
}

#CM823 .guide_item li {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff0f0;
    font-family: "微軟正黑體", "Microsoft JhengHei", 'PingFang TC', Helvetica, Arial, sans-serif;
}

#CM823 .guide_item li+li {
    padding-top: 15px;
}

#CM823 span.txt-yellow {
    color: #ecd342;
}

#CM823 a.link-blue {
    display: inline-block;
    color: #88d1ff;
    text-decoration: underline;
}

#CM823 a.link-blue:hover {
    text-decoration: none;
}