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




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

.greetings p {
    margin: 0; 
    padding: 0;
    line-height: 2.2em;
    text-align: left;
}

.box{
    width:750px;
    margin-top:10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:10px;
    color:#000;
    border-bottom:2px solid #D8D8D8;
    background-color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

@media screen and (max-width: 767px){
.box{
    width:100%;
    margin-top:10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:10px;
    color:#000;
    border-bottom:2px solid #D8D8D8;
    background-color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

}


h2.greetings_header{
  background-size: 15px 15px;
  text-align: center;
  border-bottom: 1px solid; 
  height:100%;
  width:90%;
  margin: 0 auto;
}
.box .greetings{
  padding: .5em;
  margin-top:1em;
  width: 100%;
}

/*能力表*/
table.capacity{
  margin: 5px auto;
  width: 700px;
  text-align: center;
  border-collapse: collapse;
  border: 1px solid black;
}
table.capacity td,th {
  border: 1px solid black;
  white-space: nowrap;
  padding: 5px 10px;
}

table.capacity p{
  font-weight:lighter;
  font-size:70%;
  line-height: 15%
}
table.capacity thead th {
  background-color: #E0F2F7;
  vertical-align:top;
  line-height: 5%
  padding: 30% 0 0 0;     /*上 右 下 左*/
  height:auto;
  white-space: nowrap;
}
table.capacity thead tr th p {
  text-align: center;
}

table.capacity tbody th {
  background-color: #EFF8FB;
  height:50px;
  white-space: nowrap;
}
table.capacity caption{
  text-align: right;
}

/*カタログ画像*/
img.catalog {
  width: 90%;
  height: auto;
  display: block;
  margin:auto;
  -webkit-box-sizing: border-box;  /*webkit系*/
  -moz-box-sizing: border-box;  /*Firefox*/
  box-sizing: border-box;
}

.kakomu{
  padding:0.5px 5px; /* 枠と文字の空間 */
  margin:0 5px; /* 枠の外の空間 */
  background-color:#f9f9f9; /* 枠の背景色 */
  border:1px solid #777; /* 枠の線の太さ・種類・色 */
  border-radius:2px; /* 枠の角を丸くする */
  box-shadow: 1px 2px 2px #ddd; /*影をいれる*/
  font-family:inherit; /* フォントの種類を継承する */
  font-size:0.85em; /* フォントの大きさ */
  vertical-align:5%; /* 上下位置ずらし */
}

.table_container table{
  width:90%;
}
.table_container{
  overflow: auto;/*tableをスクロールさせる*/
  white-space: nowrap;/*tableのセル内にある文字の折り返しを禁止*/
}
.table_container::-webkit-scrollbar{/*tableにスクロールバーを追加*/
  height: 5px;
}
.table_container::-webkit-scrollbar-track{/*tableにスクロールバーを追加*/
  background: #F1F1F1;
}
.table_container::-webkit-scrollbar-thumb {/*tableにスクロールバーを追加*/
  background: #BCBCBC;
}
