/* ==========================================================================
   Base Styles
   ========================================================================== */
html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	color: var(--color-text);
	background: var(--color-white);
	line-height: 1.8;
	padding-top: calc(var(--header-height) + var(--nav-height));
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Base Styles - Mobile */
@media (max-width: 768px) {
	body {
		padding-top: 4rem;
		padding-bottom: 5rem;
	}
}

a {
	color: var(--color-link);
}

a:hover {
	color: var(--color--link--hover);
}

/* ==========================================================================
   Header - Fixed
   ========================================================================== */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--header-height);
	background: var(--color-white);
	z-index: 1000;
	box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

.header-inner {
	max-width: var(--max-width);
	height: 100%;
	margin: 0 auto;
	padding: 0 var(--space-sm);
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}

.div_logo {
	width: 6.875rem;
	height: 4.0625rem;
	flex-shrink: 0;
}

.div_logo svg {
	width: 100%;
	height: 100%;
}

.site-title {
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.5;
	margin-right: auto;
}

.header-buttons {
	display: flex;
	gap: var(--space-sm);
}

.a_member-btn,
.button_language-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.5rem;
	padding: 0 1.25rem;
	font-size: 1rem;
	border-radius: 0;
	width: 13rem;
}

.a_member-btn {
	background: var(--color-accent);
	color: var(--color-text);
	text-decoration: none;
}

.language-menu-wrapper {
	position: relative;
}

.button_language-btn {
	background: var(--color-light-blue);
	color: #333;
}

.a_member-btn:hover,
.button_language-btn:hover {
	opacity: 0.9;
}

.language-submenu {
	position: absolute;
	top: 100%;
	right: 0;
	background: var(--color-secondary);
	display: none;
	flex-direction: column;
	min-width: 10rem;
	width: 100%;
	margin-top: 0rem;
	z-index: 1001;
}

.language-menu-wrapper.active .language-submenu {
	display: flex;
}

.language-submenu a {
	padding: 1rem;
	color: var(--color-white);
	transition: background 0.3s;
	text-decoration: none;
	text-align: center;
}

.language-submenu a:hover {
	background: var(--color-light-blue);
	color: var(--color-text);
}

.language-submenu a:last-child {
	border-bottom: none;
}

/* Header - Tablet */
@media (max-width: 75rem) {
	.header-inner {
		padding-left: var(--space-md);
		padding-right: var(--space-md);
	}
}

/* Header - Mobile */
@media (max-width: 768px) {
	header {
		height: 4rem;
	}

	.header-inner {
		gap: 0.75rem;
	}

	.div_logo {
		width: 4.375rem;
		height: 2.625rem;
	}

	.site-title {
		font-size: 1.5rem;
	}

	.header-buttons {
		display: none;
	}
}

/* ==========================================================================
   Navigation - Fixed
   ========================================================================== */
nav[aria-label="グローバルナビゲーション"] {
	position: fixed;
	top: var(--header-height);
	left: 0;
	right: 0;
	height: var(--nav-height);
	background: var(--color-primary);
	z-index: 999;
}

nav a {
	text-decoration: none;
}

.nav-list {
	max-width: var(--max-width);
	height: 100%;
	margin: 0 auto;
	display: flex;
}

.nav-item {
	flex: 1;
	position: relative;
}

.nav-item > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--color-white);
	font-size: 1rem;
	text-align: center;
	transition: background 0.3s;
}

.nav-item > a:hover,
.nav-item.active > a {
	background: rgba(255, 255, 255, 0.1);
}

.nav-close {
	display: none;
}

/* Submenu */
/*
.nav-item.has-submenu > a::after {
	content: "";
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 0.3rem solid transparent;
	border-right: 0.3rem solid transparent;
	border-top: 0.3rem solid var(--color-white);
	transition: transform 0.3s;
}

.nav-item.has-submenu.active > a::after {
	transform: translateY(-50%) rotate(180deg);
}
	*/

/* PC（48rem 超）専用：吊り下げ式サブメニュー */
@media (min-width: 48.0625rem) {
	.submenu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 100%;
		width: max-content;
		background: var(--color-light-blue);
		display: none;
		flex-direction: column;
		max-height: calc(100vh - var(--header-height) - var(--nav-height));
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.nav-item.active .submenu {
		display: flex;
	}

	.submenu a {
		padding: 1.5rem 3.5rem;
		color: var(--color-text);
		transition: background 0.3s;
		border-bottom: 1px solid var(--color-primary);
		text-align: center;
		white-space: nowrap;
	}

	.submenu a:hover {
		background: #f5f5f5;
	}

	.submenu a:last-child {
		border-bottom: none;
	}
}

/* Navigation - Tablet */
@media (max-width: 75rem) {
	.nav-list {
		padding-left: var(--space-md);
		padding-right: var(--space-md);
	}
}

/* ==========================================================================
   Navigation - Mobile（ドロップアップ化：グローバルナビをモバイル時に再利用）
   ========================================================================== */
@media (max-width: 768px) {
	/* nav 全体をフルスクリーンオーバーレイへ（btm-nav から開閉） */
	nav[aria-label="グローバルナビゲーション"] {
		position: fixed;
		inset: 0;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		height: auto;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
		display: none;
		padding: 0;
	}

	nav[aria-label="グローバルナビゲーション"].active {
		display: block;
	}

	/* メニュー本体（btm-nav の上に乗るパネル） */
	.nav-list {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 5rem; /* btm-nav の高さ分 */
		max-height: calc(100% - 5rem - 4rem);
		max-width: none;
		flex-direction: column;
		background: var(--color-primary);
		overflow-y: auto;
		overscroll-behavior: contain;
		animation: slideUp 0.3s ease-out;
		padding: 1rem 0;
	}

	/* 親項目 */
	.nav-item {
		flex: 0 0 auto;
		position: relative;
	}

	.nav-item > a {
		display: block;
		height: auto;
		padding: 1.125rem 2rem;
		font-size: 1.125rem;
		color: var(--color-white);
		text-align: left;
		background: var(--color-primary);
		border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.2);
	}

	.nav-item > a:hover,
	.nav-item.active > a {
		background: var(--color-secondary);
	}

	/* has-submenu の▼アイコン */
	.nav-item.has-submenu > a {
		position: relative;
	}
	.nav-item.has-submenu > a::after {
		content: "";
		position: absolute;
		right: 1.5rem;
		top: 50%;
		width: 0;
		height: 0;
		border-left: 0.375rem solid transparent;
		border-right: 0.375rem solid transparent;
		border-top: 0.375rem solid var(--color-white);
		transform: translateY(-50%);
		transition: transform 0.3s;
	}
	.nav-item.has-submenu.active > a::after {
		transform: translateY(-50%) rotate(180deg);
	}

	/* nav 内の閉じるボタン */
	.nav-close {
		display: none; /* nav が active になったら表示 */
		position: absolute;
		top: 5rem;
		right: 1rem;
		width: 3rem;
		height: 3rem;
		padding: 0;
		background: var(--color-white);
		color: var(--color-primary);
		border: none;
		border-radius: 0.25rem;
		box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
		cursor: pointer;
		z-index: 1;
	}

	.nav-close .material-symbols-outlined {
		font-size: 1.5rem;
		line-height: 1;
	}

	nav[aria-label="グローバルナビゲーション"].active .nav-close {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* サブメニュー：アコーディオン化 */
	.submenu {
		position: static;
		width: 100%;
		min-width: 0;
		background: var(--color-secondary);
		display: flex;
		flex-direction: column;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.nav-item.active .submenu {
		max-height: 100vh;
	}
	.submenu a {
		display: block;
		padding: 1rem 2rem 1rem 3.5rem;
		color: var(--color-white);
		font-size: 1rem;
		background: var(--color-secondary);
		border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.15);
		text-decoration: none;
		text-align: left;
		white-space: normal;
		transition: background 0.3s;
	}
	.submenu a:hover {
		background: var(--color-primary);
	}
}

/* ==========================================================================
   Bottom Navigation (Mobile Only)
   ========================================================================== */
.btm-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 5rem;
	background: var(--color-primary);
	display: none;
	z-index: 998;
	box-shadow: 0 -0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

.btm-nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	color: var(--color-white);
	font-size: 1rem;
	transition: background 0.3s;
	text-decoration: none;
	border: none;
	background: transparent;
	cursor: pointer;
}

.btm-nav-mypage {
	background: var(--color-accent);
	color: var(--color-text);
}

.btm-nav-language {
	background: var(--color-light-blue);
	color: var(--color-text);
	border-left: 1px solid var(--color-white);
	border-right: 1px solid var(--color-white);
}

.btm-nav-menu {
	background: var(--color-primary);
	color: var(--color-white);
}

.btm-nav-item:hover {
	opacity: 0.9;
}

.btm-nav-item .material-symbols-outlined {
	font-size: 2.5rem;
}

/* Bottom Navigation - Mobile */
@media (max-width: 768px) {
	.btm-nav {
		display: flex;
	}
}

/* ==========================================================================
   Drop-up Menu (Language Only)
   ※ メインメニューは <nav> をモバイル時に再利用するため、ここは Language 専用
   ========================================================================== */
.dropup-language {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: none;
	background: rgba(0, 0, 0, 0.5);
}

.dropup-language.active {
	display: block;
}

.dropup-content {
	position: absolute;
	bottom: 5rem;
	left: 0;
	right: 0;
	max-height: calc(100% - 5rem - 4rem);
	background: var(--color-primary);
	overflow-y: auto;
	animation: slideUp 0.3s ease-out;
	padding-top: 5rem;
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

.dropup-menu-list {
	padding: 0;
}

.dropup-menu-list > li a {
	display: block;
	padding: 1.125rem 2rem;
	color: var(--color-white);
	font-size: 1.125rem;
	background: var(--color-primary);
	border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.2);
	transition: background 0.3s;
	text-decoration: none;
	text-align: center;
}

.dropup-menu-list > li a:hover {
	background: var(--color-secondary);
}

.dropup-menu-list > li a:first-child {
	border-top: 0.0625rem solid rgba(255, 255, 255, 0.2);
}

.dropup-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 3rem;
	height: 3rem;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-white);
	color: var(--color-primary);
	border: none;
	border-radius: 0.25rem;
	box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
	cursor: pointer;
	z-index: 1;
}

.dropup-close .material-symbols-outlined {
	font-size: 1.5rem;
	line-height: 1;
}

/* ==========================================================================
   Hero Area
   ========================================================================== */
.hero-area {
	position: relative;
	overflow: visible;
	background: var(--color-white);
}

/*
.slider {
	position: relative;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
	*/

.slider-track {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slide {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 74rem;
	height: auto;
	opacity: 0;
	transition:
		opacity 0.5s,
		transform 0.5s;
	pointer-events: none;
}

.slide.active {
	opacity: 1;
	z-index: 2;
	pointer-events: auto;
	transform: translateX(-50%);
}

.slide.prev,
.slide.next {
	opacity: 0.2;
	z-index: 1;
	pointer-events: none;
}

.slide.prev {
	transform: translateX(calc(-150% - 3rem));
}

.slide.next {
	transform: translateX(calc(50% + 3rem));
}

.slide img {
	width: 100%;
	height: 100%;
	/*object-fit: cover;*/
}

/* Slider Controls */
/*
.slider-controls {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 1.5rem;
	z-index: 10;
}
	*/

.slider-dots {
	display: flex;
	gap: 1.5rem;
}

.dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #d9d9d9;
	transition: all 0.3s;
}

.dot.active {
	background: var(--color-primary);
}

.slider-pause {
	width: 2rem;
	height: 2rem;
	background: rgba(255, 255, 255, 0.8);
	border: 0.125rem solid var(--color-primary);
	border-radius: 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
}

.slider-pause:hover {
	background: rgba(255, 255, 255, 1);
}

.slider-pause .material-symbols-outlined {
	font-size: 1.25rem;
	color: var(--color-primary);
}

@media (min-width: 769px) {
	.hero-area {
		width: 100%;
		height: 34rem;
		margin: 1rem 0;
	}

	.slider {
		position: relative;
		height: 100%;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}

	.slider-controls {
		position: absolute;
		bottom: 1.25rem;
		left: 50%;
		transform: translateX(-50%);
		display: flex;
		align-items: center;
		gap: 1.5rem;
		z-index: 10;
	}
}

@media (max-width: 74rem) and (min-width: 769px) {
	.hero-area {
		max-height: 34rem;
		aspect-ratio: 1184/544;
		height: auto;
	}
}

/* Hero Area - Mobile */
@media (max-width: 768px) {
	.hero-area {
		padding: 0;
		width: 100%;
		/*aspect-ratio: 1184/544;
		overflow: hidden;*/
	}

	.slider {
		overflow: visible;
		position: relative;
		height: auto;
		width: 100%;
	}

	.slider-track {
		position: relative;
		width: 100%;
		aspect-ratio: 1184/544;
		overflow: hidden;
		height: auto;
	}

	.slide {
		width: 100%;
	}

	.slide.prev,
	.slide.next {
		display: none;
	}

	.slider-controls {
		/*position: absolute;
		bottom: -1rem;
		left: 50%;
		transform: translateX(-50%);*/
		position: relative;
		z-index: 10;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 1.5rem;
		padding: 0.75rem 0;
		background: var(--color-white);
	}
}

/* ==========================================================================
   Button Area
   ========================================================================== */
.btn-area {
	background: var(--gradient-btn-area);
	padding: var(--space-md) 0;
}

.btn-area a {
	text-decoration: none;
}

.btn-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--space-sm);
	display: flex;
	gap: var(--space-md);
	justify-content: center;
}

.a_btn-card {
	position: relative;
	width: 12rem;
	height: 5rem;
	background: var(--color-white);
	box-shadow: 0 0 0.3125rem 0 #83a0cd;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 1rem;
	color: var(--color-text);
	overflow: hidden;
	transition: transform 0.3s;
}

.a_btn-card::before {
	content: "";
	position: absolute;
	inset: -0.8125rem -2.6875rem;
	width: 12.25rem;
	height: 8.5625rem;
	background-image: url("../imgs/btn-bg.png");
	background-size: cover;
	z-index: 0;
}

.a_btn-card:hover {
	transform: translateY(-0.125rem);
}

.btn-label {
	position: relative;
	z-index: 1;
	text-shadow: 0 0 0.3125rem #ccc;
}

.btn-arrow {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 1rem;
	height: 1rem;
	background: var(--color-primary);
	clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Button Area - Tablet */
@media (max-width: 75rem) {
	.btn-grid {
		padding-left: var(--space-md);
		padding-right: var(--space-md);
		flex-wrap: wrap;
	}
}

/* Button Area - Mobile */
@media (max-width: 768px) {
	.btn-area {
		padding: 2rem 1rem;
	}

	.btn-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
		max-width: 24.5625rem;
	}

	.a_btn-card {
		width: 10rem;
		height: 5rem;
	}
}

/* ==========================================================================
   Main Content
   ========================================================================== */
main {
	background: var(--color-white);
	flex: 1 0 auto;
}

.content {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--space-sm);
}

.content > section {
	margin: var(--space-xl) 0;
}

/*.content > section section {
	padding: var(--space-lg) 0;
}*/

main > section {
	padding: var(--space-lg) 0;
}

main > .content section {
	margin: var(--space-lg) 0;
}

/*main > .content section + section {
	margin-top: 0;
}*/

main > .content section section:last-of-type {
	margin-bottom: 0;
}

.content h1 + section,
.content h2 + section {
	margin-top: 0;
}

main > .content section section:last-child {
	margin-bottom: 0;
}

@media (min-width: 769px) {
	main {
		padding-bottom: var(--space-lg);
	}
}

/* Main Content - Tablet */
@media (max-width: 75rem) {
	.content {
		padding-left: var(--space-md);
		padding-right: var(--space-md);
	}
	main {
		padding-bottom: var(--space-lg);
	}
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news {
	padding-top: 0;
}

.tabs {
	display: flex;
	margin-bottom: 0;
}

.tab {
	flex: 1;
	height: 3.5rem;
	border: 1px solid var(--color-secondary);
	background: var(--color-white);
	color: var(--color-secondary);
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.tab.active {
	background: var(--color-secondary);
	color: var(--color-white);
}

.tab-content {
	display: none;
	padding: 1.75rem 2rem;
	border: 1px solid var(--color-secondary);
	border-top: none;
	overflow-y: auto;
}

.tab-content.active {
	display: block;
}

.news-dl dt {
	width: 10rem;
}

.news-dl dd {
	width: calc(100%-10rem);
	margin-bottom: 0rem;
}

.news-dl dd a {
	color: var(--color-link);
}

.news-dl dd a:hover {
	color: var(--color--link--hover);
}

/* News Section - PC */
@media (min-width: 769px) {
	.tab-content {
		height: 16rem;
	}

	.news-dl {
		display: grid;
		grid-template-columns: 10rem 1fr;
		gap: 0.5rem 0;
	}
}

/* News Section - Mobile */
@media (max-width: 768px) {
	.tabs {
		margin-bottom: 0;
	}

	.tab {
		font-size: 1rem;
	}

	.tab-content {
		padding: 1.5rem;
	}

	.news-dl dt {
		margin-bottom: 0.25rem;
	}

	.news-dl dd {
		margin-bottom: 1rem;
	}

	/*.div_dl {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}*/
}

/* ==========================================================================
   Section Section (Branch Activity)
   ========================================================================== */
.section-section {
	position: relative;
	background-image: url("../imgs/section-bg.png");
	background-size: cover;
	background-position: center;
}

.div_section-map {
	flex: 1;
}

.div_section-list {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.div_section-list a {
	text-decoration: none;
}

.a_section-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1.2rem;
	color: #000;
	padding-bottom: var(--space-sm);
	border-bottom: 0.0625rem solid #000;
	transition: color 0.3s;
}

.a_section-item:hover {
	color: var(--color-primary);
}

.a_section-item .material-symbols-outlined {
	font-size: 0.875rem;
	transition: transform 0.3s ease;
}

.a_section-item:hover .material-symbols-outlined {
	transform: scale(1.7);
}

/* News Section - PC */
@media (min-width: 769px) {
	.section-section .content {
		padding-bottom: 5rem;
	}

	.div_section {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
	}

	.div_section-map {
		max-width: 45%;
	}

	.div_section-list {
		border: 1px solid var(--color-secondary);
		padding: 2.25rem 1.5rem;
		background: rgba(255, 255, 255, 0.5);
		max-width: 42%;
	}
}

/* Section Section - Tablet */
@media (max-width: 75rem) {
	.section-section .content {
		flex-direction: column;
	}
}

/* Section Section - Mobile */
@media (max-width: 768px) {
	.section-section {
		background-size: contain;
		background-repeat: no-repeat;
		background-position: bottom left;
	}

	.section-section .content {
		padding-bottom: 3rem;
	}

	.div_section-map,
	.div_section-list {
		width: 100%;
	}

	.div_section-map {
		margin-bottom: 3rem;
	}

	.a_section-item {
		font-size: 1.2rem;
		padding-bottom: 1rem;
	}
}

/* ==========================================================================
   Journal Section
   ========================================================================== */
.journal-section {
	position: relative;
	background-image: url("../imgs/journal-bg.png");
	background-size: cover;
	background-position: center;
}

.journal-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(223, 237, 241, 0.8);
	backdrop-filter: blur(0.25rem);
}

.journal-section .content {
	position: relative;
	z-index: 1;
}

.journal-content {
	display: flex;
	gap: 5rem;
	justify-content: center;
	margin-top: 1rem;
}

.div_journal-item {
	text-align: center;
}

.div_journal-item a {
	position: relative;
	color: var(--color-white);
	padding: 0.75rem;
	display: block;
	z-index: 0;
	text-decoration: none;
}

.div_journal-item a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 60%;
	background: var(--color-bg-gray);
	z-index: -1;
}

.div_journal-cover {
	width: 8.875rem;
	height: 12.5rem;
	margin: 0 auto 1.5rem;
	border: 0.0625rem solid #ccc;
	overflow: hidden;
}

.div_journal-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*.journal-name {
	background: var(--color-bg-gray);
	color: var(--color-white);
	padding: 0.75rem;
	font-size: 1rem;
}*/

@media (min-width: 769px) {
	.journal-content {
		padding-bottom: 1rem;
	}
}

/* Journal Section - Mobile */
@media (max-width: 768px) {
	.journal-content {
		flex-direction: column;
		align-items: center;
		gap: var(--space-md);
		margin-top: var(--space-lg);
	}
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */
.schedule-list {
	margin-top: var(--space-md);
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.div_schedule-item {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: var(--space-sm);
}

.div_schedule-month {
	background: var(--color-light-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	color: var(--color-text);
	padding: var(--space-sm);
	text-align: center;
}

.schedule-content {
	padding: var(--space-sm) 0;
}

.schedule-content li {
	list-style: disc;
	line-height: 1.8;
}

/* Schedule Section - PC */
@media (min-width: 769px) {
	.schedule-content li {
		margin-left: 2.5rem;
	}
}

/* Schedule Section - Mobile */
@media (max-width: 768px) {
	.div_schedule-item {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.div_schedule-month {
		padding: 0.5rem;
	}

	.schedule-content {
		padding: 1rem;
	}

	.schedule-content li {
		margin-left: 1rem;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
	background: var(--color-primary);
	color: var(--color-white);
	padding: var(--space-xl) var(--space-sm) var(--space-md);
	flex-shrink: 0;
}

footer a:hover {
	color: var(--color--link--hover);
}

.footer-inner {
	max-width: var(--max-width);
	margin: 0 auto 2rem;
}

.div_footer-address {
	margin-bottom: var(--space-md);
}

.div_footer-address dt {
	font-size: 1.2rem;
	font-weight: 400;
}

.div_footer-address dd {
	margin-bottom: var(--space-md);
	margin-left: 1rem;
}

.div_footer-address a {
	color: var(--color-white);
	text-decoration: underline;
}

.div_footer-links ul {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-bottom: var(--space-md);
}

.div_footer-links a {
	color: var(--color-white);
	text-decoration: underline;
}

.copyright {
	text-align: center;
	font-size: 0.8rem;
	padding-top: 1.25rem;
}

@media (min-width: 769px) {
	.footer-inner {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		column-gap: 2rem;
	}
}

/* Footer - Mobile */
@media (max-width: 768px) {
	.div_footer-address {
		margin-bottom: 3rem;
	}
	.div_footer-links {
		display: flex;
		justify-content: flex-end;
	}

	footer {
		padding-bottom: 1.5rem;
	}
}

/* ==========================================================================
   breadcrumb
   ========================================================================== */
nav[aria-label="breadcrumb"] {
	background-color: #efefef;
	font-size: 0.9rem;
	padding: 0.25rem 0;
}

nav[aria-label="breadcrumb"] ol {
	display: flex;
	flex-wrap: wrap;
}

nav[aria-label="breadcrumb"] ol li:not(:last-child)::after {
	content: ">";
	margin: 0 0.25rem;
}

nav[aria-label="breadcrumb"] ol li a[href] {
	text-decoration: underline;
	color: var(--color-link);
}

@media (max-width: 768px) {
	nav[aria-label="breadcrumb"] ol {
		overflow-x: auto;
	}
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.skip-link {
	position: absolute;
	top: -999px;
	left: 0;
	padding: 1rem;
	background: var(--color-primary);
	color: var(--color-white);
	text-decoration: none;
	z-index: 10000;
}

.skip-link:focus {
	top: 0;
}
