@charset "UTF-8";

@media screen and (min-width:601px) {
  /* PC版のcss */

  body {
    background-color: #ffffff;
  }

  body {
    font-family: "BIZ UDMincho", "Meiryo", "メイリオ", "sans-serif", serif;
  }

  * {
    margin: 0;
    padding: 0;
  }

  a {
    color: #000000;
    text-decoration: none;
    display: block;
  }

  ul {
    list-style: none;
  }

  h2 {
    margin-top: 140px;
    margin-bottom: 20px;
    text-align: center;
  }

  #time {
    text-align: center;
    margin-top: 30px;
    font-size: 20px;
  }

  #Inner {
    height: 80px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
  }

  .header {
    display: flex;
    align-items: center;
    position: relative;
  }

  .icon {
    font-size: 24px;
    width: 280px;
    display: flex;
    justify-content: flex-start;
    margin-top: 5px;
  }

  .name {
    font-size: 30px;
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
  }

  .humberger {
    display: none;
  }

  #mainmenu {
    position: absolute;
    top: 77px;
    list-style: none;
    width: 100%;
    margin-bottom: 7px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
  }

  #mainmenu li {
    width: 20%;
    height: 50px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.998);
    line-height: 3;
    border: 1.5px solid rgb(24, 193, 123);
    font-size: 14px;
    border-width: 1.5px;
    font-weight: bold;
  }

  #mainmenu li:first-child {
    width: 19.74%;
    /*幅。６個メニューなので、割り切れない分をここで再設定。*/
  }

  #serch {
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 3;
  }
  
  #main {
    float: left;
    width: 77%;
  }

  #sub {
    float: right;
    position: absolute;
    right: 0;
    top: 250px;
    width: 23%;
  }

  .box {
    display: flex;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    width: 60%;
    height: 450px;
    background-color: #c8fbf3;
  }


  #textboxs {
    flex-direction: column;
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }


  .textbox1,
  .textbox2,
  .textbox3,
  .textbox4,
  .textbox5 {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    width: 80%;
    height: 45px;
    background-color: #ffffff;
    font-size: 2vw;
    line-height: 35px;
  }

  .box2 {
    display: flex;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    height: 130px;
    background-color: #c8fbf3;
    margin-bottom: 300px;
  }

  .textbox6 {
    display: flex;
    margin-top: 15px;
    width: 80%;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 600px;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 2vw;
    line-height: 25px;
  }


  .submenu {
    background-color: rgb(221, 221, 221);
    width: 80%;
    height: 550px;
    padding-top: 10px;
    margin-top: 10px;
    box-shadow: 2px 2px 2px #a8a2a2, -2px -2px 2px #a8a2a2;
  }

  .submenu li {
    margin-top: 10px;
    padding-top: 30px;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
  }

  .submenu img {
    width: 80%;
  }

  #otoiawase img {
    text-align: center;
    margin-top: 20px;
    width: 80%;
  }



  #three {
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  #three li {
    width: 16.55%;
    height: 50px;
    text-align: center;
    background-color: #31fb85;
    line-height: 3;
    border: 1px solid #47cb7e;
    font-size: 14px;
  }

  #three li:first-child {
    width: 16.6%;
    /*幅。６個メニューなので、割り切れない分をここで再設定。
}*/
  }

  #footerInner {
    height: 80px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
    clear: both;
    margin-bottom: 0px;
    display: flex;
    position: relative;
  }


  #copy {
    display: flex;
    position: absolute;
    color: #000000;
    left: 10px;
    margin-top: -17px;
    bottom: 5px;
    font-size: 10px;
  }
}

@media screen and (max-width:600px) {
  /* スマホ版のcss */

  body {
    background-color: #ffffff;
  }

  body {
    font-family: "BIZ UDMincho", "Meiryo", "メイリオ", "sans-serif", serif;
  }

  * {
    margin: 0;
    padding: 0;
  }

  a {
    color: #000000;
    text-decoration: none;
    display: block;
  }

  ul {
    list-style: none;
  }

  h2 {
    margin-top: 100px;
    margin-bottom: 20px;
    text-align: center;
  }

  #time {
    text-align: center;
    margin-top: 30px;
    font-size: 20px;
  }

  #Inner {
    height: 75px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
  }

  .header {
    display: flex;
    align-items: center;
    position: relative;
  }

  .icon {
    font-size: 24px;
    width: 280px;
    display: flex;
    justify-content: flex-start;
    margin-top: 5px;
  }

  .name {
    font-size: 25px;
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
  }


  /* ハンバーガーメニューCSS */


  .drawer_hidden {
    display: none;
  }


  .drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 50px;
    top: 35px;
    z-index: 100;
    cursor: pointer;
  }


  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 4px;
    width: 27px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
  }


  .drawer_open span:before {
    bottom: 10px;
  }


  .drawer_open span:after {
    top: 10px;
  }


  #drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
  }


  #drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }


  .nav_content {
    width: 200px;
    height: 250px;
    position: fixed;
    bottom: 100%;
    right: 0px;
    z-index: 99;
    background: rgb(110, 110, 110);
    transition: .5s;
    text-align: center;
    font-size: 18px;
  }


  .nav_list {
    list-style: none;
  }

  .nav_item {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .nav_item a {
    color: #fff;
    text-decoration: none;
  }


  #drawer_input:checked~.nav_content {
    bottom: 0;


  }

  #serch {
    position: absolute;
    top: 20px;
    right: 70px;
    z-index: 3;
  }

  #mainmenu {
    display: none;
  }

  #sub {
    display: none;
  }

  .box {
    display: flex;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 7px;
    width: 310px;
    height: 350px;
    background-color: #c8fbf3;
  }


  #textboxs {
    flex-direction: column;
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
  }


  .textbox1,
  .textbox2,
  .textbox3,
  .textbox4,
  .textbox5 {
    display: flex;
    margin-top: 30px;
    width: 280px;
    height: 35px;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    text-align: center;
    font-size: 16px;
  }

  .box2 {
    display: flex;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 310px;
    height: 120px;
    background-color: #c8fbf3;
    margin-bottom: 130px;
  }

  .textbox6 {
    display: flex;
    margin-top: 10px;
    width: 280px;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 600px;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 16px;
    line-height: 25px;
  }

  .submenu {
    display: none;
  }


  #three {
    list-style: none;
    float: left;
    overflow: hidden;
    width: 100%;
  }

  #three li {
    float: left;
    width: 33%;
    height: 30px;
    text-align: center;
    background-color: #31fb85;
    line-height: 2;
    border: 1px solid #47cb7e;
    font-size: 14px;
  }

  #three li:first-child {
    width: 32.9%;
  }

  #footerInner {
    height: 80px;
    background-color: rgba(98, 222, 120, 0.7);
    width: 100%;
    clear: both;
    margin-bottom: 0px;
    display: flex;
    position: relative;
  }


  #copy {
    display: flex;
    position: absolute;
    color: #000000;
    left: 10px;
    margin-top: -17px;
    bottom: 5px;
    font-size: 10px;
  }
}