/* タブレット向けレイアウト */
@media all and (max-width: 1000px) {
  .top-wrapper {
      margin-top: 58px;
  }

  .top-bnr-title {
      font-size: 24px;
  }

  .btn-wrapper {
   top: 59%;
    left: 24%;
}

  .case {
    width: 32%;
    margin-bottom: 50px;
    padding: 10px 10px;
    margin: 10px 5px;
    background: #f7f7f7;
  }

  header {
    height: 58px;
  }

  .header-left span{
    font-size: 28px;
  }

  footer {
    text-align: center;
  }

  .top-wrapper h1 {
    font-size: 32px;
  }

  .heading h2 {
    font-size: 20px;
  }

  .top-wrapper3 ul {
      padding: 5px 0 0 80px;
  }

  @media all and (max-width: 800px) {
    .top-wrapper {
        margin-top: 50px;
    }
    .top-wrapper1 p {
      font-size:30px;
    }
    .top-wrapper7 p {
      font-size:30px;
    }
    .top-wrapper2 h3 {
      font-size: 30px;
    }
    .top-wrapper2_list li {
      flex-basis: 30%;
      max-width: 30%;
    }
    .top-wrapper2_list_tit {
      font-size: 19px;
    }
    .btn-wrapper {
     top: 58%;
      left: 20%;
  }
    .header-left span{
      font-size: 22px;
    }
    header {
      height: 52px;
    }
    .case {
      width: 31%;
    }
    .button {
    font-size: 26px;
    }


/* スマホ向けレイアウト */
@media all and (max-width: 670px) {
  .container3 {
      margin: 0px auto;
  }
  .top-bnr-title {
      font-size: 22px;
  }
  .top-wrapper3 h3 {
      font-size: 24px;
  }
  .case {
    width: 100%;
  }
  .header-left span{
    font-size: 16px;
  }
  .btn {
    margin: 0 auto;
    width: 100%;
  }
  .btn-wrapper {
    margin: 10px auto;
    position:unset;
  }
  .construct {
    margin-bottom: 10px;
  }
  .top-wrapper {
      margin-top: 50px;
  }
  .top-wrapper2_list {
      display: block;
  }
  .top-wrapper2_list li {
      max-width: 96%;
      margin: 5%;
  }
  .top-wrapper2_list_tit {
      font-size: 30px;
  }
  .top-wrapper2_list4 li {
      flex-basis: 40%;
      max-width: 40%;
      margin: 2%;
    }
  .top-wrapper2_list6 li {
      flex-basis: 26%;
      max-width: 26%;
      margin: 0%;
      padding: 0px;
    }
  /* header-rightクラスのdisplayをnoneに指定してください */
  .header-right{
    display:none;
  }
  /* menu-iconクラスのdisplayをblockに指定してください  */
  .menu-icon{
    display:block;
  }
  .top-wrapper h1 {
    font-size: 24px;
  }

  .top-wrapper p {
    font-size: 14px;
  }

  .top-wrapper1 p{
    font-size: 26px;
    margin-top: 10px;
  }

  .top-wrapper3 ul {
      padding: 5px 15px 0 20px;
  }

  .top-wrapper3 li {
      font-size: 18px;
  }

  .top-wrapper7 p{
    font-size: 26px;
    margin-top: 10px;
  }

  .button {
  font-size: 22px;
  }

  @media all and (max-width: 470px) {
    header {
    height: 45px;
    }
    .top-wrapper {
    margin-top: 40px;
    }
    .top-wrapper3 ul {
    padding: 5px 5px 0 10px;
    }
    .top-wrapper2_list_tit {
        font-size: 24px;
    }
    .header-left span{
    font-size: 13px;
    }
    .top-bnr-title{
    font-size: 20px;
    }
    .top-wrapper1 p{
    font-size: 22px;
    margin-top: 10px;
    }
    .top-wrapper2 h3 {
    font-size: 20px;
    }
    .top-wrapper4 h3 {
    font-size: 22px;
    }
    .top-wrapper7 p{
    font-size: 22px;
    margin-top: -10px;
    }
    .message-wrapper {
    padding-top: 20px;
    }
    .button {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px
    }

  .pc { display: none !important; }
  .smp { display: block !important; }

  @media all and (max-width: 400px) {
    .top-wrapper1 p {
    font-size: 20px;
    }
    .top-wrapper2_list_tit {
    font-size: 20px;
    }
    .top-wrapper2_list_txt {
    font-size: 16px;
    }
    .top-wrapper4 p {
    font-size: 18px;
    }
    .top-wrapper2 h3 {
    font-size: 18px;
    }
    .button {
    font-size: 18px;
  }
} /* 400px  */
} /* 470px  */
} /* 640px  */
} /* 800px  */
} /* 1000px  */
