@charset "utf-8";
html,body { height:100%; }
/* フォントサイズの基準を10pxに */
html {
  font-size: 10px;
  font-size: 62.5%;
  }

/* body */
body {
  width: 100%;
  margin: auto;
  color: #46413c;
  background-color: #fffff5;
  padding: 0;
  font-family: "ヒラギノ角ゴ Pro W6","ヒラギノ角ゴ","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO","ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro",　sans-serif;  font-size: 1.6rem;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

/* IE11だけに適応 */
_:lang(x)::-ms-backdrop, .selector {
	font-family: "Segoe UI", "メイリオ", Meiryo, sans-serif;
}

/* 太字 */
b, strong, .bold, h2{
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO",　sans-serif;
}

/*clearfix*/
.cf:before,.cf:after {content:""; display:block; overflow:hidden;}
.cf:after {clear:both;}
.cf {zoom:1;}
/*style*/
p{font-size:1.6rem; text-align:justify; text-justify:inter-ideograph; line-height: 1.8; margin:0;}

@media screen and (max-width:960px) {
  p{font-size: 1.6rem;}
}

@media screen and (max-width:560px) {
  p{font-size: 1.4rem;}
}



a{text-decoration: underline; color:#282828; text-decoration: none;}
a:hover{text-decoration: none;}
h2{line-height: 1; font-weight:normal; letter-spacing: 4;}
main{overflow: hidden;}

.widthfix{width:100%; max-width:640px; margin:0 auto;}
img{width:100%; vertical-align: bottom;}



/* ul */
ul,ol{padding:0;}
ol li,ul li{font-size: 1.8rem; padding:0; list-style:none;}

@media screen and (max-width:960px) {
  ol li,ul li{font-size: 1.6rem;}
}

@media screen and (max-width:560px) {
  ol li,ul li{font-size: 1.4rem;}
}

/* テーブルに関して */
table{
  font-size: 1.6rem;
  text-align: center;
}

/* thの下線を1pxに */
.table-bordered thead td, .table-bordered thead th {
  border-bottom-width: 1px;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 1px solid #dee2e6;
}







/* 共通 */

#jj_yanbaru_liner_all {
	background-color: #fff;
}

.section__wrap{
  width: 100%;
max-width: 950px;
  margin: 0 auto;
}

.section__wrap_l{
  padding:10px 0px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.section__wrap_ll{
  padding:10px 0px;
  width: 100%;
  margin: 0 auto;
}

.sp_br {
	display: none;
}
@media screen and (max-width:560px) {
	
	.section__wrap{
  padding:10px 0px;
  width: 100%;
  max-width: 930px;
  margin: 0 auto;
}
	

.sp_br {
	display: block;
}
	
}

/* new clearfix */  
.clearfix:after {  
    visibility: hidden;  
    display: block;  
    font-size: 0;  
    content: " ";  
    clear: both;  
    height: 0;  
    }  
* html .clearfix             { zoom: 1; } /* IE6 */  
*:first-child+html .clearfix { zoom: 1; } /* IE7 */  




@media screen and (max-width:560px) {
	
.section__wrap{
  padding:0px;
  width: 100%;
  margin: 0 auto;
}
  .section__image{
    margin: 0 auto 40px;
  }

  h2{
    margin:20px auto 20px;
  }

  p span.marker{
    font-size: 1.8rem;
  }


}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■header
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

header {
    display: flex;
    align-items: center;
    background-color: #cc0000;
    padding:0 30px;
    height:80px;
    position:relative;
	z-index: 100;
}

header img {
    width: 103px;
    height: 23px;
}

header h1 {
    position:absolute;
    right:30px;
    width:calc(100% - 60px - 500px);
    font-size: 1.4rem;
    color: #fff;
    text-align:right;
}

header h2{
    margin: 0 40px 0 64px;
    padding: 0;
    color:#fff;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
header h2 big{
    font-size: 19px;
    margin-right: 24px;
}


@media screen and (max-width:767px) {
    header {
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        background: #DBDBDB;
        height: auto;
    }
    header .logo {
        position: relative;
        right:auto;
        order: 2;
        width: 100%;
        height: 56px;
        margin: 0;
        padding: 0 0 0 16px;
        background: #BF0101;
        text-align: left;
        display: flex;
        align-items: center;
    }
    header img {
        width: 70px;
        height: auto;
    }
    header h1{
        font-size:1.3rem;
        line-height: 1.4;
        width:calc(100% - 110px);
        top:5px;
        right:16px;
    }
    header h2 {
        order: 3;
        margin: 0;
        padding: 0 15px;
        font-size: 12px;
        font-weight: bold;
        display: flex;
        align-items: center;
        color:#333;
    }
    header h2 big{
        font-size: 17px;
        margin-right: 0;
    }
    header .departure {
        order: 4;
        flex: 1;
        margin: 0;
        padding: 12px 0;
        text-align: left;
        color:#333;
    }

}

/*///////////////パンくず/////////////////*/



#breadcrumbs_h {
	color: #000;
    padding:20px 0px 0px 30px;
    font-size: 12px;
	margin-bottom: 20px;
}

#breadcrumbs_h ul {
    margin: 0 auto;
    padding: 0 auto;
    display: flex;
    align-items: center;
}

#breadcrumbs_h li {
    margin: 0 8px 0 0;
    padding: 0;
    font-size: 12px;
    white-space: nowrap;
	color: #000;
}

#breadcrumbs_h a {
    color: #000;
    text-decoration: none;
}

#breadcrumbs_h a:hover {
    color: #000;
    text-decoration: none;
}

#breadcrumbs_h li:not(:first-child):before {
    content: ">";
    margin-right: 8px;
}

@media screen and (max-width: 560px) {
	#breadcrumbs_h {
		width: 300px;
		font-size: 11px;
	}
	
#breadcrumbs_h li {
	float: left;
}
	
	#breadcrumbs_h li {
    margin: 0 8px 0 0;
    padding: 0;
    font-size: 8px;
    white-space: normal;
	color: #000;
}
	
}

/*//////////////////// メインビジュアル ////////////////////*/

#main__visual {
	background-image: url("../img/bg_main_03.jpg");
	background-repeat: no-repeat;
	background-position:center top;
	background-size: 1750px;
	height: 2320px;
	background-color: #66904a;
	
}

h1.main_title {
		width: 1418px;
	height: 600px;
		margin: auto;
		padding-top: 30px;
	display: block;
	}

h1.main_title img {
	widows: 1418px;
}

h1.main_title_sp {
	display: none;
}

.yanbaru_miryoku {
	background-image: url("../img/yanbaru_miryoku_bg.png");
	background-repeat: no-repeat;
	width: 959px;
	height: 485px;
	margin: auto;
	
}

.yanbaru_miryoku p {
	padding-top: 200px;
    width: 650px;
    font-size: 14px;
    padding-left: 110px;
}

/*.yanbaru_miryoku {
	position: relative;
	width: 959px;
	height: 485px;
	margin: auto;
}

.yanbaru_miryoku p {
	position: absolute;
	top: 190px;
	left: 110px;
	width: 650px;
	font-size: 14px;
}*/

.yanbaru_rule {
	background-image:url("../img/yanbaru_rule_bg.png");
	background-repeat: no-repeat;
	width: 988px;
	height: 439px;
	margin: auto;
}

.rule_list {
	padding-top: 230px;
	padding-left: 100px;
}

.rule_list li {
	font-size: 14px;
	line-height: 1.6em;
}

.rule_main {
	float: left;
	width: 400px;
	
}

.rule_nature {
	float: left;
	padding-left: 20px;
	width: 400px;
}

.rule_img_m {
	width: 230px;
}

.rule_img_n {
	width: 230px;
}

.naha_resort_liner {
	width: 943px;
	height: 334px;
	margin: auto;
	padding: 20px 0px;
	display: block;
}

.naha_resort_liner_sp {
	display: none;
}

@media screen and (max-width:560px) {
	
	#main__visual {
	background-image:url("../img/bg_main_sp.jpg");
	background-repeat: no-repeat;
	background-position:center top;
	background-size: 100%;
	height: 2580px;
	background-color: #66904a;
	margin-top: -21px;
}
	
h1.main_title {
		display: none;
	}

h1.main_title_sp {
	display: block;
	padding-top: 20px;
}
	
	
.yanbaru_miryoku {
	background-image:url("../img/yanbaru_miryoku_sp_bg.png");
	background-repeat: no-repeat;
	width: 100%;
	height: 485px;
	margin: auto;
	margin-bottom: 40px;
	background-size: 100%;
}

.yanbaru_miryoku p {
	padding-top: 160px;
    width: 90%;
    font-size: 13px;
    padding-left: 20px;
}
	

	
.yanbaru_rule {
	background-image:url("../img/yanbaru_rule_sp_bg.png");
	background-size: 100%;
	width: 90%;
	height: 669px;
	margin: auto;
}

.rule_list {
	padding-top: 280px;
	padding-left: 40px;
}

.rule_list li {
	font-size: 12px;
}

.rule_main {
	float: left;
	width: 90%;
	
}

.rule_nature {
	float: left;
	padding-left: 0px;
	width: 90%;
}

.rule_img_m {
	width: 230px;
}

.rule_img_n {
	width: 230px;
}
	
.naha_resort_liner {
	display: none;
	
}

.naha_resort_liner_sp {
	display: block;
	width: 90%;
	margin: auto;
}
	
}

@media screen and (max-width: 380px) {
	
#main__visual {
	height: 1980px;
}
	
.rule_list {
	padding-top: 254px;
}
	
.rule_img_m {
	width: 180px;
}
	
.rule_img_n {
	width: 180px;
}

.yanbaru_miryoku p {
	padding-top: 140px;
}
	
.yanbaru_rule {
	height: 619px;
}
	
}


/*//////////////////// JJやんばるライナー ////////////////////*/

#yanbaru_liner {
	background-image: url("../img/bg_liner.gif");
	background-repeat: no-repeat;
	background-color: #45a0b1;
	background-position: top center;
	background-size: 1750px;
	padding-bottom: 40px;
}

.yanbaru_liner_tit {
	width: 592px;
	margin: auto;
	padding-top: 20px;
}

.yanbaru_liner_links {
	width: 1000px;
	margin: auto;
	padding-top: 30px;
	
}

.yanbaru_liner_links ul {
padding-left: 0;
	}

.yanbaru_liner_links li {
	width: 271px;
	padding-right: 10px;
}

.float {
	width: 860px;
	margin: auto;
	overflow: hidden;
}

.float li {
	float: left;
}


.yanbaru_liner_point {
	background-image:url("../img/liner_point_bg.png");
    margin-top: 40px;
    padding-bottom: 30px;
    background-position: 26px;
    width: 1000px;
}

.liner_point_tit {
	width: 917px;
	height: 150px;
	margin: auto;
	display: block;
}

.liner_point_tit_sp {
	display: none;
}

.liner_point_img {
	width: 777px;
	margin: auto;
	display: block;
}

.liner_point_img_sp {
	display: none;
}

.liner_sdgs {
	width: 900px;
	margin: auto;
	padding-top: 20px;
}

.sdgs_logo {
	float: left;
}

.liner_sdgs p {
	float: left;
	font-size: 13px;
	padding-left: 15px;
	width: 580px;
}


.yanbaru_liner_map_time {
	padding-top: 50px;
}

.rutemap_timetable_tit {
	width: 274px;
	margin: auto;
	padding-bottom: 30px;
}

.liner_select {
	display: none;
}

.liner_map_tt {
	width: 470px;
	float: left;
	padding-left: 20px;
	padding-bottom: 40px;
}

.timetable_tit {
	text-align: center;
	color: #fff;
	font-size: 20px;
	padding: 20px 0px;
}


.timetable table,.timetable td,.timetable th {
	border: 1px solid #000;
	border-collapse: collapse;
	font-size: 12px;
	padding: 8px 0px;
}

.gry {
	background-color: #6e6d6d;
	color: #fff;
	font-weight: bold;
}

.green {
	background-color: #2C7803;
	color: #fff;
}
.orange {
	background-color: #d35c02;
	color: #fff;
	font-weight: bold;
}

.purple {
	background-color: #7e55a5;
	color: #fff;
	font-weight: bold;
}

.bg_lgry {
	background-color: #ededed;
}

.bg_white {
	background-color: #fff;
}
.deep_gry {
	background-color: #383838;
}

.red {
	background-color: #b90000;
}



td.jousya {
	width: 260px;
	text-align: left;
	padding-left: 5px;
}

td.w_s {
	width: 105px;
}

.busstop_link {
	width: 430px;
	margin: auto;
	padding: 20px 0px;
}

#yanbaru_liner_price {
	background-color: #348691;
}

.price_title {
	width: 369px;
	margin: auto;
	padding: 20px 0px;
}

.liner_price table,.liner_price td,.liner_price th {
	border: none;
	border-collapse: collapse;
	font-size: 18px;
	padding: 8px 0px;
	text-align: center;
}



.price_table {
	position: relative;
	width: 660px;
	margin: auto;
	height: 160px;
}

.liner_price {
	position: absolute;
	top: 20px;
	left: 70px;
	width: 460px;
	margin: auto;
}

.off_stecker {
	position: absolute;
	top:10px;
	right: 0px;
	float: left;
	width: 152px;
}

.w_k {
	width: 200px;
}

.deep_gry {
	background-color: #383838;
}

.red {
	background-color: #b90000;
	font-weight: bold;
}

.l_yellow {
	background-color: #ffffd6;
}

.tit_w {
	color: #fff;
	
}

.fb {
	font-weight: bold;
}

.price_attention {
	
	width: 650px;
	margin: auto;
	padding-top: 14px;
	color: #fff;
	line-height: 1.6em;
}

.price_attention li {
	font-size: 15px;
}

.etrybtns {
	padding: 30px 0px;
}

.entry_yanbaru_liner {
	float: left;
	padding-left: 20px;
}

.entry_yanbaru_liner p {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #fff;
}

.entry_link {
	padding-top: 10px;
	width: 455px;
}

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

	.yanbaru_liner_tit {
		width: 90%;
		margin: auto;
	}
	

.yanbaru_liner_links {
	width: 100%;
	padding-top: 30px;
	
}

.yanbaru_liner_links ul {
padding-left: 0;
	}

.yanbaru_liner_links li {
	width: 175px;
	padding-right: 10px;
	padding-bottom: 10px
}

.float {
	width: 90%;
	margin: auto;
	overflow: hidden;
}
	
.yanbaru_liner_point {
	background-image: url("../img/liner_point_sp_bg.png");
	margin-top: 40px;
    padding-bottom: 30px;
    background-position:top;
    width: 100%;
}
	
	
.liner_point_tit {
	display: none;	
	
}

.liner_point_tit_sp {
	display: block;
	width: 90%;
	margin: auto;
	padding-bottom: 20px;
}
	
.liner_point_img {
	display: none;
}

.liner_point_img_sp {
	display: block;
	width: 90%;
	margin: auto;
}
	
.liner_sdgs {
	width: 90%;
	margin: auto;
	padding-top: 20px;
}

.sdgs_logo {
	float: none;
	width: 299px;
	margin: auto;
	padding-bottom: 20px;
}

.liner_sdgs p {
	float: left;
	font-size: 13px;
	padding-left: 15px;
	width: 90%;
	line-height: 1.3em;
}
	
.liner_select {
	display: block;
	width: 90%;
	margin: auto;
	padding-bottom: 20px;
}
	
.liner_select li {
	float: left;
	width: 173px;
	padding-right: 10px;
}
	
.liner_map_tt {
    width: 370px;
    float: left;
    padding-left: 20px;
	margin-bottom: 30px;
}
	
	
.timetable table, td, th {
	border: 1px solid #000;
	border-collapse: collapse;
	font-size: 13px;
	padding: 5px 0px;
	
}
	
td.jousya {
	width: 250px;
}
	

td.w_s {
	width: 70px;
}
	
.busstop_link {
	width: 90%;
	padding: 10px 0px;
}
	
.price_title {
	width: 70%;
	margin: auto;
	padding: 20px 0px;
}

.liner_price table,.liner_price td,.liner_price th {
	border: none;
	border-collapse: collapse;
	font-size: 15px;
	padding: 8px 0px;
	text-align: center;
}
	
	
.price_table {
	position: relative;
	width: 90%;
	margin: auto;
	height: 160px;
}

.liner_price {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 80%;

}

.off_stecker {
	position: absolute;
	top:17px;
	right: 0px;
	float: left;
	width: 32%;
}
	
td.fb {
	font-size: 18px;
}
	
.w_k {
	width: 200px;
}
	
td.p_oc {
		font-size: 12px;
	}

	
.price_attention {
	font-size: 14px;
	width: 90%;
	margin: auto;
	padding-top: 14px;
	color: #fff;
}
	
.etrybtns {
	padding: 20px 0px;
	width: 90%;
	margin: auto;
}

.entry_yanbaru_liner {
	float: none;
	padding-left: 0px;
	padding-top: 30px;
}

.entry_yanbaru_liner p {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #fff;
}

.entry_link {
	padding-top: 10px;
	width: 100%;
}
	
}

@media screen and (max-width: 380px) {
	
.yanbaru_liner_links li {
    width: 163px;
    padding-right: 5px;
    padding-bottom: 10px;
}
	
.liner_select li {
    width: 157px;
}
	

.liner_map_tt {
    width: 330px;
	}

}


/*//////////////////// おすすめ観光スポット ////////////////////*/

#yanbaru_sightseeing_spot {
	background-image: url("../img/bg_yanbaru.gif");
	background-repeat: repeat;
	padding-bottom: 40px;
}

.sightseeing_spot_tit {
	display: block;
	width: 951px;
	margin: auto;
	padding-top: 30px;
	height: 150px;
	z-index: 3;
}

.sightseeing_spot_tit_sp {
	display: none;
}

.sightseeing_spot_tab {
	z-index: 5;
}

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 950px;
  margin: 0 auto;
	
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/2);
  height: 80px;
  border-bottom: 3px solid #547a3c;
  background-color: #547a3c;
  line-height: 80px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 20px 20px 0;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: #fff;
  color: #547a3c;
}

/*ポップアップタブ*/

/* ==========================
  モーダル（ポップアップ）
========================== */


#spot01 {
	background-image: url("../img/s_spot01_01.jpg");
	background-repeat: no-repeat;
}

#spot02 {
	background-image: url("../img/s_spot01_02.jpg");
	background-repeat: no-repeat;
}

#spot03 {
	background-image: url("../img/s_spot01_03.jpg");
	background-repeat: no-repeat;
}

#spot04 {
	background-image: url("../img/s_spot01_04.jpg");
	background-repeat: no-repeat;
}

#spot05 {
	background-image: url("../img/s_spot01_05.jpg");
	background-repeat: no-repeat;
}

#spot06 {
	background-image: url("../img/s_spot01_06.jpg");
	background-repeat: no-repeat;
}

#spot07 {
	background-image: url("../img/s_spot01_07.jpg");
	background-repeat: no-repeat;
}

#spot08 {
	background-image: url("../img/s_spot01_08.jpg");
	background-repeat: no-repeat;
}

#spot09 {
	background-image: url("../img/s_spot01_09.jpg");
	background-repeat: no-repeat;
}

#spot10 {
	background-image: url("../img/s_spot01_10.jpg");
	background-repeat: no-repeat;
}

#spot201 {
	background-image: url("../img/s_spot02_01.jpg");
	background-repeat: no-repeat;
}

#spot202 {
	background-image: url("../img/s_spot02_02.jpg");
	background-repeat: no-repeat;
}

#spot203 {
	background-image: url("../img/s_spot02_03.jpg");
	background-repeat: no-repeat;
}

#spot204 {
	background-image: url("../img/s_spot02_04.jpg");
	background-repeat: no-repeat;
}

#spot205 {
	background-image: url("../img/s_spot02_05.jpg");
	background-repeat: no-repeat;
}

#spot206 {
	background-image: url("../img/s_spot02_06.jpg");
	background-repeat: no-repeat;
}

#spot207 {
	background-image: url("../img/s_spot02_07.jpg");
	background-repeat: no-repeat;
}

#spot208{
	background-image: url("../img/s_spot02_08.jpg");
	background-repeat: no-repeat;
}

#spot209 {
	background-image: url("../img/s_spot02_09.jpg");
	background-repeat: no-repeat;
}

#spot210 {
	background-image: url("../img/s_spot02_10.jpg");
	background-repeat: no-repeat;
}

.spot_tit {
	background-color: #547a3c;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	padding: 15px;
}

.spot_img {
	width: 100%;
}

.js_modalCont p {
	font-size: 14px;
}

.js_modalBtnWrap {
  width: 168px;
	height: 168px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
	display: table;
	font-size: 15px;
}

.js_modalBtnCont {
  display: block;
  color: #fff;
  padding: 15px 5px;
  transition: 0.3s;
display: table-cell;
  vertical-align: middle;
}
.js_modalBtnCont:hover,
.js_modalBtnCont:focus {
  color: #fff;
	opacity: 0.5;
}
.js_modalWrap {
  opacity: 0;
  z-index: -1;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.js_modalWrap.active {
  animation: modalOpen 0.3s ease forwards;
}
.js_modalWrap.active2 {
  animation: modalClose 0.3s ease forwards;
}
.js_modalBG {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.js_modalContInner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 400px;
  max-width: 100%;
  background-color: #fff;
  max-height: 600px;
  padding: 40px;
}
.js_modalCont {
  overflow-y: scroll;
  max-height: 520px;
}
.js_modalCont > * + * {
  margin-top: 10px;
}
.js_modalContInner > .js_modalClose + * {
  margin-top: 0;
}
.js_modalClose {
  display: block;
  position: absolute;
  top: 10.5px;
  right: 10.5px;
  width: 20px;
  height: 20px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1001;
}
.js_modalClose::before,
.js_modalClose::after {
  content: "";
  background-color: #222;
  position: absolute;
  top: -5px;
  right: 10px;
  width: 1px;
  height: 30px;
}
.js_modalClose::before {
  transform: rotate(45deg);
}
.js_modalClose::after {
  transform: rotate(-45deg);
}
@keyframes modalOpen {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    z-index: 1000;
  }
}
@keyframes modalClose {
  0% {
    opacity: 1;
    z-index: 1000;
  }
  100% {
    opacity: 0;
  }
}

/* ==========================
  コンテンツの中身
========================== */
.ly_inner {
  width: 100%;
  max-width: 168px;
  margin: 7px 7px;
  background-color: #ccc;
	float: left;
}

.md_textblock > * + * {
  margin-top: 10px;
}
.md_textblock > * + .js_modalBtnWrap {
  margin-top: 20px;
}
table {
  width: 100%;
}
table th,
table td {
  border: 1px solid #222;
  padding: 10px;
}
table th {
  width: 20%;
  background-color: #ccc;
  white-space: nowrap;
}

.md_linkBtnCont {
  display: block;
  color: #222;
  border: 1px solid #222;
  padding: 15px 5px;
  transition: 0.3s;
}
.md_linkBtnCont:hover,
.md_linkBtnCont:focus {
  color: #fff;
  background-color: #222;
}

/* PC幅に適用 */
@media (min-width: 768px) {
  .hp_sp {
    display: none !important;
  }
}
/* スマホ幅に適用 */
@media (max-width: 767px) {
  .hp_pc {
    display: none !important;
  }
  .js_modalContInner {
    max-height: 400px;
    padding: 20px;
  }
  .js_modalCont {
    max-height: 400px;
  }
  .js_modalClose {
    top: -30px;
  }
  .js_modalClose::before,
  .js_modalClose::after {
    background-color: #fff;
  }
}


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


.sightseeing_spot_tit {
	display: none;
}

.sightseeing_spot_tit_sp {	
	display: block;
	width: 90%;
	margin: auto;
}
	
/*タブ切り替え全体のスタイル*/
.tabs {
  width: 100%;
  margin: 0 auto;
}
	
.tab_item {
  width: calc(100%/2);
  height: 80px;
  border-bottom: 3px solid #547a3c;
  background-color: #547a3c;
  line-height: 80px;
  font-size: 15px;
  text-align: center;
  color: #fff;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
	
/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 20px 20px 0;
  clear: both;
  overflow: hidden;
}

.js_modalContInner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  max-width: 70%;
  background-color: #fff;
  max-height: 700px;
  padding: 17px;
}
	
.spot_img {
	width: 100%;
}

}

@media screen and (max-width: 380px) {
	
.ly_inner {
  max-width: 150px;
}

	
}


/*//////////////////// 琉球バス交通 ////////////////////*/

#ryukyubus_kotsu {
	background-color: #fff;
}

.bus_shosai {
	width: 875px;
	margin: auto;
	padding: 20px 0px;
}

.ryukyubus_txt {
	padding-top: 15px;
	float: left;
	padding-right: 20px;
}

.ryukyubus_txt span {
	font-size: 20px;
	font-weight: bold;
}

.ryukyubus_txt p {
	font-size: 15px;
}

.rb_logo {
	width: 175px;
}

.ryukyubus_img {
	float: left;
}

@media screen and (max-width:560px) {
	
.bus_shosai {
	width: 90%;
	margin: auto;
}

	.ryukyubus_img {
	float: left;
		width: 100%;
		margin: auto;
}
	
}


/*//////////////////// 乗車地マップ ////////////////////*/

h1.busmap_tit {
	text-align: center;
	font-size: 25px;
	padding-bottom: 20px;
}

.busstop_sec {
	width: 750px;
	margin:10px auto;
	border-bottom: dotted 1px #ccc;
	padding-bottom: 30px;
	padding-top: 20px;
}

h2.busstop_name {
	background-image: url("../img/icon_bus.gif");
	background-repeat: no-repeat;
	padding-left: 23px;
	background-position:left 3px;
}

.btn_googlemap,.btn_busstop_photo {
	width: 235px;
	padding: 5px 0px;
}

.busstop_l {
	width: 300px;
	float: left;
}

.busstop_r {
	float: left;
}

.near_hotels {
	background-color: #E4E4E4;
	padding: 15px;
	float: left;
	width: 720px;
	margin-top: 20px;
}

.nh_tit {
	background-image: url("../img/icon_hotel.png");
	background-repeat: no-repeat;
	background-position: left 1px;
	color: #034990;
	font-size: 18px;
	font-weight: bold;
	padding-left: 30px;
}

.near_hotels p {
	font-size: 14px;
	padding-top: 10px;
	padding-bottom: 10px;
}

@media screen and (max-width:560px) {
	
h1.busmap_tit {
	text-align: center;
	font-size: 25px;
	padding-bottom: 0px;
}
	
	.busstop_sec {
	width: 90%;
	margin: auto;
}
	
.near_hotels {
	background-color: #E4E4E4;
	padding: 15px;
	float: left;
	width: 90%;
	margin:20px auto;
}
	
	.busstop_r {
		width: 300px;
		padding-top: 15px;
	}
	
}

/*////////////////////// ページTOP //////////////////////*/


#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size:15px;
	z-index: 100;
}
#page-top a {
	background:#9A6F0E;
	text-decoration: none;
	color: #fff;
	width: 100px;
	padding: 30px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
}
#page-top a:hover {
	text-decoration: none;
	background:#333;
}

@media screen and (max-width: 560px) {
	
	#page-top {
	position: fixed;
	bottom: 20px;
	right: 10px;
	font-size:13px;
}
#page-top a {
	background:#9A6F0E;
	text-decoration: none;
	color: #fff;
	width: 100px;
	padding: 20px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
}
#page-top a:hover {
	text-decoration: none;
	background:#333;
}
	
}


/* トップに戻る */
#page__top{
  width: 80px;
  height: 80px;
  margin: 0 20px 20px auto;
  background: #004678;
  opacity: 0.8;
  border-radius: 8px;
  z-index: 4;
}
#page__top a{
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  line-height: 1;
  text-decoration: none;
}
#page__top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 4rem;
  color: #fff;
  position: absolute;
  width: 40px;
  height: 40px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/* スマホ用 */
#nav-drawer {
  position: relative;
  text-align: right;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}




/* フッター */
#footer{
  background-color: #445289;
  padding: 40px 0;
}
#footer .footer__wrap{
  margin: 0 auto;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
	-ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

#footer .jigyou{
  margin: 0 auto;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
	-ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	color: #fff;
}

#footer p{
  padding-right: 20px;
  line-height: 1;
  font-size: 1.4rem;
  color: #fff;
}


.footer__nav{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
	-ms-flex-align: center;
  align-items: center;
}

.footer__nav li{
  margin-left: 10px;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
	-ms-flex-align: center;
  align-items: center;
}

.footer__nav li a{
  font-size: 1.4rem;
  color: #fff;
  line-height: 1;
}

.footer__nav li a:hover{
  text-decoration: underline;
}


@media screen and (max-width:960px) {
  #footer p{
    font-size: 1.2rem;
    padding-right: 0;
  }

  .footer__nav li a{
    font-size: 1.2rem;
  }
}

@media screen and (max-width:560px) {
  .footer__nav,
  .footer__wrap{
    -webkit-box-orient: vertical;
  	-webkit-box-direction: normal;
  	-ms-flex-direction: column;
  	flex-direction: column;
  }
  .footer__nav li{
    margin-bottom: 20px;
    margin-left: 0;
  }

  .footer__nav li:last-of-type{
    margin-bottom: 0;
  }

  #footer p{
    margin-bottom: 40px;
  }

}



br.sp{
  display: none;
}

@media screen and (max-width:560px) {
  br.sp{
    display: inline;
  }
}