/*html, body {
    font-family: 'Sawarabi Gothic', sans-serif;

}*/
body {
    background-image: url(../img/toho.png),url(../img/top.png);
    background-position: left -1% top -2%,right bottom;
    background-repeat: no-repeat,no-repeat;
    background-size: auto 250px , 1000px auto;/* 幅 高さ */
    background-attachment:scroll , fixed;
    display: flex;
    flex-direction: column;
    position: relative;
    margin:0;
    padding:0;
    height:100%;
}
main {
    position: relative;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
    width: 950px;
    min-height: 100%;
    flex: 1;
}

@media screen and (max-width: 1000px) {
body {
    background-image: url(../img/toho.png),url(../img/top.png);
    background-position: left 1% top,right bottom 10%;
    background-repeat: no-repeat,no-repeat;
    background-size: 30% auto,90% auto;
}
main {
    margin-top:20px;
    margin-bottom:0;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
    min-height: 100%;
    width: 100%;
}
}

/* Nav
-----------------------------------------*/
.Nav {
  margin-top: 0px;
  /*border-top: solid 1px #F5F4F0;*/
  /*border-bottom: solid 1px #F5F4F0;*/
  text-align: center;
}
nav ul {
  list-style:none;
  padding:0;
}
@media screen and (max-width: 1000px) {
  .Nav {
    position: relative;
  border-top:none;
  }
}
.Nav .navbtn {
  display: none;
}
@media screen and (max-width: 1000px) {
  .Nav .navbtn {
    display: block;
    position: absolute;
    top: 0px;
    right: 10px;
    z-index: 100;
  }
}
@media screen and (max-width: 1000px) {
  .Nav .navbtn a,
  .Nav .navbtn a.close {
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #000;
  }
  .Nav .navbtn a::before,
  .Nav .navbtn a.close::before {
    position: absolute;
    top:10px;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
   transition: .2s;
  }
  .Nav .navbtn a.open::before {
    top:19px;
    transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  }
  .Nav .navbtn a::after,
  .Nav .navbtn a.close::after {
    position: absolute;
    bottom:10px;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
    transition: .2s;
  }
  .Nav .navbtn a.open::after {
    bottom:18px;
    transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  }
}
@media screen and (max-width: 1000px) {
  .Nav .navbtn a.open {
  }
}
 
@media screen and (max-width: 1000px) {
  .Nav .navbtn a span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  .Nav .navbtn a span::after,
  .Nav .navbtn a.close span::after {
    position: absolute;
    top:18px;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
  }
  .Nav .navbtn a.open span::after {
    display: none;
  }
}
.Nav ul.close {
  display: none;
  border-top: solid 1px #F5F4F0;
}
.Nav > ul {
  margin: 0 auto;
  max-width: 1000px;
}
@media screen and (max-width: 1000px) {
  .Nav > ul {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    background-color: #FFF;
  }
}
.Nav > ul > li {
  position: relative;
  font-size: 15px;
  display: inline-block;
  width: 150px;
}
@media screen and (max-width: 1000px) {
  .Nav > ul > li {
    display: block;
    border-bottom: solid 1px #dddddd;
    width: 100%;
  }
}
.Nav > ul > li a {
  display: block;
  position: relative;
  text-decoration: none;
  padding: 19px 15px;
  font-size: 15px;
  color: #333;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 2;
}
.Nav > ul > li.parent > a {
  padding-right:25px;
}
.Nav > ul > li.parent > a::before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 6px;
    height: 6px;
    margin: -6px 0 0 0;
    border-top: solid 2px #00a0e9;
    border-right: solid 2px #00a0e9;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
@media screen and (max-width: 1000px) {
.Nav > ul > li.parent.open > a::before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
}
@media screen and (max-width: 1000px) {
  .Nav > ul > li.parent.open {
    border-bottom: none;
  }
}
  .Nav > ul > li.parent.open > a{
    color: #FFF;
  }
  .Nav > ul > li.parent.open > a::after {
  background: #333;
  -webkit-transform: scale(1);
  transform: scale(1);
}
@media screen and (max-width: 1000px) {
  .Nav > ul > li.parent.open > a {
    color: #FFF;
  }
}
 
.Nav > ul > li a:hover {
  color: #fff;
}
.Nav > ul > li a::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.Nav > ul > li a,
.Nav > ul > li a::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.Nav > ul > li a::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}
.Nav > ul > li a:hover::after {
  background: #333;
  -webkit-transform: scale(1);
  transform: scale(1);
}
 
/* 2階層 */
.Nav > ul > li > ul {
  display: none;
  position: absolute;
  top: 61px;
  left: 0;
  min-width: 150px;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 9;
}
 
@media screen and (max-width: 1000px) {
  .Nav > ul > li > ul {
    background-color: #fbfbfb;
    position: static;
  }
}
 
.Nav > ul > li > ul li {
  white-space: nowrap;
}
 
.Nav > ul > li > ul li a {
  position: relative;
  padding: 12px 27px 12px 27px; /* 上 | 右 | 下 | 左 */
}
@media screen and (max-width: 1000px) {
  .Nav > ul > li > ul li a {
    border-bottom: solid 1px #dddddd;
    background-color: #EEE;
  }
}
.Nav > ul > li > ul li a::before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 6px;
    height: 6px;
    margin: -6px 0 0 0;
    border-top: solid 2px #00a0e9;
    border-right: solid 2px #00a0e9;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.Nav > ul > li > ul li a:hover {
  text-decoration: underline;
}
 
@media screen and (max-width: 1000px) {
  .Nav > ul > li > ul li a:hover {
    background-color: #FFF;
  }
}
 
.Nav > ul > li > ul li ul li a {
  padding-left: 42px;
}
.Nav > ul > li > ul li ul li a::before {
    left: 20px;
}



#clear {
    text-decoration: none; /* リンクの下線を出さない */
}
#clear:link {
    color: initial; /* 色の指定をリセット */
}
#clear:visited {
    color: initial; /* 色の指定をリセット */
}
#clear:hover {
    color: initial; /* 色の指定をリセット */
}

footer{
    width: 100%;
    height: 68px;
    background-color: #585858;
    color: white;
    text-align: center;
    position: fixed;
    bottom: 0;
    left:0;
    margin:0;
    z-index:50;
}

.container {
    padding-bottom: 0.1em;
    box-sizing: border-box;
    padding-top:0.1em;
}

.link {
    padding-top:0.1em;
    padding-bottom:0.1em;
}

hr.style {
    margin: 3px auto 3px auto;/* 上 | 右 | 下 | 左 */
    width: 300px;
    text-align: center;
}

.container p {
    margin: 0;/* 上 | 右 | 下 | 左 */
}

a:link {
    color:#fff; /*未訪問リンクの色*/
    text-decoration: none; /*下線*/
}
a:visited {
    color:#fff; /*訪問済みリンクの色*/
    text-decoration: none; /*下線*/
}
a:hover {
    color:#D8D8D8; /*マウスを乗せた時（ホバー）した時のリンクの色*/
    text-decoration: none; /*マウスを乗せた時（ホバー）した時の下線*/
}
a:active {
    color:#fff; /*クリックした時のリンクの色*/
    text-decoration: none; /*クリックした時の下線*/
}

.top_box {
    width: 100%;
    /*position: absolute;*/
    padding: 2.5em 1.5em 2.5em 1.5em; /* 上 | 右 | 下 | 左 */
    text-align: left;
    -webkit-box-sizing: border-box;  /*webkit系*/
    -moz-box-sizing: border-box;  /*Firefox*/
    box-sizing: border-box;
    height: 100%;
    flex: 1;
}
.top_box p {
    width:100%;
    margin-top: 10%; 
    padding: 0;
    font-size:30px;
        text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.title {
    font-weight:bold;
    font-size:45px;
}

.top_title2{
    margin: 5px auto 0 auto; /* 上 | 右 | 下 | 左 */
    font-size:20px;
    text-align: center;
    color: #000;/*文字色*/
    padding: 5px 0;/*上下の余白*/
    border-top: solid 1px #000;/*上線*/
    border-bottom: solid 1px #000;/*下線*/
    width:750px;
    background-color:rgba(255,255,255,1);
}
@media screen and (max-width: 1000px) {
.top_box {
    margin: 10% 0 10% 10%; /* 上 | 右 | 下 | 左 */
    position: absolute;
    /*padding: 0 0 10% 0;*/
    width:100%;
    height:auto;

.news{
    width:100%;
    text-align: left;
    padding: 1em 0em;
    border-top: 1px dashed #000;
    border-bottom: 1px dashed #000;
    width: fit-content;
    font-size:0.8em;
    background:rgba(255,255,255,0.8);
}
.news_title{
  padding: 0.5em 0.5em;
  border: 1px solid #000;
  font-size:0.6em;
}

}

.top_box p {
    margin: 10% 0 5% 0; /* 上 | 右 | 下 | 左 */
    padding: 0;
    font-size:20px;
        text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.title {
    font-weight:bold;
    font-size:30px;
}

footer{
    width: 100%;
    height: 68px;
    background-color: #585858;
    color: white;
    text-align: center;
    position: fixed;
    bottom: 0;
    left:0;
    margin:0;
    z-index:50;
}

.container {
    padding-bottom: 0.1em;
    box-sizing: border-box;
    padding-top:0.1em;
}

.link {
    padding-top:0.1em;
    padding-bottom:0.1em;
    font-size:10px;
}

hr.style {
    margin: 3px auto 3px auto;/* 上 | 右 | 下 | 左 */
    width: 60%;
    text-align: center;
}

.container p {
    margin: 0;/* 上 | 右 | 下 | 左 */
    font-size:12px;
}
.top_title2{
    display: none;
}

}


.main_contents{
    background-color: rgba(255, 255, 255, 0.8);
    width: 750px;
    height: auto;
    text-align: center;
    display: block;
    margin-left:auto;
    margin-right:auto;
}

.news{
    text-align: left;
    padding: 1em 0em;
    border-top: 1px dashed #000;
    border-bottom: 1px dashed #000;
    width: fit-content;
    background:rgba(255,255,255,0.8);
}

.news_title{
  padding: 0.5em 0.5em;
  border: 1px solid #000;
  font-size:0.8em;
}
