﻿/* 全体の幅 */
html, body {
  font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
  -webkit-text-size-objust: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 5px;
}

/* background */
#background, #bg_switch, #bg_switch_cover {
  width: 100%;
  height: 100%;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
}

#background div {
  background-size: cover;
  background-position: center;
}

#bg_switch {
  background-size: cover;
}

#bg_switch_cover {
  background: rgba(255, 255, 255, 0.8);
}
/* background end */

/* header ~ footer までの幅・位置 */
div.conteiner {
  height: 97%;
  position: relative;
  height: auto !important;
  min-height: 100%;
  margin-right: 0px;
}

/* ロゴ */
header img#rogo {
  width: 80px;
}

header img#name {
  width: 300px;
  padding-bottom: 9px;
}

/* パンくずリスト */
div.breadcrumb {
  width: 100%;
}

.breadcrumb ul {
  padding: 0;
  font-size: 11px;
}

.breadcrumb ul li {
  display: inline;
  padding: 0 5px 0 0;
}

.breadcrumb ul li a {
  color: #999
}

/* drawer */
/*　ハンバーガーボタン */
 .menu-trigger {
   width: 50px;
   height: 50px;
   right: 0;
   position: absolute;
   cursor: pointer;
   background: #0095b9; /* 背景色 */
 }

 /*　横線 共通 */
#menu1, #menu2, #menu3 {
  width: 40px;
  height: 5px;
  background: #fff;
  right: 5px;
  position: absolute;
}

 /* 横線 上 */
 .menu-trigger #menu1 {
   top: 13px;
 }

 /* 横線 真ん中 */
 .menu-trigger #menu2 {
   top: 23px;
 }

 /* 横線　下 */
 .menu-trigger #menu3 {
   top: 33px;
 }

 .drawer_icon {
   width: 50px;
   margin-left: auto;
   margin-right: 0;
 }

#hidden_menu, .drawer_child_menu {
    background: #0095b9; /* 背景色 */
}

#hidden_menu {
  position: absolute;
  z-index: 1000;
  width: 0;
  top: -5px;
  right: 0;
}

.drawer_menu, .drawer_child_menu {
  padding: 0;
  margin: 0 auto;
}

.drawer_menu {
  display: none;
}

.dr_list, .dr_child_list {
  list-style-type: none;
  padding-left: 5px;
  margin: 0;
}

.dr_item, .dr_child_item {
  display: block;
  color: #fff;
  line-height: normal;
  text-decoration: none;
}

.dr_list {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
}

.dr_item {
  padding: 15px 0 11px 0;
  font-size: 14px;
}

.dr_child_item {
  padding: 13px 0;
  font-size: 13px;
  border-top: 1px solid #999;
}

/* マウスが乗った時 */
.dr_child_item:hover, .dr_item:hover {
  background: #4D4D50;
}

/* contents 位置 */
div.contents {
  height: auto; /* float対策 */
  overflow: hidden; /* float対策 */
  padding-bottom: 50px;
}

/* 見出し */
h2 {
  font-size: 24px;
  border-bottom: 2px solid #1341c3;
}

/* topへ戻る */
#pagetop {
  background-image: url(../images/e_others_410.jpg);
  background-repeat: no-repeat;
  padding: 22px;
  bottom: 20px;
  position: fixed;
  right: 20px;
  border-radius: 11px;
  border: 1px solid #666;
}

/* footer */
footer {
  background: #0095b9; /* 背景色 */
  color: #fff;
}

.footer_menu ul {
  padding: 0;
  margin: 0 auto;
  border-top: 3px solid #999;
  height: 100%;
}

.footer_menu ul li {
  list-style: none;
  width: 100%;
  text-align: left;
  padding-left: 5px;
}

.footer_menu ul li a {
  display: block;
  padding: 10px 0 6px 5px;
  text-decoration: none;
  color: #fff;
  width: 98%;
}

/* カーソルが乗った時 */
.footer_menu ul li:hover > a {
  display: block;
  background: #4D4D50;
}

.address {
  background: #223a70;
  font-size: 12px;
  text-align: right;
  padding: 10px 10px 6px 0;
  font-family: sans-serif;
}

@media screen and (min-width:768px) {
  body {
    margin: 5px;
  }

  .conteiner {
    width: 85%;
    margin-left: 8%;
  }

 header img#name {
   width: 355px;
 }

 .breadcrumb ul {
   padding: 0 0 5px 0;
   font-size: 13px;
 }

 /* drawer */
.menu-trigger, .drawer_icon {
  display: none;
}

 #hidden_menu {
   position: static;
   width: 100%;
   height: 40px;
   border-bottom: 3px solid #999;
   border-radius: 3px 3px 0 0;
 }

 .drawer_menu {
   display: block;
 }

 .dr_list, .drawer_child_menu {
   width: 16.665%;
 }

 .dr_list {
   float: left;
   margin: 0;
   padding: 0;
   text-align: center;
   border: none;
 }

 .dr_item {
   padding: 9px 0;
 }

 .drawer_child_menu {
   display: none;
   background: #0095b9;
   padding: 0;
   position: absolute;
 }

 .dr_child_list {
   padding-left: 0px;
 }

 .drawer_menu > .dr_list:hover > ul {
   display: block;
 }

 .contents {
   clear: both;
 }

 h2 {
   padding-top: 35px;
 }

 /* footer */
 .footer_menu ul li {
   float: left;
   width: 20%;
   font-size: 13px;
   text-align: center;
   padding: 0;
 }

 .footer_menu ul li a {
   width: 100%;
   padding: 15px 0 11px 0;
 }

 .address {
   clear: both;
   font-size: 13px;
   padding: 10px 5px 10px 00
 }
}
