
.p-index {
    max-width: 1000px;
    margin: 80px auto 160px;
    padding: 0 20px 30px;
}
@media (max-width: 820px) {
    .p-index {
        margin: 40px 15px 80px;
        padding: 0 0 30px;
    }
}

.p-index__head {
    /* display: flex;
    justify-content: space-between; */
}

.p-index__title {
    color: #333;
    font-size: 28px;
    font-weight: bold;
}

@media (max-width: 820px) {
    .p-index__title {
        font-size: 22px;
    }

}
.p-index__navi {
}
.p-index__navi__list {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    max-width: 1040px;
    padding: 30px 0 20px;
}
.is-fixed .p-index__navi__list {
    position: fixed;
    width: 100%;
    padding: 30px 20px 20px;
    top: 0;
    left: 50%;
    box-sizing: border-box;
    transform: translate(-50%,0);
    z-index: 99;
    background: #fff;
}
.is-fixed .p-index__navi__list:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 100vw;
    height: 100%;
    transform: translate(-50%, 0);
    background: #fff;
}

.p-index__navi__list li {
    position: relative;
    z-index: 2;
    margin-right: 16px;
    margin-bottom: 16px;
}

.p-index__navi__list li a {
    background: #E35D54;
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    text-align: center;
    line-height: 24px;
}
.detect-pc .p-index__navi__list li a:hover {
    opacity: 0.75;
}

@media (max-width: 820px) {
    .p-index__navi {
    }
    .p-index__navi__list {
        display: flex;
        font-size: 13px;
        padding: 20px 0 10px;
    }
    .is-fixed .p-index__navi__list {
        padding: 20px 15px 10px;
        top: 50px;
        left: 0;
        transform: none;
    }
    .p-index__navi__list li {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    .p-index__navi__list li a {
        width: 20px;
        height: 20px;
        line-height: 18px;
    }
}

.p-index__section {
    position: relative;
    margin: 80px 0 0;
}

.p-index__syllabary {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.p-index__head + .p-index__section {
    margin: 60px 0 0;
}
@media (max-width: 820px) {
    .p-index__section {
        margin: 60px 0 0;
    }
    .p-index__head + .p-index__section {
        margin: 40px 0 0;
    }
    .p-index__syllabary {
        font-size: 25px;
    }
}

.p-index__list {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
}

.p-index__list > li {
    display: flex;
    width: 32%;
    background: #fff;
    margin-left: 2%;
}
.p-index__list > li:nth-child(n + 4) {
    margin-top: 20px;
}
.p-index__list > li:nth-child(3n + 1) {
    margin-left: 0;
}
@media (max-width: 820px) {
    .p-index__list {
        margin: 20px 0;
    }
    .p-index__list > li {
        display: flex;
        width: 49%;
        background: #fff;
        margin-left: 2%;
    }
    .p-index__list > li:nth-child(n + 3) {
        margin-top: 15px;
    }
    .p-index__list > li:nth-child(3n + 1) {
        margin-left: 2%;
    }
    .p-index__list > li:nth-child(2n + 1) {
        margin-left: 0;
    }
}
@media (max-width: 640px) {
    .p-index__list > li {
        display: flex;
        width: 100%;
        background: #fff;
        margin-left: 0 !important;
    }
    .p-index__list > li:nth-child(n + 2) {
        margin-top: 15px;
    }
}

.p-index__box {
    display: flex;
    flex-direction: column;
    padding: 10px 0 0;
    margin-left: 15px;
    align-content: center;
    justify-content: flex-start;
    flex-grow: 1;
    border-top: 1px solid #ccc;
}

.p-index__image {
    width: 100px;
    display: flex;
    flex-shrink: 0;
}

@media (max-width: 820px) {
    .p-index__image {
        width: 80px;
        display: flex;
        flex-shrink: 0;
    }
}
.p-index__image a {
    display: block;
    width: 100%;
    padding-top: 100%;
    height: 0;
    background-size: cover;
    background-position: center center;
}
.detect-pc .p-index__image a:hover {
    opacity: 0.75;
}
.p-index__image img {
    width: 100%;
    height: auto;
}
.p-index__name {
    font-size: 14px;
    line-height: 1.5;
}
.p-index__name a {
    text-decoration: none;
}
.detect-pc .p-index__name a:hover {
    text-decoration: underline;
}

.p-index__available {
	min-width: 70px;
	box-sizing: border-box;
    padding: 2px 15px;
    clear: both;
    font-weight: bold;
	text-align: center;
	font-size: 14px;
	display: inline-block;
    color: #fff;
    margin-top: 10px;
    max-width: 100px;
}
	.p-index__available._open {
		background: #E35D54;
	}
	.p-index__available._close {
		background: #506570;
	}
	.p-index__available._plan {
		padding: 2px 5px;
		background:#FF7F00 ;
	}

    /* WEB-5350 物件名から探す　フッターまでスクロールした時に、閲覧履歴が物件名の索引の両サイドからはみ出て見える */
    .c-history {
        background: #fff;
        padding-bottom: 107px;
        margin-bottom: -47px;
    }
    #footer_rwd {
        position: relative;
        z-index: 100;
    }