@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: #1bb6db;
    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: #246c99 !important;
  }

  .mm-navbar {
    background: #15486a !important;
  }

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

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

  .mm-slideout {
    cursor: pointer;
  }

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

  #global_nav_sp {
    margin-top: 10px;
  }

  #global_nav_sp li a {
    padding: 15px 0 20px;
    text-align: center;
  }


  .globalMenuSp {
    display: none;
  }

  #side_btn {
    width: auto;
    padding: 8px 3%;
    position: fixed;
    right: 0;
    left: 0;
    top: auto;
    bottom: 60px;
    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: #90278c;
    ;
  }

  #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: #fff;
    transition: all 0.5s;
    background: #0071b9;
  }

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


  #header {
    height: 69px;
    position: fixed;
    z-index: 4;
  }

  #header h1 {
    width: 80%;
    max-width: 240px;
    padding-top: 7px;
  }

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

  #main {
    min-height: 700px;
    margin-top: 70px;
    padding: 20% 0 10%;
    background: none;
  }

  #main::before {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 1000px;
    background: url(../img/top_bg01_sp.jpg) no-repeat bottom center;
    -webkit-background-size: cover;
    background-size: cover;
    display: block;
    content: "";
  }


  .main_catch {
    font-size: 300%;
  }

  #main h2 {
    font-size: 250%;
    margin-bottom: 10%;
  }

  .main_cubic {
    width: 400px;
    height: 225px;
    top: 10%;
  }

  #main>p {
    font-size: 100%;
  }

  #content {
    z-index: 3;
    position: relative;
  }

  #top_point {
    min-height: 740px;
  }

  #top_point>div {
    justify-content: center;
  }

  #top_point>div dl {
    width: 50%;
    margin-bottom: 1%;
    font-size: 90%;
  }

  .p_quality {
    padding-top: 30px;
  }

  .p_design {
    margin-right: 20px;
    padding-top: 20px;
  }

  .p_active::before {
    display: none;
  }

  #top_position {
    padding: 50px 0 30px 0;
  }

  #top_position ul li {
    width: 50%;
    font-size: 130%;
  }

  #top_location {
    min-height: 600px;
    background: url(../img/top_bg03_sp.jpg) no-repeat left top;
    background-size: cover;
  }

  #top_location>div {
    width: 158px;
    top: 15%;
  }

  #top_position ul li.p_nishiakashi {
    width: 100%;
  }

  #top_position ul li.p_nishiakashi img {
    width: 100%;
    height: 350px;
    object-fit: cover;
  }


  #top_plan {
    min-height: 600px;
    background: url(../img/top_bg04.jpg) no-repeat left -50px center;
    background-size: cover;
  }

  #top_plan>div {
    width: 155px;
    top: 15%;
  }


  footer {
    padding-bottom: 80px;
    z-index: 2;
    position: relative;
  }

  #footer01 {
    padding: 4% 0;
  }

  #footer02>div:nth-child(1) {
    padding-bottom: 40px;
  }


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

  #footer_fixed a {
    display: block;
    height: 60px;
    background: #8f82bc;
    padding: 2px 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;
  }

  .mm-wrapper_opening #footer01,
  .mm-wrapper_opening #footer02 {
    display: none;
  }

  #main_location,
  #main_plan{
    margin-top: 30px !important;
    z-index: 0;
    position: relative;
  }


  #main_location::before {
    content: '';
    width: 100%;
    height: 800px;
    display: block;
    background: url(../img/location/loca_main.jpg) no-repeat center center;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }

  #main_plan::before {
    content: '';
    width: 100%;
    height: 760px;
    display: block;
    background: url(../img/plan/plan_main.jpg) no-repeat center center;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }



  #main_location .catch,
  #main_plan .catch {
    font-size: 240%;
    letter-spacing: 0.4rem;
  }



  #main_location h2 {
    font-size: 400%;
  }

  #main_plan h2 {
    font-size: 400%;
  }

  #loca_town01 dl {
    width: calc((100% - 4px) / 3);
    padding: 550px 0 30px 0;
  }

  #loca_town01 dl:nth-child(5n) {
    margin-right: 2px;
  }

  #loca_town01 dl:nth-child(3n) {
    margin-right: 0;
  }

  #loca_town01 dl {
    padding: 460px 0 0 0;
    margin-bottom: 3%;
  }

  #loca_town01 {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 5% 0;
  }

  .town01_01 {
    background: url(../img/location/town01_01.jpg) no-repeat top 0px center;
    background-size: cover;
  }

  .town01_02 {
    background: url(../img/location/town01_02.jpg) no-repeat top 0px center;
    background-size: cover;
  }

  .town01_03 {
    background: url(../img/location/town01_03.jpg) no-repeat top 0px center;
    background-size: cover;
  }

  .town01_04 {
    background: url(../img/location/town01_04.jpg) no-repeat top 0px center;
    background-size: cover;
  }

  .town01_05 {
    background: url(../img/location/town01_05.jpg) no-repeat top 0px center;
    background-size: cover;
  }

  #town_data>dl {
    max-width: 470px
  }

  #main_position {
    min-height: 800px;
    padding-top: 50px;
  }

  #main_position::before {
    height: 900px;
  }

  #main_position .catch {
    font-size: 240%;
  }

  #main_position h2 {
    font-size: 280%;
  }

  #top_position ul li span {
    font-size: 300%;
  }



  @media screen and (max-width: 780px) {
    #top_position ul li.p_nishiakashi img {
      height: 300px;
    }

    #loca_town01 dl {
      padding: 400px 0 0 0;
    }

    #main_position {
      min-height: 700px;
    }

    #main_position::before {
      height: 800px;
    }
  }

  @media screen and (max-width: 720px) {

    #main_location h2 {
      font-size: 300%;
    }

    #main_plan h2 {
      font-size: 300%;
    }

    #main_location .read {
      text-align: left;
    }

    #main_location .read br {
      display: none;
    }

    #loca_town01 dl {
      padding: 360px 0 0 0;
    }

    #loca_town02 h3 {
      font-size: 160%;
    }

    #loca_town02>div dl {
      width: 48%;
      margin-right: 4%;
    }

    #loca_town02>div dl:nth-child(3n) {
      margin-right: 4%;
    }

    #loca_town02>div dl:nth-child(2n) {
      margin-right: 0;
    }

    #main_position {
      min-height: 600px;
    }

    #main_position::before {
      height: 700px;
    }

    #top_position ul li span {
      font-size: 240%;
    }

  }


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

    .m_nishiakashi {
      padding: 0 0 22% 5%;
      top: 30px;
      background: url(../img/top_position01.png) no-repeat left top 20px;
      background-size: 60% auto;
    }

    .m_fujie {
      padding: 0 0 25% 10%;
      top: -40px;
      background: url(../img/top_position02.png) no-repeat left top 20px;
      background-size: 60% auto;
    }

    #top_position ul li.p_nishiakashi img {
      height: 220px;
    }

    #main_location ul {
      max-width: 450px;
      margin: 0 auto;
    }

    #main_location ul li {
      width: 48%;
      display: block;
      margin: 0 4% 3% 0;
      font-size: 90%;
    }

    #main_location ul li:nth-child(3n) {
      margin: 0 4% 3% 0;
    }

    #main_location ul li:nth-child(2n) {
      margin: 0 0 3% 0;
    }

    #loca_town01 dl {
      padding: 290px 0 0 0;
    }

    #town_data>dl {
      max-width: 400px
    }

    #town_data>dl dt {
      width: 180px;
    }

    #town_data>dl dd {
      width: calc(100% - 180px);
    }

    #main_position {
      min-height: 500px;
    }

    #main_position::before {
      height: 600px;
    }

    #main_position h2 {
      font-size: 230%;
    }


  }

  @media screen and (max-width: 480px) {
    .br_480_over {
      display: none;
    }

    .sp_480_over {
      display: none;
    }

    .sp_480_under {
      display: block;
    }

    .br_480 {
      display: inline;
    }

    #main {
      min-height: 450px;
    }

    #main::before {
      height: 650px;
    }

    .main_catch {
      font-size: 240%;
    }

    .textup_anime {
      letter-spacing: 0.2rem;
    }

    #main h2 {
      font-size: 180%;
    }

    #main>p {
      width: 90%;
      margin: 0 auto;
      text-align: left;
    }

    .main_cubic {
      width: 300px;
      height: 170px;
    }

    #top_point {
      min-height: 580px;
      padding-top: 30px;
    }

    #top_point>div dl {
      font-size: 80%;
      margin-bottom: 2%;
    }

    .p_design {
      padding-top: 10px;
      margin-right: 30px;
    }


    #top_point>div dl dt {
      letter-spacing: 0.2rem;
      line-height: 1.6;
    }

    #top_location {
      min-height: 450px;
    }

    .m_nishiakashi {
      top: 120px;
    }

    .m_fujie {
      top: 110px;
    }

    #top_position {
      padding: 30px 0 20px 0;
    }

    #top_position>div {
      margin: 3% auto 25%;
    }

    #top_position ul li.p_nishiakashi img {
      height: 180px;
    }

    #top_position ul li {
      font-size: 110%;
    }

    #top_plan {
      min-height: 450px;
    }


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


    #main_location,
    #main_plan{
      margin-top: 50px;
      padding-top: 60px;
    }




    #main_location::before {
      content: '';
      width: 100%;
      height: 800px;
      display: block;
      background: url(../img/location/loca_main_sp.jpg) no-repeat top center;
      background-size: cover;
      position: fixed;
      top: 0;
      left: 0;
      z-index: -1;
    }

    #main_location .catch,
    #main_plan .catch{
      font-size: 240%;
    }

    #main_location h2 {
      font-size: 260%;
    }

    #main_plan h2 {
      font-size: 260%;
    }

    #loca_town01 dl {
      width: calc((100% - 2px) / 2);
      padding: 270px 0 0px 0;
      margin-bottom: 5%;
    }

    #loca_town01 dl:nth-child(3n) {
      margin-right: 2px;
    }

    #loca_town01 dl:nth-child(2n) {
      margin-right: 0;
    }

    .town01_01 {
      background: url(../img/location/town01_01.jpg) no-repeat bottom 0px center;
      background-size: cover;
    }

    .town01_02 {
      background: url(../img/location/town01_02.jpg) no-repeat bottom 0px center;
      background-size: cover;
    }

    .town01_03 {
      background: url(../img/location/town01_03.jpg) no-repeat bottom 0px center;
      background-size: cover;
    }

    .town01_04 {
      background: url(../img/location/town01_04.jpg) no-repeat bottom 0px center;
      background-size: cover;
    }

    .town01_05 {
      background: url(../img/location/town01_05.jpg) no-repeat bottom 0px center;
      background-size: cover;
    }

    #loca_town02 h3 {
      font-size: 175%;
      line-height: 1.6;
      margin-bottom: 3%;
    }

    #town_data {
      padding: 8% 0;
    }

    #town_data>dl {
      width: 210px;
    }

    #town_data>dl dt {
      width: 100%;
      text-align: left;
    }

    #town_data>dl dd {
      width: 100%;
      margin-bottom: 5%;
      text-align: left;
    }

    #town_data>dl dd span:nth-of-type(1) {
      width: 50px;
    }

    #town_data>dl dd span:nth-of-type(2) {
      width: calc(100% - 50px);
      text-align: left;
    }

    #main_position {
      min-height: 450px;
      padding-top: 10px;
    }

    #main_position::before {
      height: 550px;
    }

    #main_position h2 {
      font-size: 200%;
      letter-spacing: 0.3rem
    }

    #access_photo ul {
      width: 90%;
      max-width: 350px;
      margin: 0 auto;
    }

    #access_photo ul li {
      width: 100%;
    }

    #train_map>ul {
      width: 90%;
      max-width: 380px;
      margin: 10% auto 0;
    }

    #train_map>ul li:nth-child(1) {
      width: 80%;
      margin-bottom: 15%;
    }

    #train_map>ul li:nth-child(2) {
      width: 100%;
    }



  }

  @media screen and (max-width: 420px) {
    .br_420 {
      display: inline;
    }

    #main_location .catch2 {
      line-height: 1.6;
      margin-bottom: 5%;
    }

    #loca_town02>div dl dd {
      line-height: 1.4;
    }

    #main_position {
      min-height: 350px;
    }

    #main_position::before {
      height: 450px;
    }
  }

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

    #main {
      min-height: 420px;
    }

    #top_point {
      min-height: 500px;
    }

    #top_location {
      min-height: 350px;
    }

    #top_position ul li.p_nishiakashi img {
      height: 140px;
    }

    #top_position ul li span {
      letter-spacing: 0.1rem;
      font-size: 180%;
    }

    #top_plan {
      min-height: 350px;
    }

    #main_location::before {
      height: 700px;
    }

    #loca_town01 dl {
      padding: 220px 0 0px 0;
    }

    #main_position {
      min-height: 400px;
    }

    #main_position::before {
      height: 500px;
    }

    #main_position h2 {
      font-size: 180%;
      letter-spacing: 0.2rem;
    }

    #position #top_position h3 {
      font-size: 170%;
    }


  }

  @media screen and (max-width: 340px) {

    #top_position ul li.p_nishiakashi img {
      height: 120px;
    }
  }

}




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