@charset "utf-8";

body.front main .inner {
	max-width: 1000px;
	margin: auto;
	padding: 0 20px;
}

/*==================================================================

メイン画像上のテキスト

==================================================================*/

.mainvisual {
	position: relative;
	/* max-width: 1270px; */
	margin-bottom: 40px;
}
.mainvisual_contents {
	position: relative;
	width: 100%;
	padding-top: 56.25%
}
.mainvisual_contents video {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 50%;
	z-index: 5;
}

.unmute-button {
  position: absolute; /* 動画の上に重ねて配置 */
  bottom: -20px; /* 下からの位置 */
  right: 20px; /* 右からの位置 */
  background-color: rgba(0, 0, 0, 0.2); /* 半透明の背景 */
  border: none;
  border-radius: 50%; /* 丸いボタンに */
  padding: 10px;
  cursor: pointer;
  z-index: 10; /* 動画より手前に表示 */
  display: flex; /* アイコンを中央に配置 */
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease; /* ホバー時のアニメーション */
}
.unmute-button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.unmute-button img {
  width: 24px; /* アイコンのサイズ */
  height: 24px;
}

/* 横長画面だった場合の挙動 */
@media screen and (orientation: landscape) {
	.mainvisual_contents {
		height: 100vh;
        padding-top: 0;
	}
	.unmute-button {
		bottom: 0;
	}
	@media (max-width: 959px){
		.mainvisual_contents {
			height: calc(100svh - 95px);
		}
	}
	@media (min-width: 960px){
		.mainvisual_contents {
			height: calc(100vh - 110px);
		}
		.unmute-button {
			bottom: 20px;
		}
	}
	.mainvisual_contents video {
		position: static;
		display: block;
		object-position: 50% 0;
	}
}


/*==================================================================

TOPの掲示板

==================================================================*/
.top__bulletin__board__wrap {
  text-align: center;
  margin-bottom: 50px;
}

.top__bulletin__board {
  padding: 30px;
  position: relative;
  text-align: left;
  text-align: justify;
}
.top__bulletin__board p {
    margin-bottom: 1em;
}
.top__bulletin__board p:last-child {
  margin-bottom: 0 !important;
}
.top__bulletin__board__box + .top__bulletin__board__box {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #ed6e2b;
}

@media (max-width: 559px){
	.top__bulletin__board {
		padding: 20px;
	}
}
