@charset "utf-8";

:root {
    --sns-size: 30px;
    --main-color: #6d6828;
    --main-color-t: #6d6828c5;
    --about-color: #2b2500;
    --about-color-t: #2b2500c5;
    --about-color-tt: #2b250062;
    --works-color: #203431;
    --works-color-t: #203431b4;
    --works-color-tt: #20343162;
    --contact-color: #663333;
    --contact-color-t: #663333b4;
    --store-color: #333333;
    --store-color-t: #333333c5;
    --store-color-tt: #33333362;
    --recruit-color: #5b3009;
    --recruit-color-t: #5b3009b4;
    --recruit-color-tt: #5b300962;
    --flow-color: #4c2b2b;
    --flow-color-t: #4c2b2bc5;
    --flow-color-tt: #4c2b2b62;
    --s-bg-color: #fffce9;
    --s-bg-color-s: #fffce96f;
    --bg-white-t: #ffffffc5;
    --header-color: #acb400;
    --link-bg-color: #534741;
    --rhom-tilt: 4.8;
    --dt-width: 180px;
}

body,
header,
div,
p,
h1,
h2,
h3,
h4,
ul,
li,
img,
address,
dl,
dd,
dt,
main,
footer,
figure,
section,
article {
    margin: 0;
    padding: 0;
}

body,
header,
div,
p,
h1,
h2,
h3,
h4,
ul,
li,
img,
address,
form,
dl,
dd,
dt,
input,
textarea,
footer,
main,
figure,
section,
article {
    box-sizing: border-box;
}

img {
    width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
    width: fit-content;
}

li a {
    height: 100%;
    display: block;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.inner {
    width: calc(100% - 42vh);
    margin-left: auto;
}

a {
    color: #4c2b2b;
    text-decoration: none;
}

body {
    font-size: 15px;
    font-family: serif;
    color: #fff;
    line-height: 1.8em;
}

.body {
    background: #2b2b2b url(../imgs/bg_body.png);
    position: fixed;
    width: 100%;
    height: 100vh;
}

body .bg_body {
    width: 22px;
    height: 100%;
    background: url(../imgs/bg_body_rh.png) center / contain repeat-y;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.rhom {
    transform: rotate(45deg);
    position: relative;
}

.rhom_b {
    transform: rotate(45deg);
    position: relative;
    padding: 5%;
    border: 1px solid #fff;
}

.rhom .inner_rh {
    transform: translateY(-50%) rotate(-45deg);
    text-align: center;
    position: absolute;
    top: 50%;
    width: 100%;
}

input,
textarea,
select {
    font-family: serif;
}

.sp {
    display: none;
}

button {
    font-family: serif;
}

button:hover {
    cursor: pointer;
}

#hum_menu {
    position: fixed;
    right: 30px;
    top: 30px;
    background: none;
    border: none;
    width: 60px;
    z-index: 600;
    display: none;
}

#hum_menu:hover {
    mix-blend-mode: luminosity;
}

/* ヘッダー・メインビジュアル */

header {
    background: url(../imgs/bg_header.png) left / contain no-repeat;
    height: 100vh;
    position: fixed;
    min-height: 600px;
    z-index: 100;
    color: #5b3009;
    font-size: 2vh;
}

header .inner_h {
    width: 42vh;
    min-width: 200px;
    height: 100%;
    padding: 5vh 9.6vh 5vh 2vh;
    min-height: 800px;
}

.logo {
    width: 100%;
    height: 100px;
}

nav {
    background: var(--s-bg-color);
    text-align: center;
    padding: 10px;
    margin: auto;
    height: 230px;
    height: 33vh;
}

nav ul:nth-of-type(1) {
    background: url(../imgs/nav_bg.png) center / contain no-repeat;
    margin-top: 0px;
    padding: 3.4vh 0 0;
    height: calc(100% - 28px);
}

nav ul.flex {
    padding: 5px 20px 0;
}

nav li {
    margin: auto;
}

nav li a {
    color: #736357;
    position: relative;
    line-height: 1.8;
}

nav li a::before,
nav li a::after,
footer li a::before,
footer li a::after {
    opacity: 0;
    transition: 0.5s;
    line-height: 2.2;
}

nav li:hover a::before,
footer li:hover a::before {
    content: "◆";
    position: absolute;
    left: -3vh;
    opacity: 1;
    font-size: 0.8em;
    color: #a7a364;
}

nav li:hover a::after,
footer li:hover a::after {
    content: "◆";
    position: absolute;
    right: -3vh;
    opacity: 1;
    font-size: 0.8em;
    color: #a7a364;
}

header .sns {
    position: relative;
    height: 86px;
    height: 12vh;
}

header .sns .rhom_wp {
    justify-content: flex-end;
    width: 100%;
    align-items: center;
}

header .sns .rhom {
    background: #1a1a1a;
    --rhom-size: 42px;
    width: var(--rhom-size);
    height: var(--rhom-size);
    margin: calc(var(--rhom-size) / var(--rhom-tilt)) 0;
    border: 1px solid #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

header .sns .rhom:nth-of-type(1) {
    z-index: 3;
}

header .sns .rhom:nth-of-type(2) {
    z-index: 2;
}

header .sns .rhom:nth-of-type(3) {
    z-index: 1;
}

header .sns .rhom img {
    padding: 8px 2px 6px 16px;
}

header .sns .rhom:hover {
    background: var(--main-color);
    transition: .3s;
}

header .sns p {
    background-color: var(--header-color);
    width: 90%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    padding-left: 30px;
    margin: 0 2px;
}

header .tel,
header .contact {
    margin: 6px 10px;
    background-color: #6d6828;
    outline-offset: -5px;
    outline: 1px solid #fff;
    position: relative;
    font-size: 0.9em;
}

header .tel a,
header .contact a {
    height: 100%;
    color: #fff;
    display: block;
    padding: 14px 20px;
}

address {
    font-style: normal;
    line-height: 1.5em;
}

header .address {
    padding: 0 10px;
    margin-top: -10px;
}

header .tel:hover .white,
header .contact:hover .white {
    background-color: #6d6828;
    cursor: pointer;
    transition: .3s;
}

header .tel:hover,
header .contact:hover {
    background-color: #333;
    transition: .3s;
}

header address .white {
    width: 14px;
    height: 14px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: #fff;
}

main {
    z-index: 10;
    position: relative;
}

/* フッター */
footer {
    width: 100%;
    background: var(--bg-white-t);
    z-index: 10;
    position: relative;
}

.footer_logo_wp {
    height: 140px;
    background: var(--main-color);
    width: 100%;
}

footer .inner {
    height: 100%;
    outline: 1px solid rgba(255, 255, 255, 0.721);
    outline-offset: -16px;
    padding: 30px 40px 20px;
}

footer .footer_logo_wp .inner {
    display: flex;
    align-items: center;
}

footer .logo img {
    width: 300px;
    margin: auto;
    display: block;
}

footer ul {
    width: 600px;
    position: relative;
    padding-left: 10px;
}

footer ul:nth-of-type(2) {
    font-size: 0.9em;
}

footer ul.ul_child {
    width: auto;
    display: none;
    position: absolute;
}

footer li {
    margin-left: auto;
    position: relative;
}

.copyright {
    text-align: right;
    color: #333;
}

@keyframes slideIn {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slideIn {
    animation: slideIn 2s 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.slideIn2 {
    animation: slideIn 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.fadeIn {
    transform: translateX(30px);
    opacity: 0;
    visibility: hidden;
    transition: transform 1s, opacity 1s, visibility 1s;
}

.is-fadein {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 1200px) {
    section .content {
        padding: 10px 0 70px;
    }
}

@media screen and (max-width: 1080px) {
    header {
        width: 320px;
        height: 100vh;
        background: #fff;
        outline-offset: -10px;
        outline: 2px solid #666;
        z-index: 500;
        right: -100%;
        position: fixed;
        opacity: 0;
        font-size: 0.9rem;
    }

    header .border_sp {
        width: calc(100% - 20px);
        background: #fff;
        padding: 4px;
        background: var(--header-color);
        margin: 10px;
        height: calc(100vh - 20px);
    }

    header .inner_sp {
        background: #fff;
        border: 1px solid #666;
        border-radius: 10px;
        padding: 20px;
        height: 100%;
    }

    header .inner_h {
        width: 100%;
        background: #fff;
        border: 1px solid #666;
        border-radius: 10px;
        padding: 10px;
        min-height: auto;
    }

    header h1 img {
        height: 18vh;
        display: block;
        width: auto;
        margin: auto;
    }

    nav {
        height: 38vh;
    }

    nav li a,
    footer li a {
        line-height: 2.5;
        font-size: 1em;
    }

    nav li a::before,
    nav li a::after,
    footer li a::before,
    footer li a::after {
        line-height: 1;
    }

    nav li:hover a::before,
    footer li:hover a::before {
        padding-top: 12px;

    }

    nav li:hover a::after,
    footer li:hover a::after {
        padding-top: 12px;
    }

    header nav ul:nth-of-type(1) {
        background: url(../imgs/nav_bg.png) center / contain no-repeat;
        padding-top: 8px;
    }

    .inner {
        margin: auto;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #hum_menu {
        display: block;
    }

    header .sns .rhom {
        width: 46px;
        height: 46px;
    }

    header .sns .rhom_wp {
        padding-right: 18px;
        --rhom-size: 3.4vw;
    }

    .open {
        right: 0;
        opacity: 1;
        transition: 0.5s;
    }

    .close {
        right: -100%;
        opacity: 0;
        transition: 0.5s;
    }

    .rotate_p {
        transform: rotate(45deg);
        transition: 0.5s;
    }

    .rotate_s {
        transform: rotate(0deg);
        transition: 0.5s;
    }

    header .address {
        padding: 0;
    }

    header .contact,
    header .tel {
        margin: 10px 0;
    }

    footer .flex {
        display: block;
    }

    footer ul {
        width: auto;
    }

    footer ul:nth-of-type(2) {
        margin-left: auto;
        bottom: 0px;
        width: fit-content;
    }

    footer ul:nth-of-type(2) li {
        text-align: end;
        margin-left: auto;
        right: 10px;
    }

    footer li {
        margin-left: 0;
    }
}

@media screen and (min-width: 768px),
print {
    a[href^="tel:"] {
        color: #6d6828;
        text-decoration: none;
    }

    /* body {
        font-size: 0.8rem;
    } */
}

@media screen and (max-width: 450px) {

    main {
        overflow-x: hidden;
    }

    footer .logo img {
        width: calc(100% - 10%);
    }

    section {
        margin-left: 0;
    }
}