/* =========================
   Front Page Layout
   Mobile First
========================= */

.front-main {
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
}

.front-hero {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding-top: 0;
	padding-bottom: 0;
}

.front-hero-slider {
	width: 100%;
}

.front-content-inner,
.front-news-inner {
	width: min(100% - 1.5rem, 1200px);
	margin-inline: auto;
}

.front-content {
	padding-top: 2rem;
	padding-bottom: 3rem;
}
.front-content p{
    line-height: 2.5;
}
.front-news {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.front-section-header {
	margin-bottom: 1.5rem;
}

.front-news-list {
	display: grid;
	gap: 1rem;
}

.front-news-item {
	min-width: 0;
}

.front-news-link {
	display: grid;
	gap: 0.375rem;
}

.front-news-more {
	margin-top: 1.5rem;
}
/* =========================
   Front Hero
========================= */

.front-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: var(--front-hero-height, 80vh);
	min-height: var(--front-hero-min-height, 28rem);
	overflow: hidden;
}

/* Swiper */
.front-hero-swiper {
	position: relative;
	z-index: 1;
}

.front-hero-swiper::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;

	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 40%,
		rgba(0, 0, 0, 0.4) 70%,
		rgba(0, 0, 0, 0.7) 100%
	);
}

.front-hero-swiper,
.front-hero-swiper .swiper-wrapper,
.front-hero-swiper .swiper-slide {
	width: 100%;
	height: 100%;
}

/* 画像 */
.front-hero-swiper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Hero Content */
.front-hero-content {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	padding: 2rem;
}

/* 画像 */
.front-hero-swiper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =========================
   Hero Content
========================= */

.front-hero-content {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: flex-end;
	/* justify-content: center; */
	padding: 2rem;
}

.front-hero-inner {
	width: min(100%, 1200px);
	margin: 0 auto;
}

/* タイトル */
.front-hero-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	margin-bottom: 1rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* サブテキスト */
.front-hero-text {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
/* キャッチコピーの外側はクリックを通す */
.front-hero-content {
	pointer-events: none;
}

/* 文字部分だけクリック可能に戻す */
.front-hero-inner {
	pointer-events: auto;
}

/* Swiperナビを前面に */
.front-hero-swiper .swiper-button-prev,
.front-hero-swiper .swiper-button-next,
.front-hero-swiper .swiper-pagination {
	z-index: 5;
}
/* =========================
   Swiper UI
========================= */

/* 矢印 */
.front-hero .swiper-button-prev,
.front-hero .swiper-button-next {
	color: #fff;
	z-index: 3;
}

.front-hero .swiper-button-prev {
	left: 1rem;
}

.front-hero .swiper-button-next {
	right: 1rem;
}

/* ドット */
.front-hero .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.6;
}

.front-hero .swiper-pagination-bullet-active {
	opacity: 1;
}

/* =========================
   Front Strengths
========================= */
.front-section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-main, #0b1e8a);
    text-align: center;
    margin-bottom: var(--space-m);
    padding-bottom: var(--space-m);
}
.front-section-heading__label{
	font-size: var(--font-size-l);
}
.front-section-heading__title {
    display: inline-block;
    position: relative;font-weight: bold;
    font-size: var(--font-size-xl);
}
.front-section-heading__title span{
    color: var(--color-accent);
font-size: var(--font-size-xxl);
}
.front-section-heading__title::after {    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 9999px;
}

.front-strengths {
	padding: 5rem 1rem;
}

.front-strengths__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}

.front-strengths__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.strength-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--color-bg-base, #fff);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: var(--transition-base);
}

.strength-card__image-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.strength-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.strength-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: var(--transition-base);
}

.strength-card:hover .strength-card__image img {
	/* transform: scale(1.05); */
}

.strength-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
}

.strength-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	font-weight: var(--font-weight-base);
	line-height: 1.4;
	color: var(--color-main);
}

.strength-card__title a {
	color: inherit;
	text-decoration: none;
}

.strength-card__title a:hover {
	/* text-decoration: underline; */
}

.strength-card__excerpt {
	color: var(--color-text-sub, #454545);
	font-size: 0.95rem;
	line-height: 1.8;
}

.strength-card__excerpt h2,
.strength-card__excerpt h3,
.strength-card__excerpt h4 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--color-text, #1b1b1b);
}

.strength-card__excerpt p {
	margin: 0;
}
.strength-card__excerpt h2 {
    font-size: 1.1rem;
    font-weight: 700;
    /*color: var(--color-accent);*/
    margin-bottom: 0.5rem;
}   

.strength-card__more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: auto;
	padding-top: 1rem;
	color: var(--color-main, #0b1e8a);
	font-weight: 700;
	text-decoration: none;
}

.strength-card__more::after {
	content: "→";
	margin-left: 0.4em;
	transition: var(--transition-base);
}

.strength-card__more:hover::after {
	transform: translateX(4px);
}

.front-section-description {
	max-width: 600px;
	color: var(--color-text-sub, #454545);
	font-size: 1rem;
	line-height: 1.6;
}

/* SP */
@media (max-width: 767px) {
	.front-strengths {
		padding: 3.5rem 1rem;
	}

	.front-strengths__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

/* =========================================================
   Front Page Component
========================================================= */

.front-section-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.4;
	font-weight: 700;
}

.front-news-item {
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.front-news-link {
	color: inherit;
	text-decoration: none;
}

.front-news-link:hover {
	opacity: 0.75;
	text-decoration: none;
}

.front-news-date {
	font-size: 0.875rem;
	opacity: 0.7;
}

.front-news-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

.front-news-category {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 2px 8px;
	border-radius: var(--radius-pill);
	background-color: var(--color-sub);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.front-news-category:hover {
	opacity: 0.85;
}

.cat-news {
	background-color: #2b6cb0;
}

.cat-case {
	background-color: #e8913a;
}

.cat-column {
	background-color: #6b46c1;
}

.cat-recruit {
	background-color: #38a169;
}

.cat-equipment {
	background-color: #4a5568;
}

.front-more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.75rem 1.25rem;
	border-radius: 9999px;
	background-color: rgba(0, 0, 0, 0.08);
	color: inherit;
	text-decoration: none;
	transition: var(--transition-base);
}

.front-more-link:hover {
	background-color: rgba(0, 0, 0, 0.12);
	text-decoration: none;
}

.front-news-empty {
	font-size: 0.95rem;
	line-height: 1.8;
}

/* =========================
   Responsive
========================= */

@media (max-width: 767px) {
	.front-hero {
		--front-hero-height: 70vh;
	}
}