@charset "utf-8";


/* メインビジュアル */

.visual_wp {
    width: 100%;
    height: 100vh;
    box-shadow: #111111 0 6px 12px;
    position: relative;
    overflow-x: hidden;
}

.visuals {
    width: 3000px;
    height: 100%;
    position: absolute;
}

.visuals li {
    width: 1000px;
    height: 100%;
}

.visuals li:nth-of-type(1) {
    background: url(../imgs/visual1.jpg) center / cover no-repeat;
    animation: loop 210s -70s linear infinite;
}

.visuals li:nth-of-type(2) {
    background: url(../imgs/visual2.jpg) center / cover no-repeat;
    animation: loop 210s -70s linear infinite;
}

.visuals li:nth-of-type(3) {
    background: url(../imgs/visual3.jpg) center / cover no-repeat;
    animation: loop2 210s linear infinite;

}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-200%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-300%);
    }
}

.catch_wp {
    padding: 0 0 100px 20px;
    opacity: 0;
    min-width: 440px;
}

.catch {
    font-size: 4.5em;
    color: #fff;
    z-index: 30;
    text-decoration: underline 1px solid;
    text-underline-offset: 12px;
    background: linear-gradient(transparent 50%, var(--main-color) 0%);
    display: inline;
    text-shadow: 0 0 10px #333;
    padding: 0 0 20px 0;
    letter-spacing: 0.04em;
    line-height: 1.5em;
}

.visual_wp .inner {
    height: 100%;
    position: relative;
}

.visual_wp .flex {
    align-items: flex-end;
}

.visual_wp .eval {
    width: 280px;
    background: var(--bg-white-t);
    position: absolute;
    top: 30px;
    right: 20px;
    padding: 10px 16px;
}

.v_switch {
    margin: 40px auto;
    width: 100px;
}

.v_switch .rhom {
    background: #bbc4aa;
    --rhom-size: 20px;
    width: var(--rhom-size);
    height: var(--rhom-size);
}

.point {
    background-color: var(--bg-white-t);
    width: 46%;
    height: 180px;
    padding: 10px 14px;
    color: #333;
    min-width: 390px;
    position: absolute;
    right: 0;
}

.point .inner_p {
    border: var(--main-color) 1px solid;
    height: 100%;
    position: relative;
    padding: 20px;
}

.point .p_icon img {
    width: 80px;
    position: absolute;
    top: -50px;
    left: -60px;
}

.point p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: calc(100% - 40px);
}

.nav01 {
    border-bottom: 2px solid var(--main-color);
}

/* トップ　メイン */

main {
    width: 100%;
}

section {
    padding: 150px 0 100px;
}

section .inner {
    z-index: 100;
    position: relative;
}

.h2_wp {
    background: url(../imgs/bg_h2.png) center / contain no-repeat;
    --rhom-size: 160px;
    width: var(--rhom-size);
    height: var(--rhom-size);
    margin: calc(var(--rhom-size) / var(--rhom-tilt)) auto;
    z-index: 150;
    box-shadow: #111111ae 4px 4px 0;
}

h2 {
    font-size: 1rem;
    padding: 4px 6px 0;
    color: rgb(112, 79, 79);
    font-weight: bolder;
}

section .bg_t {
    margin-top: 40px;
    height: 220px;
    width: 100%;
    position: absolute;
    margin-right: 6vw;
    right: 0;
    z-index: 20;
    overflow-x: hidden;
    clip-path: polygon(0 0, calc(100% - 160px) 0, 100% 160px, 100% 100%, 0 100%);
}

section .bg_b {
    width: calc(100% - 30vh);
    position: absolute;
    margin-top: 190px;
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 14vw 100%, 0 calc(100% - 14vw));
}

/* アバウト */

#about .bg_t {
    background: url(../imgs/bg_about.jpg) right / cover repeat-x;
}

#about .bg_b {
    background: var(--about-color-t);
    height: 280px;
}

#about .img {
    position: absolute;
    background: url(../imgs/about.png) center / contain;
    --rhom-size: 300px;
    width: var(--rhom-size);
    height: var(--rhom-size);
    margin: calc(var(--rhom-size) / var(--rhom-tilt)) calc(var(--rhom-size) / var(--rhom-tilt)) calc(var(--rhom-size) / var(--rhom-tilt)) calc(var(--rhom-size) / var(--rhom-tilt) - 14px);
}

.box_wp {
    margin: -108px auto 0;
    position: relative;
    width: 160px;
    height: 5px;
    z-index: 50;
}

#about .box_wp .inner_rh {
    font-size: 0.98em;
}

.box1,
.box2,
.box3 {
    position: absolute;
    margin: 10px;
    top: 0;
    background: #203431;
    margin: calc(var(--rhom-size) / var(--rhom-tilt));
}

#about .box1,
#about .box2,
#about .box3 {
    --rhom-size: 124px;
    width: var(--rhom-size);
    height: var(--rhom-size);
}

#about .box1 {
    background: #acb400;
    right: -434px;
    top: 125px;
}

#about .box2 {
    background: #d6bb00;
    right: -342px;
    top: 34px;
}

#about .box3 {
    background: #ac9500;
    right: -342px;
    top: 216px;
}

.content {
    z-index: 50;
    position: relative;
    padding: 10px 50px 70px;
}


h3 {
    font-size: 1.8em;
    line-height: 1.8em;
    padding: 0 0 30px;
    letter-spacing: 0.08em;
}

/* 実績一覧 */
#works .bg_t {
    background: url(../imgs/bg_work.jpg) right / cover repeat-x;
}

#works .bg_b {
    background: var(--works-color-t);
    height: 600px;
}

#works .box1,
#works .box2,
#works .box3,
#works .box4 {
    --rhom-size: 220px;
    width: var(--rhom-size);
    height: var(--rhom-size);
    border: 1px solid #fff;
}

#works .box1 {
    background: url(../imgs/works_photo1.png) center / contain no-repeat;
    left: 44px;
    top: 2px;
}

#works .box2 {
    background: url(../imgs/works_photo2.png) center / contain no-repeat;
    top: 257px;
    left: -30px;
}

#works .box3 {
    background: url(../imgs/works_photo3.png) center / contain no-repeat;
    top: 422px;
    left: 134px;
}

#works .box4 {
    background: url(../imgs/works_photo3.png) center / contain no-repeat;
    top: 214px;
    left: 256px;
}

#works .box_wp .inner_rh {
    font-size: 1.8em;
}

#works .content {
    padding-bottom: 300px;
}

.boxes {
    position: relative;
}

/* 問い合わせ */
#contact .bg_t {
    background: url(../imgs/bg_contact.jpg) right / cover repeat-x;
}

#contact .bg_b {
    background: var(--contact-color-t);
    height: 1200px;
}

#contact form {
    background: #fffff9;
    width: 70%;
    max-width: 800px;
    min-width: 500px;
    margin: -114px 0 0 10vw;
    position: relative;
    padding: 14px;
    color: #5b3009;
    font-size: 0.9em;
}

#contact form .border_f {
    width: 100%;
    height: 100%;
    background: var(--contact-color);
    border: 2px solid #666;
    padding: 4px;
}

#contact form .inner_f {
    background: #fffff9;
    height: 100%;
    border-radius: 10px;
    padding: 40px 70px 25px;
}

#contact p {
    margin-left: auto;
    width: fit-content;
    padding-right: 40px;
    padding-top: 40px;
}

#contact span {
    display: block;
    color: #fff;
    font-size: 0.8em;
    background-color: #4c2b2b;
    width: fit-content;
    padding: 0 10px;
}

#contact dt {
    float: left;
    width: var(--dt-width);
}

#contact dd,
#contact dt {
    border-bottom: #a8ab9b 1px solid;
    height: 4em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#contact dd {
    margin-left: calc(var(--dt-width));
    padding: 8px 0 8px 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    height: 100%;
    border: 1px solid #a8ab9b;
}

#contact dt:last-of-type,
#contact dd:last-of-type {
    border: none;
    height: 14em;
}

input[name="zip"],
input[type="tel"] {
    width: 260px;
}

textarea {
    resize: none;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    border: #5b3009 1.5px solid;
    background: #f7f7f7;
    border-radius: 0;
    outline: none;
}

#contact .privacy {
    margin: 15px 0 15px;
    height: 120px;
    overflow-y: scroll;
    background: #fff;
    border: 1px solid #a8ab9b;
    font-size: 0.9em;
    line-height: 1.5em;
}

#contact .privacy p {
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

#contact input[type="submit"] {
    height: 50px;
    line-height: 50px;
    color: #fff;
    width: 300px;
    margin: 40px auto;
    border: none;
    display: block;
    background: url(../imgs/btn_submit.png) center / contain no-repeat;
}

#contact label {
    display: block;
}

.privacy_wp label {
    text-align: center;
}

#contact form .open {
    margin: 10px auto;
    padding: 10px 20px;
    background: var(--contact-color-t);
    color: #fff;
    border: none;
    display: none;
}

#contact .alert {
    /* display: none; */
    color: red;
    text-align: center;
    margin-left: 0;
    width: 100%;
    font-size: 1.16em;
    background-color: rgb(255, 225, 225);
    padding: 10px 20px;
    margin-top: 20px;
    border: 1px solid red;
    display: none;
}

@media screen and (max-width:1190px) {
    .point {
        display: none;
        min-width: 500px;
    }

    .point.sp {
        display: block;
        margin-left: 50.4%;
        position: relative;
        margin-top: 100px;
    }

    #contact dt,
    #contact dt:last-of-type {
        float: none;
        width: 100%;
        justify-content: left;
        border-bottom: none;
        padding-top: 10px;
        height: auto;
    }

    #contact form .inner_f {
        padding: 60px;
    }

    #contact dt span {
        margin-left: 20px;
    }

    #contact dd {
        margin: 0;
        padding-left: 0;
    }

    #contact form {
        width: 96%;
        margin: -114px auto 0;
    }

    #contact p {
        padding: 40px 0 0;
    }
}

@media screen and (max-width:1080px) {
    .visual_wp .eval {
        width: 40%;
        min-width: 230px;
    }

    #about .box_wp {
        transform: rotate(90deg);

    }

    section .bg_t {
        margin-right: 0;
    }

    section .bg_b {
        width: 100%;

    }

    .inner {
        padding: 0 30px;
    }

    .box_wp {
        margin: auto;
        position: relative;
        width: 5px;
        height: 160px;
        z-index: 50;
    }

    #about .img {
        margin: 0;
        left: 100px;
        bottom: -70px;
        transform: rotate(-45deg);
    }

    #about .img .inner_rh,
    #about .box1 .inner_rh,
    #about .box2 .inner_rh,
    #about .box3 .inner_rh {
        transform: translateY(-50%) rotate(-135deg);
        padding: 0;

    }

    #about .box1 {
        left: 476px;
        top: -8px;
    }

    #about .box2 {
        left: 380px;
        top: -100px;
    }

    #about .box3 {
        left: 380px;
        top: 86px;
    }

    #about .content {
        margin-top: -160px;
        text-align: center;
        padding-bottom: 400px;
    }

    #about .bg_b {
        height: 700px;
    }

    #works .box1,
    #works .box2,
    #works .box3,
    #works .box4 {
        --rhom-size: 180px;
        width: var(--rhom-size);
        height: var(--rhom-size);
        border: 1px solid #fff;
    }

    .boxes {
        margin-top: 200px;
        left: -50px;
    }

    .point.sp {
        margin: auto;
        position: relative;
        margin: 100px 40px 0 60px;
        width: calc(100% - 100px);
        min-width: auto;
    }

    #works .box1 {
        left: -4px;
        top: -104px;
    }

    #works .box2 {
        top: 35px;
        left: -140px;
    }

    #works .box3 {
        left: -2px;
        top: 174px;
    }

    #works .box4 {
        top: 350px;
        left: -102px;
    }

    #works .box_wp .inner_rh {
        font-size: 1.5em;
    }

    #works .content {
        margin-top: -180px;
        padding-bottom: 0;
    }

    #works .content p {
        padding-top: 640px;
        margin: auto;
        width: fit-content;
        padding-right: 150px;
    }

    #works .inner {
        margin-top: -430px;
    }

    #works h3 {
        text-align: center;
        padding-top: 90px;
    }

    #works .bg_b {
        height: 1100px;
    }

    .visual_wp .eval {
        right: auto;
        left: 20px;
    }

    .catch {
        font-size: min(11vw, 60px);
        white-space: nowrap;
    }

    #contact .dl_sp {
        display: none;
    }

    #contact .bg_b {
        height: 300px;
    }

    .v_switch {
        padding: 0;
    }

    #contact form .open {
        display: block;
    }

    #contact form {
        width: calc(100% - 60px);
        min-width: auto
    }

    #contact .inner {
        padding: 0;
    }

}


@media screen and (max-width:530px) {

    #works .content {
        padding-bottom: 0;
    }

    .catch_wp {
        padding-bottom: 50px;
        padding-left: 0
    }

    .content {
        padding: 10px 0 20px;
    }

    .point {
        height: 240px;
    }

    .point p {
        text-align: left;
    }

    .h2_wp {
        --rhom-size: 140px;
    }

    .point.sp {
        margin: 100px 10px 0 50px;
        width: calc(100% - 60px)
    }

    section .bg_t {
        clip-path: polygon(0 0, calc(100% - 90px) 0, 100% 90px, 100% 100%, 0 100%);
    }

    #contact form .inner_f {
        padding: 60px 30px;
    }

    #works .content p {
        padding-right: 0;
        padding-bottom: 20px;
    }

    section#works {
        padding-bottom: 0;
    }

    #contact form {
        margin: -114px 0 0;
        width: 100%;
    }
}