﻿html{box-sizing:border-box}
*,*:before,*:after{box-sizing:inherit}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize*/
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{margin:0}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}
audio,canvas,progress,video{display:inline-block}
progress{vertical-align:baseline}
audio:not([controls]){display:none;height:0}[hidden],template{display:none}
a{background-color:transparent;-webkit-text-decoration-skip:objects}
a:active,a:hover{outline-width:0}
abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
dfn{font-style:italic}
mark{background:#ff0;color:#000}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{bottom:-0.25em}
sup{top:-0.5em}
figure{margin:1em 40px}
img{border-style:none}
svg:not(:root){overflow:hidden}
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}
hr{box-sizing:content-box;height:0;overflow:visible}
button,input,select,textarea{font:inherit;margin:0}
optgroup{font-weight:bold}
button,input{overflow:visible}
button,select{text-transform:none}
button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}
button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner{border-style:none;padding:0}
button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring{outline:1px dotted ButtonText}
fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}
legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}
textarea{overflow:auto}
[type=checkbox],[type=radio]{padding:0}
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-input-placeholder{color:inherit;opacity:0.54}
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}

body{
	background: #175361;
	color: #222;
	font-family: "Raleway", 微軟正黑體, "微軟正黑體", "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: 0.01em;
    overflow-x: hidden;
}
.bg{
	background: url(images/bg.jpg) 100% 0 no-repeat;
    background-position: center;
    background-size: cover;
}
.wrap{
    position: relative;
	max-width: 1200px;
	margin: 0 auto;
}
.leaf{
    position: absolute;
	background: url(images/banner-leaf.png) right top no-repeat;
    width: 310px;
    height: 170px;
    top: 0;
    right: 0;	
}

header{
    padding: 120px 0 60px;
}

a{
	color: #2f6b80;
	text-decoration: inherit;
}

.hover-underline {
  position: relative;
}
.hover-underline:after {
  border-bottom: 1px solid;
  width: 0;
  -webkit-transition: 0.35s;
  transition: 0.35s;
  position: absolute;
  bottom: -2px;
  left: 50%;
}
.hover-underline:after {
  content: "";
  display: block;
}

.hover-underline:hover:after, .hover-underline:active:after {
  width: 100%;
  left: 0;
}


header h1{
	color: #005069;
	font-size: 60px;
    font-weight: 400;
	text-align: center;
    letter-spacing: 2px;
}
main{
    min-height: 46vh;
}

main section{
	display: inline-block;
	width: 49%;
	text-align: center;
	color: #254147;
    vertical-align: top;
}

.link-box{
	position: relative;
	margin: 0 auto;
    max-width: 450px;
    height: 145px;
	border: 4px solid #fff;
    border-radius: 120px;
}
.link-box a{
	color: #005069;
}
.link-box a:hover{
	color: #2f6b80;
}
.link-box h2{
	position: absolute;
	z-index: 10;
	background: rgba(255, 255, 255,0.3);
    margin: 16px 20px;
    padding: 16px;
    border-radius: 120px;
	font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
    width: 400px;
}
.link-box h2:after{

	content: "";
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;

    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 120px;

    -webkit-transition: -webkit-transform 0.2s, opacity 0.3s;
    -moz-transition: -moz-transform 0.2s, opacity 0.3s;
    transition: transform 0.2s, opacity 0.3s;

    top: -2px;
    left: -2px;
    padding: 2px;
    z-index: -1;
    background: rgba(255, 255, 255, 1);

    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 0;
}
.link-box h2:hover:after{
	-webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
.info{
	margin: 20px auto;
    max-width: 400px;
}
.email{
	margin-top: 5px;
}

footer{
	border-top: 4px solid #80da64;
	background: #175361;
	color: #fff;
    padding: 0 10px;
}
.footer{
    padding: 20px 0;
}
.logo-section{
	display: inline-block;
}
.logo-idb{
	background: url(images/foot-logo.png) 0 center/contain no-repeat;
	display: inline-block;
    width: 210px;
    height: 46px;
    margin-right: 1.25rem;
}
@media only screen and (max-width: 563px) {
    .logo-idb{
        margin-bottom: 1rem;
    }
}
.logo-gp{
	background: url(images/foot-logo2.png) 0 center no-repeat;
	display: inline-block;
    width: 236px;
    height: 46px;
}
.logo{
	font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}
.copyright{
    float: right;
    padding-top: 30px;
}

@media only screen and (max-width: 1200px) {
	footer{
		padding: 0 40px;
	}
	.copyright{
		float: none;
	}
}
@media only screen and (max-width: 1024px) {
	.link-box {
    	height: 137px;
		max-width: 350px;
	}
	.link-box h2{
	    margin: 16px 20px;
	    padding: 16px;
	    letter-spacing: 1px;
	    width: 300px;
		font-size: 24px;
	}
}