.relative {
    position: relative;
}

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

.mx-auto {
    margin: 0 auto;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.general-padding {
    padding: 5% 0;
}

@media only screen and (max-width: 796px) {
    .general-padding {
        padding: 7% 0;
    }
}

@media only screen and (max-width: 414px) {
    .general-padding {
        padding: 10% 0;
    }
}

/* .container {
    max-width: min(768px, 90%);
    margin: 0 auto;
} */

.section_1 {
    background-image: url('../images/blue_sky.png');
    background-size: cover;
}

.section_1_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 9fr);
    gap: 6vw;
    padding-top: 30px;
}

.section_1_grid_2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6vw;
    align-items: center;
}

.section_2 {
    background-image: url('../images/section_2_bg.png');
    background-size: cover;
}

.section_2_title {
    margin: 0 auto;
    text-align: center;
    max-width: 500px;
}

.section_4 {
    background-image: url('../images/section_4_background.png');
    background-size: cover;
    padding-bottom: calc(5% + 100px);
    margin-top: 100px;
}

.section_4_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6vw;
}

.section_4_image {
    position: absolute;
    top: -145px;
    max-width: 600px;
}

.secton_4_image_line {
    position: absolute;
    height: 1px;
    background-color: #fff;
    width: 100px;
    left: -40px;
    top: 20px;
}

@media screen and (max-width: 1320px) {
    .section_4_image {
        max-width: 130%;
    }
}

@media screen and (max-width: 1000px) {
    .section_4_image {
        max-width: 100%;
        top: -100px;
    }

    .section_4 {
        padding-bottom: calc(5% + 50px);
        margin-top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .secton_4_image_line {
        display: none;
    }

    .section_4_image {
        position: static;
    }

    .section_4_grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.section_5 {
    background-image: url('../images/section_5_background.png');
    background-size: cover;
}

.section_5_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .section_5_grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.section_6 {
    background-color: #e9f3f8;
}

.hs-responsive-embed-youtube {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    padding-top: 25px;
}

.hs-responsive-embed-youtube iframe {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
}

.form_group {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .form_group {
        font-size: 16px;
    }
}

.section_7_form .form_control {
    background-color: #ededed;
    padding: 1rem;
    width: 100%;
}

.form_label_wrap {
    width: 30%;
}

.form_input_wrap {
    width: 70%;
}

.form_label {
    position: relative;
}

.form_label::before {
    position: absolute;
    left: -10px;
    top: 0;
    content: "*";
    color: #f00;
}

.form_inner_group {
    display: flex;
    flex: 1;
}

.sms_send_button {
    background-color: #529ed2;
    color: #fff;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit_button {
    color: #fff;
    background-color: #132f78;
    padding: 12px 48px;
    width: 100%;
    max-width: 160px;
}

/* LINE留單按鈕 */
.submit_button.line-icon {
    background-color: #06C755;
    border-color: #06C755;
    position: relative;
    padding-left: 70px;
}

.submit_button.line-icon::before {
    content: "";
    background-image: url('../images/social_Line.png');
    background-size: contain;
    position: absolute;
    left: 20px;
    top: calc(100% / 2 - 13px);
    width: 26px;
    height: 25px;
}

label.error {
    color: #f0594d;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 0px;
    line-height: 1;
}

/* Footer
------------------------------------------------------------ */

.footer {
    color: #FEFEFE;
    background-color: #3C3C3C;
    width: 100%;
}

.footer_title {
    font-size: 18px;
}

.footer_tel,
.footer_time {
    font-size: 20px;
    letter-spacing: 0.2rem;
    /* 取消 bootstrap <dd> 預設的 margin-bottom: 8px */
    margin-bottom: 0;
}

.footer_tel a {
    color: var(--white);
    letter-spacing: 0.2rem;
}

/* 週日公休 */
.footer_note {
    font-size: 12px;
    margin-left: 8px;
}

.footer hr {
    border-top: 1px solid var(--white);
    opacity: 1;
}

.footer_social a {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.footer_social a:hover {
    background-color: var(--bs-gray-900);
}

.footer_copyright {
    font-size: 14px;
}

/* Float Button
------------------------------------------------------------ */

.line {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 60px;
    right: 20px;
    cursor: pointer;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.2));
    transition: all .3s;
    z-index: 1000;
}

@media (min-width: 768px) {
    .line {
        bottom: 80px;
    }
}

@media (min-width: 1200px) {
    .line {
        width: 75px;
        height: 75px;
    }
}

.line:hover {
    filter:
        drop-shadow(0px 0px 4px rgba(0, 255, 0, 0.1)) drop-shadow(0px 0px 4px rgba(0, 255, 0, 0.3)) drop-shadow(0px 0px 4px rgba(0, 255, 0, 0.5));
}

.line img {
    width: 100%;
    height: 100%;
}