/*┌──────────────────────────────────────
/*│  共通スタイルシート v0.0.1 (2017/01/05)
/*│  common.css
/*└─────────────────────────────────────*/

/*============================================================================*/
/*                              [ 基本設定関係 ]                              */
/*============================================================================*/

/*-- [ 文字コード ] ----------------------------------------------------------*/
@charset 'UTF-8';


div.Wrapper.No1 {
	background: linear-gradient(#d60000 2px, #fff 2px 100%);
}


div.Wrapper.No2 {

	position: relative;/* リキッドレイアウト親 */
	/width: 1080px;*/
	min-width: 1080px;
	background-color : #FFF;

	/* フッター最下部用 */

	height: auto !important;
	height: 100%;
	/*min-height: 868px;*/
	min-height: 240px;

	margin:0 auto;

	background-image: url('./images/bg_screen_1920x240.jpg');
	background-repeat: no-repeat;
	background-position: center;
	/*padding: 1em 0;*/
}
/*
div.Wrapper.No2::before{
	background-color: rgba(255,255,255,0.8);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: ' ';
}
*/

div.Wrapper.No3, 
div.Wrapper.No4, 
div.Wrapper.No5 {
	position: relative;/* リキッドレイアウト親 */
}

div.Wrapper.No3 {

	position: relative;/* リキッドレイアウト親 */
	/width: 1080px;*/
	min-width: 1080px;
	background-color : #FFF;

	/* フッター最下部用 */

	height: auto !important;
	height: 100%;
	/*min-height: 868px;*/
	min-height: 240px;

	margin:0 auto;

	background-image: url('./images/bg_screen_1920x1440.jpg');
	background-repeat: no-repeat;
	background-position: bottom center;
	/*padding: 1em 0;*/
}

div.Wrapper.No4 {
	padding: 1em 0;
	background-color: #f9f9f9;
}

div.Wrapper.No5 {

	position: relative;/* リキッドレイアウト親 */
	/width: 1080px;*/
	min-width: 1080px;
	background-color : #FFF;

	/* フッター最下部用 */

	/*height: auto !important;*/
	/*height: 100%;*/
	/*min-height: 868px;*/
	min-height: 700px;

	margin:0 auto;


	background: linear-gradient(rgba(255, 255, 255, 0)10%, rgba(255, 255, 255, 1)90%), url('./images/bg_guide_1920x720.jpg');

	/*background-image: url('./images/bg_guide_1920x720.jpg');*/
	background-repeat: no-repeat;
	background-position: center bottom;
	/*padding: 1em 0;*/
}


@media screen and (max-width: 812px){
	body {min-width: auto;}

	div.Wrapper.No1 {
		background: linear-gradient(#d60000 .53vw, #fff .53vw 100%);
	}


	div.Wrapper.No2 {
		width: auto;
		min-width: auto;
		/*min-height: 200px;*/
		min-height: auto;
		height: auto;
	}
}

/*-- [ ヘッダー ] ------------------------------------------------------------*/

header {
	width: 100%;
	min-width: 1080px;
	/*width: 1080px;*/
	padding: 0 10px;
	margin:0 auto;
	height: 70px;
	background: linear-gradient(#d60000 2px, #fff 2px 100%);
}
@media screen and (max-width: 767px){
	header {
		height: 15.96vw;
		width: 100%;
		min-width: 100%;
		background: linear-gradient(#d60000 .53vw, #fff .53vw 100%);
	}
}
/* ロゴ */
header>a:nth-of-type(1) {
	display: inline-block;
	width: auto;
	float : left; 
	line-height: 62px;
	font-size: 14px; font-size: 1.4rem;
}
header>a:nth-of-type(1)>img {
	margin:13px 10px 4px 0;
	vertical-align: -15px;
	width: 261px;
	height: 36px;
}
@media screen and (max-width: 767px){

	header>a:nth-of-type(1) {
		line-height: 13.30vw;
		font-size: 3.72vw;
	}
	header>a:nth-of-type(1)>img {
		margin:3.46vw 2.66vw .8vw 1.33vw;
		vertical-align: -3.99vw;
		width: 69.6vw;
		height: 10.66vw;
	}
}



/* ビジター */
header>nav#Visiter {
	width: -webkit-calc(100% - 300px);
	width:         calc(100% - 300px);
	float : right;
}
header>nav#Visiter>ul {
	margin: 0 0 37px 0;
	float : right; 
}
header>nav#Visiter>ul::after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
header>nav#Visiter>ul>li {
	float : left; 
	margin-left:4px;
	letter-spacing: 0.1em;
	font-size: 12px; font-size: 1.2rem;
	font-weight: 400;
}
header>nav#Visiter>ul>li>a {

	padding: 0.3em 2em;
	display: block;
	        border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	   -moz-border-radius: 0 0 5px 5px;
	background: linear-gradient(#d60000 2px, #eee 2px 100%);
}
header>nav#Visiter>ul>li:nth-of-type(2)>a {
	background: linear-gradient(#d60000 0 100%);
	color: #fff;
}
@media screen and (max-width: 767px){

	header>nav#Visiter {display:none;}
	header>nav#Visiter>ul>li {display:none;}

}


/*-- [ ヘッダー ] ------------------------------------------------------------*/
/*
header {
	width: 100%;
	height: 80px;

}


header>a:nth-of-type(1) {
	float : left; 
	line-height  : 83px;
}
header>a:nth-of-type(1)>img {
	display: block;
	margin:23px 10px 23px 30px;
	float : left; 
}

header>a:nth-of-type(2) {
	float : right; 
}
header>a:nth-of-type(2)>img {
	display: block;
	margin: 10px;
}
header>div {
	clear: both;
	width: 100%;
	background-color: #F0F0E1;
	height: 47px;
	line-height: 47px;
	padding-left: 30px;
	overflow: hidden;
}
header>div>h1 {
	float : left; 
	margin: 5px 10px 5px 0;
	font-size: 29px; font-size: 2.9rem;



}



header>p {
	padding: 80px 100px 0 0;
	font-size: 24px; font-size: 2.4rem;
}

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

	header>a:nth-of-type(1) {
		float : none; 
	}

	header {
		height: 80px;
	}

	header>p {
		padding: 0 0 0 0;
		font-size: 24px; font-size: 2.4rem;
	}

	header>a:nth-of-type(2)>img {
		margin: 10px 0;
	}

	header>div>h1 {
		font-size: 16px; font-size: 1.6rem;

	}

}
*/
/*------------------------------------*/
#Contents {
	margin     : 0 auto;
	width      : 100%;


	text-align : center;
	background : url( '../images/cnn_top_bg.gif' ) top left repeat-x;
}

header {
	font-size: 16px; font-size: 1.6rem;
}


main {
	display: block;/* IEにmainタグがないので指定 */
	margin     : 0 auto;
/*
	min-height : 780px;
	height     : auto !important;
	height     : 780px;
*/
	/*width      : 1080px;*/
	text-align: left;
	background : url( '../images/cnn_bg.gif' ) top left repeat-y;

/*
	padding-bottom:30px;
	padding-top: 20px;
*/
	font-size: 16px; font-size: 1.6rem;
}

article {
	display: block;
	width: 960px;
	margin: 0 auto;
	/*padding: 0 20px 0 20px;*/
	background-color: rgba(255,255,255,0.9);
}

article>h1 {

	/*background-color: #FFD24D;*/
	/*font-size: 18px; font-size: 1.8rem;*/
	/*height: 45px;*/
	width: auto;
	border: 2px solid #000;
	line-height: 120%;
	text-align: center;
	padding: 0;
	margin:30px 80px 30px 80px;
}

article>p {
	/*font-size: 16px; font-size: 1.6rem;*/
	margin: 0 auto;
	width:90%;
	line-height : 150%;
	text-align: left;
}

article>div>img {
	vertical-align:middle;
	margin-right:3px;
}


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

	article {width: 100%;}

	article {padding: 0 0 0 0;}

	article>h1 {
		width: 90%
		line-height:120%;
		margin:5px 5px 10px 5px;
		padding: .2em;
	}
	main {
		width: 100%;
		/*min-height : auto;*/
		font-size: 4.25vw;
	}
}

/*-- [ フッター ] ------------------------------------------------------------*/
footer {
	/*position: fixed;*/
	position: absolute;
	bottom: -34px;




	margin     : 0 auto;
	height     : 34px;
	line-height: 34px;
	width      : 100%;
	min-width  : 1080px;
	text-align : center; /* IE 中央揃え */
	background : url( 'images/bg_footer.png' ) bottom left repeat-x;

}



footer>p {
	margin     : 0 auto; /* FX 中央揃え */

	width      : 1080px;
	text-align : center;
	font-size: 10px; font-size: 1.0rem;
}


footer>p::before {
	content: '\f004';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;/* 必須 */
	color: #D60000;
	margin-right: 0.5rem;

}

@media screen and (max-width: 812px){
	footer {
		min-width  : auto;
		/*bottom: 60px;*/
	}
	footer>p {
		width:100%;
		font-size: 6px; font-size: 0.6rem;
	}
}




/*-- [ 色 ] ------------------------------------------------------------------*/

/* 文字色 */
.Oudoiro {color:#cfb872;}
.Pink    {color:#df64a5;}
.Red     {color:#d54044;}
.Blue    {color:#2b8fc6;}
.Orange  {color:#f1950a;}
.Green   {color:#2daab5;}

/* 背景色 */
.BgOudoiro {background-color:#cfb872;}
.BgPink    {background-color:#df64a5;}
.BgRed     {background-color:#d54044;}
.BgBlue    {background-color:#2b8fc6;}
.BgOrange  {background-color:#f1950a;}
.BgGreen   {background-color:#4bae7f;}
.BgBGreen  {background-color:#2daab5;}
.BgBGrey   {background-color:#708F8F;}

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


article>table {
	border-collapse : collapse;
	border : solid 1px;
	/*margin-bottom : 40px;*/
	/*width: 100%;*/
}
article>table th, article>table td {
	font-weight: normal;
	border  : 1px solid #333333;
	padding : 5px;
}


article>table>thead th {
	background-color : #FFFFA4;
}
article>table>tbody th {
	background-color : #D8FFB0;
	/*width: 400px;*/
}

@media screen and (max-width: 812px){
	article>table{border : none;}
	article>table>thead {
		display: none;
	}
	article>table>tbody th, 
	article>table>tbody td {
		display: block;
		width: 100%;
		border-top : none;

	}

	article>table>tbody>tr:nth-of-type(1)>th {
		border-top : 1px solid #333333;
	}

}

/* ---------------------------------- */
/* ビジター */
header>nav#Visiter {
	width: -webkit-calc(100% - 300px);
	width:         calc(100% - 300px);
	float : right;
}
header>nav#Visiter>ul {
	margin: 0 0 37px 0;
	float : right; 
}
header>nav#Visiter>ul::after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
header>nav#Visiter>ul>li {
	float : left; 
	margin-left:4px;
	letter-spacing: 0.1em;
	font-size: 12px; font-size: 1.2rem;
	font-weight: 400;
}
header>nav#Visiter>ul>li>a {

	padding: 0.3em 2em;
	display: block;
	        border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	   -moz-border-radius: 0 0 5px 5px;
	background: linear-gradient(#d60000 2px, #eee 2px 100%);
}
header>nav#Visiter>ul>li:nth-of-type(2)>a {
	background: linear-gradient(#d60000 0 100%);
	color: #fff;
}
@media screen and (max-width: 767px){

	header>nav#Visiter {display:none;}
	header>nav#Visiter>ul>li {display:none;}

}


/*-- [ ページトップ ] --------------------------------------------------------*/





main>article p {line-height: 150%;}

main>article>img {
	display: block;
	width: 960px;
	margin: 0 auto 2em;
}


main>article>p {margin-bottom: 2em;}

main>article>div {
	/*width: 960px;*/
	margin: 0 auto 2em;

}

@media screen and (max-width: 812px){
	main>article>img {width: 100%;}

	main>article>div {width: 95%;}
}

article>div.Box {margin-top: 3em;}

article>div.Box>h2 {
	position:relative;
	display: block;
	border-bottom: 2px solid #d60000;
	padding-bottom:.3em;
	padding-left:.8em;
	margin-bottom:.5em;
}
article>div.Box>h2::before {
	position: absolute;
	display:block;
	float: left;
	height:calc(100% - .5em);
	top:.15em;
	left:0;
	/*margin-top:.1em;*/
	        border-radius: .2em;
	-webkit-border-radius: .2em;
	   -moz-border-radius: .2em;
	width:.4em;
	background-color: #d60000;
	content: "";
}

article>div.Box>h3 {
	/*margin-top:1.5em;*/
	font-size: 20px; font-size: 2.0rem;
}
article>div.Box>h4 {
	margin-top:1.5em;
}

@media screen and (max-width: 767px){
	article>div.Box {
		font-size: 4.25vw;
	}


	article>div.Box>h3 {font-size: 5.32vw;}

	article>div.Box>h2 {font-size: 6.38vw;}
}


/* 小樽ターミナル */
div#About {margin-bottom: 1em;}
div#About>table {
	border-collapse : collapse;
	border : solid 1px;
	/*margin-bottom : 40px;*/
	/*width: 100%;*/
}
div#About>table th, div#About>table td {
	font-weight: normal;
	border  : 1px solid #333333;
	padding : 5px;
}


div#About>table>thead th {
	background-color : #FFFFA4;
}
div#About>table>tbody th {
	background-color : #D8FFB0;
	/*width: 400px;*/
}

/* 写真 */
div#Photos>img {
	margin-bottom: 1em;
	display: block;
	clear: both;
	overflow: hidden;
	        border-radius: 10px;
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
}

@media screen and (max-width: 812px){
	div#About>table{border : none;}
	div#About>table>thead {
		display: none;
	}
	div#About>table>tbody th, 
	div#About>table>tbody td {
		display: block;
		width: 100%;
		border-top : none;

	}

	div#About>table>tbody>tr:nth-of-type(1)>th {
		border-top : 1px solid #333333;
	}

}

/*----------------------------------------------------------------------------*/
/* タイトル画像 */

div#Title {
	position:relative;
	background-color: rgba(255, 255, 255, 0.8);
	background-image: url("images/title.png");
	/*background-size: cover;*/
	background-size: auto 190px;
	background-repeat: no-repeat;
	background-position: center right;
	/*width: 960px;*/

	height: 190px;
	color: #005566;
}

div#Title>div {
	width: 960px;
	padding: 2em 0;
	margin: 0 auto 2em;
	font-size: 1.4vw;
}
div#Title>div>h1 {
	font-size: 2.8vw;
	font-family: serif;
	margin-bottom: .4em;
}

@media screen and (max-width: 812px){
	div#Title {
		width: 100%;
		/*height: auto;*/
		height: 40vw;
		aspect-ratio: 4/1;
		background-image: unset;
		padding-top: 3em;
	}

	div#Title>div {
		width: 100%;
		font-size: 3.4vw;
		padding-left: .5em;
	}
	div#Title>div>h1 {
		font-size: 5.8vw;
	}
}

/* 目次 */
div#Index {
	font-size: 22px; font-size: 2.2rem;
	background-color: #fff;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, .3);
	padding: 1em;
	width: 860px;
	/*margin: 0 auto;*/
	overflow: auto;
}
div#Index:after {
	clear: both;
	content: '';
	display: block;
}
div#Index>img {
	/*margin: .5em;*/
	height: 260px;
	float: left;
}
div#Index>h3 {
	width: 100%;
	background-color: #88B927;
	color: #fff;
	font-size: 22px; font-size: 2.2rem;
	/*letter-spacing: 0.3em;*/
	padding: .5em 0 .5em calc(1em + 210px);
}


div#Index>ul {
	position: relative;
	display: inline-block;
	margin-top:.5em;
	margin-left:1em;
	float: left;
}


div#Index>ul>li {
	font-size: 28px; font-size: 2.8rem;
	/*letter-spacing: 0.3em;*/
	margin-left:1em;
	list-style: none;
	line-height: 200%;
}

div#Index>ul>li::before {
	position: absolute;
	left: 0;
	font-weight: 700;
	content: "-";
}

div#Index>ul>li>a>span {
	font-size: 0.6em;
	vertical-align: super;
}
div#Index>ul>li>p {font-size: 16px; font-size: 1.6rem;}

div#Index>div {
	position: relative;
	width: 55%;
	margin-left:2em;
	padding-left:1em;
	float: left;
}

div#Index>div::before,
div#Index>div::after {
	position: absolute;
	top: -3px;
	width: 10px;
	height: 100%;
	content: '';
	border-top: solid 1px #333333;
	border-bottom: solid 1px #333333;
}

div#Index>div::before {
	border-left: solid 1px #333333;
	left: 0;
}

div#Index>div::after {
	border-right: solid 1px #333333;
	right: 0;
}


@media screen and (max-width: 767px){
	div#Index {
		padding: 0;
		width: 100%;
	}
	div#Index>img {
		width:  100%;
		height: auto;
		float:  none;
	}
	div#Index>h3 {
		padding: .5em;
		font-size: 6.12vw;
		letter-spacing: 0;
	}
	div#Index>ul {
		margin-left:1em;
		float:  none;
	}
	div#Index>ul>li {
		font-size: 5.32vw;
		letter-spacing: 0;
	}

	div#Index>div {
		margin:1em;
		width:  90%;
		height: auto;
		float:  none;
	}
}

.Icon {
	width: 40px;
	height: 40px;
	filter: invert(46%) sepia(68%) saturate(1773%) hue-rotate(160deg) brightness(93%) contrast(102%);
}

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

/* 時刻表 */
#Timetable {
	position:relative;
	/*width: 960px;*/
	margin: 1em auto;
}

#Timetable>div {
	width: auto;
	float: none;
	padding: 0;
	margin: 0 auto;
}

#Timetable>div:nth-of-type(1) {
	width: 95%;
	overflow: auto;
}

#Timetable table {width: 100%;}

#Timetable table {
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	white-space: nowrap;
}
#Timetable table th, #Timetable table td {
	font-weight: normal;
	border-top   : unset;
	border-left  : unset;
	border-right : 1px solid #333333;
	border-bottom: 1px solid #333333;
	padding : 5px;
	text-align : center;
}
#Timetable table tr:first-child th, 
#Timetable table tr:first-child td {border-top: 1px solid #333333;}
#Timetable table th:first-child, 
#Timetable table td:first-child {border-left: 1px solid #333333;}


#Timetable table>thead th {
	background-color : #FFFFA4;
	position: relative;
	width: 5em;
}
#Timetable table>tbody th {
	background-color : #D8FFB0;
	position: relative;
	width: 5em;
}

#Timetable table>tbody th.BusStop a::after {

	content: '\f08e';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;/* 必須 */
	/*color: #D60000;*/
	margin-left: 0.3rem;
/*
	width: 1em;
	height: 1em;
	background-image: url('./images/map.svg');
	background-repeat: no-repeat;
	background-position: center bottom;
*/
}

#Timetable table tr>th:nth-of-type(1) {
	width: 3em;
	position: sticky;
	top:  0;
	left: 0;
	z-index: 1;
}
#Timetable table tr>th:nth-of-type(2) {
	width: 20em;
	position: sticky;
	top:  0;
	left: -webkit-calc(3em + 6px);
	left:         calc(3em + 6px);
	z-index: 1;
	text-align: left;
	font-size: 14px; font-size: 1.4rem;
}

@media screen and (max-width: 812px){
	#Timetable {
		width: 100%;
		/*font-size: 2.66vw;*/
		font-size: 2.4vw;
	}

	#Timetable table th {width: 5em;}

	#Timetable table tr>th:nth-of-type(2) {
		width: 20em;
		left: -webkit-calc(3em);
		left:         calc(3em);
		/*font-size: 2.66vw;*/
		font-size: 2.4vw;
	}
}

/* 運賃 */
#Fare {
	position:relative;
	/*width: 960px;*/
	margin: 1em auto;
	padding: 1em;
}

#Fare table {
	width: 100%;

}


#Fare table {
	border-collapse : collapse;
	table-layout: fixed;
	border : solid 1px;
	/*margin-bottom : 40px;*/
	/*width: 100%;*/
}
#Fare table th, #Fare table td {
	font-weight: normal;
	border  : 1px solid #333333;
	padding : 5px;
	text-align : center;

}

@media screen and (max-width: 812px){
	#Fare {width: 100%;}

	#Fare table{
		font-size: 4vw;
		margin: 0;
	}
}

.Reference{
	margin-left: 1em;
	text-indent: -1em;
}
.Reference::before {content: '※';}

#Fare ul>li>h4 {
	display: inline-block;
	font-weight: normal;
}
#Fare ul>li>h4::after {
	content: '⇒';
	margin: 0 1em;
}