@charset "utf-8";

/*=================================================================================================================================*/
/** 個別指定 for スマートフォン
/*=================================================================================================================================*/

/*---------------------------------------------
 ** 768px
---------------------------------------------*/
@media screen and (max-width: 768px) {

  /*---------------------------------------------
	body
---------------------------------------------*/
  html {
    scroll-behavior: smooth;
  }

  body {
    font-size: 15px;
    line-height: 1.8;
    overflow: hidden;
  }


  .only_pc_none {
    display: block !important;
  }

  .only_sp_none {
    display: none !important;
  }

  .sp_br {
    display: inline;
  }

  /*画像*/
  img {
    max-width: 100%;
    height: auto;
  }

  h2 {
    font-size: 180%;
  }



  /*---------------------------------------------
 ** スマホメニュー
---------------------------------------------*/
  #header {
    background: #fff;
    box-shadow: 0 0 5px #999;
  }


  #side_btn {
    width: auto;
    padding: 8px 3%;
    position: fixed;
    right: 0;
    left: 0;
    top: auto;
    bottom: 62px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
    background: #ffffffbf;
  }

  #side_btn a:nth-of-type(1) {
    width: 49%;
    writing-mode: unset;
    -webkit-writing-mode: unset;
    text-align: center;
    display: block;
    margin-bottom: 0px;
    padding: 10px 10px;
    font-size: 120%;
    color: #fff;
    transition: all 0.5s;
    background: #39b14a;
  }

  #side_btn a:nth-of-type(2) {
    width: 48%;
    writing-mode: unset;
    -webkit-writing-mode: unset;
    text-align: center;
    display: block;
    padding: 10px 10px;
    font-size: 120%;
    transition: all 0.5s;
    background: #89d1de;
  }

  #side_btn a:nth-of-type(1):hover,
  #side_btn a:nth-of-type(2):hover {
    padding: 10px 10px;
    opacity: 1;
  }


  #header {
    height: 70px;
  }

  #header h1 {
    width: 40%;
    max-width: 190px;
    padding-top: 27px;
  }

  .main_catch {
    display: inline-block;
    writing-mode: unset;
    text-align: center;
    -webkit-writing-mode: unset;
    position: absolute;
    left: 0;
    right: 0;
    top: 5%;
    font-size: 100%;
    margin: 0 auto;
  }

  #pageTop a {
    width: 33px;
    height: 33px;
  }

  .loca_read p {
    margin: 0 auto 8%;
  }

  .concept_img {
    display: flex;
    margin-top: 20px;
  }

  .location03 dl dd {
    font-size: 80%;
  }

  footer {
    padding-bottom: 80px;
  }

  #footer01 {
    padding: 4% 0;
  }


  #footer_fixed {
    width: 100%;
    display: block;
    position: fixed;
    bottom: 0;
    z-index: 5;
  }

  #footer_fixed a {
    display: block;
    height: 60px;
    background: #211815;
    padding: 0 10px 7px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 120%;
  }

  #footer_fixed a img {
    width: 170px;
    margin: 0 auto 5px;
  }

  #footer_fixed a span {
    font-size: 60%;
    display: block;
  }


  #pageTop {
    bottom: 52px;
  }

  #pageTop a {
    display: block;
    width: 35px !important;
    height: 35px !important;
  }

  #main {
    min-height: 700px;
    background: url(../img/main_sp.jpg) no-repeat top center;
    background-size: 100% auto;
  }

  @media screen and (max-width: 680px) {
    h2 {
      font-size: 160% !important;
      letter-spacing: 0.3rem !important;
    }

    h3 {
      font-size: 140% !important;
    }

    .concept_img {
      margin-top: 20px;
    }

    #main {
      min-height: 500px;
    }

    .location01 {
      max-width: 430px;
      padding-top: 90px;
    }

    .location01>p {
      right: 0;
      text-align: center;
      margin: 0 auto;
    }

    .location01>div {
      width: 35%;
    }

    .location01 .station_img {
      width: 57%;
    }

    .location01>div img {
      width: 80%;
    }

    .location02>div img {
      width: 75%;
    }

    .location04>div {
      width: 100%;
      max-width: 350px;
      margin: 0 auto;
    }

    .location04 dl {
      font-size: 90%;
    }

    .icon_cloud01 {
      width: 20%;
      top: auto;
      bottom: 60%;
      left: -10%;
    }

    .icon_tree01 {
      width: 11%;
      top: auto;
      bottom: 10%;
      right: -15%;
    }

    .icon_cloud02 {
      width: 9%;
      top: 30px;
      right: 110px;
    }

    .icon_tree02 {
      width: 10%;
      position: absolute;
      top: -80px;
      right: 10px;
    }

    .icon_tree03 {
      width: 8%;
      position: absolute;
      top: -30px;
      right: 30px;
    }


    #access {
      margin: 50px auto;
      padding: 20px 0;
    }

    #access iframe {
      margin-bottom: 6%;
    }

    .location03 dl {
      margin-bottom: 6%;
    }



  }


  @media screen and (max-width: 480px) {
    body {
      font-size: 13px;
      line-height: 1.8;
    }

    #header h1 {
      width: 50%;
      max-width: 200px;
      padding-top: 25px;
    }

    #main {
      min-height: 380px;
    }

    .location01>div img {
      width: 70%;
    }

    .location02>div img {
      width: 80%;
    }

    .location02 .kinder_img {
      width: 60%;
    }

    .location02>div {
      width: 35%;
    }

    .location02>div img {
      width: 70%;
    }


    .icon_cloud01 {
      width: 16%;
      bottom: 70%;
      left: 0px;
    }

    .icon_tree01 {
      width: 6%;
      top: -40px;
      bottom: auto;
      right: 10px;
    }

    .icon_cloud02 {
      top: 10px;
    }

    #access iframe {
      height: 400px;
    }

    .icon_train {
      top: 70px;
      left: 20px;
    }

    .icon_cloud03 {
      top: 80px;
      right: 0px;
    }

    .icon_tree02 {
      top: -45px;
      right: -10px;
    }



    #footer01 {
      padding: 7% 0;
    }

    #footer01>div a {
      margin: 6% auto 7%;
    }

    #footer01>div p span {
      display: block;
      font-size: 100%;
      line-height: 1.6;
    }

    #footer02>div:nth-child(1) a {
      width: 140px;
    }
  }

  @media screen and (max-width: 420px) {
    #access p {
      margin-bottom: 15%;
    }

    .icon_train {
      top: 200px;
      left: 60px;
    }

    .icon_cloud03 {
      top: 220px;
      right: 0px;
    }
  }

  @media screen and (max-width: 380px) {
    body {
      font-size: 12px;
      line-height: 1.8;
    }

    .sp_380_over {
      display: none;
    }

    .sp_380_under {
      display: inline;
    }


    #header {
      height: 55px;
    }

    #header h1 {
      padding-top: 18px;
    }

    #main {
      min-height: 320px;
    }

    .location03 dl dd {
      font-size: 80%;
    }

    .location04 dl dt {
      width: 110px;
    }

    .location04 dl dd {
      width: calc(99% - 110px);
    }

    #access p {
      font-size: 90%;
    }

    h2 {
      font-size: 140% !important;
    }

    h3 {
      font-size: 120% !important;
    }

    .icon_cloud01 {
      bottom: 60%;
    }

    .icon_tree01 {
      top: -20px;
    }

    .icon_cloud02 {
      right: 80px;
    }

    .location03+p,
    .location04+p {
      text-align: left;
    }
  }

}




/* スマホのときのみ電話をかける */
@media (min-width: 768px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}