@charset "UTF-8";


/*---------------------------- 共通部分 ----------------------------*/

html, body, header, section, footer,
div, span, p, h1, h2, h3, h4,
ul, ol, li, dl, dt, dd,
table, tr, th, td, tbody, thead, tfoot {
  margin: 0;
  padding: 0;
}

header, section, footer {
  display: block;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a:link {
  color: #004080;
}

a:visited {
  color: #004080;
}

a:hover {
  color: #005ebb;
}

p {
  margin: 15px 0 15px 0;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

img {
}


/*---------------------------- スマートフォン向けのスタイル ----------------------------*/
@media only screen and (max-width: 679px) {


/*---------------------------- ページ全体の指定 ----------------------------*/

body {
  width: 100%;
  font: 87.5%  "Meiryo UI", "メイリオ", Meiryo, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS P ゴシック", "MS P Gothic", sans-Serif;
  color: #222222;
  letter-spacing: 0.05em;
  -webkit-text-size-adjust: 100%;
}


/*---------- メイン ----------*/

#main {
  background-color: #ffffff;
}


/*---------- ヘッダー ----------*/

#header {
  width: 100%;
  height: auto;
  padding: 0 0 4px 0;
  line-height: 1.6;
}

#header h1 {
  display: none;
}

#header #header_inner {
  margin: 0;
  padding: 2px;
  background-color: #ffffff;
}


/*----- 左logo -----*/

#h_logo {
  width: 100%;
  padding: 0;
  text-align: center;
  color: #666666;
}

#h_logo h2 {
  padding: 10px 0 0 0;
  margin: 0;
}

#h_logo img {
  max-width: 80%;
  height: auto;
}

#h_logo a {
  color: #666666 !important;
  text-decoration: none;
  font-size: 1em;
}

#h_logo a:hover {
  color: #888888 !important;
  text-decoration: underline;
  font-size: 1em;
}


/*----- 右share -----*/

#h_info{
  text-align: right;
  margin-right: 8px;
}

/*---------- ヘッダーメニュー ----------*/

#header-menu {
  margin: 0 1px 4px 1px;
  border-top: 1px solid #b7cee3;
  border-right: 1px solid #b7cee3;

}

#header-menu ul {
  padding: 0;
}

#header-menu ul li {
  width: 50%;
  margin: 0;
  padding: 0;
  float: left;
  list-style: none;
  text-align: center;
}

#header-menu li a {
  width: 99.6%;
  font-size: 1.1em;
  padding: 13px 0 13px 0;
  display: block;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #fffffc !important;
  text-decoration: none;
  border-left: 1px solid #b7cee3;
  border-bottom: 1px solid #b7cee3;
  background: #e2d0ab url(../img/head_menu_back_base.gif) repeat-x;
}

#header-menu li a:hover {
  color: #fffffc !important;
  display: block;
  text-decoration: none;
  background: #e2d0ab url(../img/head_menu_back_hover.gif) repeat-x;
}

#header-menu li.home a {
  border-bottom: 1px solid #b7cee3;
}

#header-menu li.now a {
  color: #fffffc;
  background-image: url(../img/head_menu_back_hover2.gif);
  background-repeat: repeat-x;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
  height: 0; 
  visibility: hidden;
}

/*---------- メイン画像 ----------*/

#header-img {
  width: 100%;
  height: auto;
  margin: 0 0 6px 0;
}

.main_photo {
  display: block;
  margin: 0 auto 0 auto;
}


/*---------- コンテナ ----------*/

#container {
  padding: 0;
}


/*---------- コンテンツ ----------*/

#contents {
  padding: 0 6px 10px 6px;
  font-size: 1em;
}

#contents #pannavi {
  margin: 0 0 2px 0;
  padding: 0 0 4px 0;
  font-size: 0.92em;
}

#contents h2 {
  margin: 6px 0 7px 0;
  padding: 9px 8px 5px 12px;
  font-size: 1.28em;
  color: #ffffff;
  line-height: 1.7;
  background: url(../img/h_bg.gif) center repeat-x;
}


#contents h3 {
  margin: 16px 3px 10px 3px;
  padding: 6px 10px 6px 12px;
  line-height: 1.6;
  font-size: 1.0em;
  color: #54351f;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #aaaaaa;
  border-left: solid 5px #882200;
  background: url(../img/h3_bg.gif) center repeat-x;
}

#contents p {
  padding-right: 2px;
  padding-left: 2px;
  line-height: 1.6;
}

.r_tex{
  width: 100%;
  margin-right: 0;
}

#left_c{
  width: 100%;
  text-align: left;
}

#twitter {
  width: 100%;
  margin: 0 auto 2px auto;
}

/*---------- 表（テーブル） ----------*/

table{
  width: 100%;
  margin: 3px auto;
  color: #000000;
  font-size: 0.9em;
  border-collapse:separate;
  border-spacing: 0;
}

table.result td{
  text-align: right;
  background: #f6f6f6;
  padding: 5px 3px;
  line-height: 1.3;
  text-align: left;
}

table th:first-child{
  border-radius: 5px 0 0 0;
}

table th:last-child{
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

table th{
  text-align: center;
  color:white;
  background: linear-gradient(#829ebc,#225588);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  padding: 8px 2px;
}

table td{
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  padding: 8px 4px;
}

td.table_name{
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  padding: 8px 28px;
}


table tr:nth-child(2n+1) {
  background: #e1e6fc;
}

table td:last-child{
  border-right: 1px solid #a8b7c5;
}

table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

td.table_history{
　width: 200px;
  text-align: left;
}

table.schedule td{
  text-align: left;
}

th.w12 {
  width: 10%;
}

th.w15sp {
  width: 15%;
}

th.w28sp {
  width: 28%;
}

.photo-block {
  width: 100%;
}

.list a figure {
  opacity: 1;
  max-width: 80%;
  height: auto;
  border: 0;
  margin: 2px auto 0 auto;
}


/*---------- フッター ----------*/

#footer {
  width: auto;
  padding: 20px 10px 20px 10px;
  color: #333333;
  line-height: 1.7;
  text-align: center;
  font-size: 0.9em;
  background-color: #d7e9f6;
}

#footer p {
  padding: 10px;
  color: #555555;
}

#footer a {
  color: #555555 !important;
}

#footer a:hover {
  color: #777777 !important;
}

#footer a:visited {
  color: #555555;
}

#footer small {
  padding: 10px;
  font-size: 0.92em;
  color: #555555;
}

#footer small a {
  color: #555555 !important;
  text-decoration: none;
}

#footer small a:hover {
  color: #777777 !important;
  text-decoration: underline;
}

#footer small a:visited {
  color: #555555;
  text-decoration: none;
}

.spbr {
  display: block;
}
}
