@charset "UTF-8";

@media screen and (max-width: 1049px) and (min-width: 768px) {
  /* 1049pxまでの幅の場合に適応される */
  #mv .catch_copy {
    position: absolute;
    top: 5%;
    right: 2%;
    width: 428px;
  }
  #mv .catch_copy p {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    font-size: 3.5em;
    line-height: 1.7em;
    color: #fff;
  }
  /* 共通 */

  /* 豊資会について */
  #about {
    width: 100%;
    height: 800px;
  }
  #about .about_box {
    position: absolute;
    top: 47%;
    right: 3%;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 400px;
    height: 400px;
    background: #fff;
  }
  #about h1 {
    margin: 30px 0;
  }
  #about h2 {
    margin-bottom: 15px;
  }

  /* 募集要項 */
  #bosyu {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 200px auto;
    height: 600px;
  }
  #bosyu .bosyu_box {
    position: absolute;
    top: -100px;
    left: 0;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 430px;
    max-width: none;
    height: 400px;
    background-color: #fff;
    border-left: 1px solid #999;
    border-top: 1px solid #999;
  }
  #bosyu .bosyu_box .text {
    width: 85%;
    margin: auto;
    text-align: center;
  }
  #bosyu h1 {
    margin: 30px 0;
  }
  #bosyu h2 {
    margin-bottom: 15px;
  }
  #bosyu .bosyu_box .white_button {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    background: #fff;
  }
  #bosyu .bosyu_img {
    position: absolute;
    right: 0;
    left: auto;
    z-index: -1;
  }
  #bosyu .bosyu_img img {
    width: 500px;
    height: 500px;
    object-fit: cover;
  }
  #bosyu .bg_yellow {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    bottom: 10%;
    background-color: #ffffcc;
    width: 100vw;
    height: 300px;
    z-index: -999;
  }

  /* 先輩からのメッセージ */
  #message {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 100px auto;
    height: 600px;
  }
  #message .message_box {
    position: absolute;
    top: -100px;
    right: 0;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 430px;
    max-width: none;
    height: 500px;
    background-color: #fff;
    border-right: 1px solid #999;
    border-top: 1px solid #999;
  }
  #message .message_box .text {
    width: 85%;
    margin: auto;
    text-align: center;
  }
  #message .message_box .text h1 {
    line-height: 1.5em;
  }
  #message h1 {
    margin: 30px 0;
  }
  #message h2 {
    margin-bottom: 15px;
  }
  #message .message_box .white_button {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    background: #fff;
  }
  #message .message_img {
    position: absolute;
    right: auto;
    left: 0;
    top: auto;
    z-index: -1;
  }
  #message .message_img img {
    width: 500px;
    height: 500px;
    object-fit: cover;
  }
  #message .bg_pink {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    bottom: 10%;
    background-color: #ffcccc;
    width: 100vw;
    height: 300px;
    z-index: -999;
  }
}
@media screen and (max-width: 999px) and (min-width: 768px) {
  #bosyu .bosyu_box {
    position: absolute;
    top: -100px;
    left: 0;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 400px;
    max-width: none;
    height: 400px;
    background-color: #fff;
    border-left: 1px solid #999;
    border-top: 1px solid #999;
  }
  #message .message_box {
    position: absolute;
    top: -100px;
    right: 0;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 400px;
    max-width: none;
    height: 500px;
    background-color: #fff;
    border-right: 1px solid #999;
    border-top: 1px solid #999;
  }
}

@media screen and (max-width: 767px) {
  /* 共通 */
  section h1 {
    margin-top: 50px;
    margin-bottom: 25px;
  }
  section h2 {
    margin-bottom: 10px;
  }

  /* ここから個別 */
  #mv .catch_copy {
    position: absolute;
    top: 5%;
    right: 5%;
    width: auto;
  }
  #mv .catch_copy p {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    font-size: 2.5em;
    line-height: 1.4em;
    color: #fff;
  }
  #about {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 100px;
    margin: 100px 0 100px;
    background: none;
    background-position: none;
    background-size: none;
    background: #cccfff;
  }
  #about .sp {
    width: 100%;
    max-width: 767px;
    height: 300px;
    min-height: 350px;
    background: url(../img/sp/bg_about.jpg) no-repeat;
    background-position: center;
    background-size: cover;
  }
  #about .about_box {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 85%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    background: none;
  }
  #about .about_box .text {
    width: 100%;
    margin: auto;
  }
  #about .about_box .white_button {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    margin: 50px auto 0;
    background: #fff;
  }

  /* 募集要項 */
  #bosyu {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 100px;
    margin: 0 auto 100px;
    background: #ffffcc;
  }
  #bosyu .sp {
    width: 100%;
    max-height: 767px;
    height: 300px;
    min-height: 350px;
    background: url(../img/sp/01.jpg) no-repeat;
    background-position: center;
    background-size: cover;
  }
  #bosyu .bosyu_box {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 85%;
    max-width: none;
    height: auto;
    margin: 0 auto;
    background: none;
  }
  #bosyu .bosyu_box .text {
    width: 100%;
    margin: auto;
    text-align: left;
  }
  #bosyu .bosyu_box .white_button {
    position: static;
    bottom: auto;
    right: auto;
    background: #fff;
    margin: 50px auto 0;
  }
  #bosyu .bosyu_img {
    display: none;
    position: static;
    left: none;
  }
  #bosyu .bg_yellow {
    display: none;
  }

  /* 先輩からのメッセージ */
  #message {
    position: relative;
    width: 100%;
    margin: 0 auto 100px;
    padding-bottom: 100px;
    height: auto;
    background: #ffcccc;
  }
  #message .sp {
    width: 100%;
    max-height: 767px;
    height: 300px;
    min-height: 350px;
    background: url(../img/sp/03.jpg) no-repeat;
    background-position: center;
    background-size: cover;
  }
  #message .message_box {
    position: static;
    top: none;
    right: none;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    width: 85%;
    height: auto;
    margin: 0 auto;
    background: none;
  }
  #message .message_box .text {
    width: 100%;
    margin: auto;
  }
  #message .message_box .text h1 {
    line-height: 1.5em;
    margin-top: 50px;
  }
  #message .message_box .white_button {
    position: static;
    bottom: auto;
    left: auto;
    background: #fff;
    margin: 50px auto 0;
  }
  #message .message_img {
    display: none;
    position: static;
    right: none;
    top: none;
  }
  #message .bg_pink {
    display: none;
  }
  /* その他コンテンツ */
  #other_content {
    display: block;
    width: 100%;
    max-width: 767px;
    margin: 0 auto 100px;
  }
  #other_content .left_button,
  .right_button {
    max-width: 300px;
    text-align: center;
    font-size: 1.2em;
    margin: 0 auto;
  }
  #other_content .left_button {
    margin: 0 auto 100px;
    background: #ccffff;
  }
  #other_content .right_button {
    background: #ccffcc;
  }
  #other_content a {
    display: block;
    height: 80px;
  }
  #other_content .left_button p,
  .right_button p {
    margin: auto;
    padding-top: 22px;
    padding-bottom: 3px;
    border-bottom: 1px solid #999;
  }
  #other_content .left_button p {
    width: 180px;
  }
  #other_content .right_button p {
    width: 250px;
  }
}
