@charset "UTF-8";

@media(min-width:1000px) {
  .container {
    width: 100%;
  }

  body {
    min-width: 1000px;
    background-color: lightcyan;
    color: #00648c;
  }
  .openbtn{
    display: none;
  }
  nav{
    display: none;
  }
  .header {
    width: 100%;
    padding-top: 3%;
    background-image: url(../img/header.png);
    background-repeat: no-repeat;
    background-color: lightcyan;
  }

  .header_outer {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .header1 {
    width: 15%;
    margin-left: 60%;
  }

  .header2 {
    text-align: center;

  }

  .header3 {
    width: 100%;
    margin: auto 0;

    padding-top: 5%;
  }

  .header3 {
    width: 100%;
  }

  .header3 ul {
    display: table;
    margin: 0 auto;
    padding: 0;

    width: 80%;
    text-align: center;
    background-color: #FFEE7D;
  }

  .header3 li {
    display: table-cell;
    min-width: 50px;
  }

  .header3 li a {
    display: block;
    width: 250px;
    padding: 10px 0;
    text-decoration: none;
    color: #555;
    font-weight: bold;
  }

  .header3 li:hover {
    background-color: #FFF2CC;
  }

  .main1 {
    width: 100%;
    margin-top: 5%;
  }

  h3 {
    width: 100%;
    font-size: xx-large;
    text-align: center;
    padding: 3%;
    background-color: #FAE488;
    color: #555;
  }

  .main2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
  }

  .main3 {
    width: 30%;
  }

  .main3 img {
    width: 70%;
  }

  .main5 {
    width: 60%;
    margin: 0 auto;
  }

  .table_design08 {
    border-collapse: collapse;
    table-layout: fixed;
    width: 700px;
    height: 300px;
    max-width: 700px;
    text-align: center;
  }

  .table_design08 th,
  .table_design08 td {
    border: 2px solid #d2e8f1;
    padding: 1em;
  }

  .table_design08 thead th {
    background-color: #4d9bc1;
    color: #fff;
    border: 2px solid #4d9bc1;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }

  .table_design08 thead th:last-of-type {
    border-right: 2px solid #4d9bc1;
  }

  .table_design08 tbody th {
    color: #4d9bc1;
    font-weight: bold;
    text-align: center;
  }

  @media screen and (max-width: 787px) {
    .table_design08 {
      text-align: left;
    }

    .table_design08 thead {
      display: none;
    }

    .table_design08 th,
    .table_design08 td {
      display: block;
      border: 0;
      border-bottom: 2px solid #e6f1f6;
    }

    .table_design08 tbody th {
      background: #4d9bc1;
      color: #fff;
    }

    .table_design08 td::before {
      content: attr(data-label);
      color: #4d9bc1;
      font-weight: bold;
      display: inline-block;
      width: 20%;
      min-width: 4em;
    }
  }




  .footer {
    width: 100%;
    padding-top: 3%;
    background-image: url(../img/footer.png);
    background-color: lightcyan;
  }

  .footer1 ul {
    display: table;
    margin: 0 auto;
    padding: 0;

    width: 80%;
    text-align: center;
    background-color: #FFEE7D;
  }

  .footer1 li {
    display: table-cell;
    min-width: 50px;
  }

  .footer1 li a {
    display: block;
    width: 250px;
    padding: 10px 0;
    text-decoration: none;
    color: #555;
    font-weight: bold;
  }

  .footer1 li:hover {
    background-color: #FFF2CC;
  }

  .footer2 {
    width: 12%;
    display: flex;
    padding-top: 5%;
    margin: 0 auto;
  }

  .footer3 {
    margin-right: 25%;
  }

  .footer5 {
    text-align: center;
    padding-top: 5%;
  }
}


/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
  body {
    min-width: 600px;
    max-width: 999px;
    background-color: lightcyan;
    color: #00648c;
  }

  .container {
    width: 100%;
  }
  .openbtn{
    display: none;
  }
  nav{
    display: none;
  }
  .header {
    width: 100%;
    padding-top: 3%;
    background-image: url(../img/header.png);
    background-repeat: no-repeat;
    background-color: lightcyan;
  }

  .header_outer {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .header1 {
    width: 15%;
    margin-left: 55%;
  }

  .header2 {
    text-align: center;
    color: #00648c;
  }

  .header2 h1 {
    font-size: x-large;
  }

  .header3 {
    width: 100%;
    margin: auto 0;

    padding-top: 5%;
  }

  .header3 {
    width: 100%;
  }

  .header3 ul {
    display: table;
    margin: 0 auto;
    padding: 0;

    width: 80%;
    text-align: center;
    background-color: #FFEE7D;
  }

  .header3 li {
    display: table-cell;
    min-width: 50px;
  }

  .header3 li a {
    display: block;
    width: 180px;
    padding: 10px 0;
    text-decoration: none;
    color: #555;
    font-weight: bold;
  }

  .header3 li:hover {
    background-color: #FFF2CC;
  }

  .main1 {
    width: 100%;
    margin-top: 5%;
  }

  h3 {
    width: 100%;
    font-size: x-large;
    text-align: center;
    padding: 3%;
    background-color: #FAE488;
    color: #555;
  }

  .main2 {
    width: 100%;
    margin-top: 5%;
  }

  .main3 {
    width: 50%;
    margin: 0 auto;
  }

  .main3 img {
    width: 100%;
  }

  .main4 p {
    margin-left: 10%;
    margin-bottom: 5%;
  }

  .main5 {
    width: 60%;
    margin: 0 auto;
  }

  .table_design08 {
    border-collapse: collapse;
    table-layout: fixed;
    width: 700px;
    height: 300px;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
  }

  .table_design08 th,
  .table_design08 td {
    border: 2px solid #d2e8f1;
    padding: 1em;
  }

  .table_design08 thead th {
    background-color: #4d9bc1;
    color: #fff;
    border: 2px solid #4d9bc1;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }

  .table_design08 thead th:last-of-type {
    border-right: 2px solid #4d9bc1;
  }

  .table_design08 tbody th {
    color: #4d9bc1;
    font-weight: bold;
    text-align: center;
  }

  @media screen and (max-width: 650px) {
    .table_design08 {
      text-align: left;
    }

    .table_design08 thead {
      display: none;
    }

    .table_design08 th,
    .table_design08 td {
      display: block;
      border: 0;
      border-bottom: 2px solid #e6f1f6;
    }

    .table_design08 tbody th {
      background: #4d9bc1;
      color: #fff;
    }

    .table_design08 td::before {
      content: attr(data-label);
      color: #4d9bc1;
      font-weight: bold;
      display: inline-block;
      width: 20%;
      min-width: 4em;
    }
  }




  .footer {
    width: 100%;
    padding-top: 3%;
    background-image: url(../img/tb-footer.png);
    background-color: lightcyan;
  }

  .footer1 ul {
    display: table;
    margin: 0 auto;
    padding: 0;

    width: 80%;
    text-align: center;
    background-color: #FFEE7D;
  }

  .footer1 li {
    display: table-cell;
    min-width: 50px;
  }

  .footer1 li a {
    display: block;
    width: 200px;
    padding: 10px 0;
    text-decoration: none;
    color: #555;
    font-weight: bold;
  }

  .footer1 li:hover {
    background-color: #FFF2CC;
  }

  .footer2 {
    width: 12%;
    display: flex;
    padding-top: 5%;
    margin: 0 auto;
  }

  .footer3 {
    margin-right: 25%;
  }

  .footer5 {
    text-align: center;
    padding-top: 5%;
  }
}



/*spサイズレスポンシブ*/
@media(min-width:0px) and (max-width:599px) {
  body {
    min-width: 0px;
    max-width: 599px;
    background-color: lightcyan;
    color: #00648c;
  }

  .container {
    width: 100%;
  }

  .header {
    width: 100%;
    padding-top: 3%;
    background-image: url(../img/sp-header.png);
    background-repeat: no-repeat;
    background-color: lightcyan;
}

.header_outer {
    width: 100%;
    display: flex;
    align-items: center;
}

.header1 {
    width: 30%;
    margin-left: 10%;
}

.header2 {
    text-align: center;
    color: #00648c;
    margin-left: 5%;
}

.header2 h1 {
    font-size: large;
}

.header2 h2 {
    font-size: medium;
}
.header2 p{
    font-size: small;
}
.header3 {
  display: none;
 }
    .main1 {
      width: 100%;
      margin-top: 5%;
    }
    .main1 h3{
      width: 100%;
      font-size: medium;
      text-align: center;
      padding: 3%;
      background-color: #FAE488;
      color: #555;
    }

    .main2 {
      width: 100%;
      margin-top: 5%;
    }

    .main3 {
      width: 50%;
      margin: 0 auto;
    }

    .main3 img {
      width: 100%;
    }

    .main4 p {
      margin-left: 10%;
      margin-bottom: 5%;
    }

    .main5 {
      width: 60%;
      margin: 0 auto;
    }

    .table_design08 {
      border-collapse: collapse;
      table-layout: fixed;
      width: 300px;
      height: 150px;
      max-width: 700px;
      text-align: center;
      margin: 0 auto;
    }

    .table_design08 th,
    .table_design08 td {
      border: 2px solid #d2e8f1;
      padding: 1em;
    }

    .table_design08 thead th {
      background-color: #4d9bc1;
      color: #fff;
      border: 2px solid #4d9bc1;
      border-right: 2px solid #fff;
      border-bottom: 2px solid #fff;
    }

    .table_design08 thead th:last-of-type {
      border-right: 2px solid #4d9bc1;
    }

    .table_design08 tbody th {
      color: #4d9bc1;
      font-weight: bold;
      text-align: center;
    }

    @media screen and (max-width: 650px) {
      .table_design08 {
        text-align: left;
      }

      .table_design08 thead {
        display: none;
      }

      .table_design08 th,
      .table_design08 td {
        display: block;
        border: 0;
        border-bottom: 2px solid #e6f1f6;
      }

      .table_design08 tbody th {
        background: #4d9bc1;
        color: #fff;
      }

      .table_design08 td::before {
        content: attr(data-label);
        color: #4d9bc1;
        font-weight: bold;
        display: inline-block;
        width: 20%;
        min-width: 4em;
      }
    }

    .footer {
      width: 100%;
     height: 200px;
      margin: 0 auto;
      background-image: url(../img/sp-footer.png);

  }


    .footer1{
      display: none;
  }
      .footer2 {
          width: 25%;
          display: flex;
          padding-top: 5%;
          margin: 0 auto;
      }
  
      .footer3 {
          margin-right: 25%;
      }
  
      .footer5 {
          text-align: center;
          padding-top: 5%;
      }
    }  
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:0;
  right: -120%;
width:100%;
  height: 100vh;/*ナビの高さ*/
background:#FFEE7D;
  /*動き*/
transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
list-style: none;
  text-align: center;
}

#g-nav li a{
color: #333;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
top:10px;
right: 10px;
cursor: pointer;
  width: 50px;
  height:50px;
}

/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
background-color: #FFEE7D;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
top:15px;	
}

.openbtn span:nth-of-type(2) {
top:23px;
}

.openbtn span:nth-of-type(3) {
top:31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
