html[lang="ja-JP"] .body-text{
    font-weight: 400;
}

.kv-fade {
    opacity: 0;
    transform: scale(1.3);
}

.otgs-development-site-front-end {
    display: none;
}

.wb-footer-contact a{
    color: inherit;
}

html.scrolled .wb_header_scroll_reveal {
    transform: none;
}

.wb_header_scroll_reveal .header-nav-language .wb_lanaguage-option{
    color: #9C8E6B;
}
.wb_header_scroll_reveal .header-nav-language .wb_language-list_divider-2 {
    background-color: #9C8E6B;
}
.tab-block.w--current:after{
    content: "";
    position: absolute;
    background-color: var(--hana-gold);
    width: 60px;
    height: 4px;
    bottom: 0;
}
.wb_section.full-height.floorplan-scope {
    height: auto;
    flex: 1;
    display: flex;
    overflow: hidden;
}
.tabs-menu hr {
    margin: 0;
    height: 40px;
    width: 3px;
    padding: 0;
    border: none;
    background-color: var(--hana-gold);
}
.mobile-menu-contact-wrapper a {
    color: inherit;
}
.w-input:focus, .w-select:focus {
    border-color: inherit;
    outline: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
  }

.number-style {
    font-family: var(--big-heading);
}
.virtual-tour-button-wrapper {
    margin-right: 20px;
}
.virtual-tour-button-wrapper a{
    background: transparent;
    display: block;
    width: 40px;
    height: 40px;
}
.virtual-tour-button-wrapper a img{
    width: 100%;
    height: 100%;
    display: block;
}
.wb_lanaguage-option.wf_current {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wb_language-list.side-menu-language {
    display: none;
}
@media screen and (max-width: 767px) {
    .virtual-tour-button-wrapper {
        margin-right: 0;
    }
    .wb_language-list.side-menu-language {
        position: absolute;
        z-index: 1000;
        color: #000;
        top: 30px;
        right: 20px;
        display: flex;
    }
}

.font-color-black {
    color: #000;
}
.color-black {
    background-color: #000;
}

html .nice-select:after {
    border-color: #000;
}
html .phone-area-field select {
    position: absolute;
}
html .nice-select.select-field {
    background-color: inherit;
    border: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 0;
    width: 100%;
}
html .nice-select .current {
    overflow: hidden;
}
html .nice-select .nice-select-dropdown {
    background-color: inherit;
    border-radius: 0;
    transform: none;
    transition: all .5s ease, opacity .5s ease;
    height: 0;
}
html .nice-select .list {
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;
    max-height: 164px;
    overflow-y: auto;
    border-radius: 0;
    display: block;
}
html .nice-select .option {
    font-size: 1.4rem;
    line-height: 1.5;
    padding: 10px 20px;
}
.form-field-wrap.overflow{
    overflow: visible;
}
html .nice-select .option:hover {
    background-color: #000;
    color: #fff;
}
html .nice-select .option.focus, html .nice-select .option.selected.focus {
    background-color: inherit;
    color: #000;
}
html .nice-select .option.disabled {
    color: #000;
    pointer-events: none;
}
html .floorplan-select-wrapper .nice-select.select-field {
    background-color: var(--hana-gold);
    font-family: var(--big-heading);
    color: var(--white);
    letter-spacing: .2em;
    text-transform: uppercase;
    min-width: 220px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 40px;
    font-size: 1.3rem;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
html .nice-select.open .nice-select-dropdown {
    height: 212px;
    overflow: hidden;
}
/* Size the open floor-plan list to its options (was a fixed 164px, which left an empty gold area
   under short lists); longer lists stop at 164px and scroll. */
html .floorplan-select-wrapper .nice-select.open .nice-select-dropdown {
    height: auto;
}
html .floorplan-select-wrapper .nice-select .list {
    max-height: 164px;
    overflow-y: auto;
}
html .floorplan-select-wrapper .nice-select .nice-select-dropdown {
    margin-top: 0;
    width: 100%;
}
html .floorplan-select-wrapper .nice-select .option {
    letter-spacing: .2em;
    text-align: center;
}
html .floorplan-select-wrapper .nice-select:after {
    display: none;
}
html .nice-select .nice-select-search {
    background-color: inherit;
    border: none;
}
.row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}
.row .wb_button-solid-light.align-left{
    margin-top: 0;
}
[data-overlayscrollbars-viewport~=overflowYScroll] {
    overflow-y: hidden !important;
}

/* ---------- OUTLINE page ---------- */
.outline-page {
    --outline-gold: var(--hana-gold, #85754e);
    --outline-tint: #f9f6f1;
    --outline-line: #e4dfd5;
    --outline-text: #333;
}
.outline-page .outline-block {
    margin-bottom: 90px;
}
.outline-page .outline-divider {
    margin-top: 100px;
    margin-bottom: 100px;
    border-top: 1px solid var(--outline-line);
}
.outline-page .outline-section-title {
    margin: 0 0 45px;
    text-align: center;
}
.outline-page .outline-table {
    border-bottom: 1px solid var(--outline-line);
}
.outline-page .outline-table-head {
    font-family: var(--mid-heading, Montserrat, sans-serif);
    background-color: var(--outline-gold);
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 1.2rem;
    line-height: 1.4;
    padding: 12px 20px;
}
.outline-page .outline-row {
    display: flex;
    align-items: stretch;
    border-top: 1px solid var(--outline-line);
}
.outline-page .outline-table-head + .outline-row {
    border-top: none;
}
.outline-page .outline-cell {
    font-family: var(--mid-heading, Montserrat, sans-serif);
    color: var(--outline-text);
    font-size: 1.4rem;
    line-height: 1.6;
    padding: 18px 25px;
}
.outline-page .outline-cell-label {
    flex: 0 0 30%;
    max-width: 30%;
    background-color: var(--outline-tint);
}
.outline-page .outline-cell-value {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}
.outline-page .outline-select-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 45px;
}
.outline-page .outline-villa-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2385754e' stroke-width='1.2' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    border: 1px solid var(--outline-gold);
    border-radius: 0;
    color: var(--outline-gold);
    cursor: pointer;
    font-family: var(--mid-heading, Montserrat, sans-serif);
    font-size: 1.4rem;
    letter-spacing: .15em;
    line-height: 1.4;
    outline: none;
    padding: 13px 45px 13px 25px;
    min-width: 300px;
}
.outline-page .outline-villa-select::-ms-expand {
    display: none;
}
.outline-page .outline-villa-table {
    display: none;
}
.outline-page .outline-villa-table.is-active {
    display: block;
}
@media screen and (max-width: 767px) {
    .outline-page .outline-block {
        margin-bottom: 60px;
    }
    .outline-page .outline-divider {
        margin-top: 70px;
        margin-bottom: 70px;
    }
    .outline-page .outline-section-title {
        margin-bottom: 30px;
    }
    .outline-page .outline-row {
        display: block;
    }
    .outline-page .outline-cell {
        padding: 12px 18px;
    }
    .outline-page .outline-cell-label {
        max-width: none;
        font-weight: 600;
    }
    .outline-page .outline-cell-value {
        padding-top: 0;
    }
    .outline-page .outline-villa-select {
        min-width: 0;
        width: 100%;
    }
}

/* The Work of Masters, logged-out visitors: a still of the architect video with a locked play button;
   the lower half fades to white and the login box sits in the fade. */
.video-teaser {
    position: relative;
}
html .wb_bg_video-wrapper-2.video-teaser-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.video-teaser-still {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
html .hana-play-button.video-teaser-play {
    inset: 25% auto auto 50%;           /* centre of the upper, unfaded half */
    transform: translate(-50%, -50%);
    pointer-events: none;               /* shown, but clicking does nothing */
    cursor: default;
}
.video-teaser-fade {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: 0;
    z-index: 1;
    background-image: linear-gradient(#fff0, #ffffffd9 55%, #fff);
}
html .member-login.video-teaser-login {
    margin-top: -22.5%;                 /* panel starts about 60% down the video, inside the fade */
    z-index: 2;
}

/* Heading levels corrected for SEO (one h1 per page, no skipped levels) without changing the look.
   An element that changed tag carries a was-hN class and gets the tag styles of its old tag at tag-level
   specificity (:where adds none), so its own classes still override them exactly as before.
   Old h1 tag styles (hanazono-staging.webflow.css): */
:is(h2,h3,div):where(.was-h1){color:#fff;text-align:inherit;letter-spacing:inherit;margin-top:0;margin-bottom:0;font-family:sans-serif;font-size:5rem;font-weight:400;line-height:1.2;}
@media screen and (max-width:991px){:is(h2,h3,div):where(.was-h1){font-size:3.8rem;}}
@media screen and (max-width:767px){:is(h2,h3,div):where(.was-h1){font-size:3rem;margin-bottom:0;}}
@media screen and (max-width:479px){:is(h2,h3,div):where(.was-h1){font-size:3.5rem;}}
/* Old h4 tag styles */
:is(h3,div):where(.was-h4){color:inherit;letter-spacing:inherit;margin-top:10px;margin-bottom:10px;font-family:sans-serif;font-size:18px;font-weight:700;line-height:24px;}
/* Page heading for search engines and screen readers only (the home page has no visible title) */
.visually-hidden{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
