@charset "utf-8";

/* ==================================================
PC
================================================== */

/* ========== トップページ ========== */

/* 非表示 */
#footstep_wrap {
	display: none !important;
}

/* バナー広告 */
#footer_banner {
	clear: both;
	width: var(--content-width, 1080px);
	margin: 0px auto 60px;
}
#footer_banner ul.banner_list {
	margin: 0px;
	padding: 0px;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 20px;
}
#footer_banner ul.banner_list li {
	width: 200px;
}
#footer_banner ul.banner_list li img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

.banner_text {
	display: block;
	padding: 10px;
	text-align: left;
}
.banner_text span {
	display: block;
}
.banner_text span:nth-child(2n) {
	font-size: var(--fontsize-main-small, 1.5rem);
}

/* 新着情報 */
.section_information {
	background: none;
	margin: 40px 0px;
	padding: 30px;
}
.section_information h2 {
	margin: 0px;
	padding: 0px;
	border: none;
	border-radius: 0;
	background: none;
	font-size: 2.4rem;
}

.section_information p.no_data {
	margin: 0px;
	padding: 20px 0px;
}

.section_information_list ul {
	margin: 0px;
	padding: 20px 0px;
	list-style: none;
}
.section_information_list ul li {
	width: 100%;
	display: table;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin: 0px 0px 15px;
}
.section_information_list ul li > span {
	display: table-cell;
	vertical-align: top;
}
.section_information_list ul li > span.article_date {
	width: calc(11em + 10px);
	font-size: var(--fontsize-detail-small, 1.6rem);
	padding-top: 0.1rem;
}

.section_information_list img.icon_new {
	vertical-align: baseline;
	margin-left: 0.5em;
}

/* 新着情報（文字拡大時） */
.font_size_changed .section_information_list ul li,
.font_size_changed .section_information_list ul li > span {
	display: block;
}
.font_size_changed .section_information_list ul li > span.article_date {
	width: auto;
	padding-top: 0px;
}

/* 新着情報（一覧 / RSS） */
.section_information_list div.link_box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 20px;
}
.section_information_list div.link_box span {
	display: inline-block;
	vertical-align: top;
	width: 260px;
	max-width: 100%;
}
.section_information_list div.link_box span a {
	display: block;
	border: 1px solid transparent;
	border-radius: 0;
	background: #ffffff;
	color: #333333;
	font-size: var(--fontsize-main-small, 1.5rem);
	line-height: 1.8rem;
	text-decoration: none;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
}
.section_information_list div.link_box span a:hover,
.section_information_list div.link_box span a:focus {
	text-decoration: underline;
}

#main_body div.detail_free a{
	display: block;
}
.staff_voice .detail_free div:first-child img{
	display: block;i
}

/* スライドショー */
#top_photo_wrap {
	width: 100%;
	height: 600px;
	line-height: 1;
	overflow: hidden;
	position: relative;
}
#top_photo_wrap::after {
	content: '';
	display: block;
	width: 100%;
	height: 600px;
	background: url("/img/sites/saiyou/mv_bg.png") no-repeat center center;
	background-size: contain;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 1;
	pointer-events: none;
}

#top_photo {
	width: calc(1080px * 3);
	position: relative;
	left: 50%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
}
#top_photo img {
	width: 1080px;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

#top_photo_wrap .swiper-button-next,
#top_photo_wrap .swiper-button-prev {
	display: none !important;
}

#top_photo_wrap button.swiper-button-start,
#top_photo_wrap button.swiper-button-stop {
	width: 36px;
	height: 36px;
	margin: 0px;
	padding: 0px;
	background: #296cd8;
	color: #ffffff;
	box-shadow: none;
	border-radius: initial;
	top: auto;
	left: calc(1080px * 2 - 36px);
	right: 0px;
	bottom: 0px;
	-webkit-transform: none;
	    -ms-transform: none;
	        transform: none;
}

/* ========== 背景色変更 ========== */

/* 共通 */
.color_change * {

}
/* 黒 */
.color_black * {

}
/* 青 */
.color_blue * {

}

/* ==================================================
PC ここまで
================================================== */


/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {

	/* ========== トップページ ========== */

	#main_body div.detail_free {
		scroll-snap-align: start;
	}

	.staff_voice_contents {
		scroll-snap-type: x mandatory;
	}

	/* バナー広告 */
	#footer_banner {
		width: auto;
		margin: 0px var(--mymainback-margin-side, 15px) 40px;
	}
	#footer_banner ul.banner_list {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		gap: 10px;
	}
	#footer_banner ul.banner_list li {
		width: calc(50% - 5px);
		max-width: 200px;
	}

	.banner_text span:nth-child(2n) {
		font-size: var(--fontsize-main-small, 1.3rem);
	}

	/* 新着情報 */
	.section_information {
		padding: 0px;
	}
	.section_information h2 {
		margin: 0px;
		padding: 15px 20px;
		font-size: 2rem;
	}

	.section_information p.no_data {
		padding: 20px;
	}

	.section_information_list ul {
		padding: 0px 20px 20px;
	}
	.section_information_list ul li {
		display: block;
		width: auto;
		margin: 0px;
		padding: 15px 0px;
		border-bottom: 1px solid #cccccc;
	}
	.section_information_list ul li > span {
		display: block;
	}
	.section_information_list ul li > span.article_date {
		width: auto;
		padding-top: 0px;
	}
	.section_information_list ul li a {
		display: block;
		background: url("/img/sp/arrow_r.png") no-repeat right center transparent;
		background-size: 8px auto;
		padding-right: 15px;
		text-decoration: none;
	}

	.section_information_list ul li:has(img.icon_new) {
		position: relative;
	}
	.section_information_list ul li:has(img.icon_new) > span.article_date {
		padding-left: 45px;
	}
	.section_information_list ul li:has(img.icon_new) img.icon_new {
		margin: 0px;
		position: absolute;
		top: 17px;
		left: 0px;
	}

	/* 新着情報（一覧 / RSS） */
	.section_information_list div.link_box {
		padding: 0px 20px 30px;
		gap: 10px;
	}
	.section_information_list div.link_box span {
		width: auto;
		max-width: none;
		min-width: calc(50% - 5px);
	}
	.section_information_list div.link_box span a {
		font-size: var(--fontsize-main-small, 1.3rem);
	}

	/* スライドショー */
	#top_photo_wrap {
		width: 100%;
		height: auto;
		aspect-ratio: 1080 / 600;
	}
	#top_photo_wrap::after {
		width: 100%;
		height: calc(100% - 36px);
		background-size: auto 150%;
	}

	#top_photo {
		width: 300vw;
	}
	#top_photo img {
		width: 100%;
	}

	#top_photo_wrap button.swiper-button-start,
	#top_photo_wrap button.swiper-button-stop {
		left: calc(200vw - 36px);
	}

	/* ========== 背景色変更 ========== */

	/* 共通 */
	.color_change * {

	}
	/* 黒 */
	.color_black * {

	}
	/* 青 */
	.color_blue * {

	}

}
/* ==================================================
スマートフォン ここまで
================================================== */

/* スクロールアニメーション */
@keyframes scrollAnim{
	0%{
		transform: translateY(100px);
		opacity: 0;
	}
	100%{
		transform: translateY(0px);
		opacity: 1;
	}
}
.js_anim.isView {
	animation: scrollAnim 1.5s ease;
}

/* オープニングアニメーション */
/* 初期状態の設定 */
#openingAnim {
	--fadeTime: 2.0s;
	/* フェードが始まるまでの時間はJavaScriptで指定している */
	opacity: 1;
	transition: opacity var(--fadeTime) ease;
	border: none;
	outline: none;
	padding: 20px;
	background-color: transparent;
	box-sizing: border-box;
	overflow: hidden;
}
#openingAnim img{
	max-height: 90vh;
	max-height: 90dvh;
	width: auto;
}

#openingAnim.closing {
	opacity: 0; 
}

#openingAnim::backdrop {
	background-color: rgba(255, 255, 255, 1);
	transition: background-color var(--fadeTime) ease-in-out; 
}

#openingAnim.closing::backdrop {
	background-color: rgba(255, 255, 255, 0);
}