/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:

  ★ HTML構造について
    #mapBg              : 本ツール全体
      #mapNav           : 路線ナビ
        ul              : 路線ボタン
        #linkToLine     : 各路線へリンク
      #mapSvg           : 地図
        #mapSvgImages   :
          #mapBase      : 薄い背景png画像
          #stations     : 路線・駅オブジェクトのSVG（各言語共通）
          .line         : 路線名のSVG
          #stationLinks : 駅名テキスト
      #ratioWrap        : 拡縮ボタン


  ★ クラス表記
    ・PCで使用するスタイルには body.pcを付与


  ★ 目次
    ・ページ全体
    ・地図と路線ボタンの分割
    ・各路線のみ表示ボタン
    ・各路線へのリンクボタン
    ・駅オブジェクト
    ・最背面のPNG地図は透過
    ・拡縮ボタン
    ・SP用2本指タッチアナウンス
    ・全画面表示
    ・PCトーカー用文字
    ・文字のクリッカブル
    ・路線名
    ・注釈

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    ページ全体

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

@import url('//fonts.googleapis.com/earlyaccess/notosansjp.css');
@import url('//fonts.googleapis.com/earlyaccess/notosanssc.css');
@import url('//fonts.googleapis.com/css?family=Oswald');

html{
  overflow-x: hidden;
}


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    地図と路線ボタンの分割

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

/* 路線図全体 */
#mapBg {
  margin: 32px 0 10px 0;
  position: relative;
  height: 500px;
  width: 100%;
  }
  @media screen and (min-width: 768px)  {
    #mapBg {
      height: 500px;
    }}
  body.pc #mapBg {
    height: 470px;
    margin: 32px 0 20px 0;
    width: 100%;
    }

/* 路線図部分 */
#mapSvg {
  border: solid 2px #cccccc;
  border-radius: 3px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  position: absolute;
  top: 0;
  background: #ffffff;
  overflow: hidden;
  overflow-y: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility:hidden;
  position: absolute;
  width: 100%;
  height: 300px;
  }
  @media screen and (min-width: 768px){
    #mapSvg {
      height: 356px;
    }}
  body.pc #mapSvg {
    margin: 0 0 0 180px;
    left: 0;
    width: calc( 100% - 180px );
    height: 100%;
    border-left:none;
    border-radius: 3px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    }
  #mapSvg svg, #mapSvg img {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    }

/* 拡大縮小の制御のために設定 */
#mapSvgImgs {
  -webkit-backface-visibility: hidden;
  backface-visibility:hidden;
  position: absolute;
  top: 0;
  left: 0;
  }

/* 路線ボタン部分 */
#mapNav {
  top: 300px;
  position: absolute;
  }
  @media screen and (min-width: 768px)  {
    #mapNav {
      top: 356px;
    }}
  body.pc #mapNav {
    top: 0;
    width: 180px;
    }


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    各路線のみ表示ボタン

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

#mapNav {
  border: solid 2px #cccccc;
  border-bottom: solid 1px #cccccc;
  border-top:none;
  border-radius: 3px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  display: block;
  height: 153px;
  width: 100%;
  }
  @media screen and (min-width: 768px)  {
    #mapNav {
      height: 89px;
    }}
  body.pc #mapNav {
    background: #e6e7e8;
    border-right:solid 1px #cccccc;
    border-bottom: solid 2px #cccccc;
    border-radius: 3px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    -webkit-box-shadow: 5px 0px 3px -1px rgba(0,0,0,0.10);
    -moz-box-shadow: 5px 0px 3px -1px rgba(0,0,0,0.10);
    box-shadow: 5px 0px 3px -1px rgba(0,0,0,0.10);
    height: 470px;
    width: 180px;
    z-index:9;
    }

/* 各路線ボタン 5個まとまりにスタイル指定 */
#mapNav ul {
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  white-space: normal;
  width: 100%;
  }
  @media screen and (min-width: 768px)  {
    #mapNav ul {
      text-align: left;
      white-space: nowrap;
    }}
  body.pc #mapNav ul {
    text-align: left;
    white-space: nowrap;
    }
  #mapNav ul:nth-child(1) {
    top: 0px;
    }
    @media screen and (min-width: 768px)  {
      #mapNav ul:nth-child(1) {
        top: 0px;
      }}
  #mapNav ul:nth-child(2) {
    top: 76px;
    }
    @media screen and (min-width: 768px)  {
      #mapNav ul:nth-child(2) {
        top: 44px;
      }}
    body.pc #mapNav ul:nth-child(2) {
      top: 200px;
      }

/* 各路線ボタン 個別にスタイル指定 */
#mapNav li {
  background: #f2f4f5;
  cursor: pointer;
  display: inline-block;
  vertical-align:middle;
  border-top: solid 1px #ffffff;
  border-left: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  border-right: solid 1px #ffffff;
  height: 76px;
  margin: 0 0px 0 0px;
  padding: 12px 4px;
  position: absolute;
  width: 20%;
  min-width: 50px;/*Android4*/
  }
  @media screen and (min-width: 768px)  {
    #mapNav li {
      height: 44px;
      margin: 0;
      padding: 8px 8px;
    }}
  body.pc #mapNav li {
      display: block;
      height: 40px;
      margin: 0;
      padding: 8px 10px;
      vertical-align: middle;
      width: 100%;
      border-left: none;
      }
  #mapNav li:nth-child(1) {
    left: 0%;
    }
    body.pc #mapNav li:nth-child(1) {
      border-right: none;
      left: 0%;
      top: 0px;
      }
  #mapNav li:nth-child(2) {
    left: 20%;
    }
    body.pc #mapNav li:nth-child(2) {
      border-right: none;
      left: 0%;
      top: 40px;
      }
  #mapNav li:nth-child(3) {
    left: 40%;
    }
    body.pc #mapNav li:nth-child(3) {
      border-right: none;
      left: 0%;
      top: 80px;
      }
  #mapNav li:nth-child(4) {
    left: 60%;
    }
    body.pc #mapNav li:nth-child(4) {
      border-right: none;
      left: 0%;
      top: 120px;
      }
  #mapNav li:nth-child(5) {
    left: 80%;
    border-right: none;
    }
    body.pc #mapNav li:nth-child(5) {
      border-right: none;
      left: 0%;
      top: 160px;
      }
  #mapNav li#line_all,
  #mapNav li#line_ginza,
  #mapNav li#line_marunouchi,
  #mapNav li#line_hibiya,
  #mapNav li#line_tozai{
    border-top:none;
    }
    body.pc #mapNav li#line_ginza,
    body.pc #mapNav li#line_marunouchi,
    body.pc #mapNav li#line_hibiya,
    body.pc #mapNav li#line_tozai{
      border-top: solid 1px #ffffff;
      }
  #mapNav li#line_all,
  #mapNav li#line_chiyoda{
    border-left:none;
    }
    body.pc #mapNav li#line_all{
      border-top: solid 2px #cccccc;
      }
  #mapNav.en li {
    padding: 8px 2px;
    }
    @media screen and (min-width: 768px)  {
      #mapNav.en li {
        padding: 8px 8px;
      }}

  /* 選択中 */
  #mapNav li.current {
    background: #bfd0d6;
    }

  /* hover */
  body.pc #mapNav li:hover {
    background: #bfd0d6;
    }

  /* 各路線のロゴ */
  #mapNav li:before {
    content:"";
    display:inline-block;
    margin: 0 0 4px 0;
    width: 2em;
    height: 2em;
    background-size: contain;
    }
    @media screen and (min-width: 768px)  {
      #mapNav li:before {
        width: 24px;
        height: 24px;
        }
        #mapNav.en li:before {
          margin: 0px 0px;
        }}
    body.pc #mapNav li:before {
      content:" ";
      display:inline-block;
      margin: -2px 8px 0 0;
      width: 27px;
      height: 27px;
      background-size: contain;
      vertical-align: middle;
      }
    #line_all:before {
      background:url("../img/icon_metro.png");
      }

    #line_ginza:before {
      background:url("../img/icon_ginza.png");
      }

    #line_marunouchi:before {
      background:url("../img/icon_marunouchi.png");
      }

    #line_hibiya:before {
      background:url("../img/icon_hibiya.png");
      }

    #line_tozai:before {
      background:url("../img/icon_tozai.png");
      }

    #line_chiyoda:before {
      background:url("../img/icon_chiyoda.png");
      }

    #line_yurakucho:before {
      background:url("../img/icon_yurakucho.png");
      }

    #line_hanzomon:before {
      background:url("../img/icon_hanzomon.png");
      }

    #line_namboku:before {
      background:url("../img/icon_namboku.png");
      }

    #line_fukutoshin:before {
      background:url("../img/icon_fukutoshin.png");
      }

  /* >マーク */
  body.pc #mapNav li:after {
    content: url("/library/svg_map/img/line_bt_arrow.png");
    display:inline-block;
    margin: 0px 8px 0 0;
    right: 0px;
    width: 4px;
    height: 8px;
    background-size: contain;
    position: absolute;
    vertical-align: middle;
    }
    body.pc #mapNav li:hover:after {
      content: url("/library/svg_map/img/line_bt_arrow_on.png");
      }
      body.pc #mapNav li.current:after {
        content: url("/library/svg_map/img/line_bt_arrow_on.png");
        }

/* テキスト部分 */
#mapNav li span {
  color: #222222;
  display: block;
  text-decoration: none;
  pointer-events: none;
  word-break: break-all;
  }
  @media screen and (min-width: 768px)  {
    #mapNav li span {
      margin: -28px 0 0 32px;
    }
    #mapNav.en li span {
      margin: -32px 0 0 32px;
    }}
  body.pc #mapNav li span {
    display: inline;
    margin: 0px;
  }

/* 改行 */
#mapNav.en br {
  display: none;
  }
  @media screen and (min-width: 768px)  {
    #mapNav br {
      display: none;
    }
    #mapNav.en br {
      display: inline;
    }}
  body.pc #mapNav br {
    display: none;
    }


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    各路線へのリンクボタン

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

#linkToLine {
  background: #00467e;
  color: #ffffff;
  display: none;
  margin: 160px 0 0 0;
  padding: 12px ;
  position: relative;
  text-align: center;
  width: 100%;
  }
  @media screen and (min-width: 768px)  {
    #linkToLine {
      margin: 104px 0 0 0;
    }}
  body.pc #linkToLine {
    background: #00467e;
    border: solid 0px #bfd0d6;
    color: #ffffff;
    cursor: pointer;
    display: none;
    margin: 400px 0px;
    height: 68px;
    padding: 0 20px 0 30px;
    text-align: left;
    width: 177px;
    }

/* 三角 */
#linkToLine:before {
  content: url("/library/svg_map/img/bt_arrow.png");
  padding: 3px 10px 0 0;
  }
  body.pc #linkToLine:before {
    left: 15px;
    position: absolute;
    }

/* アンダーラインを消す */
/*body.pc #linkToLine:hover {
  background: #00467e;
  color: #ffffff;
  text-decoration: none;
}*/

/* アンダーラインを消す */
#linkToLineA:hover {
  text-decoration: none;
  }



/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    駅オブジェクト

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

/* リンクのない駅オブジェクトは背景のようにする */
#stations g {
  cursor: auto;
  pointer-events: none;
  }

/* リンクありの駅オブジェクトはカーソルを変化させる */
#stations g[link] {
  cursor: pointer;
  pointer-events: auto;
  }


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    最背面のPNG地図は透過

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

#mapBase img {
  -ms-filter: "alpha(opacity=20)"; /* IE 8,9 */
  -moz-opacity:  0.2; /* FF , Netscape */
  opacity: 0.2;
  }



/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    拡縮ボタン

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

/* ボタンの座布団 */
#ratioWrap {
  background: #dae0e3;
  border-radius: 3px;
  position: absolute;
  top: 236px;
  right: 8px;
  width: 104px;
  height: 56px;
  }
  @media screen and (min-width: 768px)  {
    #ratioWrap {
      top: 292px;
    }}
  body.pc #ratioWrap {
    top: auto;
    bottom: 8px;
    right: 8px;
    width: 152px;
    height: 56px;
    }

/* 個々のボタン全て */
.ratioBtn {
  position: absolute;
  width: 40px;
  height: 40px;
  margin: 8px 0 8px 8px;
  }
  body.pc .ratioBtn {
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 8px;
    }

/* 縮小ボタン */
#btnSmaller {
  background: url("../img/bt1_on.png") no-repeat center center;
  background: url("../img/bt1.png") no-repeat center center;
  background-size: cover;
  border: solid 1px #999999;
  border-radius: 3px;
  cursor: pointer;
  top: 0;
  }
  body.pc #btnSmaller {
    top: 0;
    left: 0;
    }
    body.pc #btnSmaller:hover {
      background: url("../img/bt1_on.png") no-repeat center center;
      }

/* 拡大ボタン */
#btnBigger {
  background: url("../img/bt2_on.png") no-repeat center center;
  background: url("../img/bt2.png") no-repeat center center;
  background-size: cover;
  border: solid 1px #999999;
  border-radius: 3px;
  cursor: pointer;
  top: 0;
  left: 48px;
  }
  body.pc #btnBigger {
    top: 0;
    left: 48px;
    }
    body.pc #btnBigger:hover {
      background: url("../img/bt2_on.png") no-repeat center center;
      }

/* 全画面表示ボタン */
#btnCover {
  border: solid 1px #999999;
  border-radius: 3px;
  display: none;
  }
  body.pc #btnCover {
    background: url("../img/bt3b_on.png") no-repeat center center;
    background: url("../img/bt3b.png") no-repeat center center;
    background-size: cover;
    cursor: pointer;
    display: block;
    top: 0;
    left: 96px;
    }
    body.pc #mapBg.cover #btnCover {
      background: url("../img/bt3a_on.png") no-repeat center center;
      background: url("../img/bt3a.png") no-repeat center center;
      }
    body.pc #btnCover:hover {
      background: url("../img/bt3b_on.png") no-repeat center center;
      }
      body.pc #mapBg.cover #btnCover:hover {
        background: url("../img/bt3a_on.png") no-repeat center center;
        }



/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    SP用2本指タッチアナウンス

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

/* 暗くする */
#doubleTapWrap {
  background: #000000;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 300px;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  }
  body.pc #doubleTapWrap {
    display: none;
    }
  @media screen and (min-width: 768px) {
    #doubleTapWrap {
      height: 356px;
    }}

/* アナウンス文字 */
#doubleTapWrap span {
  color: #ffffff;
  display: table-cell;
  font-size: 16px;
  line-height: 1.5em;
  padding: 0 30px;
  pointer-events: none;
  height: 300px;
  text-align: center;
  vertical-align: middle;
  width: 100vw;
  }
  @media screen and (min-width: 768px) {
    #doubleTapWrap span {
      height: 356px;
    }}


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    全画面表示

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

body.pc #mapBg.cover {
  background: #dae0e3;
  position: fixed;
  width: 100vw;
  height: 100vh;
  margin: 0;
  top: 0;
  left: 0;
  z-index: 99999;
  }
  body.pc #mapBg.cover #mapSvg {
    height: 100vh;
    }
  body.pc #mapBg.cover #mapNav {
    height: 100vh;
    }


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    PCトーカー用文字

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

#mapSvgText {
  position: absolute;
  top: 0;
  }
  body.pc .mapText {
    height: 450px;
    z-index: 9999;
    }
    .mapText li{
      color: #ffffff;
      display: inline;
      font-size: 1px;
      position: absolute;
      width: 300px;
      }
      .mapText li a{
        color: #ffffff;
        }


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    文字のクリッカブル

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

#stationLinks {
  opacity: 1;
  font-size: 16px;
  font-weight: 500;
  }
  #stationLinks div {
    position: absolute;
    letter-spacing: -0.05em;
    line-height: 1.0em;
    width: 200px;
    pointer-events: none;
    text-shadow: 1px 1px 0px #fff, -1px 1px 0px #fff, 1px -1px 0px #fff, -1px -1px 0px #fff;
    }
    #stationLinks.en div {
      font-family: 'Oswald', sans-serif;
      font-weight: 500;
      font-size: 14px;
      line-height: 1.03em;
      letter-spacing: 0.0em;
      }
      #stationLinks.en div.small {
        line-height: 0.65em;
      }
      #stationLinks.en.apple div {
        letter-spacing: 0em;
        }
    #stationLinks.kr div {
      font-size: 14px;
      }
    #stationLinks div a {
      color: #000000;
      cursor: default;
      position:relative;
      pointer-events: auto;
      text-decoration: none;
      }
      #stationLinks div a[link=link] {
        cursor: pointer;
        }
      #stationLinks div.small a {
        font-size: 10px;
        pointer-events:none;
        }
      #stationLinks.en div.small a{
        line-height: 0em;
        }


/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    路線名

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

.line {
  position: absolute;
}

/*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*

    注釈

 *:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*:;:*/

.caution {
  font-size: 10px;
  margin: 0 0 50px 0;
  }
  body.pc .caution {
    font-size: 12px;
    margin: 0 0 50px 0;
    }
