/*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;
    margin:0;
    padding:0;
    height:100%;
}
main {
    position: relative;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
    min-height:100%;
    width: 950px;
    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;
    background-repeat: no-repeat,no-repeat;
    background-size: 30% auto,90% auto;
}
main {
    margin-top:200px;
    margin-bottom:100px;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    text-align: center;
    height:100%;
    width: 100%;
    flex: 1;
}
}

/* 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 100px 1.5em; /* 上 | 右 | 下 | 左 */
    text-align: left;
    -webkit-box-sizing: border-box;  /*webkit系*/
    -moz-box-sizing: border-box;  /*Firefox*/
    box-sizing: border-box;
}
.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 20% 0; /* 上 | 右 | 下 | 左 */
    position: absolute;
    padding: 0 0 10% 0;
    width:100%;
    height:auto;
    margin-left:10%;
    margin-top:15%;
}
.top_box p {
    margin: 10% 0 20% 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: auto;
    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;
}
@media screen and (max-width: 1000px) {
.main_contents{
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: auto;
    text-align: center;
    display: block;
    margin-left:auto;
    margin-right:auto;
    margin-top:100px;
    margin-bottom:100px;
}
}

/*----------------以下ページ毎内容-----------------*/

/*問い合わせ枠*/
table.contact {
    border-collapse: separate;
    border: solid 1px #000;
    border-radius: 15px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0;
    background: #fff;
    text-align:center;
}

table.contact thead tr th {
    color: #000;
    border-radius: 13px;
    border-spacing: 0;
}

.contact th {
    width: 80px;
    height: 35px;
    margin:0;
}

.contact td {
    width: 200px;
    height: 50px;
    margin:0;
}

p.text{
    text-align:center;
    font-size: 80%;
}

p {
    text-align: center;
}

.under {
    background: linear-gradient(transparent 50%, #a8c7e8 50%);
    font-size:120%;
}

p.line_u {
    border-bottom:dotted;
    border-color:#000000;
    border-width:1px;
    width:200px;
    margin:auto;
}

.tel-number a {
    color:#000;
    text-decoration:none;
    }
@media screen and (max-width: 1000px) {


.box{
    dispaly:block;
    width:80%;
    margin-top:100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:100px;
    padding: 1em;
    color:#000;
    border-bottom:2px solid #D8D8D8;
    background-color: rgba(255,255,255,0.9);
    font-size:25px;
    z-index:2;
}

/*問い合わせ枠*/
table.contact {
    border-collapse: separate;
    border: solid 1px #000;
    border-radius: 15px;
    text-align: center;
    margin:auto;
    background: #fff;
}

table.contact thead tr th {
    color: #000;
    background: #fff;
    border-radius: 13px;
}

.contact th {
  width: 80px;
  height: 35px;
  font-size:25px;
}

.contact td {
  width: 200px;
  height: 50px;
  font-size:25px;
}

p.text{
  text-align:center;
  font-size:20px;
}

p {
 text-align: center;
}

.under {
  background: linear-gradient(transparent 50%, #a8c7e8 50%);
  font-size:25px;
}

p.line_u {
  border-bottom:dotted;
  border-color:#000000;
  border-width:1px;
  width:200px;
  margin:auto
}


}
