html {
  scroll-behavior: smooth;
}

body {
    font-family: "HondaGlobalFontJP-Regular", sans-serif;
    font-style: normal;
    line-height: 1.5;
    margin: 0px;
}

.homecoming-2026 h2,
.homecoming-2026 h3,
.homecoming-2026 h4,
.homecoming-2026 h5,
.homecoming-2026 h6 {
    font-family: "HondaGlobalFontJP-Bold", sans-serif;
    line-height: 1.5em;
    margin: 0;
}
.homecoming-2026 p {
    line-height: 1.5em;
    margin: 0;
}

ul,
figure {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

a {
        color: #000;
}
.inner {
    width: 980px;
    max-width: 90%;
    margin: 0 auto;
}
.pc {
    display: none!important;
}
@media screen and (min-width: 769px) {
    .sp {
        display: none!important;
    }
    .pc {
        display: revert!important;
    }
}

/* content */
.content-box {
    padding: 80px 0;
}
/* faq */
.faq_box dl {
    margin-bottom: 40px;
}

.faq_box dt {
    display: flex;
    align-items: start;
    gap: 0.5em;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #f00;
    color: #f00;
}
.faq_box dt span {
        font-size: 26px;
    font-weight: 600;
}
.faq_box dt p {
        font-size: 22px;
    line-height: 1.5em;
}
.faq_box dd {
    margin: 0;
    display: flex;
    align-items: start;
    gap: 0.5em;
}
.faq_box dd span {
        font-size: 26px;
    font-weight: 600;
        margin-top: 5px;

}
.faq_box dd p {
        font-size: 16px;
    line-height: 180%;
}
@media screen and (max-width: 769px) {

.faq_box dt p {
        font-size: 20px;
}
.faq_box dd p {
    font-size: 16px;
}
}

/* guest */
.geust-intro-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3つのカラムを均等な幅で作成 */
  gap: 30px; /* アイテム間の余白 */
}

/* スマートフォン向けのスタイル (画面幅が768px以下の場合) */
@media screen and (max-width: 768px) {
  .geust-intro-box {
    grid-template-columns: 1fr; /* 1カラムにする */
    gap: 20px; /* アイテム間の余白を調整 */
  }
}

/* --- 以下は見た目を整えるための参考スタイルです --- */
.geust-item {
  display: flex; /* ★追加: Flexboxコンテナにする */
  flex-direction: column; /* ★追加: 子要素を縦方向に並べる */
}

.geust-item .photo {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.geust-item .name {
    font-size: 20px;
}
.geust-item .en {
    font-size: 14px;
    margin-bottom: 0.5em;
}
.geust-item .intro-txt {
    font-size: 14px;
    margin-bottom: 1em;
}
.geust-item .link-txt {
    font-size: 14px;
    margin-bottom: 0.5em;
}
.geust-item .link-txt:last-of-type {
  margin-bottom: 1em;
}
.geust-item .program-box {
    margin-top: auto;
    padding: 1em;
    background: #eee;
}

/* =================================================
// HondaGO 特典セクション
// ================================================= */

/* ボックス全体 */
.hondago-box {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  max-width: 840px;
}

/* 冒頭リード文 */
.hondago-read {
  text-align: center;
  margin-bottom: 60px;
}
.hondago-read p {
  margin-bottom: 1em;
}

.hondago-read figure {
  max-width: 300px;
  margin: 0 auto 30px;
}

.hondago-read figure img {
  width: 100%;
}

.hondago-read h2 {
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin: 0 auto 30px;
  padding: 0 60px; /* 斜線のための余白 */
  line-height: 1.5;
}

/* h2の斜線装飾 */
.hondago-read h2::before,
.hondago-read h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45px;
  height: 2px;
  background-color: #333;
}

.hondago-read h2::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.hondago-read h2::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
}

/* 各特典アイテム */
.hondago-content {
  display: flex;
  flex-direction: column;
  gap: 40px; /* 各アイテム間の余白 */
}

.hondago-item {
  border: 1px solid #ccc;
  padding: 40px;
  text-align: center;
      border-radius: 12px;
}

.hondago-item h3 {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hondago-item .hondago-cont p {
  text-align: left;
  line-height: 1.8;
  margin-bottom: 20px;
}

.hondago-item .hondago-cont p.hondago-note {
    line-height: 1.5;
}

.hondago-item .hondago-item-read {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hondago-item .hondago-cont figure {
    width: 600px;
    margin: 0 auto 20px;
    max-width: 100%;
}

.hondago-item .hondago-cont figure:last-child {
  margin: 0 auto;
}

.hondago-item .hondago-cont figure img {
  border-radius: 7px;
}

/* 予約ボタン */
.btn-hondago-reserve a {
    text-decoration: none;
    background: #c00;
    padding: 1em 3em 1em 2em;
    display: inline-block;
    border-radius: 10px;
    position: relative;
    border: 2px solid #c00;
    transition-duration: 0.2s;
    color: #fff;
}

.btn-hondago-reserve a::before {
        content: '';
    position: absolute;
    top: 35%;
    right: 1.5em;
    display: block;
    background-image: url(/homecoming-moto/2025/assets/img/icon_blank01_white.svg);
    width: 16px;
    height: 15px;
    border: none;
    transform: none;
}

.btn-hondago-reserve a:hover::before {
    border: none;
    background-image: url(/homecoming-moto/2025/assets/img/icon_blank01_red.svg);
}

.btn-hondago-reserve a:hover {
    background: #fff;
    color: #c00;
}

.hondago-item  .btn-hondago-reserve p {
    text-align: center;
}

/* 予約ボタン 無効化 */
.no-link a {
    background: #888!important;
    color: #fff!important;
    border: 2px solid #888!important;
    cursor: unset!important;
    padding: 1em;
    pointer-events: none;
}
.no-link a::before {
    content: none!important;
}


/* 注釈文 */
.hondago-note {
  font-size: 0.9em;
  color: #555;
  line-height: 1.7;
}

.hondago-note a {
  color: #0066cc;
  text-decoration: underline;
}

.hondago-note a:hover {
  text-decoration: none;
}

/* 新規会員登録ボタン ★★★ここを修正しました★★★ */
.hondago-register {
    margin: 50px auto 0;
    display: flex
;
    justify-content: center;}

.hondago-register a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #111;
  padding: 0 50px 0 20px;
  color: #111;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
      width: 500px;
      max-width: 100%;
    height: 100px;
        position: relative;
}

.hondago-register a:hover {
  opacity: 0.8;
}

.hondago-register figure {
  width: 120px;
  margin: 0;
  margin-right: 20px;
  flex-shrink: 0;
}

.hondago-register figure img {
  width: 100%;
  display: block;
}

.hondago-register p {
  flex-grow: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}

.hondago-register a::before {
    content: '';
    position: absolute;
    top: 45%;
    right: 1.5em;
    display: block;
    background-image: url(/homecoming-moto/2025/assets/img/icon_blank01_black.svg);
    width: 16px;
    height: 15px;
    border: none;
    transform: none;
}

/* レスポンシブ対応 (スマートフォン) */
@media (max-width: 767px) {
  .hondago-read h2 {
    font-size: 1.2rem;
    padding: 0 40px;
  }
  .hondago-read h2::before,
  .hondago-read h2::after {
    width: 30px;
  }
  .hondago-item {
    padding: 20px;
  }
  .hondago-item h3 {
    font-size: 1.3rem;
  }
  .btn-hondago-reserve a {
    max-width: 100%;
  }
  .hondago-register a {
    flex-direction: column;
    padding: 20px;
  }
  .hondago-register figure {
    margin: 0 auto 15px;
  }
}

/* プログラムページ */
#program.content-box .red em { color: #d9534f; }
#program.content-box .green em { color: #5cb85c; }
#program.content-box .yellow em { color: #f0ad4e; }
#program.content-box .blue em { color: #0275d8; }
#program.content-box .purple em { color: #9370DB; }
#program.content-box .enjoy em { color: #666; }

#program.content-box {
  background: #eee;
}

.program-nav {
    margin-bottom: 20px;
  }
.program-nav ul {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
.program-nav li {
    list-style: none;
}
/* ボタン本体のスタイル */
.program-nav a {
text-decoration: none;
    padding: 10px 35px 10px 20px;
    background: #fff;
    border-radius: 4px;
    /* border: 1px solid #ccc; */
    color: #333;
    position: relative;
    display: inline-block;
}

.program-nav a::after {
  /* --- 提示された擬似要素のスタイル --- */
  content: "";
  width: 8px;
  height: 12px;
  background-image: url(/layout/header/202309/assets/img/icon_arrow_right_bk01.svg);
  background-size: cover;
  background-repeat: no-repeat; /* 念のため繰り返しを無効に */
  position: absolute;
    right: 10px;
    bottom: 30%;
  transform: translateX(-50%) rotate(90deg); /* 左右中央揃えと回転 */
  transition: 0.3s ease;
}
.program-nav a:hover:after {
  bottom: 25%;
}
#program .caution {
      text-align: center;
}
.program-head {
    padding-top: 30px;
    text-align: center;
  }
.program-content {
  padding: 16px;
  background: #fff;
  margin: 20px 0;
  border-radius: 12px;
  display: flex;
  gap: 20px;
}

.program-content.nonbox {
    background: none;
    padding: 0;
    margin: 20px 0 20px;
}

.program-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

.program-content h4 {
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

.program-content p {
  font-size: 14px;
  margin-bottom: 1em;
}

.program-content figure {
  margin: 0;
  text-align: center;
}

.program-content img {
  max-width: 100%;
  border-radius: 7px;
}

.program-content h4,
.program-content h3,
.program-content p {
text-align: left;
}
.program-content p:last-child {
margin-bottom: 0;
}
.program-content h4 {
  margin-bottom: 0;
}
.program-content figure {
    flex: 0 0 50%;
  }
.program-ph {
    display: flex;
    flex: 0 0 50%;
    gap: 10px;
    }
.program-content .program-ph figure {
      margin-bottom: 10px;
    flex: 1;
}
.program-content .time {
  font-weight: 600;
}
.program-content .time em {
    font-style: normal;
    margin-left: 0.3em;
}

/* レスポンシブ対応 (スマートフォン) */
@media (max-width: 767px) {
  .program-nav ul {
    flex-wrap: wrap;
  }
  .program-nav li {
    flex: 0 0 100%;
  }
  .program-nav a {
    display: block;
    text-align: center;
    }
    .program-content {
      flex-wrap: wrap;
    }
    .program-content figure {
    flex: 0 0 100%;
}
.program-content h4,
.program-content h3 {
text-align: center;
}
.program-content h4 {
    margin-bottom: 8px;
}
.program-ph {
  flex: 0 0 100%;
}
.program-content .program-ph figure {
  margin-bottom: 0;
}
}


/* --- ギャラリーの基本スタイル --- */
.gallery-box ul {
  /* CSS Grid を使用して10列のカラムを作成 */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  
  /* 画像間の隙間 (お好みで調整してください) */
  gap: 8px;

  /* ulのデフォルトスタイルをリセット */
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery-box li {
  overflow: hidden; 
  /* アスペクト比を維持 (例: 1:1の正方形) */
  aspect-ratio: 3 / 2; 
}

.gallery-box img {
  /* 親要素(li)いっぱいに画像を表示 */
  width: 100%;
  height: 100%;
  object-fit: cover; /* アスペクト比を維持したままトリミング */
  
  display: block; 
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-box img:hover {
  opacity: 0.8; /* ホバー時に少し透明にする */
}

/* --- ポップアップ (モーダル) スタイル --- */
.modal-overlay {
  /* 画面全体を覆う */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* 背景を半透明の黒に */
  background: rgba(0, 0, 0, 0.85);
  
  /* 画像を中央に配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  
  z-index: 1000; /* 他の要素より手前に表示 */
  cursor: pointer;
  
  /* 最初は非表示 */
  visibility: hidden;
  opacity: 0;
  
  /* フェードイン・アウトのアニメーション */
  transition: visibility 0.3s, opacity 0.3s;
}

/* JSによって 'show' クラスが付与されたら表示 */
.modal-overlay.show {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  /* 画像が画面サイズを超えないように設定 */
  max-width: 90vw;  /* 画面幅の90% */
  max-height: 90vh; /* 画面高さの90% */
  
  /* 画像のアスペクト比を維持 */
  width: auto;
  height: auto;
  
  display: block;
  
  /* 閉じるカーソルをデフォルトに戻す */
  cursor: default;
}

/* --- 既存のギャラリースタイル (省略) --- */
.gallery-box ul {
  /* (省略) */
}
.gallery-box img {
  /* (省略) */
}

/* --- 既存のモーダルスタイル (一部修正) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 11111; /* 基準となるZ-index */
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
.modal-overlay.show {
  visibility: visible;
  opacity: 1;
}
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  cursor: default;
  position: relative; /* z-indexを効かせるため */
  z-index: 1001;     /* ボタン類より下に配置 */
}

/* ▼▼▼▼▼ 以下を style.css に追記 ▼▼▼▼▼ */

/* --- 閉じるボタン (ご指定のCSS) --- */
.pi-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 1003; /* 一番手前に表示 */
  transition: background 0.3s;
}
.pi-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* --- 左右ナビゲーションボタン --- */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  padding: 15px 20px;
  z-index: 1002; /* 閉じるボタンより下、画像より上 */
  border-radius: 4px;
  transition: background 0.3s;
  user-select: none; /* テキスト選択を防ぐ */
}

.modal-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-nav.prev {
  left: 10px;
}
.modal-nav.next {
  right: 10px;
}

/* 最初/最後の画像ではJS側で display: none; を設定します */

/* --- レスポンシブ対応 (画面幅が狭い場合) --- */
@media (max-width: 768px) {
  .gallery-box ul {
    /* スマホなどでは5列にする */
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .gallery-box ul {
    /* さらに狭い画面では3列にする */
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}