@charset "utf-8";



/*スライドショー（cssでのbackground使用）
ここでは、10:8の画像比率（8÷10=0.8）を読み込む指定を行なっています。
異なる画像比率にしたい場合、.mainimgのpadding-topの数字を変更します。2:1にするなら50%です。
---------------------------------------------------------------------------*/
/*3枚の画像を囲むブロック*/
#mainsimg {
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	position: relative;
	color: #fff;
	text-shadow: 0px 0px 7px rgba(0,0,0,10);
}

/*３セットのスライドショーを囲むそれぞれのブロック*/
#mainsimg div div {
	width: 45vw;	/*幅。画面の45%。*/
}

/*３枚の画像の共通設定*/
.slide {
	width: 100%;height: 100%;
	position: absolute;right: 0px;top: 0px;
	display: flex;
	align-items: center;
	padding: 0 5vw;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。*/
}

/*１枚目画像*/
.slide1 {
	background: url('../images/event/2025AF/2025autumn1.jpg') no-repeat center center / cover;	/*１枚目の背景画像の読み込み*/
	justify-content: center;	/*テキストブロックを中央に*/
	text-align: center;			/*テキストをセンタリング*/
}


/*１枚目画像*/
.slide2 {
	background: url('../images/event/2025AF/2025autumn2.jpg') no-repeat center center / cover;	/*１枚目の背景画像の読み込み*/
	justify-content: center;	/*テキストブロックを中央に*/
	text-align: center;			/*テキストをセンタリング*/
}

/*２枚目画像*/
.slide3 {
	background: url('../images/event/2025AF/2025autumn3.jpg') no-repeat center center / cover;	/*２枚目の背景画像の読み込み*/
	justify-content: center;	/*テキストブロックを中央に*/
	text-align: center;			/*テキストをセンタリング*/
}

/*３枚目画像*/
.slide4 {
	background: url('../images/recruit4.jpg') no-repeat center center / cover;	/*３枚目の背景画像の読み込み*/
}



/*大きなテキスト*/
#mainsimg h1 {
	margin: 0;padding: 0;
	font-size: 5.5vw;		/*文字サイズ。100vwは画面幅100%のことです。*/
	line-height: 1.5;	/*行間を少し狭く*/
	font-weight: 500;	/*文字の太さを少し太く*/
}

/*小さなテキスト*/
#mainsimg p {
	font-size: 1.4vw;		/*文字サイズ。100vwは画面幅100%のことです*/
	padding-left: 0.5rem;	/*左に空ける余白。0.5文字分。*/
}


/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.slide {
	pointer-events: none; /* デフォルトでクリックを無効にする */
}

.slide.active {
	pointer-events: auto; /* 表示中のスライドのみクリックを有効にする */
}

/*ボタン（btnと、btn-border-radius）
---------------------------------------------------------------------------*/
/*ボタン共通*/
.btn a,
.btn-border-radius a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color) !important;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color) !important;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;
}

/*ボタン共通（マウスオン時に少し明るくする）*/
.btn a:hover,
.btn-border-radius a:hover {
	filter: brightness(1.2);
}

/*btn-border-radiusの上書き*/
.btn-border-radius a {
	display: inline-block;
	padding: 0.5rem 2rem !important;	/*ボタン内の余白*/
	border-radius: 100px;	/*角丸の指定。適当に大きければOK。*/
	background: #f53e72 !important;
}




