@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap);

html {
    font-size: 62.5%;
}

body {
    font-size: 13px;
    font-size: 1.3rem;
}

@media (max-width: 640px) {
    body:has(#mansion_renovation) #page {
        min-width: 320px !important;
    }
}

body:has(#mansion_renovation) .sidelink {
    display: none;
}

main {
    -webkit-text-size-adjust: none;
}

.mr {
    font-family: 'Noto Sans JP', sans-serif;
}

#mansion_renovation * {
    box-sizing: border-box;
}

#mansion_renovation section {
    display: block;
}

#mansion_renovation h1,
#mansion_renovation h2,
#mansion_renovation h3,
#mansion_renovation h4,
#mansion_renovation h5 {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

#mansion_renovation p {
    line-height: 2;
    margin: 0;
    padding: 0;
}

#mansion_renovation img,
#mansion_renovation picture {
    border: none;
    display: block;
    vertical-align: bottom;
    width: 100%;
    height: auto;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

#mansion_renovation source {
    display: none;
}

#mansion_renovation a {
    color: #000;
    text-decoration: none;
    outline: none;
}

.inlineMobile {
    display: inline !important;
}

@media only screen and (min-width: 641px) {
    .inlineMobile {
        display: none !important;
    }
}

#mansion_renovation .headlineLv1 {
    color: #fff;
    width: max-content;
    font-family: 'Noto Serif JP', serif;
}

#mansion_renovation .headlineLv1 span {
    border-bottom: 1px solid #fff;
    display: block;
    font-size: 4.9479166667vw;
    line-height: 1.26;
    text-align: center;
    padding-bottom: 1.8229166667vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .headlineLv1 span {
        font-size: 9.6vw;
        line-height: 1.3;
        text-align: left;
        padding-bottom: 4vw;
    }
}

#mansion_renovation .headlineLv1 small {
    display: block;
    font-size: 2.3958333333vw;
    text-align: center;
    margin-top: 1.3020833333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .headlineLv1 small {
        font-size: 5.3333333333vw;
        margin-top: 2.6666666667vw;
    }
}

#mansion_renovation .headlineLv2 span {
    font-size: 2.1875vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .headlineLv2 span {
        font-size: 6.9333333333vw;
    }
}

#mansion_renovation .mrSideLink {
    position: fixed;
    top: 22.3958333333vw;
    right: 0;
    z-index: 100;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrSideLink {
        display: none;
    }
}

#mansion_renovation .mrSideLink_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6458333333vw;
    height: 11.25vw;
}

#mansion_renovation .mrSideLink_button.is-catalog {
    background-color: #ce996f;
    transition: background-color 0.3s;
}

#mansion_renovation .mrSideLink_button.is-catalog:hover {
    background-color: #dfb798;
}

#mansion_renovation .mrSideLink_button.is-reform {
    background-color: #a4916b;
    margin-top: 0.5208333333vw;
    transition: background-color 0.3s;
}

#mansion_renovation .mrSideLink_button.is-reform:hover {
    background-color: #c4b79c;
}

#mansion_renovation .mrSideLink_button span {
    font-size: 1.0416666667vw;
    color: #fff;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

/* =========================
  Hero
========================= */

#mansion_renovation .mrHero {
    position: relative;
    pointer-events: none;
}

#mansion_renovation .mrHero_inner {
    position: relative;
    overflow: hidden;
}

/* 白いカバーを無効化 */
#mansion_renovation .mrHero_inner::before {
    display: none;
}

/* ヒーロー画像エリア：高さは画像比率に合わせて可変 */
#mansion_renovation .mrHero_bg {
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin-right: 5.2083333333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrHero_bg {
        margin-right: 0;
    }
}

#mansion_renovation .mrHero_bg_item,
#mansion_renovation .mrHero_bg_item picture {
    display: block;
    width: 100%;
}

#mansion_renovation .mrHero_bg_item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: initial;
    transform: none;
}

/* 見出し */
#mansion_renovation .mrHero_headline {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* JSなしでも見出しを表示 */
#mansion_renovation .mrHero_headline span,
#mansion_renovation .mrHero_headline small {
    opacity: 1;
    transform: none;
}

#mansion_renovation .mrHero_bg_item {
    position: relative;
    overflow: hidden;
}

#mansion_renovation .mrHero_video {
    display: block;
    width: 100%;
    height: auto;
}

#mansion_renovation .mrHero_bg_item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url('../img/dot.webp');
    background-repeat: repeat;
    background-position: center;
    background-size: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* =========================
  About us
========================= */

#mansion_renovation .mrAboutus {
    margin-top: 6.25vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus {
        margin-top: 22.4vw;
    }
}

#mansion_renovation .mrAboutus_inner {
    background-color: #f5f5f5;
    padding-top: 5.2083333333vw;
    padding-bottom: 5.2083333333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_inner {
        padding-top: 17.0666666667vw;
        padding-bottom: 17.0666666667vw;
    }
}

#mansion_renovation .mrAboutus_content {
    width: 60.4166666667vw;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_content {
        width: 100%;
    }
}

#mansion_renovation .mrAboutus_title {
    color: #7f8284;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
}

#mansion_renovation .mrAboutus_lead {
    font-size: 1.875vw;
    text-align: center;
    margin-top: 2.3958333333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_lead {
        font-size: 8vw;
        margin-top: 13.3333333333vw;
    }
}

#mansion_renovation .mrAboutus_items {
    display: flex;
    justify-content: space-between;
    margin-top: 2.6041666667vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_items {
        display: block;
        margin-top: 13.3333333333vw;
    }
}

#mansion_renovation .mrAboutus_item {
    text-align: center;
    width: 18.75vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item {
        width: 87.2vw;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10.6666666667vw;
    }

    #mansion_renovation .mrAboutus_item:first-of-type {
        margin-top: 0;
    }
}

#mansion_renovation .mrAboutus_item_image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.8125vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item_image {
        height: 24.8vw;
    }
}

#mansion_renovation .mrAboutus_item:nth-of-type(1) .mrAboutus_item_image > div {
    width: 6.1458333333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item:nth-of-type(1) .mrAboutus_item_image > div {
        width: 31.4666666667vw;
    }
}

#mansion_renovation .mrAboutus_item:nth-of-type(2) .mrAboutus_item_image > div {
    width: 8.125vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item:nth-of-type(2) .mrAboutus_item_image > div {
        width: 41.6vw;
    }
}

#mansion_renovation .mrAboutus_item:nth-of-type(3) .mrAboutus_item_image > div {
    width: 3.3854166667vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item:nth-of-type(3) .mrAboutus_item_image > div {
        width: 17.3333333333vw;
    }
}

#mansion_renovation .mrAboutus_item_title {
    font-size: 1.0416666667vw;
    margin-top: 1.3020833333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item_title {
        font-size: 4.8vw;
        margin-top: 5.8666666667vw;
    }
}

#mansion_renovation .mrAboutus_item_text {
    font-size: 0.8333333333vw;
    margin-top: 0.9375vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item_text {
        font-size: 3.7333333333vw;
        margin-top: 4.2666666667vw;
    }
}

#mansion_renovation .mrAboutus_item_note {
    font-size: 0.625vw;
    margin-top: 0.78125vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_item_note {
        font-size: 3.2vw;
        margin-top: 4vw;
    }
}

#mansion_renovation .mrAboutus_cta {
    background-color: #333;
    padding-top: 5.2083333333vw;
    padding-bottom: 5.2083333333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_cta {
        padding-top: 17.0666666667vw;
        padding-bottom: 17.0666666667vw;
    }
}

#mansion_renovation .mrAboutus_cta_title {
    font-size: 1.6666666667vw;
    line-height: 1.5;
    color: #fff;
    text-align: center;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_cta_title {
        font-size: 6.4vw;
    }
}

#mansion_renovation .mrAboutus_cta_links {
    display: flex;
    justify-content: center;
    margin-top: 2.6041666667vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_cta_links {
        display: block;
        margin-top: 12.8vw;
    }
}

#mansion_renovation .mrAboutus_cta_link {
    display: block;
    color: #fff;
    text-align: center;
    width: 26.0416666667vw;
    padding-top: 2.0833333333vw;
    padding-bottom: 2.0833333333vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_cta_link {
        width: 92vw;
        margin-left: auto;
        margin-right: auto;
        padding-top: 4.8vw;
        padding-bottom: 6.6666666667vw;
    }
}

#mansion_renovation .mrAboutus_cta_link.is-catalog {
    background-color: #ce996f;
    transition: background-color 0.3s;
}

#mansion_renovation .mrAboutus_cta_link.is-catalog:hover {
    background-color: #dfb798;
}

#mansion_renovation .mrAboutus_cta_link.is-reform {
    background-color: #a4916b;
    margin-left: 1.6666666667vw;
    transition: background-color 0.3s;
}

#mansion_renovation .mrAboutus_cta_link.is-reform:hover {
    background-color: #c4b79c;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_cta_link.is-reform {
        margin-top: 10.6666666667vw;
        margin-left: auto;
    }
}

#mansion_renovation .mrAboutus_cta_link small {
    display: block;
    font-size: 1.0416666667vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_cta_link small {
        font-size: 4.8vw;
    }
}

#mansion_renovation .mrAboutus_cta_link span {
    display: block;
    font-size: 1.875vw;
    margin-top: 0.78125vw;
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_cta_link span {
        font-size: 7.4666666667vw;
        margin-top: 1.0666666667vw;
    }
}

#mansion_renovation .mrAboutus_title,
#mansion_renovation .mrAboutus_lead {
    opacity: 0;
    transition:
        opacity 2.2s cubic-bezier(0.19, 1, 0.22, 1),
        transform 2.2s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(1.5625vw);
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .mrAboutus_title,
    #mansion_renovation .mrAboutus_lead {
        transform: translateY(4vw);
    }
}

#mansion_renovation .mrAboutus_title.inview,
#mansion_renovation .mrAboutus_lead.inview {
    opacity: 1;
    transform: translateY(0);
}

#mansion_renovation .mrAboutus_lead {
    transition-delay: 0.1s;
}

/* =========================
  〇〇〇〇
========================= */

#panorama-iframe {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    width: 100%;
    height: 100%;
    border: none;
}

#mansion_renovation .vmIntro {
    margin-top: 5.20833vw;
}

#mansion_renovation h2.vmIntro_title {
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 2.1875vw;
}
#mansion_renovation .vmIntro_text {
    text-align: center;
    font-size: 1.35417vw;
    margin-top: 1.25vw;
}

#mansion_renovation .vmIntro {
    margin-top: 5.20833vw;
}

#mansion_renovation .panorama_link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30vw;
    height: 4.1666666667vw;

    margin: 1.25vw auto 0;

    background-color: rgba(0, 0, 0, 1);
    font-size: 1.35417vw;
    color: #fff;
}

#mansion_renovation .panorama_link span {
    position: relative;
}

#mansion_renovation .panorama_link span::after {
    content: '＞';
    position: absolute;
    top: 50%;
    right: -2vw;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.35417vw;
}

#mansion_renovation .howToUse_image {
    display: block;
    width: fit-content;
    width: 70vw;
    height: auto;
    margin: 3.25vw auto 5vw auto;
    background-color: transparent;
}

#mansion_renovation .howToUse_image img {
    width: auto;
    height: auto;
    max-width: 100%;
    transform: translateX(5%);
}

@media only screen and (max-width: 640px) {
    #mansion_renovation .panorama_link {
        width: 80vw;
        height: 13.3333333333vw;
        font-size: 4.2666666667vw;
        margin-top: 5.3333333333vw;
        margin-bottom: 10vw;
    }
    #mansion_renovation h2.vmIntro_title {
        font-size: 5.5vw;
    }
    #mansion_renovation .vmIntro_text {
        font-size: 3.5vw;
        margin-top: 5.25vw;
    }
    #mansion_renovation .howToUse_image {
        width: 90vw;
        margin: 7vw auto 10vw auto;
    }
    #mansion_renovation .howToUse_image img {
        transform: translateX(0%);
    }
}

.panoramaModal_close {
    position: fixed;
    top: 0px;
    right: -5px;
    width: 100px;
    height: 100px;
    border: 0;
    border-radius: 50%;
    /* background: #000; */
    background: none;
    cursor: pointer;
    z-index: 105;
    display: none;
}
@media only screen and (max-width: 640px) {
    .panoramaModal_close {
        top: -17px;
        right: -15px;
    }
}

/* ×の線 */
.panoramaModal_close::before,
.panoramaModal_close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 2px;
    background: #fff;
    transform-origin: center;
}

.panoramaModal_close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.panoramaModal_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
