@charset "utf-8";

/* CSS Document */
/************************************************************************************
RESET
*************************************************************************************/
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,figure,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1;	
	-webkit-text-size-adjust: none;/*防止allpe的safari瀏覽器字體變大*/
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
   /* border-collapse: collapse;*/
    border-spacing: 0;
}

a img {
	border: none;
}

.clean { clear:both;}

.clearfix {
  overflow: auto;
}

img { max-width:100%;}

.left { float: left;}
.right { float: right;}

/************************************************************************************
STRUCTURE 主要區塊
*************************************************************************************/

body {
    font-family:'Noto Serif TC', serif; background:#84329b ;
}

#web-outer {
	max-width: 2000px;
	overflow: hidden;
	_overflow: none;
}



/*======================
====Main CSS=====
=======================*/

.mainpic { 
    margin: 0 auto;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {     
    /*text-align: center;*/
   margin-top: -60px;
}

header h1 {
    text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
}

section { padding-top: 90px; margin-top: -90px;}

/*======================
====nav CSS=====
=======================*/

#main-nav{
   position: relative;
   z-index: 990;
   margin:0 auto;  
}

#block_menu {
	width: 100%;
    overflow: hidden;
}

.sticky {
    top:40px;
}

#main-nav ul {  margin:0 auto; background:rgba(0,0,0,0.7); text-align: center; height: 54px;  padding-top: 12px;}
#main-nav ul li {  
    display:inline-block; font: 500 20px 'Noto Serif TC', serif; /*border:2px solid rgba(0,0,0,0);*/
    color:#acb8c0; letter-spacing: 1px;  border-radius: 22px; padding:3px 6px; margin:0 3px;
}
/*.nav li:hover,.nav li:active { border:2px solid #1083ae;}*/
#main-nav ul li a { display:block; width:100%; height:100%; text-align: center; text-decoration: none;  color:#acb8c0; padding:2px;  border-radius: 22px; outline-offset: 2px; outline: 1px solid rgba(0,0,0,0);
    }
#main-nav ul li a:hover,#main-nav ul li a.active { background: #1083ae;  color:#ffffff;  outline: 1px solid #1083ae;}
.active {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/*------------*/

.bg-color01 { background-image: linear-gradient( transparent 30% , #cce5e3 30%);}
.bg-color01 .bg-outer { margin-top: -30px; background: url("../images/bg01.png")  center top no-repeat; }
.bg-color01 .bg-deco {  background: url("../images/bg01-deco.png")  center  50px no-repeat; padding-top: 90px; }

.bg-color02 { background-image: linear-gradient( transparent 30% , #95c6cd 30%);}
.bg-color02 .bg-outer { margin-top: -40px; background: url("../images/bg02.png")  center top no-repeat; }
.bg-color02 .bg-deco {  background: url("../images/bg02-deco.png")  center  50px no-repeat; padding-top: 90px; }

#world h2 { background:url("../images/subtitle01.png") center center no-repeat; }
#remains h2  { background:url("../images/subtitle02.png") center center no-repeat; }
#grand h2 { background:url("../images/subtitle03.png") center center no-repeat; }
#vacation h2 { background:url("../images/subtitle04.png") center center no-repeat; }
#special h2 { background:url("../images/subtitle05.png") center center no-repeat; }

h2 { text-align: center; height:217px; font: 600 48px 'Noto Serif TC'; color:#434248;  }
h2 span { display: block; padding-top: 76px; }
figure.word { text-align: center; margin-top: -10px; }

/*----tour-box----*/

.ct-box { max-width: 1400px; margin:0 auto;  overflow: hidden; }

.main-tour { margin-top: 30px; clear:both;}
.main-tour a { text-decoration: none;display:flex; flex-wrap: nowrap; margin-bottom: 20px;}

.tour-pic {  flex:0 0 65%;  justify-content:flex-start; align-items:flex-start;  align-content: stretch;  }
.tour-ct {  flex:0 0 33%;  justify-content:flex-start; align-items:flex-start;  align-content: stretch; margin-top: 26px; margin-left: -10px;}

.spot  { 
    text-align: left; font: 700 24px 'Noto Serif TC'; background:#e6cbc0 ; color:#b15a38; line-height: 36px; padding:8px 10px;  
    border-radius: 0 30px 0 0;  border:1px solid #ba7155; border-width: 1px 1px 1px 0; }
.green .spot { background:#a8ddde ; color:#02774c; border:1px solid #358e7c; border-width: 1px 1px 1px 0;}

.spot img { display: inline-block;}

.tour-name { 
    color:#000000; font: bold 18px 'Noto Serif TC'; line-height: 1.6em; text-align: left; background:#ebe8e8;
    padding:14px 22px;  border:1px solid #ba7155;  border-width: 0 1px 1px 0;  
}
.green .tour-name {  background:#e4eff2;  border:1px solid #358e7c; border-width: 0 1px 1px 0;}

.ct-in { background:#ebe8e8; border:1px solid #ba7155; border-width: 0 1px 1px 0;  min-height: 200px; }
.green .ct-in { background:#e4eff2; border:1px solid #358e7c; border-width: 0 1px 1px 0;}

.tour-info-list {  padding:14px 22px;  }

.tour-info-list li { 
    font: 600 14px "微軟正黑體" ; color:#ba7155; line-height: 1.8em;
    padding-left: 21px; text-indent: -21px; 
    text-align: left;
}
.green .tour-info-list li { color:#4c7d73; padding-left: 19px; text-indent: -19px; }

.tour-info-list li::before {
    content: url("../images/icon02.png");
    padding-right: 6px;
}
.green .tour-info-list li::before {
    content: url("../images/icon03.png");
    padding-right: 6px;
}
.more { color: #7b3316; font: bold 16px 'Noto Serif TC'; display: inline-block; float: right;  z-index: 990; }
.more a {  background:#e6cbc0; color:#000000; border-radius: 0 15px 0 0; padding:5px 10px;  }
.more a:hover {  background:#7b3316; color:#e6cbc0; } 
.more a:empty { display:none; }

.green .more a { background: #a8ddde; }
.green .more a:hover { color:#a8ddde; background: #013f32; }

/*------media query----------*/

@media only screen and ( max-width:960px) 
{ 
    header img { width: 80%; }
    .ct-in { min-height: 140px;}
}

@media only screen and ( max-width:900px) 
{ 
    .tour-ct {  flex:0 0 38%; margin-left: -130px;}
    .tour-pic { flex:0 0 74%; }
}

/*---平板-----*/

@media only screen and ( max-width:768px) 
{ 
    section { padding-top: 0px; margin-top: 0px;}
    #main-nav { display: none;}
    .main-tour a { display:block;  }
    .tour-ct {  width:96%;  margin-left: 0px; margin:0 2%;}
    .tour-pic { width:96%; margin:0 2%; }
    .spot  { border-radius: 0;   }
    .ct-in { min-height: auto;}
}


/*---手機版-----*/

@media only screen and (max-width:480px) 
{       
    header img { width: 90%; margin-top: -150px;}
    .tour-name { text-align: left;  }
    .tour-info-list li { font-size: 15px; text-align: left;  }  
    #world h2 { background:url("../images/subtitle01-xs.png") center center no-repeat; }
    #remains h2 { background:url("../images/subtitle02-xs.png") center center no-repeat; }
    #grand h2 { background:url("../images/subtitle03-xs.png") center center no-repeat; }
    #vacation h2 { background:url("../images/subtitle04-xs.png") center center no-repeat; }
    #special h2 { background:url("../images/subtitle05-xs.png") center center no-repeat; }
    figure.word { text-align: center; margin-top: 10px; }
}

@media only screen and (max-width:400px) 
{       
    figure.word { display: none;}
}

