/*--------------copyright by vicky start-------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1.5;
    letter-spacing: 2px;
    font-size: 10px;
    font-family: 'Aboreto', 'Charmonman', 'Cormorant Garamond', 'Noto Serif TC';
    overflow-x: hidden;
    background: url(../../images/pattern.jpg) top left;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

a {
    display: block;
    color: #303030;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #303030;
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(204, 204, 204, 1);
}
.clear{
	clear: both;
}
/************************************************************************************************************************************************
************************************************************************************************************************************************
************************************************************************************************************************************************/

header {
    position: relative;
    width: 100%;
    z-index: 0;
}

header.index:before {
    content: '';
    background: url(../../images/dex_deco01.png) top right no-repeat;
    background-size: 100%;
    width: 316px;
    max-width: 100%;
    min-height: 573px;
    position: absolute;
    top: 0;
    right: 0;
}

header.index:after {
    content: '';
    background: url(../../images/dex_deco02.png) bottom left no-repeat;
    background-size: 100%;
    width: 436px;
    max-width: 100%;
    min-height: 546px;
    position: absolute;
    bottom: -29rem;
    left: 0;
    z-index: -1;
}

header.index hr {
    background: #76404d;
    width: 1368px;
    max-width: 100%;
    height: 1px;
    margin: 0 auto;
}

header.inner:before {
    content: '';
    background: url(../../images/inner_deco01.png) bottom left no-repeat;
    background-size: 100%;
    width: 566px;
    max-width: 100%;
    min-height: 681px;
    position: absolute;
    bottom: -49rem;
    left: 0;
}

header.inner:after {
    content: '';
    background: url(../../images/inner_deco02.png) bottom right no-repeat;
    background-size: 100%;
    width: 486px;
    max-width: 100%;
    min-height: 655px;
    position: absolute;
    bottom: -53.5rem;
    right: 0;
    z-index: -1;
}

@media screen and (max-width: 1200px) {
    header.inner:before {
        max-width: 50%;
        bottom: -49rem;
    }

    header.inner:after {
        max-width: 50%;
        bottom: -53rem;
    }
}

@media(max-width:1100px) {
    header.inner:before {
        max-width: 40%;
        bottom: -38rem;
        min-height: 494px;
    }

    header.inner:after {
        max-width: 40%;
        bottom: -48rem;
        min-height: 485px;
    }
}

@media screen and (max-width: 991px) {
    header.inner:before {
        max-width: 40%;
        bottom: -27rem;
        min-height: 381px;
    }

    header.inner:after {
        max-width: 40%;
        bottom: -34rem;
        min-height: 475px;
    }
}

@media(max-width:768px) {
    header.index:before {
        max-width: 30%;
        min-height: 423px;
    }

    header.index:after {
        bottom: -6rem;
        max-width: 30%;
        min-height: 235px;
    }

    header.inner:before {
        max-width: 30%;
        min-height: 354px;
        bottom: -20rem;
    }

    header.inner:after {
        max-width: 30%;
        min-height: 312px;
        bottom: -25rem;
    }


}

@media(max-width:576px) {
    header.index:after {
        bottom: 0rem;
    }

    header.inner:before {
        min-height: 200px;
        bottom: -15rem;
    }

    header.inner:after {
        min-height: 239px;
        bottom: -18rem;
    }
}

@media (max-width:450px) {   
    header.index:after {
        bottom: 3rem;
        min-height: 155px;
    }

    header.inner:before {
        min-height: 169px;
        bottom: -12rem;
    }

    header.inner:after {
        min-height: 184px;
        bottom: -15rem;
    }
}

@media(max-width:390px) {
    header.inner:before {
        min-height: 120px;
        bottom: -10.5rem;
    }

    header.inner:after {
        bottom: -13rem;
        min-height: 145px;
    }

}

@media(max-width:360px) {
    header.index:after {
        bottom: 5rem;
        min-height: 125px;
    }

    header.inner:before {
        bottom: -10rem;
    }

    header.inner:after {
        bottom: -12rem;
    }

}

@media (max-width: 330px) {
    header.index:after {
        bottom: 4rem;
    }
}

/*********************************************************************************************************************************************/
#myCarousel {
    width: 1248px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 12rem;
    position: relative;
}

/*carousel-fade*/
.carousel-fade .carousel-inner .item {
    transition-property: opacity;
}

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    transform: translate3d(0, 0, 0);
}

.carousel-fade .carousel-control {
    z-index: 2;
}

.carousel-inner>.item>img {
    display: inline-block;
}

.carousel-inner {
    background: url(../../images/pattern.jpg) top left;
}

/***dex***/
.dex {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
}

.dex .item {
    height: 680px;
}

.dex .item:nth-of-type(1) {
    background: url(../../flash/dex1.jpg) top center no-repeat;
    background-size: cover;
}

.dex .item:nth-of-type(2) {
    background: url(../../flash/dex2.jpg) top center no-repeat;
    background-size: cover;
}

.dex_font {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/***scroll***/
.scroll {
    z-index: 3;
    padding: 1.7rem 0 3rem;
    text-align: center;
}

.scroll img {
    display: block;
    margin: 0 auto;
}

.scroll sup {
    font-size: 12px;
    color: #1a1a1a;
    letter-spacing: 1px;
    padding: 2rem 0 1rem;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
}

.scroll img:nth-of-type(2) {
    animation: down 1s infinite alternate cubic-bezier(0.5, 1, 0.89, 1);
}

@keyframes down {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(15px);
    }
}

@media(max-width:768px) {
    .dex .item {
        height: 550px;
    }
}

@media (max-width:450px) {
    .dex_font {
        width: 70%;
    }    
}
@media(max-width:414px){
.dex .item {
    height: 400px;
}
}
@media(max-width:390px){
    .dex .item {
    height: 450px;
}
}
@media(max-width:360px){
    .dex .item {
    height: 570px;
}
}
/************************/
/****head001 start****/
nav {
    z-index: 90;
    position: relative;
}

/*mibutton*/
.mibutton {
    position: fixed;
    top: 2em;
    right: 2em;
    z-index: 50;
    cursor: pointer;
    width: 40px;
    height: 30px;
    text-align: left;
    display: none;
}

.mibutton span {
    display: block;
    text-align: center;
    width: 100%;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    transition: .3s ease all;
}

.mibutton span:nth-child(2) {
    top: 10px;
}

.mibutton span:nth-child(3) {
    top: 20px;
}

.mibutton_ani span {
    opacity: 1;
    background: #000;
    top: -2px;
}

.mibutton_ani span:nth-child(1) {
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
}

.mibutton_ani span:nth-child(2) {
    opacity: 0;
}

.mibutton_ani span:nth-child(3) {
    -webkit-transform: rotate(-35deg);
    transform: rotate(-35deg);
    -webkit-transform-origin: center left;
    transform-origin: center left;
}

/*logo*/
.logo {
    display: inline-block;
    vertical-align: middle;
    margin-top: -.9rem;
}

.logo a {
    display: inline-block;
    transition: .3s ease all;
}

.logo a:hover {
    opacity: .7;
}

.moblogo {
    display: none;
}

/*navbar*/
.navbar {
    position: fixed;
    background: #fff;
    padding: 2rem 0;
    text-align: left;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    margin: 0;
    transform: translateY(-140%);
    pointer-events: none;
    z-index: 30;
    pointer-events: auto;
    background: url(../../images/menubg.jpg);
    transition: .5s ease-in;
    text-align: center;

}

.navtop,
.intop {
    transform: translateY(0);
    -webkit-filter: drop-shadow(12px 4px 7px rgba(49, 38, 32, 0.35));
    filter: drop-shadow(12px 4px 7px rgba(49, 38, 32, 0.35));
}

.navbar:after {
    content: '';
    background: url(../../images/menudeco.png) bottom center no-repeat;
    width: 234px;
    max-width: 100%;
    height: 50px;
    position: absolute;
    bottom: -4.9rem;
    left: 50%;
    transform: translateX(-50%);
}


/*ibutton*/
.ibutton {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.ibutton ul {}

.ibutton li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 4.25rem;
    letter-spacing: 3px;
    text-align: center;
    position: relative;
}



.ibutton a {
    position: relative;
    overflow: hidden;
    transition: .2s ease all;
    letter-spacing: 1px;
    color: #985766;
}

p.en {
    font-size: 15px;
    font-family: 'Cormorant Garamond';
    margin-top: .5rem;
}

p.ch {
    font-size: 20px;
    font-family: 'Noto Serif TC';
    padding: 0 1rem 0.8rem;
    position: relative;
    font-weight: 600;
}

p.ch:after {
    content: '';
    background: #9d6f79;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.ibutton a:hover {
    color: #000;
}

.ibutton a:hover p.ch:after {
    background: #000;
}

@media screen and (max-width: 1440px) {
    .ibutton li {
        padding: 0 3.25rem;
        position: relative;
    }
}

@media screen and (max-width: 1280px) {
    .ibutton li {
        padding: 0 2rem;
    }
}

@media screen and (max-width: 1110px) {
    .ibutton li {
        padding: 0 1rem;
    }
}

@media (max-width:1024px) {
    .logo {
        width: 25%;
    }

    .ibutton {
        width: 70%;
    }
}

@media (max-width:1080px) {
    #myCarousel {
        padding-top: 10rem;
    }

    .moblogo {
        width: 100%;
        text-align: left;
        padding: 1rem 2rem;
        display: block;
    }

    .moblogo a {
        display: inline-block;
        width: 200px;
    }

    .mibutton {
        display: block;
        top: 1.5em;
    }


    .ibutton li:nth-child(4) {
        display: none;
    }

    .ibutton {
        width: 100%;
        text-align: center;
        display: none;
        padding-bottom: 1em;
    }

    .ibutton li {
        display: block;
        width: 100%;
        padding: 0;
    }

    .ibutton li a {
        padding: 1em;
        transition: .2s ease all;
        height: auto;
    }

    .ibutton li a:hover {
        background: #4c4c4c;
    }

    p.ch:after {
        width: 12%;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar {
        padding: 0;
        position: fixed;
        opacity: 1;
        pointer-events: auto;
        background: url(../../images/menubg.jpg);
        transform: translateY(0);
        -webkit-filter: drop-shadow(12px 4px 7px rgba(49, 38, 32, 0.35));
        filter: drop-shadow(12px 4px 7px rgba(49, 38, 32, 0.35));
    }

    .navbar:after {
        display: none;
    }
}

@media (max-width:990px) {
    header hr {
        margin-top: 2rem;
    }
}

@media (max-width:768px) {
    .navbar {
        border-radius: 0;
    }
}

@media (max-width:600px) {
    #myCarousel {
        padding-top: 8rem;
    }

    .moblogo a {
        width: 130px;
    }

    .mibutton {
        top: 1.3em;
    }
}

@media (max-width:500px) {
    .mibutton {
        right: 1em;
    }

    .ibutton a {
        font-size: 16px;
    }

}

@media (max-width:450px) {
    .ibutton ul {
        overflow-y: scroll;
    }
    p.ch:after {
        width: 30%;
    }
}
@media (max-width:360px){

}
@media (max-width:350px) {
    .mibutton {
        top: 1em;
    }

    p.ch:after {
        width: 40%;
    }
}

/****head001 end****/
/***********************/

/*****************************/
/***main***/
main {
    position: relative;
    padding: 9.9rem 0 27rem;
}

main:before {
    content: '';
    background: url(../../images/main_deco.png) bottom left no-repeat;
    background-size: auto;
    width: 457px;
    max-width: 100%;
    min-height: 274px;
    position: absolute;
    bottom: 0;
    left: 0;
}

main:after {
    content: '';
    background: url(../../images/main_deco.png) bottom left no-repeat;
    background-size: auto;
    width: 457px;
    max-width: 100%;
    min-height: 274px;
    position: absolute;
    bottom: 0;
    right: 0;
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

@media (max-width:768px) {
    main {
        padding: 9.9rem 0 20rem;
    }

    main:before,
    main:after {
        max-width: 30%;
        min-height: 172px;
        background-size: 100%;
    }
}

@media (max-width:450px) {
    main {
        padding: 9.9rem 0 14rem;
    }

    main:before,
    main:after {
        min-height: 110px;
    }
}

/*****************************/
/***title***/
.title {
    position: relative;
    width: 402px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.title:after {
    content: '';
    background: url(../../images/title_deco01.png) top center no-repeat;
    width: 358px;
    max-width: 100%;
    min-height: 47px;
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
}

.title h2 {
    font-size: 26px;
    color: #713946;
    font-family: 'Noto Serif TC';
    display: inline-block;
    margin-right: 3.9rem;
    font-weight: bold;
}

.title h3 {
    font-size: 24px;
    color: #713946;
    font-family: 'Charmonman';
    display: inline-block;
    font-weight: bold;
}

@media screen and (max-width: 390px) {
    .title {
        max-width: 70%;
    }

    .title h2 {
        margin-right: 1.8rem;
        font-size: 22px;
    }

    .title h3 {
        font-size: 20px;
    }

    .title:after {
        background-size: 100%;
        bottom: -5rem;
    }
}

@media screen and (max-width: 340px) {
    .title h2 {
        margin-right: 0;
        font-size: 20px;
    }
}

/*****************************/
/***c011***/
.c011 {
    width: 1036px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.c011_inner {
    margin-top: 5rem;
}

.c011_inner ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.c011_inner ul li {
    width: 32.334%;
    display: inline-block;
    margin-top: 4.3rem;
    padding: 0.5rem;
}

.c011_inner h4 {
    font-size: 22px;
    color: #703845;
    font-family: 'Noto Serif TC';
    font-weight: bold;
    padding-top: 2.4rem;
}

.c011_inner ul li:hover {
    opacity: .8;
}

.note_more {
    -webkit-transition: .2s;
    transition: .2s;
    margin-top: 9.8rem;
}

.note_more .inner {
    position: relative;
    line-height: 1;
    padding: 3rem;
    color: #fff !important;
    width: 310px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    -webkit-transition: .2s;
    transition: .2s;
    overflow: hidden;
    overflow: hidden;
    background: #703845;
}

.note_more .inner:hover {
    color: #703845 !important;
    opacity: 1 !important;
}

.note_more .inner::before {
    content: "";
    width: 100%;
    height: 100%;
    background: #c0a6aa;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: .35s;
    transition: .35s;
}

.note_more .inner:hover::before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.note_more .txt {
    position: relative;
    z-index: 1;
    font-size: 20px;
}

.note_more .txt i,
.note_more .txt h5 {
    font-size: 20px;
    display: inline-block;

}

.next a {
    position: relative;
    display: inline-block;
    line-height: 0;
    text-align: center;
}

.next a:hover {
    text-decoration: none;
}

.next a::after {
    content: "";
    display: block;
    width: 21px;
    height: 7px;
    position: absolute;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    bottom: 50%;
    right: 24px;
    -webkit-transition: right .35s;
    transition: right .35s;
}

.next a:hover::after {
    right: -12px;
}

@media screen and (max-width: 768px) {
    .c011_inner ul {
        justify-content: space-between;
    }

    .c011_inner ul li {
        width: 49%;
        padding: 1rem;
    }
}

@media screen and (max-width: 450px) {
    .c011_inner h4 {
        font-size: 20px;
    }

    .note_more .inner {
        max-width: 70%;
        padding: 2rem;
    }
}

@media screen and (max-width: 400px) {
    .c011_inner ul li {
        margin-top: 2rem;
    }

    .c011_inner h4 {
        padding-top: 1.4rem;
    }
}

/*****************************/
/***F_item04**/
.F_item04 {
    position: relative;
    padding-bottom: 12rem;
}

.F_item04:before {
    content: '';
    background: url(../../images/F_item04_deco01.png) top left no-repeat;
    background-size: 100%;
    width: 444px;
    max-width: 100%;
    min-height: 897px;
    position: absolute;
    left: 0;
    bottom: -13%;
    z-index: -1;
}

.F_item04_inner {
    width: 1390px;
    max-width: 100%;
    margin: 9.7rem 0 0 33.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.F_item04_inner .F_item04_txt {
    width: 370px;
    max-width: 100%;
}

.F_item04_inner .F_item04_txt h3 {
    font-size: 30px;
    color: #b1aecb;
    font-family: 'Charmonman';
    margin: 1.7rem 0 5.3rem;
}

.F_item04_inner .F_item04_txt h2 {
    font-size: 18px;
    color: #713946;
    font-family: 'Noto Serif TC';
    line-height: 2;
    font-weight: 500;
}

.F_item04_inner .F_item04_img {
    display: flex;
    width: 64%;
    -webkit-filter: drop-shadow(4px 6px 8px rgba(63, 73, 77, 0.35));
    filter: drop-shadow(4px 6px 8px rgba(63, 73, 77, 0.35));
}

.F_item04_inner .F_item04_img img {
    display: inline-block;
}

.F_item04_inner .F_item04_img img:nth-child(1) {
    position: relative;
    top: 26.2rem;
    padding-right: 3.9rem;
}

.F_item04_more {
    -webkit-transition: .2s;
    transition: .2s;
    margin-top: 6rem;
}

.F_item04_more .inner {
    position: relative;
    line-height: 1;
    padding: 2rem;
    color: #fff !important;
    width: 239px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    -webkit-transition: .2s;
    transition: .2s;
    overflow: hidden;
    overflow: hidden;
    background: #703845;
}

.F_item04_more .inner:hover {
    color: #703845 !important;
    opacity: 1 !important;
}

.F_item04_more .inner::before {
    content: "";
    width: 100%;
    height: 100%;
    background: #c0a6aa;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: .35s;
    transition: .35s;
}

.F_item04_more .inner:hover::before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.F_item04_more .txt {
    position: relative;
    z-index: 1;
    font-size: 20px;
}

.F_item04_more .txt h5 {
    font-size: 20px;
    display: inline-block;
    padding-right: 1.7rem;
}

.next a {
    position: relative;
    display: inline-block;
    line-height: 0;
    text-align: center;
}

.next a:hover {
    text-decoration: none;
}

.next a::after {
    content: "";
    display: block;
    width: 21px;
    height: 7px;
    position: absolute;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    bottom: 50%;
    right: 24px;
    -webkit-transition: right .35s;
    transition: right .35s;
}

.next a:hover::after {
    right: -12px;
}

@media screen and (max-width: 1730px) {
    .F_item04_inner {
        margin: 9.7rem 0 0 23.5rem;
    }
}

@media screen and (max-width: 1630px) {
    .F_item04_inner {
        margin: 9.7rem auto 0;
    }

    .F_item04:before {
        background-size: 70%;
        max-width: 20%;
        bottom: 18%;
        min-height: 438px;
    }
}

@media screen and (max-width: 1400px) {
    .F_item04 {
        padding: 0 2rem 12rem;
    }

    .F_item04:before {
        bottom: -1%;
        min-height: 375px;
    }

    .F_item04_inner {
        justify-content: space-around;
    }
}

@media screen and (max-width: 1300px) {
    .F_item04_inner .F_item04_txt {
        padding-right: 2rem;
    }

    .F_item04_inner .F_item04_img {
        width: 73%;
    }
}

@media screen and (max-width: 1220px) {
    .F_item04:before {
        bottom: 47%;
        min-height: 596px;
        max-width: 60%;
    }

    .F_item04_inner {
        flex-wrap: wrap;
        margin: 17.7rem auto 0;
        flex-direction: column;
    }

    .F_item04_inner .F_item04_txt {
        padding-right: 0;
        margin-bottom: 5rem;
    }

    .F_item04_inner .F_item04_img {
        width: 100%;
        justify-content: center;
        padding: 0 2rem;
    }
}

@media screen and (max-width: 850px) {
    .F_item04_inner .F_item04_img {
        width: 50%;
    }

    .F_item04_inner .F_item04_img img:nth-child(1) {
        top: 14.2rem;
    }
}

@media screen and (max-width: 768px) {
    .F_item04:before {
        bottom: 46%;
        max-width: 40%;
        min-height: 491px;
    }

    .F_item04_inner .F_item04_img {
        padding: 0;
    }
}

@media(max-width:576px) {
    .F_item04 {
        padding: 0px 2rem 0rem;
    }

    .F_item04:before {
        bottom: auto;
        max-width: 30%;
        min-height: 235px;
        top: 15%;
    }

    .F_item04_inner .F_item04_img {
        width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
    }

    .F_item04_inner .F_item04_img img:nth-child(1) {
        top: 0.2rem;
        padding-right: 0;
        padding-bottom: 4rem;
    }
}

@media screen and (max-width: 450px) {

    .F_item04_inner {
        margin: 8.7rem auto 0;
    }

    .F_item04:before {
        max-width: 20%;
        top: 20%;
    }
}

@media screen and (max-width: 390px) {
    .F_item04:before {
        top: 22%;
    }

    .F_item04_inner .F_item04_txt h3 {
        font-size: 25px;
    }
}

@media(max-width:350px) {
    .F_item04_inner .F_item04_txt h2 {
        font-size: 16px;
        color: #713946;
    }
}

@media screen and (max-width: 330px) {
    .F_item04_inner .F_item04_txt h3 {
        font-size: 23px;
    }
}

/*****************************/
/***A009**/
.A009 {}

.A009 .A009_inner {
    width: 1670px;
    max-width: 100%;
    margin: 0 auto;
    padding: 12rem 0 11rem;
    position: relative;
}

.A009 .A009_inner:before {
    content: '';
    background: url(../../images/A009_txt01.png) top left no-repeat;
    background-size: 100%;
    width: 467px;
    max-width: 100%;
    min-height: 108px;
    position: absolute;
    left: 0;
    top: 10rem;
    opacity: .8;
}

.A009 .A009_inner:after {
    content: '';
    background: url(../../images/A009_txt02.png) top left no-repeat;
    background-size: 100%;
    width: 351px;
    max-width: 100%;
    min-height: 163px;
    position: absolute;
    right: 0;
    bottom: 20rem;
    opacity: .8;
}

.A009 .A009_inner ul {}

.A009 .A009_inner ul li {
    width: 24.5%;
    padding: 7rem 1.6rem 0;
    display: inline-block;
}

.A009 .A009_inner h2 {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 24px;
    color: #703845;
    font-family: 'Noto Serif TC';
    font-weight: bold;
}

@media(max-width:1260px) {
    .A009 .A009_inner:before {
        max-width: 25%;
        left: 1rem;
        top: 13rem;
    }

    .A009 .A009_inner:after {
        max-width: 20%;
        right: 5rem;
        bottom: 17rem;
    }
}

@media screen and (max-width: 991px) {
    .A009 .A009_inner {
        padding: 4rem 0 11rem;
    }

    .A009 .A009_inner:before {
        top: 7rem;
    }

    .A009 .A009_inner:after {
        right: 2rem;
        bottom: 12rem;
    }

    .A009 .A009_inner ul li {
        padding: 7rem 1rem 0;
    }
}

@media screen and (max-width: 768px) {
    .A009 .A009_inner ul li {
        width: 32.33%;
    }
}

@media screen and (max-width: 576px) {
    .A009 .A009_inner:before {
        top: 8rem;
    }

    .A009 .A009_inner:after {
        right: 4rem;
        bottom: 8rem;
    }
}

@media screen and (max-width: 450px) {
    .A009 .A009_inner {
        padding: 4rem 2rem 11rem;
    }

    .A009 .A009_inner:before {
        top: 7rem;
        left: 2rem;
    }

    .A009 .A009_inner:after {
        right: 5rem;
        bottom: 6rem;
    }

    .A009 .A009_inner ul li {
        width: 49%;
        padding: 5rem 0.5rem 0;
    }

    .A009 .A009_inner h2 {
        margin-top: 1.5rem;
        font-size: 20px;
    }
}

/*****************************/
/***works**/
.works {
    margin-top: 2.3rem;
}

/*****************************/
/***inews start***/
.inews {
    text-align: center;
}

.inews_list {
    width: 1248px;
    margin: 0 auto;
    max-width: 100%;
    min-height: 300px;
    padding-top: 13.6rem;
}

.inews_list a {
    color: #fff;
}

.inews_more {
    -webkit-transition: .2s;
    transition: .2s;
    margin-top: 6rem;
}

.inews_more .inner {
    position: relative;
    line-height: 1;
    padding: 2rem;
    color: #fff !important;
    width: 239px;
    max-width: 100%;
    display: inline-block;
    position: relative;
    -webkit-transition: .2s;
    transition: .2s;
    overflow: hidden;
    overflow: hidden;
    background: #703845;
}

.inews_more .inner:hover {
    color: #703845 !important;
    opacity: 1 !important;
}

.inews_more .inner::before {
    content: "";
    width: 100%;
    height: 100%;
    background: #c0a6aa;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: .35s;
    transition: .35s;
}

.inews_more .inner:hover::before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.inews_more .txt {
    position: relative;
    z-index: 1;
    font-size: 20px;
}

.inews_more .txt h5 {
    font-size: 20px;
    display: inline-block;
    padding-right: 1.7rem;
    font-family: 'Charmonman';
}

.next a {
    position: relative;
    display: inline-block;
    line-height: 0;
    text-align: center;
}

.next a:hover {
    text-decoration: none;
}

.next a::after {
    content: "";
    display: block;
    width: 21px;
    height: 7px;
    position: absolute;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    bottom: 50%;
    right: 24px;
    -webkit-transition: right .35s;
    transition: right .35s;
}

.next a:hover::after {
    right: -12px;
}

/***inews end***/
/*****************************/
/***footer006 start***/

/*sub*/
.sub {
    display: inline-block;
    vertical-align: top;
    width: 22%;
    color: #713946;
    font-weight: bold;
    text-align: left;
}

.sub img {
    margin-bottom: 3.3rem;
}

.sub p {
    font-size: 26px;
    line-height: 1.3;
    font-family: 'Noto Serif TC';
    padding-top: 3.6rem;
    position: relative;
}

.sub p:before {
    content: '';
    background: #1a1a1a;
    width: 155px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 0;
}

.sub span {
    font-size: 24px;
    position: relative;
    display: block;
    padding-bottom: 3em;
    letter-spacing: 1px;
    font-family: 'Charmonman';
}

.ft006 {
    background: url(../../images/ft_bg.jpg);
    position: relative;
    z-index: 3;
    text-align: left;
    padding-top: 10.6rem;
    font-family: 'Noto Sans TC', sans-serif;
}

.ft006_wrap {
    width: 1368px;
    margin: 0 auto;
    max-width: 100%;
    padding: 4rem 0 4.2rem;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

/*ft006_list*/
.ft006_list {
    display: inline-block;
    vertical-align: top;
    color: #000;
    width: 40%;
    padding: 0 1em;
    text-align: left;
}

/*ft_btn*/
.ft_btn {
    padding-bottom: 7em;
}

.ft_btn a {
    display: inline-block;
    vertical-align: top;
    width: 23%;
    padding: 0 .5em 0 0;
    -webkit-filter: drop-shadow(0px 0px 0px rgb(51 51 51 / 44%));
    filter: drop-shadow(0px 0px 0px rgb(51 51 51 / 44%));
    transition: .1s linear;
}

.ft_btn a:hover {
    -webkit-filter: drop-shadow(0px 3px 1px rgb(51 51 51 / 44%));
    filter: drop-shadow(0px 3px 1px rgb(51 51 51 / 44%));
    transform: translateY(-3px);
}

/*ft_info*/
.ft_info {
    font-size: 16px;
    font-family: 'Noto Serif TC';
    font-weight: 600;
}

.ft_info ul {}

.ft_info li {
    padding: .5rem;
}

.ft_info li i {
    padding-right: 1.2rem;
}

.ft_info li p:nth-of-type(1) {
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
}

.ft_info li p:nth-of-type(2) {
    display: inline-block;
    vertical-align: top;
    word-wrap: break-word;
    word-break: break-all;
}

.ft_info li p:nth-of-type(3) {
    font-size: 24px;
    padding-left: 3rem;
}

/*ft006_map*/
.ft006_map {
    position: relative;
    display: inline-block;
}

.ft006_map .map {
    position: relative;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    border: solid 5px #703845;
    min-height: 329px;
    width: 498px;
    max-width: 100%;
}

.ft006_map .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/***ft006_btm***/
.ft006_btm {
    background: #703845;
    text-align: right;
    color: #ffffff;
    font-size: 14px;
    padding: 1em;
    position: relative;
}

.ft006_btm1 {
    width: 1368px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.ft006_btm a {
    display: inline-block;
    vertical-align: bottom;
    color: #ffffff;
    font-size: 12px;
}

.ft006_share {
    display: inline-block;
}

.ft006_share a {
    transition: .2s linear;
    vertical-align: bottom;
    line-height: 1;
}

.ft006_share a :hover {
    opacity: .5;
}

.ft006_copy {
    display: inline-block;
    width: 60%;
    font-size: 14px;
}

.ft006_copy a {
    transition: .2s linear;
    display: inline-block;
    font-size: 14px;
}

.ft006_copy h1 {
    display: inline-block;
    padding: 0 .5rem;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 14px;
}

.ft006_copy a:hover {
    opacity: .7;
}

@media screen and (max-width: 1400px) {
    .ft006_wrap {
        padding: 4rem 1rem 4.2rem;
    }
}

@media (max-width:1300px) {
    .ft006 .sub {
        width: 18%;
    }

    .ft006_list {
        width: 42%;
    }
}

@media (max-width:1140px) {
    .ft006_wrap {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ft006 .sub {
        width: 100%;
        padding-bottom: 2em;
        text-align: center;
    }

    .sub p:before {
        left: 50%;
        transform: translateX(-50%);
    }

    .ft006_list {
        width: 60%;
        padding-bottom: 2rem;
    }
}

@media (max-width:991px) {
    .ft006_wrap {
        padding: 3em 0 2em;
    }

    .ft006_share {
        position: relative;
        top: 0;
        right: 0;
    }
}

@media (max-width:768px) {
    .ft006 {
        padding-top: 3.6rem;
    }

    .ft006_list {
        width: 70%;
    }

    .ft006_map {
        min-height: 240px;
    }

    .ft006 .sub span {
        padding-bottom: 2em;
    }
}

@media (max-width:600px) {
    .ft006_wrap {
        padding: 3em 2rem 2em;
    }

    .ft006_list {
        padding: 0 0 1em 0;
        width: 100%;
    }

    .ft006_map {
        width: 100%;
    }

    .ft006_btm1 {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .ft006_copy {
        width: 100%;
    }

    .ft006_copy h1 {
        padding: 0;
    }
}

@media (max-width:450px) {

    .ft006 .sub span {
        padding-bottom: 1em;
    }

    .ft006 .sub {
        padding-bottom: 1em;
    }

    .ft_info li b {
        font-size: 20px;
    }

    .ft006_map {
        min-height: 200px;
    }

    .ft006_btm {
        font-size: 12px;
        padding: 1em .2em;
    }

    .ft006_btm a,
    .ft006_btm p {
        font-size: 12px;
    }

    .ft006_share {
        margin: 0 auto;
    }

    .ft006_copy {
        text-align: center;
    }

    .ft_btn {
        padding-bottom: 1em;
        text-align: center;
    }

    .ft_btn a {
        width: 46%;
        padding: 1rem;
    }

    .ft_info li:nth-child(1) p:nth-of-type(2) {
        display: none;
    }

    .ft_info li p:nth-of-type(2) {
        width: 90%;
        padding-left: 3rem;
    }

    .ft_info li p:nth-of-type(3) {
        font-size: 20px;
    }
}

@media (max-width:360px) {
    .ft006_wrap {
        padding: 3em 1rem 2em;
    }

    .ft_info li p:nth-of-type(2) {
        padding-left: 0;
    }

    .ft_info li p:nth-of-type(3) {
        padding-left: 0;
    }

    .ft006_map {
        min-height: 180px;
    }
}

/***footer006 end***/
/***********************/
/***top***/
#gotop {
    position: fixed;
    bottom: 3em;
    right: 1em;
    z-index: 10;
    cursor: pointer;
    display: none;
}

#gotop i {
    font-size: 40px;
    color: #191818;
    transition: .2s linear;
}

#gotop:hover i {
    transform: translateY(-5px);
}

.back {
    position: fixed;
    bottom: 6em;
    right: 1.2em;
    z-index: 10;
    text-align: center;
    display: none;
    line-height: 1;
}

.back a {
    color: #F44336;
}

.back a i {
    font-size: 35px;
    transition: .2s linear;
}

.back a p {
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0px;
}

.back:hover i {
    transform: translateY(-5px);
}

@media (max-width:768px) {
    #gotop {
        bottom: 4em;
    }

    .back {
        bottom: 6.5em;
    }
}

/***********************/
.products {
    transform: translateY(-200px);
}

@media (max-width:840px) {
    .products {}
}

/***********************/
button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    background: #cabaaa;
    border: solid 1px #303030;
    color: #303030;
    border-radius: 2px;
    font-weight: 400;
    transition: .2s linear;
    padding: 0em 1em;
    height: auto;
    line-height: 2;
    font-size: 16px;
    margin: 5px;
}

button:hover,
html input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
    background: #655749;
    color: #ffffff;
}

.table-responsive {
    border: 0;
    margin: 10px 0;
}

/***news*************************************************************************************************/
.news {
    width: 1200px;
    margin: 0 auto;
    max-width: 90%;
    padding: 0 0 3em;
    color: #000;
    font-size: 16px;
}

.newslist {
    min-height: 300px;
    text-align: center;
    margin-top: 10rem;
}

.newslist table .h1,
.newslist table .h2,
.newslist table .h3,
.newslist table .h4,
.newslist table .h5,
.newslist table .h6,
.newslist table h1,
.newslist table h2,
.newslist table h3,
.newslist table h4,
.newslist table h5,
.newslist table h6 {
    line-height: normal;
}

/***newslist_rwd***/
.newslist_rwd {
    padding-bottom: 1em;
    text-align: left;
    padding: 0em 1em 1em;
}

.newslist_rwd a {
    position: relative;
    transition: .3s ease all;
    line-height: 1.5;
    color: #000;
    text-align: center;
}
.newslist_rwd a:not(:first-child){
	display:inline-block;
}

/*npic*/
.npic {
    position: relative;
    width: 300px;
    min-height: 300px;
    transition: .3s ease all;
    display: inline-block;
    vertical-align: top;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .5);
    clip-path: circle(50% at 50% 50%);
    -webkit-clip-path: circle(50% at 50% 50%);
}

.npicimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
}

.newslist_rwd a:hover .npic {
    transform: translateY(-5px);
}

/*ntitle*/
.ntitle {
    text-align: left;
    position: relative;
    margin: 1em 0 .5em 0;
    width: 100%;
    padding: 0;
    display: inline-block;
    vertical-align: top;
}

.inews .ntitle h3, .inews .ntitle p {
    color: #703845;
}

.ntitle h3 {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #703845;
    font-size: 20px;
    font-family: 'Noto Serif TC';
    margin: 0em 0 0em;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.3;
}
.ntitle p {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #703845;
    font-size: 14px;
    font-family: 'Noto Serif TC';
    margin:1rem auto 0;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.3;
	width:300px;
	max-width:100%;
	
}
.ntitle p a {
    display: inline-block;
}

.ntitle p a:nth-of-type(1) {
    display: block;
    overflow: hidden;
}

.ntitle span {
    text-align: left;
    padding: 0 3px;
    font-size: 16px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: .2s ease all;
}

.ntitle b {
    color: #adadad;
    font-weight: 500;
    font-size: 12px;
    padding: 0;
}

.newslist_rwd a:hover .ntitle span {
    color: #d0771c;
}

/*page_num*/
.page_num {
    padding: 1em 0;
}

.page_num a {
    display: inline-block;
}

.inews .page_num {
    display: none;
}

@media(max-width:1080px) {
    .npic {
        min-height: 250px;
        width: 250px;
    }
}

@media(max-width:600px) {
    .npic {
        min-height: 200px;
        width: 200px;
    }

    .newslist_rwd {
        text-align: left;
        padding: 0em .5em 1em;
    }

    .news {
        padding: 3em 0 1em;
    }
}

@media(max-width:500px) {
    .npic {
        min-height: 160px;
        width: 160px;
    }

    .ntitle p {
        font-size: 16px;
    }

    .ntitle {
        margin: .2em 0;
    }

    .news {
        padding: 2em 0 1em;
    }
}

@media(max-width:380px) {
    .npic {
        min-height: 140px;
        width: 140px;
    }
}

@media(max-width:350px) {
    .npic {
        min-height: 120px;
        width: 120px;
    }
}

/***inbanner***/
.inbanner {
    background: url(../../images/inbanner.jpg) top center no-repeat;
    max-width: 94.7%;
    background-size: cover;
    min-height: 665px;
    position: relative;
    margin: 0 auto;
}

@media(max-width:991px) {
    .inbanner {
        min-height: 450px;
    }

}

@media(max-width:576px) {
    .inbanner {
        min-height: 320px;
        margin-top: 2rem;
    }

}

@media(max-width:450px) {
    .inbanner {
        min-height: 230px;
        margin-top: 4rem;
    }

}

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

/***note*************************************************************************************************/
.modal-dialog {
    width: 1260px;
    max-width: 100%;
    margin: 5vh auto 0;
}

.close {
    font-size: 45px;
    font-weight: normal;
    color: #909090cc;
    opacity: 1;
    position: absolute;
    top: .1em;
    right: .3em;
    z-index: 10;
}

.note {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, .3);
    max-width: 100%;
}

.modal-body {
    position: relative;
    padding: 9.2rem 15px 5rem;
}

.modal-dialog {
    height: 90vh;
    -webkit-filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .5));
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .5));
}

.modal-content {
    border: 0;
    border-radius: 0;
    background: url(../../images/note_bg.jpg) top center;
}

.modal-content button:hover,
html input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
    background: transparent;
    color: #703845;
    opacity: 1;
}

.note_inner {
    position: relative;
    margin: 0 auto;
}

.note_top {
    margin: 7.5rem auto 7rem;
}

.note_top .note_title {
    width: 1036px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.note_top .note_title .left {
    font-size: 22px;
    color: #703845;
    font-family: 'Noto Serif TC';
    font-weight: bold;
    position: relative;
    padding: 0 1.5rem .5rem;

}

.note_top .note_title .left:before {
    content: '';
    border: 1px #723b48 solid;
    width: 126px;
    height: 8px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.note_top .note_title .right {
    text-align: right;
}

.note_top .note_title .right p {
    font-size: 30px;
    color: #b393a9;
    font-family: 'Aboreto';
}

.note_top .note_title .right span {
    font-size: 18px;
    color: #703845;
    font-family: 'Noto Serif TC';
    font-weight: 500;
}

.note_process {
    max-width: 100%;
    margin: 2.4rem auto;
    text-align: center;
}

.note_process ul {
    display: flex;
    justify-content: space-between;
}

.note_process ul li {
    width: 25%;
    position: relative;
}

.note_process ul li:not(:last-of-type):after {
    content: '';
    background: url(../../images/note_deco01.png) top left no-repeat;
    width: 17px;
    max-width: 100%;
    height: 27px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.note_process img {}

.note_process p {
    font-size: 30px;
    color: #ab9298;
    font-family: 'Aboreto';
    letter-spacing: 8px;
    padding: 2rem 0 1rem;
}

.note_process span {
    font-size: 18px;
    color: #713946;
    font-family: 'Noto Serif TC';
}

.note_bot .note_title {
    width: 1036px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.note_bot .note_title .left {
    font-size: 22px;
    color: #703845;
    font-family: 'Noto Serif TC';
    font-weight: bold;
    position: relative;
    padding: 0 1.5rem .5rem;

}

.note_bot .note_title .left:before {
    content: '';
    border: 1px #723b48 solid;
    width: 126px;
    height: 8px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.note_bot .note_title .right {
    text-align: right;
}

.note_bot .note_title .right p {
    font-size: 30px;
    color: #b393a9;
    font-family: 'Aboreto';
}

.note_remit {
    width: 1036px;
    max-width: 100%;
    margin: 3rem auto 0;
}

.note_remit ul {
    list-style: disc;
}

.note_remit ul li {
    font-size: 18px;
    color: #713946;
    font-family: 'Noto Serif TC';
    font-weight: 500;
    line-height: 2;
    margin-left: 2rem;
}

@media screen and (max-width: 1280px) {
    .modal-dialog {
        padding: 0 2rem;
    }
}

@media screen and (max-width: 890px) {
    .note_process ul li {
        width: 18%;
    }

    .note_process ul li:not(:last-of-type):after {
        right: -29%;
    }
}

@media screen and (max-width: 768px) {
    .modal-dialog {
        overflow-y: scroll;
    }
}

@media screen and (max-width: 576px) {
    .note_process ul {
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .note_process ul li {
        width: 35%;
        padding-bottom: 2rem;
    }

    .note_process ul li:nth-of-type(2):after {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    .note .title:after {
        background-size: 100%;
        bottom: -5rem;
    }

    .note_top .note_title {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .note_top .note_title .right {
        text-align: left;
        margin-top: 1rem;
    }

    .note_bot .note_title {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .note_bot .note_title .right {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 450px) {
    .note_top .note_title .right p {
        font-size: 25px;
    }

    .note_process ul li {
        width: 40%;
    }

    .note_process ul li:not(:last-of-type):after {
        right: -20%;
    }

    .note_bot .note_title .right p {
        font-size: 25px;
    }
}

@media screen and (max-width: 390px) {
    .note_process ul li {
        width: 45%;
    }

    .note_process ul li:not(:last-of-type):after {
        right: -10%;
    }
}

@media screen and (max-width:380px) {
    .note {
        font-size: 14px;
        letter-spacing: 0;
    }


}

@media screen and (max-width: 350px) {
    .note_process ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .note_process ul li {
        width: 85%;
    }

    .note_process ul li:nth-of-type(2):after {
        display: block;
    }
}

/*---photo----------------------------------------------------------------------------------------------------------------------------*/


.photo {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 0 5rem;
}


@media screen and (max-width: 1300px) {}

@media screen and (max-width: 650px) {}

@media screen and (max-width: 530px) {}

@media screen and (max-width: 450px) {}

@media screen and (max-width: 400px) {}

@media screen and (max-width: 360px) {}

@media screen and (max-width: 330px) {}

/*---album-----------------------------------------------------------------------------------------------------------------------------------*/
/*************************
******service_album******
**************************/
#service_album {
    width: 1248px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 0 2rem;
    position: relative;
    z-index: 4;
    margin-top: 10rem;
}

#service_album table {
    transition: .3s linear;
    border: 0px;
}

#service_album table:hover {}

#service_album a {
    color: #1a1a1a;
    display: inline;
    transition: .3s linear;
}

#service_album a:visited,
#service_album a:focus {
    color: rgba(51, 51, 51, 1);
}

#service_album a:hover {
    color: #c24747;
}

#service_album td {
    font-size: 15px;
    letter-spacing: 2px;
}

.table1 table {
    min-width: 23%;
}

.table2 td {
    max-width: 200px;
    height: 70px;
    padding: 10px 0;
    letter-spacing: 2px;
}

.example-image-link img {
    height: auto;
}

table.tablelist {}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    background: transparent;
    border: solid 1px #155765;
    color: #155765;
    border-radius: 2px;
    padding: 5px 20px;
    letter-spacing: 2px;
    transition: .3s linear;
    margin: 5px;
}

button:hover,
html input[type=button]:hover {
    background: #155765;
    color: #fff;
}
.photo2 div{
	display:flex !important;
	flex-wrap: wrap;
	align-items: baseline;
}

@media(max-width:992px) {
    .contactm {
        margin-bottom: 20px
    }

    .table1 table {
        width: 100%;
        max-width: 100%;
    }

    table.tablelist {
        width: 30%;
    }
}

@media(max-width:768px) {
    table.tablelist {
        width: 45%;
    }

    .table-responsive {
        width: 30%;
        margin: 5px !important;
    }

    .table-responsive img {
        max-width: 100%;
    }
}

@media(max-width:560px) {
    .table-responsive {
        width: 50%;
        padding: 1%;
        display: inline-block;
        margin: 0px !important;
    }
}

@media(max-width:480px) {
    #service_album .col-xs-12 {
        padding: 0;
    }

    .table2 td {
        height: 60px;
    }

    #service_album {
        padding: 0;
    }
}

@media(max-width:330px) {
    table.tablelist {
        width: 90%;
    }
}

.example-image-link img:hover {
    opacity: 1;
    -webkit-animation: flash_example 3s;
    animation: flash_example 3s;
}

@-webkit-keyframes flash_example {
    0% {
        opacity: .2;
    }

    100% {
        opacity: 1;
    }
}

@keyframes flash {
    0% {
        opacity: .2;
    }

    100% {
        opacity: 1;
    }
}

.albumimg:hover {
    opacity: 1;
    -webkit-animation: flash_albumimg 3s;
    animation: flash_albumimg 3s;
}

@-webkit-keyframes flash_albumimg {
    0% {
        opacity: .2;
    }

    100% {
        opacity: 1;
    }
}

@keyframes flash {
    0% {
        opacity: .2;
    }

    100% {
        opacity: 1;
    }
}