/*カラーライブラリ*/
:root {
  --color-primary: #1e3a6e;
  --color-secondary: #3C91A8;
  --color-bg:#C8EAF2;
  --color-accent: #ff9900;
  --color-bg: #F0E9DF;
   --color-bg2: #F3EFE7;
  --color-text: #282B2F;
  --color-text2: #4A4A4A;
  --color-textblue: #16919F;
  --color-gray: #ADADAD;
  --color-gray2: #D9D9D9;
  --color-white:#ffffff;
}
:root {
    font-size: 16px; /* 1rem = 16px */
}

/* ===== Heading Font Sizes ===== */
h1 { font-size: 26px; color: var(--color-primary); margin: auto; text-align: center;}      
h2 { font-size: 20px; color: var(--color-primary); text-align: center; margin-top: 0;}  
h3 { font-size: 18px;color: var(--color-primary); border-bottom: 2px solid var(--color-primary);
  padding-bottom: 8px;}   
h4 {font-size: 18px; color: var(--color-primary);}

/* （任意）行間を統一する */
h1, h2, h3, h4, h5, h6, .h7 {
    line-height: 1.4;
    font-weight: 600;
}
a {
  cursor: pointer!important;
}
p {font-size: 16px; color: var(--color-text);}

/*======ページ共通背景設定=====*/
html{
    scroll-behavior:smooth;
}
.pageContainer {
  max-width: 1000px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 80px;
}
.whiteCard {
      background: #fff;
      margin: 20px;
      padding: 20px;
      border-radius: 6px;
      text-align: center;
  }
  .normalbgContainer {
    margin: 20px;
  }
  .normalbginner {
  margin: 20px;
}

/*ローディング*/
/* ローディング全体 */
#loading {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loading-logo {
  width: 120px;        /* ロゴサイズ調整 */
  animation: fade 1.2s ease-in-out infinite alternate;
}

@keyframes fade {
  from {
    opacity: 0.4;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 表示状態 */
.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes my-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animation {  
  /* .boxが「my-fade-in」で状態変化するように指定 */
  animation-name:     my-fade-in;
  animation-duration: 3s;
}

/*ページ全体*/
body {
    background-color: var(--color-bg2);
    margin: 0;
    font-family: -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
    color: #282B2F;
}
/* 問い合わせ枠 */
.contact-area {
  text-align: center;
  background: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  margin: 100px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.contact-area p {
  margin: 0;
}
.contact-area a {
  display: block;
  font-size: 20px;
  margin-top: 10px;
  font-weight: bold;
  color: #0072aa;
  text-decoration: none;
}
.page-contents {
    margin: auto;
    padding: 20px 30px;
}
/*テーブル表示*/
.page-row {
    display: flex;
    border-bottom: 2px solid #d5e5ef;
}
.page-label {
    width: 180px; /* 左ラベル幅 */
    background: var(--color-secondary);
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-right: 2px solid #d5e5ef;
    text-align: center;
}
.page-value {
    flex: 1;
    background: #fff;
    padding: 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}
.title-vertical span {
  font-size: 12px;
  letter-spacing: 2px;
  color: #2b7fa8;
}

/*ボタン*/


  .button {
  display: flex;
  width: fit-content;
  margin:  10px auto;
  padding: 12px 20px;
  background-color: #2f4a7f;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  cursor: pointer;
}
  .button-small {
    background-color: var(--color-primary);
    color: white;
    display: block;
    width: fit-content;
    margin: auto;
    padding: 5px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    margin-bottom: 10px;
    cursor: pointer;
  }
  .subButton {
  display: flex;
  width: fit-content;
  padding: 10px 10px;
  border: 1px solid #2f4a7f;
  border-radius: 40px;
  text-decoration: none;
  color: #2f4a7f;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);   
  cursor: pointer;
 }

.button-icon {
  display: flex;
  width: fit-content;
  margin: auto;
  padding: 12px 20px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}
.file-cb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.file-cb .button {
  margin: 0;
}

/* ===== ヘッダー全体 ===== */
.site-header {
  background: var(--color-primary);
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  color: var(--color-white);
  height: 45px;
  text-align: center;
}

.header-inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-item-90 {
  line-height: 16px;
}
.mobile-btn {
  display: none;
}
/* ===============================
   Close Button
================================ */
.nav-close {
  position: absolute;
  top: 65px;
  right: 30px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  background: white;
}

.nav-close span:first-child {
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

/* PCでは非表示 */
@media screen and (min-width: 769px) {
  .nav-close {
    display: none;
  }
}

/* ===============================
   Hamburger
================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: white;
  transition: 0.3s;
}
@media screen and (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .pc-btn {
    display: none;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(33, 56, 107, 0.95);
    flex-direction: column;
    padding: 100px 30px;
    transition: 0.3s;
  }

  .global-nav.active {
    right: 0;
  }

  .main-menu {
    flex-direction: column;
    gap: 20px;
  }

  .mobile-btn {
    display: inline-block;
    margin-top: 30px;
  }
}
/*===サブテキスト=== */
.rc-description {
  text-align: center;
  width: 80%;
  margin: auto;
  margin-bottom: 20px;
}
/* ===== ロゴ ===== */

.site-logo img {
  height: 40px;
  width: auto;
}

/* ===== メニュー ===== */
.global-nav .main-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 40px;
}

.global-nav .main-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 8px 0;
}

.global-nav .main-menu li a:hover {
  opacity: 0.6;
}

.main-menu li .sub-menu {
  display: none;
  position: absolute;
  top: 100%; /* 親メニューの真下 */
  left: 0;
  background: #fff;
  border-radius: 6px;
  padding: 10px 10px;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  z-index: 999;
  list-style: none;
  text-align: left;
}
.main-menu li .sub-menu a {
  color: var(--color-primary);
}
.main-menu li .sub-menu {
  margin-top: 0px;
}
.main-menu .sub-menu li {
  margin: 10px;
}
/* ===== hover したら submenu を表示 ===== */
.main-menu > li:hover > .sub-menu {
  display: block;
}

.main-menu > li {
  position: relative;
}

.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
}

.main-menu > li:hover > .sub-menu {
  display: block;
}


/* ===== 右側のボタン ===== */
.header-btn {
  background: var(--color-primary); 
  background-color: #fff;
  color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  width: 150px;
  text-align: center;
}

.header-btn:hover {
  opacity: 0.8;
}

/* ===== メインメニュー ===== */
.main-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 20px;
  padding: 0;
  position: relative;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  text-decoration: none;
  color: #333;
  padding: 12px 0;
  display: block;
  font-weight: 500;
}


/*トップページ*/
.top-logo {
  position: relative;
  right: 30px;
  width: 10%;
  margin-bottom: 30px
}
.site-title {
  color: white!important;
  font-size: 50px;
}
.video-wrap{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}
@media screen and (max-width: 768px) {
  .site-title {
    font-size: 32px
  }
  .video-wrap {
    width: 100%;
    height: 320px;
  }
}
.bg-video{
  position:absolute;
  top:50%;
  left:50%;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:translate(-50%,-50%);
}

.video-content{
  position:relative;
  z-index:2;
  color:#fff;
  text-align:center;
  top:30%;
  transform:translate(40px, -110px);
  letter-spacing: 20%;
}
@media screen and (max-width: 768px) {
  .video-content {
    top: 50%;
    transform: translate(20px, -120px);
  }
}

/*---運航状況詳細--*/
.schedule-wrapper{
  width: 50%;
  margin: auto;
  color: var(--color-primary);
  margin-bottom: 30px;
}
.updated-date {
  text-align: center;
  margin-top: 0;
}
.schedule-item {
  padding: 10px;
  display: flex;
  gap: 20px;
  background-color: white;
  margin-top: 10px;
  border-radius: 10px;
}
.schedule-item .route {
  width: 150px;
}
.normal ,.cancel{
  display: flex;
  gap: 5px;
  align-items: center;
}
.status {
  border-radius: 5px;
}
/* 欠航の場合は背景色を赤くする*/
.schedule-item.cancel {
  background-color: #F6E0E0;
  color: var(--color-text);
}
.status-icon {
  width: 30px;
}
.schedule-title {
  margin-top: 30px;
  margin-bottom: 10px;
}


/* 本日の運航状況 */
.schedule-card {
  background-color: white;
  width: 50%;
  border-radius: 10px;
  margin: auto;
  padding: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}
.schedule-card a{
  display: flex;
  gap: 40px;
  justify-content: center;
}
.weather-card-title h2 {
  margin: auto;
}
.schedule-card a {
  text-decoration: none;
}
.operation-content {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.operation-icon {
    width: 50px;
}
.today-text {
  font-size: 32px;
  color: var(--color-primary);
  font-weight: 600;
}
.page-id-205 .no-schedule {
  text-align: center!important;
}

.seasondate {
  text-align: center;
  background-color: #D66F08;
  color: white;
  width: 50%;
  margin: auto;
  border-radius: 10px;
  padding: 10px;
}
.seasondate p, .seasondate h4 {
  color: white;
  margin: 5px;
}
.seasondate p {
  font-size: 32px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .schedule-wrapper {
    margin: 0px 20px;
    width: auto;
  }
  .schedule-card {
    width: 80%;
  }
  .seasondate {
    width: 80%;
  }
}

/*あおばと、かいよう紹介*/
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #1e3a8a;
  font-size: 40px;
  font-weight: bold;
}
.courseintro {
  text-align: center;
  background-repeat: no-repeat;
  padding-top: 30px;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
}
.courseintro img {
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  height: auto;
}
.coursetitle{
   font-size: 32px;
   margin-top: 10px;
   margin-bottom: 0;
}
.courseintro h5 {
  font-size: 16px;
  color: var(--color-primary);
  margin: 0;
}
.course-card a {
  text-decoration: none;
}
.course-card h2 {
  margin: 0;
  text-align: left;
}
.line-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #1f3f86;
  font-size: 32px;
  border-bottom: none;
  white-space: nowrap;
  margin-top: 40px;
  margin-bottom: 0;
}

.line-title::before,
.line-title::after {
  content: "";
  width: 100%;
  height: 2px;
  background: #1f3f86;
}
.section-title::before,
.section-title::after {
  content: "";
  width: 140px;
  height: 3px;
  background: #1e3a8a;
}
.course-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.course-card {
  background-color: white;
  width: 40%;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 

}
.course-card img {
  width: 100%;
  margin: 0;
}

/*　かいようコース紹介*/
.kaiyocourse {
  margin-top: 80px;
}
#kounaimeguri ,#syokujinashi ,#syokujiari ,#tokubetucourse ,#akaiwacourse ,#yuyakecourse{
  scroll-margin-top:120px;
}
.kaiyocourse .course-card {
  margin: auto;
}
.kaiyocourse .course-grid{
  display: block;
}
.top-bg-t {
  position: relative;
  top: 10px;
}
.top-bg-b {
  position: relative;
  z-index: 9;
  top: -3px;
}
.cardgroup {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}
.cardgroup .course-card {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .top-bg-b {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: -80px -50px;
    position: relative;
  }
  .top-bg-b img {
    position: relative;
    top: -10px;
  }
  .top-bg-t {
    top: 10px;
  }
}
/*イベント*/
.event {
  background-size: 100%;
  background-position: bottom;
  position: relative;
  top: -100px;
  padding: 90px 0;
}
.event h5 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 32px;
  color: var(--color-primary);
}
.event-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.event-grid a {
  width: 200px;
}
.event-card {
  background-color: white;
  min-height: 120px;
  height: fit-content;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  width: 40%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}
.event-card h2 {
  margin: 0;
  text-align: left;
}
.event-img {
  background-color: #818080;
  width: 100%;
  min-height: 290px;
  border-radius: 10px;
}
.event-card p {
  margin: 0;
  padding-top: 20px;
}
.event-bg-b {
  position: relative;
  top: -110px;
}
.image-modal{
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content{
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  transition: transform 0.1s ease;
  transform-origin: center center;
}
.modal-close{
  position: absolute;
  top: 9%;
  right: 28%;
  z-index: 10000;
  color: white;
  font-size: 32px;
}
.modal-open{
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .aobatocourse {
    padding: 30px;
  }
  .courseimg {
    width: 90%;
  }
  .seasondate {
    width: 80%;
  }
  .event-img {
    min-height: 100px
  }
   .line-title {
    font-size: 24px;
  }
  .coursetitle {
    font-size: 24px;
  }
  .kaiyocourse {
    padding: 30px;
  }
  .today-text {
    font-size: 24px;
  }
  .weather-card-title h2{
    font-size: 16px;
  }
  .seasondate h4 {
    font-size: 16px;
  }
  .seasondate p {
    font-size: 24px;
  }
  .kaiyocourse {
    margin-top: 0;
  }
  .courseintro {
    padding-bottom: 10px;
  }
  .page-id-5 .courseintro .pageContainer {
    margin-top: 0;
  }
  .course-grid {
    gap: 10px;
  }
  .course-card {
    width: 45%;
    padding: 5px;
  }
  .cardgroup {
    margin-top: 10px;
    gap: 5px;
  }
  .event-card {
    padding: 5px;
  }
  .event-card h2 {
    font-size: 16px;
  }
  .course-card h2 {
    font-size: 16px;

  }
  .modal-content{
width: 70%;
}
.modal-close{
  position: absolute;
  top: 17%;
  right: 30px;
  z-index: 10000;
  color: white;
  font-size: 32px;
}
}
/*===お知らせ一覧===*/
.news-list {
  display: grid;
  gap: 24px;
  list-style: none;
  padding: 0;
  gap: 10px;
}
.news-item {
  border-radius: 10px;
  padding: 10px;
  background-color: white;
}
 .news-item a {
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 65px;
  text-decoration: none;
  border-radius: inherit;
  gap: 20px;
  overflow: hidden;         /* はみ出し隠す */
  text-overflow: ellipsis; 
 }
 .news-date {
  color: var(--color-primary);
  font-weight: 600;
 }
 .news-title-text {
  font-weight: 600;
  width: 800px;
  overflow: hidden;
  text-overflow: ellipsis;
 }

 @media screen and (max-width: 768px) {
  .news-title-text 
  {
   width: 200px;
  }

}
/*===お知らせ個別ページ===*/
.single-post .whiteCard , h3{
  text-align: left;
}
.post img {
  max-width: 100%;
  height: auto;
}

/*お問い合わせフォーム*/
/* ===== Contact Form 7 共通 ===== */
.wpcf7 {
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
}

/* ラベル */
.wpcf7 label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 16px;
}

/* 入力欄 共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
}

/* フォーカス時 */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
}

/* ホバー */
.wpcf7 input[type="submit"]:hover {
  opacity: 0.85;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output .wpcf7 form.sent .wpcf7-response-output{
  border: none;
}



/* assets/css/company.css - 会社概要専用スタイル */

:root {
    --company-navy: #1e3a6e;
    --company-beige: #f5f2eb;
    --company-white: #ffffff;
    --company-text-dark: #333333;
}

/* ページ全体の背景色 */
body.page-template-page-company {
    background-color: var(--company-beige);
}

.company-container {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}


.page-template-page-company .site-logo img {
    filter: brightness(0) invert(1); /* ロゴを白抜きにする */
}

.page-template-page-company .hamburger span {
    background: #fff;
}



/*======フッター=====*/
footer  {
  background-color: white;
}
.footer-nav {
  padding-top: 20px;
}
footer a {
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
}
.footer-up {
  max-width: 900px;
  margin: auto;
}
footer ul{
  list-style: none;
  width: 60%;
  height: 300px;
  column-count: 2;
  column-width: 200px;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
}
footer ul li {
  margin: 10px;
}
.footer-bottom {
  text-align: center;
}
.footer-copy {
  color: var(--color-primary);
  text-align: center;
}
.footer-banner {
  text-align: center;
}
.footer-banner img {
  border:  solid 1px var(--color-primary);
}
footer .menu-item {
  width: 200px;
}
.footer-sns {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.footer-copy {
  margin-top: 20px;
}



/* スマホ対応 */
@media screen and (max-width: 710px) {
    .company-info-row .label {
        width: 90px;
        font-size: 14px;
    }
    .company-info-row .value {
        font-size: 14px;
        padding: 15px;
    }
    .company-footer-tel {
        font-size: 24px;
    }
    footer .menu-item {
      width: 150px;
    }
    footer ul {
      display: contents;
    }
    .footer-sp {
      text-align: center;
      width: 80%;
      margin: auto;
    }
    footer .menu-item{
      width: auto;
      height: 40px;
    }
}


/*========予約ページ========*/





/*=====運営会社=====*/
.company-info-list {
  margin: 20px 20px;
}
/* 各行（カード）のスタイル */
.company-info-row {
    display: flex;
    margin-bottom: 8px;
    background: var(--company-white);
    overflow: hidden;
}

.company-info-row .label {
    width: 28%;
    min-width: 100px;
    background: var(--company-navy);
    color: #ffffff;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}

.company-info-row .value {
    flex: 1;
    padding: 20px;
    color: var(--company-text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.company-info-row .value small {
    display: block;
    font-size: 13px;
    margin-top: 5px;
    color: #666;
}

/*=====よくある質問=====*/
.faq-list {
  margin: 20px 20px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
}
.faq-question {
  width: 100%;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  font-size: 16px;
}
.faq-answer {
  display: none;
  padding: 0 16px 16px;
}
.faq-left {
  font-weight: 600;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .icon {
  transform: rotate(45deg); /* ＋ → × */
}
.page-id-29 .contact{
   text-align: center;
}
.contact a {
  color: var(--color-primary);
}
.wpcf7-spinner {
  display: none;
}
.contact label {
  text-align: left;
}

/*======駐車場=====*/
.page-id-27 p {
  width: fit-content;
  margin: auto;
  margin-top: 10px;
}
.parking-map {
  margin-top: 30px;
}
.page-id-27 .info-table th {
  width: 28%;
}
.page-id-27 .info-table td {
  text-align: left;
}
.page-id-27 .whiteCard a {
  color: var(--color-primary);
}
/*=====プライバシーポリシー=====*/
.page-template-page-privacy .whiteCard {
  text-align: left;
}
.page-template-page-privacy h2 , .page-template-page-privacy h3 {
  text-align: left;
  margin: 20px 0 10px 0 ;
}
.page-template-page-privacy p , .page-template-page-privacy ul {
  margin: 0;
}

@media screen and (max-width: 480px) {
   .page-id-27 iframe {
  height: auto;
}
.page-id-27 .whiteCard h2 {
  margin: 0;
}
}

/*=====あおばと料金表=====*/
.page-id-7 span {
  font-size: 12px;
  font-weight: 300;
}
.page-id-7 th {
  width: 30%;
  font-size: 16px;
  padding: 3px;
}
.page-id-7 .tb-gp ul {
  padding: 0 0 0 20px;
}
.tb-gp {
  margin-top: 70px;
}
@media screen and (max-width: 480px) {
    .page-id-7 th{
     width: 50%;
    }
    .page-id-7 .th-sp {
      width: 30%;
    }
    .info-table th {
  width: 50%;
}

  }
/*=====かいよう料金表=====*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    table-layout: fixed;
  }
  th {
    background: #2c4478;
    color: white;
    padding: 12px;
    font-weight: 500;
    border: solid 2px var(--color-bg2);
  }
  td {
    background: white;
    padding: 12px;
    text-align: center;
    border: solid 2px var(--color-bg2);
  }
  .note {
    text-align: left;
    font-size: 14px;
    margin-bottom: 24px;
  }
  .timetablecontainer {
    margin-top: 40px;
  }
  .page-template-page-kaiyou h2 {
    margin-bottom: 10px;
  }
  .button-ct {
    text-align: center;
  }

  /*=====アクセス=====*/
  .page-id-23 .whiteCard p{
    text-align: center;
  }
  .page-id-23 p {
    text-align: center;
  }
  .page-id-23 .normalbginner  h4 {
    text-align: center;
    border-bottom: solid 2px var(--color-primary);
  }
  .accessroute {
    margin-top: 80px;
  }
@media screen and (min-width: 450px) {
    .routeimg{
     max-width: none!important;
     width: 40%!important;
     display: block;
     margin: auto;
    }
}
@media screen and (max-width: 730px) {
    .syukutuimg{
    width: 100%!important;
    }
   .page-id-23 .whiteCard p{
    text-align: left;
  }
    .page-id-23 p {
    text-align: left;
  }
}
.bento-container {
  justify-content: left;
  border-bottom: solid 1px var(--color-primary);
}

  /* スライダー */
.gallery-slider{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.gallery-track{
  display:flex;
  gap:14px;
}

.gallery-item{
  flex:0 0 80%;
  scroll-snap-align:center;
  border-radius:12px;
  overflow:hidden;
}

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


.tori {
  position: relative;
   top: 23px;
   left: 30px;
}


/*=====オタモイの魅力======*/
.page-id-201 .miryoku img  ,.page-id-222 .miryoku img{
  border-radius: 24px;
}
.miryoku {
  margin-top: 60px;
}


.page-id-201 .normalbgContainer::before {
  content: "";
  position: fixed;
  inset: 0;

  background: url("/bg.svg") center / cover no-repeat;

  opacity: 0.08;
  z-index: -1;
}

/*======かいよう航路詳細=====*/
.detail-inner {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}
.detail-inner2 {
  display: flex;
  gap: 20px;
  height: auto;
  margin-top: 10px;
}
.detail-inner p ,.detail-inner2 p{
  color: var(--color-primary);
  font-weight: 700;
  text-align: left;
  margin: 0;
  font-size: 14px;
}
.dt-r {
  color: var(--color-text)!important;
  font-weight: 400!important;
}
.dt-r2 {
  width: 150px;
  color: var(--color-text)!important;
  font-weight: 400!important;
}

.detail-label {
  width: 90px;
}
.detail-p {
  font-size: 14px;
  margin: 0;
  border-bottom: solid 1px var(--color-primary);
}
.course-dt {
  color: var(--color-secondary);
  font-size: 14px;
}
.syokuji h4 {
  margin: 60px 0 0 0 ;
}
.inner2-container div {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}
.detail-container {
  margin-top: 20px;
}

.dt-p {
  color: var(--color-text)!important;
  font-weight: 400!important;
}
.dt-r3 {
color: var(--color-text)!important;
font-weight: 400!important;
}
.dt-r-t {
  width: 100px;
  color: var(--color-text)!important;
  font-weight: 400!important;
  height: 100%;
}
.dt-r-l {
  color: var(--color-text)!important;
  display: block;
  text-align: right!important;
  font-weight: 400!important;
  width: 50px!important;
}
.course-modal-open {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}
.bento {
  background-color: var(--color-primary);
  width: fit-content;
  border-radius: 40px;
  padding: 5px 10px; 
  margin-bottom: 10px;
  min-width: 120px;
}
.bento p {
  color: white;
  margin: 0;
}
.hiruyoru {
  width: 10px;
}
.bento-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  justify-content: center;
  padding-bottom: 30px;
}
.night {
  margin-top: 20px;
}
.bento-container img {
  width: 30%;
}

@media screen and (max-width: 730px) {
    .bento-container img{
    width: 100%!important;
    }
  .dt-r3 {
  width: 190px;
}
.bento-container {
  justify-content: left;
  border-bottom: solid 1px var(--color-primary);
}
}

/*モーダル設定*/
.course-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    z-index:9999;
}
.course-modal-content{
    max-width:500px;
    background:#fff;
    margin:20% auto;
    padding:24px;
    border-radius:12px;
    position:relative;
}
.close{
    position:absolute;
    top:19%;
    right:25%;
    font-size:48px;
    cursor:pointer;
    color: white;
}
.course-modal-open{
    cursor:pointer;
    user-select:none;
}
.course-modal h2 {
  font-size: 18px;
}
@media screen and (max-width: 730px) {
    .course-modal-content{
    margin: 50% 16px;
    }
  .close {
  right: 7%;
}
}

/*かいよう航路アニメーション*/
.map-wrap{
    position:relative;
    width:100%;
    max-width:1200px;
}

.map-bg{
    width:100%;
    display:block;
}

.route-svg{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;
}


/*=====あおばと航路詳細=====*/
.course-dt {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.button-dt {
  background-color: white;
  border: solid 1px var(--color-primary);
  border-radius: 7px;
  padding: 10px 20px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button-dt a {
  color: var(--color-primary);
  cursor: pointer;
}
.hejitu {
    padding: 10px 10px;
    background-color: #CAE5EE;
    border-radius: 5px;
}
.syukujitu{
    padding: 10px 10px;
    background-color: #F1E4E0;
    border-radius: 5px;
    margin-top: 5px;
}
.hejitu .dt-r {
color: var(--color-primary)!important;
font-weight: 600!important;
margin-bottom: 5px;
text-align: center;
}
.syukujitu .dt-r {
  color: #C66300!important;
  font-weight: 600!important;
  margin-bottom: 5px;
  text-align: center;
}
.course-tab {
  background-color: var(--color-primary);
  color: white;
  border-radius: 30px;
  padding: 3px 10px;
  margin-bottom: 5px;
}
.time-cb {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content:center ;
}

.time-container {
  background-color: white;
  color: var(--color-secondary)!important;
  font-weight: 600!important;
  border: solid 1px var(--color-secondary);
  padding: 3px;
  text-align: center!important;
  border-radius: 30px;
}
.time-container p {
  margin: 0;
}
.syukujitu .time-container {
  color: #C66300!important;
  border: solid 1px #C66300;
}
.coursetime-cb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 74%;
}
/*モーダル*/
.aobato-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.aobato-modal.active {
  display: block;
}

.aobato-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.aobato-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  z-index: 2;
}

.aobato-modal-content img {
  width: 75%;
  display: block;
  border-radius: 15px;
  margin: auto;
}

.aobato-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}
#otamoicourse .detail-container {
  border-bottom: solid 1px var(--color-primary);
  padding-bottom: 10px;
}
.otamoi-p {
  text-align:left ;
}

@media screen and (max-width: 730px)  {
.aobato-modal-content img {
  width: 100%;
  display: block;
  border-radius: 10px;
  margin: auto;
}
}

/*=====船のご案内======*/
.ships {
  text-align: center;
}
.shipimages {
  display: flex;
  flex-wrap:wrap ;
  gap: 10px;
  justify-content: center;
}
.shipimages img {
  border-radius: 10px;
}
.ship-timeschedule {
  margin-top: 4%;
}
.ship-timeschedule h4 {
  margin: 5px;
}
.ship-timeschedule img {
  margin-bottom: 20px;
}
.sennaizu {
  margin-top: 50px;
}
.ships-btn {
  display:flex ;
  gap: 10px;
  justify-content: center;
}
.ships-btn .button {
  margin: 0;
}
@media screen and (max-width: 730px)  {
.ships img {
  width: 100%;
}
.ship-timeschedule {
  margin-top: 40px;
  margin-bottom: 100px;
}
.ships-img {
  overflow-x: auto;
}
.ships-img2 img {
 width: 100%;
}
.ships-img img {
  width: 900px!important;
}
.ship-timeschedule img{
 width: 100%;
}
}

.fixed-reserve-btn{

  display:none;

}

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

  .fixed-reserve-btn{

    position:fixed;
    bottom:10px;
    right:-10%;
    transform:translateX(-50%);
    z-index:9999;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100px;
    height:100px;
    background:var(--color-primary);
    color:#fff;

    border-radius:9999px;

    text-decoration:none;
    font-weight:bold;

    box-shadow:0 4px 20px rgba(0,0,0,0.2);

  }

}

/*====安全規定について=====*/
.page-id-287 .whiteCard ul li {
text-align : left;
}