/*
 * base css
 * 
*/

@import url(font-style.css);

html, body, header, div, span, section, article, nav, h1, h2, h3, h4, h5, h6, p, pre, blockquote, a, address, figure, figcaption, img, dl, dt, dd, ol, ul, li, form, label, table, tr, th, td
{
  margin: 0;
  padding: 0;
}

body{
  width: 100%;
  text-align: center;
  background: url(../images/background.jpg) 0 0 repeat;
  color: #333;
  font-family: 'Hiragino Kaku Gothic ProN','segoe UI', Meiryo, sans-serif;
  line-height: 200%;
  font-size: 65%;
  letter-spacing: 1px;
  counter-reset: figureNumber tableNumber;
}

/*画像の枠線を消す*/
img { border-style: none; }

/*リンクの下線, 点線をなくす*/
a{
  text-decoration: none;
  outline: none;
}
a:link    { color: #F60; }
a:visited { color: #C63; }

.left{
  text-align: left;
}

.right{
  text-align: right;
}

.center{
  text-align: center;
}

/* 両端の影 */
#side{
  width: 100%;
  margin: 0 auto;
  background: url(../images/sideShadow_mobile.png) repeat-y center top;
  background-size: 100% auto;
}

#wrapper{
  width: 98%;
  margin: 0 auto;
  text-align: left;
  background-color: rgba(142, 236, 68, 0.2);  /* header,main,footerの下地 */
}

/* ヘッダー */
header{
  line-height: normal;
  overflow: hidden;
}
/* ヘッダー画像 */
header img{
  vertical-align: bottom;
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;
  opacity: 0.9;
}

/* メニュー */
ul#menu{
  margin: 5px auto;
  background-color: rgba(255, 217, 236, 0.8); /*#FFD9EC;*/
  overflow: hidden;
}

/* リストメニュー */
li#home_menu, 
li#daily_menu, 
li#engineering_menu, 
li#travel_menu, 
li#profile_menu {
  width: 140px;
  height: 49px;
  margin: 21px auto;
  list-style-type: none;       /*リストマーカー無しにする*/
  font-weight: bold;
}
li#home_menu img, 
li#daily_menu img, 
li#engineering_menu img, 
li#travel_menu img, 
li#profile_menu img{
  vertical-align: bottom;
}
li#home_menu a:hover img, 
li#daily_menu a:hover img, 
li#engineering_menu a:hover img, 
li#travel_menu a:hover img, 
li#profile_menu a:hover img{
  position: relative;
  top: 1px;
  left: 1px;
  opacity: 0.8;
  filter: alpha(opacity=80);
  vertical-align: bottom
}

/* メインコンテンツ */
div#main{
  width: 100%;
  height: auto;
  margin-bottom: 5px;
  overflow: hidden;
}
section{
  padding-bottom: 250px;
  background-color: rgba(153, 255, 102, 0.8); /*#9F6;*/
}
article{
  width: 96%;
  margin: 0 auto 34px auto;
  background-color: rgba(153, 255, 102, 0); /*#9F6;*/
}
article header{
  padding: 2px 0 22px 0;
}
/* 見出し 付箋 */
article header h1{
  position: relative;
  color: #36C;
  background: #FFFFBF;
  box-shadow:
    12px 0 0 0 #FFFFBF,
    0 12px 0 0 #FFFFBF,
    1px 15px 4px -3px rgba(0,0,0,0.2);
}
article header h1:before{
  content: " ";
  width: 0;
  height: 0;
  position: absolute;
  top: 100%;
  left: 100%;
  border-width: 12px 12px 0 0;
  border-style: solid;
  border-color: transparent;
  border-top-color: #CC9;
}
article header h1:after{
  content: " ";
  width: 84%;
  height: 13px;       /* ピンク下線 */
  padding: 0 20px;
  position: absolute;
  bottom: 8px;
  left: 10px;
  background: rgba(255,182,182,0.4);
  -webkit-transform: rotate(-0.7deg);
  -moz-transform: rotate(-0.7deg);
  -o-transform: rotate(-0.7deg);
  transform: rotate(-0.7deg);
}

header div#nobreadcrumb{
  margin-bottom: 21px;
}
header div#breadcrumb{
  margin-bottom: 8px;
}
header div#breadcrumb p{
  margin: 0;
  padding: 0;
  font-size: 84%;
  letter-spacing: 0px;
}
header div#titleInfos{
  padding: 0px 24px 16px 10px;
  background-color: rgba(153, 255, 102, 0); /*#9F6;*/
  overflow: none;
}
header div#articleInfo{
  width: 100px;
  margin-left: auto;   /*右寄せ*/
  margin-right: -12px; /*articleのh1のboxshadowの幅に合わせる */
  padding-right: 1px;
  text-align: right;
  color: #483DCC;
  background-color: rgba(204,255,255,0.8);
  font-size: 70%;
  border-bottom: 1px #00AAFF solid;
}
div.content{
  background-color: rgba(255,255,153,1.0); /*#FF9;*/
  padding: 12px 13px;
  margin: 0 auto;
  margin-bottom:-2px; /* 謎に出現するcontent間のスペースを消去 */
  text-align: justify;
  text-justify: inter-ideograph;
}
article p{
  margin: 8px 0 5px 0;
  letter-spacing: 2px;
  word-break: break-all;
}

article figure{
  width: 100%;
  margin: 19px 0 12px 0;
  text-align: center;
  vertical-align: middle;
  layout-grid-line: 200px;
  position: relative;
}
article figure a:before{
  content: "\203B\30AF\30EA\30C3\30AF\3067\62E1\5927\56F3\3092\8868\793A"; /* 文字化け回避のためUnicode記述: "※クリックで拡大図を表示"*/
  position: absolute;
  top: -13px;
  font-size: 86%;
  color: #2795ef;
}
article figure img{
  max-width: 86%;
  margin : 5px 0;
  vertical-align: middle;
}

article ul{
  margin: 13px 0 21px 18px;
}
article ul.left{
  text-align: left;
}
article ul li{
  margin: 13px 0;
  padding-left: 2px;
  word-break: break-all;
}
article ol{
  margin: 13px 0px;
  padding-left: 3px;
  list-style: none;
}
article ol li {
  margin: 13px 0;
  counter-increment: table-ol;
}
article ol li:before {
  content: counter(table-ol) ".";
  padding-right: 13px;
  text-align: right;
  font-weight: bold;
}

article ol.abstList{
  margin-bottom: 34px;
}
article ol.abstList li{
  margin: 18px 0;
}
article ul.abstList{
  margin-bottom: 34px;
}
article ul.abstList li{
  margin: 18px 0;
}

/*自動で図番号を振る*/
article figure figcaption{
  color: #FF69A3;
  font-weight: bold;
  text-align: center;
  font-size: 104%;
  counter-increment: figureNumber;
}
article figure figcaption:before {
  content: "図"counter(figureNumber)".";
  margin-right: 5px;
}

article table{
  width: 98%;
  font-size: 94%;
  margin: 8px 0 13px 0px;
  border-collapse: collapse;
  word-break: break-all;
}
/*自動で表番号を振る*/
article table caption{
  margin: 10px 0 3px 0;
  color: #EF59B3;
  font-weight: bold;
  text-align: center;
  font-size: 104%;
  counter-increment: tableNumber;
}
article table caption:before {
  content: "表"counter(tableNumber)".";
  margin-right: 5px;
}
article table th{
  padding: 6px;
  text-align: left;
  vertical-align: top;
  text-align: center;
  color: #333;
  background-color: #f3c37f;
  border: 1px solid #B9B9B9;
}
article table td{
  padding: 6px;
  color: #444;
  background-color: #FFF;
  border: 1px solid #B9B9B9;
}
article table.posCenter{
  margin-left: auto;
  margin-right: auto;
}
article table.center{
  text-align: center;
}
article table.interrupt th,
article table.interrupt td{
  font-size: 80%;
  text-align: center;
}
article table.timsk{
  font-size: 80%;
  text-align: center;
}
article table.timsk td{
  width: 10%;
}
article table.yellow{
  text-align: center;
  background-color: #F0FF80;
}
article table.yellow td{
  background-color: #F0FF80;
}
article table.blue{
  text-align: center;
  background-color: #E0ECF8;
}
article table.blue td{
  background-color: #E0ECF8;
}
table th.blue, td.blue, tr.blue{
  background-color: #E0ECF8;
}
table th.yellow, td.yellow, tr.yellow{
  background-color: #F0FF80;
}
table th.silver, td.silver, tr.silver{
  background-color: #D3D3D3;
}
table th.lightgrey, td.lightgrey, tr.lightgrey{
  background-color: #E3E3E3;
}
table th.red, td.red, tr.red{
  background-color: #FFD0D0;
}
table th.symbol{
  width: 25%;
}
table th.name{
  width: 25%;
}
table th.describe{
  width: 50%;
}

pre.white{
  margin-bottom: 21px;
  padding: 8px 15px 8px 15px;
  background-color: #FFF;
  font-size: 94%;
  line-height: 120%;
  overflow:auto;
}


/* "前ページへ" と "次ページへ" のレイアウト */
table#referencePage{
  width: 100%;
  margin-top: 99px;
  font-size: 100%;
  border: 0;
  cellspacing: 0;
  cellpadding: 0;
  background-color: transparent;
  border-collapse: collapse;
}
table#referencePage td{
  padding: 0;
  border: 0;
  background-color: transparent;
}
table#referencePage td#prevPage{
  text-align: left;
}
table#referencePage td#nextPage{
  text-align: right;
}


/* 右ナビ */
nav{
  margin-bottom: 20px;
  padding-bottom: 8px;
  background-color: rgba(170, 238, 85, 0.7); /*#AE5;*/
  line-height: 100%;
}
nav div{
  margin-bottom: 40px;
}
div#calendar{
  width: 100%;
  margin: 17px 0 40px 0px;
}
div.ui-datepicker{ 
  margin: 0 auto;
  font-size: 74%;
}
div#nav-profile{
  width: 90%;
  margin: 12px 0 40px 8px;
}
div#nav-recommendation{
  width: 90%;
  margin: 12px 0 40px 8px;
}
div#nav-sitemap{
  width: 90%;
  margin: 12px 0 40px 8px;
}
nav h4{
  margin-bottom: 10px;
  padding: 12px 8px 12px 13px;
  font-size: 115%;
  background-color: #61B816;
  color: #FFF;
}
nav h5{
  margin-bottom: 21px;
  padding-bottom: 10px;
  border-bottom: 1px #666 solid;
  font-size: 105%;
}
nav h5:before{
  content: url(../images/icon/cow_icon.png);
  position: relative;
  top: 8px;
  padding-right: 8px;
}
ul.nav-content-list{
  margin: 21px 0 8px 0px;
  list-style-type: none;
  list-style-position: inside;
}
ul.nav-content-list li{
  margin: 21px 0 21px 14px;
  line-height: 190%;
  font-size: 96%;
  padding-left: 29px;
  text-indent: -29px;
}
ul.nav-content-list li:before{
  content: url(../images/icon/pig_icon.png);
  position: relative;
  top: 2px;
  padding-right: 13px;
}
div#nav-sitemap ul.nav-content-list li{
  font-size: 108%;
}
div#nav-profile-twitter{
  width: 100%;
  display: flex;
  justify-content: center;
}
div#twitter-wrapper{
  width: 100%;
}
div#twitter-wrapper iframe{
  width: 100% !important;
}
div#nav-recommendation p{
  margin-left: 16px;
}
nav p{
  margin: 8px 2px;
  font-size: 94%;
  line-height: 200%;
  letter-spacing: 1px;
}


 /* 土日の色を赤にする */
.ui-datepicker-week-end, .ui-datepicker-week-end a.ui-state-default {
  color: red; 
}

div#nav-profile a:link    { color: #FF691F; }
div#nav-profile a:visited { color: #C63; }
div#nav-profile a:hover   { color: #F93; }
div#nav-profile a:active  { color: #D86616; }

div#nav-recommendation a:link    { color: #FF691F; }
div#nav-recommendation a:visited { color: #C63; }
div#nav-recommendation a:hover   { color: #F93; }
div#nav-recommendation a:active  { color: #D86616; }

div#nav-sitemap a:link    { color: #FF691F; }
div#nav-sitemap a:visited { color: #C63; }
div#nav-sitemap a:hover   { color: #F93; }
div#nav-sitemap a:active  { color: #D86616; }

div#nav-profile li a:link    { color: #FF500A; }
div#nav-profile li a:visited { color: #C63; }
div#nav-profile li a:hover   { color: #F93; }
div#nav-profile li a:active  { color: #D86616; }

div#nav-recommendation li a:link    { color: #FF500A; }
div#nav-recommendation li a:visited { color: #C63; }
div#nav-recommendation li a:hover   { color: #F93; }
div#nav-recommendation li a:active  { color: #D86616; }

div#nav-sitemap li a:link    { color: #FF500A; }
div#nav-sitemap li a:visited { color: #C63; }
div#nav-sitemap li a:hover   { color: #F93; }
div#nav-sitemap li a:active  { color: #D86616; }

/* フッター */
footer{
  font-weight: bolder;
  background-color: #9FC;
  clear: both;
  text-align: center;
}
footer p{
  margin-top: 5px;
}