@charset "utf-8";

/* ==========================================================================
   初期設定
   ========================================================================== */
body {
  font-size: 16px;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.6;
  color: #555;
  background-color: #4fc8f0;
}
img {
  vertical-align: bottom;
}
td, th, p, h1, h2, h3, h4, h5, h6, label {
  word-wrap: break-word;
}

/* link
----------------------------------------------- */
a:link {
  color: #555;
  text-decoration: underline;
}
a:visited {
  color: #333;
  text-decoration: underline;
}
a:hover {
  color: #ccc;
  text-decoration: none;
}
a:active {
  color: #ccc;
  text-decoration: underline;
}

/* clearfix
----------------------------------------------- */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   コンテンツ
   ========================================================================== */
.wrap {
  max-width: 550px;
  text-align: center;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .main {
    width: 100%;
  }
}

img {
  width:100%;
  max-width: 100%;
  height: auto;
}

.ttl {
  opacity: 0.4;
  margin-top: -1%;
  padding-left: 6%;
  width: 85%;
}

.signboard {
  position: relative;
  margin-top: 1%;
}
/*
.signboard::after {
  position: absolute;
  top: 11%;
  left: 0%;
  content: "";
  height: 100%;
  width: 100%;
  z-index: -999;
  background-image: url(../img/signboard_bg.png);
  background-repeat: no-repeat;
  background-size: 100%;
}
*/

/* 駅名文字 */
.signboard p {
  color: #45281c;
  font-weight: bold;
  font-family :Quicksand, sans-serif;/*Google Font*/
}

/*
#station_name {
  position: absolute;
  text-align: center;
  padding: 30px;
  margin: 0% 20%;
  height: 30%;
  display: flex;
  justify-content: center;
  align-items: center; 
}
*/


#station_name {
  position: absolute;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 100%;
  height: 100%;
}


#station_name_in {
  height: 40%;
  width: 40%;
  text-align: center;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 12%;
/*  position: relative;
*/
}

#station_name_in span {
  text-align: center;
  color: #45281c;
  font-weight: bold;
  font-family :Quicksand, sans-serif;/*Google Font*/
}

.station_kana {
  position: absolute;
  font-size: 1.6em;
  top: 56%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
}

.square_mini {
  position: absolute;
  width: 10%;
  height: 6%;
  background: #ffffff;
  top: 76%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  }

  .square {
    position: absolute;
    width: 94%;
    height: 17%;
    background: #1fb618;
    top: 76%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    }
/* /駅名文字 */


.btn { 
  margin: 7% auto;
}

.choice {
  position: relative;
  width: 43%;
  float: left;
  margin: 9% 7%;
}

.choice::after {
    content: "";
    clear: both;
    display: block;
}

.choice::after {
  position: absolute;
  top: 17%;
  left: 5%;
  content: "";
  height: 100%;
  width: 100%;
  z-index: -999;
  background-image: url(../img/btn_choice_bg.png);
  background-repeat: no-repeat;
  background-size: 100%;
}

.roulette {
  position: relative;
  width: 33%;
  float: left;
}

.roulette.stop {
  background-image: url(../img/btn_stop.png);
}

.roulette::after {
  position: absolute;
  top: 10%;
  left: 7%;
  content: "";
  height: 100%;
  width: 100%;
  z-index: -999;
  background-image: url(../img/btn_roulette_bg.png);
  background-repeat: no-repeat;
	background-size: 100%;
}

.roulette:active {
  background-image: none;
}

/* ヘッダー */
.header {

}

/* トップへ戻る */
.return_top {

}

/* フッター */
.footer {

}

/* モーダル */
.modal-header, .modal-body {
  padding: 5px 25px;
}
.modal-header {
  border-bottom: 1px solid #ddd;
}

#modal-button {
  color: #ffffff;
  background-color: #eb6100;
  border-radius: 100vh;
  margin: 20px;
}