/**
 * File: page-company.css
 * Usage: 会社概要ページのスタイルを定義します。
 */

/* ================================================
 会社情報セクション (bl_companyInfo)
================================================ */
.bl_companyInfo {
  padding: 320px 20px 120px;
}

.bl_companyInfo_inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative images */
.bl_companyInfo_deco {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  z-index: -1;
}

.bl_companyInfo_deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_companyInfo_deco__water {
  width: min(40vw, 200px);
  aspect-ratio: 1;
  top: -150px;
  right: -24px;
  background: var(--color-white);
}

.bl_companyInfo_deco__woman {
  width: min(75vw, 280px);
  aspect-ratio: 1;
  top: -260px;
  left: -56px;
}

/* Text content */
.bl_companyInfo_txt {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bl_companyInfo_heading {
  width: 100%;
  max-width: 600px;
}

.bl_companyInfo_heading img {
  width: 100%;
  height: auto;
}

.bl_companyInfo_txt p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.8px;
  color: var(--color-black);
}

/* Photo gallery (infinite scroll) */
.bl_companyInfo_gallery {
  margin-top: 48px;
  /* Negate parent's 20px inline padding so the track spans full viewport */
  margin-inline: -20px;
  overflow: hidden;
  max-width: 100vw;
}

.bl_companyInfo_gallery_track {
  display: flex;
  gap: 16px;
  align-items: center;
  width: max-content;
  animation: companyGalleryScroll 30s linear infinite;
}

@keyframes companyGalleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bl_companyInfo_gallery_item {
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.bl_companyInfo_gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_companyInfo_gallery_item__1 {
  width: 225px;
  height: 180px;
  margin-top: 29px;
}

.bl_companyInfo_gallery_item__2 {
  width: 210px;
  height: 270px;
}

.bl_companyInfo_gallery_item__3 {
  width: 240px;
  height: 240px;
  margin-top: 40px;
}

.bl_companyInfo_gallery_item__4 {
  width: 195px;
  height: 237px;
  margin-top: 9px;
}

.bl_companyInfo_gallery_item__5 {
  width: 270px;
  height: 213px;
  margin-top: 25px;
}

/* ================================================
 会社情報セクション PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .bl_companyInfo {
    padding: 160px 80px 280px;
    display: flex;
    flex-direction: column;
    gap: 168px;
    align-items: center;
  }

  .bl_companyInfo_inner {
    padding-right: 64px;
    width: 100%;
    max-width: 1440px;
  }

  .bl_companyInfo_deco__water {
    width: min(34vw, 475px);
    top: 154px;
  }

  .bl_companyInfo_deco__woman {
    width: min(35vw, 480px);
    top: -70px;
    left: -60px;
  }

  .bl_companyInfo_heading {
    max-width: 600px;
  }

  .bl_companyInfo_txt p {
    white-space: nowrap;
  }

  .bl_companyInfo_gallery {
    margin-top: 0;
  }

  .bl_companyInfo_gallery_track {
    gap: 32px;
  }

  .bl_companyInfo_gallery_item__1 {
    width: 300px;
    height: 240px;
    margin-top: 36px;
  }

  .bl_companyInfo_gallery_item__2 {
    width: 280px;
    height: 360px;
    margin-top: 0;
  }

  .bl_companyInfo_gallery_item__3 {
    width: 320px;
    height: 320px;
    margin-top: 40px;
  }

  .bl_companyInfo_gallery_item__4 {
    width: 260px;
    height: 316px;
    margin-top: 0;
  }

  .bl_companyInfo_gallery_item__5 {
    width: 360px;
    height: 284px;
    margin-top: 16px;
  }
}

/* ================================================
 強みセクション (ly_strength)
================================================ */
.ly_strength {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Heading */
.bl_strength_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 48px;
}

.bl_strength_head_en {
  font-family: 'Oswald', sans-serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.28px;
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 0;
}

.bl_strength_head_ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-black);
}

/* Pinned scroller — outer tall element driving scroll progress. */
.bl_strength_scroller {
  position: relative;
  width: 100%;
  height: calc(100vh * 3.5); /* 3 cards + entry/exit padding; tune for dwell */
}

/* Sticky pin — stays fixed at viewport top for the full scroller range.
   Houses both the bg and the cards so they never go out of sync. */
.bl_strength_pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Bg layer (cross-faded via opacity on .is_active) */
.bl_strength_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bl_strength_bg_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.bl_strength_bg_img.is_active {
  opacity: 1;
}

.bl_strength_bg_overlay {
  position: absolute;
  inset: 0;
  background: rgba(68, 178, 131, 0.2);
  pointer-events: none;
}

/* Cards layer — all cards stacked absolutely, centered */
.bl_strength_cards {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding-inline: 24px;
  pointer-events: none;
}

.bl_strength_item_card {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--color-main);
  border-radius: 32px;
  padding: 40px;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: auto;
}

.bl_strength_item_card.is_active {
  opacity: 1;
  transform: translateY(0);
}

.bl_strength_item_num {
  font-family: 'Oswald', sans-serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.28px;
  color: var(--color-white);
  margin: 0;
}

.bl_strength_item_divider {
  display: block;
  width: 96px;
  height: 2px;
  background: var(--color-white);
}

.bl_strength_item_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-white);
}

.bl_strength_item_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.75px;
  color: var(--color-white);
}

/* ================================================
 強みセクション PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .bl_strength_head {
    padding-block: 64px;
  }

  .bl_strength_head_en {
    font-size: 144px;
    letter-spacing: 0;
  }

  .bl_strength_head_ja {
    font-size: 22px;
    letter-spacing: 1.1px;
  }

  .bl_strength_cards {
    padding-inline: 0;
  }

  .bl_strength_item_card {
    width: 440px;
  }

  .bl_strength_item_num {
    font-size: 144px;
    letter-spacing: 0;
  }

  .bl_strength_item_ttl {
    font-size: 28px;
    letter-spacing: 1.4px;
  }
}

/* ================================================
 ABOUTセクション (ly_about)
================================================ */
.ly_about {
  background: var(--color-bg-light);
}

.bl_about_container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 160px 24px;
}

/* Heading */
.bl_about_head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bl_about_head_en {
  font-family: 'Oswald', sans-serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.28px;
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  white-space: nowrap;
}

.bl_about_head_line {
  display: block;
  flex: 1;
  height: 0;
  border-top: 2px solid var(--color-main-dark);
  border-bottom: 2px solid var(--color-main-dark);
  padding-top: 8px;
}

/* Sections */
.bl_about_sections {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.bl_about_section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bl_about_section_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.5;
  color: var(--color-black);
}

.bl_about_section_right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Place blocks */
.bl_about_place {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bl_about_place_imgs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bl_about_place_img__main {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.bl_about_place_img__sub {
  width: 240px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
}

.bl_about_place_img__main img,
.bl_about_place_img__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_about_place_txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bl_about_place_name {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-black);
}

.bl_about_place_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.75px;
  color: var(--color-black);
}

/* Company info table */
.bl_about_table {
  width: 100%;
}

.bl_about_table_row {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
  border-bottom: 1px solid var(--color-main);
  line-height: 1.4;
  color: var(--color-black);
}

.bl_about_table_row:first-child {
  border-top: 1px solid var(--color-main);
}

.bl_about_table_row dt {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  width: 200px;
  flex-shrink: 0;
}

.bl_about_table_row dd {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
}

/* ================================================
 ABOUTセクション PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .bl_about_container {
    max-width: 1080px;
    margin-inline: auto;
    padding: 160px 0 200px;
  }

  .bl_about_head_en {
    font-size: 144px;
    letter-spacing: 0;
  }

  .bl_about_sections {
    gap: 152px;
  }

  .bl_about_section {
    flex-direction: row;
    justify-content: space-between;
  }

  .bl_about_section_left {
    width: 400px;
    flex-shrink: 0;
  }

  .bl_about_section_right {
    flex: 1;
    min-width: 0;
  }

  .bl_about_section_ttl {
    font-size: 34px;
    letter-spacing: 1.7px;
  }

  .bl_about_place_imgs {
    flex-direction: row;
    align-items: flex-end;
  }

  .bl_about_place_img__main {
    width: 400px;
    height: 400px;
  }

  .bl_about_place_name {
    font-size: 22px;
    letter-spacing: 1.1px;
  }

  .bl_about_place_desc {
    max-width: 620px;
  }

  .bl_about_table_row {
    flex-direction: row;
    align-items: center;
    padding-block: 24px;
  }
}
