@charset "utf-8";

/*----------------------------------------------
共通設定
---------------------------------------------*/
.c_trs {
	transition: .3s;
}

.c_tac {
	text-align: center;

}

.c_tar {
	text-align: right;
}

.c_flexc {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.c_right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
}

.c_m0a {
	margin: 0 auto;
}

.c_link {
	transition: .3s;
}

.c_link:hover {
	filter: opacity(70%);
}

.c_org_link {
	display: inline-block;   
	max-width: 100%;          
	word-break: break-all;   
	overflow-wrap: break-word;
	color: var(--main-color);
}

.c_pc-hidden {
	display: none;
}

@media (max-width: 500px) {
	.c_pc-hidden {
		display: block;
	}
	.c_sp-hidden {
		display: none;
	}
}
/*幅の設定
---------------------------------------------*/
.c_w960 {
	width: 960px;
	margin: 0 auto;
}

.c_w1280 {
	width: 1280px;
	margin: 0 auto;
}

.c_w1600 {
	width: 1600px;
	margin: 0 auto;
}
.c_w920 {
	max-width: 920px;
	width: 100%;
}

@media (max-width: 1640px) {
	.c_w1600 {
		width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 1360px) {

	.c_w1280 {
		width: 100%;
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 1280px) {

	.c_w960,
	.c_w1600 {
		width: 100%;
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 500px) {

	.c_w960,
	.c_w1280,
	.c_w1600 {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/*マージンの設定
---------------------------------------------*/
.c_mb160 {
	margin-bottom: 160px;
}

.c_mb80 {
	margin-bottom: 80px;
}

.c_mb40 {
	margin-bottom: 40px;
}

.c_mb20 {
	margin-bottom: 20px;
}

.c_mb10 {
	margin-bottom: 10px;
}

.c_pb160 {
	padding-bottom: 160px;
}

@media (max-width: 1050px) {
	.c_mb160 {
		margin-bottom: 80px;
	}

	.c_mb80 {
		margin-bottom: 40px;
	}

	.c_mb40 {
		margin-bottom: 20px;
	}

	.c_mb20 {
		margin-bottom: 10px;
	}

	.c_mb10 {
		margin-bottom: 5px;
	}

	.c_pb160 {
		padding-bottom: 80px;
	}
}

/*フォント
---------------------------------------------*/
.c_fw300 {
	font-weight: 300;
}

.c_fw500 {
	font-weight: 500;
}

.c_fw700 {
	font-weight: 700;
}

.c_lh18 {
	line-height: 1.8;
}

.c_fz80 {
	font-size: 8rem;
}

.c_fz40 {
	font-size: 4rem;
}

.c_fz24 {
	font-size: 2.4rem;
}

.c_fz20 {
	font-size: 2rem;
}


@media (max-width: 1050px) {
	.c_lh18 {
		line-height: 1.5;
	}

	.c_fz80 {
		font-size: 3rem;
	}

	.c_fz40 {
		font-size: 2.4rem;
	}

	.c_fz24 {
		font-size: 1.8rem;
	}

	.c_fz20 {
		font-size: 1.6rem;
	}
}

/*カラー
---------------------------------------------*/
.c_cl_wh {
	color: var(--wh);
}

.c_cl_bk {
	color: var(--bk);
}

.c_cl_red {
	color: var(--red);
}

.c_cl_bl {
	color: var(--bl);
}

.c_cl_ye {
	color: var(--ye);
}

.c_bg_wh {
	background-color: var(--wh);
}

.c_bg_bk {
	background-color: var(--bk);
}

.c_bg_red {
	background-color: var(--main-color);
}

.c_bg_bl {
	background-color: var(--bl);
}

.c_bg_ye {
	background-color: var(--ye);
}

.c_bg_lred {
	background-color: var(--lred);
}

.c_bg_lbl {
	background-color: var(--lbl);
}

.c_bg_lye {
	background-color: var(--lye);
}


/*----------------------------------------------
改行設定
---------------------------------------------*/
.c_br-pc {
	display: block;
}

.c_br-tab {
	display: none;
}

.c_br-sp {
	display: none;
}

@media (max-width: 1100px) {
	.c_br-pc {
		display: none;
	}

	.c_br-tab {
		display: block;
	}

	.c_br-sp {
		display: none;
	}
}

@media (max-width: 500px) {
	.c_br-pc {
		display: none;
	}

	.c_br-tab {
		display: none;
	}

	.c_br-sp {
		display: block;
	}
}

/*----------------------------------------------
共通タイトル
---------------------------------------------*/
.c_top_ttl {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-bottom: 40px;
}

.c_top_ttl-jp {
	line-height: 1;
	font-size: 5rem;
	font-weight: 700;
}

.c_top_ttl-en {
	line-height: 1;
	font-size: 1.4rem;
	font-weight: 900;
	letter-spacing: 0.5rem;
}

@media (max-width: 1100px) {
	.c_top_ttl-jp {
		font-size: 3rem;
	}
}

@media (max-width: 500px) {

	.c_top_ttl {
		margin-bottom: 20px;
	}

	.c_top_ttl-jp {
		font-size: 2.4rem;
	}

	.c_top_ttl-en {
		font-size: 1.2rem;
	}
}

/*----------------------------------------------
共通ボタン
---------------------------------------------*/
.c_link_btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 2rem;
	width: 360px;
	height: 50px;
	color: var(--wh);
	background-color: var(--main-color);
	border: 1px solid var(--main-color);
	padding: 0 20px 0 30px;
	border-radius: 50px;
	line-height: 1;
	transition: .3s;
	text-align: center;
	margin-top: 30px;
}

.c_link_btn:hover {
	color: var(--main-color);
	background: var(--wh);
	border: 1px solid var(--main-color);
} 


.c_link_deco {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
	border: 1px solid var(--wh);
	width: 20px;
	height: 20px;
	transition: .3s;
}

.c_link_arrow {
	display: inline-block;
	vertical-align: middle;
	color: var(--wh);
	line-height: 1;
	position: relative;
	background: currentColor;
}

/* .c_link_arrow:hover {
	color: var(--main-color) !important;
	background: currentColor;
} */
.c_link_btn:hover .c_link_deco{
	background-color: var(--main-color);
	border: 1px solid var(--main-color);
}

.c_link_deco:hover {
	color: var(--wh);
}
.c_link_arrow::before {
	content: '';
	width: 6px;
	height: 6px;
	border: 1px solid currentColor;
	border-left: 0;
	border-bottom: 0;
	transform: rotate(45deg);
	transform-origin: top right;
	position: absolute;
	top: 50%;
	right: -0.2em;
	box-sizing: border-box;
}

@media (max-width: 500px) {
	.c_link_btn {
		width: 250px;
		height: 40px;
		font-size: 1.6rem;
		padding: 0 10px 0 20px;
	}
}

/*----------------------------------------------
	お知らせ（トップ）
---------------------------------------------*/

.s_top_news_wrap {
	margin-bottom: 40px;
}

.c_news_list {
  border-top: 1px solid var(--bk);
}

.c_news_list:last-of-type {
  border-bottom: 1px solid var(--bk);
}

.c_news_link {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px; /* Ensures space between text container and arrow icon */
  transition: .3s;
  color: var(--bk);
}

.c_news_link:hover {
  filter: opacity(70%);
}

.c_news_item {
  display: grid;
  grid-template-columns: 15% 85%;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

@media (max-width: 870px) {
	.c_news_item {
		display: grid;
		grid-template-columns: 1fr;
	}
}
/* 1. Prevent date from shrinking */
.c_news_date {
  flex-shrink: 0;
  white-space: nowrap;
}

/* 2. Allow title to grow and wrap smoothly */
.c_news_ttl {
  flex: 1;
  min-width: 0;
  word-break: break-word; /* Prevents long text from breaking layout */
}

/* 3. Prevent arrow icon from squishing */
.c_news_deco {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1px solid var(--bk);
  width: 20px;
  height: 20px;
  flex-shrink: 0; /* Keeps arrow fixed at 20x20px */
  transition: .3s;
}

.c_news_arrow {
  display: inline-block;
  vertical-align: middle;
  color: var(--bk);
  line-height: 1;
  position: relative;
  background: currentColor;
}

.c_news_arrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.2em;
  box-sizing: border-box;
}

.c_news_link:hover .c_news_deco {
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
}

.c_news_link:hover .c_news_arrow {
  color: var(--wh);
}

/* Responsive Scaling */
@media (max-width: 1100px) {
  .s_top_news_wrap {
    margin-bottom: 20px;
    width: 100%;
  }
}

/* Stack Date & Title vertically on mobile for optimal spacing */
@media (max-width: 576px) {
  .c_news_item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}


/*----------------------------------------------
	お知らせページネーション
---------------------------------------------*/

.c_pagenation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.page-numbers {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--main-color);
	color: var(--wh);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: .3s;
	flex-shrink: 0;
}

.c_pagenation a:hover {
	filter: opacity(70%);
}

.c_pagenation .current {
	background-color: var(--wh);
	border: 1px solid var(--main-color);
	color: var(--main-color);
}

.page-numbers.prev,
.page-numbers.next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex-shrink: 0;
}


.page-numbers.prev span,
.page-numbers.next span {
	display: inline-block;
	vertical-align: middle;
	color: var(--wh);
	line-height: 1;
	position: relative;
	background: currentColor;
	transition: .3s;
}

.page-numbers.next span::before {
	content: '';
	width: 0.65em;
	height: 0.65em;
	border: 1px solid currentColor;
	border-left: 0;
	border-bottom: 0;
	transform: rotate(45deg);
	transform-origin: top right;
	position: absolute;
	top: 50%;
	right: -0.3em;
	box-sizing: border-box;
}

.page-numbers.prev span::before {
	content: '';
	width: 0.65em;
	height: 0.65em;
	border: 0.1em solid currentColor;
	border-right: 0;
	border-bottom: 0;
	transform: rotate(-45deg);
	transform-origin: top left;
	position: absolute;
	top: 50%;
	left: -0.3em;
	box-sizing: border-box;
}

@media (max-width: 500px) {

	.c_pagenation {
		gap: 4px;
	}

	.page-numbers {
		width: 28px;
		height: 28px;
	}

	.page-numbers.prev,
	.page-numbers.next {
		width: 28px;
		height: 28px;
	}

	.page-numbers.next span::before {
		right: -0.4em;
	}

	.page-numbers.prev span::before {
		left: -0.4em;
	}

}


/*----------------------------------------------
共通の動き
---------------------------------------------*/


.c_fadeIn,
.c_fadeUp,
.c_fadeDown,
.c_fadeLeft,
.c_fadeRight,
.c_fadeScale {
	opacity: 0;
}

/* その場で */
.is_fadeIn {
	animation-name: fadeInAnime;
	animation-duration: 2s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeInAnime {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* 下から */

.is_fadeUp {
	animation-name: fadeUpAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeUpAnime {
	from {
		opacity: 0;
		transform: translateY(100px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 上から */

.is_fadeDown {
	animation-name: fadeDownAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeDownAnime {
	from {
		opacity: 0;
		transform: translateY(-100px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 左から */

.is_fadeLeft {
	animation-name: fadeLeftAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeLeftAnime {
	from {
		opacity: 0;
		transform: translateX(-100px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* 右から */

.is_fadeRight {
	animation-name: fadeRightAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeRightAnime {
	from {
		opacity: 0;
		transform: translateX(100px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.is_fadeScale {
	animation-name: fadeScaleAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;

}

@keyframes fadeScaleAnime {
	from {
		transform: scale(0.5) translateY(200px);
		opacity: 0;
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0px);
	}
}