/*-----------------------------------------------
    reset
-----------------------------------------------*/
* ,*::before ,*::after ,h1 ,h2 ,h3 ,h4 ,h5 ,h6 ,p ,button a ,li a ,.df-form
{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat','Noto Sans JP', 'Noto Sans TC', 'PingFang TC', 'Heiti TC','Microsoft JhengHei', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    box-sizing: border-box;
    outline: none;
}


@media screen and (max-width:1600px)
{
    * ,*::before ,*::after ,h1 ,h2 ,h3 ,h4 ,h5 ,h6 ,p ,button a ,li a ,.df-form
    {
        font-size: 15px;
    }
}
@media screen and (max-width:1400px)
{
    * ,*::before ,*::after ,h1 ,h2 ,h3 ,h4 ,h5 ,h6 ,p ,button a ,li a ,.df-form
    {
        font-size: 14px;
    }
}
@media screen and (max-width:768px)
{
    * ,*::before ,*::after ,h1 ,h2 ,h3 ,h4 ,h5 ,h6 ,p ,button a ,li a ,.df-form
    {
        font-size: 13px;
    }
}
html ,body
{
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button ,select ,textarea ,option ,input
{
    line-height: inherit;
    border: 0;
    border-style: none;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    background: transparent;
}

html ,body ,header ,section ,article ,footer ,button ,li ,.df-width
{
    position: relative;
}

button::-moz-focus-inner ,input::-moz-focus-inner
{
    padding: 0;
    border: 0;
}

h1 ,h2 ,h3 ,h4 ,h5 ,h6 ,.h1 ,.h2 ,.h3 ,.h4 ,.h5 ,.h6 ,p ,button a ,li a ,.df-form
{
    margin: 1% auto;
    line-height: 1.8;
    letter-spacing: 0;
    word-wrap: break-word;
    word-break: break-all;
}

/*-----------------------------------------------
    prelodd
-----------------------------------------------*/

/*prelodd*/
body::before {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    width: 1px;
    height: 1px;
    content: '';

    background-image:
        url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/nav-bg.jpg),
        url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/box-bg.png),
        url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/box-m.jpg);


}


/*-----------------------------------------------
    wrapper
-----------------------------------------------*/

.wrapper ,#wrapper
{
    max-width: 1920px;
    overflow: hidden;
    margin:auto;
    /*! width: 1440px; */
}

/*-----------------------------------------------
    link
-----------------------------------------------*/

a ,a:active ,a:hover ,a:focus
{
    color: #000;
    -webkit-user-select: none;
    transition: all .3s;
    text-decoration: none;
    pointer-events: auto;
    outline: 0;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}


/*-----------------------------------------------
    df-img
-----------------------------------------------*/

img
{
    border: 0;
    border-style: none;
    vertical-align: middle;
}


img ,.img-rwd ,.img-rwd > img ,.img-rwd > a > img ,ul.img-rwd > li > img ,li > img ,li > a > img
{
    max-width: 100%;
}

.img-auto
{
    max-width: initial;
}

/*-----------------------------------------------
    df-button
-----------------------------------------------*/
button
{
    cursor: pointer;
    font-size: .9rem;
    text-align: center;
    text-decoration: none;
    letter-spacing: .1rem;
}

button a
{
    display: block;
    padding: 0 10px;
    width: 100%;
}

/*-----------------------------------------------
    df-list
    clear-both
-----------------------------------------------*/

ul
{
    height: 100%;
}

ol
{
    padding: 0 0 0 4%;
}

ul li
{
    list-style: none;
}

li a
{
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

ol > li > a,ol > li > a:hover
{
    color: #007bff;
    text-decoration: none;
    display: initial;
    text-decoration: underline;
}


.clearfix:after
{
    display: table;
    clear: both;
    content: '';
}

@media screen and (max-width:768px)
{
    ol > li ,.ol > li > a
    {
        font-family: 'Microsoft JhengHei', serif;
    }
}


/*-----------------------------------------------
    df-video
-----------------------------------------------*/

.df-video
{
    display: block;
    position: relative;
    padding: 0;
    padding-bottom: 56.25%;
    /*16by9*/
    height: 0;
    overflow: hidden;


}

.df-video-item
{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;

    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
}

/*-----------------------------------------------
    df-hr
-----------------------------------------------*/

hr
{
    display: block;
    margin: 20px auto;
    width: 100%;
    height: 5px;
    border: 0;
    border-top: 1px solid #eee;
    /*border-bottom:5px dotted #fff;*/
}



/*  df-box
-------------------------------------------------
    - df-close
    - df-cover
    - box-content
    - box-open & close
------------------------------------------------*/

/*-----------------------------------------------
    df-close
-----------------------------------------------*/
.df-close:hover
{
    transform: scale(0.7) rotateZ(180deg);
    /*! transform: scale(0.7); */
}

.df-close
{
    display: inline-block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    z-index: 10;
    opacity: 1;
    width: 35px;
    height: 35px;
    cursor: pointer;
    overflow: hidden;
    transition: all .5s;
    transform-origin: 50% 50%;

background: url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/close-m.png) center top / 100% no-repeat;

    transform: scale(0.7);
}

@media screen and (max-width:1600px)
{
.df-close
{
    top: 10px;
    transform: scale(0.6);
    right: 10px;
}
}

@media screen and (max-width:768px)
{
.df-close
{

    transform-origin: 50% 50%;

background: url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/close-m.png) center top / 100% no-repeat ;

    transform: scale(0.5);
}
}

/*.df-close::before ,.df-close::after
{
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -1px;
    width: 100%;
    height: 2px;
    border-radius: 5px;
    content: '';
    background: #fff;
}

.df-close::before
{
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.df-close::after
{
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
*/
/*-----------------------------------------------
    df-cover
-----------------------------------------------*/
.df-cover
{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*background: rgba(0, 0, 0, .8);*/

background: url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/box-bg.png) center 100% / cover no-repeat;

}


@media screen and (max-width:1200px)
{
.df-cover
{


/*! background: #fff url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/box-bg.png) 20% 40%/ 1200px no-repeat; */

}
}
@media screen and (max-width:960px)
{
.df-cover
{


background: rgba(0,0,0,0.95) url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/box-bg.png) 50% 40%/ 1100px no-repeat;

}
}
@media screen and (max-width:768px)
{
.df-cover
{


background: #191919 url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/box-m.jpg) center 10%/ 100% no-repeat;

}
}

/*-----------------------------------------------
    df-box
-----------------------------------------------*/
.df-box
{
    /*display: none;*/
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 100;
}

/*-----------------------------------------------
    box-content
-----------------------------------------------*/
.box-content
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 6% 0 0 33%;
    z-index: 2;
    width: 67%;
    height: 620px;
    transition: all .3s;
    text-align: left;
    text-align: justify;
    /*! background: #ffffff29; */
}

.box-text
{
    margin: 26% 0 0 10px;
    padding: 0 10px;
    width: 100%;
    max-height: 550px;
    color:#fff;
}

@media screen and (max-width:1800px)
{
.box-content
{

    height: 560px;
    text-align: left;

}
}
@media screen and (max-width:1280px)
{
.box-content
{

    height: 550px;

    padding: 0% 0 0 31%;
    /*! width: 80%; */
}
}

@media screen and (max-width:768px)
{
.box-text
{
    margin: 25% 0 0 10px;

}
}

/*-----------------------------------------------
    box-open & close
-----------------------------------------------*/
.box-open
{
    opacity: 1;
    transition: all .3s cubic-bezier(.390, .575, .565, 1.000);
    transform: scale(1);
}

.box-close
{
    opacity: 0;
    transition: all .3s cubic-bezier(.390, .575, .565, 1.000);
    transform: scale(2);
    pointer-events: none;
}

@media screen and (max-width:768px)
{
    .df-close
    {
        top: 25px;
        right: 20px;
        /*! z-index: 11; */
        /*! width: 30px; */
        /*! height: 30px; */
    }

    .df-close::before ,.df-close::after
    {
        background: #000;
    }

    .df-box
    {
        padding: 0;
        /*! max-height: 90vh; */
        overflow: auto;
    }

    .box-content
    {
        /*! padding: 50px 15px 5% 15px; */
        height: auto;
        height: 95vh;
        overflow: hidden;
        /*! background: #fff; */
        padding: 15px;
        width: 76%;
        left: 20%;
    }
}

/*-----------------------------------------------
    df-width
-----------------------------------------------*/

.df-width
{
    position: relative;
    margin: auto;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    max-width: 768px;
}

/*-----------------------------------------------
    df-form
-----------------------------------------------*/
input.df-form ,select.df-form
{
    display: block;
    margin: 20px auto;
    opacity: 1;
    width: 100%;
    height: 40px;
    min-width: 200px;
    max-width: 300px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    text-align: center;
    letter-spacing: .05rem;
    background-color: #fff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    /*隱藏預設的下拉圖示*/

            appearance: none;
       -moz-appearance: none;
    -webkit-appearance: none;
}

select.df-form
{
    color: #979797;
}

input.df-form:focus ,select.df-form:focus
{
    color: #000;
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.down_bg
{
    cursor: pointer;
    color: #555;
    background: url(https://media.zlongame.com/media/news/jp/archeland/officesite/cbt/images/down_bg.png) 98% center no-repeat;
}

@media screen and (max-width:768px)
{
input.df-form ,select.df-form
{

    height: 35px;

}
}


/*-----------------------------------------------
    df-gotop
-----------------------------------------------*/
.gotop
{
    /*display: block;*/
    display: none;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 99;
    opacity: .5;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    color: #fff;
    border-radius: 100px;
    box-sizing: border-box;
    transition: all .3s;
    background: #fff;
}

.gotop::after
{
    display: block;
    position: absolute;
    right: 0;
    bottom: 9px;
    left: 0;
    margin: auto;
    width: .8rem;
    height: .8rem;
    color: #000;
    border-top: 1px solid;
    border-right: 1px solid;
    box-sizing: border-box;
    content: '';
    transform: rotate(-45deg);
}


.gotop:focus
{
    outline: none;
}

.gotop:hover
{
    opacity: .9;
    transition: all .3s ease;
    transform: scale(1.2);
}



@media screen and (max-width:767px)
{
    .gotop::after
{

    bottom: 8px;
}

    .gotop
    {
        right: 5px;
        transform: scale(.7);
    }

    .gotop:hover
    {
        transform: scale(1);
    }
}

/*  hide
-------------------------------------------------
    - hidden-sm  : show 0-768px
    - hidden-xs  : show 0-480px
-------------------------------------------------*/

/* show 768px ↑ */
.pc
{
    display: block;
    opacity: 1;
}

@media screen and (max-width:768px)
{
    .pc
    {
        display: none;
        opacity: 0;
    }
}

/* show 0-768px */
.tablet
{
    display: none;
    width: 0;
    height: 0;
}

@media screen and (max-width:768px)
{
    .tablet
    {
        display: block;
        width: auto;
        height: auto;
    }
}

/* show 0-480px */
.mobile
{
    display: none;
    width: 0;
    height: 0;
}

@media screen and (max-width:480px)
{
    .mobile
    {
        display: block;
        width: auto;
        height: auto;
    }
}

/* show 480px ↑ */
.no-mobile
{
    display: block;
    opacity: 1;
}

@media screen and (max-width:480px)
{
    .no-mobile
    {
        display: none;
        opacity: 0;
    }
}


/* pc-only 768px ↑ */
.pc-only
{
    display: block;
    opacity: 1;
}

@media screen and (min-width:768px)
{
    .pc-only
    {
        display: none;
        opacity: 0;
    }
}
