/*/////////////////////施工事例・イベント////////////////////////////*/
.s-info-sec img, .s-blog-sec img {
    width: auto;
    max-width: 100%;
}
.s-info-sec .img, .s-blog-sec .img {
    width: fit-content;
    max-width: 100%;
}
.s-info-sec .img, .s-blog-sec .img.top-img {
    margin-left: auto;
    margin-right: auto;
}
.s-works-sec .after, .s-works-sec .before {
    display: flex;
    flex-direction: column;
}
.s-works-sec .cat, .s-info-sec .cat {
    width: 100%;
    padding: 7px 20px;
    font-size: 21px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}
.s-works-sec .cat.new {
    background-color: #0069B9;
}
.s-works-sec .cat.re {
    background-color: #229D50;
}
.s-info-sec .cat.news {
    background-color: #B10000;
}
.s-info-sec .cat.event {
    background-color: #0069B9;
}
.s-works-sec .sub-text {
    margin-top: -20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.s-works-sec .tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.s-works-sec .tags-item {
    display: flex;
    width: fit-content;
    font-size: 16px;
    font-weight: 600;
    padding: 3px 10px;
    margin-right: 10px;
    white-space: nowrap;
    background-color: #1D3270;
    color: #fff;
    margin-bottom: 10px;
}
.s-works-sec .tags-item:last-of-type {
    margin-right: 0;
}
.s-works-sec .list-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap;
}
.s-works-sec .list-item {
    width: 50%;
    padding: 0 20px;
}
.s-works-sec .list {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}
.s-works-sec .list:last-of-type {
    border-bottom: none;
}
.s-works-sec .list dt {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    min-width: 100px;
    width: 100px;
    border-right: 3px solid #000;
    margin-right: 20px;
}
.s-works-sec .list dd {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 16px;
}
.news-day, .event-day, .blog-day, .voices-text {
    margin-top: -20px;
}
.news-day, .event-day, .event-place, .blog-day, .voices-text {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.event-day .dh, .event-place .dh {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #4B61A2;
    padding: 2px 20px;
    margin-right: 5px;
    width: 130px;
}
.event-day, .blog-day {
    margin-bottom: 10px;
}
.s-info-sec .img {
    width: fit-content;
    max-width: 100%;
    height: fit-content;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
}
.s-info-sec .ended .img:before {
    content: "終了しました";
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}
.s-voices-sec .img {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}
.voices-img1 {
    width: 55%;
}
.voices-img2 {
    width: 43%;
}
.voices-item {
    margin-bottom: 40px;
}
.s-voices-sec2 .ttl3  {
    color: #4B61A2;
    line-height: 1.4;
    margin-bottom: 20px;
}
.s-voices-sec2 dd {
    font-weight: 500;
    font-size: 16px;
}
.event-form {
    margin-top: 40px;
}
.pager {
    width: fit-content;
    margin: 80px auto 0 auto;
    display: flex;
}
.pager div {
    margin-right: 10px;
}
.pager div:last-of-type {
    margin-right: 0;
}
.pager a {
    width: fit-content;
    padding: 10px 20px;
    background-color: #4B61A2;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.s-info-sec img, .s-blog-sec img {
    width: auto;
}
.s-info-sec .img, .s-blog-sec .img {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 600px) {
    .s-works-sec .cat {
        font-size: 18px;
    }
    .s-works-sec .sub-text {
        margin-top: -10px;
    }
    .news-day, .event-day, .blog-day, .voices-text {
        margin-top: -10px;
    }
    .event-day .dh, .event-place .dh {
        font-size: 14px;
    }
    .event-day .dh, .event-place .dh {
        width: 90px;
        padding: 2px 5px;
    }
    .news-day, .event-day, .event-place, .blog-day, .voices-text {
        font-size: 14px;
    }
    .s-works-sec .tags-item {
        font-size: 14px;
    }
    .s-works-sec .tags {
        margin-bottom: 20px;
    }
    .s-works-sec .list-item {
        width: 100%;
    }
    .s-works-sec .list-left .list:last-of-type {
        border-bottom: 1px solid #ccc;
    }
    .s-works-sec .list dt {
        font-size: 16px;
        border-right: 1px solid #000;
        width: 80px;
        min-width: 80px;
    }
    .s-works-sec .list dd {
        font-size: 14px;
    }
    .pager {
        margin-top: 40px;
    }
    .s-info-sec .img {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .event-form {
        margin-top: 20px;
    }
    .s-voices-sec .img {
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .s-voices-sec .img img {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .s-voices-sec .img img:last-of-type {
        margin-bottom: 0;
    }
}


/* スライダー */
.ba-top {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.ba-switch {
    display: flex;
    max-width: 540px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.ba-switch p {
    width: 50%;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
}
.b-switch {
    background-color: #0069B9;
}
.a-switch {
    background-color: #841313;
}
.ba-switch p.active {
    background-color: #B8B8B8;
    border: 3px solid #000;
    cursor: auto;
}
.ba-switch p.active::before {
    content: "▶";
    font-weight: bold;
    margin-right: 10px;
    color: #fff;
}
.s-works-sec .item-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.s-works-sec .after, .s-works-sec .before {
    transform: translateX(120vw);
    opacity: 0;
    height: 0;
}
.s-works-sec .after.active, .s-works-sec .before.active {
    transform: translateX(0);
    opacity: 1;
    height: auto;
}
.s-works-sec .slider-top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 20px;
}
.s-works-sec .caption-wrapper {
    margin-bottom: 20px;
}
.s-works-sec .caption-text {
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    display: block;
    width: 100%;
}
.s-works-sec .slide-wrapper {
    width: 100%;
}
.s-works-sec .slide-item {
    width: 100%;
    padding: 0 20px;
}
.s-works-sec .slide-item img {
    width: 100%;
    height: 620px;
    object-fit: contain;
    margin: auto;
}
.s-works-sec .thum-wrapper {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    height: fit-content;
    margin-bottom: 40px;
}
.caption-wrapper .slick-prev, .caption-wrapper .slick-next {
    display: none !important;
}
.thum-wrapper .slick-slider {
    display: flex;
    height: 100%;
}
.slick-prev, .slick-next {
    display: flex;
    position: absolute;
    width: 40px;
    min-width: 40px;
    height: 100%;
    background: #000 !important;
    color: #fff !important;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.slick-prev {
    left: 0;
}
.slick-next {
    right: 0;
}
.slick-prev:before {
    content: "";
    width: 18px;
    height: 24px;
    background: url(../img/common/slide-arrow.svg) no-repeat center / contain;
    transform: rotateY(180deg);
}
.slick-next:before {
    content: "";
    width: 18px;
    height: 24px;
    background: url(../img/common/slide-arrow.svg) no-repeat center / contain;
}
.works-slider .slick-prev, .b-works-slider .slick-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 80px;
    left: 0;
}
.works-slider .slick-next, .b-works-slider .slick-next {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 80px;
    right: 0;
}
.thum .slick-list.draggable, .b-thum .slick-list.draggable {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    height: 100%;
}
.thum .slide-item, .b-thum .slide-item {
    opacity: 0.4;
}
.thum .slide-item.slick-center, .b-thum .slide-item.slick-center {
    opacity: 1;
}
.s-works-sec .thum .slide-item img, .s-works-sec .b-thum .slide-item img  {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.slick-track {
    height: 100%;
}
.s-works-sec .thum .slide-item, .s-works-sec .b-thum .slide-item {
    padding: 0 10px;
}
.s-works-sec .img {
    height: 100%;
}
@media screen and (max-width: 1000px) {
    .s-works-sec .slider-top {
        flex-direction: column;
    }
    .s-works-sec .slide-wrapper {
        width: 100%;
        order: 2;
    }
    .s-works-sec .slide-item {
        padding: 0 10px;
    }
}
@media screen and (max-width: 800px) {
    .s-works-sec .thum-wrapper .slide-item {
        height: 120px;
    }
    .s-works-sec .slide-item {
        width: 100%;
    }
    .s-works-sec .slide-item img {
        height: 380px;
    }
}
@media screen and (max-width: 600px) {
    .s-works-sec .thum .slide-item, .s-works-sec .b-thum .slide-item {
        padding: 0 5px;
    }
    .s-works-sec .thum-wrapper .slide-item {
        height: 80px;
    }
    .s-works-sec .slide-item img {
        height: 210px;
    }
    .works-slider .slick-prev, .works-slider .slick-next, .b-works-slider .slick-prev, .b-works-slider .slick-next {
        width: 40px;
        height: 40px;
    }
    .works-slider .slick-prev:before, .works-slider .slick-next:before, .b-works-slider .slick-prev:before, .b-works-slider .slick-next:before {
        width: 12px;
    }
    .s-works-sec .caption-text {
        font-size: 12px;
    }
    .ba-switch p {
        font-size: 16px;
    }
}
@media (hover: hover) and (pointer: fine) {
    .slick-prev:hover, .slick-next:hover {
        background: #333 !important;
        color: #fff !important;
    }
}

/* フリーテキスト */
.free-text h3 {
    display: flex;
    font-size: 26px;
    font-weight: 600;
    padding: 10px;
    color: #fff;
    background-color: #000;
    align-items: center;
    margin-bottom: 20px;
}
.free-text h4 {
    display: flex;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 5px;
    border-left: 7px solid #000;
    height: 30px;
    align-items: center;
}
.free-text h5 {
    display: flex;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    align-items: center;
}
.free-text h6 {
    display: flex;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    align-items: center;
}
.free-text p + h3, .free-text p + h4 {
    margin-top: 30px;
}
.free-text p + h5, .free-text p + h6 {
    margin-top: 20px;
}
.s-works-sec .free-text {
    margin-bottom: 40px;
}
@media screen and (max-width: 600px) {
    .free-text h3 {
        font-size: 21px;
    }
    .free-text h4 {
        font-size: 21px;
    }
    .free-text h5 {
        font-size: 18px;
    }
    .free-text h6 {
        font-size: 17px;
    }
}