@charset "utf-8";
nav #n4 .h3font{
    color: #29AAE2;
}


/* case */
#content.case #inside_title h2 {
    margin-bottom: 30px;
}
#case-filter {
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    list-style-type: none;
    z-index: 2;
    position: relative;
}
#case-filter > li {
    width: 7em;
    /* display: inline-block; */
}
#case-filter label::after {
    content: " \f078";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}
#case-filter ul {
    list-style-type: none;
    color: #888;
    display: none;
    line-height: 1.2;
    position: absolute;
    width: 7em;
    background-color: #fffc;
    padding-bottom: 10px;
}
#case-filter ul li {
    cursor: pointer;
    margin: 5px 0;
}
#case-filter .open label::after {
    content: " \f077";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}
#case-filter .open ul {
    display: block;
}
#case-filter label:hover
#case-filter ul li:hover {
    color: #000;
}
#case-filter li.active {
    color: #ff5400;
}
#formq select {
    height: 1.5rem;
}
#formq button {
    height: 1.5rem;
    margin-left: 10px;
    border: none;
    color: #fff;
    cursor: pointer;
    background-color: #666;
}
#formq button:hover {
    background-color: #000;
    color: gold;
}
/* case thumbs */
/*
.figureBox figure {
    animation: shrink-in 0.6s ease forwards;
}
.figureBox figure.shrink-out {
    /* animation: shrink-out 0.6s ease forwards;
}
*/
section.photo2,
section.photo3{
    padding: 50px 0;
    background-color: rgba(241, 212, 209, 0.05);
}
section.photo2 .figureBox,
section.photo3 .figureBox{
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
section.photo2 figure .mask,
section.photo3 figure .mask{
    overflow: hidden;
    border-radius: 10px;
}
section.photo2 figure .mask{
    height: 10vw;
}
section.photo3 figure .mask{
    height: 450px;
}
section.photo2 .figureBox figure .photo,
section.photo3 .figureBox figure .photo{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
}
section.photo2 .figureBox figure .photo:hover,
section.photo3 .figureBox figure .photo:hover{
    transform: scale(1.2);
}
section.photo2 .figureBox figure h2,
section.photo3 .figureBox figure h2{
    color: #353538;
    padding-top: 30px;
}
@media (min-width:1025px) {
    #content.case {
        width: initial;
        max-width: 1440px;
    }
}
@media (min-width:1441px) {
    section.photo2 figure > * {
        width: 100%;
    }
    section.photo3 figure > * {
        width: 450px;
    }
}
@media (min-width:1025px) AND (max-width:1440px) {
    #content.case {
        width: 1000px;
    }
    section.photo2 figure > * {
        width: 100%;
    }
    section.photo2 figure .mask {
        height: 9.8vw;
    }
    section.photo3 figure > * {
        width: 300px;
    }
    section.photo3 figure .mask{
        height: 300px;
    }
}
@media (min-width:1025px) {
    section.photo2 .figureBox figure,
    section.photo3 .figureBox figure {
        padding: 10px 10px 30px 10px;
    }
    section.photo2 .figureBox figure {
        width: 50%;
        box-sizing: border-box;
    }
    section.photo3 .figureBox figure {
        flex: 1 1 300px;
    }
    section.photo2 figure > *,
    section.photo3 figure > * {
        margin: 0 auto;
    }
}
@media (max-width:1024px) {
    section.photo2 .figureBox figure,
    section.photo3 .figureBox figure{
        width: 46%;
        margin: 2%;
    }
    section.photo2 figure .mask {
        height: 12vw;
    }
    section.photo3 figure .mask {
        height: 46vw;
    }
    section.photo2 .figureBox figure h2,
    section.photo3 .figureBox figure h2 {
        padding-top: 20px;
    }
}
@media (max-width: 480px) {
    section.photo2 .figureBox figure,
    section.photo3 .figureBox figure{
        width: 96%;
        margin: 2%;
        float: none;
    }
    section.photo2 figure .mask {
        height: 24.2vw;
    }
    section.photo3 figure .mask {
        height: 96vw;
    }
    section.photo2 .figureBox figure h2,
    section.photo3 .figureBox figure h2 {
        box-sizing: border-box;
        overflow-y: auto;
        padding-top: 0;
        margin-top: 10px;
    }
    section.photo2 .figureBox figure h2 {
        height: 50px;
    }
    section.photo3 .figureBox figure h2 {
        height: 96px;
    }
}


/* custom */
#content.custom article > h3 {
    padding: 16px;
    color: #b35f35;
    font-size: larger;
    font-weight: bold;
}
#content.custom article > h3 > span,
#content.custom article > h3 > i {
    color: #e8946c;
}
#content.custom article > section {
    padding: 0 16px 16px;
}

#custom-lg article {
    border-radius: 10px;
    border: 2px solid #b35f35;
    box-shadow: 3px 5px 7px rgba(0,0,0,.5);
}

#custom-xs article + article {
    border-top: 1px solid #c97146;
    margin-top: 10px;
    padding-top: 10px;
}
#custom-xs article > h3 {
    display: flex;
    cursor: pointer;
    flex-wrap: wrap;
    align-items: center;
    transition:  background-color .2s;
}
#custom-xs article > h3 > i {
    margin-left: auto;
    width: 1.2em;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
#custom-xs article > h3 > figure {
    margin-top: 10px;
    width: 100%;
}
#custom-xs article > section {
    display: none;
}

@media (max-width: 1399px) {
    #content.custom {
        width: 90%;
    }
}

@media (min-width: 992px) {
    #custom-xs {
        display: none;
    }
}
@media (max-width: 991px) {
    #custom-lg {
        display: none;
    }
}


/* faq */
#content.faq article + article {
    border-top: 1px solid #c97146;
    margin-top: 10px;
    padding-top: 10px;
}
#content.faq article > h3 {
    padding: 16px;
    color: #b35f35;
    font-size: larger;
    display: flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    transition:  background-color .2s;
}
#content.faq article > h3 > span,
#content.faq article > h3 > i {
    color: #e8946c;
    font-size: larger;
    margin-right: 10px;
}
#content.faq article > h3 > i {
    margin-left: auto;
    width: 1.2em;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}
#content.faq article.open > h3 > i {
    transform: rotate(90deg);
}
#content.faq article > section {
    display: none;
    padding: 0 16px 16px;
}
@media (min-width: 576px) {
    #content.faq article > h3:hover {
        background-color: #ffc;
    }
}



/* contact */
#information_box {
    max-width: 800px;
    margin: 0 auto;
}
#information_box .row .information{
    margin: 0 30px 30px 30px;
}
.information > i.fa,
.information > i.fab {
    font-size: 24px;
    float: left;
    width: 24px;
    margin-right: 10px;
}
#information_box .information img {
    width: 30px;
    height: auto;
    float: left;
}
#information_box .information img + h4 {
    float: left;
    margin-left: 15px;
}
#information_box .row .information h4,
#information_box .row .information p {
    text-align: left;
}
#place{
    margin: 6% auto;
}
#map{
    width: 100%;
    height: 500px;
}
@media (max-width: 1024px) {
    .information h4 span {
        display: block;
    }
    #place{
        margin: 5% auto;
    }
    #map{
        display: block;
        width: 100%;
        float: none;
    }
    #place .information{
        width: 100%;
        height:auto;
        float: none;
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    #cart-box > a {
        width: 100%;
    }
}
@media (max-width: 480px) {
    #place {
        margin: 10% auto;
    }
}



/* --- news list --- */
    .area {
        border: 1px solid #717070;
        border-radius: 3px;
        text-align: justify;
        margin-bottom: 30px;
        background-color: #ffffff9e;
    }
    .area:last-child {
        margin-bottom: 0;
    }
    .news_btn{
        padding: 20px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        display: block;
    }
/*active效果*/
    .news_btn:hover{
        background-color: rgba(158, 158, 158, 0.15);
    }
    .news_btn:hover .date{
        color: #886;
    }
    .news_btn:hover .title{
        color: #663;
    }
    .news_btn:hover .date:after{
        transform: rotate(45deg);
        color: #663;
    }
/*標題日期*/
    .news_btn .date{
        position: relative;
        font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif;
        color: #112f11;
        margin-bottom: 10px;
        letter-spacing: 5px;
        transition: color 0.3s ease;
    }
    .news_btn .date:after {
        position: absolute;
        content: '◆';
        color: #DA8E68;
        right: 0;
        top: 0;
        font-size: 40px;
        transition: color 0.3s ease , transform 0.3s ease;
    }
/*標題*/
    .news_btn .title{
        width: 90%;
        color: #0c100c;
        transition: color 0.3s ease;
    }
/*標題細節*/
    .area .detail{
        display: none;
        padding: 20px;
    }

    div.pager {
        display: none;
    }

    .animated2{
    	animation-duration: 1s;
    	animation-fill-mode: both;
    }

    /*flipInX*/
    .flipInX {
    	backface-visibility: visible !important;
    	animation-name: flipInX;
    }
    @keyframes flipInX {
    	from {
    		transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    		animation-timing-function: ease-in;
    		opacity: 0;

        }
    	40% {
    		transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    		animation-timing-function: ease-in;

        }
    	60% {
    		transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    		opacity: 1;

        }
    	80% {
    		transform: perspective(400px) rotate3d(1, 0, 0, -5deg);

        }
    	to {
    		transform: perspective(400px);
    		opacity: 1;

        }
    }

    /*---btn---*/
    .btn{
    	position: relative;
    	width: 70px;
    	height: 35px;
    	margin: 0 auto;
    	background-color: #9e9e9e;
    	overflow: hidden;
    }
    .btn a{
    	display: block;
    	width: 100%;
    	height: 100%;
    }
    .btn h5{
    	width: 100%;
    	height: 100%;
    	color: #fff;
    	line-height: 35px;
    	transform: translateY(0);
    	transition: all 0.05s ease;
        text-align: center;
    }
    .btn h5.mask{
    	width: 100%;
    	height: 100%;
    	color: #ffe72e;
    	transform: translateY(0);
    	transition: transform 0.1s ease;
    }
    .btn:hover h5{
    	transform: translateY(-35px);
    }
    .btn:hover h5.mask{
    	transform: translateY(-35px);
    }


/*熒幕尺寸【小於】769時頁面顯示---平板*/
@media (max-width:768px) {
    .news_btn{
        padding: 10px;
    }
    .news_btn .date:after {
        font-size: 25px;
    }
}

/* 動畫：縮小 + 淡出，效果不好未使用 */
@keyframes shrink-out {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}
@keyframes shrink-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}



