@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");

@font-face {
    font-family: "Futura-Std-Heavy";
    src: url(../fonts/Futura\ Std\ Heavy.otf);
}

@font-face {
    font-family: "Futura-Std-Light";
    src: url(../fonts/Futura\ Std\ Light.otf);
}

@font-face {
    font-family: "Futura-Std-Medium";
    src: url(../fonts/Futura\ Std\ Medium.otf);
}

@font-face {
    font-family: "Futura-Std-Book";
    src: url(../fonts/Futura\ Std\ Book.otf);
}


.Futura-Std-Light {
    font-family: "Futura-Std-Light";
}

.Futura-Std-Heavy {
    font-family: "Futura-Std-Heavy";
}

.Futura-Std-Medium {
    font-family: "Futura-Std-Medium";
}

.Futura-Std-Book {
    font-family: "Futura-Std-Book";
}

.noto-sans-300 {
    font-family: "Noto Sans TC";
    font-weight: 300;
}


[data-aos="opacity-up"] {
    opacity: 1;
    clip-path: inset(100% 0 0% 0);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-up"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

[data-aos="opacity-left"] {
    opacity: 1;
    clip-path: inset(0% 100% 0% 0);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-left"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

[data-aos="opacity-right"] {
    opacity: 1;
    clip-path: inset(0% 0% 0% 100%);
    /* 初始状态下完全隐藏 */
}

[data-aos="opacity-right"].aos-animate {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    /* 显示全部图片 */
}

[data-aos="opacity-y"] {
    opacity: 0;
}

[data-aos="opacity-y"].aos-animate {
    animation: opacity-y 2.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0s;
}

@keyframes opacity-y {
    0% {
        opacity: 0;
        clip-path: inset(50% 0 50% 0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

[data-aos="brightness"] {
    filter: brightness(0.7);
}

[data-aos="brightness"].aos-animate {
    animation: brightness-out 1.2s ease-in-out 0s forwards;
}

@keyframes brightness-out {
    0% {
        filter: brightness(0.7);
    }

    100% {
        filter: brightness(1);
    }
}


body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    --vw-base: calc(100vw / 1920);
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

button,
input,
textarea,
select,
option {
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pic-txt {
    position: absolute;
    bottom: calc(15* var(--vw-base));
    right: calc(15* var(--vw-base));
    color: #fff;
    font-size: calc(21* var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: calc(27* var(--vw-base));
    z-index: 10;
    text-shadow: #000000 0px 0px 2px;
}


.container {
    width: 100%;
    height: auto;
    position: relative;
}


.m1 {
    position: relative;
    width: 100%;
    height: calc(1080*var(--vw-base));
    overflow: clip;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ede7d2;
}

.m1-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.m1-txt1 {
    position: relative;
    margin-top: calc(200 * var(--vw-base));
    width: calc(380 * var(--vw-base));
    height: calc(250 * var(--vw-base));
    background-image: url(../img/m1-txt1-p.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 200% 200%;
    mask-image: url(../img/m1-txt1-t.png);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: 0 0vw;
    z-index: 10;
}


.m1-txt1 {
    object-fit: contain;
    animation: m1-txt1 30s linear infinite;
}

@keyframes m1-txt1 {
    0% {
        background-position: 0 0;

    }

    50% {
        background-position: 27% 0;
    }

    100% {
        background-position: 0 0;
    }
}



.m1-txt img {
    object-fit: contain;
}

.m1-txt2 {
    position: relative;
    margin-top: calc(30*var(--vw-base));
    width: calc(380*var(--vw-base));
    height: calc(100*var(--vw-base));
}

.m1-txt3 {
    position: relative;
    margin-top: calc(15 * var(--vw-base));
    width: calc(250 * var(--vw-base));
    height: calc(40 * var(--vw-base));
}


.m1-txt4 {
    position: relative;
    margin-top: calc(70 * var(--vw-base));
    width: calc(562 * var(--vw-base));
    height: calc(60 * var(--vw-base));
}

.m1-txt4 img {
    object-fit: cover;
}


.m1-txt5 {
    position: relative;
    margin-top: calc(50 * var(--vw-base));
    width: calc(365 * var(--vw-base));
    height: calc(98 * var(--vw-base));
}




.m2 {
    position: relative;
    width: 100%;
    height: calc(1080*var(--vw-base));
    background-color: #fcf4e8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m2-pic {
    position: absolute;
    width: 62vw;
    height: 100%;
    overflow: hidden;
    left: 0;
    top: 0;
}

.m2-pic img {
    transform: scale(1.13);
    transition: all 3s ease-in-out;
}

.active-big {
    opacity: 1;
    transform: scale(1) !important;
}

.m2-txt {
    position: absolute;
    width: 28.5vw;
    height: 25vw;
    left: 65vw;
    top: 15vw;
    z-index: 10;
}

.m2-txt .t1,
.m2-txt .t2 {
    position: absolute;
    left: 0vw;
    top: 0vw;
    width: 100%;
    height: 100%;
}

.m2-txt img {
    object-fit: contain;
}


.m3 {
    position: relative;
    width: 100%;
    height: calc(1080*var(--vw-base));
    background-color: #fcf4e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.m3-pic {
    position: absolute;
    width: 62vw;
    height: 100%;
    overflow: hidden;
    right: 0;
    top: 0;
}

.m3-pic img {
    transform: scale(1.13);
    transition: all 3s ease-in-out;
}

.active-big {
    opacity: 1;
    transform: scale(1) !important;
}

.m3-txt {
    position: absolute;
    width: 28.5vw;
    height: 25vw;
    left: 4.5vw;
    top: 15vw;
    z-index: 10;
}

.m3-txt .t1,
.m3-txt .t2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.m3-txt img {
    object-fit: contain;
}

.m4 {
    position: relative;
    width: 100%;
    height: calc(1080*var(--vw-base));
    overflow: clip;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.m4-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


.m4-bg img {
    object-fit: cover;
}

.m4-bg-w {
    position: absolute;
    left: 0;
    top: auto;
    bottom: -0.3vw;
}

.m4-txt img {
    object-fit: contain;
}

.m4-txt1 {
    position: relative;
    margin-top: calc(160*var(--vw-base));
    width: calc(550*var(--vw-base));
    height: calc(120*var(--vw-base));
}

.m4-phone {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6vw;
    /* background-color: #fff; */
}

.m4-fb {
    position: relative;
    margin-top: calc(60 * var(--vw-base));
    width: calc(28 * var(--vw-base));
    height: calc(55 * var(--vw-base));
}

.m4-txt2 {
    position: relative;
    margin-top: calc(20 * var(--vw-base));
    width: calc(455 * var(--vw-base));
    height: calc(98 * var(--vw-base));
}

.m4-txt3 {
    position: relative;
    margin-top: calc(22 * var(--vw-base));
    font-size: calc(19 * var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    line-height: calc(30 * var(--vw-base));
    letter-spacing: 0.03em;
    color: #000;
}

.m4-txt4 {
    position: relative;
    margin-top: calc(60 * var(--vw-base));
    width: calc(1230 * var(--vw-base));
    height: calc(25 * var(--vw-base))
}

.form1 {
    position: relative;
    margin-top: calc(50*var(--vw-base));
    width: calc(550*var(--vw-base));
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input {
    position: relative;
    width: 100%;
    height: calc(48*var(--vw-base));
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* box-sizing: border-box;
    padding: 0 calc(15*var(--vw-base)); */
}

.input::before {
    content: '';
    position: absolute;
    bottom: 0;
    /* 偽元素位於 .input 下方 */
    left: 0;
    width: 100%;
    /* 偽元素寬度填滿 */
    height: 1px;
    /* 偽元素高度，可調整為間隔需求 */
    background-color: #000;
    /* 視覺樣式 */
}


.input>label {
    position: relative;
    flex-shrink: 0;
    top: calc(0 * var(--vw-base));
    width: calc(90 * var(--vw-base));
    text-align: left;
    text-align-last: left;
    font-size: calc(19 * var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    color: #000;
    letter-spacing: 0.05em;
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #000;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    /*淡淡的白*/
    transition: background-color 5000s ease-in-out 0s;
    /*透明*/
}

.input input[type="text"],
.input input[type="tel"],
.input input[type="email"] {
    position: relative;
    top: calc(0*var(--vw-base));
    flex-grow: 1;
    font-size: calc(19* var(--vw-base));
    border: none;
    background-color: transparent;
    color: #000;
    box-sizing: border-box;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    -moz-appearance: none;
    font-family: 'Noto Sans TC';
    font-weight: 400;
    /* padding-left: calc(15*var(--vw-base)); */
}


.input select {
    position: relative;
    top: calc(2*var(--vw-base));
    flex-grow: 1;
    font-size: calc(20* var(--vw-base));
    border: none;
    background-color: transparent;
    color: #231815;
    box-sizing: border-box;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    -moz-appearance: none;
    font-family: 'Noto Sans TC';
    font-weight: 400;
    letter-spacing: 0.05em;
    background-image: url(../img/select.svg);
    background-position-x: 99%;
    background-position-y: 60%;
    background-repeat: no-repeat;
    background-size: 3.5%;
}

select option {
    color: #231815;
    background-color: #fcf4e8;
    position: relative;
    width: calc(550*var(--vw-base));
    font-size: inherit;
    /* 继承 select 的字体大小 */
    color: inherit;
}


form button,
#submitbtn {
    position: relative;
    margin: calc(45 * var(--vw-base)) 0 calc(0 * var(--vw-base)) 0;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    border: none;
    outline: none;
    height: calc(50 * var(--vw-base));
    width: calc(480 * var(--vw-base));
    background-color: transparent;
    background-image: url(../img/submit.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    cursor: pointer;
}


.check-item {
    position: relative;
    margin-top: calc(20 * var(--vw-base));
    display: flex;
    align-items: center;
    gap: calc(15 * var(--vw-base));
    font-family: "Noto Sans TC";
    font-weight: 400;
    color: #000;
    font-size: calc(20 * var(--vw-base));
    line-height: calc(30 * var(--vw-base));
    letter-spacing: 0em;
}

.check-label {
    white-space: nowrap;
    cursor: pointer;
}

.check-item label input {
    position: relative;
    top: calc(3 * var(--vw-base));
    width: calc(20 * var(--vw-base));
    height: calc(20 * var(--vw-base));
    margin: 0% 5% -2.5% 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    -moz-appearance: none;
    appearance: none;
    background-color: #000;
    -webkit-mask-image: url(../img/check.png);
    /* 使用 -webkit-mask-image */
    mask-image: url(../img/check.png);
    /* 正確語法 */
    -webkit-mask-repeat: no-repeat;
    /* 設置不重複 */
    mask-repeat: no-repeat;
    -webkit-mask-position: top center;
    /* 設置位置 */
    mask-position: top center;
    -webkit-mask-size: calc(20 * var(--vw-base)) calc(20 * var(--vw-base));
    /* 設置大小 */
    mask-size: calc(20 * var(--vw-base)) calc(20 * var(--vw-base));
    border: none;
    cursor: pointer;
}

.check-item label input:checked {
    mask-image: url(../img/checked.png);
    /* 正確語法 */
    -webkit-mask-repeat: no-repeat;
    /* 設置不重複 */
    mask-repeat: no-repeat;
    -webkit-mask-position: top center;
    /* 設置位置 */
    mask-position: top center;
    -webkit-mask-size: calc(20 * var(--vw-base)) calc(20 * var(--vw-base));
    /* 設置大小 */
    mask-size: calc(20 * var(--vw-base)) calc(20 * var(--vw-base));
}

.check-item-sex {
    position: absolute;
    top: calc(10*var(--vw-base));
    right: calc(0*var(--vw-base));
    display: flex;
    gap: calc(15*var(--vw-base));
    font-size: calc(26 * var(--vw-base));
}


.check-item-sex label {
    cursor: pointer;
    /* width: calc(85* var(--vw-base)); */
    text-align-last: end;
    font-size: calc(19*var(--vw-base));

}

.check-item-sex label input[type="radio"] {
    position: relative;
    margin-right: 0.5vw;
    top: calc(4 * var(--vw-base));
    width: calc(20* var(--vw-base));
    height: calc(20* var(--vw-base));
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0px;
    background-color: #000;
    -webkit-mask-image: url(../img/check.png);
    /* 使用 -webkit-mask-image */
    mask-image: url(../img/check.png);
    /* 正確語法 */
    -webkit-mask-repeat: no-repeat;
    /* 設置不重複 */
    mask-repeat: no-repeat;
    -webkit-mask-position: top center;
    /* 設置位置 */
    mask-position: top center;
    -webkit-mask-size: calc(20 * var(--vw-base)) calc(20* var(--vw-base));
    /* 設置大小 */
    mask-size: calc(20 * var(--vw-base)) calc(20 * var(--vw-base));
    cursor: pointer;
}

.check-item-sex label input:checked {
    mask-image: url(../img/checked.png);
    /* 正確語法 */
    -webkit-mask-repeat: no-repeat;
    /* 設置不重複 */
    mask-repeat: no-repeat;
    -webkit-mask-position: top center;
    /* 設置位置 */
    mask-position: top center;
    -webkit-mask-size: calc(20 * var(--vw-base)) calc(20 * var(--vw-base));
    /* 設置大小 */
    mask-size: calc(20 * var(--vw-base)) calc(20 * var(--vw-base));
}

.openTxtBtn {
    position: relative;
    font-family: "Noto Sans TC";
    font-weight: 400;
    font-size: calc(20 * var(--vw-base));
    line-height: calc(30 * var(--vw-base));
}

.openTxtBtn::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    left: 0px;
    bottom: 0px;
    background-color: #000;
}





/*同意書照片預覽*/
.black {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 11111;
    font-family: "Noto Sans TC";
}

.closeBtn {
    width: 30px;
    position: absolute;
    right: 5%;
    top: 4%;
    cursor: pointer;
}

.infoWrap {
    width: 100%;
    margin: 0 auto;
    max-width: 65%;
    position: relative;
    height: 100vh;
    overflow: auto;
}

.infoWrap ul {
    list-style: none;
    font-size: 1vw;
    padding-inline-start: 2vw;
}

.infoWrap ul>li>ul {
    list-style: none;
    font-size: 1vw;
    padding-inline-start: 1vw;
}

.li1::before {
    content: "一、";
    position: absolute;
    left: 0vw;
}

.li2::before {
    content: "二、";
    position: absolute;
    left: 0vw;
}

.li3::before {
    content: "三、";
    position: absolute;
    left: 0vw;
}

.li4::before {
    content: "四、";
    position: absolute;
    left: 0vw;
}

.li5::before {
    content: "五、";
    position: absolute;
    left: 0vw;
}

.li1-li::before {
    content: "（１）";
    position: absolute;
    left: 0vw;
}

.li2-li::before {
    content: "（２）";
    position: absolute;
    left: 0vw;
}

.li3-li::before {
    content: "（３）";
    position: absolute;
    left: 0vw;
}

.li4-li::before {
    content: "（４）";
    position: absolute;
    left: 0vw;
}

.infoBox {
    width: 100%;
    height: calc(100% - 18vw);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    color: #fff;
    text-align: left;
}

.infoBox h3 {
    font-size: 1.2vw;
    line-height: 180%;
    margin-bottom: 25px;
    text-align: center;
}

.infoBox h4 {
    font-size: 1vw;
    line-height: 180%;
    margin-bottom: 1vw;
}

.infoBox h5 {
    font-size: 1.2vw;
    line-height: 180%;
    margin-bottom: 1vw;
}

.infoBox p {
    font-size: 1vw;
    line-height: 180%;
}