@charset "utf-8";
/* CSS Document */
h1{
	font-size: 1.8rem;
	padding: 1rem;
	margin: 2.4rem 0;
	color: #FDA007;
}

.banner-box{
	display: flex;
	justify-content: space-around;
	
}
.btn-banner{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #FDA007;
	border: 10px double #fff;
	width: 220px;
	height: 100px;
	color: #fff;
	font-size: 1.8rem;
	text-decoration: none;
	transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.btn-banner:hover{
  transform: scale(1.03);
  background-color: #fdb733; /* #FDA007 を少し薄く */
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.15);
}
.btn-banner i{
	font-size: 25px;
	margin-bottom: 5px;
	transition: transform 0.3s ease;
}
.btn-banner:hover i{
  transform: translateY(-3px);
}

#banner-vertical{
	display: none;
}
/* card hover 演出 */
.block-section a {
  display: block;
  height: 100%;
}

.block-section .card {
  height: 100%;
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.block-section a:hover .card {
  transform: scale(1.03);
  background-color: #f8f9fa; /* Bootstrap gray-100 */
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

.card{
	color: #212529;
	
}
.card img{
	margin-bottom: 1rem;
}
.card-title{
	font-size: 1.8rem;
	font-weight: bold;
	padding: 1rem;
	color: #FDA007;
}
.card-text{
	padding: 0 1rem 1rem;
	display: flex;
	flex-direction: column;
	height: 100%;
	
}
.card-text p:last-child {
	margin-top: auto;
	color: #0d6efd;
	text-align: right;
}

/* ///////（news）//////// */
.news-list{
	margin: 1rem;
	padding: 1rem;
	border: solid 1px #dee2e6;
}
.news-list dl{
	margin: 0;
}
.news-list dt,.news-list dd{
	margin: 0 0 0.8rem;
	padding: .4rem 0;
}
.news-list dd a{
  color: #212529;
  text-decoration: none;
}

.news-list dd a:hover{
  text-decoration: underline;
}
/* 1件ごとの下線 */
.news-list dt{
  border-top: 1px solid #dee2e6;
}

/* 最初の1件だけ上線を消す */
.news-list dt:first-of-type{
  border-top: none;
}

/* ///////（タブレット）//////// */
@media (min-width: 768px) {
	h1,section{
		margin-left: 70px;
		margin-right: 5px;
	}
	h1{
		font-size: 2.2rem;
		text-align: center;
		line-height: 2.8rem;
	}
	
	.btn-banner{
		width: 260px;
		height: 100px;
	}
	.btn-banner i{
		font-size: 25px;
		margin-bottom: 5px;
}
	/* ///////（news）//////// */
	.news-list dl{
		display: grid;
		grid-template-columns: 140px 1fr; /* 日付 | タイトル */
		row-gap: 1rem;
	}
	.news-list dt{
		grid-column: 1 / -1;   /* 2列分にまたがる */
		font-weight: bold;
		color: #6c757d; /* Bootstrap secondary */
		border-top: 1px solid #dee2e6;
	}
	.news-list dd{
		margin: 0;
	}
	

	/***追従する求人縦バナー***/
	#banner-vertical{
		display: block;
		position: fixed;
		left: 5px;
		bottom: 5px;
	}
}
/* ///////（PC）//////// */
@media (min-width: 1024px) {
	#myCarousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  #myCarousel img {
    width: 100%;
    object-fit: cover;
  }


	h1,section{
		margin-left: 0px;
	}
	.banner-box{
		display: flex;
		justify-content: space-around;
		max-width: 70%;
		margin: 0 auto;
}
.btn-banner{
	width: 300px;
	height: 130px;
	font-size: 2.4rem;
	}
.btn-banner i{
	font-size: 30px;
	margin-bottom: 10px;
}
	.news-list{
    max-width: 1000px;     /* 好みで 800〜1000px */
    margin: 0 auto 3rem;  /* 中央寄せ */
	
	}
	
}
