@charset "utf-8";
/* CSS Document */
/* ===============================================
   main
=============================================== */
@media (max-width: 767px) {
    #main {
        padding-top: 16vw;
    }
}
/* ===============================================
   header
=============================================== */
@media (max-width: 767px) {
    #header {
        background-color: #fff;
    }
    #header.is_scrolled::before {
        opacity: 0;
    }
    .header_inner {
        padding: 0 4vw;
    }
    #header.is_menu_open .header_inner {
        background-color: unset;
    }
}
/* ----------------------------------------------------------------
   ロゴ
---------------------------------------------------------------- */
@media (max-width: 767px) {
    .header_logo {
        background-color: var(--c-green);
    }
}
/* ----------------------------------------------------------------
   ヘッダー右側・上部リンク・お問い合わせボタン
---------------------------------------------------------------- */
@media (max-width: 767px) {
    .top_link {
        display: none;
    }
    .contact_btn {
        display: none;
    }
}
/* ----------------------------------------------------------------
   ハンバーガーメニューのボタン
---------------------------------------------------------------- */
@media (max-width: 767px) {
    #header.is_menu_open .hamburger span {
        background: #FFF;
    }
    #header::after {
        content: "";
        width: 16vw;
        height: 100%;
        background-color: var(--c-green);
        position: absolute;
        top: 0;
        right: 0;
        z-index: -1;
    }
}
/* ===============================================
   headline
=============================================== */
#headline {
    width: 100%;
    height: clamp(0px, 41.5vw, 535px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#headline::before, #headline::after {
    content: "";
    width: 100%;
    inset: 0;
    opacity: 0.8;
    mix-blend-mode: multiply;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}
#headline::before {
    height: clamp(0px, 14.6vw, 190px);
    background: linear-gradient(
        to bottom,
        #998675 0%,
        #ffffff 100%
    );
}
#headline::after {
    height: clamp(0px, 11.6vw, 150px);
    background: linear-gradient(
        to top,
        #998675 0%,
        #ffffff 100%
    );
    top: auto;
}
.hl_bg {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.hl_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hl_inner {
    width: clamp(0px, 84.6vw, 1100px);
    line-height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 3;
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    animation: hlTextFade 1.1s ease forwards;
    animation-delay: 0.9s;
    will-change: opacity, transform;
}
.hl_ttl_wrap {
    width: clamp(0px, 84.6vw, 1100px);
    position: absolute;
    top: 44%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
}
.hl_ttl_wrap > * {
    width: clamp(0px, 26.2vw, 340px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hl_ttl_wrap > *::before {
    content: "";
    width: 50vw;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    clip-path: inset(0 100% 0 0);
    animation: hlBarReveal 1.1s ease forwards;
    animation-delay: 0.25s;
}
.hl_ttl_wrap > * > * {
    font-family: var(--ff-min);
    line-height: 1;
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
    animation: hlTitleFade 0.8s ease forwards;
    animation-delay: 0.75s;
}
.hl_ttl {
    height: clamp(0px, 8.5vw, 110px);
    flex-direction: column;
    gap: 5px;
}
.hl_ttl::before {
    background: #FFF;
}
.hl_ttl h1 {
    font-size: clamp(0px, 2.8vw, 37px);
    font-weight: var(--fw-m);
}
.hl_subttl {
    height: clamp(0px, 4vw, 52px);
}
.hl_subttl::before {
    background: var(--c-green) url("../img/hl_subttl_bg.jpg") no-repeat top right / cover;
}
.hl_subttl span {
    font-size: clamp(0px, 1.5vw, 20px);
    font-weight: var(--fw-sb);
    letter-spacing: 0.12em;
    color: #FFF;
}
@media (max-width: 767px) {
    #headline {
        height: 100%;
        max-height: calc(100dvh - 16vw);
        aspect-ratio: 126 / 83;
    }
    #headline::before {
        content: none;
        display: none;
    }
    #headline::after {
        height: 15vw;
    }
    .hl_inner {
        width: 95.2vw;
    }
    .hl_ttl_wrap {
        width: 48.9vw;
        top: 50%;
        transform: translateY(-50%);
    }
    .hl_ttl_wrap > * {
        width: 100%;
    }
    .hl_ttl {
        height: 15.4vw;
        gap: 1.3vw;
    }
    .hl_ttl h1 {
        font-size: 4.8vw;
    }
    .hl_subttl {
        height: 5.2vw;
    }
    .hl_subttl span {
        font-size: 2.6vw;
    }
}
/* =========================
   hl anime
========================= */
@keyframes hlTextFade {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes hlBarReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}
@keyframes hlTitleFade {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hl_inner,
    .hl_ttl_wrap > *::before,
    .hl_ttl_wrap > * > * {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}
/* ===============================================
   bg
=============================================== */
.main_bg {
    width: 100%;
    position: relative;
    background-image: url("../img/main_bg.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: clamp(0px, 147.7vw, 1920px) auto;
    z-index: 2;
}
@media (max-width: 767px) {
    .main_bg {
        background-image: url("../img/main_bg_sp.jpg");
        background-position: center bottom;
        background-size: 100% auto;
    }
}
/* ===============================================
   breadcrumb
=============================================== */
#breadcrumb ul {
    display: flex;
    font-size: clamp(0px, 1.1vw, 14px);
}
#breadcrumb ul li a {
    display: inline-block;
}
#breadcrumb ul li:not(:last-child)::after {
    content: "＞";
    margin: 0 0.8em;
}
@media (max-width: 767px) {
    #breadcrumb {
        display: none;
    }
}
/* ===============================================
   service
=============================================== */
#service {
    padding: clamp(0px, 9.3vw, 120px) 0;
    text-align: center;
}
.service_ttl {
    width: max-content;
    font-size: clamp(0px, 2.7vw, 35px);
    font-weight: var(--fw-sb);
    font-family: var(--ff-min);
    line-height: 1;
    letter-spacing: 0.35em;
    color: var(--c-green);
    margin: 0 auto clamp(0px, 3.8vw, 50px);
    padding: 0 1em;
    border-left: 2px solid currentColor;
    border-right: 2px solid currentColor;
}
.service_list {
    display: flex;
    justify-content: space-between;
}
.service_item {
    width: 23.6%;
}
.service_link {
    display: block;
    aspect-ratio: 13 / 16;
    position: relative;
}
.service_link:hover {
    opacity: 0.8;
}
.service_txt {
    display: block;
    width: 100%;
    height: 40.6%;
    background: linear-gradient(0deg, rgba(0, 100, 55, 1) 0%, rgba(0, 100, 55, 1) 70%, rgba(0, 100, 55, 0) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    color: #FFF;
    text-align: center;
    padding-top: clamp(0px, 5.8vw, 75px);
    font-size: clamp(0px, 1.7vw, 23px);
    font-weight: var(--fw-m);
    line-height: 1;
    letter-spacing: 0.12em;
}
@media (max-width: 767px) {
    #service {
        padding: 5.3vw 0;
    }
    .service_ttl {
        font-size: 3.9vw;
        letter-spacing: 0.41em;
        margin: 0 auto 4.5vw;
    }
    .service_list {
        flex-wrap: wrap;
        gap: 2.6vw 0;
    }
    .service_item {
        width: 48.5%;
    }
    .service_link {
        aspect-ratio: 335 / 173;
    }
    .service_txt {
        height: 53%;
        background: linear-gradient(0deg, rgba(0, 100, 55, 1) 0%, rgba(0, 100, 55, 1) 62%, rgba(0, 100, 55, 0) 100%);
        padding-top: 6.5vw;
        font-size: 3vw;
    }
}