/* タブレット向けレイアウト */
@media all and (max-width: 1000px) {
  .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;
  }

  .top-wrapper3 li{
  padding: 5px 0 0 30px;
  }

  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;
  }


  .midashi1 {
  width: 80%;
  margin-left: 90px;
  }

  .midashi2 {
  width: 80%;
  margin-left: 90px;
  }

  @media all and (max-width: 800px) {
    .top-wrapper3 li{
    padding: 5px 0 0 10px;
    }
    .top-wrapper1 h2{
      font-size: 24px;
    }
    .top-wrapper1 p {
      font-size:30px;
    }
    .top-wrapper7 p {
      font-size:30px;
    }
    .top-wrapper2 h3 {
      font-size: 26px;
    }
    .top-wrapper2_list li {
      flex-basis: 46%;
      max-width: 46%;
    }
    .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;
    }

    .midashi1 {
    width: 88%;
    margin-left: 40px;
    }

    .midashi2 {
    width: 85%;
    margin-left: 40px;
    }

/* スマホ向けレイアウト */
@media all and (max-width: 670px) {
  .top-wrapper1 h2{
    font-size: 22px;
  }

  .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-wrapper2_list {
      display: block;
  }
  .top-wrapper2_list li {
      max-width: 96%;
      margin: 5%;
  }
  .top-wrapper2_list_tit {
      font-size: 30px;
  }
  .top-wrapper4_list4 li {
      flex-basis: 96%;
      max-width: 96%;
      margin:0;
      padding: 0 10px;
    }
  .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-wrapper2_p {
  margin: 5px 60px;
  }
  .top-wrapper2_ps {
  margin: 5px 60px;
  }

  .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;
  padding: 5px 0 0 0;
  }

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

  .button {
  font-size: 22px;
  padding: 20px 20px;
  }

  .midashi1 {
  width: 86%;
  margin-left: 30px;
  }

  .midashi12 {
  width: 86%;
  margin-left: 30px;
  }

  .top-wrapper2 h3 {
  font-size: 22px;
  }

  @media all and (max-width: 480px) {
    .top-wrapper1 h2{
      font-size: 20px;
    }
    header {
    height: 45px;
    }
    .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-wrapper2_p {
    margin: 5px 30px;
    }
    .top-wrapper2_ps {
    margin: 5px 30px;
    }
    .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: 30px;
    }

    .button {
    font-size: 18px;
    padding: 10px 15px;
    }

    .pc_line { display:none; }
    .sp_line { display:block; }

  .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  */
