@charset "UTF-8";
/* work.html シーン別施工アルバム 固有スタイル */

/*---------------------------------
ヒーロー モザイクコラージュ
---------------------------------*/

.page_hero--album {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.page_hero--album::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 48, 0.52);
  z-index: 1;
}

.page_hero--album .page_hero_content {
  position: relative;
  z-index: 2;
}

.hero_mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}

.hero_mosaic_cell {
  overflow: hidden;
}

.hero_mosaic_cell:first-child {
  grid-row: span 2;
}

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

@media screen and (max-width: 768px) {
  .page_hero--album {
    height: 220px;
  }
  .hero_mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .hero_mosaic_cell:first-child {
    grid-row: span 1;
  }
  .hero_mosaic_cell:nth-child(n+5) {
    display: none;
  }
}

/*---------------------------------
紹介セクション EN ラベル調整
---------------------------------*/

.album_lead_section .sub_section_title .en {
  letter-spacing: 0.12em;
}

/*---------------------------------
紹介リードテキスト
---------------------------------*/

.album_intro_text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #555;
  line-height: 2.2;
  font-size: 0.93rem;
}

/*---------------------------------
アルバムグリッド
---------------------------------*/

.album_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 768px) {
  .album_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .album_grid {
    grid-template-columns: 1fr;
  }
}

/*---------------------------------
アルバムカード
---------------------------------*/

.album_card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.album_card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}

.album_card_link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.album_card_img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.album_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.album_card:hover .album_card_img img {
  transform: scale(1.06);
}

.album_card_body {
  padding: 1rem 1.2rem;
  text-align: center;
  border-top: 2px solid transparent;
  transition: border-color 0.25s ease;
}

.album_card:hover .album_card_body {
  border-top-color: var(--base_color);
}

.album_card_title {
  font-size: 0.92rem;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 0;
  transition: color 0.25s ease;
}

.album_card:hover .album_card_title {
  color: var(--base_color);
}
