@charset "utf-8";

@media screen and (max-width:1000px) {}

@media screen and (min-width:768px) {
  .sp {
    display: none !important;
  }
}

@media screen and (max-width:768px) {
  /* .pc {
    display: none;
  } */

  .midashi01 {
    font-size: 6.5vw;
  }

  .midashi02 {
    font-size: 5.8vw;
  }

  .midashi05 {
    font-size: 16px;
  }

  .nayami {
    flex-direction: column;
  }

  .nayami_txt {
    width: 100%;
  }

  .nayami_img {
    width: 50%;
    text-align: center;
  }

  .howtobox {
    flex-direction: column;
  }

  .howtobox_img {
    width: 100%;
  }

  .howtobox_txt {
    width: 100%;
  }

  .about {
    padding: 20px 4% 40px 4%;
  }

  .aboutbox {
    flex-direction: column;
  }

  .aboutbox_txt {
    width: 100%;
    order: 1;
  }

  .aboutbox_img {
    width: 100%;
    order: 2;
  }

  .howto_list {
    flex-direction: column;
  }

  .howto_list li {
    width: 100%;
  }

  .howtobox_txt h3 {
    text-align: center;
  }

  .sibokit_box {
    flex-direction: column;
  }

  .sibokit_box_img {
    width: 100%;
    order: 2;
  }

  .sibokit_box_txt {
    width: 100%;
    order: 1;
  }

  .sibokit_box_txt h3 {
    text-align: center;
  }

  .checklist_box {
    padding: 0 3% 3% 3%;
  }

  .case {
    padding: 20px 0 10px 0;
  }

  .casebox {
    margin: 40px auto;
    padding: 5%;
  }

  .casebox2 {
    margin: 50px auto 0;
    padding: 5%;
  }

  .case_icon {
    font-size: 36px;
    top: -32px;
  }

  .faq {
    padding: 20px 0 40px 0;
  }

  .flow {
    padding: 20px 0 0 0;
  }

  .flowbox {
    flex-direction: column;
    width: 92%;
    padding: 20px;
    margin: 20px auto 40px auto;
  }

  .flowbox_img {
    width: 100%;
  }

  .flowbox_txt {
    width: 100%;
    margin-top: 20px;
  }

  .cv {
    background: url("../img/cv_bg.jpg") no-repeat;
    background-position: center;
  }

  .linebox {
    flex-direction: column;
  }

  .clinic {
    padding: 20px 0 0 0;
  }

  .casebox {
    flex-direction: column;
  }

  .casebox_txt {
    width: 100%;
  }

  .casebox_img {
    width: 100%;
    text-align: center;
  }

  .incho {
    flex-direction: column;
  }

  .incho_txt {
    width: 100%;
    text-align: center;
  }

  .incho_txt h3 {
    margin-top: 0;
  }

  .incho_img {
    width: 100%;
    text-align: center;
  }

  .map {
    height: 150px;
  }

  .footer_list {
    flex-direction: column;
  }

  .footer_list li {
    margin-right: 0px;
  }

  .footer_list li:after {
    content: '';
    margin-left: 0px;
  }
}

@media screen and (max-width:660px) {

  /* header {
    height: 68px;
  }
  h1 {
    top: 4px;
    font-size: 24px;
  }
  h1 img {
    width: 80%;
  } */
  .cv_header {
    top: 15px;
    width: 160px;
  }

  h2.hukidashi {
    font-size: 5vw;
  }

  h2.hukidashi span {
    font-size: 6vw;
  }

  .pagetop {
    display: none;
    position: fixed;
    bottom: 0px;
    margin: 0;
    z-index: 10;
    width: 100%;
  }

  .use {
    padding: 20px 4% 40px 4%;
  }

  .usebox {
    flex-direction: column;
  }

  .usebox_txt {
    width: 100%;
  }

  .usebox_img {
    width: 100%;
  }

  .use_list li {
    flex-direction: column;
  }

  .follow_list {
    width: 100%;
    padding: 0;
    list-style-type: none;
    display: flex;
    margin: 0;
  }

  .follow_list li {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .follow_list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D30015;
    width: 100%;
    height: 85px;
  }

  .follow_list li a.contact_header {
    background: #4AB000;
  }

  .follow_list li a:hover {
    transition: .3s;
    opacity: .7;
  }

  /* footer {
    margin-bottom: 76px;
  } */
}