

/* common */
.lineup_ttl img{
    max-width: 300px;
    width: 100%;
}

/* style.css打消し */
.p_bg_frame.ver1{
    max-width: 290px;
    width: 100%;
}
/* post.css打消し */
.post_tab {
    max-width: unset;
}
.post_tab li a {
    padding: 20px 10px;
    font-size: var(--text18);
}
.post_cat span{
    background: unset;
    color: #1b1b1b;
    border: 1px solid #1b1b1b;
    padding: 0px 0.5em;
    line-height: 1.5;
}
.sub_tab_contents .post_cat span {
    padding: 0px 0.3em;
    line-height: 1.3;
}
/* MV */
.bg_lineup{
    background: url(../images/lineup/bg_lineup.jpg);
    background-size: cover;
    background-position: center center;
    height: 690px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 599px) {
    .bg_lineup{
        background: url(../images/lineup/sp_mv.jpg);
        background-size: cover;
        background-position: center center;
        height: 100%;
        aspect-ratio: 4 / 7;
    }
}
/* ジブンハウス */
#jibunhouse_list {
    scroll-margin-top: 100px;
}
/* イエテラス */
.main_tab {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 25px;
}
.main_tab li {
	position: relative;
	padding: 20px 5px;
	cursor: pointer;
	color: #1b1b1b;
	transition: all 0.2s;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #1b1b1b;
}
.main_tab li::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #1b1b1b;
	opacity: 0;
}
.main_tab li.active {
	background: #1b1b1b;
	color: #fff;
}
.main_tab li.active::after {
	opacity: 1;
}
.main_tab li + li {
	border-left: none;
}
.sub_tab {
    display: grid;
    grid-template-columns: repeat(var(--tab-count), 1fr);
    border-top: 1px solid #1b1b1b;
    border-left: 1px solid #1b1b1b;
    border-bottom: none;
}

.sub_tab li {
    padding: 15px 5px;
    cursor: pointer;
    color: #1b1b1b;
    background: #eeeeee;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-right: 1px solid #1b1b1b;
    border-bottom: 1px solid #1b1b1b;
}
.sub_tab li.active {
	background: #c03c5c;
	color: #fff;
}
.sub_tab_contents{
    padding: 5%;
    box-sizing: border-box;
    border-right: 1px solid #1b1b1b;
    border-left: 1px solid #1b1b1b;
    border-bottom: 1px solid #1b1b1b;
}
.sub_tab_contents hr {
    margin-top: 5px;
    margin-bottom: 20px;
}
.main_tab_contents,
.sub_tab_contents {
	display: none;
}
.main_tab_contents.active,
.sub_tab_contents.active {
	display: block;
}
@media screen and (max-width: 599px) {
    .sub_tab {
        grid-template-columns: repeat(
            min(var(--tab-count), 3),
            1fr
        );
    }

    .sub_tab[style*="--tab-count: 1"] {
        grid-template-columns: 1fr;
    }

    .sub_tab[style*="--tab-count: 2"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .sub_tab[style*="--tab-count: 3"] {
        grid-template-columns: repeat(3, 1fr);
    }

    .sub_tab[style*="--tab-count: 4"] {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 450px) {
    .sub_tab li {
        font-size: clamp(1.2rem, 1.4vw, 1.5rem)!important;
    }
    .sub_tab li .text_36 {
        font-size: clamp(1.3rem, 3.4vw, 3.6rem)!important;
    }
}