/* Scss Document */
.pc {
  display: block; }

.sp {
  display: none !important; }

@media screen and (max-width: 800px) {
  .pc {
    display: none !important; }

  .sp {
    display: block !important; }

  body {
    min-width: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 110%; }

  img {
    max-width: 100%;
    vertical-align: middle;
    height: auto; }

  html, body {
    -webkit-text-size-adjust: none;
    box-sizing: border-box; }

  .mv {
    background: url(https://kyoritsu-dengyo.co.jp/wp/wp-content/uploads/2020/07/mv_sp.gif);
    background-size: 100% auto;
    padding-top: 162%; }

  .mv .apartment_bt, .mv .hospital_bt, .mv .station_bt {
    width: 13vw;
    height: 13vw; }

  .mv .hospital_bt {
    right: 9.8vw;
    top: 61.5vw; }

  .mv .apartment_bt {
    right: 50vw;
    top: 70.5vw; }

  .mv .station_bt {
    left: 21.2vw;
    top: 53vw; }

  .mv > div {
    max-width: 100%;
    width: 75%; }

  .mv .hospital {
    right: 3vw;
    top: 22vw; }

  .mv .apartment {
    top: 40vw;
    left: 25vw; }

  .mv .station {
    left: 20vw;
    top: 30vw; }

  main {
    padding: 50px 0; }

  .s1 {
    width: 90%;
    margin: 0 auto 30px;
    padding: 15px 30px 30px;
    box-shadow: 2px 2px 4px grey;
    background: #fff;
    text-align: center; }

  h2 img {
    transform: scale(0.5);
    transform-origin: center center; }

  h2 span {
    display: block;
    font-size: 18px;
    padding-bottom: 20px;
    font-weight: bold; }

  .s1 p {
    width: 100%;
    margin: 0 auto;
    line-height: 30px;
    background-position: 0px 0px;
    background-size: 30px 30px;
    background-color: #fff;
    background-repeat: repeat;
    background-image: linear-gradient(180deg, transparent 29px, #938980 29px);
    font-weight: bold;
    font-size: 16px; }

  .btn_set {
    padding-top: 30px;
    text-align: center;
    width: 400px;
    max-width: 80%;
    margin: 0 auto; }

  .btn_set .btn {
    border: 2px solid #008CB5;
    border-radius: 50px;
    color: #008CB5;
    width: 100%;
    display: block;
    padding: 10px 0;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    transition: .3s; }

  .s2 {
    margin-bottom: 30px; }

  .s2 .two_box {
    flex-wrap: wrap;
    padding-bottom: 30px; }

  .s2 .two_box .two_box_img,
  .s2 .two_box .two_box_txt {
    width: 100%;
    position: inherit; }

  .s4 .s4_bg {
    position: inherit;
    width: 96%; }
    .s4 .s4_bg img {
      position: inherit;
      top: inherit;
      transform: none;
      width: 100%; }

  .s2 .two_box .two_box_img {
    order: 2;
    padding-top: 0; }
    .s2 .two_box .two_box_img img {
      position: inherit;
      top: inherit;
      transform: none; }

  .s2 .two_box .two_box_txt {
    order: 1;
    padding: 30px; }

  .s2 p {
    font-size: 16px;
    color: #fff;
    line-height: 1.5; }

  .s3 {
    padding: 30px;
    margin-bottom: 30px; }

  .s3 p,
  .s4 .container p,
  .s5 .container p {
    font-size: 16px;
    line-height: 1.5; }

  .s4, .s5 {
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding-bottom: 30px; }

  .s4_bg,
  .s5_bg {
    order: 2;
    width: 96%;
    margin: 0 auto; }

  .s4 .container,
  .s5 .container {
    order: 1;
    width: 100%;
    padding: 30px; }

  .s4 .container h2 img {
    transform: scale(0.7); }

  .s5 .s5_bg {
    position: inherit;
    width: 96%; }

  .btn_set .white {
    border: 2px solid #fff;
    color: #fff; }

  .btn_set .white:before {
    background-color: #fff; }

  .btn_set .white:hover {
    color: #008CB5; }

  .btn_set .black {
    border: 2px solid #333;
    color: #333; }

  .btn_set .black:before {
    background-color: #008CB5; }

  .btn_set .black:hover {
    color: #fff;
    border-color: #008CB5; }

  footer {
    background-size: auto 100%;
    padding: 30px 0; }

  footer img {
    width: 50%;
    height: auto; }

  .s2 .two_box_txt .btn_set {
    position: inherit; }

  .contents_box_under h2 img {
    transform: scale(0.4);
    transform-origin: center; }

  .u_mv {
    background: url(img/m_bg.png) no-repeat;
    background-size: cover;
    padding: 0 0 30px; }

  .u_img {
    margin-top: -20px; }

  .u_mv .container:before,
  .u_mv .container:after {
    content: ""; }

  .contents_box_under .three_box,
  .contents_box_under .two_box {
    flex-wrap: wrap; }

  .contents_box_under .three_box li,
  .contents_box_under .two_box li {
    width: 100%;
    margin-bottom: 15px; }

  .pb50 {
    padding-bottom: 20px !important; }

  .pb80 {
    padding-bottom: 30px !important; }

  .pb30 {
    padding-bottom: 15px !important; }

  .contents_box_under h3 {
    font-size: 21px;
    font-weight: bold; }

  .contents_box_under dl {
    margin-top: 15px; }

  .contents_box_under dd {
    font-size: 16px; }

  .contents_box_under th, .contents_box_under td {
    display: block;
    width: 100%; }

  .contents_box_under th {
    padding: 10px 0;
    text-align: center; }

  .contents_box_under td {
    padding: 0;
    padding-bottom: 20px;
    font-size: 16px; }

  .contents_box_under #map, .contents_box_under #maps {
    margin: 0 auto;
    width: 100%;
    height: 350px; }

  .wpcf7-form {
    width: 90%;
    margin: 0 auto; }

  .ifrm-container {
    width: 100% !important;
    height: 150px !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto !important;
    display: inline-block;
    border: 1px solid #ccc !important; }

  .ifrm {
    width: 100% !important;
    margin: 0 !important;
    height: 100% !important;
    border: none !important;
    display: block !important; }

  input[type="text"], textarea, input[type="email"], textarea, input[type="tel"] {
    width: 100%; }

  .wpcf7-form th,
  .wpcf7-form td {
    display: block;
    width: 100% !important;
    padding: 15px 10px; }

  input[type="submit"], .wpcf7c-elm-step2 {
    width: 60%;
    margin-top: 0;
    font-size: 14px; }

  .drawer-nav {
    width: 90%; }

  .drawer-menu {
    width: 85%;
    margin-left: auto; }

  .drawer-nav li a {
    font-size: 3.8vw; }

  .drawer--right.drawer-open .drawer-hamburger {
    left: 10vw;
    right: inherit; } }
