@charset "utf-8";

/* ===================================================================
   五島汽船株式会社 - Main Stylesheet
   Based on original site design from goto-kisen.net
   =================================================================== */

/* --- Base Typography & Body --- */
html, body {
  -webkit-text-size-adjust: 100%;
  position: relative;
  font-size: 14px;
  min-height: 100%;
  height: 100%;
}

#wrapper {
  min-height: 100%;
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Meiryo', 'Hiragino Kaku Gothic Pro', 'Gothic', 'MS Gothic', 'MS PGothic', sans-serif;
  position: relative;
  color: #333;
}

/* --- Layout Container --- */
.center-area {
  width: 1020px;
  margin: 0 auto;
  position: relative;
  line-height: 1.6;
}

/* ===================================================================
   HEADER
   =================================================================== */
#top-area {
  z-index: 10;
  position: relative;
  color: #fff;
}

#top-area a:link,
#top-area a:visited { color: #fff; }
#top-area a:hover,
#top-area a:active { color: #d3e1fa; }

/* Header background with ship image */
.header-wrap {
  min-width: 1020px;
  background-color: #fff;
  background-image: url('../images/header/back.jpg');
  background-repeat: no-repeat;
  background-position: 49.999% top;
  background-size: 2000px 867px;
  padding-bottom: 82px;
  position:relative;
}
.header-wrap::after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:50px;
  z-index:3;
  background:linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0.5));
}

.header-parts {
  font-size: 12px;
  background-image: url('../images/header/header_bg.png');
  background-repeat: no-repeat;
  background-position: 49.999% top;
  background-size: 2000px 137px;
  height: 137px;
}

#header {
  background-image: url('../images/header/header.png');
  background-repeat: no-repeat;
  background-position: 49.999% top;
  width: 1020px;
  height: 137px;
  background-size: 1020px 137px;
  position: relative;
}

/* H1 SEO Title (small text at top) */
.h1-title {
  position: absolute;
  top: 13px;
  left: 0;
  font-weight: normal;
  font-size: 12px;
  z-index: 1;
}

/* Logo */
.logo {
  position: absolute;
  top: 55px;
  left: 24px;
  z-index: 8;
}

.logo a {
  text-decoration: none;
  display: block;
}

.logo-text {
  font-size: 240%;
  font-weight: bold;
  font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Phone Numbers */
.header-phone {
  position: absolute;
  z-index: 4;
}

.header-phone-goto {
  top: 57px;
  left: 755px;
}

.header-phone-nagasaki {
  top: 87px;
  left: 755px;
}

.header-phone span {
  font-family: 'Verdana', sans-serif;
  font-weight: bold;
  color: #fff;
}

.header-phone .label {
  font-size: 15px;
}

.header-phone .number {
  font-size: 22px;
}

/* Reservation Icon */
.header-reservation {
  position: absolute;
  top: 75px;
  left: 670px;
  z-index: 2;
  width: 70px;
  height: 42px;
}

.header-reservation img {
  width: 100%;
  height: 100%;
}

/* Font Size Buttons */
.font-size-area {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 5;
  color: #fff;
  font-size: 12px;
}

.font-size-area span {
  color: #fff;
}

.font-size-btns .font-btn {
  display: inline-block;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  font-size: 12px;
  border-radius: 2px;
  cursor: pointer;
  color: #fff;
  background-color: #1045a7;
  margin-left: 2px;
}

.font-size-btns .font-btn:hover,
.font-size-btns .font-btn.active {
  background-color: #fff;
  color: #1045a7;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.menu-parts {
  position: relative;
  z-index: 20;
}

.menu-parts .parts-bg {
  background-image: url('../images/header/h_menu_bg.jpg');
  background-repeat: no-repeat;
  background-position: 49.999% top;
  background-size: 2000px auto;
}

.nav-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom:20px;
}

.nav-bar > li {
  position: relative;
  flex: 1;
  text-align: center;
}

.nav-bar > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
  height: 100%;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.nav-bar > li:first-child > a {
  border-left: 1px solid rgba(255,255,255,0.2);
}

.nav-bar > li > a:hover {
  background-color: rgba(255,255,255,0.15);
}

/* Dropdown submenu */
.nav-bar > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(16, 69, 167, 0.95);
  z-index: 30;
  padding: 0;
  list-style: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.nav-bar > li:hover > ul,
.nav-bar > li > a:focus + ul {
  display: block;
}

.nav-bar > li > ul > li > a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: background-color 0.2s ease;
}

.nav-bar > li > ul > li > a:hover {
  background-color: rgba(255,255,255,0.15);
}

.menu-bottom {
  width: 100%;
  height: 30px;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(to bottom, rgb(44,111,202,0.4), transparent);
}

/* ===================================================================
   MAIN VISUAL (slider-container)
   =================================================================== */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2px 0 0;
}

.slider-wrap {
  position: relative;
  width: 100%;
}

.slider-slide {
  width: 100%;
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================================================
   MIDDLE AREA (Main Content)
   =================================================================== */
#middle-area {
  z-index: 5;
  background: url("../img/content/middle_bg.png");
  background-position: center;
  background-repeat: repeat-y;
  background-size: 100%;
}

#middle-area .center-area {
  padding: 40px 0;
}

/* Two-column layout (subpages) */
.two-column .center-area {
  display: flex;
}

.side-area {
  width: 230px;
  margin-left: 30px;
  float: left;
  text-align: left;
  flex-shrink: 0;
}

.main-area {
  width: 700px;
  margin-left: 30px;
  float: left;
  text-align: left;
  flex-grow: 1;
}

/* One-column layout (top page) */
.one-column .center-area {
  max-width: 1020px;
}

.one-column .main-area {
  width: 870px;
  margin:0 auto;
  float: none;
}

/* ===================================================================
   PAGE / BLOCK TITLES
   =================================================================== */
.page-title {
  width: auto;
  padding: 0;
  font-size: 36px;
  font-weight: bold;
  position: relative;
  margin-bottom: 15px;
  background: none;
  color: #333;
}

.page-title:before {
  content: none;
}

.block-title {
  width: 100%;
  height: 57px;
  line-height: 57px;
  padding: 0 15px 0 35px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  margin-bottom: 20px;
  background-image: url('../images/content/b_title.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 57px;
  color: #444;
  box-sizing: border-box;
}

.block-title:before {
  content: none;
}

.record-title {
  width: auto;
  padding: 13px 2px 10px;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  margin-bottom: 15px;
  color: #333;
  background:#bbdcf0;
  border-radius:4px;
}

/* ===================================================================
   CONTENT STYLES
   =================================================================== */
.content-text {
  padding: 15px 0;
  line-height: 1.8;
}

.content-text p {
  margin-bottom: 1em;
}

.content-text a {
  color: #1a6ab5;
  text-decoration: underline;
}

.content-text a:hover {
  color: #0d4d8a;
}

/* Announcement banner */
.announcement-banner {
  text-align: center;
  padding: 20px 0;
  font-size: 200%;
  font-weight: bold;
  color: #1a6ab5;
  line-height: 1.4;
}

/* Company introduction text */
.company-intro {
  text-align: center;
  padding: 15px 0;
  font-size: 100%;
  line-height: 1.8;
}

/* Boarding rules section */
.boarding-rules {
  margin: 35px 0 25px;
  padding: 0;
  background: none;
  border: none;
}

.boarding-rules .record-title {
  width: 100%;
  height: 43px;
  line-height: 43px;
  padding: 0 15px;
  font-size: 15px;
  font-weight: bold;
  color: #444;
  background-image: url('../images/content/midashi1.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 43px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.boarding-rules-content {
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  padding: 0 2px;
}

.boarding-rules-content p {
  margin-bottom: 14px;
}

.boarding-rules-content .rules-bold {
  font-weight: bold;
  margin-bottom: 14px;
}

.boarding-rules-content .rules-desc {
  margin-bottom: 14px;
}

.boarding-rules-content .rules-items {
  margin-bottom: 14px;
  line-height: 1.9;
}

.boarding-rules-content .rules-pdf {
  margin-bottom: 0;
}

.boarding-rules-content .pdf-link {
  color: #0b5394;
  text-decoration: none;
  font-weight: normal;
  display: inline-block;
}

.boarding-rules-content .pdf-link:hover {
  text-decoration: underline;
}

.boarding-rules-content .pdf-link::after {
  content: " 📎";
  font-size: 14px;
  text-decoration: none;
  display: inline;
}

/* ===================================================================
   RESERVATION SECTION
   =================================================================== */
.reservation-section {
  margin: 35px 0 25px;
  color: #333;
}

.reservation-banner {
  text-align: center;
  margin-bottom: 25px;
}

.reservation-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.reservation-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.reservation-info-col {
  flex: 1;
  max-width: 630px;
  font-size: 14px;
  line-height: 1.6;
}

.reservation-photo-col {
  width: 220px;
  flex-shrink: 0;
  text-align: right;
  margin-top: 10px;
}

.reservation-photo-col img {
  width: 220px;
  height: auto;
  display: block;
}

.reservation-hours-title {
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
}

.reservation-dep-notice {
  font-size: 14px;
  margin-bottom: 12px;
}

/* Reservation Table */
.reservation-table {
  width: 500px;
  max-width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin: 12px 0 16px;
  background-color: #fff;
}

.reservation-table td {
  border: 1px solid #ddd;
  padding: 4px 8px;
  vertical-align: middle;
  font-size: 14px;
}

.reservation-table .table-header {
  background-color: #66ff33;
  text-align: center;
  padding: 6px 10px;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}

.reservation-table .table-header strong {
  font-size: 16px;
}

.reservation-table .port-name-cell {
  width: 90px;
  text-align: center;
  font-weight: normal;
  background-color: #fff;
}

.reservation-table .day-cell {
  width: 230px;
}

.reservation-table .time-cell {
  width: 180px;
  font-weight: bold;
  font-family: 'Verdana', sans-serif;
  letter-spacing: 0.5px;
}

/* Divider */
.reservation-divider {
  border: none;
  border-top: 1px solid #ccc;
  height: 1px;
  margin: 16px 0;
  width: 100%;
}

/* Contact Rows */
.reservation-contacts {
  font-size: 18px;
  line-height: 1.8;
  margin: 8px 0;
}

.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 25px;
  margin-bottom: 4px;
}

.contact-row .port-addr {
  font-size: 18px;
  font-weight: bold;
  min-width: 250px;
  color: #333;
}

.contact-row .port-phone {
  font-size: 26px;
  font-family: 'Tahoma', 'Verdana', sans-serif;
  font-weight: bold;
  color: #333;
}

.contact-row .tel-prefix {
  font-size: 16px;
  margin-right: 2px;
}

/* Notices */
.reservation-notices {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.8;
  color: #333;
}

.reservation-notices p {
  margin: 4px 0;
}

/* ===================================================================
   NEWS / ANNOUNCEMENTS LIST
   =================================================================== */
.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list .news-icon {
  color: #1a6ab5;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.news-list .news-date {
  font-size: 90%;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-list .news-title {
  flex-grow: 1;
}

.news-list .news-title a {
  color: #1a6ab5;
  text-decoration: none;
}

.news-list .news-title a:hover {
  text-decoration: underline;
}

/* ===================================================================
   CARD LINKS (運航・料金表 / 乗り場案内)
   =================================================================== */
.card-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 40px 0;
}

.card-link {
  display: block;
  width: 48%;
  max-width: 340px;
  background: #fff;
  border: 2px solid #c0d8f0;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.card-link:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.card-link img {
  width: 100%;
  height: auto;
  display: block;
}

.card-link-text {
  padding: 12px 15px;
  text-align: center;
  color: #1a6ab5;
  font-size: 120%;
  font-weight: bold;
}

.card-link-text .fa {
  margin-right: 8px;
}

.card-link-sub {
  font-size: 70%;
  font-weight: normal;
  color: #666;
  display: block;
  margin-top: 3px;
  letter-spacing: 2px;
}

/* ===================================================================
   TABLES (Price tables etc.)
   =================================================================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #000;
  margin-bottom: 20px;
}

.data-table th,
.data-table td {
  padding: 10px;
  border: 1px solid #000;
  text-align: center;
  font-family: 'Meiryo', sans-serif;
}

.data-table th {
  background-color: #9fc5e8;
  font-weight: bold;
  font-size: 110%;
}

.data-table .table-header-wide {
  background-color: #c1e4ff;
}

.data-table .table-warning {
  background-color: #ff0;
  font-weight: bold;
}

.data-table .table-subheader {
  background-color: #99ddff;
}

.data-table .table-category {
  background-color: #9fc5e8;
  font-weight: bold;
}

.data-table td.text-right {
  text-align: right;
}

/* Company Overview Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #333;
  margin-bottom: 30px;
  background-color: #fff;
}

.company-table th,
.company-table td {
  border: 1px solid #333;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.7;
  background-color: #fff;
  color: #333;
}

.company-table th {
  width: 130px;
  white-space: nowrap;
}

.access-info {
  margin: 15px 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.map-container {
  width: 100%;
  margin-top: 10px;
  border: 1px solid #ccc;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 480px;
}

.data-table td.text-center {
  text-align: center;
}

.data-table .schedule-header {
  background-color: #cfe2f3;
}

.data-table .time-red {
  color: #f00;
}

/* ===================================================================
   ACCESS GUIDE (Route Steps & Legend)
   =================================================================== */
.access-notice-bar {
  background-color: #d4e9f7;
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  border-radius: 2px;
}

.access-legend {
  font-size: 13.5px;
  margin-bottom: 15px;
  line-height: 1.8;
}

.access-legend p {
  margin-bottom: 4px;
}

.access-legend .bullet-pink {
  color: #e91e63;
  margin-right: 4px;
}

.access-legend .bullet-blue {
  color: #00bcd4;
  margin-right: 4px;
}

.access-section-title {
  background-color: #d4e9f7;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  color: #222;
  margin: 25px 0 15px;
  border-radius: 2px;
}

.access-step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.access-step-img {
  width: 280px;
  flex-shrink: 0;
  border: 1px solid #ddd;
}

.access-step-img img {
  width: 100%;
  height: auto;
  display: block;
}

.access-step-text {
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  padding-top: 5px;
}

/* ===================================================================
   PDF DOCUMENT LIST
   =================================================================== */
.pdf-doc-list {
  margin: 20px 0 30px;
}

.pdf-doc-item {
  border-bottom: 1px dotted #bbb;
  padding: 16px 0;
}

.pdf-doc-item:first-child {
  padding-top: 5px;
}

.pdf-doc-item a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #1a6ab5;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.pdf-doc-item a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.pdf-doc-item .pdf-icon {
  width: 32px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.pdf-doc-item .pdf-name {
  color: #1a6ab5;
}

/* ===================================================================
   FLEET (Ships, Special Vehicles, Forklifts)
   =================================================================== */
.fleet-type-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 15px 0 10px;
}

.fleet-specs-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  margin: 15px 0 20px;
  font-size: 14px;
}

.fleet-specs-table th,
.fleet-specs-table td {
  padding: 10px 14px;
  text-align: left;
  border: none;
  vertical-align: top;
}

.fleet-specs-table tr:nth-child(even) {
  background-color: whitesmoke;
}

.fleet-specs-table th {
  width: 110px;
  font-weight: normal;
  color: #333;
  background-color: transparent;
}

.fleet-specs-table td {
  color: #333;
}

.fleet-gallery {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.fleet-gallery-item {
  flex: 1;
}

.fleet-gallery-item a {
  display: block;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 2px;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.fleet-gallery-item a:hover {
  opacity: 0.9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.fleet-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.fleet-gallery-caption {
  font-size: 13.5px;
  color: #333;
  margin-top: 6px;
  text-align: left;
}

.forklift-table {
  width: 340px;
  max-width: 100%;
  border-collapse: collapse;
  margin: 15px 0 20px;
  border: 1px solid #ddd;
}

.forklift-table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.forklift-table td:nth-child(even) {
  text-align: right;
  width: 55px;
}

.forklift-table td:nth-child(odd) {
  width: 110px;
}

.fleet-subpage-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #5c9c48;
  color: #fff;
  padding: 8px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.fleet-subpage-btn:hover {
  background-color: #4e863d;
  color: #fff;
  text-decoration: none;
}

/* Kyotoku vehicles gallery & table */
.kyotoku-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0 30px;
}

.kyotoku-gallery-item a {
  display: block;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 2px;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.kyotoku-gallery-item a:hover {
  opacity: 0.9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.kyotoku-gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.other-vehicles-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  margin: 15px 0 30px;
  border: 1px solid #ccc;
}

.other-vehicles-table td {
  padding: 8px 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}

.other-vehicles-table td:nth-child(1) {
  width: 150px;
}

.other-vehicles-table td:nth-child(2) {
  width: 150px;
}

.other-vehicles-table td:nth-child(3) {
  width: 180px;
}

/* ===================================================================
   CONTACT BRANCH NAVIGATION CARDS
   =================================================================== */
.contact-notice-list {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin: 15px 0 25px;
}

.contact-notice-list p {
  margin-bottom: 8px;
}

.contact-tel-sub {
  margin-top: 4px;
  padding-left: 18px;
}

.contact-branch-links {
  display: flex;
  gap: 25px;
  margin: 25px 0 35px;
}

.contact-branch-card {
  flex: 1;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.contact-branch-card.card-nagasaki .branch-card-header {
  background-color: #3898d9;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 10px 15px;
  text-align: left;
}

.contact-branch-card.card-nagasaki .branch-card-body {
  background-color: #1a6ab5;
  color: #fff;
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  text-align: right;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.contact-branch-card.card-nagasaki .branch-card-body:hover {
  background-color: #145591;
  text-decoration: none;
}

.contact-branch-card.card-goto .branch-card-header {
  background-color: #f77c7c;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 10px 15px;
  text-align: left;
}

.contact-branch-card.card-goto .branch-card-body {
  background-color: #e54b4b;
  color: #fff;
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  text-align: right;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.contact-branch-card.card-goto .branch-card-body:hover {
  background-color: #cc3737;
  text-decoration: none;
}

.data-table .note-red {
  color: #f00;
}

/* ===================================================================
   FOOTER
   =================================================================== */
#bottom-area {
  z-index: 1;
  position: relative;
}

/* Footer navigation bar */
.footer-nav {
  background-color: #2b73b5;
  text-align: center;
  padding: 12px 0;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  padding: 0 15px;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-nav a:first-child {
  border-left: 1px solid rgba(255,255,255,0.3);
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Footer main content */
.footer-main {
  background-color: #f0f4f8;
  padding: 30px 0;
}

.footer-main .center-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-company {
  flex-grow: 1;
}

.footer-company-name {
  font-size: 130%;
  font-weight: bold;
  color: #1a6ab5;
  margin-bottom: 15px;
}

.footer-company-address {
  font-size: 90%;
  color: #555;
  margin-bottom: 5px;
}

.footer-copyright {
  font-size: 85%;
  color: #777;
  margin-top: 10px;
}

.footer-links {
  text-align: right;
  font-size: 90%;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  margin-left: 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links a:before {
  content: '▶';
  font-size: 70%;
  margin-right: 4px;
  color: #1a6ab5;
}

.footer-qr {
  margin-left: 30px;
  flex-shrink: 0;
}

.footer-qr img {
  width: 80px;
  height: auto;
}

/* ===================================================================
   SCROLL TO TOP BUTTON
   =================================================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #1a6ab5;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 100;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  background-color: #0d4d8a;
}

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 95%;
}

.form-group label .required {
  color: #f00;
  font-size: 85%;
  margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1a6ab5;
  outline: none;
  box-shadow: 0 0 3px rgba(26, 106, 181, 0.3);
}

.form-error {
  color: #f00;
  font-size: 85%;
  margin-top: 4px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #f00;
}

.form-group.has-error .form-error {
  display: block;
}

.form-submit {
  text-align: center;
  padding: 20px 0;
}

.form-submit button {
  background: linear-gradient(to bottom, #4a90d9, #1a6ab5);
  color: #fff;
  border: 1px solid #1a6ab5;
  border-radius: 5px;
  padding: 12px 60px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit button:hover {
  background: linear-gradient(to bottom, #5a9fe5, #2b73b5);
}

/* ===================================================================
   CONTACT TABLE (Formal Table-Style Inquiry Form)
   =================================================================== */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d0d0d0;
  margin: 15px 0 25px;
}

.contact-table th,
.contact-table td {
  border: 1px solid #d0d0d0;
  padding: 10px 14px;
  font-size: 14px;
}

.contact-table th {
  width: 160px;
  background-color: #f2f2f2;
  text-align: left;
  font-weight: normal;
  color: #333;
  vertical-align: middle;
}

.contact-table th.align-top,
.contact-table td.align-top {
  vertical-align: top;
}

.contact-table td {
  background-color: #fff;
  color: #333;
}

.contact-table .required-text {
  color: #e60000;
  font-size: 12px;
  margin-left: 4px;
}

.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table input[type="tel"],
.contact-table select,
.contact-table textarea {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-table input.input-required,
.contact-table textarea.input-required {
  background-color: #ffecec;
}

.contact-table input.input-normal,
.contact-table textarea.input-normal {
  background-color: #fff;
}

.contact-table .input-name {
  width: 200px;
  max-width: 100%;
}

.contact-table .input-zip {
  width: 120px;
}

.contact-table .input-wide {
  width: 320px;
  max-width: 100%;
}

.contact-table .input-full {
  width: 100%;
}

.contact-table textarea {
  width: 100%;
  height: 180px;
  resize: vertical;
}

.contact-table .form-example {
  color: #666;
  font-size: 13px;
  margin-left: 10px;
  display: inline-block;
}

.contact-table .form-note {
  color: #444;
  font-size: 12px;
  margin-top: 6px;
}

.form-btn-center {
  text-align: center;
  margin: 30px 0 40px;
}

.btn-form-action {
  background: linear-gradient(to bottom, #fafafa, #eaeaea);
  color: #333;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 7px 30px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-form-action:hover {
  background: linear-gradient(to bottom, #ffffff, #dedede);
  border-color: #777;
  text-decoration: none;
}

.btn-form-action.btn-submit {
  background: linear-gradient(to bottom, #3898d9, #1a6ab5);
  border-color: #155592;
  color: #fff;
  font-weight: bold;
}

.btn-form-action.btn-submit:hover {
  background: linear-gradient(to bottom, #4ea8e5, #2275c2);
  color: #fff;
}

.btn-form-action.btn-back {
  background: linear-gradient(to bottom, #f0f0f0, #dcdcdc);
  border-color: #bbb;
  color: #444;
  margin-right: 15px;
}

/* Confirmation table */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d0d0d0;
  margin: 20px 0 30px;
}

.confirm-table th,
.confirm-table td {
  border: 1px solid #d0d0d0;
  padding: 10px 14px;
  font-size: 14px;
}

.confirm-table th {
  width: 160px;
  background-color: #f2f2f2;
  text-align: left;
  font-weight: normal;
  color: #333;
}

.confirm-table td {
  background-color: #fff;
  color: #222;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Complete Screen */
.complete-box {
  text-align: center;
  padding: 40px 20px;
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin: 25px 0 35px;
}

.complete-box .complete-title {
  font-size: 20px;
  font-weight: bold;
  color: #1a6ab5;
  margin-bottom: 20px;
}

.complete-box .complete-text {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

/* ===================================================================
   NEWS DETAIL PAGE
   =================================================================== */
.news-detail-container {
  margin-bottom: 40px;
}

.news-detail-meta {
  margin: -10px 0 20px;
  text-align: right;
  font-size: 13px;
  color: #777;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 10px;
}

.news-detail-meta .news-detail-date i {
  margin-right: 4px;
  color: #1a6ab5;
}

.news-detail-body {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  min-height: 200px;
}

.news-detail-body h4,
.news-detail-body .section-subhead {
  font-size: 16px;
  font-weight: bold;
  color: #1a6ab5;
  border-left: 4px solid #1a6ab5;
  padding-left: 10px;
  margin: 25px 0 15px;
}

.news-detail-body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.news-detail-body table th,
.news-detail-body table td {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}

.news-detail-body table th {
  background-color: #eef5fb;
  font-weight: bold;
}

.news-back-area {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dotted #ccc;
  text-align: center;
}

/* ===================================================================
   GOOGLE MAPS
   =================================================================== */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-container.mymap-wrapper iframe {
  top: -70px;
  height: calc(100% + 70px);
}

/* ===================================================================
   SIDE MENU (for two-column pages)
   =================================================================== */
.side-menu {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.side-menu-title {
  background-color: #1a6ab5;
  color: #fff;
  padding: 12px 15px;
  font-weight: bold;
  font-size: 95%;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu li {
  border-bottom: 1px solid #eee;
}

.side-menu li:last-child {
  border-bottom: none;
}

.side-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 90%;
  transition: background-color 0.2s ease;
}

.side-menu li a:hover,
.side-menu li a.active {
  background-color: #eef5fb;
  color: #1a6ab5;
}

.side-menu li a:before {
  content: '▶';
  font-size: 70%;
  margin-right: 8px;
  color: #1a6ab5;
}

/* ===================================================================
   BREADCRUMB
   =================================================================== */
.breadcrumb {
  font-size: 88%;
  padding: 10px 0;
  color: #666;
}

.breadcrumb a {
  color: #1a6ab5;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-red { color: #f00; }
.text-bold { font-weight: bold; }
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-0 { margin-top: 0 !important; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.p-10 { padding: 10px; }
.p-20 { padding: 20px; }

/* Font size modifiers */
.font-small { font-size: 88%; }
.font-medium { font-size: 100%; }
.font-large { font-size: 115%; }
.font-xlarge { font-size: 150%; }

/* Image responsive */
img { max-width: 100%; height: auto; }

/* PC/SP Toggle */
.device-toggle {
  text-align: center;
  padding: 10px 0;
  background-color: #e0e8f0;
  font-size: 85%;
}

.device-toggle a {
  color: #1a6ab5;
  text-decoration: underline;
}

/* ===================================================================
   SIDE INFO WIDGET (Contact / Ships / Access Counter)
   =================================================================== */
.side-info-widget {
  line-height: 1.55;
}

.side-company-info .company-name {
  font-size: 14.5px;
  font-weight: bold;
  color: #222;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.side-company-info .branch-name {
  font-size: 13px;
  color: #333;
  margin-bottom: 5px;
}

.side-company-info .postal-code {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

.side-company-info .address {
  font-size: 13px;
  color: #333;
  line-height: 1.45;
  margin-bottom: 5px;
  word-break: break-all;
}

.side-company-info .fax {
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
}

.side-company-info .reserve-title {
  font-size: 13px;
  font-weight: normal;
  color: #333;
  margin-bottom: 4px;
}

.side-company-info .tel-item {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 2px;
}

.side-company-info .tel-item a {
  color: #333;
  text-decoration: none;
}

.side-company-info .tel-item a:hover {
  text-decoration: underline;
}

.side-company-info .dot,
.side-ship-info .dot {
  font-size: 10px;
  margin-right: 4px;
  vertical-align: 1px;
}

.side-divider {
  border: none;
  border-top: 1px dashed #777;
  margin: 12px 0;
}

.side-ship-info .ship-item {
  margin-bottom: 6px;
}

.side-ship-info .ship-item:last-child {
  margin-bottom: 0;
}

.side-ship-info .ship-name {
  font-size: 13.5px;
  color: #222;
  line-height: 1.4;
}

.side-ship-info .ship-type {
  font-size: 12.5px;
  color: #333;
  padding-left: 14px;
  line-height: 1.3;
}

.side-counter-wrap {
  text-align: center;
  padding: 8px 0 4px;
}

.access-counter {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.counter-digit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 17px;
  height: 22px;
  background-color: #bebebe;
  color: #333;
  font-family: Arial, "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 500;
  border-radius: 1px;
  user-select: none;
}

