﻿@charset "utf-8";

/*視窗背景色設定*/
body {
    /*
    background-color: #fbf9cc;
    background-image: url(img/bg.png);
    background-repeat: repeat-x; 不重複
    */    
    background: 
    url(img/左上花邊.png) no-repeat left top,    /* 第1層：左上花邊 */
    url(img/左下花邊.png) no-repeat left bottom, /* 第2層：左下花邊 */
    url(img/右下花邊.png) no-repeat right bottom,/* 第3層：右下花邊 */
    url(img/右上花邊.png) no-repeat right top,
    url(img/bg.png) repeat-x right top,          /* 第4層：bg.png 底紋 */
    #fbf9cc;                                     /* 第5層：背景色（最後） */
    background-attachment: fixed; /*背景圖位置固定*/
    background-size: 
    80px 80px,   /* 左上花邊尺寸 */
    80px 80px,   /* 右上花邊尺寸 */
    80px 80px,   /* 左下花邊尺寸 */
    80px 80px,   /* 右下花邊尺寸 */
    50px 70px,   /* bg.png 尺寸 */
    auto;        /* 背景色無需尺寸，填 auto */
}

/*連結顏色設定*/
a {
  color: #df4839;
}
a:hover {
  color: #ff705b;
  text-decoration: none;
}

/*頁首,導覽,頁尾的共通設定*/
header,nav,footer {
  text-align: center;
}

/*導覽樣式設定*/
.menu li {
  list-style-type: none;
  border: 1px solid #f00;
  display: inline-block;
  width: 180px;
  margin: 0 10px;
}
.menu a{
  display: block;
  padding: 10px;
  background: #6fbb9a;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}
.menu a:hover{
  background: #90ddbb;
}

/*頁面標題設定*/
h1 {
  width: 300px;
  margin: 40px auto;
  padding: 30px;
  border: 5px solid #95dbbd;
  background-color: #6fbb9a;
  color: #fff;
  font-size: 300%;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  text-shadow: 1px 1px 2px #307657;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  background-image: linear-gradient(to bottom, #6fbb9a, #4a9d79);
  font-family: "Limelight", cursive;
}

/*次標題設定*/
.h {
  padding: 10px;
  margin-bottom: 30px;
  border: 1px dotted #94c8b1;
  border-left: 10px solid #d0e35b;
  color: #6fbb9a;
  border-radius: 5px 0 0 5px;
}

/*小標題設定*/
.h-sub span{
  font-weight: normal;
}
.h-sub{
  padding: 10px;
  background-color: #fbf9cc;
  color: #ff705b;
  border-radius: 10px;
  box-shadow: 0 0 5px 2px #ffd0ad inset;
}

/*內容區塊邊框設定*/
#contents {
  width: 798px;
  margin: 40px auto;
  padding: 40px 80px;
  border: 1px solid #f6bb9e;
   background: 
    url(img/裝飾.png) no-repeat 95% 5%, /* 第1層：小裝飾圖（最上層，不被擋） */
    url(img/bg_base.jpg) repeat,     /* 第2層：底圖（no-repeat 不重複） */
    #fff;                               /* 第3層：內容區底色 */
  background-size: 
    80px 80px,
    auto,    /* bg_base.png 原尺寸重複 */
    auto;   /* 底色無需尺寸 */
  background-attachment: local;
}

/*「更多介紹」連結設定*/
.more {
  text-align: right;
}
.more::after {
  content: url(img/ico_arrow.png);
  margin-left: 3px;
  vertical-align: middle;
}

/*連結圖示設定*/
a[target="_blank"]::after {
  content: url(img/ico_blank.png);
  margin-left: 5px;
  vertical-align: middle;
}
a[href^="mailto:"]::after {
  content: url(img/ico_mail.png);
  margin-left: 5px;
  vertical-align: middle;
}

/*區塊間分隔*/
#contents > section + section {
  margin-top: 80px;
}

/*文繞圖設定*/
.imgL{
  float: left;
  margin-right: 20px;
}
.imgR{
  float: right;
  margin-left: 20px;
}
.clear{
  clear: both;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/*圓形圖片設定*/


