@charset "UTF-8";

/* --------------------------------
 * 共同
 * -------------------------------- */

@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

body {
	color: #000;
	text-align: left;
	font-size: 16px;
	font-family: 'Noto Sans TC','微軟正黑體', sans-serif;
	background-color: #2d5986;
}
*, *::before, *::after {
    box-sizing: border-box;
}
a:link, a:visited, a:hover, a:active {
	text-decoration: none;
	color: #FFF;
}
header, section {
	width: 100%;
	font-size:0;
}
.wapper {
	width: 1020px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFF;
	padding-right: 70px;
	padding-left: 70px;
	background-image: url(../images/header_bg.png), url(../images/bg_blue.jpg);
	background-repeat: no-repeat, repeat;
	background-position: center top, center top;
}
.top {
	position: fixed;
	left: 0px;
	bottom: 0px;
	width: 100%;
}
.wave {
	width: 1020px;
	height: 350px;
	background-image: url(../images/wave.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	margin-right: auto;
	margin-left: auto;
}
h1 {
	margin-bottom: 45px;
	background-image: url(../images/title_bg.png);
	background-repeat: repeat-x;
	text-align: center;
}
@media only screen and (min-width: 961px) and (max-width: 1080px) {
.wapper {
	width: 100%;
	padding-right: 6.5%;
	padding-left: 6.5%;
}
.wave {
	width: 1080px;
}
}
@media only screen and (min-width: 721px) and (max-width: 960px) {
.wapper {
	width: 100%;
	padding-right: 6%;
	padding-left: 6%;
	background-image: url(../images/header_bg.png), url(../images/bg_blue.jpg);
	background-repeat: no-repeat, repeat;
	background-position: center top, center top;
	background-size: 918px, auto;
}
.wave {
	height: 315px;
	background-size: 972px;
}
}
@media only screen and (max-width:720px) {
.wapper {
	width: 100%;
	padding-right: 8%;
	padding-left: 8%;
	background-image: url(../images/header_bg.png), url(../images/bg_blue.jpg);
	background-repeat: no-repeat, repeat;
	background-position: center top, center top;
	background-size: 816px, 972px;
}
.wave {
	height: 245px;
	background-size: 756px;
}
}
@media only screen and (max-width:600px) {
.wapper {
	width: 100%;
	padding-right: 8%;
	padding-left: 8%;
	background-image: url(../images/header_bg.png), url(../images/bg_blue.jpg);
	background-repeat: no-repeat, repeat;
	background-position: center top, center top;
	background-size: 714px, 864px;
}
.wave {
	height: 245px;
	background-size: 756px;
}
h1 {
	margin-bottom: 40px;
}
}
@media only screen and (max-width:480px) {
.wapper {
	width: 100%;
	padding-right: 8%;
	padding-left: 8%;
	background-image: url(../images/header_bg.png), url(../images/bg_blue.jpg);
	background-repeat: no-repeat, repeat;
	background-position: center top, center top;
	background-size: 612px, 756px;
}
.wave {
	height: 210px;
	background-size: 648px;
}
h1 {
	background-position: left top -7px;
}
h1 img {
	height:36px;
}
h1 {
	margin-bottom: 35px;
}
}




/* --------------------------------
 * 主視覺
 * -------------------------------- */
header {
	padding-top: 50px;
	height: 800px;
	background-image: url(../images/bookname.gif);
	background-repeat: no-repeat;
	background-position: center center;
}
.title-1 {
	position: relative;
}
.title-2 {
	display: none;
	position: relative;
}
.title-left {
	top: 0px;
	left: 0px;
	position: absolute;
}
.title-right {
	top: 0px;
	right: 0px;
	position: absolute;
}
@media only screen and (min-width: 721px) and (max-width: 960px) {
header {
	height: 720px;
	background-size: 190px;
}
}
@media only screen and (max-width:720px) {
header {
	height: 640px;
	background-size: 171px;
}
.title-1 {
	display: none;
}
.title-2 {
	display: block;
}
}
@media only screen and (max-width:600px) {
header {
	height: 560px;
	background-size: 171px;
}
.title-2 img {
	width:28px;
}
}
@media only screen and (max-width:480px) {
header {
	padding-top: 40px;
	height: 480px;
	background-size: 152px;
}
}
 
 
 
 
/* --------------------------------
 * 書籍介紹
 * -------------------------------- */
.about {
	padding-top: 15px;
}
.about-box {
	background-image: url(../images/img_about_1.png);
	background-repeat: no-repeat;
	background-position: left 250px bottom 20px;
}
.about-info {
	display: inline-block;
	vertical-align: top;
}
.about-title {
	margin-bottom: 45px;
}
.about-info p {
	font-size: 16px;
	line-height: 24px;
	text-align: justify;
}
.about-info span {
	color: #C33;
}
#about-info-1 {
	width: 70%;
	padding-right: 5%;
}
#about-info-2 {
	width: 30%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	padding-bottom: 50px;
}
.shopping {
	width: 230px;
	float: right;
}
.shopping ul li {
	margin-bottom: 5px;
}
.price {
	padding: 6px;
	border: 1px solid #000;
	font-size: 16px;
	color: #000;
	display: table;
}
.buy {
	font-size: 16px;
	color: #FFF;
	display: table;
	background-color: #C33;
	padding-top: 6px;
	padding-right: 6px;
	padding-bottom: 8px;
	padding-left: 6px;
	cursor: pointer;
}
#about-title-2, #about-title-3 {
	display: none;	
}
@media only screen and (max-width:960px) {
.awesome-box {
	background-position: left -10px bottom ;
}
.about-info p {
	font-size: 15px;
	line-height: 24px;
}
}
@media only screen and (min-width: 901px) and (max-width: 960px) {
#about-info-1 {
	width: 67%;
}
#about-info-2 {
	width: 33%;
}
}
@media only screen and (min-width: 721px) and (max-width: 900px) {
.about-box {
	background-position: left 230px bottom 10px;
	background-size: 225px;
}
#about-info-1 {
	padding-bottom: 80px;
}
#about-info-2 {
	border-left-style: none;
}
.about-title img {
	width: 100%;
	max-width: 380px;
}
.shopping {
	width: 100%;
}
.shopping ul li img {
	width: 100%;
}
}
@media only screen and (max-width:720px) {
.about-box {
	background-image: url(../images/img_about_2.png);
	background-position: right -25px bottom 50px;
	background-size: 250px;
}
#about-info-1 {
	width: 100%;
	padding-right: 0%;
	margin-bottom: 30px;
}
#about-info-2 {
	width: 100%;
	border-left-style: none;
	padding-bottom: 0px;
}
.shopping {
	width: 100%;
	float: none;
}
.shopping ul li {
	text-align: center;
	margin-bottom: 10px;
}
.shopping ul li img {
	margin-bottom: 10px;
}
.price, .buy {
	margin-right: auto;
	margin-left: auto;	
}
.buy {
	font-size: 18px;
	padding-top: 11px;
	padding-bottom: 13px;
	margin-bottom: 50px;
	width: 230px;
}
.about-title {
	margin-bottom: 25px;
}
#about-title-1 {
	display: none;	
}
#about-title-2 {
	display: block;
	text-align: center;
}
}
@media only screen and (max-width:480px) {
.about-box {
	background-image: url(../images/space.png);
}
#about-title-2 {
	display: none;	
}
#about-title-3 {
	display: block;
	text-align: center;
}
#about-title-3 img {
	width: 85%;
	max-width: 310px;
}
.shopping ul li img {
	width: 60%;
	max-width: 230px;
}
.buy {
	width: 60%;
	max-width: 230px;
}
}




/* --------------------------------
 * 獨家贈品
 * -------------------------------- */
h3 {
	margin-bottom: 60px;
	background-image: url(../images/calendar_line.png);
	background-repeat: repeat-x;
}
.calendar-info {
	display: inline-block;
	vertical-align: top;
}
#calendar-info-1 img {
	width: 25%;
	padding: 8px;
	margin-right: -1px;
	margin-bottom: -1px;
	border: 1px dotted #CCC;
}
#calendar-info-1 {
	width: 83%;
}
#calendar-info-2 {
	width: 17%;
	text-align: right;
}
#calendar-info-3 {
	display: none;
}
@media only screen and (max-width:900px) {
#calendar-info-1 {
	width: 100%;
}
#calendar-info-2 {
	display: none;
}
#calendar-info-3 {
	display: block;
	text-align: center;
	margin-bottom: 30px;
}
h3 {
	margin-bottom: 30px;
}
}
@media only screen and (max-width:600px) {
#calendar-info-1 img {
	width: calc(100% / 3);
}
}
@media only screen and (max-width:480px) {
#calendar-info-1 img {
	width: 50%;
}
#calendar-info-3 img {
	width: 80%;
	max-width:297px;
}
}



 
/* --------------------------------
 * 嚐鮮推薦
 * -------------------------------- */
.awesome {
	padding-top: 50px;
}
.awesome-box {
	background-image: url(../images/img_awesome.png);
	background-repeat: no-repeat;
	background-position: left bottom;
}
.awesome-box ul {
	display: inline-block;
	vertical-align: top;
}
.awesome-box ul li  {
	margin-bottom: 25px;
}
.awesome-box ul li h2 {
	color: #C33;
	font-size: 20px;
	margin-bottom: 3px;
}
.awesome-box ul li p {
	font-size: 16px;
	line-height: 24px;
	text-align: justify;
}
#awesome-list-1 {
	width: 29%;
	padding-right: 4%;
}
#awesome-list-2 {
	width: 42%;
	padding-left: 4%;
	padding-right: 4%;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
}
#awesome-list-3 {
	width: 29%;
	padding-left: 4%;
}
@media only screen and (max-width:960px) {
.awesome-box {
	background-position: left -10px bottom ;
}
.awesome-box ul li h2 {
	font-size: 18px;
}
.awesome-box ul li p {
	font-size: 15px;
	line-height: 22.5px;
}
}
@media only screen and (min-width: 481px) and (max-width: 720px) {
.awesome-box {
	background-image: url(../images/img_awesome_phone.png);
	background-position: left bottom;
}
.awesome {
	padding-top: 35px;
}
}
@media only screen and (max-width:600px) {
#awesome-list-1, #awesome-list-2, #awesome-list-3 {
	width: 100%;
}
.awesome-box {
	background-image: url(../images/img_writer.png);
	background-repeat: no-repeat;
	background-position: right -50px bottom -10PX;
	background-size: 80%;
	padding-bottom: 55px; 
}
.awesome-box ul li {
	margin-bottom: 20px;
}
#awesome-list-2 {
	padding-left: 0%;
	padding-right: 0%;
	border-right-style: none;
	border-left-style: none;
}
#awesome-list-3 {
	padding-left: 0%;
}
.awesome {
	padding-top: 35px;
}
}




/* --------------------------------
 * 作者介紹
 * -------------------------------- */
.writer {
	padding-top: 50px;
}
.writer-box {
	background-image: url(../images/img_writer.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.writer-info {
	width: 50%;
	display: inline-block;
	vertical-align: top;
}
.writer-info h2 {
	color: #C33;
	font-size: 20px;
	margin-bottom: 15px;
}
.writer-info p {
	font-size: 16px;
	line-height: 24px;
	text-align: justify;
}
#writer-info-1 {
	padding-right: 6%;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;
	padding-bottom: 25px;
}
#writer-info-2 {
	padding-left: 6%;
}
@media only screen and (min-width: 721px) and (max-width: 960px) {
.writer-box {
	background-position: right -60px bottom ;
}
.writer-info h2 {
	font-size: 18px;
}
.writer-info p {
	font-size: 15px;
	line-height: 22.5px;
}
#writer-info-1 {
	padding-right: 6%;
}
#writer-info-2 {
	padding-left: 6%;
}
}
@media only screen and (max-width:720px) {
.writer {
	background-image: url(../images/img_writer_phone.png);
	background-position: right top 80px;
	background-repeat: no-repeat;
}
.writer-box {
	background-image: url(../images/space.png);
}
.writer-info {
	width: 100%;
	display: block;
}
.writer-info h2 {
	font-size: 18px;
}
.writer-info p {
	font-size: 15px;
	line-height: 22.5px;
}
#writer-info-1 {
	padding-right: 0%;
	border-right-style: none;
}
#writer-info-2 {
	padding-left: 0%;
}	
}
@media only screen and (max-width:600px) {
.writer {
	padding-top: 35px;
	background-image: url(../images/space.png);
}	
}




/* --------------------------------
 * 台灣海產隨堂考
 * -------------------------------- */
.test {
	padding-top: 50px;
	padding-bottom: 50px;
}
.test-box {
	display: inline-block;
	vertical-align: top;
	height: 290px;
	position: relative;
	padding-left: 30px;
	cursor: pointer;
}
.test-box h4 {
	font-size: 16px;
	color: #FFF;
	display: table-cell;
	background-color: #000;
	padding-top: 3px;
	padding-right: 3px;
	padding-bottom: 5px;
	padding-left: 3px;
}
.test-box p {
	font-size: 24px;
	line-height: 28.8px;
	margin-top: 20px;
}
#myBtn-a, #myBtn-b, #myBtn-c, #myBtn-d {
	width: 25%;
}
#myBtn-a, #myBtn-b, #myBtn-c {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCC;
}
#myBtn-a {
	background-image: url(../images/img_test_1.png);
	background-repeat: no-repeat;
	background-position: 40px 70px;
}
#myBtn-b {
	background-image: url(../images/img_test_2.png);
	background-repeat: no-repeat;
	background-position: left 105px;
}
#myBtn-c {
	background-image: url(../images/img_test_3.png);
	background-repeat: no-repeat;
	background-position: right 50px;
}
#myBtn-e {
	width: 100%;
	padding-top: 30px;
	background-image: url(../images/img_test_5.png);
	background-repeat: no-repeat;
	background-position: right 40px bottom;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
	margin-bottom: 100px;
}
#myBtn-a, #myBtn-e {
	padding-left: 0px;
}
#myBtn-a p, #myBtn-c p {
	margin-top: 135px;
}
#myBtn-e p {
	width: 500px;
}
.magnifier, .magnifier-4 {
	position: absolute;
	right: 20px;
	bottom: 20px;
}
.magnifier-5 {
	position: absolute;
	right: 20px;
	top: 20px;
}
/* The Modal (background) */
.modal-a, .modal-b, .modal-c, .modal-d, .modal-e {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 45px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
    color: #111;
	background-color: #fff;
    margin: auto;
    width: 40%;
	min-width:750px;
	font-size: 0;
}
.modal-box {
	padding-top: 50px;
	padding-right: 7%;
	padding-bottom: 60px;
	padding-left: 7%;
	text-align: center;
}
.modal-box .answer {
	width: 100%;
	margin-bottom: 15px;
	background-image: url(../images/answer_pop_bg.png);
	background-repeat: repeat-x;
	text-align: center;
}
.modal-box .answerbig {
	width: 100%;
	margin-bottom: 15px;
	background-image: url(../images/answerp_big_bg.png);
	background-repeat: repeat-x;
	text-align: center;
	display: none;
}
.modal-box .answerbig img {
	width: 40px;
}
.modal-box .seafood {
	margin-bottom: 20px;	
}
.modal-box .seafood img {
    width: 100%;
	max-width: 600px;
}
.modal-box h5 {
	font-size: 27px;
	line-height: 32.4px;
	margin-bottom: 20px;
	font-weight: 500;
}
#test5 {
	text-align: justify;
	text-justify: distribute;
   -ms-text-justify: inter-ideograph; /*IE9*/
   -webkit-text-align-last:justify; /*Chrome*/
}
.modal-box p {
	font-size: 16px;
	line-height: 24px;
	text-align: justify;
	text-justify: distribute;
   -ms-text-justify: inter-ideograph; /*IE9*/
   -webkit-text-align-last:justify; /*Chrome*/
}
.modal-box span {
	display: list-item;
	margin-left: 40px;
}
/* The Close Button */
.close-a, .close-b, .close-c, .close-d, .close-e, .close-f {
	float: right;
	background-color: #FFF;
	margin-top: 10px;
	margin-right: 10px;
}
.close-a:hover, .close-b:hover, .close-c:hover, .close-d:hover, .close-e:hover, .close-f:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
@media only screen and (max-width:960px) {
.modal-box h5 {
	font-size: 24px;
	line-height: 28.8px;
}
.modal-box p {
	font-size: 15px;
	line-height: 22.5px;
}
.modal-content {
    width: 80%;
	min-width:0px;
}
.modal-box {
	padding-right: 8%;
	padding-left: 8%;
}
}
@media only screen and (max-width:900px) {
.test-box {
	height: 250px;
}
.test-box p {
	font-size: 22px;
	line-height: 26.4px;
	font-weight: 500;
}
#myBtn-e p {
	width: 100%;
	text-align: justify;
	text-justify: distribute;
   -ms-text-justify: inter-ideograph; /*IE9*/
   -webkit-text-align-last:justify; /*Chrome*/
}
}	
@media only screen and (min-width: 721px) and (max-width: 900px) {
#myBtn-a, #myBtn-b, #myBtn-c, #myBtn-d {
	width: calc(100%/3);
}
#myBtn-a, #myBtn-b {
	border-right-style: none;
}
#myBtn-b, #myBtn-c {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
}
#myBtn-c {
	border-right-style: none;
	background-position: right -5px top 30px;
}
#myBtn-d {
	padding-top: 30px;
	padding-left: 0px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
}
#myBtn-e {
	width: calc(100% - 100%/3);
	height: 450px;
	background-position: right bottom;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	padding-left: 30px;
}
.magnifier-4 {
	top: 20px;
}
}
@media only screen and (max-width:720px) {
.test-box {
	height: 220px;
}
.test-box p {
	font-size: 21px;
	line-height: 25.2px;
}
#myBtn-a, #myBtn-b, #myBtn-c, #myBtn-d {
	width: 50%;
}
#myBtn-a, #myBtn-b {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}
#myBtn-a {
	background-position: 60px 50px;
}
#myBtn-b {
	border-right-style: none;
	background-position: left -15px bottom 10px;
}
#myBtn-c {
	padding-left: 0px;
}
#myBtn-c, #myBtn-d, #myBtn-e {
	padding-top: 20px;
}
#myBtn-e {
	height: 480px;
	background-position: right bottom;
	margin-bottom: 0px;
}
.modal-a, .modal-b, .modal-c, .modal-d, .modal-e, .modal-f {
    padding-top: 0px; 
}
#myBtn-a p, #myBtn-c p {
	margin-top: 100px;
}
.modal-content {
    width: 100%;
}
.modal-box {
	padding-top: 40px;
	padding-right: 8%;
	padding-left: 8%;
	padding-bottom: 45px;
}
.magnifier, .magnifier-4 {
	right: 10px;
	bottom: 10px;
}
.magnifier-5 {
	right: 10px;
	top: 10px;
}
.modal-box .answer {
	display: none;
}
.modal-box .answerbig {
	display: block;
}
}
@media only screen and (max-width:480px) {
.test-box p {
	font-size: 18px;
	line-height: 21.6px;
}
#myBtn-a {
	background-position: 30px 50px;
}
#myBtn-b {
	background-position: left -45px bottom 35px;
}
#myBtn-c {
	background-position: right -5px top 30px;
}
#myBtn-a {
	background-size: 60%;
}
#myBtn-b {
	background-size: 80%;
}
#myBtn-c {
	background-size: 80%;
}
#myBtn-e {
	height: 450px;
	background-size: 100%;
	background-position: right bottom 30px;
}
#myBtn-a p, #myBtn-c p {
	margin-top: 80px;
}
}











