/* タブ切り替え */
.property .tabSwitch {
    display: flex;
    gap: 10px;
    width: 100%;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.property .tabSwitch > li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 20px 30px 20px 15px;
    box-sizing: border-box;
    background: #eee;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: background .3s, color .3s;
}

.property .tabSwitch > li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
}

.property .tabSwitch > li.active {
    background: #333;
    color: #fff;
}

@media (hover: hover) {
    .property .tabSwitch > li:hover {
        background: #333;
        color: #fff;
    }
}

/* タブ表示内容 */
.property .tabinner:not(#tabInner01):not(.active) {
    display: none;
}

.property .tabinner.is-hidden {
    display: none !important;
}

.property .tabinner.active {
    display: block;
    animation: propertyFadeIn .4s ease;
}

@keyframes propertyFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* SP */
@media screen and (max-width: 768px) {
    .property .tabSwitch {
        gap: 5px;
        margin: 20px 0;
    }

    .property .tabSwitch > li {
        padding: 15px 20px 15px 10px;
        font-size: 13px;
    }

    .property .tabSwitch > li::after {
        right: 8px;
        width: 6px;
        height: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .property .tabinner.active {
        animation: none;
    }
}