/* ==============================
   全体設定
================================= */
body {
	font-family: 'Noto Sans JP', sans-serif !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: #333;
	margin: 0;
	padding: 0;
	background-color: #fff;
}

/* リンクスタイル */
a {
	color: #af9448;
	text-decoration: none !important;
	transition: color 0.3s ease;
}

a:hover {
	color: #af9448;
	text-decoration: underline;
}

a,.voice-read-more {
	color: #af9448;
	text-decoration: none !important;
	display: ruby;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 700;
}
h3 {
	color: #000;
	line-height: 1.5;
	/* テキストの配置を調整する例 */
	text-align: center; /* テキストを中央揃え */
	vertical-align: top; /* テキストを上揃え */
	font-family: 'Noto Sans JP';
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 26px; /* 162.5% */
}
/* header用のh1 */
.page-header h1 {
	color: #fff;
	font-family: 'Noto Sans JP';
	font-size: 38px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}
.page-header p {
	color: #fff;
	font-family: 'Noto Sans JP';
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
}
/* コンテナ */
.container {
	max-width: 1728px;
	margin: 0 auto;
	padding: 0 23px;
}

/* ==============================
   ヘッダー
================================= */
.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 90px;
	background-color: #fff;
	z-index: 1000;
}

/* ヘッダーコンテナ */
.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1728px;
	height: 90px;
	margin: 0 auto;
	padding: 0 23px;
}

/* ロゴ */
.logo img {
	max-height: 50px;
	width: auto;
	/* width: 200px; */
}

/* メニュー */
.main-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 30px;
}

.main-menu a {
	text-decoration: none;
	color: #333;
	font-family: 'Noto Sans JP';
	font-size: 14px;
	font-weight: 600;
	transition: color 0.3s ease;
}

.main-menu a:hover {
	color: #af9448;
	/* ボーダーとテキストの間隔を広げる */
	/* padding-bottom: 38px; */
	border-bottom: #af9448 2px solid;
}

ul {
	list-style: none; /* デフォルトのマーカーを消す */
	margin: 0; /* ブラウザデフォルト余白をリセット */
	padding: 0; /* ブラウザデフォルト余白をリセット */
}

/* サブメニューのスタイル */
.sub-menu {
	max-width: 1000px;
	width: 100%;
	background-color: #fff;
	padding: 20px 40px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.sub-menu li {
	padding: 10px 20px;
}

.sub-menu li a {
	color: #333;
	font-family: 'Noto Sans JP';
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.sub-menu li a:hover {
	color: #af9448;
}

/* メニューアイテムのホバーでサブメニューを表示 */
.main-menu li:hover .sub-menu {
	visibility: visible;
	opacity: 1;
}

/* サブメニュー ヘッダー */
.sub-menu-header {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px !important;
	font-weight: bold;
	margin-bottom: 15px;
	color: #af9448 !important;
	text-align: left;
	display: block !important;
}
.sub-menu-header h3 {
	font-family: 'Noto Sans JP';
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #af9448;
	text-align: left;
}

/* サブメニューのセクションタイトル */
.sub-menu-section h4 {
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #333;
	color: #333;
	text-align: left;
	/* 横幅コンテンツいっぱい */
	width: 100%;
	/* 余白を調整 */
	padding: 0 10px;
	/* テキストの配置を調整する例 */
}
/* 各サブメニューアイテムのレイアウト（2列表示） */
.sub-menu-list {
	display: flex;
	/* grid-template-columns: repeat(2, 1fr); */
	gap: 20px;
	width: 100%;
}

/* H5タグ（各サービスの小見出し） */
.sub-menu-item h5 {
	background: #333;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 5px 10px;
	border-radius: 5px;
	text-align: center;
	margin-bottom: 5px;
}
/* サブメニューアイテム */
.sub-menu-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* サブメニュー画像 */
.sub-menu-item img {
	/* width: 80px; */
	width: 120px;
	height: auto;
	margin-bottom: 5px;
}

/* サービス名 */
.sub-menu-item p {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	margin: 0;
}

/* ボタンエリア */
.header-buttons {
	display: flex;
	gap: 8px;
}

/* ボタンの共通スタイル */
.header-buttons a {
	width: 155px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border-radius: 50px;
	padding: 15px 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}

/* ログインボタン（枠あり） */
.btn-login {
	color: #af9448;
	border: 1px solid #af9448;
	background: #fff;
	/* 文字の中央揃え */
	text-align: center;
	padding: 10px;
	border-radius: 5px;
}

.btn-login:hover {
	background: #af9448;
	color: #fff;
}

/* 資料請求・お問い合わせ（緑背景） */
.btn-request,
.btn-contact {
	background: #af9448;
	color: #fff;
	/* 文字の中央揃え */
	text-align: center;
	padding: 10px;
	border-radius: 5px;
	/* アイコン改行防止 */
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.btn-request:hover,
.btn-contact:hover {
	background: #fff;
	border: #af9448 1px solid;
	color: #af9448;
}

/* ==============================
   フッター
================================= */
.footer {
	background-color: #333;
	color: #fff;
	padding: 40px 0;
	text-align: center;
}

.footer a {
	color: #fff;
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}

/* ==============================
   共通要素
================================= */

/* ボタン共通 */
.btn {
	display: inline-block;
	padding: 12px 30px;
	background-color: #D8CFC2;
	color: #fff;
	border-radius: 5px;
	font-weight: bold;
	text-align: center;
	transition: background-color 0.3s ease;
}

.btn:hover {
	background-color: #45a049;
}

/* サービスラインナップの左右レイアウト用スタイル */
.sub-menu-flex-container {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 20px;
}

.sub-menu-column {
	flex: 1;
	min-width: 420px;
}

/* スマホ表示時には折り返す */
@media (max-width: 768px) {
	.sub-menu-flex-container {
		flex-direction: column;
		gap: 20px;
	}

	.mobile-sub-menu .sub-menu-section {
		margin-top: 20px;
	}
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
	.container {
		padding: 0 15px;
	}

	.header-container {
		padding: 0 15px;
	}

	/* メニュー項目の間隔を狭める */
	.main-menu ul {
		gap: 15px;
	}

	/* フォントサイズを小さくする */
	.main-menu a {
		font-size: 13px;
	}
}

@media (max-width: 768px) {
	.logo img {
		max-height: 35px;
		margin: 5px;
		width: auto;
		max-width: 150px;
	}
	.fixed-header {
		height: auto;
	}
	.header-container {
		flex-direction: column;
		height: auto;
	}

	.header-buttons {
		flex-direction: column;
	}
}

/* contact-title */
.contact-title {
	display: flex;
	align-items: center;
	margin-top: 114px;
	margin-bottom: 20px;
	color: #fff;
	font-family: 'Plus Jakarta Sans';
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

/* contact-dot */
.contact-dot {
	width: 10px;
	height: 10px;
	background-color: #4c4948;
	border-radius: 50%;
	margin-right: 10px;
}

/* ==============================
   モバイルメニュー
================================= */
.hamburger-menu {
	display: none;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}

.hamburger-menu div {
	width: 30px;
	height: 3px;
	background-color: #333;
	transition: all 0.3s ease;
}

/* モバイルメニュー */
.mobile-menu {
	display: none;
	position: absolute;
	top: 65px;
	left: 0;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	flex-direction: column;
	/* gap: 15px; */
	padding: 20px 20px;
	text-align: center;
	max-height: calc(100vh - 65px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.mobile-menu.active {
	display: flex;
}

/* モバイル用ボタン */
.mobile-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 10px;
}

/* モバイルメニュー項目のスタイル */
.mobile-menu-item {
	width: 100%;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.mobile-menu-toggle {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 5px 0;
	color: #333;
	/* font-weight: 600; */
	text-decoration: none;
}

.mobile-toggle-icon {
	font-size: 18px;
	font-weight: bold;
	transition: all 0.3s ease;
}

/* モバイル用サブメニュー */
.mobile-sub-menu {
	display: none;
	margin-top: 10px;
	padding: 10px;
	background-color: #f9f9f9;
	border-radius: 5px;
	max-height: 400px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.mobile-sub-menu h3.sub-menu-header {
	color: #af9448;
	font-size: 16px;
	margin-bottom: 10px;
	text-align: center;
}

.mobile-sub-menu .sub-menu-section h4 {
	font-size: 14px;
	color: #333;
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.mobile-sub-menu .sub-menu-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.mobile-sub-menu .sub-menu-item {
	background-color: #fff;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mobile-sub-menu .sub-menu-item h5 {
	font-size: 12px;
	margin-bottom: 8px;
	background: #333;
	color: #fff;
	padding: 3px 8px;
	border-radius: 3px;
	display: inline-block;
}

.mobile-sub-menu .sub-menu-item a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #333;
	text-decoration: none;
}

.mobile-sub-menu .sub-menu-item img {
	width: 60px;
	height: auto;
}

.mobile-sub-menu .sub-menu-item p {
	font-size: 14px;
	font-weight: bold;
	margin: 0;
}
.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap; /* 長いタイトルがあっても折り返すようにする */
	max-width: 1728px;
	gap: 10px;
	margin: 90px 118px 0;
	font-size: small;
	line-height: 1.4; /* 行間調整 */
}
.breadcrumbs.zoomed-150 {
	margin: 90px 20px 0;
}
.breadcrumbs.zoomed-high {
	margin: 90px 10px 0;
}
.breadcrumbs a {
	white-space: nowrap; /* リンクは折り返さない */
	overflow: hidden;
	text-overflow: ellipsis; /* 必要に応じて省略記号を表示 */
	max-width: 300px; /* 最大幅を設定 */
	color: #4c4948;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.breadcrumbs {
		margin: 50px 20px 0;
	}

	.breadcrumbs a {
		max-width: 200px; /* モバイルでの最大幅 */
	}
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.main-menu {
		display: none;
	}
	.hamburger-menu {
		display: flex;
	}
}

/* 新規追加: mobile-menu-togglesはデフォルト非表示 */
.mobile-menu-toggles {
	display: none;
}

/* モバイル（例: max-width:1024px）でonly表示 */
@media (max-width: 1024px) {
	.mobile-menu-toggles {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	/* mobile-icon-links内の画像サイズ */
	.mobile-icon-links img {
		max-width: 24px;
		height: auto;
	}
}

@media (max-width: 768px) {
	.header-container {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		height: 65px;
	}
	.header-buttons {
		display: none;
	}
	.hamburger-menu {
		margin-left: auto;
	}
	ul {
		padding: 0 !important;
	}
	li {
		padding: 10px 0 !important;
	}
	.mobile-menu-item a {
		display: flex;
		padding: 12px 0; /* アイテムの上下余白をここで指定 */
		font-size: 16px;
		text-decoration: none; /* 必要に応じて */
		color: #333;
	}

	.mobile-sub-menu .sub-menu-list {
		gap: 10px;
	}
	.breadcrumbs {
		margin: 65px 20px 0;
	}

	/* モバイルメニューの高さ調整 */
	.mobile-menu {
		max-height: calc(100vh - 65px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* モバイルサブメニューの高さ調整 */
	.mobile-sub-menu {
		max-height: 300px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* より小さいモバイルデバイス向けの調整 */
@media (max-width: 480px) {
	/* モバイルメニューの高さをより厳格に制限 */
	.mobile-menu {
		max-height: calc(100vh - 80px);
		padding: 15px;
	}

	/* モバイルサブメニューをさらに小さく */
	.mobile-sub-menu {
		max-height: 250px;
		padding: 8px;
	}

	/* サブメニューアイテムのサイズ調整 */
	.mobile-sub-menu .sub-menu-item {
		padding: 8px;
	}

	.mobile-sub-menu .sub-menu-item img {
		width: 200px;
	}

	.mobile-sub-menu .sub-menu-item p {
		font-size: 13px;
	}
}

/* サブメニューコンテナの背景をページ幅いっぱいに */
.sub-menu-container {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100vw;
	background-color: #fff;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 999;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 0;
}

/* 親メニューにホバーするとサブメニューを表示 */
.main-menu li:hover .sub-menu-container {
	visibility: visible;
	opacity: 1;
}

/* 新規追加: mobile-icon-links レスポンシブ用アイコンリンク */
.mobile-icon-links {
	display: flex;
	/* gap: 10px; */
	align-items: center;
}
.mobile-icon-links img {
	max-width: 60px;
	height: auto;
}

/* ==============================
   Swiperスライダー関連
================================= */
.swiper-container {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.swiper-slide {
	width: auto;
	height: auto;
	overflow: hidden;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.swiper-wrapper {
	transition-timing-function: ease-out;
}

/* スライダーナビゲーション矢印の強調 */
#prevBtn,
#nextBtn {
	cursor: pointer;
	background: none;
	border: 2px solid #828282;
	color: #828282;
	font-size: 18px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: background 0.3s ease;
}

#prevBtn:hover,
#nextBtn:hover {
	background: #af9448;
	border-color: #af9448;
	color: #fff;
	font-size: 20px;
}

/* スライドが見つからない場合のメッセージスタイル */
.no-slides-message {
	padding: 20px;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	color: #666;
	width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.swiper-slide img {
		height: auto;
		aspect-ratio: 16/9; /* 画像の比率を固定する */
	}

	.swiper-container {
		overflow: hidden;
	}

	#prevBtn,
	#nextBtn {
		padding: 5px 10px;
		font-size: 14px;
	}
}

/* モバイルメニューとサブメニューのスクロールバースタイル改善 */
.mobile-menu::-webkit-scrollbar,
.mobile-sub-menu::-webkit-scrollbar {
	width: 6px;
}

.mobile-menu::-webkit-scrollbar-track,
.mobile-sub-menu::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.mobile-menu::-webkit-scrollbar-thumb,
.mobile-sub-menu::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover,
.mobile-sub-menu::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}
