@charset "utf-8";

/*視窗背景色設定*/
body {
    background-color: #6fbb9a;
    background-image: url(img/bg.png);
    background-repeat: repeat-x;
}

/*連結顏色設定*/
a {
    color: #00796b;
    font-weight: bold;
    transition: color 0.3s;
}
a:hover {
    color: #004d40;
    text-decoration: none;
}

/*頁首,導覽,頁尾的共通設定*/
header,nav,footer{
    text-align: center;
}

/*導覽樣式設定*/


/*頁面標題設定*/
h1 {
    width: 500px;
    margin: 40px auto;
    padding: 30px;
    border: 5px solid #ffffff;
    background-color: #80cbc4;
    color: #fff;
    font-size: 300%;
    text-align: center;
    line-height: 1;
    border-radius: 10px;
}
h2 {
    width: 350px;
    margin: 40px auto;
    padding: 30px;
    border: 5px solid #ffffff;
    background-color: #80cbc4;
    color: #fff;
    font-size: 300%;
    text-align: center;
    line-height: 1;
    border-radius: 10px;
}

/*次標題設定*/
h3, .h{
    padding: 10px;
    margin-bottom: 30px;
    border: 1px dotted #b2dfdb;
    border-left:10px solid #4db6ac;
    color: #00796b;
    background-color: #f5fdfc;
}

/*小標題設定*/
.h-sub span{
    font-weight: normal;
}

/*內容區塊邊框設定*/
#contents{
    margin: 40px;
    padding: 40px 80px;
    border: 1px solid #b2dfdb;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/*「更多介紹」連結設定*/


/*連結圖示設定*/
.more{
    text-align: left;
}
.more::after {
  content: url(img/ico_arrow.png);
  margin-left: 3px;
  vertical-align: middle;
}
/*區塊間分隔*/
#contents > section + section{
    margin-top: 80px;
}

/*文繞圖設定*/


/*圓形圖片設定*/



#intro {
    margin: 40px;
    padding: 40px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 10px;
}

h1::after {
    content: "";
    display: block;
    height: 20px;
    margin-top: 10px;

    background-image: url("title-bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

h1 {
    width: 500px;
    margin: 40px auto;
    padding: 30px;

    background: linear-gradient(to right, #26a69a, #00796b);

    color: white;

    border-radius: 20px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);

    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);

    text-align: center;
}


img {
    display: block;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 左上 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-image: url("corner1.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* 右上 */
html::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: url("corner2.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* 左下 */
body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-image: url("corner3.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* 右下 */
html::after {
    content: "";
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: url("corner4.png");
    background-size: contain;
    background-repeat: no-repeat;
}
