@charset "utf-8";

.sub_sec-works {
}

/*---------------------------------
    一覧ページ
----------------------------------*/
.construction_container {
  margin-bottom: 6rem;
}
.works_cate-list {
  margin-bottom: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2rem;
}

.works_cate-list .cate_item {
  width: calc((100% - 8rem) / 5);
  min-width: 7.5em;
  padding: 0.8em 1em;
  border-radius: 1rem;
  background: #fff;
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}
.works_cate-list .cate_item.c-01 {
  border: 2px solid var(--color_orange);
  color: var(--color_orange);
} /*屋根塗装*/
.works_cate-list .cate_item.c-02 {
  border: 2px solid var(--color_green);
  color: var(--color_green);
} /*外壁塗装*/
.works_cate-list .cate_item.c-03 {
  border: 2px solid var(--color_yellow);
  color: var(--color_yellow);
} /*木部塗装*/
.works_cate-list .cate_item.c-04 {
  border: 2px solid var(--color_blue);
  color: var(--color_blue);
} /*鉄部塗装*/
.works_cate-list .cate_item.c-05 {
  border: 2px solid var(--color_red);
  color: var(--color_red);
} /*その他*/
.works_cate-list .cate_item.c-01.c-active {
  background: var(--color_orange);
  color: #fff;
}
.works_cate-list .cate_item.c-02.c-active {
  background: var(--color_green);
  color: #fff;
}
.works_cate-list .cate_item.c-03.c-active {
  background: var(--color_yellow);
  color: #fff;
}
.works_cate-list .cate_item.c-04.c-active {
  background: var(--color_blue);
  color: #fff;
}
.works_cate-list .cate_item.c-05.c-active {
  background: var(--color_red);
  color: #fff;
}

/*
.sub_construction_item:not(:last-of-type){
    display: block;
    margin-bottom: 3rem;
}
.sub_construction_item h3.const_cate{
    width: 100%;
        padding: 0.6em 1em;
        border-radius: 1rem;
        margin-bottom: 1em;
    font-size: 2rem;
        text-align: left;
    }
.sub_construction_item .c_item_block{
    width: 100%;
    position: relative;
    display: flex;
        justify-content: flex-start;
        align-items: flex-start;
}
.sub_const_img {
    width: 40rem;
    height: 25rem;
        margin-right: 3rem;
}
    .sub_const_img img{
        border-radius: 1rem;
        overflow: hidden;
        display: block;
    }
.const_txt{
    width: calc(100% - 43rem);
    height: 100%;
    margin-top: 0.5em;
    position: relative;
}
.const_date {
    padding-right: 0.5em;
    margin-bottom: 2rem;
    font-size: 1.6rem;
        line-height: 1.2;
        letter-spacing: 0.1em;
        color: var(--font-color-base);
        text-align: left;
    display: block;
}
.const_txt p{
    padding-bottom: 2em;
}
.const_more{
    margin-inline: auto 0;
    padding-inline: 0 2.5em;
    color: var(--font-color-base);
    display: inline-block;
    position: absolute;
        right: 0;
        bottom: 0.2em;
}
    .const_more::after{
        width: 1em;
        height: 1em;
        border-top: 2px solid var(--font-color-base);
        border-right: 2px solid var(--font-color-base);
            margin: auto;
        position: absolute;
            top: 0;
            bottom: 0;
            right: 2rem;
        transform: rotate(45deg);
        content: "";
    }*/

/*-------------------------------------
        responsive
-------------------------------------*/
/*-------------tab-----------------------*/
@media screen and (max-width: 950px) and (min-width: 600px) {
  /*.sub_construction_item .c_item_block{
        flex-wrap: wrap;
    }
    .sub_const_img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 3rem;
    }
    .const_txt{
        width: 100%;
    }*/
}

/*-------------SP-----------------------*/
@media screen and (max-width: 599px) {
  .works_cate-list {
    margin-bottom: 5rem;
    gap: 2.5rem;
  }

  .works_cate-list .cate_item {
    width: calc((100% - 3rem) / 2);
    font-size: clamp(16px, 3.26rem, 32px);
  }
  /*.sub_construction_item:not(:last-of-type){
        margin-bottom: 5rem;
    }
    .sub_construction_item h3.const_cate{
        font-size: clamp(16px, 3.2rem, 32px);
    }
    .sub_construction_item .c_item_block{
        flex-direction: column;
    }
    .sub_const_img {
        width: 100%;
        height: 40rem;
            margin-right: unset;
            margin-bottom: 3rem;
    }
    .const_txt{
        width: 100%;
        margin-top: 0;
    }
    .const_txt p {
        padding-bottom: 3em;
    }
    .const_date {
        padding-right: 0;
        margin-bottom: 1rem;
        font-size: clamp(16px, 3.2rem, 36px);
    }*/
}

/*---------------------------------
    詳細ページ
----------------------------------*/

.works-detail_wrap {
  width: 100%;
  padding: 3rem 5rem 5rem 5rem;
  background: #fff;
  border-radius: 2rem;
}
.detail_inner {
  width: 100%;
  margin-bottom: 6rem;
}
.detail_date {
  width: 100%;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  margin-block: 0.2em 0.8em;
  text-align: right;
}
.news_ttl {
  margin-bottom: 0.8em;
  padding-left: 0.5em;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
}
.news_ttl::after {
  width: 0.2em;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  content: "";
}
.news_ttl.ttl-cate01::after {
  background: var(--color_orange);
}
.news_ttl.ttl-cate02::after {
  background: var(--color_green);
}
.news_ttl.ttl-cate03::after {
  background: var(--color_yellow);
}
.news_ttl.ttl-cate04::after {
  background: var(--color_blue);
}
.news_ttl.ttl-cate05::after {
  background: var(--color_red);
}

.detail_img_list {
  margin-bottom: 3rem;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.detail_img_item {
  width: calc((100% - 2.5rem) / 2);
}

/*-------------------------------------
        responsive
-------------------------------------*/
/*-------------tab-----------------------*/
@media screen and (max-width: 960px) and (min-width: 600px) {
  .sec_w-detail .inner_width {
    width: 100%;
    max-width: unset;
  }
}
/*-------------SP-----------------------*/
@media screen and (max-width: 599px) {
  .works-detail_wrap {
    padding-inline: 4rem;
  }
  .detail_inner {
    margin-bottom: 6rem;
  }
  .detail_date {
    font-size: clamp(16px, 3.2rem, 32px);
  }
  .news_ttl {
    font-size: clamp(18px, 3.8rem, 38px);
  }
  .detail_img_list {
    margin-bottom: 5rem;
    gap: 2.5rem;
  }
  .detail_img_item {
    width: 100%;
  }
}

/* 20250108 */

a.construction_item {
  display: inline-flex;
  width: 33%;
}

.c_item_block {
  padding: 5px;
}

picture.max-h {
  display: flex;
  aspect-ratio: 4 / 3;
  gap: 15px;
}

@media screen and (max-width: 599px) {
  a.construction_item {
    width: 49%;
  }
  picture.max-h {
    display: flex;
    flex-direction: column;
  }
}
