@charset "UTF-8";
/*------------------------------------------------------------------------------
	遠鉄電車 - SP CSS
	URL: https://www.entetsu.co.jp/tetsudou/
	Date: 2017-01-13
	Copyright (c) 2016 Ensyu Railway co.,ltd. All Rights Reserved.
------------------------------------------------------------------------------*/

/*==============================================================
	共通
===============================================================*/

body{
	position: relative;
}

#wrapper{
	overflow:hidden;
	width:980px;
	margin:auto;
}

/*  .btn a : ボタン関係
----------------------------------------------------*/
.btn a {
	position: relative;
	display: block;
	padding: 20px 60px;
	text-align: center;
	border: 3px solid #d4dce2;
	border-radius: 3px;
	color: #333;
	text-decoration: none;
}
.btn a:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	right: 8%;
	width: 6px;
	height: 6px;
	margin: -4px 0 0 0;
	border-top: solid 2px #d01919;
	border-right: solid 2px #d01919;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: all .3s;
	transition: all .3s;
}
.btn a:hover {
	background: #d4dce2;
}
.btn a:hover:after {
	right: 5%;
}
.btn a span {
	font-size: 80%;
}

main h2{
	clear:both;
    border-top: 4px solid #229ce3;
    border-bottom: 2px solid #229ce3;
    font-size: 1.6rem;
    padding: 25px 10px;
    margin-bottom: 20px;
    color: #333;
}

main h3{
	clear:both;
	background:#229ce3;
	color:#fff;
	padding:10px 20px;
    margin-bottom: 20px;
}


main section{
	margin-bottom:40px;
}

main section p,
main section table,
main section ul{
	line-height:1.5;	
}

/* toTop */
#page_link {
	opacity:0;
    width:113px;
    height:100px;
    position: absolute;
    right:50px;
    bottom:150px;
    -webkit-transition:none;
    transition:none;	 
}
#button {
    z-index: 9999;
    display: block;
    width:113px;
    height:100px;
	background:url(../img/totop_txt.png) no-repeat right top;
}
#button i {
    width:96px;
    height:49px;
    display: block;
	background:url(../img/totop_before.png) no-repeat;
    position: absolute;
    bottom: 0px;
	left:0;	
}
#button_change {
    z-index: 99999;
    position: absolute;
    bottom: 0px;
    opacity: 0;
    width:113px;
    height:84px;
	background:url(../img/totop_after.png) no-repeat;
}

/*==============================================================
	header : ヘッダ
===============================================================*/

header{
	position:relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;	
    justify-content: space-between;	
	-webkit-align-items:center;
    align-items: center; 
}

header #siteTitle{
	margin:10px 0;
}

header ul{
	/*float:right;
	margin:10px 0;*/
}
header ul li a{
	position:relative;
    display: block;
    padding: 6px 25px 6px 15px;
    border: 1px solid #ccc;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    border-radius: 5px;
    color: #000 !important;
	background: rgb(255,255,255);
	background: -moz-linear-gradient(top,  rgb(255,255,255) 0%, rgb(255,255,255) 50%, rgb(248,248,248) 50%, rgb(252,252,252) 100%);
	background: -webkit-linear-gradient(top,  rgb(255,255,255) 0%,rgb(255,255,255) 50%,rgb(248,248,248) 50%,rgb(252,252,252) 100%);
	background: linear-gradient(to bottom,  rgb(255,255,255) 0%,rgb(255,255,255) 50%,rgb(248,248,248) 50%,rgb(252,252,252) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 );
}
header ul li a:hover{
	background:#f8f8f8;	
    color: #000;
}
header ul li a:after{
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 5px;
	height: 5px;
	margin: -3px 0 0 0;
	border-top: solid 1px #d01919;
	border-right: solid 1px #d01919;
	-webkit-transform: rotate(45deg);
			transform: rotate(45deg);
}

/*==============================================================
	mainVisual : メインビジュアル
===============================================================*/

#mainVisual{
	margin-bottom:40px;
	position:relative;
}
#mainVisual h2{
	position:absolute;
	right:0;
	bottom:10px;
	border:none;
	padding:0;
	margin:0;	
	/*opacity :0;
	-webkit-animation:fade 1s ease-out 0.7s 1 forwards;
    animation:fade 1s ease-out 0.7s 1 forwards;*/
}
@-webkit-keyframes fade{
  0% {opacity:0;}  
  100% {opacity:1;}
}
@keyframes fade{
  0% {opacity:0;}
  100% {opacity:1;}
}

/*==============================================================
	#mainMenu : メニュー
===============================================================*/

#container #mainMenu{
	background:#f5fafb;
	border:1px solid #d1dae0;
	padding:30px;
}

#container #mainMenu .inner{
	border:1px solid #d4dce2;
	/*display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content:         center;*/
	background:#fff;
    padding: 40px 0;
}
#container #mainMenu .inner .icon{
    text-align: center;
    margin: 0 0 30px;
}
#container #mainMenu .inner .icon img{
	margin:0 20px;	
}
#container #mainMenu .inner .btn a{
    width: 500px;
    margin: 0 auto 10px;
}
#container #mainMenu .inner dl{
	width:468px;
	padding:20px;
}

#container #mainMenu .inner dl dt{
    font-size: 1.5rem;
    color: #0080cb;
	text-align:center;
}

#container #mainMenu .inner dl.fare dt img{
	margin:5px 0;
}

#container #mainMenu .inner dl dt strong{
	display:block;
	margin:20px 0 40px 0;
}

#container #mainMenu .inner dl.time{
	border-right:1px solid #d4dce2;	
}

/*==============================================================
	#guide : ガイド
===============================================================*/

#container #guide h2{
	background:url(../../img/ico_guide.png) no-repeat left center;
	background-size:5% auto;
	padding-left:60px;
}

#container #guide ul li{
	overflow:hidden;
	margin-bottom:20px;
}

#container #guide ul li p.floatL{
	margin-right:40px;	
}

#container #guide ul li p{
	margin-bottom:20px;	
}

#container #guide #movie{
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin-bottom:80px;
}
#container #guide #movie iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}


/*==============================================================
	#station : 各駅
===============================================================*/

#container #station h2{
	background:url(../../img/ico_station.png) no-repeat left center;
	background-size:12% auto;
	padding-left:140px;
}

#container #station .floatL{
	width:360px;	
}

#container #station p.floatL img{
	margin-bottom:20px;
	max-width:100%;
	height:auto;
}

#container #station table{
	width:560px;
	float:right;
	margin-bottom:40px;
}

#container #station table th,
#container #station table td{
	padding:10px;	
}

#container #station table.tbl002{
	font-size:12px;
}

#container #station table.tbl002 th,
#container #station table.tbl002 td{
	padding:5px;	
}

#container #station h3 span{
	display:inline-block;
	background:#fff;
    border: 4px solid #cb1621;
    width: 38px;
    height: 38px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
	color:#333;
    margin: auto;
	margin-right:10px;
}

/* 01新浜松 */
#container #station h3.shinhamamatsu span{
	border-color: #0C3388;
}

/* 02第一通り */
#container #station h3.daiichi-dori span{
	border-color: #4DA635;
}

/* 03遠州病院前 */
#container #station h3.enshubyoin span{
	border-color: #EBCA00;
}

/* 04八幡 */
#container #station h3.hachiman span{
	border-color: #E07F00;
}

/* 05助信 */
#container #station h3.sukenobu span{
	border-color: #E5006E;
}

/* 06曳馬 */
#container #station h3.hikuma span{
	border-color: #801B75;
}

/* 07上島 */
#container #station h3.kamijima span{
	border-color: #0C3388;
}

/* 08自動車学校前 */
#container #station h3.jidosyagakkomae span{
	border-color: #4DA635;
}

/* 09さぎの宮 */
#container #station h3.saginomiya span{
	border-color: #EBCA00;
}

/* 10積志 */
#container #station h3.sekishi span{
	border-color: #E07F00;
}

/* 11西ヶ崎 */
#container #station h3.nishigasaki span{
	border-color: #E5006E;
}

/* 12小松 */
#container #station h3.komatsu span{
	border-color: #801B75;
}

/* 13浜北 */
#container #station h3.hamakita span{
	border-color: #0C3388;
}

/* 14美薗中央公園 */
#container #station h3.misonochuokoen span{
	border-color: #4DA635;
}

/* 15小林 */
#container #station h3.kobayashi span{
	border-color: #EBCA00;
}

/* 16芝本 */
#container #station h3.shibamoto span{
	border-color: #E07F00;
}

/* 17岩水寺 */
#container #station h3.gansuiji span{
	border-color: #E5006E;
}

/* 18西鹿島 */

#container #station h3.nishikajima span{
	border-color: #801B75;
}


/*==============================================================
	footer : フッター
===============================================================*/

footer{
	clear:both;
	text-align:center;
	padding:20px 0 40px 0;
}

/*============================================================================================================================
	スマートフォン　736px未満
============================================================================================================================*/

@media only screen and (max-width:736px){
	
body { font-size: 62.5%; }
p,ul,table{ font-size: 1.2em; }

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

* {
	box-sizing: border-box;
}

.btn a {
    padding:10px 20px;
}

main .btn a{
	font-size: 1.3em;
}

#wrapper {
    width: 100%;
}

main h2 {
	padding:15px 10px;
    font-size: 1.2rem;
}

main h3 {
    font-size: 1.0rem;
}

main section {
    margin-bottom:3%;
}

/*-----------------------------------------------*/

header #siteTitle{
    margin: 1% 0 1% 3%;
    width: 55%;
}

header ul{
	float:right;
	margin:3% 3% 3% 0;
}

#mainVisual {
    margin-bottom:0;
}
#mainVisual h2{
    width: 80%;
    bottom: 1%;
}
#container #mainMenu {
    padding:5%;
    /* margin: 0 3.2% 5%; */
    margin: 0 0 8%;
}
#container #mainMenu .inner {
	display:block;
    padding: 10% 2%;
}
#container #mainMenu .inner .icon img {
    margin: 0 3.2%;
}
#container #mainMenu .inner .btn a {
    width: 95%;
    margin: 0 auto 10px;
}

#container #mainMenu .inner dl {
    width:auto;
    padding: 3%  3%  0  3%;
	overflow:hidden;
	border: 1px solid #d4dce2;
	background:#fff;
}

#container #mainMenu .inner dl.time {
	margin-bottom:3%;
}

#container #mainMenu .inner dl dt {
    font-size:1.2rem;
	float:left;
	width:30%;
}

#container #mainMenu .inner dl dt strong {
    margin:10px 0;
}

#container #mainMenu .inner dl dd{
	width:65%;
	float:right;
}

#container #guide{
	padding:0 2%;	
}
#container #guide h2 {
    background: url(../../img/ico_guide.png) no-repeat 3% center;
    background-size: 5% auto;
	padding-left:40px;
}

/*#container #guide ul{
	margin-left:3%;
	margin-right:3%;
}*/
#container #guide #movie{
    margin-bottom: 15%;
}
#container #guide ul li p.floatL{
    width: 100%;
    margin: 0 0 3.2%;
}

#container #station{
	padding:0 2%;	
}
#container #station h2{
	background:url(../../img/ico_station.png) no-repeat 3% center;
    background-size: 15% auto;
	padding-left:80px;
}

#container #station .inner{
	margin-left:3%;
	margin-right:3%;	
}

#container #station .inner .floatL{
    width: 100%;
}
#container #station .inner .btn a {
    padding: 2% 0;
    width: 30%;
    float: right;
}

#container #station table.tbl001{
    width: 100%;
    margin-bottom:20px;
	font-size:1.3em;
	float:none;
}

#container #station table.tbl002{
	float:none;
	clear:both;
	width:100%;
	font-size:1.2em;
}

#container #station .scrTbl{
	width:100%;
    overflow: auto;
    white-space: nowrap;
    margin-bottom: 10%;
	padding-bottom:3.2%;
}
#container #station .scrTbl table{
	margin-bottom:0;	
}
#container #station .scrTbl::-webkit-scrollbar {
    height: 5px;
}
#container #station .scrTbl::-webkit-scrollbar-track {
    background: #F1F1F1;
}
#container #station .scrTbl::-webkit-scrollbar-thumb {
    background: #BCBCBC;
}

#container #station h3{
	padding:3px 3%;
}

footer {
    padding: 0 0 20px 0;
}

footer p{
	font-size:0.8em;
}

#page_link{
    position: fixed;
	right:1%;
    width: 100px;
	bottom:3.2%;
    z-index: 9;
	zoom:90%;
	
}
#button{
    width: 100px;
	position:relative;
}

}


/*--EOF-----------------------------------------------------------------------*/