/*/////////////////////コンテンツ////////////////////////////*/
.top h4, .sec3 h5 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 20px;
}
.top ul {
    margin: 20px 0;
}
.top li, .sec5 li {
    display: flex;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    align-items: center;
}
.top li::before, .sec5 li::before {
    content: "・";
    margin-right: 7px;
}
.top li:last-of-type, .sec5 li:last-of-type {
    margin-bottom: 0;
}
.sec2-top {
    display: flex;
    align-items: center;
    position: relative;
}
.sec2-top .img {
    display: flex;
    width: 45%;
    z-index: 1;
    position: relative;
}
.sec2-top-text-wrapper {
    width: 65%;
    min-width: 625px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.sec2-top-text1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.sec2-top-text1 p {
    display: flex;
    width: 49%;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    justify-content: center;
}
.sec2-top-text2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 10px 10px 10px;
    background-color: #fff;
    border-radius: 30px;
}
.sec2-top-text2 p {
    font-weight: 600;
    font-size: 32px;
    color: #B80000;
    padding-bottom: 3px;
    border-bottom: 3px solid #B80000;
}
.sec2-ttl-sub {
    font-size: 18px;
    font-weight: 600;
    margin-top: -20px;
    margin-bottom: 20px;
}
.rv-link-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}
.rv-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 48%;
    height: 310px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}
.rv-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
    transition: .5s ease;
}
.rv-link1, .rv-link1::before {
    background: url(../img/renovation/rv-link1.jpg) no-repeat center / cover;
}
.rv-link2, .rv-link2::before {
    background: url(../img/renovation/rv-link2.jpg) no-repeat center / cover;
}
.rv-link-btn {
    display: flex;
    color: #fff;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto 0 0 0;
    font-weight: 600;
    font-size: 18px;
    position: relative;
}
.rv-link-btn img {
    display: flex;
    width: 50px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 2;
    transition: .5s ease;
}
.rv-window {
    display: none;
    opacity: 0;
}
.rv-window.active {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    padding: 20px;
    animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.rv-window .ttl4 {
    margin-bottom: 20px;
}
.rv-window .border {
    margin-bottom: 20px;
}
.rv-window .text {
    padding: 30px;
    background-color: #fff;
    position: relative;
    height: fit-content;
    margin: auto;
}
.rv-window .text .bold {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}
.rv-window .text .bold2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
    letter-spacing: 1px;
}
.close-btn {
    width: 50px;
    height: 50px;
    background-color: #000;
    position: absolute;
    z-index: 100001;
    top: 0;
    right: 0;
    transition: .2s ease;
    cursor: pointer;
}
.close {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
.close::before, .close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: #fff;
}
.close::before {
    transform: translate(-50%,-50%) rotate(45deg);
}
.close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
.sec5 .block {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.sec5 .block img {
    height: auto;
    width: 38%;
    flex-grow: 1;
    object-fit: cover;
    align-self: stretch;
    margin-right: 30px;
}
.sec5 .block .text {
    width: 60%;
}
#cta h4 {
    display: flex;
    width: 100%;
    background: #162447;
    color: #fff;
    padding: 20px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.cta-btm .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#cta .cta-btm .date {
    margin-bottom: 0;
}
#cta .block {
    margin-top: 40px;
}
@media (hover: hover) and (pointer: fine) {
    .rv-link:hover::before {
        transform: scale(1.2);
        opacity: 1;
    }
    .rv-link:hover img {
        right: 5px;
    }
    .close-btn:hover {
        background-color: #666;
    }
}
@media screen and (max-width: 1000px) {
    .sec2-top .img {
        width: 520px;
    }
    .sec2-top-text-wrapper {
        width: 65%;
        min-width: 560px;
        transform: translateY(0);
        top: auto;
        bottom: 40px;
    }
    .sec2-top-text1 {
        margin-bottom: 10px;
    }
    .sec2-top-text1 p {
        font-size: 18px;
    }
    .sec2-top-text2 p {
        font-size: 26px;
    }
    .rv-link {
        height: 230px;
    }
    .rv-link-btn {
        font-size: 16px;
    }
    .rv-link-btn img {
        width: 34px;
    }
}
@media screen and (max-width: 600px) {
    .top h4, .sec3 h5 {
        font-size: 18px;
    }
    .sec2-top {
        flex-wrap: wrap;
    }
    .sec2-top .img {
        width: 100%;
        order: 2;
    }
    .sec2-top-text-wrapper {
        width: 100%;
        min-width: 0;
        position: static;
        order: 1;
        margin-bottom: 20px;
    }
    .sec2-top-text1 {
        flex-direction: column;
        margin-bottom: 0;
        align-items: center;
    }
    .sec2-top-text1 p {
        width: fit-content;
        font-size: 16px;
        margin-bottom: 15px;
    }
    .sec2-top-text2 p {
        font-size: 18px;
        border-bottom: 2px solid #B80000;
    }
    .sec2-ttl-sub {
        font-size: 16px;
        margin-top: -5px;
    }
    .rv-link {
        width: 100%;
        height: 160px;
        margin-bottom: 20px;
    }
    .rv-link:last-of-type {
        margin-bottom: 0;
    }
    .rv-link-btn {
        width: 100%;
        font-size: 18px;
        padding: 10px 10px;
    }
    .rv-link-btn img {
        width: 40px;
    }
    .rv-window .text {
        padding: 20px;
    }
    .rv-window .text .bold {
        font-size: 18px;
    }
    .rv-window .text .bold2 {
        font-size: 16px;
    }
    .close-btn {
        width: 40px;
        height: 40px;
    }
    .close::before, .close::after {
        height: 30px;
    }
    .sec5 .block img {
        width: 100%;
        height: 240px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .sec5 .block .text {
        width: 100%;
    }
    #cta h4 {
        font-size: 18px;
    }
}