/* main */
.main-wrp {
    width: 100%;
    padding: min(2em, 5vw) 0;
    position: relative;
}

.main-wrp .mid-style-logo {
    position: absolute;
    top: min(4em, 10vw);
    left: min(2em, 4vw);
    z-index: 3;
    width: 31%;
}

.main-wrp .mid-style-logo .tagline {
    display: block;
    font-size: clamp(14px, 2.5vw, 33px);
    margin-bottom: .75em;
    letter-spacing: .05em;
}

@media screen and (max-width:767px) {
    .main-wrp .mid-style-logo {
        width: 45%;
    }
}

.main-wrp .mv {
    padding-left: 16%;
}

@media screen and (max-width:767px) {
    .main-wrp .mv {
        padding-left: 8%;
    }
}

.main-wrp .mv-slider {
    max-height: 100vh;
    overflow: hidden;
}

.main-wrp .mv-img {
    width: 100%;
    aspect-ratio: 1.5/1;
    overflow: hidden;
}

.main-wrp .mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width:767px) {
    .main-wrp .mv-img {
        aspect-ratio: 1/1;
    }

    .main-wrp .mv-img img {
        object-position: bottom left;
    }
}

/* introduction */
.intro .text-box {
    width: 50%;
}

@media screen and (max-width:767px) {
    .intro .text-box {
        width: 100%;
        margin-bottom: 3em;
    }
}

.intro .img-box {
    width: 45%;
    padding: 1em 0;
}

@media screen and (max-width:767px) {
    .intro .img-box {
        width: 100%;
    }
}

.intro .intro-title {
    font-size: min(2.2em, 6vw);
    line-height: 1.6;
    margin-bottom: min(1em, 4vw);
    font-weight: 400;
    letter-spacing: .025em;
    font-feature-settings: "palt";
}

.intro .mid-style-logo {
    width: 16em;
    margin-bottom: 2em;
}

.intro .intro-lead {
    font-size: min(1.1em, 4vw);
    line-height: 2.4;
    margin-bottom: 1em;
}

@media screen and (max-width:767px) {
    .intro .intro-lead {
        line-height: 2;
    }

    .intro .intro-lead br {
        display: none;
    }
}

.intro-img-box {
    width: 40%;
}

@media screen and (max-width:767px) {
    .intro-img-box {
        width: 80%;
        margin: 0 auto 2em;
    }
}

.intro-slide-img {
    width: 100%;
    overflow: hidden;
}

.intro-slide-img-box {
    width: 100%;
    overflow: hidden;
}

.intro-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .intro .mov-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.intro-img2 {
    padding: min(5em, 5vw) 0;
}

.wrapping-morphing-movie {
    width: 100%;
    margin: 4em auto;
}

.wrapping-morphing-movie .sub-title.en {
    font-size: min(1.4em, 4vw);
}

.wrapping-morphing-movie video {
    width: 100%;
}

/* about modal movie */
/* .about-movie-wrp {
    max-height: 100vh;
    padding: 1em;
}

.about-movie-wrp video {
    aspect-ratio: 9/16;
    height: 90vh;
    width: auto;
    margin: 0 auto;
} */


/* contents */
.title {
    font-size: min(5em, 8vw);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1em;
}

.sub-title {
    font-size: min(2.2em, 5.5vw);
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.sub-title.en {
    font-size: min(1.8em, 6vw);
    line-height: 1.4;
}

@media screen and (max-width:767px) {
    .sub-title.en {
        margin-bottom: .75em;
    }
}

.sub-title .sml {
    font-size: .6em;
    display: block;
}

@media screen and (max-width:767px) {
    .sub-title .sml {
        font-size: 4vw;
    }
}

.title-dash {
    display: block;
    width: fit-content;
    font-size: min(1.4em, 4vw);
    position: relative;
    margin: 0 auto 2em;
}

.title-dash::before,
.title-dash::after {
    content: '';
    width: 1.5em;
    height: 0;
    border-top: 1px solid;
    position: absolute;
    top: 50%;
}

.title-dash::before {
    left: -2.5em;
}

.title-dash::after {
    right: -2.5em;
}

.lead {
    font-size: min(1.1em, 3.5vw);
    line-height: 2.2;
    margin-bottom: 1em;
}

@media screen and (max-width:767px) {
    .lead {
        line-height: 1.8;
    }

    .lead br {
        display: none;
    }
}

/* about */

.about .flex-center {
    gap: 8%;
}

.about .text-box.about-lead-box {
    width: 58%;
}

.about .img-box.about-img-box {
    width: 33%;
    position: relative;
}

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

    .about .text-box.about-lead-box {
        width: 100%;
    }

    .about .img-box.about-img-box {
        width: 90%;
        margin: 0 auto 2em;
    }
}

.about-slide-img-wrp {
    position: sticky;
    top: 80px;
}

.free-layout {
    width: 100%;
    margin: min(5em, 6vw) auto;
    text-align: center;
}

.free-layout-box-wrp {
    width: 45%;
}

.free-layout-arrow {
    width: 10%;
    position: relative;
}

.free-layout-arrow .arrow-right {
    font-size: 1.2em;
    top: calc(50% - 2em);
    left: 50%;
    right: unset;
    transform: translate(-50%, -50%);
}

.free-layout-box {
    width: 100%;
}

/* @media screen and (max-width:767px) {
    .free-layout-box {
        aspect-ratio: 1/1;
    }
} */

.free-layout-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.free-layout .caption {
    display: block;
    width: 100%;
    padding: 1em;
    font-size: min(1.1em, 3.5vw);
    font-family: var(--sans-serif);
    margin: .5em 0;
    text-align: center;
}

.free-layout .slick-prev {
    width: 30px;
    height: 30px;
    left: 10px;
    top: 100%;
    transform: translate(-50%, -100%);
}

.free-layout .slick-next {
    width: 30px;
    height: 30px;
    right: 10px;
    top: 100%;
    transform: translate(50%, -100%);
}


/* facade */
.facade {
    background-color: var(--bggray);
}

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

    .facade .text-center {
        text-align: left;
    }
}

.facade .img-box {
    width: 49%;
}

@media screen and (max-width:767px) {
    .facade .img-box {
        width: 100%;
        margin-bottom: 1em;
    }

}

.facade-slider-wrp {
    padding: min(3em, 6vw) min(6em, 3vw);
    background-color: #fff;
}

/* slide */
.slide-title {
    display: block;
    width: fit-content;
    font-size: min(1.3em, 4vw);
    font-weight: 400;
    font-family: var(--sans-serif);
    /* text-align: center; */
    margin-bottom: 1em;
    border-bottom: 1px solid;
    padding-bottom: .35em;
}

.slide-lead {
    font-size: min(1em, 3vw);
    font-family: var(--sans-serif);
    line-height: 1.6;
}

.facade-slider {
    max-width: 960px;
    margin: 0 auto;
}

/* .slide-img {
    padding: 0 2em;
} */

/* plan */
.plan .img-box {
    width: 55%;
}

@media screen and (max-width:767px) {
    .plan .img-box {
        width: 100%;
    }

    .plan .text-center {
        text-align: left;
    }

}

.plan .text-box {
    width: 40%;
    padding: 1em;
}

@media screen and (max-width:767px) {
    .plan .text-box {
        width: 100%;
        padding: 1em;
    }
}

.plan .number {
    display: block;
    font-size: min(4.5em, 10vw);
    width: fit-content;
    position: relative;
    margin-bottom: .5em;
}

.plan .number::before,
.plan .number::after {
    content: '';
    width: 100%;
    height: 0;
    border-bottom: 1px solid;
    position: absolute;
    bottom: 0;
    left: 0;
}

@media screen and (max-width:767px) {
    .plan .number::before {
        bottom: -1px;
    }
}

.plan .number::after {
    bottom: 5px;
}

@media screen and (max-width:767px) {
    .plan .number::after {
        bottom: -5px;
    }
}

.plan .sub-title {
    font-size: min(1.7em, 4.5vw);
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.plan .modal-contents .sub-title {
    font-size: min(1.5em, 4vw);
}

.plan .lead:not(.title-lead) {
    line-height: 1.6;
}

/* plan modla floor */
.plan-wrp {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    max-height: 90vh;
    overflow: auto;
}

.plan-wrp-inner {
    width: 100%;
    padding: min(5em, 6vw) min(3em, 4vw) min(2em, 4vw);
}

.plan-title-box {
    width: 30%;
}

.plan-floor-box {
    width: 65%;
}

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

    .plan-title-box,
    .plan-floor-box {
        width: 100%;
    }
}

.plan .plan-title-box .sub-title.en {
    margin-bottom: .75em;
}

.plan .plan-title-box .width {
    font-size: min(2em, 10vw);
    margin-bottom: .25em;
}

.plan .plan-title-box .width .unit {
    font-size: .6em;
}

.plan .plan-title-box .floor {
    font-size: min(.9em, 3vw);
    font-family: var(--sans-serif);
    margin-bottom: .75em;
}

.plan .plan-title-box .lead {
    font-size: min(.9em, 3vw);
    line-height: 1.6;
    font-family: var(--sans-serif);
}

.plan-floor-guide {
    width: 100%;
    margin: 2em auto 0;
}

.plan-floor-guide .guid-box {
    width: 22%;
}

@media screen and (max-width:767px) {
    .plan-floor-guide .guid-box {
        width: 48%;
    }
}

.plan-floor-guide .guid-img {
    margin-bottom: 1em;
}

.plan-floor-guide .lead {
    font-size: min(.8em, 3vw);
    line-height: 1.6;
    font-family: var(--sans-serif);
}


/* life */
.life {
    background-color: var(--bggray);
}

.profile {
    max-width: 660px;
    margin: min(3em, 5vw) auto;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 1.5em 0;
}

.profile-thumb {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    overflow: hidden;
}

.profile-text {
    width: calc(100% - 120px);
}

@media screen and (max-width:767px) {
    .profile-text {
        width: calc(100% - 100px);
    }
}

.profile-title {
    margin-bottom: .5em;
}

.profile-lead {
    font-size: min(.9em, 3vw);
    line-height: 1.6;
    font-family: var(--sans-serif);
}

/* life tab */
.tab-nav {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: .3em .5em;
    border-bottom: 1px solid;
}

.tab-nav-inner {
    width: 100%;
    max-width: 1200px;
    gap: 1em;
    margin: 0 auto;
    overflow: hidden;
}

.tab-nav .tab {
    width: 47%;
    font-size: min(1em, 3.5vw);
    line-height: 1.5;
    text-align: center;
    border: 1px solid;
    border-bottom: none;
    padding: 1em .75em .5em;
    color: #222;
    text-decoration: none;
    opacity: .4;
    transform: translateY(.3em);
    transition: all .3s;
}

.tab-nav .tab:hover,
.tab-nav .tab.on {
    opacity: 1;
    transform: translateY(0);
}

.tab-nav .tab .label {
    display: inline-block;
    transform: translateY(-.2em);
    transition: all .3s;
}

.tab-nav .tab.on .label {
    transform: translateY(0);
}

/* tab nav footer */
.tab-nav-footer.tab-nav {
    border-bottom: none;
    padding-bottom: 4em;
}

.tab-nav-footer.tab-nav .tab {
    opacity: 1;
    border-bottom: 1px solid;
    transform: translateY(0);
    width: 84%;
    max-width: 400px;
}

.tab-nav-footer.tab-nav .tab:hover {
    color: var(--blue);
}


.tab-nav-footer.tab-nav .tab.on {
    display: none;
}

/* tab contents */
.tab-contents {
    display: none;
}

.tab-contents.on {
    display: block;
}

.tab-contents .inner {
    position: relative;
}

@media screen and (max-width:767px) {
    .tab-contents .inner {
        padding: min(6em, 8vw) 2em;
    }
}

.tab-contents .week-title {
    position: absolute;
    width: 40%;
    top: 3em;
    left: -2em;
    z-index: 3;
}

@media screen and (max-width:1200px) {
    .tab-contents .week-title {
        left: .5em;
    }

    @media screen and (max-width:767px) {
        .tab-contents .week-title {
            width: 70%;
            top: 1em;
        }
    }
}

.tab-contents .img-box {
    width: calc(60% - 1em);
    padding: 1em 4em 5em;
    margin-top: 1em;
}

.tab-contents .border-top {
    border-top: 1px solid;
}

@media screen and (max-width:767px) {
    .tab-contents .border-top {
        border-top: none;
    }
}

.tab-contents .ptop {
    padding-top: 5em;
}

@media screen and (max-width:767px) {
    .tab-contents .ptop {
        padding-top: 0;
    }
}


.tab-contents .pbtm0 {
    padding-bottom: 0;
}

.tab-contents .text-box {
    width: 40%;
    border-left: 1px solid;
    padding: 1em 4em 5em;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.time-table:last-child .text-box {
    padding: 0 4em 0;

}

.tab-contents .time-table.first-table {
    padding-top: 2em;
}

@media screen and (max-width:767px) {
    .tab-contents .img-box {
        margin-top: 0;
        width: 100%;
        padding: 1em 1em 1em 2em;
        border-left: 1px solid;
    }

    .time-table:last-child .text-box,
    .tab-contents .text-box {
        width: 100%;
        padding: 2em 1em 2em 2em;
    }

    .tab-contents .time-table.first-table {
        padding-top: 3.5em;
    }
}

.tab-contents .text-box .clock {
    width: 2em;
    height: 2em;
    position: absolute;
    top: 2.5em;
    left: -1em;
}

.tab-contents .text-box .time {
    font-size: min(3.5em, 12vw);
    margin: .5em 0 min(.5em, 5vw);
}

.tab-contents .text-box .time .unit {
    display: block;
    font-size: .3em;
    font-family: var(--sans-serif);
}

.tab-contents .text-box .sub-title {
    font-family: var(--sans-serif);
    font-weight: 400;
    font-size: min(1.35em, 4vw);
    margin-bottom: 1em;
}

.tab-contents .text-box .lead {
    font-size: min(1em, 3.3vw);
    line-height: 1.6;
    margin-bottom: 2em;
}

.tab-contents .img-v {
    width: 100%;
    max-width: 510px;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.tab-contents .img-v img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-contents .img-sq {
    width: 100%;
    max-width: 220px;
    margin-top: auto;
}

@media screen and (max-width:767px) {
    .tab-contents .img-sq {
        max-width: 100%;
    }
}

.gallery .slick-dots {
    margin-top: 1em;
}

/* more style */

.more-family-style .title {
    font-size: min(3em, 5vw);
}

@media screen and (max-width:767px) {
    .more-family-style .lead {
        text-align: left;
    }
}

.style-contents {
    margin: 5em 0;
}

.style-contents.mbtm-0 {
    margin-bottom: 0;
}

.style-box {
    width: 25%;
    position: relative;
}

.style-box-inner {
    position: sticky;
    top: 5em;
    padding-bottom: 8em;
}

@media screen and (max-width:767px) {
    .style-box-inner {
        display: contents;
    }

    .style-box {
        width: 100%;
        /* display: flex;
        gap: 1.5em; */
        margin-bottom: 1em;
    }
}

.style-box .family-thumb {
    width: 100%;
    margin-bottom: 1.5em;
    transform: translateX(-10%);
}

@media screen and (max-width:767px) {
    .style-box .family-thumb {
        width: 60%;
        margin: 0 auto;
        transform: translateX(0);
        text-align: center;
    }

    .style-box .text-box {
        /* width: calc(100% - 90px - 1.5em); */
        width: 100%;
    }
}

.style-box .style-type {
    font-size: min(1.2em, 4vw);
    line-height: 1.6;
    font-family: var(--sans-serif);
    margin-bottom: 1em;
    color: var(--blue);
}

.style-box .style-title {
    font-size: min(1.2em, 4.5vw);
    line-height: 1.6;
    margin-bottom: 1em;
}

@media screen and (max-width:767px) {
    .style-box .style-title {
        text-align: center;
    }
}

.style-box .width {
    font-size: min(3em, 10vw);
    margin-bottom: .25em;
}

@media screen and (max-width:767px) {
    .style-box .width {
        text-align: center;
    }
}

.style-box .width .unit {
    display: inline-block;
    font-size: .4em;
    padding: 0 .3em;
}

.style-box .floor {
    font-size: min(.95em, 4vw);
    font-family: var(--sans-serif);
}

@media screen and (max-width:767px) {
    .style-box .floor {
        text-align: center;
        border-top: 1px solid;
        border-bottom: 1px solid;
        padding: .5em 0;
        margin-bottom: 1.5em;
    }
}

.style-contents .style-contents-box {
    width: 74%;
}

@media screen and (max-width:767px) {
    .style-contents .style-contents-box {
        width: 100%;
    }
}

.style-contents .media-text {
    margin: min(4em, 5vw) 0;
}

.style-contents .media-text.mbtm-0 {
    margin-bottom: 0;
}

.style-contents .media-text .img-box {
    width: 55%;
}

@media screen and (max-width:767px) {
    .style-contents .media-text .img-box {
        width: 80%;
        margin: 1em auto;
    }
}

.style-contents .media-text .text-box {
    width: 40%;
}

@media screen and (max-width:767px) {
    .style-contents .media-text .text-box {
        width: 80%;
        margin: 1em auto;
    }
}

.style-contents .media-text .media-title {
    font-size: min(1.2em, 4vw);
    line-height: 1.6;
    margin-bottom: 1em;
}

.style-contents .media-text .media-lead {
    font-size: min(.95em, 3vw);
    line-height: 1.8;
    text-align: justify;
}

/* info banner */
.info {
    background-color: #fbfbfb;
}

.info.bgwhite {
    background-color: #fff;
}

.info p.present-lead {
    font-size: min(1.1em, 3vw);
}

/* more info */
.more-info {
    position: relative;
}

.more-info-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.more-info-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.more-info .flex-center {
    gap: 3%;
    margin-bottom: 2em;
}

.more-info .sub-title {
    color: #fff;
}

.more-info .box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(120px, 28vw);
    height: min(120px, 28vw);
    font-size: min(1em, 3.3vw);
    line-height: 1.5;
    font-weight: 600;
    border-radius: 100%;
    border: 3px solid;
    background-color: #fff;
    font-family: var(--sans-serif);
}

/* .more-info-btn {
    width: 100%;
    max-width: 600px;
    padding: 1em 4em;
    font-size: min(1.2em, 4vw);
    background-color: var(--orange);
} */

.vr .img-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .2);
    z-index: 2;
    width: 100%;
    height: 100%;
}

.vr360 {
    display: block;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* event tab */
.event-tab-nav {
    margin-bottom: 2em;
}

.event-info .tab-contents {
    max-width: 910px;
    margin: 0 auto 3em;
}

/* sticky button */
.sticky-btn {
    position: sticky;
    bottom: 0;
    background-color: rgba(255, 255, 255, .96);
    padding: min(1em, 3vw) 1em;
    text-align: center;
    z-index: 100;
    gap: .5em;
}

.sticky-btn .btn {
    width: 400px;
    padding: 1em 3em;
    font-weight: bold;
    border-radius: 4px;
    transition: all .3s;
    font-family: "Noto Serif JP", serif;
    letter-spacing: .025em;
    font-feature-settings: "palt";
}

@media screen and (max-width:767px) {
    .sticky-btn .btn {
        font-size: min(1.1em, 3vw);
        width: 48%;
        padding: .75em .25em;
        line-height: 1.4;
    }
}

.sticky-btn .btn.more-info-btn {
    background-color: var(--orange);
}

.sticky-btn .btn.event-info-btn {
    background-color: var(--green);
}

.sticky-btn .btn:hover {
    background-color: #222;
}

@media screen and (max-width:767px) {
    .sticky-btn .btn .arrow-right {
        display: inline-block;
        margin: 0 -1.5em 0 .5em;
        vertical-align: middle;
        position: static;
    }
}