@charset "utf-8";


/**
 * スマホ用設定
 */
@media ( max-width: 768px ) {

    header {
        position: sticky;
        top: 0;
        background: #fff;
        height: 80px;
    }
    header .header-wrap {
        margin: 0 auto;
        padding: 0 0 0 20px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    header .header-logo {
        margin: 0;
        padding: 0;
        width: max-content;
        height: 100%;
        color: var(--fg-color);
        font-size: min( 40px, 8.0vw );
        font-family: var(--font-alphabet);
        font-weight: 400;
        text-align: center;
        line-height: 1.0;
        display: flex;
        align-items: center;
    }
    header .header-logo span {
        font-size: min( 16px, 3.2vw );
    }
    header .header-menu {
        display: none;
    }
    header .header-sp-menu {
        position: relative;
        height: 100%;
        aspect-ratio: 1 / 1;
    }
    header .header-sp-menu #sp-menu-check {
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 1px;
        opacity: 0;
    }
    header .header-sp-menu #sp-menu-check ~ .header-sp-menu-back {
        position: absolute;
        top: 16px;
        left: 16px;
        width: 48px;
        height: 48px;
        background: var(--fg-color);
        border-radius: 100%;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon {
        position: absolute;
        top: calc( 50% - 1.5px );
        left: 15%;
        width: 70%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: background 0.5s ease-out;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon::before {
        position: absolute;
        content: "";
        top: -8px;
        left: 0;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.5s ease-out;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu-area > .sp-menu-icon::after {
        position: absolute;
        content: "";
        top: 8px;
        left: 0;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.5s ease-out;
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon {
        background: transparent;
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon::before {
        transform: translateY( 8px ) rotate( 45deg );
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu-area > .sp-menu-icon::after {
        transform: translateY( -8px ) rotate( -45deg );
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc( 100vh - 80px );
        height: calc( 100dvh - 80px );
        padding: 2.0em 4.0em;
        background: #fffe;
        list-style: none;
        transform-origin: top center;
        transform: scaleY( 0.0 );
        transition: transform 0.5s ease-out;
        z-index: 99;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li {
        list-style: none;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > a {
        display: block;
        margin: 0;
        padding: 0.2em 0;
        font-size: min( 16px, 3.6vw );
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li.header-contact > a {
        margin: 8.0vw auto 0;
        padding: 0 2.0em;
        width: max-content;
        height: auto;
        aspect-ratio: 240 / 56;
        color: #fff;
        font-size: 16px;
        font-family: var(--font-gothic);
        font-weight: 400;
        line-height: 1.0;
        white-space: nowrap;
        display: grid;
        place-items: center;
        background: var(--color-theme);
        border: 1px solid #fff;
        border-radius: 4.0em;
        transition: all 0.5s ease-out;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu,
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megamenu {
        padding: 0 0 0 1.0em;
        list-style: none;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu > li,
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megabmenu > li {
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
    }
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-submenu > li > a,
    header .header-sp-menu #sp-menu-check ~ .sp-menu > li > ul.header-megamenu > li > a {
        display: block;
        margin: 0;
        padding: 0.2em 0;
        font-size: min( 16px, 3.6vw );
    }
    header .header-sp-menu #sp-menu-check:checked ~ .sp-menu {
        transform: scaleY( 1.0 );
    }

    .mv {
        margin: 0 auto;
        width: 100%;
    }
    .mv .mv-bg {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 375 / 812;
    }
    .mv .mv-bg img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness( 0.6 );
    }
    .mv .mv-box {
        position: absolute;
        top: 45%;
        left: 5%;
        width: 90%;
        translate: 0 -50%;
    }
    .mv .mv-box h1 {
        position: relative;
        margin: 0 auto;
        width: 100%;
        color: #fff;
        font-size: 64px;
        font-family: var(--font-alphabet);
        font-weight: 400;
        text-align: center;
        line-height: 1.0;
    }
    .mv h1::after {
        position: absolute;
        content: "～ リリュクス ～";
        top: 110%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 18px;
        font-family: var(--font-mincho);
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.04em;
    }
    .mv .mv-txt1 {
        margin: 2.0em auto 0;
        width: 100%;
        color: #fff;
        font-size: 20px;
        font-weight: 500;
        text-align: center;
        line-height: calc( 30 / 20 );
        letter-spacing: 0.04em;
    }
    .mv .mv-txt2 {
        margin: 2.0em auto 0;
        width: 100%;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        text-align: left;
        line-height: calc( 30 / 20 );
        letter-spacing: 0.04em;
    }
    .mv .mv-news {
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 5.0vw 5.0vw;
        width: 100%;
        height: auto;
        background: rgba( 0, 0, 0, 0.19 );
    }
    .mv .mv-news .mv-news-wrap {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 1512px;
        height: 100%;
    }
    .mv .mv-news .head {
        margin: 0 0 0.5em;
        width: 100%;
        color: #fff;
        font-size: 5.2vw;
        font-weight: 400;
        text-align: left;
    }
    .mv .mv-news .mv-news-swiper {
        width: 100%;
        height: 15.0vw;
        overflow: hidden;
    }
    .mv .mv-news .swiper-slide {
        width: 100%;
        height: 15.0vw;
    }
    .mv .mv-news .date {
        width: 100%;
        color: #fff;
        font-size: 3.6vw;
        font-weight: 400;
        text-align: left;
    }
    .mv .mv-news .title {
        width: 100%;
        color: #fff;
        font-size: 4.2vw;
        font-weight: 400;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    main {
        margin: 0 auto;
        width: 100%;
    }

    #important {
        margin: 12.0vw auto 0;
        padding: 0;
        width: 100%;
        height: auto;
    }
    #important .important-wrap {
        margin: 0 auto;
        padding: 0;
        width: 90%;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    #important .important-wrap .important-txt {
        margin: 0;
        padding: 8.0vw 0;
        width: 100%;
    }
    #important .important-wrap .important-txt h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: left;
    }
    #important .important-wrap .important-txt h3 {
        margin: 5.0em 0 2.0em;
        color: var(--fg-color);
        font-size: 24px;
        text-align: left;
        line-height: calc( 48 / 24 );
    }
    #important .important-wrap .important-txt p {
        margin: 1.0em 0 0;
        color: var(--fg-color);
        font-size: 14px;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: left;
        line-height: calc( 32 / 16 );
        letter-spacing: 0.04em;
    }
    #important .important-wrap .important-txt .pic {
        margin: 8.0vw 0 0;
    }
    #important .important-wrap .important-pic {
        display: none;
        margin: 0;
        padding: 0;
        width: 50%;
        height: auto;
    }
    #important .important-wrap .important-pic .important-figure {
        position: sticky;
        top: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
    }
    #important .important-wrap .important-pic .important-figure figure {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        opacity: 0.0;
        transition: opacity 0.5s ease-out;
    }
    #important .important-wrap .important-pic .important-figure figure.alive {
        opacity: 1.0;
    }
    #important .important-wrap .important-pic .important-figure figure img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #important .important-wrap .important-pic .important-figure figure.pic1 img {
        object-position: right center;
    }
    #important .important-wrap .important-pic .important-figure figure.pic2 img {
        object-position: center;
    }
    #important .important-wrap .important-pic .important-figure figure.pic3 img {
        object-position: center;
    }

    #service {
        margin: 0 auto;
        padding: 12.0vw 0 24.0vw;
        width: 100%;
        height: auto;
        border-bottom: 1px solid #9b512e33;
        background: #f1e3dd;
    }
    #service::after {
        position: absolute;
        content: "Service";
        bottom: -0.03em;
        right: 0;
        color: rgba( 155, 81, 46, 0.2 );
        font-size: 20.0vw;
        font-family: var(--font-alphabet);
        line-height: 1.0;
        translate: 0 16%;
    }
    #service > h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: center;
    }
    #service > p {
        margin: 1.0em auto 0;
        width: 90%;
        color: var(--fg-color);
        font-size: 3.6vw;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: center;
        line-height: calc( 32 / 16 );
        letter-spacing: 0.04em;
    }
    #service .service-grid {
        margin: 8.0vw auto 0;
        padding: 0;
        width: 90%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8.0vw 0;
    }
    #service .service-grid > div {
        position: relative;
        margin: 0;
        padding: 0;
        width: 100%;
        border: 1px solid var(--color-theme);
    }
    #service .service-grid > div figure {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    #service .service-grid > div figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness( 0.6 );
    }
    #service .service-grid > div .service-box {
        position: relative;
        margin: 0;
        padding: 12.0vw 4.0vw;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }
    #service .service-grid > div h3 {
        margin: 0;
        color: #fff;
        font-size: 4.8vw;
        font-size: 32px;
        text-align: center;
        line-height: calc( 46 / 32 );
    }
    #service .service-grid > div .price {
        margin: 0.5em 0;
        color: #fff;
        font-size: 3.6vw;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        line-height: calc( 35 / 24 );
    }
    #service .service-grid > div .price .big {
        font-size: 4.0vw;
        font-size: 32px;
    }
    #service .service-grid > div .price .small {
        font-size: 3.2vw;
        font-size: 16px;
    }
    #service .service-grid > div p {
        margin: 0 auto;
        padding: 0 2.0em 1.0em;
        width: 85%;
        color: #fffc;
        font-size: 3.6vw;
        font-size: 14px;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: justify;
        line-height: calc( 29 / 16 );
    }

    #flow {
        margin: 0 auto;
        padding: 12.0vw 0 24.0vw;
        width: 100%;
        height: auto;
        border-bottom: 1px solid #9b512e33;
    }
    #flow::after {
        position: absolute;
        content: "Flow";
        bottom: -0.03em;
        left: 0;
        color: rgba( 155, 81, 46, 0.2 );
        font-size: 20.0vw;
        font-family: var(--font-alphabet);
        line-height: 1.0;
        translate: 0 16%;
    }
    #flow > h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: center;
    }
    #flow > p {
        margin: 1.0em 0 0;
        color: var(--fg-color);
        font-size: 3.6vw;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: center;
        line-height: calc( 32 / 16 );
        letter-spacing: 0.04em;
    }
    #flow .flow-grid {
        margin: 8.0vw auto 0;
        padding: 0;
        width: 90%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
        gap: 8.0vw 4.0vw;
    }
    #flow .flow-grid > div {
        margin: 0;
        padding: 0;
        width: 28%;
    }
    #flow .flow-grid > div figure {
        margin: 0 auto;
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    #flow .flow-grid > div figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 100%;
    }
    #flow .flow-grid > div h3 {
        margin: 0.8em auto 0;
        padding: 0.2em 0.4em;
        width: max-content;
        color: #fff;
        font-size: 3.2vw;
        font-family: var(--font-alphabet);
        text-align: center;
        line-height: 1.0;
        background: var(--color-theme);
    }
    #flow .flow-grid > div p {
        margin: 0.5em 0 0;
        padding: 0;
        color: var(--fg-color);
        font-size: 3.2vw;
        font-weight: 400;
        text-align: center;
        line-height: calc( 30 / 20 );
    }

    #case {
        margin: 0 auto;
        padding: 12.0vw 0;
        width: 100%;
        height: auto;
    }
    #case > h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: center;
    }
    #case > .case-grid {
        margin: 8.0vw auto 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat( 2, 1fr );
        gap: 0;
    }
    #case > .case-grid > a {
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    #case > .case-grid > a figure {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    #case > .case-grid > a figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease-out;
    }
    @media ( hover: hover ) {
        #case > .case-grid > a:hover figure img {
            opacity: 1.0;
            transform: scale( 1.2, 1.2 );
        }
    }
    #case > .case-btns {
        margin: 8.0vw auto 0;
        width: 80%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4.0vw 0;
    }
    #case > .case-btns .case-btn {
        margin: 0;
        padding: 1.0em 2.0em;
        font-size: 4.0vw;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        border: 1px solid var(--color-theme);
        border-radius: 4.0em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.5s ease-out;
    }
    #case > .case-btns .case-btn::after {
        content: "→";
    }
    #case > .case-btns .case-btn.case {
        color: var(--color-theme);
        background: #fff;
    }
    @media ( hover: hover ) {
        #case > .case-btns .case-btn.case:hover {
            color: #fff;
            background: var(--color-theme);
            opacity: 0.5;
        }
    }
    #case > .case-btns .case-btn.service {
        color: #fff;
        background: var(--color-theme);
    }

    #cta {
        margin: 0 auto;
        padding: 0 0 20.0vw;
        width: 100%;
        height: auto;
    }
    #cta .cta-pic {
        position: relative;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 375 / 500;
    }
    #cta .cta-pic figure {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    #cta .cta-pic figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale( 1.8, 1.8 ) translate( 0, -20% );
        filter: brightness( 0.5 );
    }
    #cta .cta-pic h2 {
        position: absolute;
        top: 35%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 20.0vw;
        font-family: var(--font-alphabet);
        font-weight: 400;
        text-align: center;
        line-height: 1.0;
    }
    #cta .cta-pic h2::after {
        position: absolute;
        content: "～ リリュクス ～";
        top: 110%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 4.0vw;
        font-family: var(--font-mincho);
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.04em;
    }
    #cta .cta-pic .txt {
        position: absolute;
        bottom: 70%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 4.0vw;
        font-weight: 500;
        text-align: center;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }
    #cta .cta-box {
        position: relative;
        margin: -35.0vw auto 0;
        padding: 40px 0;
        width: 90%;
        max-width: 880px;
        background: #f1e3dd;
        z-index: 1;
    }
    #cta .cta-box h3 {
        margin: 0;
        color: var(--color-theme);
        font-size: 4.0vw;
        font-weight: 400;
        text-align: center;
    }
    #cta .cta-box .cta-btns {
        margin: 40px auto 0;
        width: 90%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4.0vw 0;
    }
    #cta .cta-box .cta-btns .cta-btn {
        margin: 0;
        padding: 1.5em 2.0em;
        font-size: 4.0vw;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        border: 1px solid var(--color-theme);
        border-radius: 4.0em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.5s ease-out;
    }
    #cta .cta-box .cta-btns .cta-btn::after {
        content: "→";
    }
    #cta .cta-box .cta-btns .cta-btn.company {
        grid-row: 2 / 3;
        color: var(--color-theme);
        background: #f1e3dd;
    }
    @media ( hover: hover ) {
        #cta .cta-box .cta-btns .cta-btn.company:hover {
            color: #fff;
            background: var(--color-theme);
            opacity: 0.5;
        }
    }
    #cta .cta-box .cta-btns .cta-btn.contact {
        grid-row: 1 / 2;
        color: #fff;
        background: var(--color-theme);
    }

    #recruit {
        margin: 0 auto;
        padding: 16.0vw 0;
        width: 100%;
        background: var(--color-theme);
    }
    #recruit .recruit-wrap {
        margin: 0 auto;
        width: 90%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12.0vw 0;
    }
    #recruit .recruit-wrap > div {
        width: 100%;
    }
    #recruit .recruit-wrap > div h2 {
        color: #fff;
        font-size: 16.0vw;
        font-weight: 400;
        text-align: left;
        line-height: calc( 86 / 60 );
    }
    #recruit .recruit-wrap > div p {
        margin: 2.0em 0 0;
        color: #fff;
        font-size: 3.6vw;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: left;
        line-height: calc( 86 / 60 );
    }
    #recruit .recruit-wrap > div a {
        margin: 2.0em 0 0;
        padding: 1.0em 2.0em;
        width: 16.0em;
        color: #fff;
        font-size: 4.0vw;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        border: 1px solid #fff;
        border-radius: 4.0em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.5s ease-out;
    }
    #recruit .recruit-wrap > div a::after {
        content: "→";
    }
    @media ( hover: hover ) {
        #recruit .recruit-wrap > div a:hover {
            color: var(--color-theme);
            background: #fff;
            opacity: 0.5;
        }
    }
    #recruit .recruit-wrap > figure {
        width: 100%;
        height: auto;
        aspect-ratio: 303 / 220;
    }
    #recruit .recruit-wrap > figure img {
        width: 100%;
        height: 100%;
        object-position: right center;
        object-fit: cover;
        border-radius: 4.0vw;
    }

    .common-btn {
        margin: 8.0vw auto 0;
        padding: 2.0em 2.0em;
        width: 18.0em;
        height: auto;
        color: #fff;
        font-size: 4.0vw;
        font-weight: 400;
        line-height: 1.0;
        white-space: nowrap;
        background: var(--color-theme);
        border: 1px solid var(--color-theme);
        border-radius: 4.0em;
        transition: all 0.5s ease-out;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .common-btn::after {
        content: "→";
    }

}


/**
 * PC用設定
 */
@media ( min-width: 768.01px ) {

    header {
        height: 120px;
        transition: background 0.5s ease-out;
    }
    header.scroll {
        background: #fff;
    }
    header .header-wrap {
        margin: 0 auto;
        padding: 0 20px;
        width: 100%;
        max-width: 1920px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    header .header-logo {
        margin: 0;
        padding: 0;
        width: max-content;
        height: 100%;
        color: #fff;
        font-size: 40px;
        font-family: var(--font-alphabet);
        font-weight: 400;
        text-align: center;
        line-height: 1.0;
        display: flex;
        align-items: center;
        transition: color 0.5s ease-out;
    }
    header .header-logo span {
        font-size: 16px;
    }
    header.scroll .header-logo {
        color: var(--fg-color);
    }
    header .header-menu {
        margin: 0;
        padding: 0;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        list-style: none;
    }
    header .header-menu > li {
        height: 100%;
        list-style: none;
    }
    header .header-menu > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0 1.0em;
        color: #fff;
        font-size: calc( 15 * min( 100vw, 1280px ) / 1280 );
        font-family: var(--font-gothic);
        font-weight: 600;
        transition: color 0.5s ease-out, opacity 0.5s ease-out;
    }
    header .header-menu > li.header-contact {
        margin-left: calc( 20 * min( 100vw, 1280px ) / 1280 );
    }
    header .header-menu > li.header-contact > a {
        margin: 30px 0 30px auto;
        padding: 0 2.0em;
        width: max-content;
        height: 60px;
        color: #fff;
        font-size: 16px;
        font-family: var(--font-gothic);
        font-weight: 400;
        line-height: 1.0;
        display: grid;
        place-items: center;
        border: 1px solid #fff;
        border-radius: 4.0em;
        transition: all 0.5s ease-out;
    }
    header.scroll .header-menu > li.header-contact > a {
        color: var(--fg-color);
        background: #fff;
        border: 1px solid var(--fg-color);
    }
    @media ( hover: hover ) {
        header .header-menu > li.header-contact > a:hover {
            color: var(--fg-color);
            background: #fff;
            border: 1px solid var(--fg-color);
        }
        header.scroll .header-menu > li.header-contact > a:hover {
        }
    }
    header.scroll .header-menu > li > a {
        color: var(--fg-color);
    }
    header .header-menu > li.has-submenu {
        position: relative;
    }
    header .header-menu > li.has-submenu > .header-submenu {
        position: absolute;
        top: 100%;
        right: 50%;
        width: max-content;
        margin: 0;
        padding: 0;
        background: #fff;
        box-shadow: 0 4px 4px #0003;
        list-style: none;
        opacity: 0.0;
        transform-origin: top center;
        transform: translateX( 50% ) scale( 1.0, 0.0 );
        transition: opacity 0.3s ease-out, transform 0.5s ease-out;
    }
    header .header-menu > li.has-submenu > .header-submenu > li {
        width: 100%;
        list-style: none;
    }
    header .header-menu > li.has-submenu > .header-submenu > li > a {
        display: block;
        margin: 0;
        padding: 1.0em 2.0em;
        width: 100%;
        color: var(--fg-color);
        font-size: max( 14px, calc( 18 * min( 100vw, 1920px ) / 1920 ) );
        font-weight: 400;
        text-align: left;
        transition: color 0.5s ease-out, background 0.5s ease-out;
    }
    @media ( hover: hover ) {
        header .header-menu > li.has-submenu:hover > .header-submenu {
            opacity: 1.0;
            transform: translateX( 50% ) scale( 1.0, 1.0 );
            transition: opacity 0.3s ease-out, transform 0.5s ease-out;
        }
        header .header-menu > li.has-submenu > .header-submenu > li > a:hover {
            opacity: 1.0;
            color: #fff;
            background: var(--fg-color);
        }
    }
    header .header-menu > li.has-megamenu {
        position: relative;
    }
    header .header-menu > li.has-megamenu > .header-megamenu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        box-shadow: 0 4px 4px #0003;
        list-style: none;
        opacity: 0.0;
        transform-origin: top center;
        transform: scale( 1.0, 0.0 );
        transition: opacity 0.3s ease-out, transform 0.5s ease-out;
    }
    header .header-menu > li.has-megamenu > .header-megamenu > li {
        width: 30%;
        list-style: none;
    }
    header .header-menu > li.has-megamenu > .header-megamenu > li > a {
        display: block;
        margin: 0;
        padding: 1.0em 2.0em;
        width: 100%;
        color: var(--fg-color);
        font-size: max( 14px, calc( 18 * min( 100vw, 1920px ) / 1920 ) );
        font-weight: 400;
        text-align: center;
        transition: color 0.5s ease-out, background 0.5s ease-out;
    }
    @media ( hover: hover ) {
        header .header-menu > li.has-megamenu:hover > .header-megamenu {
            opacity: 1.0;
            transform: scale( 1.0, 1.0 );
            transition: opacity 0.3s ease-out, transform 0.5s ease-out;
        }
        header .header-menu > li.has-megamenu > .header-megamenu > li > a:hover {
            opacity: 1.0;
            color: #fff;
            background: var(--fg-color);
        }
    }
    header .header-sp-menu {
        display: none;
    }


    .mv {
        margin: 0 auto;
        width: 100%;
    }
    .mv .mv-bg {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1512 / 982;
    }
    .mv .mv-bg img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness( 0.6 );
    }
    .mv .mv-box {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 90%;
        max-width: 640px;
        translate: -50% -50%;
    }
    .mv .mv-box h1 {
        position: relative;
        margin: 0 auto;
        width: 100%;
        color: #fff;
        font-size: 64px;
        font-family: var(--font-alphabet);
        font-weight: 400;
        text-align: center;
        line-height: 1.0;
    }
    .mv h1::after {
        position: absolute;
        content: "～ リリュクス ～";
        top: 110%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 18px;
        font-family: var(--font-mincho);
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.04em;
    }
    .mv .mv-txt1 {
        margin: 2.0em auto 0;
        width: 100%;
        color: #fff;
        font-size: 24px;
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.04em;
    }
    .mv .mv-txt2 {
        margin: 2.0em auto 0;
        width: 100%;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        text-align: left;
        line-height: 1.5;
        letter-spacing: 0.04em;
    }
    .mv .mv-news {
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 0 20px;
        width: 100%;
        height: 84px;
        background: rgba( 0, 0, 0, 0.19 );
    }
    .mv .mv-news .mv-news-wrap {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 1512px;
        height: 100%;
        display: flex;
        align-items: center;
    }
    .mv .mv-news .head {
        width: 160px;
        color: #fff;
        font-size: 24px;
        font-weight: 400;
        text-align: center;
    }
    .mv .mv-news .mv-news-swiper {
        width: calc( 100% - 160px );
        height: 84px;
        overflow: hidden;
    }
    .mv .mv-news .swiper-slide {
        display: flex;
        align-items: center;
    }
    .mv .mv-news .date {
        width: 120px;
        color: #fff;
        font-size: 16px;
        font-weight: 400;
        text-align: center;
    }
    .mv .mv-news .title {
        width: calc( 100% - 120px );
        color: #fff;
        font-size: 16px;
        font-weight: 400;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    main {
        margin: 0 auto;
        width: 100%;
    }

    #important {
        margin: 120px auto 0;
        padding: 0;
        width: 100%;
        height: auto;
    }
    #important .important-wrap {
        margin: 0 auto;
        padding: 0;
        width: 90%;
        max-width: 1360px;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
    }
    #important .important-wrap .important-txt {
        margin: 0;
        padding: 120px 0;
        width: 45%;
    }
    #important .important-wrap .important-txt h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: left;
    }
    #important .important-wrap .important-txt h3 {
        margin: 120px 0 60px;
        color: var(--fg-color);
        font-size: 24px;
        text-align: left;
        line-height: calc( 48 / 24 );
    }
    #important .important-wrap .important-txt p {
        margin: 1.0em 0 0;
        color: var(--fg-color);
        font-size: 16px;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: left;
        line-height: calc( 32 / 16 );
        letter-spacing: 0.04em;
    }
    #important .important-wrap .important-pic {
        margin: 0;
        padding: 0;
        width: 50%;
        height: auto;
    }
    #important .important-wrap .important-pic .important-figure {
        position: sticky;
        top: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
    }
    #important .important-wrap .important-pic .important-figure figure {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        opacity: 0.0;
        transition: opacity 0.5s ease-out;
    }
    #important .important-wrap .important-pic .important-figure figure.alive {
        opacity: 1.0;
    }
    #important .important-wrap .important-pic .important-figure figure img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #important .important-wrap .important-pic .important-figure figure.pic1 img {
        object-position: right center;
    }
    #important .important-wrap .important-pic .important-figure figure.pic2 img {
        object-position: center;
    }
    #important .important-wrap .important-pic .important-figure figure.pic3 img {
        object-position: center;
    }

    #service {
        margin: 0 auto;
        padding: 160px 0 270px;
        width: 100%;
        height: auto;
        border-bottom: 1px solid #9b512e33;
        background: #f1e3dd;
    }
    #service::after {
        position: absolute;
        content: "Service";
        bottom: -0.03em;
        right: calc( 50% - min( 50vw, 756px ) );
        right: 0;
        color: rgba( 155, 81, 46, 0.2 );
        font-size: 172px;
        font-family: var(--font-alphabet);
        line-height: 1.0;
        translate: 0 16%;
    }
    #service > h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: center;
    }
    #service > p {
        margin: 1.0em 0 0;
        color: var(--fg-color);
        font-size: 16px;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: center;
        line-height: calc( 32 / 16 );
        letter-spacing: 0.04em;
    }
    #service .service-grid {
        margin: 80px auto 0;
        padding: 0;
        width: 90%;
        max-width: 1200px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 calc( 40 * min( 90vw, 1200px ) / 1200 );
    }
    #service .service-grid > div {
        position: relative;
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 580 / 507;
        border: 1px solid var(--color-theme);
        border: 0;
    }
    #service .service-grid > div figure {
        width: 100%;
        height: auto;
        aspect-ratio: 580 / 507;
    }
    #service .service-grid > div figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness( 0.6 );
    }
    #service .service-grid > div .service-box {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: calc( 16 * min( 90vw, 1200px ) / 1200 );
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #service .service-grid > div h3 {
        margin: 0.8em 0 0;
        color: #fff;
        font-size: calc( 32 * min( 90vw, 1200px ) / 1200 );
        text-align: center;
        line-height: calc( 46 / 32 );
    }
    #service .service-grid > div .price {
        margin: 0.5em 0;
        color: #fff;
        font-size: calc( 24 * min( 90vw, 1200px ) / 1200 );
        font-weight: 700;
        text-align: center;
        line-height: calc( 35 / 24 );
    }
    #service .service-grid > div .price .big {
        font-size: calc( 32 * min( 90vw, 1200px ) / 1200 );
    }
    #service .service-grid > div .price .small {
        font-size: calc( 16 * min( 90vw, 1200px ) / 1200 );
    }
    #service .service-grid > div p {
        margin: 0;
        padding: 0 2.0em 1.0em;
        color: #fffc;
        font-size: calc( 16 * min( 90vw, 1200px ) / 1200 );
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: justify;
        line-height: calc( 29 / 16 );
    }

    #flow {
        margin: 0 auto;
        padding: 160px 0 270px;
        width: 100%;
        height: auto;
        border-bottom: 1px solid #9b512e33;
    }
    #flow::after {
        position: absolute;
        content: "Flow";
        bottom: -0.03em;
        left: calc( 50% - min( 50vw, 756px ) );
        left: 0;
        color: rgba( 155, 81, 46, 0.2 );
        font-size: 172px;
        font-family: var(--font-alphabet);
        line-height: 1.0;
        translate: 0 16%;
    }
    #flow > h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: center;
    }
    #flow > p {
        margin: 1.0em 0 0;
        color: var(--fg-color);
        font-size: 16px;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: center;
        line-height: calc( 32 / 16 );
        letter-spacing: 0.04em;
    }
    #flow .flow-grid {
        margin: 80px auto 0;
        padding: 0;
        width: 90%;
        max-width: 1200px;
        display: grid;
        grid-template-columns: repeat( 5, 1fr );
        gap: 0 calc( 10 * min( 90vw, 1200px ) / 1200 );
    }
    #flow .flow-grid > div {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    #flow .flow-grid > div figure {
        margin: 0 auto;
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    #flow .flow-grid > div figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 100%;
    }
    #flow .flow-grid > div h3 {
        margin: 0.8em auto 0;
        padding: 0.2em 0.4em;
        width: max-content;
        color: #fff;
        font-size: calc( 24 * min( 90vw, 1200px ) / 1200 );
        font-family: var(--font-alphabet);
        text-align: center;
        line-height: 1.0;
        background: var(--color-theme);
    }
    #flow .flow-grid > div p {
        margin: 0.5em 0 0;
        padding: 0;
        color: var(--fg-color);
        font-size: 20px;
        font-weight: 400;
        text-align: center;
        line-height: calc( 30 / 20 );
    }

    #case {
        margin: 0 auto;
        padding: 160px 0;
        width: 100%;
        height: auto;
    }
    #case > h2 {
        margin: 0;
        color: var(--fg-color);
        font-size: 40px;
        font-weight: 400;
        text-align: center;
    }
    #case > .case-grid {
        margin: 80px auto 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat( 3, 1fr );
        gap: 0;
    }
    #case > .case-grid > a {
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    #case > .case-grid > a figure {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    #case > .case-grid > a figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease-out;
    }
    @media ( hover: hover ) {
        #case > .case-grid > a:hover figure img {
            opacity: 1.0;
            transform: scale( 1.2, 1.2 );
        }
    }
    #case > .case-btns {
        margin: 80px auto 0;
        width: 80%;
        max-width: 880px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 calc( 20 * min( 80vw, 880px ) / 880 );
    }
    #case > .case-btns .case-btn {
        margin: 0;
        padding: 1.0em 2.0em;
        font-size: 20px;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        border: 1px solid var(--color-theme);
        border-radius: 4.0em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.5s ease-out;
    }
    #case > .case-btns .case-btn::after {
        content: "→";
    }
    #case > .case-btns .case-btn.case {
        color: var(--color-theme);
        background: #fff;
    }
    @media ( hover: hover ) {
        #case > .case-btns .case-btn.case:hover {
            color: #fff;
            background: var(--color-theme);
            opacity: 0.5;
        }
    }
    #case > .case-btns .case-btn.service {
        color: #fff;
        background: var(--color-theme);
    }

    #cta {
        margin: 0 auto;
        padding: 0 0 120px;
        width: 100%;
        height: auto;
    }
    #cta .cta-pic {
        position: relative;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1512 / 478;
    }
    #cta .cta-pic figure {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: 100%;
    }
    #cta .cta-pic figure img {
        width: 100%;
        height: 100%;
        object-position: center 90%;
        object-fit: cover;
        filter: brightness( 0.5 );
    }
    #cta .cta-pic h2 {
        position: absolute;
        top: 35%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 80px;
        font-family: var(--font-alphabet);
        font-weight: 400;
        text-align: center;
        line-height: 1.0;
    }
    #cta .cta-pic h2::after {
        position: absolute;
        content: "～ リリュクス ～";
        top: 110%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 18px;
        font-family: var(--font-mincho);
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.04em;
    }
    #cta .cta-pic .txt {
        position: absolute;
        bottom: 70%;
        left: 0;
        width: 100%;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.04em;
    }
    #cta .cta-box {
        position: relative;
        margin: -115px auto 0;
        padding: 40px 0;
        width: 90%;
        max-width: 880px;
        background: #f1e3dd;
        z-index: 1;
    }
    #cta .cta-box h3 {
        margin: 0;
        color: var(--color-theme);
        font-size: 16px;
        font-weight: 400;
        text-align: center;
    }
    #cta .cta-box .cta-btns {
        margin: 40px auto 0;
        width: 80%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 calc( 20 * min( 90vw, 880px ) / 880 );
    }
    #cta .cta-box .cta-btns .cta-btn {
        margin: 0;
        padding: 1.0em 2.0em;
        font-size: 20px;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        border: 1px solid var(--color-theme);
        border-radius: 4.0em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.5s ease-out;
    }
    #cta .cta-box .cta-btns .cta-btn::after {
        content: "→";
    }
    #cta .cta-box .cta-btns .cta-btn.company {
        color: var(--color-theme);
        background: #f1e3dd;
    }
    @media ( hover: hover ) {
        #cta .cta-box .cta-btns .cta-btn.company:hover {
            color: #fff;
            background: var(--color-theme);
            opacity: 0.5;
        }
    }
    #cta .cta-box .cta-btns .cta-btn.contact {
        color: #fff;
        background: var(--color-theme);
    }

    #recruit {
        margin: 0 auto;
        padding: 120px 0;
        width: 100%;
        background: var(--color-theme);
    }
    #recruit .recruit-wrap {
        margin: 0 auto;
        width: 90%;
        max-width: 1200px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    #recruit .recruit-wrap > div {
        width: 50%;
    }
    #recruit .recruit-wrap > div h2 {
        color: #fff;
        font-size: 60px;
        font-weight: 400;
        text-align: left;
        line-height: calc( 86 / 60 );
    }
    #recruit .recruit-wrap > div p {
        margin: 3.0em 0 0;
        color: #fff;
        font-size: 16px;
        font-family: var(--font-gothic);
        font-weight: 400;
        text-align: left;
        line-height: calc( 86 / 60 );
    }
    #recruit .recruit-wrap > div a {
        margin: 4.0em 0 0;
        padding: 1.0em 2.0em;
        width: 16.0em;
        color: #fff;
        font-size: 20px;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        border: 1px solid #fff;
        border-radius: 4.0em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.5s ease-out;
    }
    #recruit .recruit-wrap > div a::after {
        content: "→";
    }
    @media ( hover: hover ) {
        #recruit .recruit-wrap > div a:hover {
            color: var(--color-theme);
            background: #fff;
            opacity: 0.5;
        }
    }
    #recruit .recruit-wrap > figure {
        width: calc( 100% / 3 );
        height: auto;
        aspect-ratio: 400 / 500;
    }
    #recruit .recruit-wrap > figure img {
        width: 100%;
        height: 100%;
        object-position: right center;
        object-fit: cover;
        border-radius: calc( 20 * min( 90vw, 1200px ) / 1200 );
    }

    .common-btn {
        margin: 60px auto 0;
        padding: 1.0em 2.0em;
        width: 17.0em;
        height: auto;
        color: #fff;
        font-size: 20px;
        font-weight: 400;
        line-height: 1.0;
        white-space: nowrap;
        background: var(--color-theme);
        border: 1px solid var(--color-theme);
        border-radius: 4.0em;
        transition: all 0.5s ease-out;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .common-btn::after {
        content: "→";
    }

    footer .footer-wrap {
        padding: 160px 0 60px;
    }

}


@media ( max-width: 1100px ) {
    header .header-menu li:not(.header-contact) {
        display: none;
    }
}
