/**
 * CSS File: about-company.css
 * 2026-06-12 | 4-Panel UI (Static Open Style - Mobile Balance Optimized)
 */

.l-abt-cmp-section {
  position: relative;
  background-color: #fff;
  padding: 0;
  text-align: center;
  overflow: hidden;
  z-index: var(--z_0-base);
}

.l-abt-cmp-container {
  width: 100%;
}

/* ==============================================================================
 * SEAMLESS 4-PANEL GRID & CARD STYLE (Seamless 4-Panel Grid & Card Style (Mobile))
 * ============================================================================== */
.p-abt-cmp-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
}

.p-feature-card {
  position: relative;
  background: #000;
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  width: 100%;
}

.p-feature-card__link {
  display: block;
  text-decoration: none;
}

.p-feature-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.p-feature-card__bg {
  aspect-ratio: 16 / 14;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.p-feature-card__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.4s ease;
}

.p-feature-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.p-feature-card__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 18px 16px;
  text-align: center;
  z-index: 2;
  transition: all 0.4s ease;
}

.p-feature-card__title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #111;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.05em;
	font-family: "BIZ UDPGothic", Meiryo, sans-serif;
}

.p-feature-card__body {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #444;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.p-feature-card__desc {
  margin: 0;
  text-align: left;
}

/* ==============================================================================
 * MEDIA QUERIES
 * ============================================================================== */

/* スマホ横向き（低画面高） */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .p-abt-cmp-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-feature-card__bg {
    aspect-ratio: auto;
    height: 70vh;
  }
  .p-feature-card__content {
    width: 85%;
    padding: 12px;
  }
  .p-feature-card__title {
    font-size: 1rem;
  }
  .p-feature-card__body {
    font-size: 0.8rem;
    margin-top: 6px;
    padding-top: 6px;
  }
}

/* タブレット・標準PCサイズ */
@media screen and (min-width: 768px) and (min-height: 501px) {
  .p-abt-cmp-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-feature-card__bg {
    aspect-ratio: auto;
    height: 50vh;
  }
  .p-feature-card__content {
    width: 80%;
    max-width: 380px;
    padding: 30px;
  }
  .p-feature-card__title {
    font-size: 1.375rem;
  }
  .p-feature-card__body {
    font-size: 0.9375rem;
    margin-top: 16px;
    padding-top: 16px;
    line-height: 1.6;
  }
  .p-feature-card:hover .p-feature-card__bg img {
    transform: scale(1.03);
  }
  .p-feature-card:hover .p-feature-card__bg::after {
    background: rgba(0, 0, 0, 0.4);
  }
  .p-feature-card:hover .p-feature-card__content {
    background: rgba(255, 255, 255, 0.75);
  }
}

/* 大型デスクトップサイズ */
@media screen and (min-width: 1200px) and (min-height: 501px) {
  .p-feature-card__content {
    width: 70%;
    max-width: 400px;
  }
}
