@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/



/* -------------------------------------------
 【目次】
   1. 変数定義・グローバル設定
   2.TOPページ
   3.下層ページ
 * ------------------------------------------- */


/* -------------------------------------------
 * 1. 変数定義・グローバル設定 ■■■
 * ------------------------------------------- */

/* 変数 */
:root{
  --base-color: #ffffff;
  --main-color: #146CB9; /*(20, 108, 185)*/
  --main-light-color: #2e86d2; /*(46, 134, 210)*/
  --accent-color: #699d30; /*(105, 157,48)*/
  --text-color: #565656; /*(86, 86, 86)*/
	
/* Typography */
  --font-sans: 'M PLUS 1p', sans-serif;
  --font-heading: 'Noto Serif jp', serif;
  --font-en: 'Noto Serif jp', serif;
  --font-accent: "Roboto", sans-serif;
}

/* グローバル設定 */
.keep{
	pointer-events: none;
	user-select: none;
}

/* リンクテキスト */
.link-text{
	color: var(--text-color);
}

.wp-block-group>.wp-block-group__inner-container>.swell-block-linkList>.swell-block-linkList__item,.swell-block-column>.u-mb-0>.swell-block-linkList__item,.swell-block-column>.u-mb-30>.swell-block-linkList__item .swell-block-linkList__text {
	color: rgba(234,211,199,1)!important;
}


/* 補足テキスト */
.repletion-text{
	font-size: 14px;
	color: #c0c1c1;;
}
.decoration-text{
	font-size: 14px;
	color: #e45653;
}


/* pcでは非表示設定 */
@media screen and (min-width: 801px) {
	.sp{
		display: none;
	}
}
/* スマホでは非表示設定 */
@media screen and (max-width: 800px) {
	.pc{
		display: none;
	}
}


/* SWELLデフォルトのカテゴリアイコン除去 */
.p-postList>.p-postList__item .c-postThumb__cat:before {
	display: none;
}

#content .l-mainContent__inner>.p-articleMetas>.p-articleMetas__termList:before {
	display: none;
}

#main_content .p-articleFoot .p-articleMetas__termList:before {
	display: none;
}

/* SWELLデフォルト時計アイコン削除 */
.p-postList__meta :before{
	display: none;
}
.c-postTimes__modified:before, .c-postTimes__posted:before{
	display: none;
}

/* アーカイブページSWELLデフォルトサブタイトル削除 */
#main_content .c-pageTitle__subTitle {
	display: none;
}


/* PCメニュー(フルワイドメガメニュー化) */
@media screen and (min-width: 801px) {
  /* 1. 画面幅いっぱいに広げるための「親要素リセット」 */
  /* 通常ヘッダー（.l-header）と追従ヘッダー（.l-fixHeader）の両方に対応 */
  .l-header__inner,
  .l-fixHeader__inner,
  .c-nav,
  .c-nav__list,
  li.custom-full-mega,
  li.custom-text-mega {
      position: static !important;
  }

  /* メガメニュー（全体枠）のフルワイド化（画像版・テキスト版共通） */
  li.custom-full-mega > ul.sub-menu,
  li.custom-text-mega > ul.sub-menu {
      position: absolute !important;
      top: 100% !important;
      left: 0 !important;
      right: 0 !important;
      width: 100vw !important;
      margin: 0 !important;
      background-color: rgba(30, 30, 30, 0.5) !important;
      padding: 40px 5% !important;
      display: grid !important;
      grid-template-columns: repeat(5, 1fr) !important;
      gap: 0 !important;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease, visibility 0.5s !important;
      transform: none !important;
  }

  li.custom-full-mega:hover > ul.sub-menu,
  li.custom-text-mega:hover > ul.sub-menu {
      opacity: 1 !important;
      visibility: visible !important;
  }

  /* 子メニュー（各項目）の枠線設定 */
  li.custom-full-mega > ul.sub-menu > li,
  li.custom-text-mega > ul.sub-menu > li {
      width: 100% !important;
      border-bottom: none !important;
      border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
      position: relative !important;
  }

  li.custom-full-mega > ul.sub-menu > li:last-child,
  li.custom-text-mega > ul.sub-menu > li:last-child {
      border-right: none !important;
  }

  /* リンクレイアウトの設定 */
  li.custom-full-mega > ul.sub-menu > li > a,
  li.custom-text-mega > ul.sub-menu > li > a {
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important; /* テキストのみの場合は縦の中央に配置 */
      padding: 0 15px !important;
      color: #fff !important;
      text-align: center !important;
      background: transparent !important;
      transition: all 0.3s ease !important;
      height: 100%; /* クリック判定を広げる */
  }

  /* SWELL標準の矢印（>）を消去 */
  li.custom-full-mega > ul.sub-menu > li > a::after,
  li.custom-full-mega > ul.sub-menu > li > a::before,
  li.custom-text-mega > ul.sub-menu > li > a::after,
  li.custom-text-mega > ul.sub-menu > li > a::before {
      content: none !important;
      display: none !important;
  }

  /* 【画像版】固有のスタイル（画像設定） */
  li.custom-full-mega > ul.sub-menu > li > a img {
      width: 90%;
      height: auto;
      aspect-ratio: 16 / 8;
      object-fit: cover;
      margin-bottom: 15px;
      border-radius: 0;
      transition: filter 0.4s ease !important;
  }

  /* 共通テキストスタイル（色変化のアニメーションを付与） */
  li.custom-full-mega > ul.sub-menu > li > a span,
  li.custom-text-mega > ul.sub-menu > li > a span {
      font-size: 16px!important;
      line-height: 1.4;
      font-weight: 700!important;
      transition: color 0.3s ease !important;
  }

  /* ホバー時のアクション（SWELL標準の動きを制御＋独自エフェクト） */
  
  /* aタグ本体：横ズレ防止と背景色の固定（通常・追従・画像版・テキスト版すべて網羅） */
  body .l-header li.custom-full-mega ul.sub-menu li a:hover,
  body .l-header li.custom-full-mega ul.sub-menu li:hover > a,
  body .l-fixHeader li.custom-full-mega ul.sub-menu li a:hover,
  body .l-fixHeader li.custom-full-mega ul.sub-menu li:hover > a,
  body .l-header li.custom-text-mega ul.sub-menu li a:hover,
  body .l-header li.custom-text-mega ul.sub-menu li:hover > a,
  body .l-fixHeader li.custom-text-mega ul.sub-menu li a:hover,
  body .l-fixHeader li.custom-text-mega ul.sub-menu li:hover > a {
      transform: translateX(0) !important;
      translate: 0 !important;
      left: 0 !important;
      padding: 0 15px !important;
      margin-left: 0 !important;
      text-indent: 0 !important;
      background-color: transparent !important;
  }

  /* 画像：暗くなるエフェクト＋縦ズレ(上ブレ)防止（※画像版・通常＆追従ヘッダー対応） */
  body .l-header li.custom-full-mega ul.sub-menu li a:hover img,
  body .l-header li.custom-full-mega ul.sub-menu li:hover > a img,
  body .l-fixHeader li.custom-full-mega ul.sub-menu li a:hover img,
  body .l-fixHeader li.custom-full-mega ul.sub-menu li:hover > a img {
      filter: brightness(0.7) !important;
      margin-bottom: 15px !important;
      transform: none !important;
  }

  /* テキスト(span)：単体での横ズレ防止（通常・追従・画像版・テキスト版すべて網羅） */
  body .l-header li.custom-full-mega ul.sub-menu li a:hover span,
  body .l-header li.custom-full-mega ul.sub-menu li:hover > a span,
  body .l-fixHeader li.custom-full-mega ul.sub-menu li a:hover span,
  body .l-fixHeader li.custom-full-mega ul.sub-menu li:hover > a span,
  body .l-header li.custom-text-mega ul.sub-menu li a:hover span,
  body .l-header li.custom-text-mega ul.sub-menu li:hover > a span,
  body .l-fixHeader li.custom-text-mega ul.sub-menu li a:hover span,
  body .l-fixHeader li.custom-text-mega ul.sub-menu li:hover > a span {
      transform: translateX(0) !important;
      translate: 0 !important;
      left: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
  }

  /* テキスト子メニューホバー時の色変化 */
  li.custom-text-mega > ul.sub-menu > li > a:hover span {
      color: #ff9d0a !important;
  }
}

/* 埋もれた追従ヘッダー内ロゴを前面に */
#body_wrap > #fix_header .c-headLogo{
  z-index: 1;
}


/* スマホメニュー(オリジナルメニュー化) */
.sp-menu-title{
	color: var(--main-color);
}
@media screen and (max-width: 800px) {
/*メニューの内容を消す*/
    .p-spMenu__nav{
	    display:none;
    }
/*メニューのタイトルを消す*/
    .c-widget__title.-spmenu{
        display:none;
    }
}



/* カスタムボタン01-PDFリンクコンポーネント */
.c-pdf-link-wrapper {
  text-align: center;
  margin: 1.5em 0; 
}

.c-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em; 
  padding: 0.5em 1em; 
  color: #333333; 
  text-decoration: none;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent; 
}

/* 下線 */
.c-pdf-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px; 
  background-color: currentColor; 
  opacity: 1; 
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* アイコンの基本スタイル */
.c-pdf-link__icon {
  flex-shrink: 0;
  width: 1.8em; 
  height: 1.8em;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ホバー時のインタラクション（PCなど）*/
@media (hover: hover) and (pointer: fine) {
  .c-pdf-link:hover::after {
    opacity: 0; 
  }
}


/* タップ時のインタラクション（スマホ・タブレット用）*/
@media (hover: none) {
  .c-pdf-link:active {
    opacity: 0.5;
    transition: opacity 0.1s ease-out; 
  }
}


/* ==========================================
   スマホ・タブレット環境（800px以下）
   設定値: 40svh（画面の高さの40%）
========================================== */
@media screen and (max-width: 800px) {
  #main-visual,
  .p-mainVisual,
  .p-mainVisual__swiper,
  .p-mainVisual__slide,
  .p-mainVisual__imgLayer {
    /* JSで取得した画面の高さの40%（0.4倍）を適用 */
    height: calc(var(--fv-vh, 100svh) * 0.4) !important;
    min-height: calc(var(--fv-vh, 100svh) * 0.4) !important;
  }
}

/* ==========================================
   PC環境（801px以上）
   設定値: 50svh
   ※PCはアドレスバー問題がないため通常のsvhでOK
========================================== */
@media screen and (min-width: 801px) {
  #main-visual,
  .p-mainVisual,
  .p-mainVisual__swiper,
  .p-mainVisual__slide,
  .p-mainVisual__imgLayer {
    height: 50svh !important;
    min-height: 50svh !important;
  }
}

/* ==========================================
   共通設定（崩れ防止）
========================================== */
.p-mainVisual__textLayer {
  height: 100% !important;
}


/* =======================================
 * 2.TOPページ ■■■
======================================= */

/* FVタイトル・テキスト */
#body_wrap>#main_visual .p-mainVisual__slideTitle {
	font-weight: 100;
	font-size: 2rem;
}

#body_wrap>#main_visual .p-mainVisual__slideText {
	font-weight: 300;
	text-decoration: overline;
	letter-spacing: 2px;
}

/* トップページh2見出し */
.home_h2{
	font-family: var(--font-heading);
	font-weight: 300!important;
	display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.8rem!important;
    color: var(--main-color)!important;
    white-space: nowrap; /* テキスト改行防止 */
}

.home_h2::after {
    content: ""!important;
    display: block;
    flex-grow: 1;
    height: 2px;
    background-color: var(--main-light-color);
}

@media screen and (max-width: 800px) {
    .home_h2{
	    font-size: 1.5rem!important;	
	}
}


/* カード型レイアウト */
/* 大枠のグリッドコンテナ（PC用：3カラム） */
.activity-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* シンプルな3カラムに設定 */
  gap: 24px;
  margin: 40px 0;
  width: 100%;
}

/* 3番目の要素（下段左の「新風荘」）を強制的に次の行の1列目に配置する */
/* これにより、上段の3列目（右端）が空きスペースになります */
.activity-card:nth-child(3) {
  grid-column: 1;
}

/* カード全体の共通スタイル */
.activity-card {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 0;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー（マウスオーバー）時のアクション */
.activity-card:hover {
  opacity: 0.7;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* 白い円形のアイコン枠 */
.activity-icon-wrap {
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 18px;
  overflow: hidden;
}

/* 円の中のPNGアイコン調整 */
.activity-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* ホバー時に中のアイコンも連動して少し拡大 */
.activity-card:hover .activity-icon-wrap img {
  transform: scale(1.1);
}

/* テキストを縦に並べるラッパー */
.activity-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* 日本語タイトル（太字） */
.activity-title-ja {
  font-size: 28px;
  font-family: "Kaisei HarunoUmi", serif;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
}

/* 英語タイトル */
.activity-title-en {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.75;
  letter-spacing: 0.08em;
}

/* 各カードの背景カラー設定 */
.card-01  { background-color: #00A4B6; }
.card-02  { background-color: #007BFF; }
.card-03  { background-color: #1A5F7A; }
.card-04  { background-color: #2E8B57; }
.card-05  { background-color: #3CB371; }
.card-06  { background-color: linear-gradient(135deg, #008B9C 0%, #007382 100%); }

.activity-card:hover {
  opacity: 0.9; 
  box-shadow: 0 16px 32px rgba(0, 40, 50, 0.4); 
}

/* スマホ・タブレット用（800px以下の制約条件） */
@media screen and (max-width: 800px) {
  /* スマホ用：1カラムに変更 */
  .activity-grid-container {
    grid-template-columns: 1fr; 
    gap: 12px;
    margin: 24px 0;
  }
  
  /* PC用で設定した配置指定をリセットして自然な1カラム表示に戻す */
  .activity-card:nth-child(3) {
    grid-column: auto;
  }
  
  /* スマホでのカード内のサイズ微調整 */
  .activity-card {
    padding: 16px 22px;
  }
  
  .activity-icon-wrap {
    width: 68px;
    height: 68px;
    margin-right: 22px;
  }
  
  .activity-title-ja {
    font-size: 1.5rem;
  }
  
  .activity-title-en {
    font-size: 12px;
  }
}


/* ---------------------------------------
   PC用（801px以上の制約条件）
--------------------------------------- */
@media screen and (min-width: 801px) {
/* 新着情報MOREボタン (コンパクトに) */
  #main_content>div>div>div:nth-child(2)>div>div>div>a {
	  min-width: 36%;
  }

/* 新着情報MOREボタン (コンパクトに) */
  #main_content>div>div>div:nth-child(3)>div:nth-child(2)>div>div>a {
	  min-width: 36%;
  }
}

/* カスタムバナーリンク（2カラム / オーバーレイフェード） */

/* グリッドレイアウトの設定 */
.custom-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* バナー間の余白 */
  width: 100%;
  margin: 0 auto 2em; /* SWELLの標準的な下部余白に合わせる */
}

/* スマホ用レイアウト（800px以下で1カラム） */
@media screen and (max-width: 800px) {
  .custom-banner-grid {
    grid-template-columns: 1fr;
    gap: 15px; /* スマホ時の余白を少し狭める */
  }
}

/* バナーカード本体 */
.custom-banner-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0; 
  text-decoration: none !important;
  background-color: #f5f5f5;
  aspect-ratio: 16 / 6; /* 縦横比を固定。画像サイズが異なってもOK */
  transition: transform 0.4s ease;
}

/* 画像の設定 */
.custom-banner-card img.custom-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を維持したまま要素を埋める */
  display: block;
  transition: transform 0.4s ease;
}

/* オーバーレイ（通常時：色つき、ホバー時：透明にフェードアウト） */
.custom-banner-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

/* 左側のバナー（is-color-1） */
.custom-banner-card.is-color-1::after {
  background-color: rgba(160, 190, 150, 0.6); 
}

/* 右側のバナー（is-color-2） */
.custom-banner-card.is-color-2::after {
  background-color: rgba(130, 170, 190, 0.6); 
}

/* ホバー時の挙動 */
.custom-banner-card:hover{
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.custom-banner-card:hover::after {
  opacity: 0; /* ホバーでオーバーレイを透明に */
}

/* テキストのスタイル */
.custom-banner-card .custom-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  width: 90%;
  line-height: 1.4;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.6);
}

/* スマホ時の文字サイズ微調整 */
@media screen and (max-width: 800px) {
  .custom-banner-card .custom-banner-text {
    font-size: 1.25rem;
  }
}





/* =========================================
   無限スクロール セクション
========================================= */
.custom-infinite-scroll-wrapper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  
  /* ② PC用の縦幅設定 */
  height: 400px;
}

/* トラック（画像を並べて動かす箱） */
.custom-infinite-scroll-track {
  display: flex;
  width: max-content;
  animation: infiniteScrollLeft 80s linear infinite;
}

/* ホバー時にスクロールを一時停止させる場合は以下のコメントアウトを消去 */
/*
.custom-infinite-scroll-wrapper:hover .custom-infinite-scroll-track {
  animation-play-state: paused;
}
*/

/* スクロールする画像 */
.custom-infinite-img {
  /* 親要素の高さを継承 */
  height: 400px;
  width: auto;
  object-fit: contain; /* 画像の比率を崩さず表示 */
  margin-right: 20px;
  pointer-events: none;      /* クリック・右クリック・長押しを無効化 */
  user-select: none;         /* テキスト選択のような動作を無効化 */
}

/* =========================================
   スマホ用（800px以下）のレスポンシブ設定
========================================= */
@media screen and (max-width: 800px) {
  .custom-infinite-scroll-wrapper {
    /* スマホ用の縦幅設定 */
    height: 250px;
  }
  .custom-infinite-img {
    height: 250px;
  }
}

/* =========================================
   アニメーションのキーフレーム
========================================= */
@keyframes infiniteScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 800px) {
.gallery-strip img{
	aspect-ratio: 16/7!important;
}
}



/* =======================================
 * 3.下層ページ ■■■
 * ======================================= */

/* ページ見出しh2(施設限定) */
.facility_page_title {
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  padding: 0 0 0 10px;
  margin-bottom: 1.5em;
  line-height: 1.4;
}

/* メインの日本語見出し */
.facility_page_title__main {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 2.4px;
  color: var(--main-color);
  z-index: 2;
}

/* 背景の英語文字 */
.facility_page_title__bg {
  position: absolute;
  top: 50%;
  left: 5rem; /* 後半に被る位置 */
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: 100;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  color: rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  letter-spacing: 0.05em;
  z-index: -1;
  pointer-events: none;
}

/* =========================================
   スマホ・タブレット対応（800px以下）
========================================= */
@media (max-width: 800px) {
  .facility_page_title__main {
    font-size: 1.8rem; /* スマホ用のサイズに縮小 */
  }

  .facility_page_title__bg {
    font-size: 4rem;
    left: 1.5rem;
  }
}

/* h2見出し02 */
.lower_layer_h2 {
  position: relative!important;
  display: block!important;
  width: fit-content!important;
  margin: 100px auto!important;
  padding: 0 55px!important;
}

.lower_layer_h2:before, .lower_layer_h2:after {
  content: ''!important;
  position: absolute!important;
  top: 50%!important;
  display: inline-block!important;
  width: 45px!important;
  height: 1px!important;
  background-color: black;
}

.lower_layer_h2:before {
  left:0;
}
.lower_layer_h2:after {
  right: 0;
}

/* h3見出し */
.lower_layer_h3 {
  position: relative!important;
  display: block!important;
  color: #a99741;
  border-bottom: solid 1px #a99741!important;
}

/* h3見出し(本郷クラブ) */
.hongou_lower_layer_h3{
  position: relative!important;
  display: block!important;
  color: #c0c1c1;
  border-bottom: solid 1px #999B9B!important;
}

/* h3見出し(本郷クラブ) 施設概要内料理メニューのみ*/
.price-text{
  color: #c0c1c1;
  font-size: 14px;
}


/* ===================================================
   アクセスセクション：ベーススタイル（PC・スマホ共通）
=================================================== */
.custom-access-section {
  position: relative;
  width: 100%;
  background-color: transparent;
  overflow: hidden;
}

/* インナーコンテナ（PCでのテキスト位置を制御） */
.custom-access-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

/* テキストエリアの装飾 */
.custom-access-title {
  font-family: "Times New Roman", serif;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: #888;
}

.custom-access-desc {
  line-height: 2;
  margin-bottom: 3rem;
  color: #565656;
}

/* ボタンの装飾 */
.custom-access-btn {
  display: inline-block;
  padding: 16px 48px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  background-color: #fff;
  transition: all 0.3s ease;
  z-index: 4;
}
.custom-access-btn:hover {
  background-color: #333;
  color: #fff;
}

@media (max-width: 800px) {
	.custom-access-btn {
		display: flex;
	    justify-content: center;
	}
}

/* iframe自体の設定 */
.custom-access-map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================================
   下部コンテンツ（画像）のベーススタイル
=================================================== */
.custom-access-bottom {
  position: relative;
  width: 100%;
  z-index: 1; /* 一番背面に配置 */
}

.custom-access-bottom-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 画像への白色オーバーレイ（半透明フィルター） */
.custom-access-bottom::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}


/* ===================================================
   PC版（ブロークングリッド・レイアウトと重なりの調整）
=================================================== */
@media screen and (min-width: 801px) {
  .custom-access-section {
    padding-top: 120px;
    padding-bottom: 0; 
  }

  .custom-access-text {
    width: 30%;
    padding-top: 40px;
  }

  /* マップを右側に絶対配置 */
  .custom-access-map {
    position: absolute;
    top: 60px;
    right: 0;
    width: 60vw;
    height: 480px;
    z-index: 4; /* 一番上に配置 */
    box-shadow: -10px 10px 30px rgba(0,0,0,0.05);
  }

  /* 下部コンテンツの位置調整 */
  .custom-access-bottom {
    /* 数値を変更してマップとの重なり具合・ズレを調整 */
    margin-top: -30px; 
  }
  
  .custom-access-bottom-img {
    height: 400px;
  }
}


/* ===================================================
   スマホ版（1カラムレイアウトと重なりの調整）
=================================================== */
@media screen and (max-width: 800px) {
  .custom-access-section {
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    padding-bottom: 0; 
  }

  .custom-access-inner {
    width: 100%;
    margin-bottom: 40px;
  }

  .custom-access-title {
    font-size: 2rem;
  }

  /* スマホではマップを全幅表示 */
  .custom-access-map {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 400px;
    z-index: 3;
  }
  
  .custom-access-bottom {
    margin-top: -30px; /* スマホでの重なり具合 */
  }
  .custom-access-bottom-img {
    display: none;
  }
}

/* 初期状態（透明 & 少し下に配置） */
.custom-access-map {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 発火状態（JavaScriptによって .is-active が付与された時のスタイル） */
.custom-access-map.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}


/* ==================================================
   Route Flow (道順コンテンツ)
================================================== */
.route-section {
    /* --- カラー＆サイズの変数設定 --- */
    --heading-color: #606060;
    --heading-line-color: rgba(20, 108, 185, 1);
    --box-bg-color: #e5e5e5;
    --box-text-color: #333333;
    --line-color: #999999;
    --line-width: 2px;
    --dest-bg-color: #999999;
    --dest-text-color: #333333;
    --box-padding: 1.2em 1em;
    --gap-size: 60px;

    width: 100%;
    margin: 0 auto;
    font-family: "Yu Mincho", "Noto Serif JP", serif;
  }

  /* 1. 見出し部分のスタイル */
  .route-heading-wrapper {
    text-align: center;
    margin-bottom: 40px;
  }

  .route-heading {
    color: var(--heading-color);
    font-size: 1.3rem;
    font-weight: normal;
    letter-spacing: 0.15em;
    margin: 0 0 20px 0;
  }

  /* 見出し下の装飾ラインと下矢印（∨） */
  .route-heading-line {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: var(--heading-line-color);
    margin: 0 auto;
  }

  .route-heading-line::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 1px solid var(--heading-line-color);
    border-right: 1px solid var(--heading-line-color);
    background-color: transparent;
  }

  /* 本郷クラブ説明テキスト */
  .hougou-explain-text{
	font-size: 1.2rem;
  }
   @media screen and (max-width: 800px) {
   .hougou-explain-text{
	 font-size: 1.1rem;
  }
}

  /* 道順リスト全体の構造 */
  .route-flow-list {
    position: relative;
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-size);
  }

  /* 貫通する縦ライン */
  .route-flow-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--line-width);
    background-color: var(--line-color);
    z-index: 1; /* ボックスの下に配置 */
  }

  /* 各ボックスのスタイル */
  .route-flow-item {
    position: relative;
    z-index: 2; /* 縦ラインの上に配置してラインを隠す */
    background-color: var(--box-bg-color);
    color: var(--box-text-color);
    text-align: center;
    padding: var(--box-padding);
    font-size: 1rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
  }

  .route-line{
	background-color: #f9f9ed;
	box-shadow: inset 0 0 0 1px #000;
  }

  /* 最終目的地ボックスのスタイル（上書き） */
  .route-flow-item.is-destination {
    background-color: var(--dest-bg-color);
    color: var(--dest-text-color);
  }


  /* 本郷クラブ経路カスタマイズ }*/
  .access-info-wrapper {
    /* --- カラー設定 --- */
    --icon-color: #565656; /* ピンアイコンの色 */
    --text-color: #565656; /* テキストの色 */
    
    /* --- レイアウト設定 --- */
    --gap-x: 40px; /* PC表示時の左右カラムの隙間 */
    --gap-y: 32px; /* 上下の隙間 */
    --icon-size: 40px; /* アイコンの大きさを倍に変更（20px -> 40px） */

    width: 100%;
    margin: 0 auto;
    font-family: "Yu Mincho", "Noto Serif JP", serif;
    color: var(--text-color);
  }

  .access-info-grid {
    display: grid;
    grid-template-columns: 1fr; /* デフォルト（スマホ）は1列 */
    gap: var(--gap-y) 0;
  }

  @media (min-width: 800px) {
    .access-info-grid {
      grid-template-columns: repeat(2, 1fr); /* PCは均等に2列 */
      gap: var(--gap-y) var(--gap-x);
    }
  }

  .access-info-item {
    display: flex;
    align-items: center; /* flex-start から center に変更し、垂直方向の中央に配置 */
    gap: 16px; /* アイコンとテキストの隙間 */
  }

  .access-info-icon {
    flex-shrink: 0; /* アイコンが潰れないようにする */
    width: var(--icon-size);
    height: auto;
    fill: var(--icon-color);
    /* margin-top: 3px; は不要になるため削除しました */
  }

  .access-info-text {
    display: flex;
    flex-direction: column;
    gap: 6px; /* 1行目と2行目の隙間 */
    line-height: 1.4;
    letter-spacing: 0.1em; /* 少し字間を空けて上品に */
  }

  .access-info-title,
  .access-info-desc {
    font-size: 1rem; /* 文字サイズ（必要に応じて調整） */
  }



/* ==================================================
   フォーム
================================================== */

.form-wrapper {
            max-width: 1000px;
            margin: 0 auto;
            background: #fff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }

        /* --- ヘッダー案内ブロック --- */
        .info-header {
            display: flex;
            border: 1px solid #e0e0e0;
            margin-bottom: 40px;
            border-radius: 4px;
            overflow: hidden;
        }

        .info-left {
            background-color: #eaf4fc; /* 淡い水色 */
            padding: 30px;
            width: 50%;
        }

        .info-left ul {
            margin: 0;
            padding-left: 20px;
            font-size: 14px;
        }

        .info-left li {
            margin-bottom: 8px;
        }

        .required-mark {
            color: #c00000;
        }

        .info-right {
            padding: 30px;
            width: 50%;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .info-right .tel-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .info-right .tel-number {
            font-size: 32px;
            font-family: serif;
            font-weight: bold;
            color: #333;
            margin: 4px 0 0 0;
            text-decoration: none;
        }

        .info-right .tel-desc {
            font-size: 12px;
            color: #666;
            line-height: 1.4;
			margin-bottom: 12px;
			
        }

        /* --- ステップバー --- */
        .step-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        .step-item {
            flex: 1;
            text-align: center;
            padding: 16px 10px;
            background-color: #eee;
            color: #888;
            font-weight: bold;
            font-size: 16px;
            border-radius: 2px;
            letter-spacing: 0.05em;
        }

        .step-item.active {
            background-color: #333;
            color: #fff;
        }

        .step-arrow {
            width: 0; 
            height: 0; 
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
            border-left: 10px solid #ccc;
            margin: 0 15px;
        }

        /* --- フォーム本体（テーブル型レイアウト） --- */
        .form-table {
            width: 100%;
            border-top: 3px solid #c00000; /* デザインアクセントの赤い線 */
            border-bottom: 1px solid #ddd;
        }

        .form-row {
            display: flex;
            border-bottom: 1px solid #ddd;
        }

        .form-label {
            width: 30%;
            background-color: #f9f9f9;
            padding: 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: bold;
            font-size: 15px;
            box-sizing: border-box;
        }

        .form-input {
            width: 70%;
            padding: 24px;
            background-color: #fff;
            box-sizing: border-box;
        }

        /* 入力フィールドのスタイル */
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
            font-family: inherit;
            box-sizing: border-box;
            transition: all 0.3s ease;
            background-color: #fff;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="tel"]:focus,
        textarea:focus {
            outline: none;
            border-color: #333;
            box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
        }

        textarea {
            min-height: 100px;
			height: 150px;
            resize: vertical;
        }

        /* ラジオボタン（同意用） */
        .radio-group {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .radio-group label {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 15px;
        }

        .radio-group input[type="radio"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        /* --- 送信ボタンエリア --- */
        .submit-area {
            text-align: center;
            margin-top: 40px;
        }

        .submit-btn {
            background-color: #222;
            color: #fff;
            border: none;
            padding: 18px 60px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            letter-spacing: 0.1em;
        }

        .submit-btn::after {
            content: '>';
            position: absolute;
            right: 25px;
            font-family: sans-serif;
            transition: transform 0.3s;
        }

        .submit-btn:hover {
            background-color: #444;
        }

        .submit-btn:hover::after {
            transform: translateX(5px);
        }

        /* --- プレビュー用：CF7タグ表示エリア --- */
        .cf7-code-display {
            margin-top: 60px;
            padding: 20px;
            background: #2d2d2d;
            color: #f8f8f2;
            border-radius: 8px;
            font-size: 14px;
        }
        .cf7-code-display h3 { margin-top: 0; color: #a6e22e; }
        .cf7-code-display pre { overflow-x: auto; white-space: pre-wrap; }


        /* =========================================
           スマートフォン用レスポンシブ設計（重要）
           ========================================= */
        @media (max-width: 800px) {
            .form-wrapper {
                padding: 20px;
            }
            
            /* ヘッダーブロックを縦積みに */
            .info-header {
                flex-direction: column;
            }
            .info-left, .info-right {
                width: 100%;
                padding: 20px;
            }
            .info-left {
                border-bottom: 1px solid #e0e0e0;
            }

            /* ステップバーの最適化 */
            .step-bar {
                margin-bottom: 25px;
            }
            .step-item {
                font-size: 13px;
                padding: 12px 5px;
                letter-spacing: normal;
            }
            .step-arrow {
                margin: 0 5px;
                border-top: 6px solid transparent;
                border-bottom: 6px solid transparent;
                border-left: 8px solid #ccc;
            }

            /* フォームを縦積みに変更（UX向上） */
            .form-row {
                flex-direction: column;
                border-bottom: none;
                margin-bottom: 20px;
            }
            .form-table {
                border-bottom: none;
            }
            .form-label {
                width: 100%;
                padding: 10px 0;
                background-color: transparent;
                border-bottom: 1px solid #333;
                margin-bottom: 10px;
            }
            .form-input {
                width: 100%;
                padding: 0;
            }
            
            /* スマホでのボタン幅を最大化 */
            .submit-btn {
                width: 100%;
                padding: 18px 0;
            }
			
			/* 電話番号テキスト調整 */
			.info-right .tel-number{
				font-size: 18px;
			}
        }

/* =========================================
   個人情報の取り扱い スクロールボックス
   ========================================= */
.privacy-scroll-box {
    height: 160px; /* ボックスの高さ（必要に応じて数値を調整してください） */
    overflow-y: auto; /* 縦スクロールを有効にする */
    border: 1px solid #ccc;
    background-color: #fafafa;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.privacy-scroll-box p {
    margin-top: 0;
    margin-bottom: 1em;
}

.privacy-scroll-box p:last-child {
    margin-bottom: 0;
}

/* スクロールバー自体のデザイン（Webkit系ブラウザ用） */
.privacy-scroll-box::-webkit-scrollbar {
    width: 8px;
}
.privacy-scroll-box::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.privacy-scroll-box::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
.privacy-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #aaa; 
}


/* =========================================
   確認画面（Step2）用の微調整CSS
   ========================================= */
/* 読み取り専用（readonly）の入力枠デザインをリセットし、ただのテキストに見せる */
.confirm-table input[type="text"],
.confirm-table input[type="email"],
.confirm-table input[type="tel"],
.confirm-table textarea {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #333;
    pointer-events: none; /* クリック不可にする */
}

/* テキストエリアの高さを自動化し、スクロールバーを消す */
.confirm-table textarea {
    min-height: auto;
    resize: none;
    overflow: hidden;
}

/* スマホ表示時、戻るボタンと送信ボタンを縦並びに */
@media (max-width: 800px) {
    .submit-area {
        flex-direction: column-reverse; /* 修正するボタンを下に */
        gap: 15px !important;
    }
    .submit-area button,
    .submit-area input[type="submit"] {
        width: 100% !important;
    }
}

/* =========================================
   サンクスページ（Step3）用の微調整CSS
   ========================================= */
.thanks-message {
    text-align: center;
    padding: 50px 30px;
    background-color: #f9f9f9; /* 上品な薄いグレー */
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 40px;
}

.thanks-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.thanks-message p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.thanks-note {
    font-size: 13px;
    line-height: 1.6;
    color: #888;
    text-align: left;
    display: inline-block;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    border-left: 3px solid #ccc;
    margin-top: 10px;
}

/* 戻るボタンの矢印の向きを逆（左）にするアレンジ */
.submit-btn.back-home-btn {
    padding: 18px 60px 18px 40px;
}
.submit-btn.back-home-btn::after {
    display: none; /* 右向き矢印を消す */
}
.submit-btn.back-home-btn::before {
    content: '＜';
    position: absolute;
    left: 25px;
    font-family: sans-serif;
    transition: transform 0.3s;
}
.submit-btn.back-home-btn:hover::before {
    transform: translateX(-5px);
}