/*------------------------------------
.section-about-message（中核メッセージ）
------------------------------------*/
.section-about-message {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section-about-message {
    padding: 7rem 0;
  }
}

.section-about__inner {
	position: relative;
	min-height: 600px;
}
.section-about__container {
	max-width: 1200px;
	width: calc(100% - 3rem);
	margin: auto;
}
.section-about__container > * {
	width: 50%;
}
.section-about__img {
	position: absolute;
	top: 0;
	right: 0;
	height: 600px
}
.section-about__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.section-about__txt {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 600px;
	margin-right: auto;
	padding-right: 5rem;
}
.section-about__txt .section-title::after {
	left: 0;
	transform: none;
}
.section-about__txt p {
	font-size: 0.875rem;
	line-height: 2;
	text-align: justify;
	margin: 0;
}
@media (min-width: 1024px) {
  .section-about__txt p {
    font-size: 1rem;
  }
}
@media (max-width: 1024px) {
	.section-about__inner {
		min-height: auto;
	}
	.section-about__container {
		display: block;
		width: 100%;
		height: auto;
	}
	.section-about__container > * {
		width: 100%;
	}
	.section-about__img {
		position: static;
		height: auto;
		padding-left: 1.5rem;
	}
	.section-about__txt {
		height: auto;
		text-align: center;
		margin: auto;
		padding: 2rem 1.5rem 0;
	}
	.section-about__txt .section-title::after {
		left: 50%;
		transform: translateX(-50%);
	}
}


/*------------------------------------
.section-about-group（グループ理解）
------------------------------------*/
.section-about-group {
  padding: 5rem 1.5rem;
  background-color: #f8fafc;
}

@media (min-width: 1024px) {
  .section-about-group {
    padding: 7rem 1.5rem;
  }
}

.section-about-group__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-about-group__head {
  text-align: center;
}

.section-about-group__lead {
  font-size: 0.875rem;
  line-height: 2;
  color: #475569;
  text-align: justify;
  max-width: 52rem;
  margin: 0 auto 3.5rem;
}

@media (min-width: 1024px) {
  .section-about-group__lead {
    font-size: 1rem;
  }
}

/* 二社カード */
.group-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .group-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.group-card {
  background-color: #fff;
  overflow: hidden;
  border-top: 3px solid var(--brand-main);
}

.group-card__img {
  overflow: hidden;
}

.group-card__img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.group-card__body {
  padding: 2rem;
}

.group-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-accent);
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .group-card__label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }
}

.group-card__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-main);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .group-card__title {
    font-size: 1.25rem;
  }
}

.group-card__desc {
  font-size: 0.875rem;
  line-height: 1.9;
  color: #475569;
  margin-bottom: 1.25rem;
  text-align: justify;
}
@media (min-width: 768px) {
  .group-card__desc {
    font-size: 1rem;
  }
}

.group-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.group-card__tags li {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-main);
  border: 1px solid #e2e8f0;
  padding: 0.2rem 0.625rem;
}


/*------------------------------------
.section-about-history（会社の歩み）
------------------------------------*/
.section-about-history {
  padding: 5rem 1.5rem;
  background-color: var(--brand-main);
  color: #fff;
}

@media (min-width: 1024px) {
  .section-about-history {
    padding: 7rem 1.5rem;
  }
}

.section-about-history__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-about-history__head {
  text-align: center;
}
@media (min-width: 1024px) {
  .section-about-history__head {
    margin-bottom: 1rem;
  }
}

.section-about-history__head .section-en-label {
  color: rgba(255, 255, 255, 0.45);
}

.section-about-history__layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .section-about-history__layout {
    flex-direction: row;
    gap: 5rem;
    align-items: flex-start;
  }
}

.section-about-history__text {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .section-about-history__text {
    width: 280px;
  }
}

.section-about-history__text p {
  font-size: 0.875rem;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.75);
  text-align: justify;
}
@media (min-width: 1024px) {
  .section-about-history__text p {
    font-size: 1rem;
  }
}

/* マイルストーンリスト */
.history-milestones {
  flex: 1;
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.history-milestone {
  display: flex;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
@media (min-width: 1024px) {
  .history-milestone {
    gap: 1.5rem;
  }
}

/* タイムライン上の点 */
.history-milestone::before {
  content: '';
  position: absolute;
  left: -1.8125rem;
  top: 1.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #cbd5e1;
  transform: translateY(-50%);
}

/* current：外側の薄い円 */
.history-milestone--current::before {
  left: -2.0625rem;
  width: 17px;
  height: 17px;
  background-color: rgba(230, 57, 70, 0.2);
  box-shadow: none;
}

/* current：中央のぼかし点 */
.history-milestone--current::after {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  filter: blur(1.5px);
  transform: translateY(-50%);
}

.history-milestone__year {
  flex-shrink: 0;
  width: 3.5rem;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--brand-accent);
  letter-spacing: 0.02em;
  padding-top: 0.15rem;
}

.history-milestone__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.history-milestone__content strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.history-milestone__content span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}


/*------------------------------------
.section-about-values（大切にしている価値）
------------------------------------*/
.section-about-values {
  padding: 5rem 1.5rem;
  background-color: #fff;
}

@media (min-width: 1024px) {
  .section-about-values {
    padding: 7rem 1.5rem;
  }
}

.section-about-values__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.section-about-values__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* 価値キーワード 3つ */
.value-keywords {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .value-keywords {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.value-keyword {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .value-keyword {
    padding: 1rem;
    gap: 0.5rem;
  }
}

.value-keyword__ja {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--brand-main);
  margin-left: 1.5rem;
}
@media (min-width: 640px) {
  .value-keyword__ja {
    font-size: 2rem;
  }
}

.value-keyword__desc {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.04em;
}
@media (min-width: 640px) {
  .value-keyword__desc {
    font-size: 0.8125rem;
  }
}

/* 写真3枚 */
.section-about-values__imgs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .section-about-values__imgs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-about-values__imgs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}


/*------------------------------------
.section-about-president（代表メッセージ）
------------------------------------*/
.section-about-president {
  padding: 5rem 1.5rem;
  background-color: #f8fafc;
}

@media (min-width: 1024px) {
  .section-about-president {
    padding: 7rem 1.5rem;
  }
}

.section-about-president__inner {
  max-width: 64rem;
  margin: 0 auto;
}

.section-about-president__head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-about-president__head .section-title {
  display: block;
  margin-top: 0.5rem;
}

/* 写真＋テキストの2カラムレイアウト */
.president-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .president-layout {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }
}

/* ── 写真エリア（縦長・1枚大表示） ── */
.president-photo-wrap {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .president-photo-wrap {
    width: 340px;
  }
}

@media (min-width: 1024px) {
  .president-photo-wrap {
    width: 380px;
  }
}

/* 写真本体（縦長） */
.president-photo-wrap__img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* キャプション（名前） */
.president-photo-wrap__caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.president-photos__job {
  font-size: 0.6875rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.president-photos__kana {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.president-photos__name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--brand-main);
  letter-spacing: 0.06em;
}

/* ── メッセージテキスト ── */
.president-message {
  flex: 1;
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.president-message p {
  font-size: 0.9375rem;
  line-height: 2.1;
  color: #475569;
  text-align: justify;
}

@media (min-width: 1024px) {
  .president-message p {
    font-size: 1rem;
  }
}

/* ── 締めのキャッチ（熱意を込めた見出し） ── */
.president-message__catch {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--brand-main);
}

/* キャッチにさりげないマーカー */
.president-message__catch-em {
  background-image: linear-gradient(
    transparent 60%,
    color-mix(in srgb, var(--brand-accent) 22%, transparent) 60%
  );
}

@media (min-width: 1024px) {
  .president-message__catch {
    font-size: 1.625rem;
  }
}


/*------------------------------------
.section-about-facts（数字で知る）
------------------------------------*/
.section-about-facts {
  padding: 5rem 1.5rem;
  background-color: #fff;
}

@media (min-width: 1024px) {
  .section-about-facts {
    padding: 7rem 1.5rem;
  }
}

.section-about-facts__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-about-facts__head {
  text-align: center;
  margin-bottom: 4rem;
}

.fact__flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}
.fact-item {
	width: calc((100% - 90px) / 4);
}
@media (max-width: 1024px) {
	.fact__flex {
		gap: 20px;
	}
	.fact-item {
		width: calc((100% - 20px) / 2);
	}
}

/* ファクトカード */
.fact-card {
	overflow: hidden;
	transition: box-shadow 0.3s, transform 0.3s;
}

.fact-card-header {
  background-color: var(--brand-main);
	border-radius: 9999px;
	font-size: 1.125rem;
	font-weight: 700;
	text-align: center;
	color: #fff;
	margin-bottom: 20px;
	padding: 4px 10px;
}
@media (max-width: 1024px) {
	.fact-card-header {
		font-size: 0.875rem;
		margin-bottom: 16px;
	}
}

.fact-card-body {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
@media (max-width: 1024px) {
	.fact-card-body {
		flex-direction: column;
		gap: 0.5rem;
	}
}

.fact-card-body--no-icon {
  justify-content: center;
  min-height: 80px;
}

.fact-card-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 80px;
}

.fact-card-icon img {
  width: 100%;
  height: 100%;
}

.fact-card-value {
	font-size: 1.75rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	text-align: center;
	margin: 0;
}
@media (min-width: 1024px) {
  .fact-card-value {
    font-size: 2rem;
  }
}

.fact-card-value--sm {
  font-size: 1.35rem;
  letter-spacing: 0;
}

.fact-card-value--sm .fact-card-unit {
  font-size: 1rem;
}

.fact-card-unit {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

.fact-card-desc {
  font-size: 0.75rem;
  line-height: 1.75;
  color: #64748b;
  text-align: justify;
  margin: 1rem 0 0;
  padding-top: 0.875rem;
  border-top: 1px solid #e2e8f0;
}


/*------------------------------------
.section-about-cta（CTA）
------------------------------------*/
.section-about-cta {
  position: relative;
  padding: 7rem 1.5rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.section-about-cta__bg {
  position: absolute;
  inset: 0;
}

.section-about-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.section-about-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    30deg,
    rgba(15, 30, 45, 0.92) 0%,
    rgba(15, 30, 45, 0.5)  60%,
    rgba(15, 30, 45, 0.3)  100%
  );
}

.section-about-cta__inner {
  position: relative;
  z-index: 10;
  max-width: 52rem;
  margin: 0 auto;
}

.section-about-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0.5rem 0 1.25rem;
}

.section-about-cta__desc {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.section-about-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--brand-accent);
  color: #fff;
  padding: 1.125rem 3.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: filter 0.2s, transform 0.2s;
  margin-bottom: 1.5rem;
}

.section-about-cta__btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.section-about-cta__back {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  margin-top: 0.5rem;
}

.section-about-cta__back:hover {
  color: #fff;
}


/*------------------------------------
.president-message__imgs（メッセージ下の画像）
------------------------------------*/
.president-message__imgs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/*------------------------------------
.lightbox-trigger（画像クリックトリガー）
------------------------------------*/
.lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: zoom-in;
  overflow: hidden;
}

.lightbox-trigger img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transform: scale(1.1); /* サムネイルを少しアップ（寄り）で表示 */
  transition: transform 0.4s ease, opacity 0.3s;
}

.lightbox-trigger:hover img {
  transform: scale(1.14);
  opacity: 0.85;
}

/* 拡大アイコン（ホバー時に表示） */
.lightbox-trigger__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 30, 45, 0.35);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
}

.lightbox-trigger:hover .lightbox-trigger__icon,
.lightbox-trigger:focus-visible .lightbox-trigger__icon {
  opacity: 1;
}

.lightbox-trigger:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}


/*------------------------------------
.lightbox（ライトボックス本体）
------------------------------------*/
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

/* 背景（クリックで閉じる） */
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

/* 閉じるボタン */
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* 画像ステージ */
.lightbox__stage {
  position: relative;
  z-index: 5;
  max-width: min(90vw, 1000px);
  max-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 90svh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
