﻿body {
  font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
  margin: 0;
}

/* コンテナ */
div#container {
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  padding: 0 40px;
  background-image: url(img/circle.png), url(img/circle-yellow.png);
  background-repeat: no-repeat;
  background-position: 20px 640px, 100px 540px;
}

/* ヘッダー */
header#pageheader {
  background: none;
  padding: 20px 0 0;
  background-image: url(.png);
  background-repeat: no-repeat;
  background-position: 20px 60px;
  margin-bottom: 0;
}

header#pageheader h1 {
  margin: 0;
  padding-left: 5px;
  float: left;
  font-size: 36px;
  font-weight: normal;
  font-family: 'Georgia';
}

header#pageheader h2 {
  color: #666666;
  font-size: 0.75em;
  margin: 0;
  padding-top: 20px;
  padding-right: 10px;
  text-align: right;
  font-weight: normal;
}

nav {
  clear: both;
}

/* メニュー */
nav ul {
  font-size: 0.9em;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0;
  padding-left: 0;
  height: 30px;
  background-color: #0099ff;
  border-radius: 5px;
  background: -webkit-gradient(linear, left top, left bottom, from(#285294), color-stop(50%, #4074c9), color-stop(80%, #6791d4), to(#a3bce5));
  background: -webkit-linear-gradient(#285294 0%, #4074c9 50%, #6791d4 80%, #a3bce5 100%);
  background: -moz-linear-gradient(#285294 0%, #4074c9 50%, #6791d4 80%, #a3bce5 100%);
  background: -o-linear-gradient(#285294 0%, #4074c9 50%, #6791d4 80%, #a3bce5 100%);
  background: -ms-linear-gradient(#285294 0%, #4074c9 50%, #6791d4 80%, #a3bce5 100%);
}

nav ul li {
  list-style-type: none;
  float: left;
}

nav ul li a {
  display: block;
  width: 150px;
  line-height: 30px;
  text-decoration: none;
  text-align: center;
  color: #ffffff;
  border-right: solid 1px rgba(255,255,255,0.3);
}

nav ul li a:hover {
  background-color: #65a3fe;
}

nav ul li:first-of-type a:hover {
  border-radius: 5px 0 0 5px;
}

div.text {
  text-indent: 1em;
  display: inline-block;
}

/* ヘッダー画像 */
div#slideshow {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  clear: both;
  display: block;
}

div#slideshow ul {
  padding-left: 5px;
  margin: 0;
  padding-top: 5px;
}

/* お知らせ */
aside#news {
  border: solid 1px #aaaaaa;
  margin: 5px 0 10px;
  padding: 10px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  background-color: rgba(255,255,255,0.5);
  clear: both;
  display: block;
}

aside#news h1 {
  font-size: 24px;
  color: #000000;
  padding-left: 10px;
  margin: 0;
  font-weight: normal;
}

aside#news ul {
  margin-top: 0;
  margin-bottom: 5px;
  padding-left: 40px;
}

/* コンテンツ */
article	{
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

article header {
  border: solid 1px #aaaaaa;
  margin: 10px 0 5px;
  padding: 10px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  background-color: rgba(255,255,255,0.5);
}

article header h1 {
  background: none;
  font-size: 24px;
  color: #000000;
  line-height: 55px;
  padding-left: 10px;
  margin: 0;
  font-weight: normal;
  float: left;
}

article header p {
  font-size: 15px;
  color: #444444;
  margin-left: 190px;
  text-align: left;
  padding-top: 0;
}

article section	{
  clear: both;
  border: solid 1px #aaaaaa;
  margin: 10px 0 10px;
  padding: 18px;
  border-radius: 5px;
  overflow: hidden;
  -webkit-box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  background-color: rgba(255,255,255,0.5);
}

article section h1 {
  background: none;
  font-size: 24px;
  font-weight: normal;
  line-height: 22px;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0
}

article header p.bolder {
  font-size: 1.3em;
  color: #444444;
  margin-left: 190px;
  text-align: left;
  padding-top: 0;
} 

article p {
  font-size: 0.9em;
  line-height: 1.6;
  margin-top: 10px;
  margin-left: 0;
  margin-right: 0;
} 

article section p.bold {
  font-size: 1.3em;
  color: #444444;
  margin-left: 10%;
  text-align: left;
  padding-top: 0;
} 

article a {
  display: block;
  text-decoration: none;
  color: #000000;
}

article p.left {
  font-size: 1em;
  line-height: 1.8;
  margin-top: 10px;
  margin-left: 3em;
  margin-right:1em;
}

article span.blue {
  color: #285294;
}

article header p.right {
  margin-top: 10px;
  text-align: right;
}


/* フッター */
footer {
  color: #ffffff;
  background-color: #6791d4;
  margin-top: 25px;
  margin-bottom: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  clear: both;
  border-radius: 5px;
  border-top: solid 1px #aaaaaa;
}

small {
  font-size: 11px;
  font-style: normal;
  text-align: center;
  display: block;
}

/* 画像の配置 */
figure.adjust {
 margin-top: 15px;
 padding-left: 5px;
}

figure {
  margin: 0;
}

article section figcaption {
  color: #666666;
  font-size: 13px;
  display: block;
}

/* フォーム */
form {
  max-width: 500px;
  margin: 30px auto;
}

input, textarea	{
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border: solid 1px #aaaaaa;
  border-radius: 0;
  -webkit-appearance:none;
}

textarea {
  height:110px;
}

input[type="submit"] {
  width: 200px;
}

input:required, input:invalid {
  background-image: url(caution.png);
  background-repeat: no-repeat;
  background-position: right center;
}

input:valid {
  background-image: none;
}

label span {
  color: #ff0000;
}

/* プルダウンメニュー */
ul.pulldown_menu {
  list-style: none; /* 先頭記号を消す */
  margin-left: 0;
  padding-left: 3%;
}

ul.pulldown_menu li {
  width: auto; /* リスト項目の幅 */
  cursor: pointer; /* カーソル */
  font-size: 1.2em;
  border: solid 1px #aaaaaa;
  border-radius: 5px;
  margin: 10px;
  line-height: 50px;
  text-indent: 1em;
  overflow: hidden;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf));
  background: -webkit-linear-gradient(#ffffff 0%, #dfdfdf 100%);
  background: -moz-linear-gradient(#ffffff 0%, #dfdfdf 100%);
  background: -o-linear-gradient(#ffffff 0%, #dfdfdf 100%);
  background: -ms-linear-gradient(#ffffff 0%, #dfdfdf 100%);
}

ul.pulldown_menu ul {
  display: none; /* 通常は表示しない */
  list-style: none; /* 2段目の先頭記号を消す */
  padding-left: 0px; /* 2段目の左位置を1段目に揃える */

}

ul.pulldown_menu li.menu_on > ul {
  display: block; /* 表示する */
}

ul.pulldown_menu li.menu_off > ul {
  display: none; /* 表示しない */
}

ul.pulldown_menu li:hover {/* マウスカーソルが乗っている状態 */
  background: url(); /* 通常の背景画像 */
  color: ; /* 文字色 */
}

ul.pulldown_menu li:active {/* マウスがクリックされている状態 */
  background: url(); /* 通常の背景画像 */
  color: #6b1f6b; /* 文字色 */
}

table {
  border: solid 1px #aaaaaa;
  border-collapse: collapse;
  border-radius: 5px;
  margin: 1% 5% 5%;
  width: 90%;
  font-size: 14px;
  text-indent: 1em;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dfdfdf));
  background: -webkit-linear-gradient(#ffffff 0%, #dfdfdf 100%);
  background: -moz-linear-gradient(#ffffff 0%, #dfdfdf 100%);
  background: -o-linear-gradient(#ffffff 0%, #dfdfdf 100%);
  background: -ms-linear-gradient(#ffffff 0%, #dfdfdf 100%);
}

td.top_left {
  line-height: 40px; 
  padding-right: 1em;
  border: solid 1px #aaaaaa;
  border-radius: 5px 0 0 0;
  width: 20%;
}

td.top_right {
  line-height: 40px; 
  padding-right: 1em;
  border: solid 1px #aaaaaa;
  border-radius: 0 5px 0 0;
  width: 80%;
}

td {
  line-height: 40px; 
  padding-right: 1em;
  border: solid 1px #aaaaaa;
}

td.last_left {
  line-height: 40px; 
  padding-right: 1em;
  border: solid 1px #aaaaaa;
  border-radius: 0 0 0 5px;
}

td.last_right {
  line-height: 40px; 
  padding-right: 1em;
  border: solid 1px #aaaaaa;
  border-radius: 0 0 5px 0;
}

span.indent {
  padding-left: 1em;
}

ul.pulldown_menu li.details {
  font-size: 14px;
  border: none;
  line-height: 40px;
  margin-left: 5%;
  padding-left: 3%;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  width: 89%;
}

ul.pulldown_menu li.details_last {
  font-size: 14px;
  border: none;
  line-height: 40px;
  margin-left: 5%;
  padding-left: 3%;
  margin-top: 0;
  margin-bottom: 20px;
  overflow: hidden;
  width: 89%;
}

div.details {
  text-indent: 1em;
  display: inline-block;
}

/* サブコンテンツ */

article section_2 {
  clear: both;
  border: solid 1px #aaaaaa;
  margin: 10px 0 10px;
  padding: 18px;
  border-radius: 5px;
  overflow: hidden;
  -webkit-box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  box-shadow: 0px 2px 3px #cccccc, 0px 0px 4px 3px #ffffff inset;
  background-color: rgba(255,255,255,0.5);
}

article section_2 h1 {
  clear: both;
  background: none;
  font-size: 24px;
  font-weight: normal;
  line-height: 22px;
  padding-left: 0;
  margin-top: 50px;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
}

article section_2 p {
  font-size: 0.9em;
  line-height: 1.6;
  margin-top: 10px;
  margin-left: 0;
  margin-right: 0;
  clear:both;
} 


/* ====== PC用の設定 ====== */
@media only screen and (min-width:900px) {

/* ３段組み */
article div[itemprop="articleBody"] {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
}

article section	{
  width: 100%;
  margin-right: 15px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow: visible;
}

article section h1 {
  height: 30px;
  line-height: 1.2;
}
}

/* ====== タブレット用の設定 ====== */
@media only screen and (min-width: 600px) and (max-width:899px) {

div#container {
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 0 10px;
  background-position: 0px 640px, 100px 580px;
}

header#pageheader img {
  width: 100%;
  height: auto;
}

figure#slideshow {
  width: 100%;
  height: auto;
}

nav ul {
  font-size: 13px;
}

nav ul li a {
  width: 100px;
}

article section p.bold {
  font-size: 1.2em;
  margin: 5%;
}

table td {
  line-height: 2em;
  text-indent: 0.5em;
} 

td.top_left {
  width: 25%;
}

td.top_right {
  width: 75%;
}
}

/* ====== スマートフォン用の設定 ====== */
@media only screen and (max-width:599px) {

div#container {
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 0 10px;
  background-position: 0px 500px, 90px 420px;
}

header#pageheader img {
  width: 100%;
  height: auto;
}

figurer#slideshow {
  width: 100%;
  height: auto;
}

nav ul {
  font-size: 12px;
  height: auto;
  overflow: hidden;
}

nav ul li a {
  width: 100px;
  display: inline-block;
  padding: 0 3px;
}

header#pageheader h1 {
  font-size: 24px;
  margin-right: 15px;
}

header#pageheader h2 {
  font-size: 10px;
  text-align: left;
  padding: 0;
  float: left;
}

aside#news h1 {
  font-size: 20px;
}

aside#news ul {
  margin-left: 15px;
  padding: 0;
}

aside#news li {
  font-size: 14px;
}

article header h1 {
  float: none;
  font-size: 20px;
}

article header p {
  margin: 0;
  font-size: 14px;
}

article header p.bolder {
  margin: 0;
  padding-top: 15px;
  font-size: 1em;
}


article section h1 {
  float: none;
  font-size: 20px;
}

article section p.bold {
  font-size: 16px;
  margin: 0;
}

article section:nth-of-type(1n) figure {
  float: none;
  margin: 0;
  text-align: center;
  display: block;
}

article section:nth-of-type(1n) figcaption {
  text-align: center;
  margin-bottom: 15px;
}

ul.pulldown_menu li {
  font-size: 1em;
}

table {
  font-size: 12px;
  margin: 2%;
  text-indent: 0.5em;
}

div#inner td {
  line-height: 2em;
  padding-right: 0.2em;
} 

span.indent {
  padding-left: 0.5em;
}

ul.pulldown_menu li.details {
  font-size: 12px;
  border: none;
  line-height: 40px;
  margin-left: 5%;
  padding-left: 3%;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  width: 89%;
}

ul.pulldown_menu li.details_last {
  font-size: 12px;
  border: none;
  line-height: 40px;
  margin-left: 5%;
  padding-left: 3%;
  margin-top: 0;
  margin-bottom: 20px;
  overflow: hidden;
  width: 89%;
}

div.details {
  text-indent: 1em;
  display: inline-block;
}
}
