/* コンテンツ全体の最大幅を設定 */
body {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.container {
  display: flex;
}

/* メイン見出し */
.main-heading {
  width: 95%;
	    justify-content: space-between; /* 左右に配置 */

  height:35px;
  margin: 20px 0 0 20px;
  padding-top: 20px !important;
  color: black;
  font-size: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;

}
.main-heading-container {
    position: relative; /* Add this line */
    display: flex; /* flexbox を有効にする */
    justify-content: space-between; /* 左右に配置 */
    align-items: center; /* 上下中央に配置 */
}

.main-heading-link {
		width: 400px;
    position: relative; /* Add this line */
    top: 10px; /* Example: Adjust vertical position */
    right: -30px; /* Example: Adjust horizontal position */
    /* 必要に応じて、フォントサイズや色などを調整 */
    font-size: 14px; /* 例：フォントサイズ */
}
.main-heading-link:hover {
	 color: #0073aa; /* 例：青色 */
}
/* サブ見出し */
.sub-heading {
  width: 90%;
  max-width: 681px;
  margin: 20px;
  color: #333333;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  height: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* コンテナ全体 */
.conveyor-belt {
    overflow: hidden;  /* サムネイルが流れる部分だけ表示 */
    width: 100%; /* 親要素の幅に合わせる */
    position: relative;
}

/* オススメ記事全体のスタイル */
.thumbnail-container {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* 横スクロールを有効化 */
    padding-bottom: 15px; /* スクロールバーのスペース */
    white-space: nowrap;
	margin: 10px 10px 20px;
}

/* 記事アイテム（横並びにする） */
.thumbnail-item {
    min-width: 365px;
    display: flex;
    align-items: center;
    background: #fff;
	border-color: black;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
	border: 1px solid #333;
    border-radius: 4px;
}
/* アニメーション：左から右へ流れる */
@keyframes move-left {
    0% {
        transform: translateX(0);  /* 初期位置 */
    }
    100% {
        transform: translateX(-100%);  /* サムネイルが全て左に流れる */
    }
}
.colored-articles {
	background-color: #F6F5F0;
	padding: 10px 0 10px 0;
	
}
.thumbnail-item:hover {
    transform: translateY(-3px);
}

/* リンク全体をクリック可能にする */
.thumbnail-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
}
.thumbnail-content {
    position: relative; /* 相対配置を設定 */
    flex-grow: 1;
    padding: 10px;
    background: #fff;
    display: inline-block;
    align-items: center;
    justify-content: center;
	height: 100%;
}

/* アイコンを右上に固定 */
.leisure-icon {
    position: absolute;
    top: -3px;   /* 右上の余白調整 */
    right: 2px; /* 右上の余白調整 */
    width: 30px; /* アイコンのサイズ調整 */
    height: auto;
	padding-left: 5px;
}
/* 左側のサムネイル */
.thumbnail-img {
    width: auto;  /* 固定サイズ */
    height: 100px;  /* 縦横比を調整 */
	max-width: 140px;
    object-fit: cover; /* はみ出た部分をトリミング */
    flex-shrink: 0;
}

.thumbnail-title {
    display: block;
    line-height: 1.4;
	padding: 10px;
    max-height: 2.5em; /* 1.5行 × 2 = 3em */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    text-overflow: ellipsis; /* 隠された部分を「…」で表示する */
    max-width: 200px; /* サムネイルの幅に合わせて調整 */
}

.street-category {
	display: flex;
    color: #999;
	opacity: 0.8;
    font-size: 14px;
    padding: 0 10px;
}

.street-pin-icon {
	max-height: 15px;
}

.eyecatch__cat {
	display: none;
}
.post-views {
	display: none;
}
.breadcrumb {
	display: none;
}

#bus_stop_map {
	width: 80%;
	height: 500px;
	margin: 40px 0 40px 20px;
}

.bus-stop-location-control {
	width: 80%;
	margin: 20px 0 0 20px;
	text-align: left;
}

.bus-stop-location-button {
	padding: 10px 24px;
	border: 1px solid #d79bc5;
	border-radius: 6px;
	background-color: #e8afd5;
	color: #333;
	font-size: 14px;
	cursor: pointer;
}

.bus-stop-location-button:hover {
	background-color: #dda2ca;
}

.bus-stop-location-button:disabled {
	opacity: 0.6;
	cursor: wait;
}

.bus-stop-location-message {
	min-height: 1.5em;
	margin: 8px 0 0;
	color: #666;
	font-size: 13px;
}

.bus-stop-info-window {
	min-width: 150px;
	padding: 4px 8px 6px 2px;
}

.bus-stop-info-window__name {
	margin-bottom: 8px;
	color: #333;
	font-size: 15px;
	font-weight: 600;
}

.bus-stop-info-window__link {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 4px;
	background-color: #e8afd5;
	color: #333;
	font-size: 13px;
	text-decoration: none;
}

.bus-stop-info-window__link:hover {
	background-color: #dda2ca;
}

.latest-articles {
background-color: #F6F5F0; /* 背景色 */
padding: 10px 0px;
}

/* 横スクロールするアイテムを含むコンテナ */
.latest-articles-container {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* 横スクロールを有効化 */
    padding-bottom: 15px; /* スクロールバーのスペース */
    white-space: nowrap;
		margin: auto 10px;
}

.latest-article-item {
    position: relative;
    display: flex;
    width: 380px; /* 固定幅 */
    min-width: 300px; /* 最小幅を設定 */
	height: 200px;
    align-items: flex-start;
    background: #fff;
    padding: 10px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0; /* アイテムの縮小を防ぐ */
}

.latest-article-link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.latest-article-content {
    flex: 1;
    padding-right: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.latest-article-title {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 10px;
    white-space: normal;
}

.latest-article-excerpt {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    overflow-wrap: break-word;
    white-space: normal;
}
.latest-article-date {
    font-size: 0.8rem;
    color: #888;
    background: #ddd;
    padding: 5px 10px;
    position: absolute;
    bottom: 10px;
}

.latest-article-img-container {
    flex-shrink: 0;
    position: relative;
}

.latest-article-img {
    width: 170px;     /* width: auto → 固定幅170px */
	max-width: 170px;
	height: 145px;
    object-fit: cover;
	margin-bottom: 40px;
}

.latest-articles-street-category {
    font-size: 1rem;
    background: #f2c2d1; /* ピンク背景 */
    padding: 3px 10px 2px; /* 下の余白を少なめに */
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.latest-articles-street-category .street-category{
    color: white;
}

.check-latest-button {
    display: flex;
    width: 200px;
    height: 40px;
	font-size; 32px;
    justify-content: center; /* 中央配置 */
    align-items: center; /* 縦方向中央配置 */
    border-radius: 40px;
    background: #FFF;
    margin: 20px auto;
	padding: 20px 0;
    text-align: center; /* テキスト中央揃え */
	transition: background 0.3s ease; /* 色変更を滑らかにする */
}

.check-latest-button .btn {
    display: flex;
	font-size; 30px;
    align-items: center; /* ボタン内のテキストも中央配置 */
    justify-content: center; /* ボタン内のテキストを中央揃え */
    width: 90%; /* ボタンを親要素の幅いっぱいに */
    height: 90%; /* ボタンを親要素の高さいっぱいに */
    text-decoration: none; /* リンクのデフォルト装飾を削除 */
    color: #000; /* 文字色を適宜設定 */
	transition: color 0.3s ease; /* テキストの色変更を滑らかにする */
}
.check-latest-button:hover {
	background: #f2c2d1; /* ピンク背景 */
}
.check-latest-button .btn:hover {
    color: #fff; /* 例：ホバー時のテキストの色 */
}

.check-latest-button .btn:hover::before {
    opacity: 0.7; /* Example: Slightly increase opacity */
}
/* 特定のコンテナには最大幅の制限を適用しない */
.latest-articles-container,
.thumbnail-container,
.slider-container,
.colored-articles,
.latest-articles {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
	.main-heading {
	  font-size: 20px;
	}
	.main-heading-link {
		display:none;
	}
	.sub-heading {
		margin: 14px;
		font-size: 14px!important;
	}
	.latest-article-item{
	  	width: 140px; /* 120px → 140px に拡張 */
	}	
	.latest-article-img {
	   width: 120px;     /* width: auto → 固定幅120px */
	   max-width: 120px; /* 140px → 120px（コンテナに収める） */
	   height: 90px;     /* 145px → 90px（比例調整） */
	}
	.latest-article-title {
		font-size: 1.4rem;
	}
	
	/* Google Map レイアウト対策 */
	.latest-article-excerpt {
		word-break: break-all;      /* 強制文字列分割 */
		overflow-wrap: anywhere;    /* より強力な折り返し */
		max-width: 100%;           /* 幅制限の確保 */
		box-sizing: border-box;    /* パディング含む幅計算 */
	}
	
	/* GoogleマップのURL/iframe対策 */
	.latest-article-excerpt iframe {
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
	}
	
	/* 長いURL対策 */
	.latest-article-excerpt a[href*="maps.google"],
	.latest-article-excerpt a[href*="goo.gl"] {
		word-break: break-all;
		display: inline-block;
		max-width: 100%;
	}
	#bus_stop_map {
		width: 98%;
		margin-left: 1%;
		margin-right: 1%;
		min-width: 0;
	}
	.bus-stop-location-control {
		width: 98%;
		margin-left: 1%;
	}
}

@media screen and (max-width: 429px) {
	#bus_stop_map {
		width: 95%;
		height: 250px;
		margin: 20px 0 20px 10px;
	}
	.bus-stop-location-control {
		width: 95%;
		margin-left: 10px;
	}
}

/* searchHead背景色を上書き */
.l-headerBottom .searchHead {
	background-color: #F6F5F0;
}

/* スライダー画像がない場合の背景色 */
.slider-container.slider-background {
	background-color: #F6F5F0;
}

/* THE THOR マップ遅延読み込み：注意書き非表示 */
.c-map-load__note {
	display: none;
}

/* THE THOR マップ遅延読み込み：ボタンスタイル */
.c-map-load__btn {
	background: rgba(232, 175, 213, 0.73);
	color: #333;
	border: none;
	border-radius: 8px;
	padding: 12px 32px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
	display: block;
	margin: 16px auto;
}

.c-map-load__btn:hover {
	background: rgba(232, 175, 213, 0.9);
}
