@charset "UTF-8";

/* --------------------------------------
シングルページ
---------------------------------------*/
h3.single_title_wrap {
    width: 100%;
    border-bottom: 1px solid #3f3f3f;
    padding-bottom: 1.3rem;
    font-size: 2rem;
    font-weight: 400;
}
h3.single_title_wrap span {
    display: block;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #808080;
}
@media screen and (max-width: 768px) {
    h3.single_title_wrap {
        font-size: 1.5rem;
        font-weight: 400;
    }
}
/* 記事詳細 本文 */
.news_single_content {
    width: 100%;
}
.news_single_content p {
    font-size: 1rem;
    text-align: justify;
}
.news_single_content a {
    text-decoration: underline;
}
.news_single_content img {
    max-width: 100%;
    width: 800px;
    display: block;
    margin: 2rem auto;
}
.works_single_content {
    width: 100%;
    border: 1px solid #C79F62;
    padding: 2rem;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .works_single_content {
        padding: 1rem;
    }
}

/* --------------------------------------
施工事例
---------------------------------------*/
.works_main_img {
    /* max-width: 800px; */
    margin: auto;
}
.works_main_img img{
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

p.works_before {
    width: 100%;
    padding: 0.25rem 1rem;
    background-color: #53B553;
    box-sizing: border-box;
    font-size: 1.2rem;
    color: #fff;
}
p.works_after {
    width: 100%;
    padding: 0.25rem 1rem;
    background-color: #FF7A00;
    box-sizing: border-box;
    font-size: 1.2rem;
    color: #fff;
}
p.works_point {
    width: 100%;
    padding: 0.25rem 1rem;
    background-color: #00A6FF;
    box-sizing: border-box;
    font-size: 1.2rem;
    color: #fff;
}
/* photo */
ul.photo_gallery_wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* gap: 0.5rem; */
}
ul.photo_gallery_wrap li {
    width: calc(100% / 5);
    display: flex;
    flex-wrap: wrap;
    aspect-ratio: 1 / 1;
    padding: 3px;
    box-sizing: border-box;
    position: relative;
}
ul.photo_gallery_wrap li a::before {
    font: var(--fa-font-solid);
    content: '\f002';
    color: #3f3f3f;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffffbe;
    z-index: 1;
}

ul.photo_gallery_wrap li img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    ul.photo_gallery_wrap li {
        width: calc(100% / 2);
    }
}

/* --------------------------------------
投稿の移動
---------------------------------------*/
.post_links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post_link {
    width: 20%;
    height: 40px;
}
.post_link a {
    display: block;
    width: 100%;
    height: 100%;
    color: #604C3F;
    background: #fff;
    border: #604C3F 1px solid;
    /* border-radius: 20px; */
    box-sizing: border-box;
    text-decoration: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all  0.5s ease;
}
.post_link a span{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post_link a:hover,
.post_link a.active {
    color: #fff!important;
    background: #FF5500;
    border: #FF5500 1px solid;
}
.post_menu {
    line-height: 1;
    display: flex;
    align-items: center;
}
a.post_menu {
    color: #604C3F;
}
.post_menu i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    /* アイコン細く */
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-color: #fff;
    -webkit-text-stroke-width: 1.5px
}
@media only screen and (max-width: 768px){
  .post_link {
    display: inline-block;
    width: 30%;
    text-align: center;
  }
}