@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("theme.css");
@import url("parts.css");
@import url("inview.css");


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {right: -200px;}
	100% {right: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html {
	font-size: clamp(12px, 0.585vw + 9.80px, 18px);	/*画面幅375px〜1400pxの間で、12px〜18pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	-webkit-text-size-adjust: none;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}


/*section
---------------------------------------------------------------------------*/
section {
	padding: var(--content-space-v, var(--content-space-l)) max(var(--content-space-l), calc((100% - 1100px) / 2));
}
/*上下、左右へのsection内の余白。theme.cssのcontent-space-vとcontent-space-lを読み込み。上下のセクションが隣り合うと、2つ分の余白に。*/
}

/*section内の最初と最後の要素のマージンはリセット（余白はsectionのpaddingで管理する為）*/
section > :first-child {margin-top: 0;}
section > :last-child {margin-bottom: 0;}

/*見出しの上のマージンもリセット（同上。ブロックの中に入っていてもsectionの余白が変わらないようにする為）*/
main h2 {margin-top: 0;}

/*section間の余白を消したい場合用。1つ目のsectionにだけclass="mb0"を追加する。*/
section.mb0:not(.bg-parts) {padding-bottom: 0;}
section.mb0 + section:not(.bg-parts) {padding-top: 0;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.3);	/*少しだけ明るくする*/
	text-decoration: none;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.2s both;  /*0.2(2つ目の数字)秒待機後、0.2(1つ目の数字)秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
}


/*main
---------------------------------------------------------------------------*/
main {
	container-type: inline-size;
}
/*トップ以外のmain*/
body:not(.home) main {
	padding-top: 50px;	/*下のheaderの高さ以上であれば適当でも構いません。*/
}

/*main内で使用するul,ol要素（リストタグ）*/
main ul,main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	height: 50px;	/*ヘッダーの高さ*/
	padding-inline: var(--content-space-s);	/*左右にtheme.cssのcontent-space-sを読み込み*/
    background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込み*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込み*/
    position: fixed;	/*画面の一定箇所で固定表示*/
    z-index: 100;
    width: 100%;
    transition: transform 0.5s ease, opacity 0.5s ease;	/*スクロールでheaderがフェードする際にかける時間。*/
    display: flex;	/*中身を横並びに*/
    align-items: center;
    gap: var(--content-space-s);	/*中のコンテンツ同士に空けるマージン的な余白。theme.cssのcontent-space-sを読み込み*/
    font-size: 0.9rem;	/*文字サイズ90%*/
	font-weight: bold;
}

/*隠す際のスタイル*/
.site-header.is-hide {
	opacity: 0;
	transform: translateY(-100%); /*真上に隠す*/
	pointer-events: none; /*消えている間はクリックを無効化*/
}

/*ロゴ（※画像の場合）*/
#logo {margin: 0;flex-shrink: 0;}
#logo img {
	display: block;
	width: 200px;	/*ロゴの幅。*/
}

/*ロゴ（※テキストの場合）*/
#logo a {text-decoration: none;}
#logo {
	width: auto;
	font-size: 1.4rem;	/*文字サイズ。140%*/
}


/*header内のメニュー（※開閉メニューとはブロックが異なります）
---------------------------------------------------------------------------*/
#menubar2 ul {margin: 0;padding: 0;}

/*メニューブロック全体の設定*/
#menubar2 {
	flex: 1;
}
#menubar2 > nav > ul {
	display: flex;
	justify-content: flex-end;	/*メニューを右寄せにする*/
	gap: 1rem;	/*メニュー同士に空けるスペース*/
}

	/*画面幅800px以下の追加指定*/
	@media screen and (max-width:800px) {

	#menubar2 {
		display: none;	/*非表示に*/
	}

	}/*追加指定ここまで*/


/*メニュー１個あたりの設定*/
#menubar2 li a {
	display: block;text-decoration: none;
}


/*header内のSNSボタン（Facebook）
---------------------------------------------------------------------------*/
.header-sns {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;		/*ボタンの幅*/
	height: 32px;		/*ボタンの高さ*/
	margin-left: auto;	/*メニューが非表示になる小さな画面でも右寄せにする*/
	border-radius: 50%;	/*円形*/
	background: var(--primary-inverse-color);	/*背景色。theme.cssのprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*アイコン色。theme.cssのprimary-colorを読み込みます。*/
	font-size: 1rem;	/*アイコンサイズ*/
	text-decoration: none;
}

/*小さな画面では、右上に固定されたハンバーガーボタン（幅70px）の左隣に配置*/
.small-screen .header-sns {
	margin-right: calc(70px - var(--content-space-s));
}


/*header内のメニューのドロップダウンメニュー（※開閉メニューとはブロックが異なります）
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
#menubar2 ul ul {
	position: absolute;z-index: 100;
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
	border: 1px solid var(--bg-inverse-color);	/*枠線の幅、線種、var以降は色のことでtheme.cssのbg-inverse-colorを読み込みます*/
}

/*最後のメニュー以外に、下の線を入れる*/
#menubar2 ul ul li:not(:last-child) {
	border-bottom: 1px solid var(--bg-inverse-color);	/*下線の幅、線種、var以降は色のことでtheme.cssのbg-inverse-colorを読み込みます*/
}

/*メニュー１個あたり*/
#menubar2 ul ul a {
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	padding: 0.2rem 1rem;	/*上下に0.2文字分、左右に1文字分の余白*/
}


/*開閉メニュー（開閉メニュー用のhtmlコードは、htmlの下の方にあります）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px var(--content-space-l) 50px;	/*上下に100px、左右にtheme.cssのcontent-space-lで指定しているサイズ、下に50pxの余白*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*背景色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

.small-screen #menubar {display: none;}

/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
	border-radius: 5px;		/*角を少し丸くする*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	border: none;
	margin-left: 2rem;	/*左に２文字分のスペースを空ける*/
	padding: 0.5rem 1.5rem;	/*メニュー内の余白。上下に0.5文字分、左右に1.5文字分。*/
	background: #eee;	/*背景色*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";		/*このアイコンを使う*/
	margin-right: 1em;		/*アイコンとメニューテキストとの間に空けるスペース。1文字分。*/
	font-size: 0.7em;		/*アイコンサイズ。70%*/
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}

/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#menubar ul ul {display: none;}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0px;
	top: 0px;
	width: 70px;
	height: 50px;
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: #c9a275;	/*線の色*/
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);	/*線の影。右へ、下へ、ぼかす量、rgbaは色の指定で0,0,0は黒、0.5は色が50%出た状態。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;	/*背景色*/
}
#menubar_hdr.ham span {
	background: var(--bg-color);	/*線の色。theme.cssのbg-colorを読み込みます。*/
}

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {
	top: 14px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 34px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}

/* 関連サービス・取組バナーの枠線・背景・影を削除 
---------------------------------------------------------------------------*/
.bg1-light-parts .list-parts {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
}

.bg1-light-parts .image-parts img,
.bg1-light-parts .list-parts a img {
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}
/*著作部分
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;display: block;
	background: rgba(0,0,0,0.5);
	color: #ccc;
	text-align: center;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\f207";
	font-weight: 900;
	margin-right: 0.5em;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1-parts
---------------------------------------------------------------------------*/
.bg1-parts {
	background-color: var(--bg-inverse-color);	/*背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*文字色。theme.cssのbg-colorを読み込みます。*/
}

/*bg1-primary
---------------------------------------------------------------------------*/
.bg1-primary-parts {
	background-color: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}


/*bg1-light
---------------------------------------------------------------------------*/
.bg1-light-parts {
	background-color: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*背景色。theme.cssのlight-inverse-colorを読み込みます。*/
}


/*bg1-accent
---------------------------------------------------------------------------*/
.bg1-accent-parts {
	background-color: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*背景色。theme.cssのaccent-inverse-colorを読み込みます。*/
}


/*bg-parts（bg1-primary-parts、bg1-light-parts、bg1-accent-partsとセットで使います）
---------------------------------------------------------------------------*/
.bg-parts {
	padding-top: var(--content-space-v, var(--content-space-l));		/*ボックス内の上に空ける余白。theme.cssのcontent-space-vを読み込みます。*/
	padding-bottom: var(--content-space-v, var(--content-space-l));	/*ボックス内の下に空ける余白。theme.cssのcontent-space-vを読み込みます。*/
}


/*section内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x-parts {
	--bleed-x: var(--content-space-l);	/*エイリアスに*/
	width: calc(100% + (var(--bleed-x) * 2));	/*section内容の幅＋両サイドpadding（対象要素の幅）*/
	margin-left: calc(var(--bleed-x) * -1);
	margin-right: calc(var(--bleed-x) * -1);
	max-width: none;
}


/*左右によせる専用
---------------------------------------------------------------------------*/
.bleed-left-parts {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}
.bleed-right-parts {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}


/*その他
---------------------------------------------------------------------------*/
.color-check, .color-check a {color: #ff0000 !important;}
.bg1-accent-parts .color-check, .color-check a {color: #fef500 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.padding-x {padding: 0 var(--content-space-l);}
.mt0 {margin-top: 0px !important;}
.mt1rem {margin-top: 1rem !important;}
.mt3rem {margin-top: 3rem !important;}
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 1.5em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}

/*大きな画面の場合*/
.large-screen .ws {width: 50%;}
.large-screen .sh {display: none;}
.large-screen .pc {display: block;}


/*メイン画像（スライドショー）
---------------------------------------------------------------------------*/
.mainimg * {margin: 0;padding: 0;}
.mainimg .slide picture {display: block;width: 100%;height: 100%;}

/*メイン画像全体を囲むブロック*/
.mainimg {
	width: 100%;
	position: relative;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}

/*各スライド共通*/
.mainimg .slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s;
}
.mainimg .slide.active {
	opacity: 1;
}
.mainimg .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/*インジケーター（ドット）*/
.slide-indicators {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	gap: 10px;
}
.slide-indicators .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	cursor: pointer;
	transition: background 0.3s;
}
.slide-indicators .dot.active {
	background: #fff;
}

/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
.mainimg .slide .text {
	position: absolute;z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 3vw;
	color: #fff;
	text-shadow: 1px 1px rgba(0,0,0,0.5);
}
.mainimg .slide .text.left-parts {
	align-items: flex-start;
	text-align: left;
}
.mainimg .slide .text.right-parts {
	align-items: flex-end;
	text-align: right;
}
.mainimg .slide .text .text-bg {
	display: inline-flex;
	flex-direction: column;
	gap: 1rem;
	padding: 2vw 3vw;
	width: 90vw;
}
.mainimg .slide .text h2 {
	line-height: 1.5;
	font-weight: 700;
	font-size: 5vw;
}
.mainimg .slide .text p {
	font-size: 1.2rem;
	font-weight: bold;
}

/*ズーム効果*/
.mainimg .slide img {
	transform: scale(1);
	transform-origin: center;
	will-change: transform;
}
.mainimg .slide.zoom img {
	transform: scale(1.07);
}
/* ★確実に3枠を中央に美しく並べる設定 */
.list-grid-icon1-parts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* カード同士の間隔（お好みで調整可） */
}

.list-grid-icon1-parts .list-parts {
    /* PC表示時にちょうど3列に納まる幅指定 */
    flex: 0 1 calc(33.333% - 20px);
    max-width: 400px; /* カードが広がりすぎない上限サイズ */
}

/* スマホ表示では1列に */
@media screen and (max-width: 700px) {
  .list-grid-icon1-parts .list-parts {
    flex: 0 1 100%;
  }
}

/* 関連サービスバナーを4列固定にする設定 */
@media screen and (min-width: 801px) {
  .banner-grid-parts {
    display: flex !important;
    flex-wrap: nowrap !important; /* 絶対に折り返さない */
    justify-content: space-between !important;
    gap: 15px !important; /* バナー同士の間隔 */
  }

  .banner-grid-parts .list-parts {
    width: calc((100% - 45px) / 4) !important; /* 4等分の幅（gap3マス分45pxを引く） */
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .banner-grid-parts .list-parts img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* ==================================================
   貸切バス一覧：1列フルサイズレイアウト（表示改善）
   ================================================== */
.bus-item-single {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  padding-top: 0 !important; /* 上の余白だけを0にする */
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

/* 画像グループ：PCでは横並び、スマホでは縦並びに切り替え */
.bus-item-single .bus-image-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  margin-bottom: 25px;
  justify-content: center !important;
  align-items: center !important;
}

/* 画像の最大幅を広げてしっかり大きく表示 */
.bus-item-single .bus-image-group img {
  width: 100% !important;
  max-width: 500px !important; /* PCでの最大サイズ（お好みで調整可能） */
  height: auto !important;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* スペック表：横幅いっぱいに広げる */
.bus-item-single .bus-spec-table {
  width: 100% !important;
  margin-bottom: 25px;
}

.bus-item-single .bus-spec-table th {
  width: 150px;
  white-space: nowrap;
  background-color: #f4f6f8;
  vertical-align: top;
}

.bus-item-single .bus-spec-table td {
  line-height: 1.7;
}

/* 座席表画像エリア */
.bus-item-single .bus-seat-map {
  text-align: center;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #eee;
}
.mb20 { margin-bottom: 20px !important; }
.mb40 { margin-bottom: 40px !important; }

/* スマホ表示時（画像が縦1列＆幅いっぱいに拡大） */
@media screen and (max-width: 768px) {
  .bus-item-single .bus-image-group {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .bus-item-single .bus-image-group > div {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .bus-item-single .bus-image-group img {
    max-width: 100% !important;
  }
}
/* footer8のボタンが2個の場合は1列（同じ幅で縦積み）にする */
#footer8 .btn-box-parts {
  grid-template-columns: 1fr;
}

/* スマホ表示でバナー画像を中央寄せにする */
@media screen and (max-width: 800px) {
  .banner-grid-parts .list-parts {
    text-align: center;
  }
}

.bus-item-single .bus-seat-map img {
  max-width: 100%;
  height: auto;
}

/* スマホ時も崩れずコンパクトに整える */
@media screen and (max-width: 768px) {
  .bus-item-single .bus-image-group {
    gap: 10px;
  }
  .bus-item-single .bus-image-group img {
    max-width: 48%; /* スマホでも横並びを維持してコンパクトに表示 */
  }
}

/* トップ画像：横幅を大きめに広げて表示 */
.bus-top-img img {
  width: 100%;
  max-width: 1500px; /* PCでの最大の太さを指定（お好みで700px〜900px等に調整可） */
  height: auto;
  border-radius: 8px; /* 角を少し丸めて綺麗に見せる */
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

/* スマホ表示時 */
@media screen and (max-width: 768px) {
  .bus-top-img img {
    max-width: 100%; /* スマホ画面では画面幅一杯にフィット */
  }
}

/* ==================================================
   貸切バス：スペックテーブルの視認性改善（文字色・背景色）
   ================================================== */
/* テーブル全体の文字色を濃い黒にして背景色をリセット */
.bus-item-single .bus-spec-table {
  color: #333333 !important; /* 文字をクッキリした濃いグレー（ほぼ黒）に */
  background-color: #ffffff !important;
  border-collapse: collapse;
}

/* 項目名（左側 th）の見栄え調整 */
.bus-item-single .bus-spec-table th {
  background-color: #f0f4f8 !important; /* 薄い落ち着いた青グレー背景 */
  color: #1a252c !important;           /* 濃い紺黒文字で視認性を確保 */
  font-weight: bold;
  padding: 12px 15px;
  border: 1px solid #dcdcdc !important;
}

/* 内容（右側 td）の見栄え調整 */
.bus-item-single .bus-spec-table td {
  background-color: #ffffff !important; /* 白背景 */
  color: #222222 !important;           /* 濃い黒文字 */
  padding: 12px 15px;
  border: 1px solid #dcdcdc !important;
}

/* ==================================================
   雅（MIYABI）ページ：テキスト・カード内の視認性改善
   ================================================== */
/* 画像グループ内の見出し（h3）を濃い黒に固定 */
.bus-image-group h3 {
  color: #1a252c !important;
  font-weight: bold;
}

/* 画像グループ内の説明文（p）を読みやすい濃い色に固定 */
.bus-image-group p {
  color: #333333 !important;
}

/* 万が一カード枠や親要素に薄い背景・文字色が当たっている場合の上書き */
.bus-image-group div {
  color: #333333 !important;
}

/* ==================================================
   sh_h2_1見出しスタイル（サイト全体で使用可能に）
   ================================================== */
h2.sh_h2_1 {
  font-size: 24px;
  text-align: left;
  margin-bottom: 30px;
  border-bottom: 8px solid;
  -o-border-image: linear-gradient(to right, #008CB3 0%, #fff 100%);
  border-image: linear-gradient(to right, #008CB3 0%, #fff 100%);
  border-image-slice: 1;
}
h2.sh_h2_1 span {
  display: inline-block;
  background-color: #008cb3;
  color: #fff;
  padding: 8px;
}

/* ==================================================
   sh_h1_1見出しスタイル（サイト全体で使用可能に）
   ================================================== */
h1.sh_h1_1 {
  line-height: 1;
  color: #008cb3;
  border-bottom: #008cb3 solid 5px;
  font-size: 24px;
}
h1.sh_h1_1 span {
  margin-left: 5px;
  display: inline-block;
  padding: 10px;
  background: linear-gradient(to right, rgba(125, 185, 232, 0) 0%, rgb(0, 140, 179) 100%);
}
/* ==========================================
   isync-cms 画像配置用クラス（お知らせ・固定ページ共通）
=========================================== */
.aligncenter {
  display: block;
  margin: 15px auto;
  max-width: 100%;
  height: auto;
}
.alignleft {
  float: left;
  margin: 5px 20px 15px 0;
  max-width: 100%;
  height: auto;
}
.alignright {
  float: right;
  margin: 5px 0 15px 20px;
  max-width: 100%;
  height: auto;
}
/* floatの回り込み解除（本文の最後で使う想定） */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
/* ==================================================
   テーブル（レスポンシブ対応・共通／中央揃えが基本）
   ================================================== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto 20px;
  max-width: 90%;
}
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}
.table-responsive th,
.table-responsive td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  font-size: 0.9rem;
}
.table-responsive th {
  background-color: #f5f7fa;
  color: #333;
  font-weight: bold;
}
.table-responsive td {
  text-align: center;
}

@media screen and (max-width: 600px) {
  .table-responsive {
    max-width: 100%;
  }
}
/* ==================================================
   見出し（h2 + 英語サブタイトルspan）共通スタイル
   ================================================== */
main h2 {
  text-align: center;
  margin-bottom: 2rem;
}
main h2 span {
  display: block;
  font-size: 1.0em;
  font-weight: normal;
  letter-spacing: 0.1em;
  color: var(--primary-inverse-color);
  margin-top: 0.2em;
}

/* ==================================================
   認定マーク＋説明文の横並びブロック
   ================================================== */
.safety-cert-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

/* ==================================================
   PDFリンクの「こちら」画像（safetybusページ用）
   ================================================== */
.kotira img {
  vertical-align: bottom;
}

.mt20 { margin-top: 20px !important; }
.mb10 { margin-bottom: 10px !important; }

/* ==================================================
   採用情報：強調ボックス・募集要項リスト
   ================================================== */
.recruit {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.recruit h4 {
  color: var(--primary-color);
  margin-top: 0;
}
.recruit p {
  padding-left: 10px;
}
.joken h4 {
  color: var(--primary-color);
  font-size: 105%;
  margin-top: 1.5rem;
}
.joken p {
  padding-left: 20px;
}

/* ==================================================
   エルムステイ：本文＋ロゴ横並びブロック
   ================================================== */
.elmstay-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.elmstay-intro-text {
  flex: 1;
  min-width: 280px;
}
.elmstay-intro-logo {
  flex-shrink: 0;
  margin: 0 auto;
  max-width: 240px;
}

/* ==================================================
   メインコンテンツの最大幅・中央寄せ
   ================================================== */
/*main {
  max-width: 1200px;
  margin: 0 auto;
}*/

/* ================================
 isync-cms 画像配置用クラス 
================================== */

.aligncenter { display: block; margin: 15px auto; max-width: 100%; height: auto; }
.alignleft   { float: left; margin: 5px 20px 15px 0; max-width: 100%; height: auto; }
.alignright  { float: right; margin: 5px 0 15px 20px; max-width: 100%; height: auto; }
.clearfix::after { content: ""; display: table; clear: both; }

/* お知らせ一覧のスタイル（任意で調整） */
.news-list { list-style: none; padding: 0; }
.news-list li { padding: 10px 0; border-bottom: 1px solid #eee; }
.news-list time { color: #888; margin-right: 14px; }
.news-list a { color: inherit; text-decoration: none; }
.news-list a:hover { text-decoration: underline; }

/* =================================================
   フォーム
  ================================================ */
/* 1. 親枠の設定（スマホで絶対にハミ出さないようにする） */
.formzu-container {
  width: 100% !important;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden !important; /* はみ出た分を完全に隠す */
  box-sizing: border-box;
}

/* 2. iframe基本設定 */
.formzu-iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  border: none;
  display: block;
  overflow: hidden !important;
  box-sizing: border-box !important;
  height: 3200px !important; 
}

/* 3. スマホ向け設定 */
@media screen and (max-width: 768px) {
  .formzu-container {
    padding-left: 10px;
    padding-right: 10px; /* 画面の端にピタッとくっついてハミ出るのを防ぐ余白 */
    box-sizing: border-box;
  }
  .formzu-iframe {
    height: 3900px !important; 
  }
}
/* ==================================================
コンテンツ中央揃えの確実な上書き
   ================================================== */
/* テンプレートの各セクション内のコンテンツ幅を制限して中央に集約する */
main section > div,
main section > .list-grid-icon1-parts,
main section > .news2-parts {
	max-width: 1100px;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}

/* 見出しなども含めてセクション内の主要ブロックを中央に揃える */
main section h2 {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
/* ==================================================
   エルムステイ：ギャラリー画像・ご利用案内（中央揃え）
   ================================================== */
.elmstay-gallery img {
  display: block;
  margin: 0 auto 10px;
}
.elmstay-info {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.95em;
  line-height: 1.6;
}

/* ==================================================
   スマホ表示のとき、バナーが大きくなりすぎないように調整
   ================================================== */
@media screen and (max-width: 800px) {
  .banner-grid-parts .list-parts {
    max-width: 300px;          /* バナーの最大幅（お好みで 260px〜340px くらいに調整できます） */
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ==================================================
   貸切バス：車種一覧（画像付き格子表・アンカーリンク）
   ================================================== */
section.bus-nav-section {
  padding-top: 0;	/* 上の画像の下余白（mb30）だけで間隔をとる */
}
.bus-nav-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));	/* 12分割。4列＝3つ分ずつ、3列＝4つ分ずつ */
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  background: #fff;
}
.bus-nav-grid + .bus-nav-grid {
  margin-top: 2rem;	/* 表❶と表❷の間（1行あけ） */
}
.bus-nav-grid a {
  grid-column: span 3;	/* 1行4列 */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 10px 14px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  color: #333;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
}
.bus-nav-grid a:hover {
  filter: none;	/* サイト共通のa:hover（明るくする）を無効化 */
  background-color: #f3f8fb;
}
/* 表❷：2行目の3つは4つ分ずつ使って横幅いっぱいに。
   画像は1行目と同じ大きさにするため、左右の余白を広げて画像幅を縮める */
.bus-nav-grid.bus-nav-grid-7 a:nth-child(n+5) {
  grid-column: span 4;
  padding-inline: calc(10px + 12.5%);
}
.bus-nav-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;	/* 画像の枠の縦横比（全車種そろえる） */
  object-fit: contain;	/* 画像が切れないように収める */
}
.bus-nav-text {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.5;
}
.bus-nav-type,
.bus-nav-name {
  display: block;
}
.bus-nav-name {
  white-space: nowrap;
}
.bus-nowrap {
  display: inline-block;	/* 「（大型）」の途中で改行されないようにする */
}

/* スマホ：2列 */
@media screen and (max-width: 700px) {
  .bus-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bus-nav-grid a,
  .bus-nav-grid.bus-nav-grid-7 a:nth-child(n+5) {
    grid-column: span 1;
    padding-inline: 10px;	/* PC用に広げた左右余白を元に戻す */
  }
  /* 表❷は7個で1つ余るので、最後の1つは横いっぱいに（画像は他と同じ大きさ） */
  .bus-nav-grid.bus-nav-grid-7 a:last-child {
    grid-column: span 2;
    padding-inline: calc(10px + 25%);
  }
}

/* アンカーリンクで移動したとき、固定ヘッダー（高さ50px）に隠れないようにする */
section[id^="bus-"] {
  scroll-margin-top: 50px;
}

/* 座席表PDFボタン */
.bus-pdf-btn {
  margin-top: 15px;
  text-align: center;
}
.bus-pdf-btn a {
  display: inline-block;
  padding: 0.5rem 1.8rem;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.bus-pdf-btn a i {
  margin-right: 0.4em;
}

/* ==================================================
   採用情報：職種一覧（アンカーリンク）
   ================================================== */
.job-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #ccc;	/* 細いグレーの横線のみ（縦線なし） */
  margin-bottom: 1.5rem;
}
.job-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;	/* 中央寄せ → 左寄せ */
  gap: 0.6rem;
  padding: 1rem 1.5rem;	/* 左端にくっつかないよう、左右の余白を広げる */
  border-bottom: 1px solid #ccc;
  color: #333;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.3s;
}
/* 画面が狭くて職種名が2行になったときも、文字を左揃えにする */
.job-nav-label {
  text-align: left;
}
.job-nav a:hover {
  filter: none;	/* サイト共通のa:hover（明るくする）を無効化 */
  background-color: #f3f8fb;
}
.job-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;	/* アイコンの幅をそろえて文字の開始位置を揃える */
  font-size: 1.4rem;
  color: var(--primary-color);
}
.job-nav-icon .material-icons-outlined {
  font-size: inherit;	/* Material Iconsの24px固定を、Font Awesomeと同じ大きさにそろえる */
}

/* スマホ：1列縦積み */
@media screen and (max-width: 700px) {
  .job-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* アンカーリンクで移動したとき、固定ヘッダー（高さ50px）に隠れないようにする */
section[id^="job-"] {
  scroll-margin-top: 50px;
}
/* ==================================================
   項目名＋値の表（会社案内など）：右寄せ／左寄せ・コンパクト
   ================================================== */
.table-responsive.table-keyvalue {
  max-width:800px;	/* 画面いっぱいに広がらないよう、表の最大幅を制限 */
}
.table-responsive.table-keyvalue th,
.table-responsive.table-keyvalue td {
  padding: 15px 15px;	/* 余白をコンパクトに */
  line-height: 1.9;	/* サイト全体の行間（2）を、表の中だけ詰める */
}
.table-responsive.table-keyvalue th {
  width: 20%;		/* 項目名の列を、文字数ぶんの幅まで縮める */
  white-space: nowrap;
  text-align: right;
}
.table-responsive.table-keyvalue td {
  text-align: left;
  overflow-wrap: anywhere;	/* 長いURLがスマホで横にはみ出さないように */
}
.table-responsive.table-keyvalue td p {
  margin: 0;		/* 「主要取引先」の各行にある上下余白を消す */
}
/* ==================================================
   Fビレッジ シャトルバス：時刻表記
   ================================================== */
/* 時刻表記（例：１５：００～１８：００） */
.nb-time {
  white-space: nowrap;	/* PC：時刻の途中で絶対に改行しない */
}
.nb-time > span {
  display: inline-block;	/* 「１５：００～」「１８：００」を、それぞれ途中で切れないかたまりにする */
  white-space: nowrap;
}

/* スマホ幅：2つのかたまりの間（「～」の後ろ）でだけ改行できるようにする */
@media screen and (max-width: 900px) {
  .nb-time {
    white-space: normal;
  }
}

/* 狭いスマホで横スクロールが出ないよう、表の左右余白を詰める */
@media screen and (max-width: 600px) {
  .table-responsive th,
  .table-responsive td {
    padding-left: 6px;
    padding-right: 6px;
  }
}