/* 特大デバイス（ワイド・デスクトップ, 1200px 以上）
============================================================================*/
@media screen and (min-width: 1200px) {
  #footer #footer-contents>div {
    border-left: 1px solid #774831;
    border-right: 1px solid #774831;
    border-collaps: collapse;
  }

  #footer #footer-contents>div:last-child {
    border-right: 1px solid #774831;
  }

  #footer img {
    width: 100%;
  }

  .img-pc-home {
    display: block !important;
  }

  .img-sp-home {
    display: none !important;
  }

  .img-pc {
    display: block !important;
  }

  .img-sp {
    display: none !important;
  }

  .br-pc {
    display: block !important;
  }

  .br-sp {
    display: none !important;
  }
}

/* END */

/* 大デバイス（デスクトップ, 1200px 未満）
============================================================================*/
@media screen and (max-width: 1199.98px) {
  /* トップページ：各セクション */

  #footer #footer-contents>div {
    border-left: none;
    border-right: none;
  }

  .img-pc-home {
    display: block !important;
  }

  .img-sp-home {
    display: none !important;
  }

  .img-pc {
    display: block !important;
  }

  .img-sp {
    display: none !important;
  }

  .br-pc {
    display: block !important;
  }

  .br-sp {
    display: none !important;
  }
}

/* END */

/* 中デバイス（タブレット, 992px 未満）
============================================================================*/
@media screen and (max-width: 991.98px) {
  #footer #footer-contents>div {
    border-bottom: 1px solid #774831;
    border-left: none;
    border-right: none;
    padding-bottom: 1rem;
  }

  #footer img {
    width: 100%;
    max-width: 748px;
    margin: 0 auto;
  }

  #footer ul li {
    border-right: none !important;
    border-left: none !important;
  }

  /* トップページ：各セクション */

  .home-section {
    margin: 0;
    background-image: none;
    width: 100%;
    max-width: 991.98px;
    padding: 0;
  }

  .wam .svg-p {
    max-width: 140px;
  }


  .img-pc-home {
    display: none !important;
  }

  .img-sp-home {
    display: block !important;
  }

  .br-pc {
    display: none !important;
  }

  .br-sp {
    display: block !important;
  }
}

/* END */

/* 小デバイス（横向きモバイル, 768px 未満）
============================================================================*/
@media screen and (max-width: 767.98px) {
  /*main .btn {
    font-size: 0.95rem;
  }*/

  #footer #footer-contents>div:first-child {
    border-right: none !important;
    border-left: none !important;
  }



  #footer .container {
    padding-top: 0px;
  }

  #footer .container .row {
    margin-bottom: 0;
  }

  #footer #copyright {
    font-size: 0.8rem;
  }

  .img-pc {
    display: none !important;
  }

  .img-sp {
    display: block !important;
  }

  .br-pc {
    display: none !important;
  }

  .br-sp {
    display: block !important;
  }

  .sub-txt {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.375rem;
  }

  .h1 {
    font-size: 1.5rem;
  }

  .green-btn {
    font-size: 1.25rem;
    width: 94%;
  }

  .green-btn-2 {
    padding: .75em .2em;
    font-size: 1.25rem;
    width: 100%;
  }

  /* トップページ：各セクション */



  .section-OxnL0 {
    padding: 40px 0 30px;
  }

  .section-eOVoD {
    padding: 10px 0 40px;
  }

  .section-2HyYg {
    padding-top: 40px;
  }

  .triangle:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translatex(50%);
    box-sizing: border-box;
    /* border-right: calc(50vw - 10px) solid transparent;
  border-left: calc(50vw - 10px) solid transparent;*/
    border-right: calc(50vw) solid transparent;
    border-left: calc(50vw) solid transparent;
    border-top: 50px solid #000;
  }

  .section-jyrNS {
    padding: 40px 0 20px;
  }

  .section-jyrNS h2 {
    font-size: 1.5625rem;
  }

  .section-jyrNS svg {
    width: 3em;
  }

  .section-Ky0j7 {
    padding-bottom: 50px;
  }

  .section-kwhDC {
    padding: 40px 0;
  }

  .section-study {
    padding: 40px 0 50px;
  }

  .entry-box {
    margin: 0 .5em;
  }

  .section-kwhDC .h3 {
    font-size: 1.125rem;
  }

  .item-list:nth-child(1) {
    flex: 0 0 5em;
    height: 1.5em;
  }

  .wid-70 {
    max-width: 70%;
  }

  .cur-wadm img {
    width: 100px;
    bottom: 6px;
    right: 6px;
  }

  .cur-wadm::after {
    font-size: 1.25rem;
  }

  .section-bCwah {
    padding: 50px 0;
  }

  .section-xdFM7,
  .section-bkB2NW2 {
    padding: 50px 0;
  }

  .section-xdFM7 h3 {
    font-size: 2rem;
    padding: .2em 0;
  }

  .section-xdFM7 .h4 {
    font-size: 1.2rem;
  }

  .section-jLSps {
    padding: 50px 0;
  }

  .section-jLSps .h4 {
    font-size: 1.1rem;
  }

  .section-D2VtP {
    padding-bottom: 60px;
  }

  .section-D2VtP h2 {
    font-size: 1.25rem;
  }

  .section-D2VtP h3 {
    line-height: 1.4;
  }

  .section-D2VtP .img-cover {
    object-position: 0 0;
    height: 34em;
    width: 100%;
  }

  .section-button {
    padding: 15px 0;
  }

  #footer #copyright {
    margin-bottom: 1em;
  }

  #footer #copyright ul li,
  #footer #copyright ol li {
    border-left: none !important;
    border-right: none !important;
  }

  /* 下層ページ */

  #page section {
    padding: 30px 0 0;
  }
}

/* END */

/* 極小デバイス（縦向きモバイル, 576px 未満）
============================================================================*/
@media screen and (max-width: 575.98px) {
  /* トップページ：各セクション */

  .section-D2VtP .img-cover {
    object-position: 0 0;
    height: 20em;
    width: 100%;
  }

  .fas_button_borderback {
    font-size: 1.5rem;
    line-height: 1.2;
    height: 3.5em;
  }

  .img-pc {
    display: none !important;
  }

  .img-sp {
    display: block !important;
  }

  .br-pc {
    display: none !important;
  }

  .br-sp {
    display: block !important;
  }


  /* 下層ページ */

  #page section {
    padding: 20px 0 0;
  }
}

/* END */
