.container{
    font-size: 20px;
}

/* 海報 */

.poster {
    width: 100%;
    aspect-ratio: 18 / 9;
    background-color: #C4E1FF;
}

.poster > .content{
    width: 60%;
    position: relative;
    top:25%;
    left: 17%;
}
.poster > .content > h1{
    font-size: clamp(1.5rem, 3.5vw, 5rem);
    letter-spacing: 12px;
}
.poster > .content > h6{
    font-size: clamp(1rem, 1.5vw, 3rem);
    margin-top:2%;
    letter-spacing: 6px;
}
.poster .fireworks{
    position: absolute; /* 或 absolute，如果是在某個父容器內 */
    top: -5%;
    left: -10%;
    width: 30vw;                /* 寬度根據畫面變化 */
    aspect-ratio: 3 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    background-image: url('../img/index/circlene.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    z-index: 0;
}
.poster .right-img{
    position: absolute; /* 或 absolute，如果是在某個父容器內 */
    top: 30%;
    right: 0;
    width: 30vw;                /* 寬度根據畫面變化 */
    aspect-ratio: 3 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    background-image: url('../img/index/block2.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    z-index: 10;
}
.poster .left-img{
    position: absolute; /* 或 absolute，如果是在某個父容器內 */
    top: 70%;
    left: 0;
    width: 20vw;                /* 寬度根據畫面變化 */
    aspect-ratio: 3 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    background-image: url('../img/index/block3.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    z-index: 10;
}


/* 提示箭頭 */

.scroll-hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #333;
    font-size: 1.2rem;
    opacity: 1;
    transition: opacity 0.6s ease;
    z-index: 999;
    pointer-events: auto;
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.arrow {
    display: block;
    font-size: 2rem;
    margin-top: 8px;
    animation: bounce 1.5s infinite;
}

.arrow::before {
    content: "↓"; /* 直線向下箭頭 */
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* 身分 */


.identity{
    position: relative;
    width: 100%;
    padding: 3% 0 7% 0;
    background-color: white;
}

.identity .content_top{
    width: 100%;
    position: relative;
    top:5%;
    text-align: center;
}
.identity h1{
    font-size: clamp(1rem, 2.5vw, 4rem);
    letter-spacing: 6px;
}
.identity  h6{
    font-size: clamp(0.8rem, 1.2vw, 3rem);
    margin-top:2%;
    letter-spacing: 3px;
}

.Identity_photo{
    padding: 0 5%;
    display: flex;
    margin-top: 5%;
}
.Identity_photo  .flexbox{
    display: flex;
    width:50%;
    margin: auto;
}

.Identity_photo  .flexbox > .box{
    width:50%;
}
.Identity_photo  .flexbox > .box > .textbox{
    position: relative;
    margin-top: 15%;
    width:90%;
    padding:2% 5% 2% 5%;
    margin-right: 10%;
    aspect-ratio: 12 / 9;
    background-color: #0E6DA6;
    color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 3px #ADADAD;
}

.Identity_photo  .flexbox > .box  > p{
    width:90%;
    position: relative;
    text-align: center;
    margin-top: 5%;
}

.Identity_photo  .box > .photo{
    text-align: center;
}
.Identity_photo  .box > .photo > img{
    cursor: pointer;
    transition: 0.3s;
}
.Identity_photo  .box > .photo > img:hover{
    transform: scale(1.05);
}

.Identity_photo  .box > .photo > .a{
    height: auto;
    width:82%;
}
.Identity_photo  .box > .photo > .new{
    height: auto;
    width:98%;
}

.Identity_photo h3{
    font-size: clamp(1.2rem, 1.8vw, 3.2rem);
    margin-top: 5%;
    text-align: center;
    letter-spacing: 3px;
    line-height: 30px;
}
.Identity_photo h6{
    line-height: 30px;
}

.identity .right-img{
    position: absolute; /* 或 absolute，如果是在某個父容器內 */
    top: 90%;
    right: 0;
    width: 30vw;                /* 寬度根據畫面變化 */
    aspect-ratio: 3 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    background-image: url('../img/index/block1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    z-index: 10;
}
.identity .content_bottom{
    width: 100%;
    position: relative;
    top:5%;
    text-align: center;
}


/* 分類 */


.marketing{
    position: relative;
    background-color: #C4E1FF;
    padding:3% 10%;
}
.marketing .left-img{
    position: absolute; /* 或 absolute，如果是在某個父容器內 */
    top: 35%;
    left: -18%;
    width: 30vw;                /* 寬度根據畫面變化 */
    aspect-ratio: 3 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    background-image: url('../img/index/circlene.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    z-index: 1;
}
.marketing .content_top{
    width: 100%;
    position: relative;
    top:5%;
    text-align: center;
    margin-bottom: 5%;
}
.marketing h1{
    font-size: clamp(1rem, 2.5vw, 4rem);
    letter-spacing: 6px;
}
.marketing  h6{
    font-size: clamp(0.8rem, 1.2vw, 3rem);
    margin-top:2%;
    letter-spacing: 3px;
}
.demand_img{
    border-radius: 100%;
    height: auto;
    width: 50%;
    box-shadow: 0px 0px 3px #ADADAD;
}
.marketing .fw-normal{
    font-size: clamp(1.2rem, 1.8vw, 3.2rem);
    margin-top:4%;
    letter-spacing: 3px;
    margin-bottom:4%;
}

.marketing .fp{
    font-size: clamp(0.7rem, 1.2vw, 3rem);
    margin-top:2%;
    letter-spacing: 3px;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.row-title{
    text-align: center;
    margin-top:1%;
    margin-bottom: 3%;
    font-size: 1.8em;
}


/* 新手指南 */

.beginner{
    position: relative;
    padding : 3% 0 3% 0;
    width: 100%;
    background-color: white;
}

.beginner > .right-img{
    position: absolute;
    top: 1%;
    right: 0;
    width: 15vw;
    aspect-ratio: 3 / 5;
    background-image: url(../img/index/doublenet_right.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    z-index: 1;
}

.beginner > .left-img{
    position: absolute;
    top: 65%;
    left: -12%;
    width: 30vw;
    aspect-ratio: 3 / 5;
    background-image: url(../img/index/doublenet.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    z-index: 2;
}

.beginner .content_top{
    width: 100%;
    position: relative;
    top:5%;
    text-align: center;
    margin-bottom: 5%;
}
.beginner h1{
    font-size: clamp(1rem, 2.5vw, 4rem);
    letter-spacing: 6px;
}
.beginner  h6{
    font-size: clamp(0.8rem, 1.2vw, 3rem);
    margin-top:2%;
    letter-spacing: 3px;
}

.beginner >  .step_one,.beginner >  .step_four{
    padding:4% 0 2% 0;
    display: flex;
}



.step_one >  .text{
    padding:5% 5% 5% 10%;
    width:50%;
}
.step_one h3,.step_two h3,.step_three h3,.step_four h3{
    font-size: clamp(1.2rem, 1.8vw, 3.2rem);
    letter-spacing: 3px;
    margin-bottom:4%;
}
.step_one >  .img,.step_four >  .img{
    position: relative;
    padding:3% 0 0 8%;
    width:50%;
}
.step_one >  .img > .img_box,.step_four >  .img > .img_box{
    position: relative;
    width:90%;
    aspect-ratio: 8 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    background-color: #0E6DA6;
    z-index: 2;
}
.step_one .step_one_number,.step_four .step_one_number{
    position:absolute;
    font-size: 4rem;
    top: -13%;
    left: 2%;
    font-family: 'Lora', serif;
}
.step_one >  .img > .img_box > img,.step_four >  .img > .img_box > img{
    position: relative;
    top:-5%;
    left: -5%;
    width:100%;
    aspect-ratio: 8 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    z-index: 2;
    object-fit: cover;
    object-position: center ; /* 水平置中，垂直靠上 */

}


.step_two_three{
    display: flex;
    padding:7% 4% 4% 4%;
}


.step_two_three > .step_two,.step_two_three > .step_three{
    position: relative;
    z-index: 2;
    padding-left: 5%;
    width: 50%;
}

.step_two_three  > .step_two{
    position: relative;
    transform: translateY(-10%);
}

.step_two_three > .step_three{
    position: relative;
    transform: translateY(10%);
}
.step_two_three > .step_two > .img,.step_two_three > .step_three > .img{
    position: relative;
    padding:0% 0 0 0%;
    width:90%;
}
.step_two >  .text,.step_three >  .text{
    margin-top:3%;
}
.step_two >  .img > .img_box,.step_three >  .img > .img_box{
    width:100%;
    aspect-ratio: 8 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    background-color: #0E6DA6;
}
.step_two .step_two_number,.step_three .step_three_number{
    position:absolute;
    font-size: 4rem;
    top: -31%;
    left: -10%;
    font-family: 'Lora', serif;
}
.step_two >  .img > .img_box > img,.step_three >  .img > .img_box > img{
    position: relative;
    width:100%;
    aspect-ratio: 8 / 5;        /* 高度自動依比例計算（這邊以4:5為例） */
    object-fit: cover;
    object-position: center ; /* 水平置中，垂直靠上 */
}


.step_four{
    flex-direction: row-reverse;
}

.step_four >  .text{
    padding:7% 5% 5% 8%;
    width:50%;
}

.step_four .step_one_number,.step_four .step_one_number{
    position:absolute;
    font-size: 4rem;
    top: -13%;
    left: 95%;
    font-family: 'Lora', serif;
}

/* 網站理念 */


.concept{
    display: flex;
    background-color: #C4E1FF;
    position: relative;
    padding : 7% 0 10% 0;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.concept > .left-img{
    position: absolute;
    top: 45%;
    left: -25%;
    width: 50vw;
    aspect-ratio: 3 / 5;
    background-image: url(../img/index/full_network.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    z-index: 1;
}
.concept > .right-img{
    position: absolute;
    top: -60%;
    right: -25%;
    width: 50vw;
    aspect-ratio: 3 / 5;
    background-image: url(../img/index/full_network.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    z-index: 1;
}
.concept > .img{
    width:50%;
}
.concept > .img > .big{
    position: relative;
    left: -25%;
    width:50%;
    aspect-ratio: 8 / 10;
    object-fit: cover;
    object-position: center ; /* 水平置中，垂直靠上 */
    z-index: 1;
}
.concept > .img > .small {
    position: relative;
    left: 59%;
    transform: translateY(50%);
    width: 40%;
    aspect-ratio: 8 / 8;
    object-fit: cover;
    object-position: center left; /* 水平置中，垂直靠上 */
    z-index: 2;
}
.concept > .text{
    text-align: center;
    padding:2% 15% 0 10%;
    width:50%;
}



.concept > .text p{
    padding: 5% 0% 0% 0%;
}

.concept h1{
    position: relative;
    writing-mode: vertical-rl; /* 垂直方向，從右到左 */
    text-orientation: upright; /* 每個字直立（尤其對中文/日文重要） */
    font-size: clamp(1.4rem, 2.5vw, 4rem);
    letter-spacing: 6px;
    z-index: 5;
}
.concept  h6{
    position: relative;
    font-size: clamp(0.8rem, 1.2vw, 3rem);
    margin-top:4%;
    letter-spacing: 3px;
    z-index: 5;
}


/* 聯繫我們 */

.contact{
    padding:5% 0 0% 0;
}
.contact .content_top{
    width: 100%;
    position: relative;
    top:5%;
    text-align: center;
    margin-bottom: 2%;
}

.contact .info {
    margin: auto;
    margin-top : 5%;
    margin-bottom: 5%;
    display: flex;
    aspect-ratio: 10/2;
    width:70%;
}

.contact .column {
    flex: 1;
    padding-top:3%;
    box-sizing: border-box;
    text-align: center;
}

.contact .column > img{
    width:25%;
    height: auto;
}

.contact .column > h5{
    padding : 8% 0 8% 0;
    font-size: clamp(0.8rem, 1.3vw, 3rem);
    font-family: 'Lora', serif;
    letter-spacing: 2px;
}

.contact .column.middle {
    position: relative;
}

.contact .column.middle::before,
.contact .column.middle::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #999;
}

.contact .column.middle::before {
    left: 0;
}

.contact .column.middle::after {
    right: 0;
}





.contact .form{
    width:30%;
    text-align: center;
    margin: auto;
}
.contact .form > textarea{
    resize: none;
    aspect-ratio: 14/5;
}
.contact .form > button{
    margin-top:5%;
}
.contact h1{
    font-size: clamp(1rem, 2.5vw, 4rem);
    letter-spacing: 6px;
}
.contact  h6{
    font-size: clamp(0.8rem, 1.2vw, 3rem);
    margin-top:2%;
    letter-spacing: 3px;
}


@media (max-width:1600px){ 

}
@media (max-width:1280px){  

}

@media (max-width:1024px){  

    .col-lg-4{
        width:50%;
    }
}

@media (max-width:768px){   
    .poster .fireworks{
        top: 5%;
    }
    .poster .right-img{
        top: 10%;
    }
    .poster .left-img{
        top: 35%;
    }
    .Identity_photo h6 {
        line-height: 20px;
    }
    .Identity_photo h3 {
        letter-spacing: 0px;
    }
    .beginner > .right-img {
        top: -7%;
    }
    .identity .right-img {
        width: 35vw;
    }
   

    .col-lg-4{
        width:50%;
    }
    
}
@media (max-width:560px){  
    .poster {
        aspect-ratio: 18 / 18;
    }

    .poster > .content {
        top: 30%;
    }

    .poster > .content > h6 {
        margin-top: 6%;
    }

    .poster .fireworks {
        top: 12%;
        width: 35vw;
    }

    .poster .right-img {
        top: 15%;
        width: 35vw;
    }

    .poster .left-img {
        top: 60%;
        width: 25vw;
    }

    .Identity_photo {
        flex-direction: column;
    }
    .Identity_photo .flexbox {
        width: 80%;
    }

    .beginner >  .step_one,.beginner >  .step_four{
        flex-direction: column-reverse;
    }
    .step_one .step_one_number, .step_four .step_one_number {
        top: -13%;
        left: -5%;
    }
    .step_one > .img, .step_four > .img {
        margin: auto;
        margin-right: 0%;
        width: 90%;
    }
    .step_one > .text {
        width: 100%;
    }
    .step_two_three {
        flex-direction: column;
    }
    .step_two_three > .step_two, .step_two_three > .step_three {
        padding-left: 5%;
        width: 90%;
    }
    .step_two_three > .step_two{
        margin-left: 5%;
    }
    .step_two_three > .step_three{
        margin-left: 10%;
    }
    .step_four > .text {
        width: 100%;
    }

    .concept {
        flex-direction: column;
    }
    .concept > .img {
        width: 90%;
    }
    .concept > .text {
        margin-top: 10%;
        width: 100%;
    }
    .concept h1 {
        writing-mode: inherit; 
    }
    .contact .info {
        width: 100%;
    }
    .contact .form {
        width: 50%;
    }
}

@media (max-width:450px){  
    .poster {
        aspect-ratio: 18 / 22;
    }

    .poster > .content {
        width: 74%;
        top: 35%;
    }

    .poster > .content > h6 {
        margin-top: 6%;
        line-height: 25px;
    }

    .poster .fireworks {
        top: 2%;
        width: 55vw;
        left: -20%;
    }

    .poster .right-img {
        top: 12%;
        width: 35vw;
    }

    .poster .left-img {
        top: 48%;
        width: 30vw;
    }

    .Identity_photo {
        flex-direction: column;
    }
    .Identity_photo .flexbox > .box > .textbox {
        width: 100%;
    }
    .Identity_photo .flexbox {
        width: 100%;
    }

    .beginner >  .step_one,.beginner >  .step_four{
        flex-direction: column-reverse;
    }
    .step_one .step_one_number, .step_four .step_one_number {
        top: -20%;
        left: -7%;
    }
    .step_one > .img, .step_four > .img {
        margin: auto;
        margin-right: 0%;
        width: 90%;
    }
    .step_one > .text {
        width: 100%;
    }
    .step_two_three {
        margin-top: 5%;
        margin-bottom: 5%;
        flex-direction: column;
    }
    .step_two_three > .step_two, .step_two_three > .step_three {
        padding-left: 5%;
        width: 90%;
    }
    .step_two_three > .step_two{
        margin-left: 8%;
    }
    .step_two_three > .step_three{
        margin-left: 13%;
    }
    .step_two .step_two_number, .step_three .step_three_number {
        top: -27%;
        left: -15%;
    }
    .step_four > .text {
        width: 100%;
    }

    .concept {
        flex-direction: column;
    }
    .concept > .img {
        width: 90%;
    }
    .concept > .text {
        margin-top: 10%;
        width: 100%;
    }
    .concept h1 {
        writing-mode: inherit; 
    }
    .contact .info {
        width: 100%;
        flex-direction: column;
    }
    .contact .form {
        width: 80%;
    }
    .contact .column > img {
        width: 15%;
    }  


}

@media (max-width:390px){  

    .poster {
        aspect-ratio: 18 / 25;
    }
    .poster > .content {
        width: 74%;
        top: 34%;
    }
    .poster .fireworks {
        top: 2%;
        width: 65vw;
        left: -20%;
    }
    .poster .right-img {
        top: 14%;
        width: 35vw;
    }
    .poster .left-img {
        top: 55%;
        width:32vw;
    }
}

@media (max-width:380px){  
    .poster .right-img {
        top: 17%;
        width: 35vw;
    }
    .poster .left-img {
        top: 65%;
        width:32vw;
    } 
    .Identity_photo .flexbox > .box > .textbox {
        width: 100%;
    }
    .step_one .step_one_number, .step_four .step_one_number {
        top: -26%;
        left: -7%;
    }
    .step_two .step_two_number, .step_three .step_three_number {
        top: -32%;
        left: -18%;
    }
}


