@charset "utf-8";
/*
  CSS のみのドロップダウンメニュー
  Copyright Rectus Inc, 2019
  https://www.rectus.co.jp/
  を一部改編
 */
#navi a{
color: #333;
}

#navi a:hover{
color: #ba1b21;
}


#navi li{
list-style: none;
		letter-spacing: 3px;
}

#navi li a{

 text-align:center;

 line-height:1.5;

 font-weight:bold;

}

#navi li a span{

 display:block;

 font-size:10px;

 font-weight:normal;

 color:#d19e2e;

}

#navi {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 130px;
  width: 100%;
  transition: all .4s;
  z-index: 100;
	/*
	border-top: solid 5px #ba1b21;
	border-bottom: solid 15px #d19e2e;
	*/
    background-image: url(../images/header_line.png);
    background-repeat: repeat-x;
    background-position: center top;
}





/*
#navi { 
	background-image: url("../images/header_bg.jpg");
	background-position: center;
}
*/
#navi input {
  display: none;
}
#navi h1,
#navi p {
  float: left;
/*  height: 130px; */
  line-height: 130px;
  transition: all .4s;
  font-size: 18px;
  font-weight: bold;
}

/* ヘッダーロゴ*/

#navi h1 img,
#navi p img {
  vertical-align: middle;
  margin-top: -16px;
  transition: all .4s;
  width: 300px;
  padding-right: 6px;
}
#navi .menu {
  float: right;
  transition: all .4s;
}
#navi a {
  text-decoration: none;
}

/* グローバルナビゲーション*/

#navi .menu .menu-parent {
  float: left;
/*  margin: 0px 30px 0px 0px; */
  padding: 0px 0px 0px 20px;
  height: 130px;
	margin-top: 40px;
	/*
  line-height: 130px;
	*/
  font-size: 16px;
  font-weight: bold;
  transition: all .4s;
  white-space: nowrap;
text-align: center;
line-height:1.5!important;

}
#navi .menu .menu-parent:last-child {
  margin-right: 0px;
  transition: all .4s;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}
#openmenu {
  font-weight: bold;
}
@media screen and (max-width: 895px) {
  #menu-navibtn {
    display: none;
  }
  #navi {
    height: 130px;
  }
  #navi h1,
  #navi p {
    float: none;
/*    height: 60px; */
    line-height: 60px;
    font-size: 16px;
  }
  #navi h1 img,
  #navi p img {
    margin: 30px 10px 10px 10px;
    width: 250px;
  }
  #navi .menu {
    display: none;
  }
  #navi .menu .menu-parent {
    height: auto;
    width: 100%;
    line-height: 60px;
    background: white;
    padding: 0px 20px 0px 20px;
    border-bottom: 1px solid #999;
  }
  #navi .menu .menu-parent i {
    padding: 0px 20px;
  }
  #navi ul {
    float: none;
  }
  /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
}

/* 固定メニュー */
@media screen and (min-width: 895px) {
  #navi.fixed {
    height: 130px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  }
  #navi.fixed h1,
  #navi.fixed p {
    font-size: 18px;
    height: 130px;
    line-height: 130px;
  }
  #navi.fixed h1 img,
  #navi.fixed p img {
    margin-top: -7px;
    width: 34px;
    height: auto;
    padding-right: 6px;
  }
  #navi.fixed .menu .menu-parent {
    height: 130px;
    line-height: 130px;
    font-size: 15px;
  }
  #navi.fixed .menu-parent .menu-child,
  #navi.fixed .menu-parent:hover .menu-child {
    top: 130px;
  }
}
/* ドロップダウンメニュー */
.menu-parent {
  position: relative;
}
.menu-parent .menu-child {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  position: absolute;
  top: 130px;
  left: 35%;
  margin-left: -80px;
  width: 200px;
  background: #fff;
  box-sizing: border-box;
  padding: 4px 20px;
  border: 1px solid #000;
}
@media screen and (min-width: 895px) {
  .menu-parent:first-child .menu-child,
  .menu-parent:nth-child(2) .menu-child {
    width: 200px;
    margin-left: -80px;
  }
  .menu-parent:hover .menu-child {
    top: 65px;/* 吹き出しの位置 */
    visibility: visible;
    transition: all .8s;
    opacity: 1;
  }
}
@media screen and (max-width: 895px) {
  #navi .menu-parent .menu-child {
    transition: all 0s;
  }
  .menu-parent .menu-child {
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
  }
}
@media screen and (max-width: 895px) {
  #menu-navibtn:checked ~ * .menu {
    display: block;
    opacity: 1;
  }
  #menu-navibtn:checked ~ * .menu-parent {
    max-height: inherit;
    overflow-y: visible;
  }
  #menu-navibtn:checked ~ * .menu-child {
    max-height: 0;
    overflow-y: hidden;
    visibility: hidden;
  }
  .menu ul {
    margin: 0;
    padding: 0;
    background :#f4f4f4;
    list-style: none;
  }
  .menu-parent .menu-child {
    position: relative;
    opacity: 1;
    padding: 0 20px;
    visibility: visible;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
  }

  .menu-child li {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
  }
  /* クリックされた時 */
  #navi input[type="checkbox"]:checked ~ .menu-child {
    max-height: inherit;
    overflow-y: visible;
    visibility: visible;
    opacity: 1;
  }
  .angletoggle:before {
    content: "\f107";
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle:before {
    content: "\f106";
  }
}
#navi .menu-child li {
  line-height: 30px;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
}
#navi .menu-child .menu-child-top {
  position: relative;
}
/* △部分 */
#navi .menu-child .menu-child-top::before,
#navi .menu-child .menu-child-top::after {
  border-left: solid 10px transparent;
  border-right: solid 10px transparent;
  border-bottom: solid 12px #fff;
  top: -15px;
  content: "";
  display: block;
  height: 0;
  left: 43%;
  position: absolute;
  width: 0;
}
@media screen and (max-width: 895px) {
  #navi .menu-child .menu-child-top::before,
  #navi .menu-child .menu-child-top::after {
    border: none;
  }
}
#navi .menu-child .menu-child-top::before {
  border-bottom: solid 12px #000;
  margin-top: -1px;
}
#navi .menu-child li:last-child {
  border: none;
}
#navi .menu-child li img {
  width: auto;
  height: 32px;
  vertical-align: middle;
  float: left;
  margin-right: 10px;
}
#navi .menu-child li i {
  margin-right: 3px;
}
#navi .menu-child li a {
  display: block;
  padding: 10px 0px;
}
#navi ul > li .pd {
  display: none;
}
#navi ul > li.parent > a {
  color: #333;
}
#navi ul > li.parent > a:hover {
  color: #ba1b21;
}
@media screen and (max-width: 895px) {
  #navi ul {
    float: none;
  }
  #navi ul > li .pd {
    display: inline-block;
    width: 100%;
  }
}

/* ハンバーガー */
#navi #navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}
@media screen and (max-width: 895px) {
  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  #navi #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #333;
  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
    transition: .2s;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:19px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:18px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
}

/*追記1*/


@media screen and (max-width: 1240px)
.inner1 {
    margin-right: 20px;
    margin-left: 20px;
}
.inner1 {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}
.cf {
    zoom: 1;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, div, img {
    margin: 0px;
    padding: 0px;
    list-style: none;
    font-weight: normal;
}
user agent stylesheet
div {
    display: block;
}
body {
	/*
    margin: 0px;
    padding: 0px;
	*/
    color: #000;
    font: 15px "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
}
.cf:before, .cf:after {
    content: "";
    display: table;
}
.cf:after {
    clear: both;
}
.cf:before, .cf:after {
    content: "";
    display: table;
}


/*追記2




#topnews {
    position: absolute;
    font-weight: bold;
    top: 16px;
    right: 16px;
    z-index: 10;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, div, img {
    margin: 0px;
    padding: 0px;
    list-style: none;
    font-weight: normal;
}
user agent stylesheet
div {
    display: block;
}
*/


/*追記3*/



#topnews {
    position: absolute;
    font-weight: bold;
    top: 5px;
    right: 16px;
    z-index: 10;
}
#topnews .fa {
    color: #93ca3a;
}	
/*
#topnews a {
  color: #F00;
}
#topnews a:hover {
  color: #C77;
}
*/

.fixed #topnews {
  display: none;
}
@media screen and (max-width: 945px) {
  #topnews {
    top: 5px;
    right: 76px;
  }
}
@media screen and (max-width: 790px) {
  #topnews {
	 /* 
    top: 5px;
    right: 76px;
	 */ 
	display:none;
  }
	.menu-left{margin-top: -7px;}
}
.logo {
  vertical-align: middle;
}
.floatlogo {
  float: left;
  max-width: 100%;
  min-width: 60%;
}
.floatlogo p {
  margin-top: 40px
}
.marginlogo {
  margin-left: 15%;
}
#toc_container {
  margin-top: 1em;
}

