/**
 * File: single.css
 * Usage: single.php(投稿の個別ページ)のスタイルを定義します。
*/
.ly_single {
  padding: 0 20px;
}

@media screen and (min-width: 768px) {
  .ly_single {
    padding: 0 40px;
  }
}
@media screen and (min-width: 1280px) {
  .ly_single {
    padding: 0 80px;
  }
}

/* ================================================
 施工実績シングル ヘッダー (bl_caseHeader)
================================================ */
.bl_caseHeader {
  padding: 80px 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

.bl_caseHeader_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;
  width: fit-content;
}

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

.bl_caseHeader_breadcrumb_link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.65px;
  color: #a0a0a0;
  text-decoration: none;
}

.bl_caseHeader_breadcrumb_line {
  display: block;
  width: 24px;
  height: 2px;
  background: #a0a0a0;
  flex-shrink: 0;
}

.bl_caseHeader_breadcrumb_current {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.65px;
  color: var(--color-black);
}

/* ================================================
 施工実績シングル ヘッダー PC (min-width: 768px)
================================================ */
@media screen and (min-width: 768px) {
  .bl_caseHeader {
    margin-top: 80px;
    padding: 80px 24px 24px;
    max-width: 1080px;
    margin-inline: auto;
    border-bottom: 1px solid #e8e8e8;
  }

  .bl_caseHeader_head_en {
    font-size: 96px;
    letter-spacing: 0;
  }

  .bl_caseHeader_breadcrumb {
    justify-content: flex-end;
  }
}

/* ================================================
 施工実績 投稿コンテンツ (bl_casePost)
================================================ */
.bl_casePost {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 80px 24px 0;
}

/* Gallery */
.bl_casePost_gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Main swiper */
.bl_casePost_gallery_main {
  width: 100%;
  aspect-ratio: 800 / 600;
  border-radius: 24px;
  overflow: hidden;
}

.bl_casePost_gallery_main .swiper-slide img,
.bl_casePost_gallery_main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thumbs swiper */
.bl_casePost_gallery_thumbs {
  width: 100%;
}

.bl_casePost_gallery_thumb {
  width: 101px;
  height: 101px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s ease;
}

.bl_casePost_gallery_thumb.swiper-slide-thumb-active {
  border-color: var(--color-main);
}

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

/* Title + description */
.bl_casePost_txt {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

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

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

/* Info table */
.bl_casePost_table {
  width: 100%;
}

.bl_casePost_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_casePost_table_row:first-child {
  border-top: 1px solid var(--color-main);
}

.bl_casePost_table_row dt {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

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

/* ================================================
 施工実績 投稿コンテンツ PC (min-width: 768px)
================================================ */
@media screen and (min-width: 768px) {
  .bl_casePost {
    gap: 80px;
    padding: 80px 24px;
    max-width: 800px;
    margin-inline: auto;
  }

  .bl_casePost_gallery_main {
    width: 100%;
    height: 600px;
    aspect-ratio: auto;
    border-radius: 40px;
  }

  .bl_casePost_gallery_thumbs {
    gap: 24px;
  }

  .bl_casePost_gallery_thumb {
    width: 160px;
    height: 160px;
    border-radius: 16px;
  }

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

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

  .bl_casePost_table_row dt {
    width: 200px;
    flex-shrink: 0;
  }
}

/* ================================================
 他の実績を見る (ly_moreCases)
================================================ */
.ly_moreCases {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  padding: 80px 0 160px;
}

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

/* Swiper */
.bl_moreCases_swiper {
  width: 100%;
  padding-inline: 24px;
}

/* Card */
.bl_moreCases_card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.bl_moreCases_card:hover .bl_moreCases_card_img {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 153, 61, 0.15);
}

.bl_moreCases_card:hover .bl_moreCases_card_name {
  color: var(--color-main);
}

.bl_moreCases_card_img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 4px solid var(--color-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.bl_moreCases_card_img__noimg {
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl_moreCases_card_logo {
  width: 50%;
  height: auto;
  object-fit: contain;
}

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

.bl_moreCases_card_meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bl_moreCases_card_date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--color-gray);
}

.bl_moreCases_card_name {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  transition: color 0.3s ease;
  color: var(--color-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bl_moreCases_card_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background: var(--color-main);
  border-radius: 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--color-white);
  width: fit-content;
}

/* Navigation */
.bl_moreCases_nav {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 32px 24px 0;
}

.bl_moreCases_nav_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 32px;
  background: var(--color-main);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.bl_moreCases_nav_arrow:hover {
  opacity: 0.7;
}

.bl_moreCases_nav_bar {
  flex: 1;
  height: 2px;
  background: #c8c8c8;
  border-radius: 1px;
}

.bl_moreCases_nav_bar .swiper-scrollbar-drag {
  height: 4px;
  margin-top: -1px;
  background: var(--color-main);
  border-radius: 2px;
}

/* ================================================
 他の実績 PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .ly_moreCases {
    gap: 48px;
    padding: 80px 0 200px;
  }

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

  .bl_moreCases_swiper {
    padding-inline: 0;
    max-width: 1280px;
    margin-inline: auto;
  }

  .bl_moreCases_card_img {
    border: none;
  }

  .bl_moreCases_nav {
    width: auto;
    padding: 32px 0 0;
  }

  .bl_moreCases_nav_bar {
    width: 284px;
    flex: none;
  }
}

/* ================================================
 お知らせシングル (ly_newsSingle)
================================================ */
.ly_newsSingle {
  padding: 80px 24px 120px;
}

.bl_newsSingle_container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 800px;
  margin-inline: auto;
}

/* Breadcrumb — matches other pages (bl_subpFv_breadcrumb / bl_textFv_breadcrumb).
   Positioned under the title, right-aligned. */
.bl_newsSingle_breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.bl_newsSingle_breadcrumb_link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.65px;
  color: #a0a0a0;
  text-decoration: none;
}

.bl_newsSingle_breadcrumb_line {
  display: block;
  width: 24px;
  height: 2px;
  background: #a0a0a0;
  flex-shrink: 0;
}

.bl_newsSingle_breadcrumb_current {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.65px;
  color: var(--color-black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* Header */
.bl_newsSingle_head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid #c8c8c8;
}

.bl_newsSingle_meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bl_newsSingle_date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.65px;
  color: var(--color-gray);
}

.bl_newsSingle_cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 4px 16px;
  border: 1px solid var(--color-main);
  border-radius: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-black);
}

.bl_newsSingle_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 1.2px;
  color: var(--color-black);
  margin: 0;
}

/* Featured image */
.bl_newsSingle_img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}

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

/* Body (WP content) */
.bl_newsSingle_body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.8px;
  color: var(--color-black);
}

.bl_newsSingle_body > * + * {
  margin-top: 24px;
}

.bl_newsSingle_body h2 {
  margin-top: 56px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-main);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  color: var(--color-black);
}

.bl_newsSingle_body h3 {
  margin-top: 40px;
  padding-left: 12px;
  border-left: 4px solid var(--color-sub-green);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.9px;
  color: var(--color-black);
}

.bl_newsSingle_body p {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.8px;
}

.bl_newsSingle_body a {
  color: var(--color-main-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.bl_newsSingle_body a:hover {
  opacity: 0.7;
}

.bl_newsSingle_body strong {
  font-weight: 700;
}

.bl_newsSingle_body ul,
.bl_newsSingle_body ol {
  padding-left: 24px;
}

.bl_newsSingle_body ul li,
.bl_newsSingle_body ol li {
  margin-top: 8px;
}

.bl_newsSingle_body ul li {
  list-style: disc;
}

.bl_newsSingle_body ol li {
  list-style: decimal;
}

.bl_newsSingle_body blockquote {
  padding: 16px 20px;
  border-left: 4px solid var(--color-main);
  background: var(--color-bg-light);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-gray);
}

.bl_newsSingle_body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.bl_newsSingle_body figure {
  margin: 32px 0;
}

.bl_newsSingle_body figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-gray);
  text-align: center;
}

.bl_newsSingle_body hr {
  margin: 48px 0;
  border: none;
  border-top: 1px solid #c8c8c8;
}

/* Back button */
.bl_newsSingle_back {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ================================================
 お知らせシングル PC (min-width: 768px)
================================================ */
@media screen and (min-width: 768px) {
  .ly_newsSingle {
    padding: 120px 40px 160px;
  }

  .bl_newsSingle_container {
    gap: 64px;
  }

  .bl_newsSingle_head {
    gap: 24px;
    padding-bottom: 40px;
  }

  .bl_newsSingle_ttl {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 1.6px;
  }

  .bl_newsSingle_body {
    font-size: 16px;
  }

  .bl_newsSingle_body h2 {
    margin-top: 72px;
    font-size: 26px;
  }

  .bl_newsSingle_body h3 {
    margin-top: 48px;
    font-size: 20px;
  }
}

@media screen and (min-width: 1024px) {
  .ly_newsSingle {
    padding: 160px 0 200px;
  }

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