.place_img {
    max-height: 200px;
    min-height: 200px;
}

@media (max-width: 600px) {
    .place_img {
        min-height: 200px;
        max-height: 200px;
    }
}

#sp_area2 {
    gap: 30px;
}

#sp_area .place_img {
    min-height: 200px;
    max-height: 200px;
}

.sp_search {
    position: relative;
}

.sp_search select,
.sp_search input {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    border-radius: 10px;
    border: 0px solid #ccc;
    background-color: #e6e6e6;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.sp_search select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sp_sicon {
    position: absolute;
    top: 50%;
    right: 30px;
    text-align: right;
    font-weight: bold;
    transform: translateY(-50%);
    font-size: 16px;
    color: #b7a179;
    pointer-events: none;
}

#sp_area {
    justify-content: space-between;
}

#sp_area:only-child {
    justify-content: flex-start;
}

#sp_p1_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.family-pcard {
    background-color: #f0efe2;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    width: 48.5%;
    margin: 20px 0;
    padding-bottom: 30px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.family-pcard:hover {
    box-shadow: 0 0 10px rgba(90, 60, 3, 0.5);
}

@media (max-width: 600px) {
    .family-pcard {
        width: 100%;
    }
}

.family-pcontent {
    flex-direction: column;
}

.family-pimg {
    background-color: #cfcfcf;
    border-radius: 15px;
    margin: 30px 0px;
    aspect-ratio: 16 / 9;
}

.family-pname {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.family-pinfo {
    line-height: 18px !important;
}

.family-companypname {
    font-size: 12px;
    font-weight: bold;
}

.family-paddr a {
    font-size: 12px;
    font-weight: 500;
    color: darkred;
}

.family-pphone,
.family-popentime {
    font-size: 12px;
    font-weight: 500;
}

.family-pslogan {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0;
}

.family-pfeaturearea {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
}

.family-pfeature {
    font-size: 12px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 5px;
}

.family-traffic {
    color: #427b2e;
    background-color: #c7e4bd;
}

.family-lunch {
    color: #8d902f;
    background-color: #ede39d;
}

.family-fe {
    color: #2f5690;
    background-color: #9db9ed;
}

.family-card-btns {
    display: flex;
    margin-top: 5px;
    justify-content: end;
    gap: 5px;
}

.btn-Place {
    background-color: #a3805f !important;
    font-size: 20px !important;
    font-weight: 500;
    color: white;
    height: 48px;
    border-radius: 25px !important;
    width: 100%;
}

.p_section {
    margin-bottom: 15px;
    background-color: white;
}

.places-data-card {
    padding-top: 10px;
    margin: 2px;
    border: 1px solid #a3805f;
    border-radius: 10px;
    flex: 0 0 auto;
    width: 100%;
}

.places-data-card .card-body {
    padding: 10px;
}

.p_section .card-body,
.p_section .card {
    margin-top: 10px;
    padding: 0 10px;
}

@media (min-width: 1200px) {
    .places-data-card {
        flex: 0 0 auto;
        width: 33%;
    }

    .sp_sicon {
        display: none;
    }
}

@media (min-width: 992) {
    .places-data-card {
        flex: 0 0 auto;
        width: 49%;
    }
}

.family-body {
    padding: 0 20px;
}

.family-title1 {
    text-align: center;
    font-size: 54px;
    font-weight: bold;
}

.family-title2 {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.family-title3 {
    text-align: center;
    font-size: 45px;
    font-weight: 500;
}

.family-title4 {
    font-size: 24px;
    font-weight: bold;
}

.family-title5 {
    font-size: 30px;
    font-weight: bold;
}

.family-font-red {
    color: rgba(139, 0, 0, 0.655);
}

.family-btn1,
.family-btn2:hover {
    margin: 5px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #a38060;
    background-color: #a38060;
    color: white;
    transition: 0.5s;
}

.family-btn2,
.family-btn1:hover {
    margin: 5px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #a38060;
    background-color: white;
    color: #a38060;
    transition: 0.5s;
}

.family-btn3 {
    margin: 5px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 0px;
    background-color: #ffc000;
    color: black;
    transition: 0.5s;
}

.family-btn4 {
    display: block;
    margin: 0 auto;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 0px;
    background-color: #c36666;
    color: white;
    transition: 0.5s;
}

.family-btn5 {
    display: block;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    border: 0px;
    background-color: #c36666;
    color: white;
    transition: 0.5s;
}

.family-btn6 {
    display: block;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    border: 0px;
    background-color: #a38060;
    color: white;
    transition: 0.5s;
}

.family-btnd {
    background-color: #cbcbcb;
    color: black;
}

.family-p-ul1 li {
    font-size: 30px;
    margin-top: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.family-p-line {
    width: 5px;
    height: 50px;
    border-radius: 30px;
    margin-right: 10px;
    background-color: #a38060;
}

.family-pdetail-p {
    overflow-y: auto;
    height: 280px;
    padding-right: 30px;
}

#sp_p2-button_div {
    padding-right: 30px;
}

.family-pdetail-span {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
}

.family-pdetail-background-r {
    background-color: #f0efe2;
    border-radius: 30px;
    padding: 25px;
    margin-bottom: 15px;
}

.family-pdetail-title-r {
    font-size: 18px;
    font-weight: bold;
}

.family-pdetail-r,
.family-pdetail-r a {
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
}

.family-pfeature-r {
    position: relative;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 14px;
}

.family-pfeature-r::before {
    content: "\2713";
    display: inline-block;
    color: green;
    position: absolute;
    left: 0px;
    top: 5px;
}

.family-table {
    align-items: center;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    border: #828080 1px solid;
}

.family-table td:first-child,
.family-table th:first-child {
    width: 20% !important;
}

.family-table td,
.family-table th {
    width: 40%;
    border: #828080 1px solid;
}

.family-table th {
    color: white;
    background-color: #4a90e2;
}

.flow_listItem {
    list-style: none;
}

.family-table2 {
    align-items: center;
    width: 100%;
    text-align: center;
    border: #dedede 1px solid;
}

.family-table2 td,
.family-table2 th {
    border: #dedede 1px solid;
}

.family-table2 tbody tr:nth-child(odd) {
    background-color: #d5d5d55f;
    /* 偶數列底色 */
}

.step-btn {
    cursor: pointer;
}

@media (max-width: 600px) {
    .family-title1 {
        font-size: 45px !important;
    }

    .family-title3 {
        font-size: 35px !important;
    }

    .family-p-ul1 li {
        font-size: 20px;
        margin-top: 25px;
    }

    .family-table {
        width: 95%;
    }

    .family-table td:first-child,
    th:first-child {
        width: 15% !important;
    }
}

.family-i-btn {
    cursor: pointer;
    color: #a3805f;
}

.family-i-btn:hover {
    cursor: pointer;
    color: #a3805f;
}

.family-footer {
    border-top: rgba(0, 0, 0, 0.175) 1px solid;
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    /*計算16:9*/
}

.step-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

@media (min-width: 1024px) {
    .step-container {
        transform: scale(1.5);
        transform-origin: center;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

.step-group-p1 {
    flex-direction: column;
    align-items: center;
    display: none;
    text-align: center;
    cursor: pointer;
}

.step-group-p1.show {
    display: flex;
}

.step-group-p2 {
    transform-origin: center;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: none;
}

.step-group-p2.expand {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scaleX(1);
    opacity: 1;
}

.step-group-p1-title {
    font-size: 14px;
    font-weight: bold;
}

.step-group-p1-index {
    font-weight: bold;
    font-size: 30px;
    padding: 20px;
    background-color: #eddfb7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-group-p1-index span {
    text-align: center;
}

.step-group {
    position: relative;
    justify-content: center;
}

.step-group::after {
    margin: 8px 15px;
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    width: 30px;
    height: 3px;
    border-radius: 50px;
    background-color: #000;
}

.step-group:last-child::after {
    display: none;
}

.step_group_title {
    font-size: 20px;
    font-weight: bold;
}

.setps-container {
    display: flex;
    flex-direction: row;
    padding: 5px 50px;
    border: #e3c469 5px solid;
    border-radius: 400px;
    gap: 20px;
}

.steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.steps:hover i {
    color: black;
}

.setps-container::before,
#sp_area::before {
    content: none !important;
    display: none !important;
}

.steps span {
    font-size: 10px;
    font-weight: bolder;
}

.steps div {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #fff;
    font-weight: bold;
    width: 70px;
    height: 70px;
    background-color: #e3c469;
    border-radius: 50%;
    margin: 5px 0;
}

.step.complete {
    background-color: #bababa;
    color: #000;
}

.step-group.complete {
    background-color: #bababa;
}

#user_exp_title {
    font-weight: bold;
}

.f-flex-between {
    justify-content: space-between;
}

.f-split-2,
.f-split-2-p {
    width: 49%;
}

.f-red {
    color: #8e4141;
}

.f-black {
    color: #000;
}

.f-gray {
    color: gray;
}

.f-yellow {
    color: #b7a27b;
}

.f-icon-red {
    color: #8e4141;
    font-variation-settings: "FILL" 1, "wght" 800, "GRAD" 0, "opsz" 48 !important;
}

.f-icon-black {
    color: black;
    font-variation-settings: "FILL" 1, "wght" 800, "GRAD" 0, "opsz" 48 !important;
}

.f-icon-white {
    color: white;
    font-variation-settings: "FILL" 1, "wght" 800, "GRAD" 0, "opsz" 48 !important;
}

.f-radius-15 {
    border-radius: 15px;
}

.f-radius-30 {
    border-radius: 30px !important;
}

.f-bg-beige {
    background-color: #f1f0e6;
}

.f-bg-pink {
    background-color: #b73d3d30;
}

.f-bg-red {
    background-color: #b73d3d90;
}

.f-opacity-3 {
    opacity: 0.3;
}

.f-opacity-7 {
    opacity: 0.7;
}

.f-bold {
    font-weight: bold;
}

.f-center {
    text-align: center;
}

.f-18 {
    font-size: 18px;
}

.f-20 {
    font-size: 20px;
}

.f-24 {
    font-size: 24px;
}

.f-40 {
    font-size: 40px !important;
}

.f-80 {
    font-size: 80px !important;
}

.f-100 {
    font-size: 100px !important;
}

.f-padding-40 {
    padding: 40px 60px;
}

.f-padding-10 {
    padding: 10px 20px;
}

.f-steps {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 120px;
}

.f-step-title {
    height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.f-steps i {
    font-size: 70px;
    background-color: #e8ce81;
    padding: 30px;
    border-radius: 50%;
}

.f-step-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.f-steps::after {
    margin: 8px 15px;
    content: "";
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    left: 120%;
    width: 100px;
    height: 2px;
    border-radius: 50px;
    background-color: #000;
}

.f-steps:last-child::after {
    display: none;
}

.f-btn {
    margin: 15px;
    padding: 15px 30px;
    border: 0;
    transition: 0.5s;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.5);
}

.f-shadow{
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.5) !important;
}

.f-web {
    display: flex;
}

.f-phone {
    display: none;
}

@media (max-width: 1000px) {
    .f-web {
        display: none;
    }

    .f-phone {
        display: flex;
    }

    .f-p-column {
        flex-direction: column;
    }

    .f-split-2-p {
        width: 100%;
    }

    #content-block {
        width: 100%;
    }

    .f-radius-30 {
        border-radius: 0%;
    }

    .f-phone-left {
        text-align: left !important;
    }
}

@media (max-width: 500px) {
    .f-padding-40 {
        padding: 10px 15px;
    }
}

.f-indent {
    text-indent: 2em;
}

.f-hang {
    padding-left: 2em;
    text-indent: -2em;
}

.f-hang1 {
    padding-left: 1em;
    text-indent: -1em;
}

.y_step {
    margin-bottom: 35px;
    z-index: 1;
}

.y_steps {
    position: relative
}

.y_steps::before {
    content: "";
    position: absolute;
    left: 60px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #b48b49;
}

.f-featured {
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.f-featured .intro-box {
    display: none;
    padding: 15px 30px;
    color: #FFF;
    font-weight: 500;
}

.f-featured .icon-box:hover .intro-box {
    display: block;
}

.f-featured .icon-box:hover {
    background-color: #D46899;
    border-radius: 30px;
}

.f-featured .icon-box-active {
    background-color: #D46899;
    border-radius: 30px;
}

.f-featured .icon-box .icon-box-title {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 10px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    background: #fff;
    transition: all ease-in-out 0.3s;
    height: 100px;
    width: 100%;
    border: 2px solid black;
}

.f-featured .icon-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    display: block;
    line-height: 0;
}

.f-featured .icon-box h3 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 32px;
    color: #000;
}

.p-btn {
    display: none;
}

@media (max-width: 767px) {
    .f-featured .icon-box {
        width: 90%;
        margin-bottom: 30px;
    }

    .f-featured .item-box a {
        display: flex;
        justify-content: end;
    }

    .p-btn {
        position: absolute;
        top: 50px;
        transform: translateY(-50%);

        display: flex;
        padding: 5px;
        color: #FFF;
        background-color: #D46899;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
    }
}

.exp_placeinfo_div {
    font-weight: bold;
    color: red !important;
    display: none;

}

.exp_placeinfo_div a {
    color: red !important;
    text-decoration: underline;
}

#calendar_tip,
.calendar_tip {
    background-color: lightgray;
    border-radius: 15px;
    padding: 30px;
}

.exp_calendar_div #calendar {
    height: auto;
    margin-bottom: 15px;
}

#calendar_chose_day {
    background-color: lightyellow;
    border-radius: 15px;
    padding: 30px;
}

#uexp_tip {
    background-color: lightgray;
    border-radius: 15px;
    padding: 30px;
}

#calendar .fc-h-event {
    background-color: #a3805f !important;
    border-color: #a3805f !important;
}

#calendar .fc-h-event::after {
    content: "預約";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
}

.question_select {
    width: 50%;
    height: 40px;
    padding-left: 10px;
    border-radius: 10px;
    border: 0px solid #ccc;
    background-color: #e6e6e6;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 15px;
}

.question_radio {
    width: 50%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.question_radio label {
    white-space: nowrap;
}

.question_textarea {
    width: 50%;
    border-radius: 30px;
}


@media (max-width: 600px) {

    .question_select,
    .question_radio,
    .question_textarea {
        width: 100%;
    }
}

#announcement_wrap,
#news_wrap {
    display: flex;
    gap: 20px;
}

#announcement_table_tool {
    flex: 3;
    display: flex;
    flex-direction: column;
}

#announcement_table_div {
    flex: 7;
}

#announcement_table {
    width: 100%;
}

#announcement_table tr {
    border: #000 1px solid;
}

#announcement_table tbody tr:nth-child(odd) {
    background-color: #fdfae7;
}

#announcement_table td {
    padding: 0 10px;
}

.annoucement_filter_div {
    position: relative;
    margin-bottom: 10px;
}

.annoucement_filter {
    width: 100%;
    padding: 0 40px 0 5px;
}

.annoucement_filter_icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;

}

.table-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.page-size select {
    margin: 0 4px;
}

.pagination-text {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    user-select: none;

}

.pagination-text .page-btn {
    cursor: pointer;
    font-size: 16px;
    margin: 0 6px;
}

.pagination-text .page-btn.disabled {
    color: #aaa;
    cursor: default;
}

#pageInput {
    width: 42px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #999;
    margin: 0 4px;
}

#pageInput::-webkit-inner-spin-button,
#pageInput::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 600px) {
    #announcement_wrap {
        flex-direction: column;
    }


    #announcement_table_tool,
    #announcement_table_div {
        flex: 1;
    }

    .news_main {
        flex: 1;
    }

    .news_sub {
        display: none !important;
    }

    #news_table_tool {
        width: 100% !important;
    }

    #news_table {
        gap: 0 !important;
    }

    .news_card {
        padding: 10px;
        gap: 10px !important;
    }

    .news_info h5 {
        font-size: 6px;
    }

    .news_info h4 {
        font-size: 14px;
    }

    .news_info span {
        font-size: 8px !important;
    }

    .news_card .news_img {
        flex: 4 !important;
    }

    .news_card .news_info {
        flex: 6 !important;
    }

    #news_table .news_card:nth-child(odd) {
        background-color: #fdfae7;
    }
}

.news_main {
    flex: 7;
}

.news_sub {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#news_wrap_main {
    display: flex;
    flex-direction: column;
}

#news_table_tool {
    width: 30%;
    text-align: right;
}

#news_table {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news_card {
    display: flex;
    gap: 20px;
    cursor: pointer;
    color: black;
}

.news_card .news_img {
    flex: 3;
    display: flex;
    justify-content: center;
}

.news_card .news_img img {
    max-width: 100%;
    height: auto;
    display: block;
}

.news_card .news_info {
    flex: 7;
}

.news_info h5 {
    color: gray;
}

.news_info h4 {
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.news_info span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.input_modify {
    display: none;
}

    .index_linebtn{
        max-width: 500px;
        width: 80%;
    }

@media (max-width: 768px) {

    .family-flex,
    .elder_chose_div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        justify-content: space-between;
    }

    .family-flex [class*="col-"],
    .elder_chose_div [class*="col-"] {
        max-width: 100% !important;
        width: 100% !important;
    }
    .step-container{
        gap:20px;
    }
    .step-group::after {
    margin: 8px 5px;
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    width: 10px;
    height: 3px;
    border-radius: 50px;
    background-color: #000;
}
}

@media (min-width: 769px) {

    .family-flex,
    .elder_chose_div {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: space-between;
    }

    #howwork h2{
        margin-top: 100px;
    }
}