/*
Theme Name: ジュニエコ八尾
Theme URI: https://jec-yao.com/
Author: Banquet Office
Author URI: https://jec-yao.com/
Description: ジュニエコ八尾（ジュニアエコノミーカレッジ八尾）公式サイトのトップページ用テーマ。
Version: 1.0.0
Text Domain: banquetoffice-jecyao2026
*/

:root {
	--brand-blue-deep: #0A2540;
	--brand-blue: #0F4C81;
	--brand-sky: #F4F8FC;
	--brand-orange: #E67E22;
	--brand-gold: #D4AF37;
	--brand-dark: #2C3E50;
	--line-green: #06C755;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--brand-dark);
	background-color: #FAFCFF;
	font-size: 1.3125rem;
	line-height: 1.9;
	overflow-x: hidden;
	letter-spacing: 0.04em;
}

html {
	overflow-x: hidden;
}

.font-rounded {
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.font-sans-bold {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
}

/* セクション共通 */
.section-padding {
	padding: 7rem 0;
	position: relative;
}

@media (max-width: 768px) {
	.section-padding {
		padding: 4rem 0;
	}
}

/* TCD風：セクション見出しの巨大背景文字 */
.tcd-section-bg-text {
	position: absolute;
	top: 1rem;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
	font-size: 9rem;
	line-height: 1;
	color: rgba(15, 76, 129, 0.03);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	white-space: nowrap;
	pointer-events: none;
	z-index: 0;
}

@media (max-width: 768px) {
	.tcd-section-bg-text {
		font-size: 4rem;
		top: 0.5rem;
	}
}

/* セクション見出し */
.tcd-section-title {
	position: relative;
	z-index: 1;
	margin-bottom: 4rem;
}

@media (max-width: 768px) {
	.tcd-section-title {
		margin-bottom: 2.5rem;
	}
}

.tcd-section-title .sub {
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.25em;
	color: var(--brand-orange);
	display: block;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

.tcd-section-title h2 {
	font-size: 2.5rem;
	font-weight: 900;
	color: var(--brand-blue-deep);
	margin-bottom: 1.5rem;
	letter-spacing: 0.02em;
}

@media (max-width: 768px) {
	.tcd-section-title h2 {
		font-size: 1.75rem;
	}
}

.tcd-section-title .line-bar {
	width: 80px;
	height: 4px;
	background: linear-gradient(to right, var(--brand-blue), var(--brand-gold));
	margin: 0 auto;
	border-radius: 10px;
}

/* TCD風：斜めカットデザイン（セクション背景） */
.bg-skew-section {
	clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
	background-color: var(--brand-sky);
}

@media (max-width: 768px) {
	.bg-skew-section {
		clip-path: polygon(0 1.5%, 100% 0, 100% 98.5%, 0 100%);
	}
}

/* ヒーローセクション */
.bg-hero-tcd {
	background-image: linear-gradient(135deg, rgba(10, 37, 64, 0.88) 0%, rgba(15, 76, 129, 0.78) 100%), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1920&q=80');
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
	padding: 10rem 0 9rem 0;
	position: relative;
	overflow: hidden;
}

@media (max-width: 991px) {
	.bg-hero-tcd {
		padding: 6.5rem 0 5.5rem 0;
	}
}

/* ロゴのサイズ可変コントロール */
.logo-image-header {
	height: 55px;
	width: auto;
	object-fit: contain;
	transition: height 0.3s ease;
}

.logo-image-footer {
	height: 60px;
	width: auto;
	object-fit: contain;
	transition: height 0.3s ease;
}

@media (min-width: 768px) {
	.logo-image-header {
		height: 80px;
	}

	.logo-image-footer {
		height: 85px;
	}
}

/* ボタンデザイン */
.btn-tcd-primary {
	background: linear-gradient(135deg, var(--brand-orange) 0%, #E06C13 100%);
	color: #ffffff;
	font-weight: 700;
	padding: 1rem 2.5rem;
	border-radius: 6px;
	border: none;
	box-shadow: 0 4px 15px rgba(230, 126, 34, 0.25);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn-tcd-primary::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: rgba(255, 255, 255, 0.15);
	transition: all 0.3s ease;
	z-index: -1;
}

.btn-tcd-primary:hover::after {
	width: 100%;
}

.btn-tcd-primary:hover,
.btn-tcd-primary:focus {
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(230, 126, 34, 0.35);
}

.btn-tcd-outline-white {
	background-color: transparent;
	color: #ffffff;
	font-weight: 700;
	padding: 1rem 2.5rem;
	border-radius: 6px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	transition: all 0.3s ease;
}

.btn-tcd-outline-white:hover {
	background-color: #ffffff;
	color: var(--brand-blue-deep);
	border-color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* LINE友だち追加ボタン */
.btn-line-add {
	background-color: var(--line-green);
	color: #ffffff;
	font-weight: 700;
	padding: 1.1rem 2.5rem;
	border-radius: 8px;
	border: none;
	box-shadow: 0 4px 15px rgba(6, 199, 85, 0.25);
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.btn-line-add:hover,
.btn-line-add:focus {
	background-color: #05b04b;
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(6, 199, 85, 0.35);
}

/* ホバーリフト */
.tcd-card-hover {
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	border: none;
	box-shadow: 0 4px 20px rgba(10, 37, 64, 0.04);
	border-radius: 12px;
}

.tcd-card-hover:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08) !important;
}

/* ナビゲーション */
.navbar-tcd {
	backdrop-filter: blur(12px);
	background-color: rgba(230, 126, 34, 0.97);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
	transition: all 0.3s ease;
}

.nav-link-tcd {
	color: #ffffff !important;
	font-weight: 700;
	font-size: 1rem;
	position: relative;
	padding: 0.5rem 1rem !important;
}

.nav-link-tcd::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.nav-link-tcd:hover::after {
	width: 80%;
}

/* カリキュラムリスト風デザイン */
.tcd-schedule-card {
	background-color: #ffffff;
	border-radius: 16px;
	box-shadow: 0 5px 25px rgba(10, 37, 64, 0.03);
	border: 1px solid rgba(15, 76, 129, 0.04);
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.tcd-schedule-num {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 900;
	font-size: 5.5rem;
	line-height: 0.8;
	color: rgba(15, 76, 129, 0.06);
	position: absolute;
	right: 1.5rem;
	top: 1.5rem;
	user-select: none;
}

@media (max-width: 576px) {
	.tcd-schedule-num {
		font-size: 3.5rem;
		right: 1rem;
		top: 1rem;
	}
}

/* タブデザイン */
.tcd-nav-tabs .nav-link {
	border: none;
	color: #718096 !important;
	font-weight: 700;
	font-size: 1.2rem;
	padding: 1.2rem 2rem;
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	.tcd-nav-tabs .nav-link {
		font-size: 1rem;
		padding: 1rem 0.5rem;
	}
}

.tcd-nav-tabs .nav-link.active {
	color: var(--brand-blue-deep) !important;
	border-bottom: 3px solid var(--brand-blue);
	background-color: transparent;
}

/* アコーディオン */
.accordion-tcd {
	border: 1px solid rgba(15, 76, 129, 0.08);
	border-radius: 12px;
	overflow: hidden;
	background-color: #ffffff;
}

.accordion-tcd-item {
	border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.accordion-tcd-item:last-child {
	border-bottom: none;
}

.accordion-tcd-button {
	font-weight: 700;
	color: var(--brand-blue-deep);
	background-color: #ffffff;
	padding: 1.5rem;
	border: none;
	text-align: left;
	transition: all 0.3s ease;
}

.accordion-tcd-button:not(.collapsed) {
	background-color: var(--brand-sky);
	color: var(--brand-blue);
}
