@charset "UTF-8";

/**タブ切り替え設定****/
#access .tab-nav {
      display: flex;
      justify-content: center;
    }

#access .tab-nav button {
      padding: 15px 0;
      cursor: pointer;
      background: #fff;
      border: solid 1px #111;
      border-radius: 0 40px 0 0;
      min-width: 180px;
      margin: 0 2px;
    }
#access .tab-nav button img{
  max-height: 40px;
  height: 100%;
  width: auto;
}

#access .tab-panel {
      display: none;
      background: #fff;
      padding: 10px;
      border: 1px solid #111;
      margin-top: -1px;

    }

#access .tab-panel.is-active {
      display: block;
    }

/**********/
#access .tab-wrapper{
  max-width: 900px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 50px;
}

#access #panel1{
  position: relative;
  padding: 30px 60px;
}
#access .tab-nav button:nth-child(2),
#access #panel2{
  background: #111;
}
#access #panel1 #fuki{
  max-width: 260px;
  width: 100%;
  height: 46px;
  position: absolute;
  top: -10px;
  right: 80px;
  z-index: 1;

}
#access #panel1:after{
  content: '※公共の交通機関をご利用ください';
  padding: 4px 6px;
  background: #111;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
}






@media screen and (max-width: 1200px) {

  #access #panel1 #fuki {
    right: 10%;
  }


}
@media screen and (max-width: 1023px) {


  #panel2 iframe{
    max-height: 450px;
  }


}
@media screen and (max-width: 767px) {

  #access .tab-nav button {
      padding: 10px 0;
    }

  #access #panel1{
    padding: 40px 16px;
  }
  #access #panel1 #fuki {
      max-width: 200px;
      width: 100%;
      height: 46px;
      position: absolute;
      top: -4px;
      right: -12px;
      z-index: 1;
  }

  #access #panel1:after {
      font-size: 12px;
  }
  #panel2 iframe{
    max-height: 350px;
  }

  #access .tab-nav button{
    border-radius: 0 20px 0 0;
  }


}

@media screen and (max-width: 429px) {

#access .tab-nav button{
  min-width: 0%;
  padding: 6px 16px;
}
#access .tab-nav button img {
    max-height: 30px;
    height: 100%;
    width: auto;
}



}
