@charset "UTF-8";

/*! default settings for website. */

body {
  width: 90%;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "源ノ角ゴシック JP", "Noto Sans JP", "Helvetica Neue", "Hiragino Kaku Gothic ProN", Verdana, "メイリオ", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a {
  color: #003399;
}
a:hover, a:focus {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
p {
  margin: 0 0 1em;
}
pre {
  margin: 0 0 1em;
  white-space: pre-wrap;
  word-wrap: break-word;
}
table {
  border-collapse: collapse;
  border-spacing: 0px;
  empty-cells: show;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style-position: outside;
  list-style-type: none;
}
em {
  font-style: italic;
}
strong {
  font-weight: bold;
}
small {
  font-size: 80%;
}
address {
  margin: 0 0 1em;
  font-style: normal;
}
sup {
  font-size: 70%;
  vertical-align: super;
}
sub {
  font-size: 70%;
  vertical-align: sub;
}

/* common classes
========================================================================== */

/* midashi
----------------------------------------------- */
.body h1, .body h2, .body h3, .body h4, .body h5 {
  margin: 1em 0;
  font-weight: bold;
}
.body h2 {
  padding: 5px 15px;
  font-size: 140%;
}
.body h3 {
  padding: 5px 7px;
  border-left: 8px solid #999;
  font-size: 130%;
}
.body h4 {
  padding: 3px 10px;
  border-left: 4px solid #999;
  font-size: 120%;
}
.body h5 {
  font-size: 110%;
}
.body h6 {
  font-size: 100%;
}
.body ul {
  margin: 0 25px 15px;
}
.body ul li {
  list-style-type: disc;
}
.body ul ul li {
  list-style-type: circle;
}
.body ol {
  margin: 0 15px 15px 30px;
}
.body ol li {
  list-style-type: decimal;
}
.body dl {
  margin: 5px 0 10px;
}
.body dl dt {
  margin-top: 10px;
  font-weight: bold;
}
.body table {
  width: auto;
  max-width: 100%;
  margin: 0 0 20px;
  border: 1px solid #ccc;
/*
  table-layout: fixed;
*/
}
.body table[align="center"] { /* 表のプロパティの行揃え「中央」 */
  margin-left: auto;
  margin-right: auto;
}
.body table[align="right"] { /* 表のプロパティの行揃え「右」 */
  margin-left: auto;
  margin-right: 0;
}
.body table[align="left"] { /* 表のプロパティの行揃え「左」 */
  margin-left: 0;
  margin-right: auto;
}
.body table caption {
  font-weight: bold;
  text-align: center;
}
.body th, .body td {
  width: auto;
  padding: 3px;
  border: 1px solid #ccc;
  vertical-align: middle;
  word-wrap: break-word;
}
.body table p {
  margin-left: 0;
  padding: 0;
  text-indent: 0;
}
.body table ul,
.body table ol {
  margin: 0 0 5px 20px;
}
/*
.body table[width] {
  width: 100% !important;
  table-layout: fixed;
}
*/
.body table img {
  max-width: 100%;
  height: auto;
}
/*
.body table table {
  table-layout: fixed;
}
*/

/* more
----------------------------------------------- */
.more {
  padding: 8px 10px;
  border-radius: 5px;
  background: #f2f2f2;
  text-align: center;
}
.more a {
  padding: 1px 0 1px 18px;
  background: url(./images/ic-shinchaku.png) left center no-repeat;
}

/* pagination
----------------------------------------------- */
.pagination {
  margin-top: 20px;
  text-align: center;
}
.pagination a, .pagination em, .pagination span {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 0 6px;
  font-style: normal;
  vertical-align: middle;
}
#calendar .pagination a, #calendar .pagination em, #calendar .pagination span,
.calendarEvents .pagination a, .calendarEvents .pagination em, .calendarEvents .pagination span {
  padding: 0 3px;
}
.pagination .current {
  font-size: 150%;
  font-weight: bold;
}
.pagination .separator {
  display: none;
}
#calendar .pagination .separator,
.calendarEvents .pagination .separator {
  display: inline-block;
}

/* Icons.
----------------------------------------------- */
.iconFile, .iconDefault {
  display: inline-block;
  min-height: 16px;
  padding-left: 22px;
  background-position: left 0.15em;
  background-repeat: no-repeat;
  background-image: url(/_common/images/icons/default.png);
}
.iconBmp {
  background-image: url(/_common/images/icons/bmp.png);
}
.iconCsv,
.iconTxt {
  background-image: url(/_common/images/icons/default.png);
}
.iconDoc,
.iconDocx {
  background-image: url(/_common/images/icons/doc.png);
}
.iconGif {
  background-image: url(/_common/images/icons/gif.png);
}
.iconJpg,
.iconJpe,
.iconJpeg {
  background-image: url(/_common/images/icons/jpg.png);
}
.iconJtd {
  background-image: url(/_common/images/icons/jtd.png);
}
.iconLzh {
  background-image: url(/_common/images/icons/lzh.png);
}
.iconPdf {
  background-image: url(/_common/images/icons/pdf.png);
}
.iconPng {
  background-image: url(/_common/images/icons/png.png);
}
.iconPpt,
.iconPptx {
  background-image: url(/_common/images/icons/ppt.png);
}
.iconXls,
.iconXlsx {
  background-image: url(/_common/images/icons/xls.png);
}
.iconZip {
  background-image: url(/_common/images/icons/zip.png);
}

/* CKEditor templates
----------------------------------------------- */
.temp1, .temp2, .temp3, .temp4 {
  clear: both;
  margin-bottom: 20px;
}
.temp1 .thumb {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}
.temp2 .thumb {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}
.temp3, .temp4 {
  text-align: center;
}
.temp3 dl, .temp4 dl, .temp9 dl {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin: 0 5px;
  vertical-align: bottom;
}
.temp3 dl {
  max-width: 48%;
}
.temp4 dl {
  max-width: 31%;
}
.temp9 dl {
  min-width: 18%;
  margin-bottom: 15px;
}
.temp3 dl dt, .temp4 dl dt, .temp9 dl dt {
  margin: 0 0 10px;
  text-align: center;
}
.temp3 dl dd, .temp4 dl dd, .temp9 dl dd {
  text-align: center;
}
table.temp5 {
  width: 100%;
}
.temp7 {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ffaaaa;
  background-color: #fff3f3;
}
.temp7 p {
  margin: 0 0 10px 0;
}
.temp8 .thumb {
  float: left;
  margin-right: 18px;
  margin-bottom: 10px;
}
.temp8 .text {
  float: left;
  width: 530px;
}
.temp8 dl {
  margin: 0;
  padding: 0;
  border-top: 1px solid #000;
}
.temp8 dl dt,
.temp8 dl dd {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin: 0;
  vertical-align: middle;
}
.temp8 dl dt {
  font-size: 110%;
  font-weight: bold;
}

/* adobeReader download
----------------------------------------------- */
.adobeReader, .temp7 {
  clear: both;
  margin: 0 0 20px;
  padding: 10px 20px 10px 150px;
  border: 1px solid #ffaaaa;
  background: #fff3f3 url("./images/adobe_bn.gif") 20px center no-repeat;
}

/* clearfix
----------------------------------------------- */
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}

/* google custom search
========================================================================== */
.gsc-control-cse table {
  margin: 0;
  table-layout: auto;
}
.gsc-control-cse table, .gsc-control-cse th, .gsc-control-cse td {
  padding: 0;
  border: 0;
}
#___gcse_0 {
  display: inline-block;
  vertical-align: middle;
}
#___gcse_0 > .gsc-control-cse {
  padding: 0 !important;
  background-color: transparent !important;
  border: none !important;
}
#___gcse_0 table.gsc-search-box {
  width: 223px;
}
#___gcse_0 .gsc-input-box {
  width: 170px;
  padding: 0;
  border-color: #ccc;
}
.gsc-search-box-tools .gsc-search-box .gsc-input {
  max-height: 100%;
  padding: 0 !important;
}
.gsib_a {
  padding: 1px 8px !important;
}
table.gsc-search-box td {
  vertical-align: bottom !important;
}
.cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2,
input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus {
  margin: 0 !important;
  padding: 6px 18px !important;
  border-color: #4d4d4d !important;
  background-image: none !important;
  background-color: #4d4d4d !important;
  filter: none !important;
}
.gsc-results .gsc-cursor-box {
  text-align: center;
}
.cse .gsc-control-cse, .gsc-control-cse {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
form.gsc-search-box {
  margin: 0 !important;
}
table.gsc-search-box {
  margin: 0 !important;
}
input.gsc-search-button {
  background-color: #000 !important;
  filter: none !important;
}
/* IE11で検索語入力中に×が二個表示される問題 */
@media all and (-ms-high-contrast:none){
  .gsst_b { display: none; }
}

/* accessibilityTool
========================================================================== */
#accessibilityTool {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0 auto;
  padding: 15px 0 0;
  font-size: 90%;
}

/* block-skip
----------------------------------------------- */
#nocssread {
  float: left;
}
#nocssread a {
  display: block;
  width: 0;
  height: 0;
  margin-right: 0.25em;
  overflow: hidden;
}
#nocssread a:focus,
#nocssread a.show {
  width: auto;
  height: auto;
  padding: 0 10px;
  background-color: #f2cfd8;
}

/* tools
----------------------------------------------- */
#accessibilityTool .pieceBody ul {
  display: inline;
  float: right;
}
#accessibilityTool .pieceBody li ul {
  float: none;
  letter-spacing: -.40em;
}
#accessibilityTool .pieceBody li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin-left: .25em;
  padding: 0;
  letter-spacing: normal;
  vertical-align: middle;
}
#accessibilityTool .pieceBody li:first-child,
#accessibilityTool .pieceBody li li {
  margin-left: 0;
  *margin-left: 3px;
  padding: 0;
  border-left: none;
}
#accessibilityTool .pieceBody a {
  color: #333;
  text-decoration: none;
}
#accessibilityTool .pieceBody a:focus,
#accessibilityTool .pieceBody a:hover {
  color: #007832;
}
#accessibilityTool .pieceBody li li a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 4px 4px 2px;
  border: 1px solid #ccc;
  border-left: none;
  line-height: 1;
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffffff 0%, #e6e6e6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ffffff 0%,#e6e6e6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ffffff 0%,#e6e6e6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */
}
#accessibilityTool .pieceBody li li:first-child a {
  border-left: 1px solid #ccc;
}
#accessibilityTool .pieceBody li li a:focus,
#accessibilityTool .pieceBody li li a:hover {
  color: #000;
}
#accessibilityTool .pieceBody .fontSize a:focus,
#accessibilityTool .pieceBody .fontSize a:hover {
  background-color: #e2fab2;
}
#accessibilityTool .pieceBody .themeColor #themeBlack {
  border-color: #000;
  background: #000;
  filter: none;
  color: #fff;
}
#accessibilityTool .pieceBody .themeColor #themeBlue {
  border-color: #00f;
  background: #00f;
  filter: none;
  color: #fff;
}

/* common piece style
========================================================================== */
#main .piece {
  margin-bottom: 20px;
}

/* common header
----------------------------------------------- */
#commonHeader {
  padding: 20px 0 15px;
}
#commonHeader h1 {
  float: left;
  margin: 0;
}
#commonHeader .menu {
  float: right;
  padding-top: 30px;
  text-align: right;
}
#commonHeader .lowerMenu #gsearchbox, #commonHeader .lowerMenu ul {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: middle;
}
#commonHeader .lowerMenu ul li {
  float: left;
  margin-left: 5px;
}
#commonHeader .lowerMenu ul li a {
  display: block;
  padding: 4px 10px 2px;
  text-decoration: none;
}
#commonHeader .lowerMenu ul li a img {
  margin: 0 0 .25em 5px;
  vertical-align: middle;
  *zoom: 1;
}
#commonHeader .lowerMenu ul li a.btn{
  border: 1px solid #ccc;
  color: #333;
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffffff 0%, #e6e6e6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ffffff 0%,#e6e6e6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ffffff 0%,#e6e6e6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */
}
#commonHeader .lowerMenu ul li a.edu {
  background: #0058B1;
  border: 1px solid #0058B1;
  color: #fff;
}

/* global navi
----------------------------------------------- */
#globalNavi {
  margin-bottom: 20px;
  background: #ccc;
}
#globalNavi .pieceContainer {
  background: url(./images/globalnavi_repeat.png);
}
#globalNavi .pieceBody {
  margin: 0 auto;
}
#globalNavi .pieceBody ul {
  display: -webkit-box;/* Android4.3以前ブラウザ用 */
  display: -webkit-flex;/* iOS8以前Safari用 */
  display: flex;
  -webkit-box-align: center;/* Android4.3以前ブラウザ用 */
  -webkit-align-items: center;/* iOS8以前Safari用 */
  align-items: center;
  -webkit-box-pack: center;/* Android4.3以前ブラウザ用 */
  -webkit-justify-content: center;/* iOS8以前Safari用 */
  justify-content: center;
}
#globalNavi .pieceBody li {
  -webkit-box-flex: 1;/*--- Android4.3以前ブラウザ用 ---*/
  -webkit-flex: 1;/*--- iOS8以前Safari用 ---*/
  flex: 1;
  float: left\9;
  width: 14.28%\9;
}
#globalNavi .pieceBody li a {
  display: block;
  padding: 15px 0;
  color: #000;
  font-size: 120%;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
#globalNavi .pieceBody li a:hover,
#globalNavi .pieceBody li.current a {
  background: rgba(255, 255, 255, 0.5)
}
#globalNavi .pieceBody li a span:before,
#globalNavi .pieceBody li:first-child a span:after {
  content: "";
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  display: block;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}
#globalNavi .pieceBody li:first-child a span:after {
  left: 0;
}
#globalNavi .pieceBody li a span {
  position: relative;
  display: block;
  border-style: solid;
  border-color: #999;
  border-width: 0 1px 0 0;
  line-height: 1.1;
}
#globalNavi .pieceBody li:first-child a span {
  border-left-width: 1px;
}

/* bread crumbs
----------------------------------------------- */
#breadCrumbs .pieceBody {
  margin: -5px auto 15px;
}
#breadCrumbs li:before {
  content: ">";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
}
#breadCrumbs li:last-child:before {
  content: "";
  display: none;
}
#breadCrumbs li {
  position: relative;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin-right: 0.5em;
  padding-right: 1em;
}

/* common footer
----------------------------------------------- */
#commonFooter {
  background: #e6e6e6;
}
#commonFooter .pieceBody {
  margin: 0 auto;
  padding: 5px 0;
  text-align: center;
}
#commonFooter address {
  margin: 0;
}

/* copyright
----------------------------------------------- */
#copyright {
  background: url(./images/footer-repeat.png);
}
#copyright .pieceBody {
  margin: 0 auto;
  padding: 5px 0;
  color: #fff;
  text-align: center;
}

/* page title
----------------------------------------------- */
#pageTitle {
  margin-bottom: 10px !important;
}
#pageTitle h1 {
  padding: 15px 15px 10px;
  border-top: 1px solid #999;
  border-bottom: 3px solid #dcdcdc;
  font-size: 150%;
  background: #fefefe; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffffff 0%, #e6e6e6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ffffff 0%,#e6e6e6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ffffff 0%,#e6e6e6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */
}

/* link list　　山川高校改造ポイント
----------------------------------------------- */
#linkList h2 {
  padding:5px;
  font-size:14px;
  color:#fff;
  background:#6E6E6E;
}
#linkList ul {
  margin: 0 0 0 20px;
/*  border:1px solid #EFEBEF; */
}
#linkList li {
  margin-bottom: 5px;
  list-style: none;
  border-bottom:1px solid #E7E7EF;
}
#linkList li a {
  display:block;
  padding:5px 5px 5px 15px;
  background:url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList li a:hover {
  display:block;
  color:#333;
  background:#EFEBEF url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList li:last-child {
  margin-bottom: 0;
}
#linkList1 h2 {
  padding:5px;
  font-size:14px;
  color:#fff;
  background:#6E6E6E;
}
#linkList1 ul {
  margin: 0 0 0 20px;
/*  border:1px solid #EFEBEF; */
}
#linkList1 li {
  margin-bottom: 5px;
  list-style: none;
  border-bottom:1px solid #E7E7EF;
}
#linkList1 li a {
  display:block;
  padding:5px 5px 5px 15px;
  background:url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList1 li a:hover {
  display:block;
  color:#333;
  background:#EFEBEF url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList1 li:last-child {
  margin-bottom: 0;
}
#linkList2 h2 {
  padding:5px;
  font-size:14px;
  color:#fff;
  background:#6E6E6E;
}
#linkList2 ul {
  margin: 0 0 0 20px;
/*  border:1px solid #EFEBEF; */
}
#linkList2 li {
  margin-bottom: 5px;
  list-style: none;
  border-bottom:1px solid #E7E7EF;
}
#linkList2 li a {
  display:block;
  padding:5px 5px 5px 15px;
  background:url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList2 li a:hover {
  display:block;
  color:#333;
  background:#EFEBEF url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList2 li:last-child {
  margin-bottom: 0;
}
#linkList3 h2 {
  padding:5px;
  font-size:14px;
  color:#fff;
  background:#6E6E6E;
}
#linkList3 ul {
  margin: 0 0 0 20px;
/*  border:1px solid #EFEBEF; */
}
#linkList3 li {
  margin-bottom: 5px;
  list-style: none;
  border-bottom:1px solid #E7E7EF;
}
#linkList3 li a {
  display:block;
  padding:5px 5px 5px 15px;
  background:url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList3 li a:hover {
  display:block;
  color:#333;
  background:#EFEBEF url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList3 li:last-child {
  margin-bottom: 0;
}
#linkList4 h2 {
  padding:5px;
  font-size:14px;
  color:#fff;
  background:#6E6E6E;
}
#linkList4 ul {
  margin: 0 0 0 20px;
/*  border:1px solid #EFEBEF; */
}
#linkList4 li {
  margin-bottom: 5px;
  list-style: none;
  border-bottom:1px solid #E7E7EF;
}
#linkList4 li a {
  display:block;
  padding:5px 5px 5px 15px;
  background:url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList4 li a:hover {
  display:block;
  color:#333;
  background:#EFEBEF url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList4 li:last-child {
  margin-bottom: 0;
}
#linkList5 h2 {
  padding:5px;
  font-size:14px;
  color:#fff;
  background:#6E6E6E;
}
#linkList5 ul {
  margin: 0 0 0 20px;
/*  border:1px solid #EFEBEF; */
}
#linkList5 li {
  margin-bottom: 5px;
  list-style: none;
  border-bottom:1px solid #E7E7EF;
}
#linkList5 li a {
  display:block;
  padding:5px 5px 5px 15px;
  background:url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList5 li a:hover {
  display:block;
  color:#333;
  background:#EFEBEF url("http://www.edu.pref.kagoshima.jp/_files/00004152/bg_arrow.gif") 5px 50% no-repeat;
  text-decoration:none;
}
#linkList5 li:last-child {
  margin-bottom: 0;
}

/* side */
/*#menu #linkList .pieceBody, #links #linkList .pieceBody {
  border: 5px solid #f2f2f2;
}*/
/*#menu #linkList ul, #links #linkList ul {
  margin: 10px 5px 10px 25px;
}*/
-----------------------------------------------------*/
/* banner
----------------------------------------------- */
/* content */
#content #relationBanner ul, #content #adBanner ul {
  margin: 0 -5px;
  letter-spacing: -.40em;
  text-align: center;
}
#content #relationBanner li, #content #adBanner li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin: 0 5px 10px;
  letter-spacing: normal;
}
.upper_text, .lower_text {
  margin-bottom: 20px;
}

/* side */
#menu #relationBanner li, #menu #adBanner li,
#links #relationBanner li, #links #adBanner li {
  margin-bottom: 20px;
}
#menu #relationBanner li:last-child, #menu #adBanner li:last-child,
#links #relationBanner li:last-child, #links #adBanner li:last-child {
  margin-bottom: 0;
}

/* keyvisual
----------------------------------------------- */
#keyvisual {
  text-align: center;
}

/* recent docs tab
----------------------------------------------- */
#recentDocsTab .pieceBody .tabs:before, #recentDocsTab .pieceBody .tabs:after {
  content: "";
  display: table;
}
#recentDocsTab .pieceBody .tabs:after {
  clear: both;
}
#recentDocsTab .pieceBody .tabs {
  border-top: 1px solid #999;
  background: #fefefe; /* Old browsers */
  background: -moz-linear-gradient(top,  #fefefe 0%, #e6e6e6 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #fefefe 0%,#e6e6e6 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #fefefe 0%,#e6e6e6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#e6e6e6',GradientType=0 ); /* IE6-9 */
}
#recentDocsTab .pieceBody .tabs li:before {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  bottom: 10px;
  display: block;
  width: 1px;
  background: #ccc;
}
#recentDocsTab .pieceBody .tabs li:nth-child(5n)::before {
  background: none;
}
#recentDocsTab .pieceBody .tabs li {
  position: relative;
  float: left;
  width: 20%;
  padding: 8px 10px 10px;
  box-sizing: border-box;
}
#recentDocsTab .pieceBody .tabs li a:hover:before,
#recentDocsTab .pieceBody .tabs li.current a:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 0;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: #ccc;
}
#recentDocsTab .pieceBody .tabs li a {
  position: relative;
  display: block;
  padding: 4px 0 3px;
  color: #000;
  text-align: center;
  text-decoration: none;
}
#recentDocsTab .pieceBody .tabs li a:hover,
#recentDocsTab .pieceBody .tabs li.current a {
  background: #ccc;
}
#recentDocsTab .pieceBody .wrapper .content li {
  padding: 12px 10px 10px;
  border-bottom: 1px dotted #ccc;
}
#recentDocsTab .pieceBody .wrapper .links {
  margin-top: 12px;
}
#recentDocsTab .pieceBody .wrapper .links .feed {
  display: none;
}

/* calendar
----------------------------------------------- */
#calendar {
  background: #ccc;
  overflow: hidden;
}
#calendar .pieceHeader {
  padding: 7px 0 0;
  text-align: center;
}
#calendar h2 {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 1px 0 1px 18px;
  background-position: left center;
  background-repeat: no-repeat;
}
#calendar .pieceBody {
  margin: 5px 7px 10px;
  background-color: #fff;
}
#calendar .pieceBody h3 {
  padding: 5px 0;
  border-top: 2px solid #999;
  font-weight: bold;
  text-align: center;
}
#calendar .pieceBody table {
  width: 90%;
  margin: 0 auto;
  font-size: 90%;
}
#calendar .pieceBody th, #calendar .pieceBody td {
  height: 24px;
  line-height: 24px;
  padding: 0;
  border: 1px solid #ccc;
  text-align: center;
}
#calendar .pieceBody table a {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
}
#calendar .pieceBody .wdays .sat {
  color: #2e3192;
}
#calendar .pieceBody .days .sat {
  color: #0066cc;
}
#calendar .pieceBody .sat a {
  color: #003399;
}
#calendar .pieceBody .wdays .sun {
  color: #c1272d;
}
#calendar .pieceBody .days .sun {
  color: #c00;
}
#calendar .pieceBody table .sun a {
  color: #c00;
}
#calendar .pieceBody table .prevMonth,
#calendar .pieceBody table .nextMonth {
  text-indent: -9999px;
}
#calendar .pieceBody .pagination {
  margin-top: 0;
  padding: 5px 0;
  text-align: center;
}

/* back btn
----------------------------------------------- */
.back-btn {
  display: none;
  text-align: center;
}
.back-btn a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 5px 80px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
}
.contentGpArticleDoc + .back-btn {
    display: block;
}

/* top back btn
----------------------------------------------- */
.top-back-btn {
  display: none;
  text-align: center;
}
.top-back-btn a {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 5px 80px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
}
.contentGpArticleDoc + .top-back-btn {
    display: block;
}

/* common content style
========================================================================== */

/* category
----------------------------------------------- */
.contentGpCategoryCategoryTypes h2 {
  padding: 12px 10px 10px;
  border-bottom: 1px dotted #ccc;
}
.contentGpCategoryCategoryType h2 {
  display: none;
}
.contentGpCategoryCategoryType li {
  padding: 12px 10px 10px;
  border-bottom: 1px dotted #ccc;
}
.contentGpCategoryCategory section.docs-all .more {
  margin-top: 12px;
}

/* docs
----------------------------------------------- */
.contentGpArticleDocs .docs li,
.contentGpCategoryDoc .docs li,
.contentGpCategory ul li {
  padding: 12px 10px 10px;
  border-bottom: 1px dotted #ccc;
}

/* doc
----------------------------------------------- */
.contentGpArticleDoc > div {
  margin-bottom: 2em;
}
.contentGpArticleDoc .date {
  margin-bottom: 1em;
  text-align: right;
}
.contentGpArticleDoc .maps h2,
.contentGpArticleDoc .rels h2,
.contentGpArticleDoc .tags h2 {
  margin-bottom: 10px;
  padding: 5px 10px;
  background-color: #e6e6e6;
  font-size: 110%;
}
.contentGpArticleDoc .rels ul {
  margin-left: 25px;
}
.contentGpArticleDoc .rels li {
  list-style-type: disc;
}
.contentGpArticleDoc .tags ul {
  margin-left: 10px;
}
.contentGpArticleDoc .tags li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin: 0 5px 10px 0;
}

/* content tag
----------------------------------------------- */
.contentTagTag {
  margin: 0 0 20px;
}
.contentTagTag h2 {
  margin-bottom: 10px;
  padding: 5px 10px;
  background-color: #e6e6e6;
  font-size: 110%;
}
.contentTagTag ul li {
  padding: 12px 10px 10px;
  border-bottom: 1px dotted #ccc;
}

/* event calendar
----------------------------------------------- */
.calendarEvents h2 {
  margin-bottom: 10px;
  padding: 5px 10px;
  background-color: #e6e6e6;
  font-size: 110%;
}
.upperPagination, .lowerPagination {
  margin: 10px 0;
}
.calendarEvents table {
  width: 100%;
  margin: 0 0 20px;
  border: 1px solid #ccc;
}
.calendarEvents table th,
.calendarEvents table td {
  padding: 5px 15px;
  border: 1px solid #ccc;
}
.calendarCalendarEvents table th,
.calendarCalendarEvents table td {
  width: 14%;
}
.calendarEvents table th {
  background: #e6e6e6;
  vertical-align: middle;
}
.calendarEvents table td {
  vertical-align: top;
}
.calendarMonthlyEvents table td,
.calendarTodayEvents table td {
  vertical-align: middle;
}
.calendarEvents table td.image {
  width: 130px;
  padding: 5px 0;
  text-align: center;
}
.calendarEvents table .image img {
  max-width: 120px;
  height: auto;
}
.calendarEvents table .event p {
  display: inline;
}
.calendarEvents table .event p.category {
  margin-left: 5px;
}
.calendarEvents table .date .closeDate {
  display: block;
}
.calendarEvents table .sun,
.calendarEvents table .holiday {
  color: #ee0000;
}
.calendarEvents table .sat {
  color: #3366ff;
}
.calendarCalendarEvents table p.category span {
  display: block;
}

