@charset "utf-8";


/*----------------------banner開始---------------------------*/

.banner {
    position: relative;
}

.favorite {
    position: absolute;
    cursor: pointer;
    overflow: hidden;
}

.favorite {
    top: 120px;
    left: 50px;
}

.favorite p {
    margin-bottom: 12px;
}






/*----------------------banner結束---------------------------*/


/*------------------------wishlist開始---------------------*/

.wishlist {
    margin: 0 3vw 135px 130px;
    padding-top: 170px;
    padding-right: 80px;
    background-color: #f3f3f3;
}

.wishlist_title {
    text-align: center;
    letter-spacing: 1px;
}

.wishlist_title h2 {
    font-family: 'JosefinSans-Bold';
    font-size: 3rem;
    line-height: 1.5;
    overflow: hidden;
}

.wishlist_title p {
    font-size: 1.25rem;
    overflow: hidden;
}

.wishlist_title h2 span,
.wishlist_title p span{
	display: block;
}

.select_count {
    margin-top: 30px;
    overflow: hidden;
}

.select_count p {
    text-align: center;
    font-size: .875rem;
    letter-spacing: 1px;
    padding-top: 5px;
}

.select_count p span {
    font-family: 'MyriadPro-Regular';
    font-size: 1.5rem;
    margin: 0 5px;
    font-weight: bold;
}

.hidden_p{
	display: none;
}



/*產品訊息設定開始------*/

.products {
    width: 55vw;
    max-width: 800px;
    margin: auto;
    margin-top: 130px;
}

.products ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.products ul li {
    width: 50%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
    transition: all .5s ease;
}

.products ul li:nth-child(odd) {
    padding-right: 30px;
}

.products ul li:nth-child(even) {
    padding-left: 30px;
}

.products ul li:nth-child(even):before {
	content: "";
	display: block;
	width: 1px;
	height: 0%;
	background-color: #d7d7d7;
	position: absolute;
	top: 0;
	left: 0;
}

.delete {
    width: 25px;
    height: 25px;
    background-color: #6f0064;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: scale(0);
    opacity: 0;
}

.delete div {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    position: relative;
}

.delete div span {
    display: block;
    background-color: #fff;
    position: absolute;
}

.delete div span:nth-child(1) {
    width: 100%;
    height: 1px;
    top: calc(50% - .5px);
    left: 0;
}

.delete div span:nth-child(2) {
    width: 1px;
    height: 100%;
    top: 0;
    left: calc(50% - .5px);
}

.product_text {
    width: 50%;
    padding-right: 30px;
    text-align: right;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    letter-spacing: 1px;
    overflow: hidden;
}

.product_text>div{
	transform: translateY(100%);
}

.product_text h2 {
    font-size: 1.5rem;
    font-family: 'MyriadPro-Regular';
    font-weight: bold;
    line-height: 1.5;
}

.product_text h3 {
    font-family: 'MyriadPro-Regular';
    font-size: .875rem;
    line-height: 1.5;
}

.product_text p {
    font-size: .75rem;
    line-height: 1.5;
    margin-top: 35px;
}

.product_img {
    width: 50%;
    max-width: 180px;
    max-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 0;
}

.product_img img{
	transform: translateX(101%);
}

.products ul li.disappear {
	animation: zoomOut .8s both;
}

/*產品訊息設定結束------*/

/*列印模式設定*/

 /*加入class="print"*/

 .wishlist.print{
    margin:0;
    padding-right: 0;
    padding-top: 38px;
 }

 .print .products{
    margin-top: 86px;
    width: 100%;
}

.print .products ul li:nth-child(even),
.print .products ul li:nth-child(odd) {
    width: 100%;
    padding: 20px 0;
    justify-content: center;
    border: 1px solid #d7d7d7;
    margin:0 60px 28px 60px;
    height: 182px;
}



.print .products ul li:nth-child(even):before{
    display: none;
}

.print  .product_text{
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 20px;
}

.print .product_text div{
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: relative;
    flex-direction: column;
}

.print .product_text div h2{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right:30px;
}

.print .product_img{
    max-width: 140px;
    max-height: 140px;
}



/*按鈕區設定開始---------*/

.keep_inf {
    margin-top: 80px;
    position: relative;
    border-top: 5px solid #fff;
    margin-right: -80px;
    padding: 45px 80px 100px 0;
}

.keep_inf_title {
    background-color: #f3f3f3;
    position: absolute;
    width: 360px;
    height: 30px;
    top: -15px;
    left: calc(50% - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.keep_inf_title p {
    font-size: 1.125rem;
    letter-spacing: 1px;
    font-weight: bold;
    transform: translateY(-150%);
}

.keep_inf ul {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.keep_inf ul li {
    cursor: pointer;
    margin: 0 15px;
    transform: translateY(-100%);
}

.keep_inf ul li:after {
    content: "";
    display: block;
    width: 0%;
    height: 4px;
    background-color: #6f0064;
    margin-top: 10px;
    margin-left: 50%;
    transition: all .5s ease;
}

.keep_inf ul li:hover:after {
    width: 100%;
    margin-left: 0;
    transition: all .5s ease;
}

.keep_inf ul li p {
    font-size: .875rem;
    letter-spacing: 1px;
    text-align: center;
}

.keep_inf>span {
    display: block;
    width: 50px;
    height: 90px;
    position: absolute;
    bottom: -45px;
    left: calc(50% - 65px);
    overflow: hidden;
}

.keep_inf>span:after {
    content: "";
    display: block;
    width: 1px;
    height: 90px;
    background-color: #313131;
    margin-left: calc(50% - .5px);
    transform: translateY(-100%);
}

.keep_inf>span.open:after {
	animation: allin0 .5s both;
}

.keep_inf ul.hidden_ul{
	display: none;
}

/*按鈕區設定結束---------*/


/*------------------------wishlist結束---------------------*/


/*------------------------表格設定開始------------------*/

.quotation {
	width: calc(100% - 100px);
	max-width: 1340px;
	margin: auto;
    border: 15px solid #f9f9f9;
    position: relative;
    padding-bottom: 180px;
    display: none;
}

.quotation_title {
    width: 360px;
    height: 70px;
    background-color: #fff;
    position: absolute;
    top: -50px;
    left: calc(50% - 180px);
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quotation_title h2 {
    font-size: 2.25rem;
    font-family: 'JosefinSans-Bold';
    overflow: hidden;
}

.quotation_title h2 span{
	transform: translateY(100%);
	display: block;
}

.open .quotation_title h2 span{
	animation: top_slidein .8s both .8s;
}

.quotation_title p {
    font-weight: bold;
    font-size: 1.25rem;
    margin-top: 15px;
    overflow: hidden;
}

.quotation_title  p span{
	transform: translateY(100%);
	display: block;
}

.open .quotation_title  p span{
	animation: top_slidein .8s both .8s;
}

.input_table {
    margin: auto;
    margin-top: 180px;
    max-width: 900px
}

.input_table input {
    border: none;
    display: inline-block;
    width: calc(100% - 100px);
    font-size: .875rem;
    letter-spacing: 1px;
    font-family: "微軟正黑體";
}

.input_table input::placeholder {
    font-size: .875rem;
    letter-spacing: 1px;
    font-family: "微軟正黑體";
    transition: all .5s ease;
}

.input_table input:focus::placeholder {
    transition: all .5s ease;
}

.input_table p {
    display: inline-block;
    width: 70px;
    font-family: MyriadPro-Regular, 微軟正黑體;
    font-weight: bold;
    letter-spacing: 1px;
    margin-right: 25px;
}

.input_table ul {
    display: flex;
    flex-wrap: wrap;
}

.input_table ul li {
    padding-left: 15px;
}

.input_table>ul li:nth-child(1),
.input_table>ul li:nth-child(2),
.input_table>ul li:nth-child(3),
.input_table ul li:nth-child(4) {
    width: 50%;
    height: 60px;
    border-bottom: 1px solid #cccccc;
    display: flex;
    align-items: center;
}

.input_table>ul li:nth-child(4) p {
    letter-spacing: 2.5px;
}




/*單選按鈕設定開始-------------------*/

.input_table ul li div {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.input_table ul li div input[type="radio"] {
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
}

.input_table ul li div input[type="radio"]+label {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cccccc;
    display: block;
    margin-right: 5px;
    transform: all .4s ease;
}

.input_table ul li div input[type="radio"]:checked+label {
    background-color: #6f0064;
    transition: all .4s ease;
}





.input_table ul li div p {
    font-size: .875rem;
    width:auto;
}




/*單選按鈕設定結束-------------------*/

._address,
._message,
._captcha {
    width: 100%;
}

._address {
    height: 60px;
    border-bottom: 1px solid #cccccc;
    display: flex;
    align-items: center;
}




/*留言*/

._message {
    height: 125px;
    border-bottom: 1px solid #cccccc;
    padding-top: 20px;
    display: flex;
    align-items: flex-start;
}

._message textarea {
    height: 100%;
    width: calc(100% - 100px);
    border: none;
    resize: none;
    font-family: "微軟正黑體";
    font-size: .875rem;
    letter-spacing: 1px;
    line-height: 1.5;
}

._message textarea::placeholder {
    font-family: "微軟正黑體";
    font-size: .875rem;
    letter-spacing: 1px;
}




/*驗證碼*/

._captcha {
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

._captcha input {
    width: 50%;
}

._captcha img {
    width: auto;
    height: 35px;
    position: absolute;
    right: 20px;
    top: calc(50% - 17.5px);
}





/*送出按鈕*/

.send_btn {
    width: 240px;
    height: 50px;
    position: absolute;
    left: calc(50% - 120px);
    bottom: -30px;
    display: flex;
    justify-content: space-between;
}

.send_btn button {
    width: calc(50% - 4px);
    border: none;
    font-family: 'JosefinSans-Bold';
    letter-spacing: 1px;
    font-size: 1rem;
}

.send_btn button:nth-child(1) {
    background-color: #d4d2d2;
}

.send_btn button:nth-child(2) {
    background-color: #6f0064;
    color: #fff;
}




/*------------------------表格設定結束------------------*/


/*進場動畫------------*/

.favorite div {
    transform: translateX(-100%);
    animation: left_slidein 1s both .5s;
}

.wishlist_title h2 span{
	animation:  top_slidein .8s both  .2s;
}


.wishlist_title p span{
	animation:  top_slidein .8s both .4s ;
}

.select_count p {
	animation:  top_slidein.5s both .8s ;
}


/*waypoint動畫專區*/

.products ul li:nth-child(even).show:before {
	height: 100%;
	transition: all .8s ease
}

.show .product_text>div{
	animation: allin0 .8s both .3s;
}


.show .product_img img{
	animation: allin0 .8s both .7s;
}

.show .delete {
	transform: scale(1);
	opacity: 1;
	transition: all .8s ease 1s;
}

.show .keep_inf_title p {
	animation: allin0 .8s both;
}

.keep_inf.show ul li {
	animation: allin0 .8s both .4s ;
}

/*------------------max-width: 1024px-----------------------*/

@media only screen and (max-width: 1024px) {
    main {
        margin-bottom: 14vh;
    }

    .favorite {
        display: none;
    }

    .wishlist {
        padding: 10vh 5vw 0 0;
        margin: 0 0 0 5vw;
    }

    .products {
        padding: 0 5vw;
        width: 100%;
    }

    .quotation {
    	width: calc(100% - 10vw);
    	margin: auto;
    	margin-top: 18vh;
    	margin-bottom: 8vh;
        padding: 0 5vw 12vh 5vw;
    }

    .input_table {
        margin-top: 12vh;
    }

    .keep_inf{
    	margin-right: 0;
		padding:45px 0 8vh 0;
    }

    .keep_inf_title{
    	left: calc(50% - 180px);
    }

    .keep_inf>span{
    	left: calc(50% - 25px);
    }

    .show_ul li:first-child{
        display: none;
    }
}






/*------------------max-width: 700px-----------------------*/

@media only screen and (max-width: 700px) {
    .wishlist {
        padding: 10vh 0 0 0;
        margin:  0 0 90px 0;
        background-color: transparent;
    }

    .products {
        padding: 0 10vw;
    }

    .products ul {
        flex-direction: column;
    }

    .products ul li:nth-child(even),
    .products ul li:nth-child(odd) {
        width: 100%;
        border: none;
        padding: 0 0 6vh 0;
        margin: 0 0 6vh 0;
        position: relative;
    }

    .products ul li:nth-child(even):before{
    	display: none;
    }

    .products ul li:not(:last-child):after {
        content: "";
        display: block;
        width: 0%;
        height: 1px;
        background-color: #d7d7d7;
        position: absolute;
        bottom: 0;
        left: 50%;
    }

    .keep_inf {
        margin-top: 6vh;
        border-top:5px solid #f3f3f3;
        padding:45px 0 12vh 0;
    }



    .keep_inf_title {
        width: 230px;
        left: calc(50% - 115px);
        top: -17px;
        background-color: #fff;
    }

    .quotation {
    	width: auto;
        border: none;
        margin: 18vh 5vw 16vh 5vw;
        padding: 8vh 5vw 10vh 5vw;
    }

    .input_table {
        margin-top: 6vh;
    }

    .input_table ul li {
        padding-left: 0;
    }

    .input_table>ul li:nth-child(1),
    .input_table>ul li:nth-child(2),
    .input_table>ul li:nth-child(3),
    .input_table>ul li:nth-child(4) {
        width: 100%;
    }

	._message{
		flex-direction: column;
	}

	._message textarea{
		width: 100%;
		margin-top: 2vh;
	}

    ._captcha img {
        right: 0;
    }

    .send_btn {
        width: 200px;
        height: 40px;
        left: calc(50% - 100px);
    }

    .send_btn button {
        font-size: .875rem;
    }

    .products ul li:not(:last-child).show:after {
		width: 100%;
		left: 0;
		transition: all .8s ease;
    }
}


/*------------------max-width: 700px-----------------------*/

@media only screen and (max-width: 350px) {
.keep_inf ul li p{
	font-size: .75rem;
}

._captcha p{
	margin-right: 5px;
}
}