@charset "utf-8";
@media screen and (max-width:1000px) {
}
@media screen and (min-width:769px) {
  .sp {
    display: none!important;
  }
}
@media screen and (max-width:768px) {
  .pc {
    display: none;
  }
  h2.hukidashi {
    font-size: 4vw;
  }
  h2.hukidashi span {
    font-size: 5vw;
  }
  .midashi01 {
    font-size: 6.5vw;
  }
  .midashi02 {
    font-size: 5.8vw;
  }
  .midashi03 {
    font-size: 7vw;
  }
  .nayami {
    flex-direction: column;
  }
  .nayami_txt {
    width:100%;
  }
  .nayami_img {
    width:50%;
  }
  .about {
    padding: 20px 4% 40px 4%;
  }
  .aboutbox {
    flex-direction: column;
  }
  .aboutbox_txt {
    width: 100%;
  }
  .aboutbox_img {
    width: 100%;
  }
  .kouka {
    padding: 20px 4% 40px 4%;
  }
  .kouka_list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .kouka_list li {
    width: 30%;
    margin: 0 1%;
  }
  .kouka_p {
    text-align: left;
    margin-top: 20px;
  }
  .kouka_link:before {
    position: absolute;
    content: '';
    background: url("../img/arrow.png") no-repeat;
    width: 9px;
    height: 17px;
    top: 0;
    left: 0;
    margin: 0;
  }
  .medicine {
    padding: 20px 4% 10px 4%;
  }
  .medicinebox {
    margin: 40px auto;
  }
  .medicinebox_txt {
    width: 100%;
    padding: 2% 6%;
  }
  .medicinebox_img {
    width: 100%;
    position: static;
  }
  .medicinebox02 {
    height: auto!important;
    margin: 20px auto;
  }
  .medicinebox_txt02 {
    width: 100%;
    position: static;
    padding: 2% 6%;
  }
  .medicinebox_img02 {
    width: 100%;
    position: static;
  }
  .case {
    padding: 20px 0 10px 0;
  }
  .casebox {
    margin: 40px auto;
    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_sp.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;
  }
  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: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .follow_list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c34343;
    width: 100%;
    height: 85px;
  }
  .follow_list li a.contact_header {
    background: #363230;
  }
  .follow_list li a:hover {
    transition: .3s;
    opacity: .7;
  }
  footer {
    margin-bottom: 76px;
  }
}
