@charset "utf-8";
/* preloader
---------------------------------------------------*/
/* プリローダー全体 */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111; /* 背景色 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease; /* フェードアウト用 */
}

/* パーセンテージテキスト */
#preloader-text {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
}

/* main
---------------------------------------------------*/
a {
	color: #000;
}
h4 {
	margin-top: 60px;
	font-size: 1.5rem;
}
.contents a {
	color: black;
	position: relative;
	display: inline-block;
	font-size: 1.3rem;
	margin-top: 1.2rem;
}
.contents a::after {
	position: absolute;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #000000;
	bottom: -1px;
	transform: scale(0, 1);
	transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
	transition: transform 0.3s;  /*変形の時間*/
}
.contents a:hover::after {
	transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
	transform-origin: left top; /*左から右に向かう*/
}
.banners {
	display: flex;
	margin: 0 auto;
	max-width: 1320px;
	gap: 60px;
	padding: 0 20px;
}
.banner {
	position: relative;
	overflow: hidden;
}
.banner .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 2rem;
	transition: background-color 0.3s ease, opacity 0.3s ease;
	background-color: rgba(0,0,0,0.3);
	opacity: 1;
}
.banner:hover .overlay {
	background-color: rgba(255,255,255,0.05);
}

.container {
    display: flex;
    flex-direction: column; /* 縦方向に並べる */
    align-items: center;    /* 横方向中央揃え */
    justify-content: center; /* 縦方向中央揃え（必要に応じて） */
    text-align: center;      /* dtやddのテキストも中央に */
}

.news {
	display: flex;
	line-height: 2rem;
	margin-bottom: 1rem;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 600px;
}

.news dt {
	flex: 0 0 90px; 
	text-align: left;
}

/* ① .news-category と a の間に余白をつける */
.news-category {
	width: 80px;   /* ← 任意。お好みに調整できます */
	display: inline-block;
	border: 1px solid #000;
	font-weight: 500;
	margin-right: 1.5rem; /* ← 追加：カテゴリとリンクの間に隙間 */
}

/* ② a の文頭を揃える（dd内のflexの影響を調整） */
.news dd {
	display: flex;
	align-items: center;
	gap: 0;             /* ← 狭い隙間をなくす */
}

.news a {
  display: block;     /* ← a の開始位置を固定して揃える */
  margin: 0;          /* ← 余計なズレ防止 */
}

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

.flow-slider {
	overflow: hidden;
	background: rgba(0,0,0,0.9); /* 好きな背景色 */
	margin: 0 auto;
	max-width: 1320px;
}

.flow-track {
	display: flex;
	width: calc(3 * 400px); /* 画像数 × 画像幅 */
	animation: scroll 20s linear infinite;
}

@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); } /* 半分スクロールさせる */
}
h5 {
	font-size: 1.5rem;
	margin-bottom: 20px;
}
.map {
	display: flex;
	margin-top: 60px;
	align-items: center;
	max-width: 1320px;
	padding: 0 60px 0 60px;
	gap: 40px;
}
#mapImg,
#mapText {
	width: 50%;
}
#mapText {
	align-items: center;
}
#mapText p {
	text-align: left;
	align-items: center; 
	display: flex;
	flex-direction: column;
}
/* レスポンシブ対応 */
@media (max-width: 700px) {
	.banners {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	}
	.banner {
    margin-bottom: 30px;  /* ← 縦の隙間をここで調整 */
	padding: 0;
  }
  .banner:last-child {
    margin-bottom: 0;     /* 最後だけ余白なし */
  }
  .container {
	width: 300px;
  }
  .news {
	gap: 1rem;
  }
  .news dt {
	flex: 0 0 1rem; 
}
  .map {
    display: flex;
    flex-direction: column; /* 上下に並べる */
    max-width: 100%;
    gap: 0;
    padding: 0;
  }
  h5 {
	margin-top: 20px;
  }
  h3 {
	margin: 30px 0;
	font-size: 1.2rem;
  }
}