@charset "utf-8";

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

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

  /*---------------------------------------------
	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;
  }

  .hamburger {
    display: block;
    position: absolute;
    z-index: 3;
    right: 0px;
    top: 10px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    background: #39b54a;
    z-index: 99999;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 3px;
    left: 10px;
    background: #fff;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 14px;
  }

  .hamburger span:nth-child(2) {
    top: 24px;
  }

  .hamburger span:nth-child(3) {
    top: 35px;
  }


  .hamburger.active span:nth-child(1) {
    top: 25px;
    left: 10px;
    background: #fff;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 25px;
    background: #fff;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }

  .mm-panel {
    background: #086414 !important;
  }

  .mm-listitem:after {
    width: calc(100% - 40px);
    background: #ffffffab;
  }

  .mm-navbar {
    color: #fff !important;
  }

  .mm-slideout {
    cursor: pointer;
  }

  .mm-listview {
    font-size: 120%;
  }

  .globalMenuSp {
    display: none;
  }

  #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: #ed1c24;
  }

  #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%;
    color: #ed1c24;
    transition: all 0.5s;
    background: #fcee21;
  }

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


  #header {
    height: 69px;
  }

  #header h1 {
    width: 80%;
    max-width: 300px;
    padding-top: 22px;
  }

  #header_in_sp {
    width: 97%;
    margin: 0 auto;
    display: block;
    position: relative;
  }

  #header_in {
    display: none;
  }


  #nav_sp {
    margin-top: 70px;
    z-index: 2;
  }

  #nav_sp .pc_none {
    display: block;
  }

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

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

  #concept .concept_read {
    width: 90%;
    margin: 0 auto;
  }

  .loca_read p>img:nth-of-type(1) {
    width: 70px;
    display: block;
    position: absolute;
    top: -65%;
    right: -15%;
  }

  .loca_read p>img:nth-of-type(2) {
    width: 80px;
    display: block;
    position: absolute;
    top: 29%;
    left: -20%;
  }

  .loca_read p>img:nth-of-type(3) {
    width: 100px;
    display: block;
    position: absolute;
    bottom: -75%;
    right: -5%;
  }



  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: #39b54a;
    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;
  }

  @media screen and (max-width: 850px) {
    #main {
      min-height: 700px;
      background: url(../img/main.jpg) no-repeat bottom left -100px;
      background-size: cover;
      position: relative;
    }

    .main_icon_img {
      width: 280px;
      height: 280px;
      background: url("../img/main_icon_bg.png") no-repeat;
      background-size: cover;
      background-position: center center;
      right: auto;
      left: 50px;
      top: 15%;
      margin: 0 auto;
    }

    #main>img {
      width: 180px;
      right: auto;
      left: 100px;
      top: 20%;
      margin: 0 auto;
    }

    .loca_read p {
      margin-bottom: 12%;
    }

    .bg_yellow {
      background: url(../img/location_access_bg) no-repeat top 60px center;
      padding-bottom: 13%;
    }

    .bg_yellow .station {
      margin-bottom: 15%;
    }

    .bg_yellow .station .white_slide {
      width: 80%;
      margin-left: 5%;
      z-index: 2;
    }

    .bg_yellow .station::before {
      content: '';
      width: 50%;
      max-width: 250px;
      height: 90px;
      background: url(../img/location_access01_sp.png) no-repeat #fff center center;
      background-size: 100% auto;
      position: absolute;
      right: 0%;
      bottom: -100px;
      border-top: 20px solid #fff;
      border-bottom: 10px solid #fff;
      border-right: 20px solid #fff;
      border-left: 20px solid #fff;
      z-index: -1;
    }


    .bg_yellow .station::after {
      width: 18%;
      height: 210px;
      bottom: -120px;
      right: auto;
      left: 14%;
      z-index: 2;
    }



    .bg_yellow .school .white_slide {
      width: 80%;
      margin-left: 15%;
      z-index: 2;
    }

    .bg_yellow .school::before {
      content: '';
      width: 45%;
      max-width: 210px;
      height: 90px;
      background: url(../img/location_access02_access_sp.png) no-repeat #fff center center;
      background-size: 100% auto;
      position: absolute;
      left: 0%;
      bottom: -100px;
      border-top: 20px solid #fff;
      border-bottom: 10px solid #fff;
      border-right: 20px solid #fff;
      border-left: 20px solid #fff;
      z-index: -1;
    }

    .bg_yellow .school::after {
      width: 22%;
      height: 210px;
      bottom: -150px;
      left: auto;
      right: 0;
      z-index: 2;
    }
  }

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

    #concept .concept_read h2 {
      text-align: left;
    }

    .green_read {
      font-size: 120%;
      text-align: left;
    }

    #concept p {
      text-align: left;
    }

    .loca_read p {
      margin-bottom: 18%;
    }

    #concept .white_slide {
      width: 90%;
      margin-bottom: 8%;
    }

    .loca_read p>img:nth-of-type(1) {
      width: 60px;
      display: block;
      position: absolute;
      top: auto;
      bottom: -80%;
      left: 10%;
    }

    .loca_read p>img:nth-of-type(2) {
      width: 90px;
      display: block;
      position: absolute;
      top: auto;
      bottom: -90%;
      left: 40%;
    }

    .loca_read p>img:nth-of-type(3) {
      width: 100px;
      display: block;
      position: absolute;
      bottom: -80%;
      right: 5%;
    }

    .bg_yellow .station {
      margin-bottom: 20%;
    }

    .loca_other {
      text-align: center;
      /*      background: url(../img/location_bg.jpg) no-repeat bottom center;
      background-size: 140% auto;*/
    }


    #map .ttl h2+p {
      letter-spacing: 0.3rem;
      font-size: 105%;
    }

    .loca_read {
      width: 90%;
      margin: 0 auto;
    }

    .bg_yellow {
      padding-bottom: 18%;
    }

    .loca_read h3 {
      font-size: 120%;
      text-align: left;
    }

    .loca_read p {
      text-align: left;
    }

    .loca_read p br:nth-of-type(2) {
      display: none;
    }

  }

  @media screen and (max-width: 580px) {
    .loca_read p {
      margin-bottom: 24%;
    }

    .bg_yellow .school::after {
      height: 170px;
    }
  }

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

    #header h1 {
      width: 80%;
      max-width: 200px;
      padding-top: 14px;
    }

    .sp_480_over {
      display: none;
    }

    .sp_480_under {
      display: block;
    }

    #main {
      min-height: 380px;
      background: url(../img/main.jpg) no-repeat bottom left -120px;
      background-size: auto 100%;
      position: relative;
      margin-top: 69px;
    }

    .main_icon_img {
      width: 200px;
      height: 200px;
      background: url("../img/main_icon_bg.png") no-repeat;
      background-size: cover;
      background-position: center center;
      left: 10px;
      top: 8px;
      margin: 0 auto;
    }

    #main>img {
      width: 130px;
      left: 45px;
      top: 30px;
      margin: 0 auto;
    }

    #main_access ul li:nth-child(1) img {
      width: 80%;
    }

    #main_access ul li:nth-child(2) img {
      width: 65%;
    }

    #concept .white_slide::after {
      content: '';
      width: 120px;
      height: 130px;
      display: block;
      background: url(../img/concept_img02.png) no-repeat;
      background-size: 100% auto;
      position: absolute;
      right: -4%;
      bottom: -8%;
      z-index: 2;
    }

    .loca_read p {
      margin-bottom: 24%;
    }

    .loca_read p>img:nth-of-type(1) {
      width: 50px;
      display: block;
      position: absolute;
      top: auto;
      bottom: -55%;
      left: 10%;
    }

    .loca_read p>img:nth-of-type(2) {
      width: 70px;
      display: block;
      position: absolute;
      top: auto;
      bottom: -60%;
      left: 40%;
    }

    .loca_read p>img:nth-of-type(3) {
      width: 70px;
      display: block;
      position: absolute;
      bottom: -50%;
      right: 7%;
    }

    .bg_yellow {
      padding-bottom: 25%;
    }

    .bg_yellow .station::after {
      bottom: -180px;
    }

    .bg_yellow .station {
      margin-bottom: 27%;
    }

    .bg_yellow .station::before {
      height: 63px;
      bottom: -80px;
    }

    .bg_yellow .school::before {
      height: 63px;
      bottom: -80px;
    }

    .other_access dl dt {
      margin-bottom: 4px;
    }

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

    #map iframe {
      height: 400px;
    }



    #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: 380px) {
    body {
      font-size: 12px;
      line-height: 1.8;
    }


    .green_read {
      font-size: 113%;
    }

    .bg_yellow .station::before {
      height: 47px;
      bottom: -60px;
    }

    .bg_yellow .school::before {
      height: 47px;
      bottom: -60px;
    }

    #header h1 {
      width: 60%;
      max-width: 200px;
      padding-top: 15px;
    }
  }

}




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