@charset "utf-8";

/* ==========================================
   Index CSS - トップページ専用スタイル
   日本獣医病理学専門家協会（JCVP）
   CSS Naming: BEM
========================================== */

/* ==========================================
   Main Visual (MV) - メインビジュアル
   Design: 1_63 (背景+タイトル) + 28_52 (Group 1 カルーセル)
========================================== */

/* ----------- MV Wrapper ----------- */
.top_mv {
	width: 100%;
	position: relative;
	overflow: hidden;
}

/* ----------- MV Background + Title (1_63) ----------- */
.top_mv_bg {
	width: 100%;
	background-image: url("../image/mv/mv-bg.png");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	padding: 0 0 21px;
}

.top_mv_title {}

.top_mv_titleBox {
	border-top: 1px solid #e5e7eb;
	box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, 0.1);
	background: #f0f7fd;
	padding: 22px 75px;
	display: flex;
	align-items: center;
	width: 893px;
	max-width: 100%;
	flex-shrink: 0;
	margin: 0 0 0 auto;
}

.top_mv_title_small {
	font-size: 2.4rem;
	line-height: 32px;
	color: #374b67;
	font-weight: 500;
	white-space: nowrap;
	flex-shrink: 0;
}

.top_mv_title_large {
	font-size: 3.2rem;
	line-height: 32px;
	letter-spacing: 4px;
	color: #374b67;
	font-weight: 500;
	white-space: nowrap;
	margin-left: 30px;
}

/* ----------- MV Carousel (28_52 Group 1) ----------- */
.top_mv_carousel {
	width: 100%;
	padding: 30px 0;
	overflow: visible;
}

.top_mv_carousel .swiper-container {
	width: 100%;
	height: 100%;
}

.top_mv_carousel .swiper-slide {
	text-align: center;
	font-size: 18px;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	transition: 300ms;
	transform: scale(0.8);
}

.top_mv_carousel .swiper-slide-active,
.top_mv_carousel .swiper-slide-duplicate-active {
	transform: scale(1);
}

/* Carousel Card */
.mv_card {
	border: 2px solid #ffffff;
	border-radius: 20px;
	overflow: hidden;
	filter: drop-shadow(0px 9px 9px rgba(0, 0, 0, 0.078));
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: width, height;
}

.mv_card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.top_mv_carousel .swiper-button-prev {
	width: 36px;
	height: 36px;
	background: url(../image/mv/arrow-prev.svg);
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: 100% auto !important;
	left: 10px;
	top: calc(50% - 18px);
	outline: none;
	margin-top: 0 !important;
}

.top_mv_carousel .swiper-button-next {
	width: 36px;
	height: 36px;
	background: url(../image/mv/arrow-next.svg);
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: 100% auto !important;
	right: 10px;
	top: calc(50% - 18px);
	outline: none;
	margin-top: 0 !important;
}

.top_mv_carousel .swiper-button-next:after,
.top_mv_carousel .swiper-container-rtl .swiper-button-prev:after {
	display: none;
}

.top_mv_carousel .swiper-button-prev:after,
.top_mv_carousel .swiper-container-rtl .swiper-button-next:after {
	display: none;
}

/* ----------- About Section ----------- */
.about_section {
	background: #ffffff;
	padding: 77px 0 0;
}

.about_section .main {
	width: 1010px;
}

.about_header {
	display: flex;
	align-items: flex-start;
	gap: 0;
	margin-bottom: 25px;
}

.about_header_bar {
	background: #004ba9;
	width: 8px;
	height: 26px;
	flex-shrink: 0;
}

.about_header_title {
	font-size: 2.0rem;
	font-weight: 700;
	color: #3d3653;
	margin-left: 8px;
	line-height: 26px;
}

.about_text {
	font-size: 1.6rem;
	line-height: 1.875;
	color: #3d3653;
	margin-bottom: 0;
}

/* ----------- Banner Cards ----------- */
.banner_cards {
	background: #ffffff;
	padding: 0 0 86px;
	margin-top: 50px;
}

.banner_cards_grid {
	display: flex;
	gap: 22px;
	justify-content: center;
}

.banner_cards_column {
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: 535px;
	max-width: calc(50% - 11px);
}

.banner_card {
	position: relative;
	border: 1px solid #ffffff;
	border-radius: 6px;
	height: 162px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: block;
	display: flex;
	align-items: center;
	padding-left: 58px;
}

.banner_card_h:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 75, 169, 0.15);
}

.banner_card--01 {
	background-image: url("../image/banner/banner-01.png");
	background-color: #004ba9;
}

.banner_card--02 {
	background-image: url("../image/banner/banner-02.png");
}

.banner_card--03 {
	background-image: url("../image/banner/banner-03.png");
}

.banner_card--04 {
	background-image: url("../image/banner/banner-04.png");
}

.banner_card_content {
	text-align: center;
}

.banner_card_title {
	font-size: 2.0rem;
	font-weight: 700;
	color: #004ba9;
	line-height: 1.4;
}

.banner_card_subtitle {
	font-size: 1.4rem;
	font-weight: 700;
	color: #004ba9;
	line-height: 1.4;
}

.banner_card_subtitle02{
	text-align: justify;
}

.banner_card_subtitle02 a{
	color: #004ba9;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 5px;
}
.banner_card_subtitle02 a:hover span{
	text-decoration: underline;
}
.banner_card_subtitle02 a:last-child{
	margin-bottom: 0;
}
.banner_card_subtitle02 a span{
	color: #004ba9;
}

.banner_card_subtitle02 a span:last-child{
	text-decoration: none !important;
}

.banner_card_line {
	background: #004ba9;
	width: 203px;
	height: 1px;
	margin: 10px auto;
}

/* ----------- Topics & Jobs ----------- */
.topics_jobs {
	background: #f4f9ff;
	padding: 60px 0;
}

.topics_jobs .main {
	width: 1010px;
}

.topics_jobs_container {
	display: flex;
	flex-direction: column;
	gap: 47px;
}

/* Section Header */
.section_header {
	display: flex;
	align-items: center;
	column-gap: 95px;
}

.section_header_left {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 auto;
	justify-content: space-between;
}

.section_header_titleBox {
	display: flex;
	align-items: center;
	gap: 6px;
}

.section_header_icon {
	display: flex;
	align-items: center;
}

.section_header_icon img {
	width: 25px;
	height: auto;
	display: block;
}

.section_header_title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #004ba9;
	line-height: 1.2;
}

.section_header_icons {
	margin-left: 20px;
}

.section_header_icons img {
	width: 180px;
	display: block;
	height: auto;
	position: relative;
	top: 6px;
}

.section_header_more {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
	cursor: pointer;
	flex: none;
	color: #6a7282;
}

.section_header_more span {
	font-size: 1.2rem;
	line-height: 1.2;
}

.section_header_more img {
	width: 12px;
	height: 12px;
}

.section_header_more:hover {
	text-decoration: underline;
	color: #004ba9;
}

.section_header_line {
	width: 100%;
	height: 2px;
	background: #004ba9;
	margin-top: 4px;
}

/* News List */
.news_list {
	display: flex;
	flex-direction: column;
	margin-top: 20px;
}

.news_item {
	display: flex;
	padding: 11px 0;
	border-bottom: 1px solid #c8c8c8;
}

.news_item:last-child {
	
}

.news_date {
	font-size: 1.4rem;
	font-weight: 500;
	font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
	width: 100px;
	flex-shrink: 0;
	line-height: 1.75;
}

.news_date span {
	position: relative;
	top: 3px;
}

.news_linkBox {
	padding-left: 30px;
	flex: 1 1 auto;
	font-size: 1.6rem;
	color: #3d3653;
	line-height: 1.75;
	text-align: justify;
}

.news_linkBox a {
	color: #3d3653;
	text-decoration: underline;
}

.news_linkBox a:hover {
	color: #004ba9;
}

.news_title {
	font-size: 1.6rem;
	color: #3d3653;
	line-height: 1.4;
	flex: 1 1 auto;
	margin-left: 30px;
	cursor: pointer;
}

.news_title a {
	color: #3d3653;
}

.news_title a:hover {
	color: #004ba9;
	text-decoration: underline;
}

.jobs_notice {
	margin-top: 20px;
	font-size: 1.6rem;
	line-height: 1.75;
	color: #3d3653;
}

.news_list_more {
	font-size: 0;
	margin-top: 20px;
}

.news_list_moreBtn {
	width: 100px;
	display: block;
	border: 1px solid #004ba9;
	border-radius: 4px;
	background: #004ba9;
	padding: 10px 5px;
	text-align: center;
	margin: 0 0 0 auto;
}

.news_list_moreBtn span {
	font-size: 1.2rem;
	line-height: 1;
	color: #ffffff;
	font-weight: 500;
}

.news_list_moreBtn:hover {
	background: #003d8a;
	border-color: #003d8a;
}

/* ==========================================
   Responsive - 1024px以下（大型タブレット）
========================================== */
@media only screen and (max-width: 1024px) {

	/* MV Background */
	.top_mv_bg {
		padding: 0 0 20px;
	}

	.top_mv_titleBox {
		width: 600px;
		padding: 16px 20px;
	}

	.top_mv_title_small {
		font-size: 1.8rem;
		line-height: 28px;
	}

	.top_mv_title_large {
		font-size: 2.4rem;
		line-height: 28px;
		letter-spacing: 2px;
	}

	/* MV Carousel */
	.top_mv_carousel {
		
	}

	.about_section {
		
	}

	.banner_cards {
		padding: 0 0 80px;
	}

	.banner_cards_grid {
		flex-wrap: wrap;
	}

	.banner_cards_column {
		width: 100%;
		max-width: 535px;
		margin: 0 auto;
	}

	.banner_card {
		height: 140px;
	}

	.banner_card_content {
		top: 35px;
	}

	.banner_card_line {
		top: 68px;
		left: 40px;
		width: 190px;
	}

	.banner_card_title {
		font-size: 1.8rem;
	}

	.banner_card_subtitle {
		font-size: 1.4rem;
	}

	.section_header {
		column-gap: 40px;
	}

	.section_header_icons {
		margin-left: 20px;
	}

	.topics_jobs {
		
	}

	.news_linkBox {
		padding-left: 15px;
	}

	.news_linkBox a {
		font-size: 1.4rem;
	}

}

/* ==========================================
   Responsive - 768px以下（小型タブレット）
========================================== */
@media only screen and (max-width: 768px) {

	/* MV Background */
	.top_mv_bg {
		
	}

	.top_mv_titleBox {
		width: 460px;
		padding: 12px 15px;
	}

	.top_mv_title_small {
		font-size: 1.6rem;
		line-height: 24px;
	}

	.top_mv_title_large {
		font-size: 1.8rem;
		line-height: 24px;
		letter-spacing: 1px;
	}

	/* MV Carousel */
	.top_mv_carousel {
		
	}

	.about_section {
		padding: 60px 0 0;
	}

	.about_header_title {
		font-size: 1.8rem;
	}

	.about_text {
		line-height: 1.7;
	}

	.banner_cards {
		padding: 0 0 60px;
		margin-top: 40px;
	}

	.banner_card {
		height: 120px;
	}

	.banner_card_content {
		top: 28px;
	}

	.banner_card_line {
		top: 58px;
		left: 30px;
		width: 180px;
	}

	.banner_card_title {
		font-size: 1.6rem;
	}

	.banner_card_subtitle {
		font-size: 1.4rem;
	}

	.topics_jobs {
		
	}

	.topics_jobs_container {
		gap: 40px;
	}

	.section_header_title {
		font-size: 1.6rem;
	}

	.section_header_icons img {
		width: 140px;
		top: 6px;
	}

	.news_linkBox {
		padding-left: 10px;
	}

}

/* ==========================================
   Responsive - 480px以下（スマートフォン）
========================================== */
@media only screen and (max-width: 480px) {

	/* MV Background */
	.top_mv_bg {
		
	}

	.top_mv_titleBox {
		width: 220px;
		padding: 10px 10px;
		flex-direction: column;
		align-items: flex-start;
	}

	.top_mv_title_small {
		font-size: 1.4rem;
		line-height: 20px;
	}

	.top_mv_title_large {
		font-size: 1.6rem;
		line-height: 20px;
		letter-spacing: 0px;
		margin-left: 0;
		margin-top: 2px;
	}

	/* MV Carousel */
	.top_mv_carousel {
		padding: 20px 0;
	}

	.top_mv_carousel .swiper-button-prev {
		width: 28px;
		height: 28px;
		left: 5px;
		top: calc(50% - 14px);
	}

	.top_mv_carousel .swiper-button-next {
		width: 28px;
		height: 28px;
		right: 5px;
		top: calc(50% - 14px);
	}

	.about_section {
		padding: 50px 0 0;
	}

	.about_header {
		margin-bottom: 15px;
	}

	.about_header_bar {
		width: 6px;
		height: 22px;
	}

	.about_header_title {
		font-size: 1.6rem;
		line-height: 22px;
	}

	.about_text {
		font-size: 1.4rem;
		line-height: 1.6;
	}

	.banner_cards {
		padding: 0 0 50px;
	}

	.banner_cards_grid {
		gap: 15px;
	}

	.banner_cards_column {
		gap: 15px;
		max-width: 100%;
	}

	.banner_card {
		height: 100px;
		border-radius: 4px;
		padding-left: 15px;
	}

	.banner_card_content {
		top: 20px;
	}

	.banner_card_line {
		top: 48px;
		left: 20px;
		width: 180px;
		margin: 6px 0;
	}

	.banner_card_title {
		
	}

	.banner_card_subtitle {
		font-size: 1.4rem;
	}

	.topics_jobs {
		padding: 50px 0;
	}

	.topics_jobs_container {
		
	}

	.section_header_icons {
		
	}

	.section_header_icons img {
		width: 120px;
		top: 6px;
	}

	.section_header_title {
		
	}

	.section_header_more span {
		
	}

	.news_item {
		flex-wrap: wrap;
		padding: 10px 0;
	}

	.news_date {
		width: 100%;
		margin-bottom: 5px;
	}
	
	.news_date span {
		top: 0px;
	}

	.news_linkBox {
		padding-left: 0px;
		font-size: 1.4rem;
	}

	.news_linkBox a {
		padding-right: 17px;
	}

	.news_linkBox a.news_text_link {
		padding-right: 0;
	}

	.news_list_moreBtn {
		width: 80px;
		padding: 8px 5px;
	}
	
	.jobs_notice {
	    font-size: 1.4rem;
	}

}
