@charset "utf-8";
/* CSS Document */


/* 共通の幅制限コンテナ */
.inner-1120 {
	width: 1120px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}


/* --- ヘッダー上部エリア --- */
.header-top {
	background: #804F1B;
	padding: .3em 0;
}

.header-title {
	color: #ffffff;
	font-size: 12px;
	margin-left: 1em;
}

.header-utility-nav {
	display: flex;
	list-style: none;
	font-size: 14px;
	text-align: right;
}

.header-utility-nav-item {
	margin-left: 15px;
	line-height: 1em;
}

.header-utility-nav-link {
	color: #FFF;
	text-decoration: none;
}

/* --- ヘッダー中部エリア --- */
.header-middle {
	background: #FDF0E6;
}

.header-middle-content {
	padding: .5em 0;
}

.header-logo-area {
	text-align: left;
	width: 310px;
}

.header-logo-area a {
	display: inline-block;
}

.header-logo-area img {
	display: block;
}

.header-phone-area {
	width: 186px;
}

.header-phone-area img {
	display: block;
}

/* --- ナビゲーションスタイル --- */
.nav-container {
	width: 1120px;
	height: 70px;
	margin: 0 auto;
	background-color: #AD0003;
	display: flex;
	align-items: flex-end;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: relative;
	z-index: 1000;
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.main-nav {
	display: flex;
	width: 100%;
	list-style: none;
	justify-content: space-around;
}

.nav-item {
	position: relative;
	flex: 1;
	text-align: center;
}

.nav-link {
	display: block;
	padding: 20px 0;
	text-decoration: none;
	color: #ffffff;
	font-weight: bold;
	font-size: 16px;
	transition: background-color 0.3s, color 0.3s;
	border-bottom: 4px solid transparent;
}

.nav-item:hover > .nav-link {
	background-color: #ffffff;
	color: #AD0003;
	border-bottom: 4px solid #AD0003;
}

/* ドロップダウン */
.dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #ffffff;
	display: none; 
	box-shadow: 0 8px 16px rgba(0,0,0,0.15);
	list-style: none;
	text-align: left;
	border-top: 1px solid #eee;
	z-index: 1001;
	padding: 20px;
	width: max-content; /* 中身の数に合わせて幅を可変にする */
	max-width: 780px;   /* 最大幅 (170px*4個 + gap20px*3つ + padding左右40px) = 780px */}

.nav-item:hover > .dropdown {
	display: flex; 
	flex-wrap: wrap;
	gap: 20px;
}

.sub-item {
	width: 170px;
	text-align: center;
	position: relative;
}

.sub-link {
	text-decoration: none;
	color: #444;
	display: block;
	transition: color 0.2s;
}

.sub-link:hover {
	color: #0056b3;
}

.sub-img {
	width: 170px;
	height: 150px;
	background-color: #f9f9f9;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #ddd;
}

.sub-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sub-text {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
}

/* 第3階層 */
.nested-dropdown {
	position: absolute;
	top: 100%; 
	left: 0;
	background-color: #ffffff;
	box-shadow: 0 8px 16px rgba(0,0,0,0.15);
	display: none; 
	padding: 20px;
	gap: 20px;
	border: 1px solid #eee;
	z-index: 1002;
	margin-top: 10px;
}

.sub-item:hover > .nested-dropdown {
	display: flex; 
}

/* 装飾用アイコン */
.has-children::after {
	content: " ▼";
	font-size: 10px;
}

.sub-has-children::after {
	content: " ▽";
	font-size: 10px;
	display: block;
	margin-top: 5px;
}

/* --- 1stビュー（シームレス無限ループスライダー） --- */
.hero-slider {
	position: relative;
	width: 1120px;
	margin: 0 auto;
	overflow: hidden;
	background-color: #ffffff;
	padding: 40px 0;
}

.slider-viewport {
	position: relative;
	width: 100%;
	/*FVの画像高さ変更はここを修正*/
	height: 320px;
	display: flex;
	align-items: center;
	
}

.slider-track {
	display: flex;
	will-change: transform;
}

.slide {
	position: relative;
	width: 810px;
	flex-shrink: 0;
	margin: 0 10px; 
	cursor: pointer;
	transition: opacity 0.3s ease;/*ここにホバー時のスムーズな変化を設定しました*/
}

.slide.active:hover {
	opacity: 0.6;/* アクティブ（明るい状態）のスライドをマウスオーバーした時に色を薄くする（不透明度を 0.8 に下げる） */
}

.slide img {
	width: 100%;
	/*FVの画像高さ変更はここを修正*/
	height: 320px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slide::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	transition: background-color 0.6s ease;
	border-radius: 8px;
	pointer-events: none;
	z-index: 1;
}

.slide.active::after {
	background-color: rgba(0, 0, 0, 0);
}

.slide-content {
	position: absolute;
	bottom: 40px;
	left: 40px;
	color: #fff;
	z-index: 2;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide.active .slide-content {
	opacity: 1;
	transform: translateY(0);
}

.slide-content h2 {
	font-size: 32px;
	margin-bottom: 8px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.slider-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
	pointer-events: none;
	z-index: 10;
	box-sizing: border-box;
}

.nav-btn {
	width: 50px;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #333;
	transition: all 0.3s;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-btn:hover {
	background-color: #fff;
	transform: scale(1.1);
}

.slider-dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.dot {
	width: 10px;
	height: 10px;
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background-color: #804F1B;
	width: 24px;
	border-radius: 5px;
}
