/* ============================================
   KOWA STYLE - Consolidated CSS
   Bootstrap 4 - No modifications
   ============================================ */

/* --- Root Variables & Base --- */
:root {
	--color-primary: #0054A5;
	--color-accent: #0054A5;
	--color-bg: #F4F7F9;
	--color-text: #2D3748;
	--shadow-float: 0 20px 40px rgba(0, 0, 0, 0.08);
	--shadow-card: 0 10px 30px rgba(0, 71, 143, 0.05);
	--glass-bg: rgba(255, 255, 255, 0.85);
}

body {
	font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
	color: var(--color-text);
	background-color: var(--color-bg);
	overflow-x: hidden;
}
body.is-loading {
	overflow: hidden;
}
h2, .h2 {
	font-size: 1.7rem;
}

/* --- Loading Screen --- */
.loading-screen {
	position: fixed;
	inset: 0;
	background: #0054a5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 99999;
	transform: translateY(0);
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.loading-screen.is-hidden {
	transform: translateY(-100%);
	pointer-events: none;
}
.loading-spinner-wrap {
	position: relative;
	width: 64px;
	height: 64px;
}
.loading-spinner {
	width: 64px;
	height: 64px;
	border: 4px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: loading-spin 0.9s linear infinite;
}
.loading-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	object-fit: contain;
}
.loading-text {
	margin-top: 14px;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}
@keyframes loading-spin {
	to { transform: rotate(360deg); }
}

/* --- Animations --- */
.reveal-circle-scroll {
	-webkit-clip-path: circle(0% at 50% 50%);
	clip-path: circle(0% at 50% 50%);
	opacity: 0;
	will-change: clip-path, opacity;
}

.fade-in-up {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-in-up.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Top Utility Bar --- */
.top-utility-bar {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	width: 95%;
	max-width: 1400px;
	z-index: 1001;
}
.top-utility-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	min-height: 52px;
}
.nav-link-top { color: #fff; font-size: 0.85rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; margin-left: 15px; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.nav-link-top:hover {
	color: #8ABDEE;
	text-decoration: none;
}
.top-utility-inner .font-weight-bold { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.secom-sticker input { height: 35px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* --- Header / Navigation --- */
#head {
	position: absolute;
	top: 86px;
	left: 50%;
	transform: translateX(-50%);
	width: 95%;
	max-width: 1400px;
	background: rgba(255, 255, 255, 0);
	backdrop-filter: blur(5px);
	border-radius: 20px;
	padding: 10px 30px;
	z-index: 1000;
	box-shadow: var(--shadow-float);
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: top 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
	border: 1px solid #ffffff69;
}
#head.is-sticky {
	position: fixed;
	top: 10px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
.head-bottom-row { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 45px; width: auto; }
.aniversario-header-logo img { height: 40px; width: auto; transition: 0.3s; }
.aniversario-header-logo { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
#head.is-sticky .aniversario-header-logo { opacity: 1; visibility: visible; }
.aniversario-header-logo:hover img { transform: scale(1.1); }
.aniversario_logo { transition: 0.3s; }
.aniversario_logo:hover { transform: scale(1.1); }

.main_menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main_menu li a { font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.35); padding: 10px 20px; transition: 0.3s; text-decoration: none; border-radius: 50px; display: inline-block; }
.main_menu li a:hover { background: rgba(255,255,255,0.18); color: #fff; }
#head.is-sticky .main_menu li a { color: #0054a5; text-shadow: none; }
#head.is-sticky .main_menu li a:hover { background: #0054a5; color: #fff; }

/* --- Language Selector --- */
.nav_lang { display: flex; gap: 8px; list-style: none; margin: 0; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav_lang img { width: 25px; height: 25px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: 0.3s; }
.nav_lang img:hover { transform: scale(1.1); }

/* --- Mobile Menu --- */
.menu-toggle {
	display: none;
	border: none;
	background: rgba(255,255,255,0.15);
	padding: 10px 12px;
	border-radius: 8px;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1;
}
#head.is-sticky .menu-toggle {
	background: var(--color-bg);
	color: #0054a5;
}
.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 1100;
}
.mobile-menu-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(82vw, 320px);
	height: 100vh;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: -16px 0 40px rgba(0, 0, 0, 0.15);
	padding: 24px 20px;
	transform: translateX(100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease, visibility 0.35s ease;
	z-index: 1200;
}
.mobile-menu-drawer .mobile-close {
	border: none;
	background: transparent;
	font-size: 1.5rem;
	color: #0054a5;
	line-height: 1;
	padding: 0;
}
.mobile-menu-drawer .mobile-menu-list {
	list-style: none;
	padding: 24px 0 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mobile-menu-drawer .mobile-menu-list a {
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	font-weight: 700;
	color: #0054a5;
	text-decoration: none;
	background: #f5f8fb;
}
.mobile-lang-section {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
}
.mobile-lang-label {
	font-size: 0.85rem;
	font-weight: 700;
	color: #333;
	display: block;
	margin-bottom: 10px;
}
.mobile-lang-section .nav_lang {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	list-style: none;
	padding: 0;
	margin: 0;
}
.mobile-lang-section .nav_lang li a img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e2e8f0;
	transition: 0.2s;
}
.mobile-lang-section .nav_lang li a img:hover {
	border-color: #0054a5;
	transform: scale(1.1);
}
body.menu-open .mobile-menu-overlay {
	opacity: 1;
	visibility: visible;
}
body.menu-open .mobile-menu-drawer {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
}

/* --- Section Title --- */
.section-title {
	font-size: 2.0rem;
	font-weight: 900;
	color: #0054a5;
	text-align: center;
	margin-bottom: 50px;
	position: relative;
}
.section-title i { color: var(--color-accent); margin-right: 10px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--color-accent); margin: 15px auto 0; border-radius: 2px; }

/* --- Buttons --- */
.btn-info {
	color: #fff;
	background-color: #0054a5;
}

/* --- Footer --- */
footer {
	background: #0054a5;
	color: #fff;
	padding: 30px 0 40px;
	margin-top: 30px;
	border-top: 5px solid var(--color-accent);
}
.footer-logo-area img {
	filter: brightness(0) invert(1);
	width: 175px;
	height: auto;
}
.company_name { font-size: 1.5rem; font-weight: bold; color: #fff; }
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}
.footer-links li a {
	color: #fff;
	font-weight: 500;
	/* text-decoration: none; */
	padding: 0px 10px;
	/* border-radius: 5px; */
	/* background: rgba(255, 255, 255, 0.04); */
	transition: 0.3s;
	display: inline-block;
}
.footer-links li a:hover { background: var(--color-accent); color: #fff; transform: translateY(-2px); }


/* ============================================
   INDEX PAGE
   ============================================ */

/* --- Hero / Carousel --- */
.hero-container { position: relative; height: 100vh; min-height: 700px; border-radius: 0 0 50px 50px; overflow: hidden; box-shadow: var(--shadow-float); }
.carousel, .carousel-inner, .carousel-item { height: 100%; }
.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 1.4s;
    transition-timing-function: ease-in-out;
    transform: none;
    background-color: #436697;
}
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
	z-index: 1;
	opacity: 1;
}
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
	z-index: 0;
	opacity: 0;
	transition: opacity 0s 1.4s;
}
.carousel-item img { height: 100%; width: 100%; object-fit: cover; transform: scale(1.05); transition: transform 6s ease; }
.carousel-item video { height: 100%; width: 100%; object-fit: cover; }
.carousel-item.active img { transform: scale(1); }
.mobile-full-banner { width: 100%; display: block; height: auto; margin-left: auto; margin-right: auto; }
.carousel-caption { top: 50%; bottom: auto; transform: translateY(-50%); text-align: left; left: 10%; right: 10%; max-width: 800px; }
.carousel-caption.video-caption { top: auto; bottom: 0%; transform: none; text-align: center; left: 0; right: 0; max-width: 100%; }
.hero-badge {
	display: inline-block;
	background: #0054a5;
	color: #fff;
	padding: 8px 20px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 10px;
	box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}
.hero-title { font-size: clamp(1.8rem, 3.6vw, 3.1rem); font-weight: 900; line-height: 1.4; margin-bottom: 30px; color: #fff; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-title span { color: #fff; }
.hero-btn { background: #fff; color: #0054a5; padding: 15px 40px; font-size: 1.1rem; font-weight: 700; border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.hero-btn:hover { background: var(--color-accent); color: #fff; transform: translateY(-5px); text-decoration: none; }

/* --- Shintyaku List (Latest Jobs) --- */
.shintyaku-list {
	background: #fff;
	border-radius: 20px;
	padding: 10px 15px;
	box-shadow: var(--shadow-card);
}
.shintyaku-list li { display: flex; align-items: center; flex-wrap: wrap; padding: 15px 0; border-bottom: 1px dashed #e2e8f0; transition: 0.3s; }
.shintyaku-list li:hover { transform: translateX(10px); background: #fdfdfd; }
.shintyaku-list li:last-child { border-bottom: none; }
.list-date .badge { background: var(--color-bg); color: #0054a5; font-size: 14px; padding: 8px 15px; border-radius: 8px; font-weight: bold; }
.location-tag { background: rgba(0, 210, 255, 0.1); color: #008eb0; padding: 5px 15px; border-radius: 50px; font-weight: 700; font-size: 12px; margin: 0 20px; text-decoration: none; white-space: nowrap; }
.job-title-link { color: var(--color-text); font-weight: 700; font-size: 1.1rem; text-decoration: none; flex-grow: 1; }
.job-title-link:hover { color: var(--color-accent); text-decoration: none; }

/* --- Job Card (Recommended Jobs) --- */
.job-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); height: 100%; position: relative; border: none; }
.job-card .work_img img { width: 100%; height: 200px; object-fit: cover; border-bottom: 4px solid var(--color-accent); }
.job-card-body { padding: 15px; }
.job-card-location { position: absolute; top: 15px; right: 15px; background: var(--glass-bg); backdrop-filter: blur(5px); padding: 5px 15px; border-radius: 50px; font-weight: bold; color: #0054a5; font-size: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.job-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; line-height: 1.4; color: var(--color-text); }
.job-card-salary { color: #FF4757; font-weight: 900; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; background: rgba(255, 71, 87, 0.05); padding: 10px; border-radius: 10px; }
.job-card-desc { font-size: 0.9rem; color: #555; margin-top: 15px; border-top: 1px dashed #eee; padding-top: 15px; }
.job-card-date { color: #a0aec0; font-size: 0.85rem; margin-top: 10px; }

/* --- Feature Box --- */
.feature-box { background: #fff; border-radius: 20px; padding: 30px 15px; text-align: center; box-shadow: var(--shadow-card); height: 100%; transition: 0.3s; }
.feature-box:hover { background: #0054a5; color: #fff; transform: translateY(-10px); }
.feature-icon-wrapper { width: 80px; height: 80px; background: rgba(0, 210, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: 0.3s; }
.feature-box:hover .feature-icon-wrapper { background: rgba(255,255,255,0.2); }
.feature-icon-wrapper img { width: 40px; }
.feature-title { font-size: 1.3rem; font-weight: 800; color: #0054a5; margin-bottom: 15px; }
.feature-box:hover .feature-title { color: #fff; }
.feature-desc { font-size: 0.95rem; line-height: 1.6; color: #718096; }
.feature-box:hover .feature-desc { color: rgba(255,255,255,0.8); }

/* --- Search Section (Index) --- */
.search-section {
	background: #0054a5;
	border-radius: 30px;
	padding: 30px;
	color: #fff;
	margin-top: 80px;
	box-shadow: var(--shadow-float);
}
.step-card { text-align: center; padding: 20px; }
.step-card img { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; border: 4px solid white; margin-bottom: 15px; }
.step-card h4 { font-weight: 700; font-size: 1.1rem; color: #9fdcff; }
.step-card p { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.search-form-box {
	background: #fff;
	border-radius: 20px;
	padding: 15px;
	color: var(--color-text);
}
.search-form-box .form-control { border: 2px solid #e2e8f0; border-radius: 10px; height: 50px; font-weight: 500; font-size: 1rem; }
.search-form-box .form-control:focus { border-color: var(--color-accent); box-shadow: 0 0 0 0.2rem rgba(0,210,255,.25); }
.btn-search-huge { width: 100%; height: 55px; background: #0054a5; border: none; border-radius: 10px; color: #fff; font-size: 1.2rem; font-weight: 800; margin-top: 20px; transition: 0.3s; cursor: pointer; }
.btn-search-huge:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,210,255,0.4); }

/* --- Office Wrapper (Index) --- */
.office-wrapper { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-card); }
.office-group { margin-bottom: 40px; }
/* .office-group:last-child { margin-bottom: 0; } */
.office-title {
	font-size: 1.2rem;
	font-weight: 800;
	color: #0054a5;
	border-left: 5px solid var(--color-accent);
	padding-left: 15px;
	margin-bottom: 17px;
}
.office-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.office-chips li { display: block; }
.office-chips li a { display: inline-flex; align-items: center; background: var(--color-bg); color: var(--color-text); padding: 12px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: 0.3s; border: 1px solid #e2e8f0; }
.office-chips li a i { color: var(--color-accent); margin-right: 8px; font-size: 1.1rem; }
.office-chips li a:hover { background: #0054a5; color: #fff; border-color: #0054a5; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,71,143,0.2); }


/* ============================================
   JOBS - POSTS (LIST) PAGE
   ============================================ */

.page-header {
	background: #0054a5;
	padding: 180px 0 60px;
	text-align: center;
	color: #fff;
	margin-bottom: 0;
}
.page-header h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; }
.page-header .breadcrumb-nav { font-size: 0.9rem; opacity: 0.8; }
.page-header .breadcrumb-nav a { color: #fff; text-decoration: underline; }

.search-card {
	background: #fff;
	border-radius: 20px;
	padding: 15px 25px;
	box-shadow: var(--shadow-card);
	margin-top: -40px;
	position: relative;
	z-index: 10;
}
.search-card .form-control {
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	height: 48px;
	font-weight: 500;
	font-size: 0.95rem;
}
.search-card .form-control:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 0.2rem rgba(0,210,255,.25);
}
.search-card label { font-weight: 700; color: var(--color-text); font-size: 0.9rem; margin-bottom: 5px; }
.btn-search {
	width: 100%;
	height: 48px;
	background: #0054a5;
	border: none;
	border-radius: 10px;
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	transition: 0.3s;
	cursor: pointer;
}
.btn-search:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,84,165,0.3); }

.results-info { color: #718096; font-size: 0.95rem; margin-bottom: 20px; }
.results-info strong { color: #0054a5; font-size: 1.2rem; }

.job-list-card {
	background: #fff;
	border-radius: 20px;
	padding: 15px 20px;
	box-shadow: var(--shadow-card);
	margin-bottom: 25px;
	transition: 0.3s;
	border: 2px solid transparent;
}
.job-list-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(0,71,143,0.1);
	border-color: rgba(0,84,165,0.15);
}

.job-list-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.job-list-title { font-size: 1.25rem; font-weight: 800; color: var(--color-text); flex-grow: 1; }
.job-list-title i { color: #f6ad55; margin-right: 5px; }
.job-code-badge {
	background: #0054a5;
	color: #fff;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	white-space: nowrap;
}

.job-list-categories { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.job-list-categories .cat-tag {
	background: rgba(0,210,255,0.1);
	color: #008eb0;
	padding: 4px 14px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
}
.job-list-categories .cat-tag:hover { background: #0054a5; color: #fff; }

.job-list-body { display: flex; flex-wrap: wrap; gap: 20px; }
.job-list-info { flex: 1; min-width: 280px; }
.job-list-image { width: 220px; flex-shrink: 0; }
.job-list-image img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; border: 2px solid #e2e8f0; }

.job-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.job-info-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; }
.job-info-item .info-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #0054a5;
	white-space: nowrap;
	min-width: 70px;
}
.job-info-item .info-label i { margin-right: 4px; }
.job-info-item .info-value { font-size: 0.9rem; color: var(--color-text); }
.info-salary { color: #FF4757 !important; font-weight: 900; }

.job-list-appeal {
	background: linear-gradient(135deg, #f7fafc, #edf2f7);
	border-radius: 10px;
	padding: 12px 16px;
	margin-top: 12px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.job-list-appeal .appeal-badge {
	background: #0054a5;
	color: #fff;
	padding: 5px 14px;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}
.job-list-appeal .appeal-text { font-size: 0.9rem; color: #555; }

.btn-detail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #FF6B35, #FF4757);
	color: #fff;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 800;
	font-size: 1rem;
	text-decoration: none;
	transition: 0.3s;
	border: none;
	margin-top: 15px;
}
.btn-detail:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255,71,87,0.3); color: #fff; text-decoration: none; }

.pager-wrapper { display: flex; justify-content: center; margin-top: 30px; margin-bottom: 30px; }
.pager-wrapper .pagination { gap: 4px; }
.pager-wrapper .page-item .page-link {
	border-radius: 10px;
	border: 2px solid #e2e8f0;
	color: #0054a5;
	font-weight: 700;
	padding: 8px 16px;
	transition: 0.3s;
}
.pager-wrapper .page-item.active .page-link,
.pager-wrapper .page-item .page-link:hover {
	background: #0054a5;
	border-color: #0054a5;
	color: #fff;
}

.no-results {
	text-align: center;
	padding: 60px 20px;
	color: #718096;
}
.no-results i { font-size: 3rem; color: #cbd5e0; margin-bottom: 15px; display: block; }


/* ============================================
   JOBS - DETAIL PAGE
   ============================================ */

.page-header-detail {
	background: #0054a5;
	padding: 180px 0 60px;
	color: #fff;
	margin-bottom: 40px;
}
.page-header-detail .breadcrumb-nav { font-size: 0.9rem; opacity: 0.8; margin-bottom: 10px; }
.page-header-detail .breadcrumb-nav a { color: #fff; text-decoration: underline; }
.page-header-detail h1 { font-size: 2rem; font-weight: 900; margin-bottom: 15px; }
.page-header-detail .job-code-badge {
	display: inline-block;
	background: rgba(255,255,255,0.2);
	color: #fff;
	padding: 6px 20px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 700;
}
.page-header-detail .recruit-badge {
	display: inline-block;
	padding: 6px 20px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 700;
	margin-left: 10px;
}
.recruit-active { background: #48bb78; color: #fff; }
.recruit-inactive { background: #e53e3e; color: #fff; }

.detail-categories { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.detail-categories .cat-tag {
	background: rgba(255,255,255,0.2);
	color: #fff;
	padding: 4px 14px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
}
.detail-categories .cat-tag:hover { background: rgba(255,255,255,0.4); color: #fff; }

.detail-main { display: flex; gap: 30px; flex-wrap: wrap; }
.detail-left { flex: 1; min-width: 300px; }
.detail-right { width: 400px; flex-shrink: 0; }

.detail-slider {
	background: #fff;
	border-radius: 20px;
	padding: 15px;
	box-shadow: var(--shadow-card);
	position: sticky;
	top: 100px;
}
.detail-slider .carousel-item img {
	width: 100%;
	height: 350px;
	object-fit: cover;
	border-radius: 12px;
}
.detail-slider .carousel-indicators li {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #0054a5;
	opacity: 0.4;
}
.detail-slider .carousel-indicators .active { opacity: 1; }
.detail-slider .carousel-control-prev-icon,
.detail-slider .carousel-control-next-icon {
	background-color: rgba(0,84,165,0.6);
	border-radius: 50%;
	padding: 15px;
}

.detail-table-card {
	background: #fff;
	border-radius: 20px;
	padding: 15px;
	box-shadow: var(--shadow-card);
	margin-bottom: 30px;
}
.detail-table { width: 100%; border-collapse: collapse; border: 1px solid #dde3ea; }
.detail-table th {
	background: var(--color-bg);
	padding: 14px 16px;
	font-weight: 700;
	color: #0054a5;
	white-space: nowrap;
	vertical-align: top;
	width: 120px;
	border: 1px solid #dde3ea;
}
.detail-table td { padding: 14px 16px; vertical-align: top; border: 1px solid #dde3ea; }
.detail-table .salary-value { color: #FF4757; font-weight: 900; font-size: 1.1rem; }

.section-block {
	background: #fff;
	border-radius: 20px;
	padding: 15px;
	box-shadow: var(--shadow-card);
	margin-bottom: 30px;
}
.section-block-title {
	background: #0054a5;
	color: #fff;
	padding: 12px 15px;
	border-radius: 15px;
	font-size: 1.2rem;
	font-weight: 800;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.appeal-section {
	background: linear-gradient(135deg, #f7fafc, #edf2f7);
	border-radius: 20px;
	padding: 15px 20px;
	margin-bottom: 30px;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
}
.appeal-section .appeal-badge {
	background: #0054a5;
	color: #fff;
	padding: 10px 24px;
	border-radius: 50px;
	font-weight: 800;
	white-space: nowrap;
	flex-shrink: 0;
}
.appeal-section .appeal-content { font-size: 1rem; line-height: 1.8; flex-grow: 1; }

.tantosha-card {
	background: #fff;
	border-radius: 20px;
	padding: 15px;
	box-shadow: var(--shadow-card);
	margin-bottom: 30px;
	border-top: 4px solid #0054a5;
}
.tantosha-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px dashed #e2e8f0;
}
.tantosha-row:last-child { border-bottom: none; }
.tantosha-label { font-weight: 700; color: #0054a5; font-size: 0.85rem; white-space: nowrap; }
.tantosha-value {
	font-size: 1.35rem;
	font-weight: bold;
	padding-right: 10px;
}
.tantosha-flag img {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}
.entry-section {
	background: linear-gradient(135deg, #FF6B35, #FF4757);
	border-radius: 20px;
	padding: 40px;
	text-align: center;
	margin-bottom: 40px;
}
.btn-entry {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: #FF4757;
	padding: 18px 50px;
	border-radius: 50px;
	font-size: 1.2rem;
	font-weight: 900;
	text-decoration: none;
	transition: 0.3s;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.btn-entry:hover { transform: translateY(-5px); color: #FF4757; text-decoration: none; box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

.howto-section { margin-bottom: 40px; }
.howto-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.howto-step {
	background: #fff;
	border-radius: 20px;
	padding: 15px;
	text-align: center;
	box-shadow: var(--shadow-card);
	flex: 1;
	min-width: 200px;
	max-width: 250px;
	transition: 0.3s;
}
.howto-step:hover { transform: translateY(-5px); }
.howto-step img { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; border: 3px solid #0054a5; margin-bottom: 12px; }
.howto-step h4 { font-size: 1rem; font-weight: 800; color: #0054a5; margin-bottom: 8px; }
.howto-step p { font-size: 0.85rem; color: #718096; line-height: 1.6; }

.btn-back-list {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-bg);
	color: #0054a5;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
	border: 2px solid #e2e8f0;
}
.btn-back-list:hover { background: #0054a5; color: #fff; text-decoration: none; border-color: #0054a5; }


/* ============================================
   PAGE DETAIL
   ============================================ */

/* page/details uses .page-header-detail too, but with margin-bottom:0 on h1 */
/* That variant is handled by a more specific selector below */
.page-detail-page .page-header-detail h1 { margin-bottom: 0; }

.page-content-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	padding: 40px;
	margin-bottom: 40px;
}
.page-content-card img {
	max-width: 100%;
	height: auto;
}
.page-content-card h2 {
	color: #0054a5;
	font-weight: 800;
	margin-top: 30px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #0054a5;
}
.page-content-card h3 {
	color: #333;
	font-weight: 700;
	margin-top: 25px;
	margin-bottom: 10px;
}
.page-content-card p {
	line-height: 1.8;
	color: #555;
}
.page-content-card ul {
	padding-left: 20px;
}
.page-content-card ul li {
	line-height: 2;
	color: #555;
}
.page-content-card strong {
	color: #333;
}

.page-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 30px;
	background: #0054a5;
	color: #fff;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	transition: 0.3s;
}
.page-back-btn:hover {
	background: #333;
	color: #fff;
	text-decoration: none;
}

/* Legacy CSS from old site contents */
.novas_vagas { padding: 10px 0; }
.box_title4 {
	color: #0054a5;
	font-weight: 800;
	font-size: 1.6rem;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #0054a5;
}
.texto_grande {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #555;
}
.left_photo {
	margin-bottom: 15px;
}
.left_photo img {
	max-width: 100%;
	height: auto !important;
	margin: 5px;
	border-radius: 8px;
}
.right4 {
	line-height: 2;
	color: #555;
}
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}


/* ============================================
   OFFICE DETAIL PAGE
   ============================================ */

.page-header-office {
	background: #0054a5;
	padding: 180px 0 60px;
	color: #fff;
	margin-bottom: 40px;
}
.page-header-office .breadcrumb-nav { font-size: 0.9rem; opacity: 0.8; margin-bottom: 10px; }
.page-header-office .breadcrumb-nav a { color: #fff; text-decoration: underline; }
.page-header-office h1 { font-size: 2rem; font-weight: 900; margin-bottom: 5px; }
.page-header-office h2 { font-size: 1.3rem; font-weight: 600; opacity: 0.9; margin: 0; }

.office-detail-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	padding: 15px;
	margin-bottom: 30px;
}
.office-photo-gallery { margin-bottom: 20px; }
.office-photo-gallery img {
	width: 100%;
	max-height: 350px;
	object-fit: cover;
	border-radius: 12px;
	border: 2px solid #eee;
}
.office-photo-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.office-photo-thumbs img {
	width: 80px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid #ddd;
	cursor: pointer;
	transition: 0.3s;
}
.office-photo-thumbs img:hover,
.office-photo-thumbs img.active { border-color: #0054a5; }

.office-info-table { width: 100%; border-collapse: collapse; border: 1px solid #dde3ea; }
.office-info-table th {
	background: #0054a5;
	color: #fff;
	padding: 12px 16px;
	font-weight: 700;
	font-size: 0.9rem;
	width: 120px;
	vertical-align: middle;
	border: 1px solid #dde3ea;
}
.office-info-table td {
	padding: 12px 16px;
	color: #555;
	font-size: 0.95rem;
	vertical-align: middle;
	border: 1px solid #dde3ea;
}

.office-tantosha {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	padding: 15px;
	margin-bottom: 30px;
}
.office-tantosha img { max-width: 100%; height: auto; border-radius: 8px; }

.office-map-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	overflow: hidden;
	margin-bottom: 30px;
}
.office-map-card iframe {
	width: 100%;
	height: 400px;
	border: none;
	display: block;
}

.office-jobs-section h3 {
	color: #0054a5;
	font-weight: 800;
	font-size: 1.4rem;
	text-align: center;
	margin-bottom: 20px;
}
.office-job-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	padding: 20px;
	margin-bottom: 16px;
	display: flex;
	gap: 16px;
	transition: 0.3s;
}
.office-job-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); transform: translateY(-2px); }
.office-job-card .job-thumb {
	width: 110px;
	height: 110px;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid #eee;
	flex-shrink: 0;
}
.office-job-card .job-info { flex: 1; }
.office-job-card .job-info h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #333; }
.office-job-card .job-info h4 a { color: #333; text-decoration: none; }
.office-job-card .job-info h4 a:hover { color: #0054a5; }
.office-job-salary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff5f5;
	color: #e53e3e;
	padding: 4px 12px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 8px;
}
.office-job-appeal { color: #666; font-size: 0.9rem; line-height: 1.6; }

.office-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 30px;
	background: #0054a5;
	color: #fff;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	transition: 0.3s;
}
.office-back-btn:hover { background: #333; color: #fff; text-decoration: none; }


/* ============================================
   OFFICE LIST PAGE
   ============================================ */

.page-header-lista {
	background: #0054a5;
	padding: 180px 0 60px;
	color: #fff;
	margin-bottom: 40px;
}
.page-header-lista .breadcrumb-nav { font-size: 0.9rem; opacity: 0.8; margin-bottom: 10px; }
.page-header-lista .breadcrumb-nav a { color: #fff; text-decoration: underline; }
.page-header-lista h1 { font-size: 2rem; font-weight: 900; margin: 0; }

.office-group-title {
	font-size: 1.5rem;
	font-weight: 800;
	color: #0054a5;
	margin: 30px 0 20px;
	padding-bottom: 10px;
	border-bottom: 3px solid #0054a5;
}

.office-list-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	padding: 24px;
	margin-bottom: 20px;
	display: flex;
	gap: 24px;
	transition: 0.3s;
}
.office-list-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); transform: translateY(-2px); }

.office-list-photo {
	width: 200px;
	flex-shrink: 0;
}
.office-list-photo img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid #eee;
}

.office-list-info { flex: 1; }
.office-list-info h3 { font-size: 1.2rem; font-weight: 800; color: #333; margin-bottom: 4px; }
.office-list-info h4 { font-size: 1rem; font-weight: 600; color: #666; margin-bottom: 12px; }
.office-list-info .info-row { color: #555; font-size: 0.9rem; margin-bottom: 4px; }
.office-list-info .info-row i { color: #0054a5; width: 20px; text-align: center; margin-right: 6px; }

.office-detail-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 8px 20px;
	background: #0054a5;
	color: #fff;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.85rem;
	transition: 0.3s;
}
.office-detail-link:hover { background: #333; color: #fff; text-decoration: none; }

.hero-container .carousel-item video {
    object-position: calc(50% - 15px) center;
}


/* ============================================
   RESPONSIVE - 992px
   ============================================ */
@media (max-width: 992px) {
	/* Header */
	.top-utility-bar { display: none; }
	#head { top: 16px; padding: 10px 16px; }
	#head.is-sticky { top: 8px; }
	.aniversario-header-logo { opacity: 1; visibility: visible; }
	.aniversario-header-logo img { height: 35px; }
	.main_menu { display: none; }
	.menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

	/* Hero */
	.hero-container,
	.hero-container .carousel,
	.hero-container .carousel-inner,
	.hero-container .carousel-item,
	.hero-container .carousel-item img,
	.hero-container .carousel-item video,
	.mobile-full-banner { width: 100%; }
	.hero-title { font-size: 1.3rem; }
    .hero-badge {
        margin-bottom: 5px;
    }
	.carousel-caption { left: 5%; right: 5%; bottom: 10%; }
	.hero-container { height: 85vh; min-height: 400px; background: #0054a5; }
	.hero-container .carousel,
	.hero-container .carousel-inner,
	.hero-container .carousel-item { height: 100%; }
	.hero-container .carousel-item img,
	.hero-container .carousel-item video {
		height: 100%;
		object-fit: cover;
		transform: none;
	}
	.hero-container .carousel-item video {
		object-position: calc(50% - 15px) center;
	}
	.hero-container .carousel-item img.slide-photo {
		object-position: 69% center;
	}
    .mobile-banner-wrap {
        max-width: 96%;
        padding-left: 0;
        padding-right: 0;
        /* margin: 10px; */
    }
	.mobile-full-banner { max-width: 100% !important; }
	.search-section { padding: 40px 20px; }

	/* Content images - height auto for tablets */
	.job-list-image img { height: auto !important; object-fit: unset !important; }
	.detail-slider .carousel-item img { height: auto !important; object-fit: unset !important; }
	.page-content-card img { width: 100%; height: auto !important; object-fit: unset !important; }
}

/* ============================================
   RESPONSIVE - 768px
   ============================================ */
@media (max-width: 768px) {
	/* Jobs Posts */
	.page-header { padding: 130px 0 40px; }
	.page-header h1 { font-size: 1.6rem; }
	.search-card { padding: 15px; margin-top: -30px; }
	.job-list-card { padding: 15px; }
	.job-list-image { width: 100%; }
	.job-list-image img { height: auto !important; object-fit: unset !important; }
	.job-info-grid { grid-template-columns: 1fr; }
	.job-list-body { flex-direction: column-reverse; }

	/* Shintyaku list - title on new line */
	.shintyaku-list li .job-title-link { flex-basis: 100%; margin-top: 8px; }

	/* Jobs Detail */
	.page-header-detail { padding: 130px 0 40px; }
	.page-header-detail h1 { font-size: 1.4rem; margin-bottom: 10px; }
	.page-header-detail .recruit-badge { margin-left: 0; margin-top: 8px; }
	.detail-right { width: 100%; }
	.detail-slider { position: static; }
	.detail-slider .carousel-item img { height: auto !important; object-fit: unset !important; }
	.detail-main { flex-direction: column-reverse; }
	.entry-section { padding: 25px 15px; }
	.btn-entry { padding: 14px 30px; font-size: 1rem; }
	.appeal-section { flex-direction: column; }

	/* Page Detail */
	.page-content-card { padding: 15px; border-radius: 12px; }
	.page-content-card img { width: 100%; height: auto !important; object-fit: unset !important; }
	.left_photo img {
		float: none !important;
		display: block;
		margin: 10px auto;
	}

	/* Office Detail */
	.page-header-office { padding: 130px 0 40px; }
	.page-header-office h1 { font-size: 1.4rem; }
	.office-detail-card { padding: 15px; border-radius: 12px; }
	.office-info-table th { width: 90px; font-size: 0.8rem; padding: 10px; }
	.office-info-table td { font-size: 0.85rem; padding: 10px; }
	.office-job-card { flex-direction: column; }
	.office-job-card .job-thumb { width: 100%; height: 180px; }

	/* Office List */
	.page-header-lista { padding: 130px 0 40px; }
	.page-header-lista h1 { font-size: 1.4rem; }
	.office-list-card { flex-direction: column-reverse; gap: 16px; padding: 16px; }
	.office-list-photo { width: 100%; }
	.office-list-photo img { height: 200px; }

    .section-title {
        font-size: 1.2rem;
        font-weight: 900;
        color: #0054a5;
        text-align: center;
        margin-bottom: 26px;
        position: relative;
    }
    h3, .h3 {
        font-size: 1.35rem;
        text-align: center;
    }
    .search-form-box {
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        color: var(--color-text);
    }
    .office-wrapper {
        background: #fff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: var(--shadow-card);
    }
    .office-chips li a {

        padding: 7px 14px;

    }
    .howto-step {

        max-width: 100%;

    }
    h2, .h2 {
        font-size: 1.5rem;
    }
}
