@charset "UTF-8";

@media screen and (max-width: 767px) {
  /* 767pxまでの幅の場合に適応される */
  #wrap {
    width: 100%;
    max-width: 767px;
    margin: 0 auto 0;
  }
  #mv_about {
    width: 100%;
  }
  #mv_about img {
    width: 100%;
    max-width: 767px;
    height: 100%;
    max-height: 500px;
    margin: 0 auto;
    object-fit: cover;
  }
  main {
    width: 90%;
    max-width: 767px;
    margin: auto;
  }
  #midashi {
    margin: 50px auto;
  }
  #midashi h1 {
    font-size: 2em;
    line-height: 1.5em;
    margin-bottom: 20px;
  }
  #sec1 {
    margin-bottom: 100px;
  }
  #sec1 .sec1_img {
    float: none;
    padding: 0;
    width: 80%;
    max-width: 767px;
    margin: 15px auto;
  }
  #sec1 .sec1_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  #sec2 {
    margin-bottom: 100px;
  }
  #sec2 .sec2_img {
    float: none;
    padding: 0;
    width: 80%;
    max-width: 767px;
    margin: 15px auto;
  }
  #sec2 .sec2_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  #sec3 {
    display: block;
    margin-bottom: 100px;
  }
  #sec3 img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
  }
  #sec4 {
    display: block;
  }
  #sec4 .text {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    margin-bottom: 15px;
    text-align: left;
  }
  #sec4 .sec4_img {
    width: 100%;
    max-width: 767px;
    aspect-ratio: 1280 / 1280;
    margin: 0 auto;
  }
  #sec4 img {
    width: 100%;
    object-fit: cover;
  }

  /* その他コンテンツ */
  #other_content {
    width: 100%;
    max-width: 767px;
    margin: 100px auto;
  }
  #other_content a {
    display: block;
    width: 300px;
    /*height: 80px;*/
    text-align: center;
    font-size: 1.1em;
    background-color: #ffffcc;
    margin: 0 auto;
  }
  #other_content .next_button p {
    width: 200px;
    margin: auto;
    padding-top: 22px;
    padding-bottom: 3px;
    border-bottom: 1px solid #999;
  }
}
