html {
    overflow-x: clip;
}
body {
  background: #D8D8D8;
}
.hamburger_logo_wrap {
    display: block;
    background-color: #847066;
    -webkit-mask-image: url('../img/logo_is_color.svg');
    mask-image: url('../img/logo_is_color.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    img {
        opacity: 0;
    }
}
.logo_wrap {
    svg {
        height: auto;
        aspect-ratio: 80 / 90;
        scale: var(--logo-scale, .57);
    }
}
#g-nav {
    background: #847066;
    .nav_ham_sub_title {
        color: rgba(255, 255, 255, 0.7);
    }
}
.footer {
    position: relative;
    z-index: 1;
}
.fixed_area {
    pointer-events: none;
    &::before {
      display: block;
      position: absolute;
      content: '';
      inset: 0;
      z-index: -1;
      background: url(../images/renovation/bg_container.jpg) no-repeat;
      background-size: cover;
      opacity: var(--fixed-area-bg-opacity, 0);
    }
}

.c-cross-link {
    background: rgba(101, 98, 70, .95)
}
/* ============================================================
   PAGE TITLE
   ============================================================ */
.page-title {
    color: white;
    margin-top: 28rem;
    margin-left: 9.7rem;
}

.page-title__en {
    font-size: 6.4rem;
    letter-spacing: .001em;
    font-family: "Lora", serif;
    font-weight: 600;
}

.page-title__ja {
    position: relative;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: .02em;
    display: inline-flex;
    padding-inline: .25em;
    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 40%;
        right: 0;
        bottom: -.15em;
        background: #847066;
        z-index: -1;
        border-radius: 5px;
    }
}

.hero {
    position: fixed;
    z-index: -1;
    top: 0;
    background: url(/wp-content/themes/RS_HOME_2023/img/bg_copany.png) no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100vh;
    + .main_wrapper {
        .container {
            position: relative;
            z-index: 99;
            background: #E8E2DE;
            margin-top: calc(100vh + 8rem);
            width: 100%;
            display: flex;
        }
    }
}
.container__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    flex: 1;
    .page-title {
        position: sticky;
        top: 28rem;
    }
}
.container__body {
    width: calc( 100% - 58rem);
    padding-bottom: calc( 8rem + 107.6rem );
}
body {
    position: relative;
}
.footer {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 100;
    height: 113.6rem;
    body.fixed & {
        opacity: 0;
    }
}
.hero__catch {
    position: absolute;
    top: 50%;
    right: 9rem;
    writing-mode: vertical-rl;
    font-size: 5.2rem;
    color: white;
    font-weight: 400;
    font-family: "Shippori Mincho B1", serif;
    transform: translateY(-50%);
    white-space: nowrap;
    letter-spacing: .15em;
    z-index: 100;
    opacity: var(--hero-catch-opacity, 1);
}

.container {
    &::before {
        content: "";
        position: sticky;
        top: 0;
        left: -50vw;
        width: 50vw;
        height: 100vh;
        background: url(../images/renovation/bg_container.jpg) no-repeat;
        /*background-size: auto 100vh;*/
        /*background-attachment: fixed;*/
        background-size: cover;
    }
}

/* ----------------------------------------
   セクション共通
---------------------------------------- */
.section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section__num {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 400;
}
.section__label {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 500;
    color: #847066;
    margin-top: .67em;
    margin-bottom: .25em;
}
.section__title {
    font-family: "Zen Old Mincho", serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .02em;
}

/* ----------------------------------------
   01 CONCEPT
---------------------------------------- */
.concept {
    position: relative;
    padding-top: 13rem;
    padding-bottom: 18rem;
}
.concept__body {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 9.2rem;
    gap: 6.2rem;
}
.concept__catch {
    font-family: "Shippori Mincho B1",serif;
    font-weight: 500;
    font-size: 3.3rem;
    letter-spacing: .045em;
    line-height: 1.818182;
}
.concept__text {
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-size: 1.9rem;
    letter-spacing: .045em;
    line-height: 2.210526;
    p + p {
        margin-top: 2.210526em;
    }
}
.concept__image {
    position: absolute;
    overflow: hidden;
    img {
        vertical-align: middle;
    }
}
.concept__image--01 {
    top: -4rem;
    right: 0;
    border-radius: 2rem 0 0 2rem;
}
.concept__image--02 {
    top: 13.7rem;
    left: 6rem;
    border-radius: 2rem;
}

/* ----------------------------------------
   02 FEATURE
---------------------------------------- */
.feature {
    position: relative;
    background: #847066;
    margin-top: 16rem;
    padding-top: 25rem;
    padding-inline: 6rem;
    padding-bottom: 16rem;
    margin-bottom: 8rem;
    color: white;
    .section__label {
        color: white;
    }
}
.feature__lead {
    margin-top: 5rem;
    margin-bottom: 3rem;
    font-family: "Zen Old Mincho", serif;
    font-size: 2.3rem;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.391304;
    text-align: center;
    i {
        font-size: 1.304348em;
    }
}
.feature__slider {
    position: relative;
    border: 1px dotted currentColor;
    border-radius: 2rem;
    padding: 5.7rem 7.8rem 6.7rem;
}

/* ドットナビゲーション */
.feature__dots {
    position: absolute;
    bottom: -3rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature__dots li button {
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    border: 1px solid currentColor;
    color: currentColor;
    background: transparent;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s;
}

.feature__dots li.slick-active button {
    background: currentColor;
}
.feature__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature__item-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    &::after {
        content: "";
        position: absolute;
        bottom: -2rem;
        width: 1.5rem;
        height: 2px;
        background: currentColor;
    }
}
.feature__label {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .025em;
}
.feature__num {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 400;
}
.feature__item-title {
    font-family: 'Zen Old Mincho', serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: .025em;
    margin-bottom: 3rem;
}
.feature__item-text {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.9em;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.578947;
    margin-bottom: 3rem;
}
.feature__item-link {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: currentColor;
    border: 1px solid;
    height: 4rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18rem;
}

.feature__image {
    position: absolute;
    overflow: hidden;
    img {
        vertical-align: middle;
    }
}
.feature__image--01 {
    top: -16rem;
    right: 0;
    border-radius: 2rem 0 0 2rem;
    width: min( 563px, 56.3rem );
}
.feature__image--02 {
    bottom: -8.3rem;
    left: 6rem;
    border-radius: 2rem;
}

/* ----------------------------------------
   03 WORKS
---------------------------------------- */
.works {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    padding-inline: 6rem;
}
.works__list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem 2.4rem;
    margin-top: 11.5rem;
    margin-bottom: 6.5rem;
}
.works__item {
    display: block;
    color: currentColor;
}
.works__thumb {
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: 2rem;
    img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
        vertical-align: middle;
    }
}
.works__category {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.3rem;
    border: 1px solid;
    height: 2.5rem;
    border-radius: 1.25rem;
    min-width: 14rem;
    padding-inline: 1em;
    margin-bottom: 1em;
}
.works__title {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.75;
}
.works__more {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: currentColor;
    border: 1px solid;
    height: 6rem;
    border-radius: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 3.6rem;
    width: 32.5rem;
    padding-right: 2.1rem;
}

/* ----------------------------------------
   04 PICKUP
---------------------------------------- */
.pickup {
  position: relative;
  background-color: white;
  margin-top: 14rem;
  padding-top: 13rem;
  padding-bottom: 17rem;
  border-radius: 0 0 8rem 0;
}
.pickup__slide {
  position: relative;
}
.pickup__slide-control {
  position: absolute;
  top: 9.5rem;
  left: 0;
  right: 0;
  padding-inline: 2.65rem;
  display: flex;
  justify-content: space-between;
  button {
    position: relative;
    background: none;
    padding: 0;
    &::before {
      content: '';
      position: absolute;
      inset: -1rem;
    }
    img {
      vertical-align: middle;
    }
  }
}
.pickup__list {
  margin-top: 5rem;
  display: flex;
  gap: 2.4rem;
  position: relative;
  padding-inline: 6rem;
  width: 100%;
}
.pickup__item {
  width: 27.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: currentColor;
}
.pickup__thumb {
  width: 100%;
  img {
    width: 100%;
    height: auto;
    aspect-ratio: 278 / 209;
    object-fit: cover;
  }
}
.pickup__category {
  display: inline-flex;
  border: 1px solid;
  padding: .01em .75em .05em;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 1.8rem;
}
.pickup__date {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-block: 1em;
}
.pickup__title {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5789;
  margin-bottom: 1em;
}
.pickup__area {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pickup__image {
  position: absolute;
  border-radius: 2rem;
  overflow: hidden;
  img {
    vertical-align: middle;
  }
}
.pickup__image--01 {
  top: 0;
  right: 6rem;
  transform: translateY(-50%);
}
.pickup__image--02 {
  bottom: 0;
  left: 6rem;
  transform: translateY(50%);
}

/* ----------------------------------------
   05 FLOW
---------------------------------------- */
.flow {
    padding-top: 4rem;
    margin-top: 8.3rem;
    padding-inline: 7.95rem;
    padding-bottom: 12rem;
}
.flow__list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 10rem;
}
.flow__item {
    background: white;
    border-radius: 1rem;
    padding: 2rem 2rem;
    transition: background 0.3s;
    &[open] {
        background: rgba(132, 112, 102, .6);
        color: white;
    }
}
.flow__summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    &::-webkit-details-marker {
        display: none;
    }
    &::before {
        position: absolute;
        content: '';
        inset: -2rem;
    }
    &::after {
        content: '';
        flex-shrink: 0;
        width: 2rem;
        height: 2rem;
        background:
            linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
            linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
        transition: background 0.3s ease;
    }
}

details[open] .flow__summary::after {
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.flow__content {
    overflow: hidden;
    max-height: 0;
}

details[open] .flow__content {
    max-height: 30rem;
}
.flow__num {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 400;
    width: 4rem;
}
.flow__item-title {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-right: auto;
}
.flow__content {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: .02em;
    line-height: 1.875;
    margin-left: 4rem;
    margin-right: 4rem;
    margin-top: 2.4rem;
    padding-top: 2.4rem;
    border-top: 1px dashed;
}

@keyframes scrollDown {
    to {
        bottom: 0;
    }
}

.hero__scroll {
    display: none;
}

.c-sp-only {
    display: none;
}

@media screen and (max-width: 699.98px) {

    .c-cross-link {
        display: inline-block;
        z-index: 1001;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 0 0 calc(var(--vw) * 10) calc(var(--vw) * 10);
    }

    .c-sp-only {
        display: block;
    }
    .c-pc-only {
        display: none;
    }

    .hero__scroll {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        position: absolute;
        top: 120px;
        right: 28px;
        z-index: 99;
    }
    .hero__scroll p {
        font-family: "Lora", serif;
        font-size: 1.8rem;
        color: #fff;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
    }
    .hero__scroll span {
        position: relative;
        display: block;
        width: 1px;
        height: 400px;
        background: #fff;
    }
    .hero__scroll span::before {
        content: "";
        position: absolute;
        bottom: calc(100% - 22px);
        left: -1px;
        width: 3px;
        height: 22px;
        background: #fff;
        animation: scrollDown 2s infinite;
    }

    .header {
        top: 0;
    }
    .hamburger,
    .header_sp_reservation {
        background-color: #847066;
    }
    .header_sp_reservation02 {
        background-color: #fff;
    }

    .logo_wrap {
        svg {
            width: calc(var(--vw) * 37);
            height: auto;
            aspect-ratio: 80 / 90;
            scale: 1!important;
            path {
                fill: currentColor !important;
            }
        }
    }

    /* --------------------------------------------------------
       PAGE TITLE
    -------------------------------------------------------- */
    .fixed_area {
        position: fixed;
        /*top: calc( 100svh - 180px );*/
        z-index: 1;
        &::before {
          display: none;
        }
    }
    .page-title {
        margin-top: calc( 100svh - 185px );
        margin-left: calc(var(--vw) * 37);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem
    }

    .page-title__en {
        font-size: calc(var(--vw) * 37);
    }

    .page-title__ja {
        font-size: calc(var(--vw) * 14);
        &::before {
            content: "";
            position: absolute;
            left: 0;
            top: .1em;
            right: 0;
            bottom: -.05em;
            background: #847066;
            z-index: -1;
            border-radius: 5px;
        }
    }

    /* --------------------------------------------------------
       HERO
    -------------------------------------------------------- */
    .hero {
        + .main_wrapper {
            .container {
                z-index: 10;
                display: block;
                padding-bottom: 14vw;
            }
        }
    }
    .hero__catch {
        font-size: calc(var(--vw) * 38);
        right: auto;
        left: calc(var(--vw) * 28);
        top: calc(var(--vw) * 100);
        transform: translateY(0);
    }
    .container__bg {
        display: none;
    }
    .container__body {
        display: contents;
    }

    /* --------------------------------------------------------
       セクション共通
    -------------------------------------------------------- */
    .section__head {
        gap: calc(var(--vw) * 0);
        margin-bottom: calc(var(--vw) * 0);
    }

    .section__num {
        font-size: calc(var(--vw) * 15);
    }

    .section__label {
        font-size: calc(var(--vw) * 30);
    }

    .section__title {
        font-size: calc(var(--vw) * 15);
    }

    /* --------------------------------------------------------
       01 CONCEPT
    -------------------------------------------------------- */
    .concept {
        padding-inline: calc(var(--vw) * 25);
        padding-top: calc(var(--vw) * 78);
        padding-bottom: calc(var(--vw) * 80);
        .section__head {
            align-items: flex-start;
        }
    }

    .concept__catch {
        font-size: calc(var(--vw) * 25);
        text-align: left;
    }

    .concept__text {
        font-size: calc(var(--vw) * 16);
        line-height: 1.875;
        text-align: left;
    }

    .concept__image--01 {
        top: calc(var(--vw) * -30);
        width: calc(var(--vw) * 126);
        img {
            width: 100%;
        }
    }

    .concept__image--02 {
        display: none;
    }

    /* --------------------------------------------------------
       02 FEATURE
    -------------------------------------------------------- */
    .feature {
        margin-top: calc(var(--vw) * 100);
        padding-top: calc(var(--vw) * 178);
        padding-inline: calc(var(--vw) * 25);
        padding-bottom: calc(var(--vw) * 80);
        margin-bottom: calc(var(--vw) * 80);
    }

    .feature__slider {
        padding: calc(var(--vw) * 45) calc(var(--vw) * 30) calc(var(--vw) * 50);
    }

    .feature__lead {
        font-size: calc(var(--vw) * 20);
        margin-inline: -5vw;
    }

    .feature__item-head {
        gap: calc(var(--vw) * 0);
    }

    .feature__label {
        font-size: calc(var(--vw) * 12);
    }

    .feature__num {
        font-size: calc(var(--vw) * 30);
    }

    .feature__item-title {
        font-size: calc(var(--vw) * 20);
        text-align: center;
    }

    .feature__item-text {
        font-size: calc(var(--vw) * 16);
    }

    .feature__item-link {
        font-size: calc(var(--vw) * 16);
        width: calc(var(--vw) * 180);
        height: calc(var(--vw) * 40);
    }

    .feature__image--01 {
        top: 0;
        transform: translateY(-50%);
        width: calc(var(--vw) * 356);
        img {
            width: 100%;
        }
    }

    .feature__image--02 {
        display: none;
    }

    /* --------------------------------------------------------
       03 WORKS
    -------------------------------------------------------- */
    .works {
        padding-top: calc(var(--vw) * 0);
        padding-inline: calc(var(--vw) * 25);
    }

    .works__list {
        margin-block: calc(var(--vw) * 57);
        gap: calc(var(--vw) * 32) calc(var(--vw) * 15);
    }

    .works__category {
        font-size: calc(var(--vw) * 13);
    }

    .works__title {
        font-size: calc(var(--vw) * 14);
    }

    .works__more {
        font-size: calc(var(--vw) * 15);
        width: 100%;
        height: calc(var(--vw) * 60);
    }

    /* --------------------------------------------------------
       04 PICKUP
    -------------------------------------------------------- */
    .pickup {
      padding-top: calc(var(--vw) * 70);
      padding-bottom: calc(var(--vw) * 95);
    }
    .pickup__list {
      padding-inline: calc(var(--vw) * 25);
      gap: calc(var(--vw) * 14);
    }
    .pickup__slide-control {
      margin-top: calc(var(--vw) * 40);
      position: relative;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: calc(var(--vw) * 17);
      button {
        padding: 0;
        width: calc(var(--vw) * 68);
        aspect-ratio: 1;
        border: 1px solid;
        border-radius: 50%;
      }
    }
    .pickup__item {
      width: calc(var(--vw) * 156);
    }
    .pickup__category {
      margin-top: calc(var(--vw) * 16);
      font-size: calc(var(--vw) * 11);
    }
    .pickup__date {
      font-size: calc(var(--vw) * 14);
      line-height: 1.4286;
    }
    .pickup__title {
      font-size: calc(var(--vw) * 14);
    }
    .pickup__area {
      border-radius: calc(var(--vw) * 20);
      font-size: calc(var(--vw) * 12);
    }
    .pickup__image {
      transform: none;
      img {
        width: 100%;
        height: auto;
      }
    }
    .pickup__image--01 {
      right: calc(var(--vw) * 25);
      width: calc(var(--vw) * 96);
      top: calc(var(--vw) * -35);
    }
    .pickup__image--02 {
      left: calc(var(--vw) * 25);
      width: calc(var(--vw) * 144);
      bottom: calc(var(--vw) * -60);
    }

    /* --------------------------------------------------------
       05 FLOW
    -------------------------------------------------------- */
    .flow {
        padding-inline: calc(var(--vw) * 25);
        padding-bottom: calc(var(--vw) * 78);
    }

    .flow__list {
        margin-top: calc(var(--vw) * 61);
    }

    .flow__item {
        padding: 0;
    }

    .flow__summary {
        padding-block: calc(var(--vw) * 0);
        padding: calc(var(--vw) * 20) calc(var(--vw) * 20);
    }

    .flow__num {
        font-size: calc(var(--vw) * 15);
        width: 2em;
    }

    .flow__item-title {
        font-size: calc(var(--vw) * 19);
    }

    .flow__content {
        font-size: calc(var(--vw) * 16);
        padding: calc(var(--vw) * 24) calc(var(--vw) * 50);
        margin: 0;
    }

    .footer {
        position: relative;
        z-index: 10;
        height: auto;
        margin-top: -14vw;
    }

}
