@charset "utf-8";
/*++++++++++++++
アクセス
++++++++++++++*/
*{
    box-sizing:border-box;
}

section#access {
    display: block;
    overflow: hidden;
    clear: both;
    padding: 150px 0 0 0;
}

section#access h5 {
    position: relative;
    padding: 0;
    color: #397ca9;
}

section#access h5:before {
    content: "";
    padding: 0;
}

section#access iframe {
	width: 100%;
	height: 500px;
}

section#access .accessbox{
	padding: 0;
}

section#access .accessbox .telbox {
	display: flex;
	justify-content: center;
	max-width: 1000px;
	margin: 0 auto 50px;
}

section#access .accessbox .telbox > div {
    padding: 0 20px;
    border-right: 1px solid rgba(204,204,204,0.5);
    width: 50%;
}

section#access .accessbox .telbox > div:last-child {
    border-right: none;
}

section#access .accessbox .telbox .tel {
    text-align: center;
    margin-left: auto;
    display: block;
}

.tabbox .tab-category {
	max-width: 1200px;
	margin:auto;
	display: flex;
}

.tabbox .tab-category a {
	padding: 30px;
	width: 32.5%;
	font-size: 1em;
	margin: 0;
	box-sizing: border-box;
	/* background: #fff; */
	transition: .3s;
	position:relative;
	text-align: center;
}

.tabbox.a-link {
	background: #f7f7f7;
}

.tabbox .tab-category a:hover {
    background: #f7f7f7;
}

.tabbox .tab-category a:before {
	content: "";
	display: inline-block;
	border: 0.3rem solid transparent;
	border-left: 0.3rem solid #111;
	margin-right: 0.5rem;
}

.tabbox .tab-category a:last-child {
	margin: 0;
}



/*article*/
section#access article {margin: -100px 0 100px;padding: 150px 0 0;}
article .box {
	background: #f7f7f7;
	padding: 40px;
	box-sizing: border-box;
}

article .box ul{
	display: flex;
}

article .box li{
	width: 100%;
	margin: 0 30px 0 0;
	box-sizing: border-box;
}

article .box li:last-child {
	margin:0;
}

article .box .tab li{
	margin: 0 30px 0 0;
	margin: 0;
	width: 19%;
}

article .box .tab li:last-child{
	margin:0;
}

.tab ul li a{
    cursor: pointer;
    text-align: center;
    border-bottom: 0;
    position: relative;
    background-color: #efefef;
    border: 1px solid #efefef;
    -webkit-transition: all .5s;
    transition: all .5s;
    letter-spacing: .1em;
    line-height: 1.25;
    padding: 18px 5px;
    font-size: 1em;
    /* border-bottom: none; */
}


.tab ul li.active a,.tab ul li a:hover {
    border: 1px solid #d6d6d6;
    background: #f7f7f7;
}

.tab ul li.active a {
    cursor: default;
}

.tab ul {
    border-bottom: 1px solid #d6d6d6;
}

.tab ul li a:after {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #f7f7f7;
    left: 0;
    z-index: 1;
    opacity:0;
    transition:0.3s;
}

.tab ul li a:hover:after,.tab ul li.active a:after {
    opacity:1;
}

.tab ul li a {
    display: block;
}

#access table {
    background: #fff;
    font-size: 0.95em;
    width: 100%;
    text-align: left;
    /* margin: 0 0 10px; */
    border: none;
}

.access tr {
    border-bottom: 1px solid #bb9957;
}

#access th {
    padding: 13px 20px;
    border-right: 1px solid rgba(204,204,204,0.5);
    background: #5a5a5a;
    color: #fff;
    /* text-align: center; */
    box-sizing: border-box;
    border-bottom: 1px solid rgba(204,204,204,0.5);
    border-top: 1px solid rgba(204,204,204,0.5);
}

#access th:last-child,#access td:last-child  {
	border-right: none;
}

#access td {
	padding: 13px 20px;
	box-sizing: border-box;
	border-right: 1px solid rgba(204,204,204,0.5);
	border-bottom: 1px solid rgba(204,204,204,0.5);
}

.route {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
}

span.route-box,span.pk {
    width: 138px;
    background: #5a5a5a;
    text-align: center;
    padding: 25px 0;
    color: #fff;
}

.route * {
    box-sizing: border-box;
}

.route-time * {
    display: block;
    text-align: center;
    padding: 8px 0;
}

.route-time span {
    border-bottom: 1px solid;
}



span.pk {
    padding: 25px 10px;
    background: linear-gradient(to bottom, #365598, #5eacca);
}

.route-time {
    width: 18.5%;
}

.route-time.only{
    width: 78%;
}

.route-time.second {
    width: 33%;
}

.route-time.four {
    width: 11%;
}


.route-content,.nagasaki-r {
    background: #fff;
    padding: 40px 40px;
}

span.during p {
    font-weight: 400;
    font-size: 0.9em;
}

.ferry {
    padding: 20px;
    background: #fff;
}

a.tel em {
    margin: 0 5px -3px 0;
    font-size: 0.7em;
}

@media screen and (max-width: 1299px) {
/*++++++++++++++
アクセス
++++++++++++++*/

section#access iframe {
	height: 400px;
}

section#access .accessbox{
	padding: 0;
}

section#access .accessbox .telbox {
	max-width: 100%;
}
}

@media screen and (max-width: 1023px) {
/*++++++++++++++
アクセス
++++++++++++++*/
article .box {
	padding: 20px;
}
article .tab ul {
	display: flex !important;
}
article .box ul {
    display: block;
}
.tab ul li a {
	font-size: 0.8em;
}	

article .tel {
	text-align:left;
}

.route {
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 50px 30px;
    margin: 0;
}

span.route-box,span.pk {
    width: 100%;
    display: block;
    padding: 20px;
}

.route * {
    box-sizing: border-box;
}

.route-time * {
    display: flex;
    text-align: center;
    padding: 8px 0;
    align-items: center;
}

.route-time span {
    border-bottom: none;
    padding: 0 10px;
}



span.pk img {width: 150px;}

.route-time {
    width: auto;
    position: relative;
    display: flex;
    justify-content: left;
    margin: auto;
    padding: 10px 0 10px 90px;
}
.route-time:before {
	content:"";
	background: #111;
	width: 1px;
	height: 100%;
	position: absolute;
	left: 10%;
	margin: auto;
	top: 0;
}	

.route-time.only{
    width: auto;
}

.route-time.second {
    width: auto;
}

.route-time.four {
    width: auto;
}


.route-content,.nagasaki-r {padding: 0;}

span.during p {
    font-weight: 400;
    font-size: 0.9em;
}

.ferry {
    padding: 20px;
    background: #fff;
}

}

@media screen and (max-width: 767px) {
/*++++++++++++++
アクセス
++++++++++++++*/
section#access {
padding: 50px 0;
}

section#access .accessbox{
	padding: 0;
}
section#access .accessbox .telbox > div {
	width: auto;
	border-right: none;
	border-bottom: 1px solid rgba(204,204,204,0.5);
	padding: 0 0 20px;
	margin: 0 0 20px;
}
section#access .accessbox .telbox > div:last-child {
	border:none;
}	
section#access .accessbox .telbox {display: block;margin: 0 auto;}
section#access .accessbox .telbox .tel {
	margin: 0 0 30px;
}

.tabbox .tab-category {
	max-width: 100%;
	flex-wrap: wrap;
	padding: 15px;
}	
.tabbox .tab-category a {
	width: 48%;
	display: block;
	font-size: 0.9em;
	padding: 10px;
}
	
/*article*/

section#access article .title {
	max-width: 90%;
	margin: 0 auto 20px;
}
article .box li{
	width: 100%;
	margin: 0 30px 0 0;
	box-sizing: border-box;
}

article .box li:last-child {
	margin:0;
}

article .box li{
	margin: 0 30px 0 0;
}


	
}

@media screen and (max-width: 480px) {
/*++++++++++++++
アクセス
++++++++++++++*/
section#access .tel span {
	text-align: center !important;
}
section#access iframe {height: 250px;}

section#access .accessbox{
	padding: 0;
}

section#access .accessbox .telbox .tel {
    text-align: center;
    margin: 0;
}


/*article*/
section#access article {margin: -100px 0 100px;padding: 150px 0 0;}

section#access article .inner {
	max-width:100%;
}

section#access article .inner h3 {
	padding:0 20px;
}
article .box li{
	width: 100%;
	margin: 0 30px 0 0;
	box-sizing: border-box;
}

article .box li:last-child {
	margin:0;
}

article .box li{
	margin: 0 0 30px;
}
}