/* section-mv */
#jumbotron img {
    object-position: right 18% top 50%!important;
}
#main section h2 {
    position: relative;
    text-indent: 120px;
    background: none;
    @media screen and (max-width: 600px) {
        padding-top: 10px !important;
        text-indent: 0;
        padding-left: 85px !important;
    }
}
#main section h2::before {
    content: attr(data-num);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-top: .4em;
    z-index: 1;
    font-size: 40px;
    color: #fff;
    font-family: Noto Serif JP;
    text-indent: -94px;
    @media screen and (max-width: 600px) {
        font-size: 1.6rem;
        padding-top: .8em;
        text-indent: 0;
        left: 35px;
        transform: translate(-50%,-50%);
    }
}
#main section h2 span::before {
    content: "POINT";
    font-size: .9rem;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-indent: 0;
    width: 100px;
    height: 100px;
    background: var(--hb-text-color);
    border-radius: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 18px;
    box-sizing: border-box;
    @media screen and (max-width: 600px) {
        width: 70px;
        height: 70px;
        padding-top: 14px;
        font-size: .6rem;
        left: -85px;
    }
}
section .section-mv {
    @media screen and (max-width: 1024px) {
        gap: 0;
    }
    @media screen and (max-width: 600px) {
        flex-direction: column;
        padding-right: 16px;
    }
}
section .section-mv > div:first-child {
    @media screen and (max-width: 834px) {
        flex: 1.7 !important;
    }
}
body section .section-mv > div:last-child {
    top: 0 !important;
    aspect-ratio: 5/3;
    height: auto !important;
    width: 100% !important;
    max-width: 450px;
    overflow: hidden;
    @media screen and (max-width: 1280px) {
        right: -60px !important;
        top: 0 !important;
        max-width: 360px;
    }
    @media screen and (max-width: 1024px) {
        position: relative !important;
        max-width: unset;
    }
    @media screen and (max-width: 834px) {
        overflow: visible;
        right: 0 !important;
        aspect-ratio: unset;
    }
    @media screen and (max-width: 600px) {
        order: -1;
        top: -20px !important;
    }
}
section .section-mv > div:last-child figure {
    width: 100% !important;
    height: 100% !important;
    @media screen and (max-width: 600px) {
        width: calc(100% + 16px) !important;
    }
}
section .section-mv p br{
   @media screen and (max-width: 1024px) {
        display: none;
    }
   @media screen and (max-width: 834px) {
        display: block;
    }
   @media screen and (max-width: 600px) {
        display: none;
    }
}
section .section-mv > div:last-child figure img {
   @media screen and (max-width: 834px) {
        aspect-ratio: unset !important;
    }    
}

/* inner-section */
#main section.toc1 .support .indent {
    padding-right: 16px;
}
#main section.toc3 .is-layout-grid > div {
	display: flex;
	flex-direction: column;
    align-items: center;
    gap: 0;
    @media screen and (max-width: 600px) {
        flex-direction: row;
    }
}
#main section.toc3 .benefit-list {
    counter-reset: number;
    @media screen and (max-width: 1024px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-right: 16px;    
    }
    @media screen and (max-width: 600px) {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 5px;
        padding-right: 0; 
    }
}
#main section.toc3 .benefit-list p{
    line-height: 1.6;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: .5em;
    color: var(--hb-text-color);
    font-size: .95rem;
    @media screen and (max-width: 600px) {
        text-align: left;
        font-size: .9rem;
        flex: 1;
    }
}
#main section.toc3 .benefit-list p span{
    font-size: .8em;
    font-weight: 400;
    display: inline-block;
    line-height: 1.4 !important;
    color: #333;
    opacity: .8;
}
#main section.toc3 .benefit-list > div {
    counter-increment: number;
    position: relative;
    background: var(--hb-light-color);
    padding: 20px 10px;
    @media screen and (max-width: 600px) {
        padding: 0 16px 0 25px;
        gap: 16px;
        justify-content: space-between;
    }
}
#main section.toc3 .benefit-list > div::before {
    content: counter(number,decimal-leading-zero);
    font-size: .9rem;
    font-family: Noto Serif JP;
    font-weight: 600;
    color: var(--hb-light-color);
    position: absolute;
    left: -5px;
    top: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right,rgb(var(--hb-main-color)),var(--hb-text-color));
    padding: 0 1rem;
    border-radius: 30px;
    line-height: 1.6;
    @media screen and (max-width: 600px) {
        top: 0;
        left: 0;
        font-size: .7rem;
        padding: 0;
        width: 18px;
        height: 100%;
        border-radius: 0;
        
        background: linear-gradient(to top,rgb(var(--hb-main-color)),var(--hb-text-color));
    }
}
#main section.toc3 .benefit-list > div figure {
    max-width: 150px;
    @media screen and (max-width: 600px) {
        min-width: 75px;
        max-width: 100px;
    }
}
#main section.toc3 .club figure img{
    width: 80%;
    margin: auto !important;
}
#main section.toc4 .feature-list {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    border: thin solid;
    background: #fff;
    border-image: linear-gradient(to bottom, rgb(var(--hb-main-color)) ,rgb(var(--hb-sub-color)));
    border-image-slice: 1;
    @media screen and (max-width: 1280px) {
        flex-direction: row;
        width: 200%;
        top: 60px;
    }
    @media screen and (max-width: 834px) {
        flex-direction: column;
        width: auto;
        min-width: calc(100% + 60px);
        top: 40px;
    }
    @media screen and (max-width: 600px) {
        min-width: unset;
        width: 100%;
        top: 0;
    }
}
section.toc4 .feature-list > div{
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex: 1;
    padding: 20px;
    color: var(--hb-text-color);
    @media screen and (max-width: 600px) {
        padding: 16px;
    }
}
section.toc4 .feature-list p {
    line-height: 1;
}
section.toc4 .feature-list > div:first-child p:last-child span {
    font-size: .9rem;
    @media screen and (max-width: 600px) {
        font-size: .8rem;
    }
}
section.toc4 .feature-list > div:last-child p:last-child span {
    font-size: 1.5rem;
    @media screen and (max-width: 600px) {
        font-size: 1.2rem;
    }
}
section.toc4 .feature-list .price {
    font-size: 1.8em;
    padding: .2em 0;
    @media screen and (max-width: 600px) {
        font-size: 1.3rem;
    }
}
section.toc4 .feature-list .price span {
    font-size: .9rem;
    padding-left: .2em;
}
section.toc4 .feature-list > div p:first-child {
    background: var(--hb-text-color);
    border-radius: 30px;
    padding: .4em 1em;
    color: #fff;
    width: 100px;
    text-align: center;
    @media screen and (max-width: 1280px) {
        width: auto;
    }
    @media screen and (max-width: 1024px) {
        width: 100px;
    }
    @media screen and (max-width: 600px) {
        width: auto;
        font-size: .8rem;
    }
}
section.toc4 .feature-list > div {
    position: relative;
    flex-wrap: wrap;
    @media screen and (max-width: 1280px) {
        justify-content: center;
    }
    @media screen and (max-width: 1024px) {
        flex-direction: column;
        gap: 8px;
    }
    @media screen and (max-width: 834px) {
        gap: 1rem;
        flex-direction: row;
        justify-content: flex-start;
    }
}
section.toc4 .feature-list > div:first-child::before {
    content: "";
    display: block;
    background: var(--hb-text-color);
    position: absolute;
    width: 80%;
    height: 1px;
    right: unset;
    left: 50%;
    top: 100%;
    transform: translate(-50%,-50%);
    opacity: .3;
    @media screen and (max-width: 1280px) {
        width: 1px;
        height: 50%;
        top: 50%;
        left: unset;
        right: 0;
    }
    @media screen and (max-width: 834px) {
        width: calc(100% - 40px);
        height: 1px;
        left: 50%;
        top: 100%;
    }
}
section.toc1 .section-mv > div:last-child img {
    object-position: right;
    @media screen and (max-width: 1024px) {
        object-position: center;
    }
}
section.toc1 .section-mv > div:last-child,
section.toc5 .section-mv > div:last-child {
    right: 0 !important;
    top: -115px !important;
    max-width: unset;
    @media screen and (max-width: 1024px) {
        top: 0 !important;
    }
}
section.toc1 .section-mv > div:last-child {
    width: 70% !important;
    @media screen and (max-width: 1280px) {
        right: -40px !important;
    }
    @media screen and (max-width: 834px) {
        right: 0 !important;
    }
    @media screen and (max-width: 600px) {
        width: 100% !important;
        margin-bottom: -30px !important;
    }
}
section.toc4 .section-mv > div:last-child {
    max-width: calc(50% - 12px);
    @media screen and (max-width: 1024px) {
        max-width: unset;
    }
}
section.toc5 .section-mv > div:last-child {
    width: 560px !important;
    @media screen and (max-width: 1280px) {
        right: -60px !important;
    }
    @media screen and (max-width: 1024px) {
        right: -40px !important;
    }
    @media screen and (max-width: 834px) {
        right: 0 !important;
    }
    @media screen and (max-width: 600px) {
        margin-bottom: -20px !important;
    }
}
section.toc1 .section-mv > div:last-child figure,
section.toc5 .section-mv > div:last-child figure {
    width: 100% !important;
    @media screen and (max-width: 834px) {
        height: 300px !important;
        left: -16px !important;
        position: relative;
    }
    @media screen and (max-width: 600px) {
        height: 200px !important;
        left: 15% !important;
        top: -50px;
    }
}
section.toc5 .section-mv > div:last-child figure {
    @media screen and (max-width: 834px) {
        width: 140% !important;
        left: -20% !important;
        top: -20px;
    }
    @media screen and (max-width: 600px) {
        top: -50px;
        left: -25% !important;
    }
}
section.toc5 .section-mv > div:last-child img {
    object-position: top !important;
    position: relative;
    @media screen and (max-width: 1280px) {
        right: -60px !important;
    }
    @media screen and (max-width: 1024px) {
        right: 0 !important;
    }
}


@media screen and (max-width: 834px) {
    .indent{
        padding-right: 32px;
    }
    section.toc4 .wp-block-gallery,
    section.toc5 .wp-block-gallery{
        padding-right: 16px;
    }
    section.toc4 .dormitory-info .indent{
        padding-right: 0;
    }
    section.toc4 .dormitory-info .floor-plan {
        padding-right: 56px;
        flex-basis: 50% !important;
    }
    section.toc4 .dormitory-info div:has(.floor-plan) {
        flex-basis: 260px !important;
    }
    body:not(.home) .entry-content section .section-mv{
        margin-bottom: 0 !important;
    }
}
@media screen and (max-width: 600px) {
    .indent{
        padding-right: 16px;
    }
    section.toc1 .timeline-item-snippet > div {
        flex-direction: column;
        gap: 5px;
    }
    section.toc1 .timeline-item-snippet {
        gap: 5px;
    }
    section.toc1 .timeline li:nth-child(2) .timeline-item-content{
        padding-top: 0;
        margin-top: -.75em !important;
    }
    #main section.toc1 .support .indent > div{
        grid-template-columns: auto 30% !important;
        gap: 20px;
    }
    #main section.toc3 .benefit-list p span br {
        display: none;
    }
    section.toc4 .dormitory-info {
        flex-direction: column;
        position: relative;
    }
    section.toc4 .dormitory-info .indent{
        padding-right: 16px;
    }
    section.toc4 .dormitory-info .indent > div:first-child {
        padding-right: 116px !important;
    }
    section.toc4 .dormitory-info div:has(.floor-plan) {
        width: 116px;
        right: 0;
        top: -100px;
        position: absolute;
        align-self: flex-end;
    }
    section.toc4 .dormitory-info .floor-plan {
        padding: 0 16px 16px 16px;
        background: #fff;
        border-radius: 10px;
    }
}