@charset "UTF-8";

/* decoration
--------------------------------------------*/
#message h2{
    width: 100%;
    font-size: 44px;
    font-weight: bold;
    display: block;
    text-align: center;
    position: relative;
        color: #FF0000;
}
@media (max-width:767px){
    #message h2{
        font-size: 32px;
        line-height: 48px;
        width: calc(100% - 32px);
    }
}

#message h2 span{
    font-size: 36px;
    font-weight: bold;
    display: block;
    color: #FFFFFF;
}
@media (max-width:767px){
    #message h2 span{
        font-size: 24px;
    }
}

#business h2{
    top: 416px;
    left: 340px;
}

#property h2{
    top: 260px;
    left: 338px;
}

@media (min-width:768px) and (max-width:1400px){
    #business h2,#property h2{
        left: 197px;
    }
}
@media (max-width:767px){
    #business h2,#property h2{
        gap: 8px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        font-size: 48px;
        line-height: 64px;
    }
    #business h2{
        top: 360px;
    }
    #property h2{
        top: 265px;
    }
}

/* section no
--------------------------------------------*/
#message span.section_no{
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
}

#business span.section_no{
    -webkit-text-stroke: #D8DBE2 4px;
    top: 256px;
    left: 140px;
}
@media (min-width:768px) and (max-width:1400px){
    #business span.section_no{
        left: 24px;
    }
}
@media (max-width:767px){
    #business span.section_no{
        top: 0;
        margin-top: 88px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        text-align: center;
    }
}

#property span.section_no{
    top: 100px;
    left: 140px;
}
@media (min-width:768px) and (max-width:1400px){
    #property span.section_no{
        left: 24px;
    }
}
@media (max-width:767px){
    #property span.section_no{
        top: 0;
        margin-top: 88px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        text-align: center;
    }
}

/* sectionの縁デザイン
--------------------------------------------*/
#records_renovation.curve{
    border-radius: 100px 100px 0 0;
    position: relative;
}
@media (max-width:767px){
    #records_renovation.curve{
        border-radius: 40px 40px 0 0;
    }
}

/*各セクションでの色設定*/

#pagetop.curve::before{
    top: auto;
    bottom: -100px;
    background-color: #D8DBE2;
    clip-path: shape(
        from 0 0,
        line to 0 100px,
        arc to 100px 0 of 100px 100px cw,
        close);
    /*background-image: url("../img/curve-left.svg"); /*暫定対応*/
    /* -webkit-mask-image: url("../img/curve-left.svg"); */
    /* -webkit-mask-size: cover; */
    /* mask-image: url("../img/curve-left.svg");  相対パスだとcorsエラー吐く  */
    /* mask-size: cover; */
}
@media (max-width:767px){
    #pagetop.curve::before{
        bottom: -40px;
        clip-path: shape(
            from 0 0,
            line to 0 40px,
            arc to 40px 0 of 40px 40px cw,
            close);
    }
}

#business.curve::before{
    left: auto;
    right: 0px;
    top: -100px;
    background-color:#FFFFFF;
    clip-path: shape(
        from 100px 100px,
        line to 100px 0,
        arc to 0 100px  of 100px 100px cw,
        close);
    z-index: 2;
}
@media (max-width:767px){
    #business.curve::before{
        top: -40px;
        clip-path: shape(
            from 40px 40px,
            line to 40px 0,
            arc to 0 40px  of 40px 40px cw,
            close);
    }
}

#business.curve::after{
    background-color: #D8DBE2;
}

#property.curve::before{
    background-color: #FFFFFF;
}

#property.curve::after{
    background-color: #D8DBE2;
}

#records_renovation.curve::before{
    background-color: #D8DBE2;
}

#records_renovation.curve::after{
    top: 0;
    background-color: #D8DBE2;
}

@media (max-width:767px){
    
    /*各セクションでの色設定*/

    #pagetop.curve::before{
        bottom: -40px;
    }

    #business.curve::before{
        top: -40px;
    }
}


/* pagetop
--------------------------------------------*/
section#pagetop{
    height: calc(100vh + 239px);
    background-color: #D8DBE2;
}
@media (max-width:767px){
    section#pagetop{
        height: calc(100vh + 158px);
    }
}

#pagetop .top-background{
    width: 100%;
}

#pagetop .slider-container.left{
    position: absolute;
    overflow: hidden;
    width: 54%;
    aspect-ratio: 1.267;
}
@media (max-width:767px){
    #pagetop .slider-container.left{
        width: 100%;
        height: 276px;
        border-radius: 0 0 40px 40px;
    }
}

#pagetop .slider-container.right{
    position: absolute;
    overflow: hidden;
    right: 80px;
/*     top: 376px; */
    bottom: calc(239px + 24px);
    width: 29%;
    aspect-ratio: 0.751;
}
@media (max-width:767px){
    #pagetop .slider-container.right{
        width: 42%;
        bottom: calc(158px + 24px);
        right: 16px;
    }
}

#pagetop .container-image{
    position: absolute;
    inset: 0; /* 親要素内にフルサイズで配置 */
    opacity: 0; /*初期状態で透明に */
    background-size: cover; /* 画像をスライド全体にカバー */
    animation: slideAnime_top 10s infinite;
}
@media (max-width:767px){
    #pagetop .container-image{
        background-position: center 30%;
    }
}

#pagetop .slider-container.left .container-image:nth-of-type(1){
    background-image: url("../img/index/slider_left_a.png");
    animation-delay: 0s;
}

#pagetop .slider-container.left .container-image:nth-of-type(2){
    background-image: url("../img/index/slider_left_b.png");
    animation-delay: 5s;
}

#pagetop .slider-container.right .container-image:nth-of-type(1){
    background-image: url("../img/index/slider_right_a.png");
    animation-delay: 0s;
}

#pagetop .slider-container.right .container-image:nth-of-type(2){
    background-image: url("../img/index/slider_right_b.png");
    animation-delay: 5s;
}

/* タイミング設定 */
@keyframes slideAnime_top {
    0%, 63%, 100% {
        opacity: 0; /* 非表示のタイミング */
    }
    20%, 33% {
        opacity: 1; /* 表示されるタイミング */
    }
}

.top-pagetop-text{
    font-size: 96px;
    font-weight: bold;
    color: #FFFFFF;
    position: absolute;
    top: 68vh;
    left: 9%;
    line-height: 120px;
    z-index: 5;
}
@media (min-width:768px) and (max-width:1400px){
    .top-pagetop-text{
        top: 60vh;
        left: 12%;    /*14vw 12%*/
        font-size: clamp(30px,4.6vw,64px);
        line-height: clamp(37px,5.7vw,80px);
    }
}
@media (max-width:767px){
    .top-pagetop-text{
        top: 300px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 16px);
        font-size: clamp(40px, 10vw, 87px);
        line-height: clamp(64px,10.2vw,104px);
    }
}

.top-pagetop-box-second{
    display: flex;
    flex-flow: nowrap;
    padding-left: 2vw;
}
@media (max-width:767px){
    .top-pagetop-box-second{
        display: block;
    }
}

.top-pagetop-text span{
    letter-spacing: 10px;
    letter-spacing: clamp(7px,0.5vw,10px);    /*chromeだと%サポートされてないっぽい*/
}
@media (min-width:768px) and (max-width:1400px){
    .top-pagetop-text span{
        letter-spacing: 6px;
        letter-spacing: 10%;
    }
}
@media (max-width:767px){
    .top-pagetop-text span{
        letter-spacing: 4px;
        letter-spacing: 10%;
    }
}

.top-pagetop-text span.first{
    padding-left: 2vw;
    position: relative;
}

/*お　の赤丸*/
.top-pagetop-text span.first::before{
    position: absolute;
    content: '';
    top: 0px;
    left: 1.2vw;
    background-color: #FF0000;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: -1;
}
@media (min-width:401px) and (max-width:530px){
    .top-pagetop-text span.first::before{
        left: 1vw;
        height:clamp(40px, 12vw, 87px);
        top: 8%;
    }
}
@media (max-width:420px){
    .top-pagetop-text span.first::before{
        height: 80%;
        left: 1vw;
        top: 8px;
    }
}

/*fade*/
.top-pagetop-text .top-pagetop-box{
    overflow: hidden;
    height: 130px;
}
@media (min-width:768px) and (max-width:1400px){
    .top-pagetop-text .top-pagetop-box{
        height: clamp(41px,6.3vw,90px);
    }
}
@media (max-width:767px){
    .top-pagetop-text .top-pagetop-box{
        height: clamp(66px,12vw,140px);
        line-height: clamp(66px,12vw,140px);
    }
}
.top-pagetop-text span.fade-in{
    transition-delay: .4s;
    display: block;
    transition: transform 1.5s cubic-bezier(.23,1,.32,1) 0s;
    transform: translateY(70%);
}

.top-pagetop-text span.fade-in.is-inview{
    transform: translateY(0);
}
/* message
--------------------------------------------*/
#message{
    min-height: 922px;
    padding: 127px 0 119px 0;
/*     background-color: #2B2118; */
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}
@media (max-width:767px){
    #message{
        height: auto;
        padding: 127px 0 0 0;
    }
}

#message .message-text{
    max-width: 924px;
    width: calc(100% - 32px);
    line-height: 32px;
    font-size: 20px;
    margin-top: 66px;
}
@media (max-width:767px){
    #message .message-text{
        width: auto;
        font-size: 16px;
        padding: 16px;
    }
}

#message .message-text p{
    margin: 32px 0; /*line-heightと同じで仮*/
}

#message .message-text p:last-child{
    text-align: right;
}
@media (max-width:767px){
    #message .message-text p:last-child{
        margin-bottom: 80px;
    }
}

.message-bg{
    position: absolute;
    top: 100vh;
    width: 100%;
    height: 300vh;
    overflow: hidden;
}

.message-bg-black.fade-in{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate3d(-50%, -35%, 0) scale(0);
    content: '';
    width: 300vw;
    height: 300vw;
    border-radius: 50%;
    transition: transform 1.6s cubic-bezier(0.42, 0.06, 0.16, 1);
    z-index: -1;
    background-color: #2B2118;
}
@media (max-width:767px){
    .message-bg-black.fade-in{
        height: 400vh;
        width: 400vh;
    }
}

.message-bg-black.fade-in.is-inview{
    transform: translate3d(-50%, -35%, 0) scale(1);
}

/* business
--------------------------------------------*/
section#business{
    min-height: 1919px;
    background-color: #FFFFFF;
}
@media (min-width:768px) and (max-width:1400px){
    section#business{
        min-height: 1648px;
    }
}
@media (max-width:767px){
    section#business{
        display: flex;
        flex-direction: column;
        padding-bottom: 104px;
    }
}

#business .wrapper{ /*あとで統合するかも　sliderのはみ出しちょん切る用*/
    width: 100%;
    overflow-x: hidden;
}

#business .slider-container{
    margin-top: 100px;
    height: 160px;
    /* overflow: hidden; */
    display: flex;
    flex-flow: nowrap;
    width: calc(2368px * 2);
    animation: slideAnime_business 70s linear infinite both;
}
@media (max-width:767px){
    #business .slider-container{
        height: 96px;
        width: calc(1264px * 2);
    }
}

@keyframes slideAnime_business{
	from {
    transform: translateX(0);
    }
    to {
    transform: translateX(-50%);
    }
}

#business .slider-container .container-image{
    width: 2368px;
    background-image: url("../img/index/slider_business.png");
}
@media (max-width:767px){
    #business .slider-container .container-image{
        width: 1264px;
        background-size: contain;
    }
}

/*中段リスト*/
#business div.business-list{
    min-height: 648px;
    position: absolute;
    top: 595px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    flex-direction: column;
}
@media (min-width:768px) and (max-width:1400px){
    #business div.business-list{
        max-width: 1008px;
        width: 95vw;
        min-height: 456px;
    }
}
@media (max-width:767px){
    #business div.business-list{
        position: relative;
        top: auto;
        left: auto;
        transform: translateX(0);
        margin-bottom: 72px;
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }
}

#business ul.business-list{
    width: 1240px;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    align-content: space-between;
    gap: 24px;
}
@media (min-width:768px) and (max-width:1400px){
    #business ul.business-list{
        max-width: 1008px;
        width: 100%;
        justify-content: space-around;
        align-content: space-around;
    }
}
@media (max-width:767px){
    #business ul.business-list{
        width: calc(100% - 20px);
    }
}

#business ul.business-list li{
    width: 608px;
    height: 264px;
    display: flex;
    flex-direction: row-reverse;
    flex-grow: 1;
    align-items: flex-end;
    justify-content: left;
    gap: 8px;
    background-color: #D8DBE2;
    border-radius: 10px;
    padding: 32px;
    border: 1px solid #FFFFFF;
    transition: 0.4s;
}
@media (min-width:768px) and (max-width:1400px){
    #business ul.business-list li{  /*ul width: 95vw,max-width: 1008px*/
        max-width: calc((1008px - 24px)/ 2) ;
        width: 44.5vw; /*gap +padding*2 +border*/
        min-height: calc(168px - 50px - 24px);
        height: auto;
        justify-content: space-between;
        padding: 24px;
    }
}
@media (max-width:767px){
    #business ul.business-list li{
        width: calc(100vw - 32px);
        height: auto;
        justify-content: space-between;
        padding: 16px;
        padding-top: 32px;
        flex-direction: column-reverse;
    }
}

#business ul.business-list li .business-list-container{
    width: 496px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}
@media (max-width:767px){
    #business ul.business-list li .business-list-container{
        width: 100%;
        flex-direction: column;
        gap: 32px;
    }
}

/*アイコン部分*/
#business ul.business-list .business-image{
    width: 200px;
    aspect-ratio: 1;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
@media (min-width:768px) and (max-width:1400px){
    #business ul.business-list .business-image{
        max-width: 120px;
        width: 31%;
    }
}
@media (max-width:767px){
    #business ul.business-list .business-image{
        max-width: auto;
        width: 160px;
    }
}

#business ul.business-list .business-image img{
    width: 120px;
    transition: 0.4s;
}
@media (min-width:768px) and (max-width:1400px){
    #business ul.business-list .business-image img{
        max-width: 64px;
        width: 53%;
    }
}
@media (max-width:767px){
    #business ul.business-list .business-image img{
        max-width: auto;
        width: 80px;
    }
}

#business ul.business-list dl{
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
@media (min-width:768px) and (max-width:1400px){
    #business ul.business-list dl{
        width: 62%;
        gap: 16px;
    }
}
@media (max-width:767px){
    #business ul.business-list dl{
        gap: 24px;
        width: 100%;
    }
}

#business ul.business-list dt{
    font-size: clamp(10px , 1.8vw, 20px);
    font-weight: bold;
}
@media (max-width:767px){
    #business ul.business-list dt{
        font-size: 20px;
    }
}

#business ul.business-list dd{
    font-size: clamp(7px,1.3vw,15px);
    line-height: 24px;
    height: 72px;
}
@media (max-width:767px){
    #business ul.business-list dd{
        font-size: 16px;
    }
}


/*赤アイコンデザイン*/
#business ul.business-list span{
    width: 40px;
    margin: 4px;
    aspect-ratio: 1;
    background-color: #E9332A;
    border-radius: 50%;
    transition: 0.4s;
}
@media (min-width:768px) and (max-width:1400px){
    #business ul.business-list span{
        background-size: clamp(5px, 1.2vw, 16px);
    }
}

#business span.arrow{
    background-image: url("../img/icon/arrow.png");
    background-position: center;
    background-repeat: no-repeat;
}

#business span.link{
    background-image: url("../img/icon/link.png");
    background-position: center;
    background-repeat: no-repeat;
}

/*hover時*/
@media (min-width:1401px) and (hover: hover) and (pointer: fine) {
    #business ul.business-list a:hover li{
        border-color: #E9332A;
    }
    #business ul.business-list a:hover span{
        width: 48px;
        margin: 0;
    }
    #business ul.business-list a:hover .business-image img{
        width: 136px;   /*1.13倍*/
    }
}

@media (min-width:768px) and (max-width:1400px) and (hover: hover) and (pointer: fine) {
    #business ul.business-list a:hover li{
        border-color: #E9332A;
    }
    #business ul.business-list a:hover span{
        width: 48px;
        margin: 0;
    }
    #business ul.business-list a:hover .business-image img{
        max-width: 72px;
        width: 66%;
    }
}

@media (max-width:767px) and (hover: hover) and (pointer: fine) {
    #business ul.business-list a:hover li{
        border-color: #E9332A;
    }
    #business ul.business-list a:hover span{
        width: 48px;
        margin: 0;
    }
    #business ul.business-list a:hover .business-image img{
        width: 90px;
    }
}

/*もっと見るボタン*/
#business button.viewmore{
    width: 224px;
    height: 72px;
    padding: 16px 24px;
    font-size: 24px;
    font-weight: bold;
    background-color: #E9332A;
    border: none;
    color: #FFFFFF;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.4s;
}
@media (max-width:767px){
    #business button.viewmore{
        position: relative;
        width: calc(100vw - 32px);
    }
}

#business button.viewmore span{
    width: 40px;
    height: 40px;
    display: inline-block;
    background-image: url("../img/icon/arrow-red.png");
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 5;
}

#business button.viewmore::before{
    position: absolute;
    display: inline-block;
    content: '';
    top: 50%;
    right: 5px;
    transform: translate(-50%, -50%);
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    transition: 0.4s;
    z-index: 2;
    background-color: #FFFFFF;
}

#business button.viewmore::after{
    position: absolute;
    display: inline-block;
    content: '';
    top: 50%;
    right: 5px;
    transform: translate(-50%, -50%);
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    transition: 0.4s;
    z-index: 2;
    background-color: #E9332A;
    transform: scale(0);
}

@media (hover: hover) and (pointer: fine) {
    #business button.viewmore:hover{
        background-color: #D8DBE2;
    }
    #business button.viewmore:hover span{
        background-image: url("../img/icon/arrow.png");
    }

    #business button.viewmore:hover::before{
        transform: translate(-50%, -50%) scale(0);
    }

    #business button.viewmore:hover::after{
        transform: translate(-50%, -50%) scale(1);
    }
}

/*area*/
#business .business-area{
    background: url("../img/index/business_background.png") center no-repeat;
    width: 1240px;
    height: 412px;
    position: absolute;
    top: 1347px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 64px;
    color: #FFFFFF;
}
@media (min-width:768px) and (max-width:1400px){
    #business .business-area{
        height: 288px;
        max-width: 1008px;
        width: 95%;
        top: 1174px;
        gap: 3vw;
    }
}
@media (max-width:767px){
    #business .business-area{
        background-image: url("../img/index/business_background_x350.png");
        background-position: top;
        background-size: cover;
        background-repeat: no-repeat;
        height: auto;
        max-width: 767px;
        width: 100%;
        height: 320px;
        position: relative;
        top: 0;
        left: 0;
        transform: translateX(0);
        flex-direction: column;
        margin-bottom: 300px; /*要調整*/
    }
}

#business .business-area .business-area-text{
    display: flex;
    flex-direction: column;
    gap: 17px;
    z-index: 100;
}
@media (min-width:768px) and (max-width:1400px){
    #business .business-area .business-area-text{
        width: 500px;
        margin-right: 10px;
    }
}
@media (max-width:767px){
    #business .business-area .business-area-text{
        position: absolute;
        top: calc(320px + 32px);
        padding: 0 16px;
    }
}

#business .business-area .business-area-text H4{
    background-color: #E9332A;
    font-weight: bold;
    font-size: 24px;
    padding: 8px;
    width: 136px;
    text-align: center;
}
@media (min-width:768px) and (max-width:1400px){
    #business .business-area .business-area-text H4{
        font-size: 20px;
    }
}

#business .business-area .business-area-text .area{
    font-weight: bold;
    font-size: 32px;
}
@media (min-width:768px) and (max-width:1400px){
    #business .business-area .business-area-text .area{
        font-size: 24px;
    }
}
@media (max-width:767px){
    #business .business-area .business-area-text .area{
        font-size: 24px;
        line-height: 40px;
    }
}

#business .business-area .business-area-text p{
    line-height: 24px;
    font-size: 16px;
    font-weight: normal;
}
@media (max-width:767px){
    #business .business-area .business-area-text p{
        color: #2B2118;
    }
}

@media (min-width:768px) and (max-width:1400px){
    #business img.business-area-map{
        max-width: 361px;
        width: 29%;
        aspect-ratio: 1.56;
    }
}
@media (max-width:767px){
    #business img.business-area-map{
        max-width: calc(100vw - 32px);
        clip-path: polygon(14% 0,100% 0, 100% 100%, 14% 100%);
        position: absolute;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }
}

/*overlay*/
#business .business-area-overlay{
    position: absolute;
    top: 0px;
    left: calc(50% - 620px); /*620:1240/2*/
    /* transform: translateX(-50%); */
    z-index: 2;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("../img/index/business_overlay.png");
    width: 1240px;
    height: 412px;
    aspect-ratio: 0.33;
}
@media (min-width:768px) and (max-width:1400px){
    #business .business-area-overlay{
        width: clamp(100%,100%,1008px);
        height: clamp(280px,30vw,333px);
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url("../img/index/business_overlay.png");
        left: 0;
    }
}
@media (max-width:767px){
    #business .business-area-overlay{
        max-width: 321px;
        width: calc(100vw - 32px);
        aspect-ratio: 0.83;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url("../img/index/business_overlay_x350.png");
        left: auto; /*0.83/2 transform-50%*/
        top: -30px;
    }
}
/* property
--------------------------------------------*/
section#property{
    height: 1239px;
    background-color: #D8DBE2;
}
@media (max-width:767px){
    section#property{
        height: auto;
        padding: 104px 0;
    }
}

#property .property-slider-arrow{
    width: 152px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    pointer-events: none;
    visibility: hidden;
}
@media (min-width:768px){
    #property .property-slider-arrow.top{
        position: absolute;
        top: 311px;
        left: 75%;
        visibility: visible;
        pointer-events: all;
    }
}
@media (max-width:767px){
    #property .property-slider-arrow.bottom{
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        visibility: visible;
        pointer-events: all;
        margin: 40px 0;
    }
}

/*slider-button*/
#property .property-slider-arrow span{
    width: 64px;
    aspect-ratio: 1;
    background-color: #FFFFFF;
    border-radius: 50%;
}

#property .property-slider-arrow .slider-arrow-right{
    background-image: url("../img/icon/arrow_right.png");
    background-position: center;
    background-repeat: no-repeat;
}

#property .property-slider-arrow .slider-arrow-left{
    background-image: url("../img/icon/arrow_left.png");
    background-position: center;
    background-repeat: no-repeat;
}

/*slider本体*/
#property .property-slider-list{
    position: absolute;
    top: 439px;
    width: 100%;
    overflow-x: hidden;
}
@media (max-width:767px){
    #property .property-slider-list{
        position: relative;
        top: 0;
        margin-top: 32px;
    }
}

#property .property-slider-list .property-slider-content{
    width: 386px;
    height: 499px;
    position: relative;
    border-radius: 16px;
    background-color: #FFFFFF;
    margin-left: 20px;
    margin-right: 20px;
    transition: 0.5s ease-in-out;
    margin-top: 40px;
}
@media (max-width:767px){
    #property .property-slider-list .property-slider-content{
        width: 300px;
        height: 386px;
    }
}

/*偶数スライドが上margin:40px;*/
@media (min-width:768px){
    #property .property-slider-list .property-slider-content.odd_slide{
        margin-top: 0px;
    }
}

/*上半分*/
#property .property-slider-content p.category{
    width: 144px;
    padding: 16px;
    background-color:#D8DBE2;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0 0 0 16px;
    font-size: 16px;
    font-weight: bold;
    color: #E9332A;
}

#property .property-slider-content p.category::before,#property .property-slider-content p.category::after{
    position: absolute;
    content: '';
    width: 16px;
    height: 16px;
    background: transparent;
    border-radius: 50%;
}

#property .property-slider-content p.category::before{
    top: 0;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 8px -8px 0 0 #D8DBE2;
}

#property .property-slider-content p.category::after{
    bottom: 0;
    right: 0;
    transform: translateY(100%);
    box-shadow: 8px -8px 0 0 #D8DBE2;
}

#property .property-slider-content .img-container img{
    border-radius: 16px;
    object-fit: cover;
    object-position: center top;
    width: 386px;
    height: 240px;
}
@media (max-width:767px){
    #property .property-slider-content .img-container img{
        width: 300px;
        height: 186px;
    }
}

#property .img-container{
    height: 240px;
    overflow: hidden;
}
@media (max-width:767px){
    #property .img-container{
       height: 186px;
    }
}

/*下半分*/
#property .property-slider-list .content-text{
    width: 100%;
    height: 259px;
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 0 0 16px 16px;
}
@media (max-width:767px){
    #property .property-slider-list .content-text{
        width: 100%;
        height: 200px;
        padding: 16px;
    }
}

#property .property-slider-list .content-text .name{
    font-size: 20px;
    font-weight: bold;
}
@media (max-width:767px){
    #property .property-slider-list .content-text .name{
        font-size: 16px;
    }
}

#property .property-slider-list .content-text .address{
    margin-top: 16px;
    line-height: 24px;
    font-size: 16px;
}
@media (max-width:767px){
    #property .property-slider-list .content-text .address{
        font-size: 13px;
    }
}

#property .property-slider-list .content-text .access{
    text-indent: 1.1em;
    line-height: 24px;
    font-size: 16px;
    position: relative;
}
@media (max-width:767px){
    #property .property-slider-list .content-text .access{
        font-size: 13px;
    }
}

#property .property-slider-list .content-text .access::before{
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 16px;
    aspect-ratio: 1;
    background-color: #E9332A;
    border-radius: 50%;
}
@media (max-width:767px){
    #property .property-slider-list .content-text .access::before{
        width: 13px;
    }
}

#property .property-slider-list .content-text .price{
    color: #E9332A;
    font-size: 32px;
    font-weight: bold;
    text-align: right;
    margin-top: 32px;
}
@media (max-width:767px){
    #property .property-slider-list .content-text .price{
        font-size: 24px;
        margin-top: 16px;
    }
}

#property .property-slider-list .content-text .price .tax{
    font-size: 16px;
}

/*viewmore-button*/
#property .viewmore{
    position: absolute;
    top: 1042px;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width:767px){
    #property .viewmore{
        position: relative;
        margin: 0 16px;
        top: 0;
        left: 0;
        transform: none;
        width: calc(100% - 32px);
    }
}

/* records_renovation
--------------------------------------------*/
.outer{
    display: flex;
    justify-content: center;
}

section#records_renovation{
    background-color: #2B2118;
    padding: 120px 80px;
}
@media (max-width:767px){
    section#records_renovation{
        padding: 64px 16px;
    }
}

#records_renovation .container{
    height: 100%;
    width: 100%;
    display: flex;
    gap: 80px;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
}
@media (min-width:768px) and (max-width:1400px){
    #records_renovation .container{
        gap: 32px;
    }
}
@media (max-width:767px){
    #records_renovation .container{
        flex-direction: column;
        gap: 32px;
    }
}

#records_renovation .contents{
    width: 100%;
    border-radius: 16px;
    padding: 80px;
    margin: 0;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 64px;
    transition: 0.5s;
}
@media (min-width:768px) and (max-width:1400px){
    #records_renovation .contents{
        width: 100%;
        padding: 40px;
        gap: 32px;
    }
}
@media (max-width:767px){
    #records_renovation .contents{
        width: calc(100% - 48px);
        padding: 24px;
        margin: 0px;
        gap: 40px;
    }
}

#records_renovation a:hover.contents{
    margin: 20px;
    padding: 60px;
}
@media (min-width:768px) and (max-width:1400px){
    #records_renovation a:hover.contents{
        padding: 20px;
    }
}
@media (max-width:767px){
    #records_renovation a:hover.contents{
        padding: 12px;
        margin: 12px;
    }
}

#records_renovation .contents.records{
    background-color: #E9332A;
}

#records_renovation .contents.renovation{
    background-color: #E8762A;
}

#records_renovation .contents .text{
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 44px;
}
@media (min-width:768px) and (max-width:1400px){
    #records_renovation .contents .text{
        gap: 0.8vw;
    }
}
@media (max-width:767px){
    #records_renovation .contents .text{
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

#records_renovation .contents .text img{
    width: 38%;
    aspect-ratio: 1.6;
    margin: auto 0;
}
@media (max-width:767px){
    #records_renovation .contents .text img{
        width: 100%;
    }
}

#records_renovation .contents .text p{
    font-size: 16px;
    line-height: 24px;
    width: 316px;
}
@media (min-width:768px) and (max-width:1400px){
    #records_renovation .contents .text p{
        max-width: 240px;
        width: 50%;
        font-size: 1.2vw;
    }
}
@media (max-width:767px){
    #records_renovation .contents .text p{
        width: 100%;
    }
}

#records_renovation .contents .title{
    font-size: 36px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (min-width:768px) and (max-width:1400px){
    #records_renovation .contents .title p{
        font-size: 3vw;
    }
}
@media (max-width:767px){
    #records_renovation .contents .title p{
        font-size: 24px;
    }
}


#records_renovation .contents .title .arrow{
    height: 50px;
    width: 58px;
    overflow: hidden;
    position: relative;
}

#records_renovation .contents .title .arrow::before,
#records_renovation .contents .title .arrow::after{
    content: "";
    height: 50px;
    width: 58px;
    position: absolute;
    background-image: url("../img/icon/arrow_big.png");
    top: 0;
    right: 0;
    animation-fill-mode: forwards;
    animation-duration: 0.6s;
}

#records_renovation .contents .title .arrow:after{
    transform: translateX(-100%);
}

#records_renovation a:hover.contents .title .arrow::after{
    animation-name: transformLeftRight;
    animation-delay: 0.2s;
}

#records_renovation a:hover.contents .title .arrow::before{
    animation-name: transformRightLeft;
    animation-delay: 0;
}

@keyframes transformLeftRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes transformRightLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}