@charset "utf-8";

body .bg_body_sub {
    background: var(--works-color-tt);
}

.nav03 {
    border-bottom: 2px solid var(--works-color-t);
}

.h2_wp {
    background: url(../imgs/bg_h2_works.png) center / contain no-repeat;
    --rhom-size: 160px;
    z-index: 150;
    box-shadow: #111111ae 4px 4px 0;
    margin-left: 50vh;
    height: 110px;
    width: 110px;
    z-index: -1;
    padding: 0;
}

h2 {
    font-size: 1rem;
    padding: 4px 6px 0;
    color: rgb(112, 79, 79);
    font-weight: bolder;
    text-decoration: none;
    text-underline-offset: none;
    text-shadow: none;
}

h2::before {
    content: none;
}

.title {
    justify-content: left;
    margin-top: 100px;
}

.kinds {
    background: #af461d5b;
    border: 2px solid #ffffff5b;
    padding: 2px 20px;
    width: fit-content;
}

.right {
    margin-left: 30px;
    margin-top: -10px;
}

h3 {
    font-size: 3.4em;
    background: linear-gradient(transparent 58%, var(--works-color-t) 0%);
    text-decoration: underline 1px solid;
    text-underline-offset: 12px;
    padding: 0 10px 4px 10px;
    margin-top: -6px;
    margin-bottom: 90px;
}

section {
    margin: 0;
    width: calc(100% - 30px);
}

section .figures {
    align-items: baseline;
}

section .inner {
    padding: 0 60px 60px 50px;
}

section figure.main {
    width: 40%;
    min-width: 300px;
}

section .figures {
    flex-wrap: wrap;
}

section .figures .flex {
    width: 56%;
    min-width: 440px;
    margin-left: 10px;
    margin-top: 30px;
}

section .figures img {
    border: 1px solid #fff;
}

section .figures .flex figure {
    margin: 0 5px;
    width: calc(100% - 10px);
}

section figcaption {
    text-align: right;
}

section .contents {
    width: 100%;
    outline-offset: -14px;
    outline: 1px solid #fff;
    padding: 40px 50px;
    background: var(--bg-white-t);
    color: #333;
    margin: 60px 0;
}

table {
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
    width: 100%;
}

th {
    background: var(--works-color);
    padding: 20px;
    align-items: center;
}

td {
    background: var(--bg-white-t);
    color: #333;
    padding: 20px 30px;
}

.comment_wp {
    margin-top: 40px;
    width: 100%;
    margin-bottom: 100px;
    position: relative;
}

.comment_wp .inner {
    z-index: 10;
    position: relative;
}

.comment {
    margin-top: -16px;
    clip-path: polygon(0 0, calc(100% - 120px) 0, 100% 120px, 100% 100%, 0 100%);
    padding: 60px 0 0;
    background: #534c24;
}

h4 {
    font-size: 2.8em;
    letter-spacing: 0.06em;
    text-shadow: none;
    line-height: 1.5;
    width: fit-content;
    position: relative;
}

.comment_wp h4 {
    position: absolute;
}

.table_wp {
    padding-top: 40px;
}

.table_wp h4 {
    margin-bottom: 30px;
}

@media screen and (max-width:1080px) {
    .rhom .inner_rh {
        position: relative;
    }

    .title {
        justify-content: right;
    }

    .h2_wp {
        margin: 0;
        min-width: 110px;
    }

    section .figures {
        margin-left: 0;
    }

    section .figures .flex {
        margin-left: 0;
        margin-left: auto;
    }

    section {
        padding: 0 30px;
        width: 100%;
    }

    section .inner {
        padding: 0 0 60px;
        width: 100%;
    }

    .comment p {
        padding: 0 40px;
    }

}

@media screen and (max-width:620px) {
    .title.flex {
        display: block;
    }

    .right {
        margin: 50px auto;
        width: fit-content;
    }

    .h2_wp {
        margin: auto;
        min-width: 110px;
    }

    h3 {
        margin-bottom: 0;
        font-size: 3em;
    }

    section .figures {
        width: 100%;
    }

    section .figures .flex {
        min-width: auto;
        width: 100%;
    }

    section figure.main {
        width: 100%;
    }

    figure.main img {
        width: 100%;
    }

    section .contents {
        padding: 40px 30px;
    }
}