﻿@charset "utf-8";

/* --------------------------------

SearchBox

-------------------------------- */
#searchBox_container {}

#searchBox {
  position: relative;
  width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

#searchBox aside {
  position: absolute;
  bottom: 195px;
  left: 0px;
}

.tab_wrap {
  width: 382px;
  height: auto;
  vertical-align: top;
}

.tab_wrap input[type="radio"] {
  display: none;
}

/* --------------------------------

Tab_area

-------------------------------- */
.tab_area {
  font-size: 0;
  margin: 0;
  display: table;
  width: 100%;
}

.tab_area label {
  display: table-cell;
  width: auto;
  margin: 0;
  padding: 0;
  background: #4A9CC7;
  cursor: pointer;
  color: #fff;
  transition: ease 0.2s opacity;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: none;
  text-align: center;
  vertical-align: middle;
  line-height: 1.15;
}

.tab_area label span {
  font-size: 18px;
  font-weight: 800;
}

.tab_area label:nth-of-type(2) {
  padding-left: 5px;
  padding-right: 5px;
  border-left: none;
  border-right: none;
}

.tab_area label:hover {
  opacity: 0.7;
}

/* Panel Area */
.panel_area {
  background: rgba(255, 255, 255, 0.7);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* Panel Area Title */
.panel_area .tab_ttl {
  font-size: 17px;
  line-height: 1;
  color: #3E3A39;
  font-weight: bold;
  font-weight: 800;
  padding-bottom: 3px;
}

.tab_panel {
  width: 100%;
  padding: 10px 25px 0;
  display: none;
  height: 345px;
}

.tab_panel p {
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
}

/*  */
#tab1:checked~.tab_area .tab1_label {
  background: rgba(255, 255, 255, 0.7);
  color: #4A9CC7;
  opacity: 1;
}

/* panel 1 background */
#tab1:checked~.panel_area #panel1 {
  display: block;
}

#tab2:checked~.tab_area .tab2_label {
  background: rgba(255, 255, 255, 0.7);
  color: #4A9CC7;
  opacity: 1;
}

/* panel 2 background */
#tab2:checked~.panel_area #panel2 {
  display: block;
}

#tab3:checked~.tab_area .tab3_label {
  background: rgba(255, 255, 255, 0.7);
  color: #4A9CC7;
  opacity: 1;
}

/* panel 3 background */
#tab3:checked~.panel_area #panel3 {
  position: relative;
  display: block;
}

/* panel 1 Form parts */
.panel_area #panel1 select,
.panel_area #panel2 select,
.panel_area #panel1 input[type=text],
.panel_area #panel2 input[type=text] {
  width: 100%;
  padding: 8px 10px;
  margin-top: 6px;
  margin-bottom: 10px;
  color: #999;
  font-weight: normal;
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
  background: #fff;
  border: 2px solid #aaa;
}

#search_departing_on{
    max-width:70%;
}

.panel_area #panel1 .tab_ttl {
    margin-top: 7px;
}

/* panel 2 Form parts */
.panel_area #panel2 figure {
  text-align: center;
}

.panel_area #panel2 figure img {
  text-align: center;
  height: 166px;
  width: 230px;
}

.panel_area #panel2 select {
  height: 47px;
  font-size: 80%;
}

/* search box */
.search_box {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  -webkit-flex-direction: row;
  flex-direction: row;
  justify-content: flex-start;
  align-content: stretch;
  margin-bottom: 10px;
}

.search_box select {
  width: 100%;
}

/* search_btn */
a.search_btn {
  display: block;
  width: auto;
  height: 44px;
  margin-top: 7px;
  margin-left: 15px;
  padding: 7px 12px;
  align-self: self-start;
  color: #fff;
  background: #3E3A39;
  text-align: center;
  -webkit-border-radius: 0.3em;
  -moz-border-radius: 0.3em;
  border-radius: 0.3em;
  border: 2px solid #3E3A39;
}

a.search_btn:hover {
  display: block;
  width: auto;
  color: #3E3A39;
  background: #fff;
  opacity: 1;
  border: 2px solid #555;
}

a.search_btn span {
  font-size: 17px;
  font-weight: bold;
  font-weight: 800;
}

/* Manage my booking / Suspension of Service */
ul.panel_outer_wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  justify-content: space-between;
  align-content: stretch;
  margin-top: 15px;
}

ul.panel_outer_wrap li {
  width: 100%;
}

ul.panel_outer_wrap li:nth-of-type(1) {
  margin-right: 6px;
}

ul.panel_outer_wrap li:nth-of-type(2) {
  margin-left: 6px;
}

/* view_all_routes_btn */
a.view_all_routes_btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  font-size: 20px;
  color: #FF5000;
  text-align: center;
  -webkit-border-radius: 0.3em;
  -moz-border-radius: 0.3em;
  border-radius: 0.3em;
  background: #fff;
  border: 2px solid #FF5000;
}

a.view_all_routes_btn:hover {
  display: block;
  width: 100%;
  color: #fff;
  background: #FF5000;
  opacity: 1;
}

a.view_all_routes_btn span {
  margin-left: 15px;
  margin-right: 15px;
  font-size: 18px;
  font-weight: bold;
  font-weight: 800;
}

/* map */
#map .allRoutes a.view_all_routes_btn {
  border: 3px solid #FF5000;
}

#map .allRoutes a.view_all_routes_btn span {
  font-size: 24px;
}

/* view_all_routes_btn */
a.blueColor_btn,
a.orangeColor_btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  line-height: 1.25;
  -webkit-border-radius: 0.4em;
  -moz-border-radius: 0.4em;
  border-radius: 0.4em;
}

a.blueColor_btn {
  color: #fff;
  background: #4A9CC7;
  border: 2px solid #4A9CC7;
}

a.orangeColor_btn {
  color: #fff;
  background: #FF5000;
  border: 2px solid #FF5000;
}

a.blueColor_btn:hover,
a.orangeColor_btn:hover {
  display: block;
  width: 100%;
  color: #fff;
  background: #FF5000;
  opacity: 1;
}

a.blueColor_btn:hover {
  color: #4A9CC7;
  background: #fff;
  border: 2px solid #4A9CC7;
}

a.orangeColor_btn:hover {
  color: #FF5000;
  background: #fff;
  border: 2px solid #FF5000;
}

a.blueColor_btn span,
a.orangeColor_btn span {
  font-size: 18px;
  font-weight: bold;
  font-weight: 800;
}

/* tab3 / Panel3 */
#tab3:checked~.panel_area #panel3 {
  padding: 10px 25px 0 0;
}

#panel3 .panel_inner {
  width: 100%;
  padding-left: 25px;
}

#panel3_menu {
  list-style-type: none;
  width: 764px;
  margin: 0 auto 259px;
  padding: 0;
}

#panel3_menu li {
  position: relative;
  width: 382px;
  float: left;
  margin: 0;
  padding: 0;
}

#panel3_menu li a {
  display: block;
  margin: 0;
  padding: 12px 0 12px 35px;
  color: #4A9CC7;
  font-size: 17px;
  font-weight: bold;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.panel3_menu li label {
  padding: 12px 0 12px 35px;
  color: #4A9CC7;
  font-size: 17px;
  font-weight: bold;
  font-weight: 800;
  line-height: 1;
}

#panel3_menu li ul {
  list-style: none;
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

#panel3_menu ul.firstList>li {
  overflow: visible;
  height: auto;
}

#panel3_menu li ul li {
  overflow: hidden;
  width: 100%;
  height: 0;
  color: #fff;
  transition: .2s;
}

.panel3_menu ul li ul li a {
  overflow: hidden;
  width: 100%;
  /*height: 0;
    color: #fff;
    transition: .2s;*/
  display: block;
  margin: 0;
  padding: 12px 0 12px 35px;
  color: #4A9CC7;
  font-size: 17px;
  font-weight: normal;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

#panel3_menu>li:hover>a {
  background: #4A9CC7;
}

#panel3_menu>li:hover li:hover>a {
  background: #4A9CC7;
  color: #fff;
  opacity: 1;
}

#panel3_menu>li:hover>ul>li {
  overflow: visible;
}

#panel3_menu li ul li ul {
  top: 0;
  left: 100%;
  width: 80%;
}

#panel3_menu li:last-child ul li ul {
  /* left: -100%; */
  width: 100%;
}

#panel3_menu li ul li:after,
#panel3_menu li ul li:hover>ul>li:after {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 0;
  height: 0;
  color: #4A9CC7;
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-weight: bold;
}

.panel3_menu ul li ul li label:after,
.panel3_menu ul li ul li:hover>ul>li:after {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 0;
  height: 0;
  color: #4A9CC7;
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-weight: bold;
}

.cd-accordion__label_parent::after {
  position: absolute;
  top: 10px;
  right: 30px;
  width: 0;
  height: 0;
  color: #4A9CC7;
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  -webkit-font-smoothing: antialiased;
}

#panel3_menu li ul li:hover:after {
  color: #fff;
}

#panel3_menu li ul.firstList>li:nth-of-type(1):hover:after {
  top: 10px;
  right: 30px;
}

#panel3_menu li ul li:hover>ul>li {
  overflow: visible;
  height: 41px;
}

#panel3_menu li ul li:hover>ul>li:hover:after {
  color: #fff;
}

#panel3_menu li ul li ul li a {
  height: 41px;
  color: #fff;
  background: #4A9CC7;
  font-weight: normal;
}

#panel3_menu li ul li ul li:nth-of-type(1) a {
  border-top: none;
}

#panel3_menu li:hover ul li ul li a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #4A9CC7;
}

#panel3_menu li ul li:hover>ul.select_area>li:after {
  content: none;
}

/* --------------------------------

SP

-------------------------------- */
@media screen and (max-width: 896px) {
  #searchBox {
    position: static;
    width: 100%;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }

  #searchBox aside {
    position: static;
    bottom: 0;
    left: 0;
  }

  .tab_wrap {
    width: 100%;
    height: auto;
    vertical-align: top;
  }

  .tab_area {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    border: 6px solid #499cc7;
    border-bottom: none;
  }

  .panel_area {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background: rgba(255, 255, 255, 1);
    border: 6px solid #499cc7;
    border-top: none;
    margin-bottom: 30px;
  }

  /* Panel Area Title */
  .tab_panel {
    width: 100%;
    padding: 15px 15px 20px;
    display: none;
    height: auto;
  }

  .tab_area label {
    width: 100%;
    padding: 10px 0 5px 0;
    font-size: 18px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    height: 60px;
    border: none;
    border-bottom: none;
  }

  .tab_area label:nth-of-type(2) {
    border-left: 1px solid rgba(255, 255, 255, 1);
    border-right: 1px solid rgba(255, 255, 255, 1);
  }

  /*  */
  #tab1:checked~.tab_area .tab1_label {
    background: rgba(255, 255, 255, 1);
  }

  /* panel 1 background */
  #tab1:checked~.panel_area #panel1 {}

  #tab2:checked~.tab_area .tab2_label {
    background: rgba(255, 255, 255, 1);
  }

  /* panel 2 background */
  #tab2:checked~.panel_area #panel2 {}

  #tab3:checked~.tab_area .tab3_label {
    background: rgba(255, 255, 255, 1);
  }

  /* panel 3 background */
  #tab3:checked~.panel_area #panel3 {}

  /* panel 1 Form parts */
  .search_box {
    -webkit-flex-direction: column;
    flex-direction: column;
    margin-bottom: 25px;
  }

  #search_departing_on {
    max-width: 100%;
  }

  a.search_btn {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
  }

  a.search_btn:hover {
    width: 100%;
    margin-left: 0;
  }

  /* panel 2*/
  #panel2 ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #panel2 ul li {
    width: 100%;
    padding-bottom: 20px;
    text-align: center;
  }

  #panel2 ul li a {
    width: 100%;
    display: table;
    color: #4A9CC7;
    background: #fff;
    border: 2px solid #4A9CC7;
    line-height: 1;
    -webkit-border-radius: 0.2em;
    -moz-border-radius: 0.2em;
    border-radius: 0.2em;
  }

  #panel2 ul li a:hover {
    color: #fff;
    background: #4A9CC7;
    border: 2px solid #4A9CC7;
  }

  #panel2 ul li a span {
    width: 100%;
    display: table-cell;
    height: 54px;
    vertical-align: middle;
  }

  #panel2 ul li:nth-of-type(2) {
    margin-right: 20px;
    margin-left: 20px;
  }

  /* Manage my booking / Suspension of Service */
  ul.panel_outer_wrap {
    width: 94%;
    margin: 0 3%;
  }

  /* tab3 / Panel3 */
  #tab3:checked~.panel_area #panel3 {
    padding: 0;
  }

  #panel3 .panel_inner {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #panel3_menu {
    list-style-type: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  #panel3_menu li {
    position: relative;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
  }

  #panel3_menu li ul {
    position: static;
  }

  #panel3_menu>li:nth-of-type(2):after {
    display: none;
  }

  #panel3_menu>li:nth-of-type(1)>ul>li:last-of-type:after {
    content: "\f078";
  }

  /* */
  #map .allRoutes a.view_all_routes_btn {
    border: 2px solid #FF5000;
  }

  #map .allRoutes a.view_all_routes_btn span {
    font-size: 18px;
  }

  #map .col2 ul {
    flex-basis: auto;
  }

  #panel3_menu li ul li ul {
    width: 100%;
  }
}

/* end SP */