@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Oswald:wght@200..700&display=swap');

/*============================
base
============================*/
:root {
    --text-color: #000;
    --maincolor: #562b08;
    --subcolor: #00785f;
    --color1: #e83434;
    --font1: "Oswald", sans-serif;
    --bg-1: url("../img/texture-1.jpg") repeat-y center / 100% auto;
    --bg-2: url("../img/texture-2.jpg") repeat-y top center / 100% auto;
}

html {
    font-size: calc(10 / 1440 * 100vw);
    color: var(--text-color);
    overflow-x: hidden;
}

@media (max-width: 767px) {
    html {
        font-size: calc(10 / 767 * 100vw);
    }
}

body {
    font-family: "Noto Sans JP", system-ui;
    background: var(--bg-1);
    font-size: max(12px, 1.6rem);
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

.fade {
    opacity: 0;
}

.fadeUp {
    animation: fadeUp 0.6s ease both;
}

.header img,
section img,
.footer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    vertical-align: bottom;
}

a {
    transition: 0.3s ease-in-out;
}

@media (min-width: 768px) {
    a:hover {
        opacity: 0.6;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media (max-width: 767px) {
    a[href^="tel:"] {
        text-decoration: underline;
    }
}

.sp {
    display: none;
}

@media (max-width: 767px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block;
    }
}

.c-red {
    color: var(--color1)!important;
}

.map {
    width: 100%;
    height: 40rem;
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.line {
    position: relative;
    z-index: 1;
}

.line::before {
    content: "";
    width: 131rem;
    height: 100%;
    border-left: solid max(3px, 0.6rem) var(--subcolor);
    border-right: solid max(3px, 0.6rem) var(--subcolor);
    position: absolute;
    transform: translateX(-50%);
    top: 0;
    left: 50%;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 767px) {
    .line::before {
        width: 95%;
    }
}

/*============================
header
============================*/
.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .header__logo {
    width: 14.1rem;
    margin-left: 2.9rem;
    margin-top: 1.9rem;
}

@media (max-width: 767px) {
    .header .header__logo {
        width: max(80px, 16rem);
        margin-left: 2rem;
        margin-top: 2rem;
    }
}

.header__hamburger-sp {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}

@media (max-width: 767px) {
    .header__hamburger-sp {
        background-color: var(--subcolor);
        width: 8rem;
        height: 8rem;
        min-width: 60px;
        min-height: 60px;
        visibility: visible;
    }

    .header__hamburger-sp::before,
    .header__hamburger-sp::after,
    .header__line-sp {
        content: "";
        background-color: #fff;
        width: 5rem;
        min-width: 35px;
        height: 2px;
        border-radius: 5px;
        position: absolute;
        transform: translate(-50%, -50%);
        left: 50%;
        transition: 0.3s;
    }

    .header__hamburger-sp::before {
        top: 30%;
        transform-origin: bottom left;
    }

    .header__hamburger-sp::after {
        top: 70%;
        transform-origin: top left;
    }

    .header__hamburger-sp.js-transform::before,
    .header__hamburger-sp.js-transform::after {
        transform: scale(1.414);
        top: 50%;
    }

    .header__hamburger-sp.js-transform::before {
        transform: rotate(45deg) translateX(-50%);
    }

    .header__hamburger-sp.js-transform::after {
        transform: rotate(-45deg) translateX(-50%);
    }

    .js-transform .header__line-sp {
        transform: scale(0);
    }
}

.header__contents {
    display: flex;
    gap: 4rem;
    padding: 0 9.7rem 0 3rem;
    position: absolute;
    top: 3.7rem;
    right: 0;
    border-radius: 1rem 0 0 1rem;
    color: #FFF;
}

@media (max-width: 900px) {
    .header__contents {
        gap: 5rem 4rem;
        padding: 1.7rem 3rem;
    }
}

@media (max-width: 767px) {
    .header__contents {
        background: var(--bg-1);
        width: 100%;
        height: 100%;
        min-height: max-content;
        flex-direction: column;
        justify-content: center;
        padding: 8rem 0;
        position: fixed;
        top: 0;
        left: 0;
        opacity: 0;
        visibility: hidden;
        overflow-y: scroll;
        z-index: 100;
        transition: 0.3s ease-out;
        border-radius: 0;
        color: #000;
    }

    .header__contents.js-show {
        opacity: 1;
        visibility: visible;
    }
}

.header__nav-list {
    display: flex;
    gap: 4rem 5rem;
    font-size: max(12px, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
}
.header__sns {
    line-height: 0;
    margin-top: -0.5rem;
}

@media (max-width: 767px) {
    .header__nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.header__nav-item a {
    font-size: max(12px, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF;
}
.header__nav-item a:hover {
    /*color: #f1c100;*/
    opacity: 0.7;
}
.header__nav-item div {
    /*opacity: 0;
    pointer-events: none;
    width: 0;*/
    padding-top: 1rem;
}
.header__nav-item.list/*:hover*/ div {
    opacity: 1;
    pointer-events: auto;
    white-space: nowrap;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 0;
}
.header__nav-item.list/*:hover*/ div a {
    padding: 0.5rem 0;
}
.header__nav-item.list/*:hover*/ span {
    color: #f1c100;
}
.header__nav-item a span {
    font-size: max(10px, 1.3rem);
    color: #d1c0a5;
    letter-spacing: 0;
    margin-top: 0.5rem;
}

.header__sns li {
    font-size: max(21px, 2.6rem);
}
.header__sns li a {
    color: #FFF;
}
@media (max-width: 767px) {
    .header__nav-item a {
        line-height: 1.5;
        color: #000;
    }
    .header__nav-item div {
        opacity: 1;
        pointer-events: initial;
        width: initial;
    }
    .header__nav-item.list {
        text-align: center;
    }
    .header__nav-item.list/*:hover*/ div a {
        padding: 0.5rem 0;
    }
    .header__nav-item.list div a {
        padding: 0.5rem 0;
    }
    .header__nav-item.list/*:hover*/ span {
        color: #f1c100;
    }
    .header__nav-item.list/*:hover*/ div {
        opacity: 1;
        pointer-events: auto;
        white-space: nowrap;
        margin-top: 0;
        align-items: center;
        gap: 0;
        width: initial;
    }
    .header__sns li a {
        color: #000;
    }
    .header__sns li {
        text-align: center;
    }
}



/*============================
footer
============================*/
.footer {
    background-color: var(--subcolor);
    padding: 4.7rem 14.5rem 2.2rem 9.5rem;
    position: relative;
}
.footer__nav-item div {
    padding-top: 1.6rem;
}
.footer__nav-item.list div {
    white-space: nowrap;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 0
}

.pagetop {
    width: max(35px, 7rem);
    height: max(35px, 7rem);
    font-size: max(10px, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 3rem;
    right: 5rem;
    z-index: 100;
    color: var(--subcolor);
}

.pagetop.js-top {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .pagetop.js-top:hover {
        opacity: 0.6;
    }
}

@media (max-width: 767px) {
    .pagetop {
        right: 4rem;
    }
    .footer {
        padding: 5rem 3rem;
    }
}

.pagetop::before,
.pagetop::after {
    content: "";
    position: absolute;
}

.pagetop::before {
    width: 100%;
    height: 100%;
    border: solid 2px var(--subcolor);
    transform: translate(-50%, -50%) rotate(-45deg);
    top: 50%;
    left: 50%;
}

.pagetop::after {
    background-color: var(--subcolor);
    width: 2px;
    height: 7.7rem;
    transform: translate(-50%, -100%);
    top: 1rem;
    left: 50%;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .footer__inner {
        flex-direction: column;
        row-gap: 6rem;
        align-items: center;
    }
    .footer__nav-item.list div {
        align-items: center;
        width: initial;
        white-space: initial;
    }
}

.footer__logo {
    display: block;
    width: max(120px, 16.1rem);
    height: auto;
}

.footer__nav-list {
    display: flex;
    gap: 4.4rem;
    margin: 0 0;
}
.footer__nav-item:last-child a {
    font-size: max(20px,2.2rem);
}

@media (max-width: 767px) {
    .footer__nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        gap: 2rem;
    }
}

.footer__nav-item a {
    font-size: max(12px, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF;
    padding-bottom: 1rem;
}
.footer__nav-item.list {
    color: #f1c100;
    font-size: max(12px, 1.8rem);
    line-height: 1;
}

@media (max-width: 767px) {
    .footer__nav-item a {
        line-height: 1.5;
    }
    .footer__nav-item.list span {
        margin: 0 auto;
        display: block;
        width: max-content;
    }
}

.footer__sns {
    display: flex;
    gap: 2rem;
    margin: 0 5rem 0 1rem;
}
.footer__sns li a {
    font-size: max(21px, 2.6rem);
    color: var(--maincolor);
}

.copy {
    letter-spacing: 0.2em;
    text-align: center;
    margin-top: 3.3rem;
    color: #FFF;
    font-size: 12px;
    font-weight: 300;
}

@media (max-width: 767px) {
    .footer__sns {
        margin: 0;
    }
}

.ctrl {
    display: inline-block;
}

