/* Sale */

#sale_list_heading {
    margin-bottom: 5em;
}
#sale_list_types {
    float: left;
}
#sale_list_types li {
    float: left;
    margin-bottom: 1em;
}
#sale_list_types li:not(:last-of-type) {
    margin-right: 1em;
}
#sale_list_types li a {
    display: block;
    padding: 0.5em 1em;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.2em;
    border: 1px solid #000;
    border-radius: 200px;
    text-decoration: none;
    transition: all 300ms ease-in-out;
}
#sale_list_types li a:hover {
    color: #fff !important;
    background: #000;
}
#sale_list_types li.active a {
    color: #fff !important;
    background: #000;
}
#sale_list_status {
    float: right;
    margin-top: 10px;
}
#sale_list_status li {
    float: left;
    position: relative;
    padding-left: 20px;
    font-size: 0.8em;
    font-weight: 500;
    line-height: 1.2em;
}
#sale_list_status li:not(:last-of-type) {
    margin-right: 1.5em;
}
#sale_list_status li::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: '';
    width: 13px;
    height: 13px;
    background: #ccc;
    border-radius: 30px;
    overflow: hidden;
}
#sale_list_status li#sale_list_status_sale::before {
    background: #79dd83;
}
#sale_list_status li#sale_list_status_offering::before {
    background: #52aed5;
}
#sale_list_status li#sale_list_status_sold::before {
    background: #d16363;
}

.sale_list_pane {
    float: left;
    width: 32%;
}
.sale_list_pane:nth-of-type(3n - 1) {
    margin: 0 2%;
}
.sale_list_pane:nth-of-type(3n + 1) {
    clear: both;
}
.sale_list_pane:nth-last-of-type(n + 4) {
    margin-bottom: 2em;
}
.sale_list_pane a {
    display: block;
    position: relative;
    height: 100%;
    padding: 4.5em 1.8em 2.2em 1.8em;
    border: 1px solid #ccc;
    text-decoration: none;
    border-radius: 3px;
    transition: all 300ms ease-in-out;
    overflow: hidden;
}
.sale_list_pane a:hover {
    opacity: 0.45;
}
.sale_list_pane a::before {
    position: absolute;
    top: 2rem;
    right: 1.8rem;
    content: '';
    width: 15px;
    height: 15px;
    background: #ccc;
    border-radius: 30px;
    overflow: hidden;
}
.sale_list_pane.status_sale a::before {
    background: #79dd83;
}
.sale_list_pane.status_offering a::before {
    background: #52aed5;
}
.sale_list_pane.status_sold a::before {
    background: #d16363;
}
.sale_list_pane h4 {
    margin-bottom: 1em;
    min-height: 2.8em;
    font-size: 1.05em;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4em;
}
.sale_list_pane h5 {
    position: absolute;
    top: 1.8rem;
    left: 1.8rem;
    padding: 0.5em 1em 0.4em 1em;
    font-size: 0.7em;
    line-height: 1.2em;
    letter-spacing: 0.05em;
    color: #fff;
    background: #000;
    border-radius: 200px;
    overflow: hidden;
}
.sale_list_pane li {
    position: relative;
    float: left;
    padding-top: 1.5em;
    width: 49%;
    font-size: 1.1em;
    letter-spacing: -0.02em;
    line-height: 1.2em;
}
.sale_list_pane .sale_list_square {
    float: right;
}
.sale_list_pane li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    font-size: 0.7em;
    font-weight: 500;
    letter-spacing: 0;
    color: #ddd;
}
.sale_list_price::before {
    content: 'PRICE';
}
.sale_list_square::before {
    content: 'SQUARE METER';
    content: 'LAND AREA';
}
.sale_list_pane li .label {
    font-size: 0.7em;
    font-weight: 400;
}
.sale_list_price .label {
    margin-right: 0.3em;
}
.sale_list_square .label {
    margin-left: 0.3em;
}
.sale_list_tsubo {
    font-size: 0.7em;
    letter-spacing: 0;
}


/* Single */

#sale_heading {
    margin-bottom: 4.5em;
}
#sale_heading h2 {
    float: left;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 0.1em;
}
#sale_meta {
    float: right;
}
.sale_type {
    float: left;
    margin-right: 2em;
    padding: 0.8em 1.5em 0.9em 1.5em;
    font-size: 0.8em;
    line-height: 1.2em;
    color: #fff;
    background: #000;
    border-radius: 200px;
    overflow: hidden;
}
.sale_status {
    float: left;
    margin-top: 3px;
    padding-bottom: 0.5em;
    line-height: 1.2em;
    font-weight: 500;
    border-bottom: 2px solid #000;
}
.status_sale .sale_status {
    color: #79dd83;
    border-color: #79dd83;
}
.status_offering .sale_status {
    color: #52aed5;
    border-color: #52aed5;
}
.status_sold .sale_status {
    color: #d16363;
    border-color: #d16363;
}
#sale_contents {
    position: relative;
}
#sale_side {
    position: sticky;
    top: 200px;
    top: 140px;
    float: right;
    width: 30%;
    transition: all 300ms ease-in-out;
}
#sale_side h2 {
    display: none;
    margin-bottom: 2em;
    margin-bottom: 1.5em;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4em;
    letter-spacing: 0.05em;
    /* opacity: 0;
    transition: all 100ms ease-in-out; */
}
#_sale_side.sticked h2 {
    opacity: 1;
    transition: all 200ms ease-in-out;
}
#sale_side dl {
    margin-bottom: 2em;
}
#sale_side dt {
    float: left;
    margin-top: 4px;
    font-size: 0.8em;
    line-height: 1.2em;
}
#sale_side dd {
    padding-left: 6rem;
    margin-bottom: 0.8em;
    padding-bottom: 0.8em;
    border-bottom: 1px solid #ededed;
    font-size: 1.15em;
    font-weight: 500;
    line-height: 1.2em;
}
#sale_side dd .label,
#sale_side dd .sale_tsubo {
    font-size: 0.7em;
}
#sale_side dd .sale_tsubo {
    margin-left: 0.3em;
}
.sale_blueprint {
    border: 1px solid #ededed;
    border-radius: 5px;
    overflow: hidden;
}
.sale_blueprint a {
    display: block;
}
._sale_blueprint:not(:last-of-type) {
    margin-bottom: 1em;
}
#sale_blueprints .splide__arrow {
    position: absolute;
    top: 45%;
    width: 25px;
    height: 25px;
    background: url(../images/common/icon_arrow.png) no-repeat center / 100%;
    z-index: 10;
}
#sale_blueprints .splide__arrow svg {
    display: none;
}
#sale_blueprints .splide__arrow[disabled] {
    opacity: 0;
}
#sale_blueprints .splide__arrow--prev {
    left: 0;
    transform: rotate(90deg) translateY(-50%);
}
#sale_blueprints .splide__arrow--next {
    right: 0;
    transform: rotate(-90deg) translateY(-50%);
}
#sale_main {
    float: left;
    width: 65%;
}
#sale_slides {
    margin-bottom: 15px;
    border: 1px solid #ededed;
    border-radius: 5px;
    overflow: hidden;
}
.sale_slide {
    aspect-ratio: 3 / 2;
}
#sale_thumbnails {
    margin-bottom: 3.5em;
}
.sale_thumbnail {
    aspect-ratio: 1 / 1;
    border: 1px solid #ededed;
    border-radius: 3px;
    overflow: hidden;
}
#sale_360 {
    margin-bottom: 3.5em;
    border-radius: 5px;
    overflow: hidden;
}
.table_sale {
	width: 100%;
}
.table_sale th,
.table_sale td {
	padding: 0.8em 1em;
    border: 1px solid #ddd;
    vertical-align: middle;
}
.table_sale thead th span {
	font-size: 0.8em;
}
.table_sale td span {
	font-size: 1.4em;
}
.table_sale th {
    font-size: 0.9em;
    line-height: 1.6em;
	font-weight: 500;
	background: #f5f5f5;
}
.table_sale td {
	line-height: 1.55em !important;
	font-size: 0.95em;
}

#sale_map,
#sale_contact,
#sale_offering_message {
    margin-top: 3em;
}
#sale_map {
    aspect-ratio: 16 / 9;
}
#sale_map iframe {
    width: 100%;
    height: 100%;
}
#sale_contact {
    text-align: center;
}
#_sale_offering_message {
    text-align: center;
}

#sale_slides .splide__arrow {
	position: absolute;
	width: 30px;
	height: 30px;
	border-radius: 2px;
	background: yellow;
	z-index: 100;
}
#sale_slides .splide__arrow svg {
	display: none;
}
#sale_slides .splide__arrow--next {
	top: 50%;
	right: 6px;
	background: rgba(255,255,255,0.9) url(../images/common/icon_next.png) no-repeat center / 24px;
}
#sale_slides .splide__arrow--prev {
	top: 50%;
	left: 6px;
	background: rgba(255,255,255,0.9) url(../images/common/icon_prev.png) no-repeat center / 24px;
}
#sale_slides .splide__arrow:disabled {
	display: none !important;
}
.sale_thumbnail.is-active {
    transition: all 200ms ease-in-out;
}
.sale_thumbnail.is-active {
    opacity: 0.5;
    transition: all 150ms ease-in-out;
}
.pswp {
	z-index: 100000;
}


@media screen and (max-width: 1180px) and (min-width: 601px) {
    
    .sale_list_pane {
        width: 49%;
    }
    .sale_list_pane:nth-of-type(3n - 1) {
        margin: 0;
    }
    .sale_list_pane:nth-of-type(3n + 1) {
        clear: none;
    }
    .sale_list_pane:nth-last-of-type(n + 4) {
        margin-bottom: 0;
    }
    .sale_list_pane:nth-of-type(even) {
        float: right;
    }
    .sale_list_pane:nth-of-type(2n + 1) {
        clear: both;
    }
    .sale_list_pane:nth-last-of-type(n + 3) {
        margin-bottom: 2em;
    }
    .sale_list_pane a {
        padding: 4.5em 1.2em 2.2em 1.2em;
    }
    .sale_list_pane h5 {
        left: 1.2rem;
    }
    #sale_list_types {
        float: none;
        margin-bottom: 1em;
    }
    #sale_list_status {
        float: none;
        margin-top: 0;
    }
    
    #sale_heading h2 {
        float: none;
        margin-bottom: 1.4em;
    }
    #sale_meta {
        float: none;
    }
    
}