@charset "utf-8";

section.casalist {
	padding: 15rem 0 24rem;
	justify-content: flex-end;
    position: relative;
}
section.casalist .ttlBox {
	margin: 6.7% 6rem 0 2rem;
	max-width: 65rem;
	flex: 1;
	position: relative;
	z-index: 1;
}
section.casalist .ttlBox:after {
	position: absolute;
	left: -15.1rem;
	bottom: -24rem;
	width: 65.3rem;
	height: 85rem;
	z-index: -1;
	background: url(../img/index/showroom_img.png) no-repeat left bottom/100% auto;
	content: "";
}
section.casalist .ttlBox .ttl {
	margin-bottom: 7rem;
	font-size: 5.2rem;
	line-height: 1.6;
	letter-spacing: 0.07em;
}
section.casalist .ttlBox .ttl .large {
	margin-right: 0.2rem;
	color: #3b586f;
	font-size: 13.7rem;
	vertical-align: -2.8rem;
}
section.casalist .ttlBox .ttl .sub {
	display: block;
	margin: -6.2rem 0 0 4.5rem;
}
section.casalist .ttlBox .ttl .sub .large {
	vertical-align: -0.7rem;
}
section.casalist .ttlBox h2 {
	margin-bottom: 3.2rem;
	font-size: 3.2rem;
	text-align: left;
}ection.casalist .ttlBox p {
	margin-bottom: 6.8rem;
	line-height: 2.25;
}
section.casalist .ttlBox .comBtn a {
	margin: 0;
}
section.casalist .linkUl {
	width: calc(50% + 10rem);
}
section.casalist .linkUl li:not(:last-child) {
	margin-bottom: 2rem;
}
section.casalist .linkUl li {
	position: relative;
}
section.casalist .linkUl img.bg {
	width: 100%;
	transition: .3s;
}
section.casalist .linkUl li:after {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	content: "";
}
section.casalist .linkUl .enTtl {
	margin-bottom: 0;
	position: absolute;
	left: 3rem;
	bottom: 2.4rem;
	font-size: 4.2rem;
	letter-spacing: 0.1em;
    background: #FFF;
	z-index: 1;
    width: 340px;
    text-align: center;
}
.lineup_unit01 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-image: url("../images/lineup_img01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 10% 5%;
  position: relative;
  z-index: 0;
}
.lineup_unit01:hover {
  text-decoration: none;
}
.lineup_unit01::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.5s;
  position: absolute;
  z-index: -1;
}
.lineup_unit01:hover::before {
  width: 100%;
  right: 0;
  transition: all 0.5s;
}
.lineup_unit02 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-image: url("../images/lineup_img02.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 10%;
  position: relative;
  z-index: 0;
}
@media screen and (min-width: 768px) {
    .lineup_unit01 {
    }
    .lineup_unit02 {
        width: 50%;
    }
}
.lineup_unit02:hover {
  text-decoration: none;
}
.lineup_unit02::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.5s;
  position: absolute;
  z-index: -1;
}
.lineup_unit02:hover::before {
  width: 100%;
  right: 0;
  transition: all 0.5s;
}
.lineup_unit_inner {
  display: inline-block;
  text-align: center;
}
.lineup_unit_txt1 {
  color: #fff;
  font-weight: 600;
}
@media screen and (min-width: 1200px) {
  .lineup_unit_txt1 {
    margin-bottom: 2rem;
  }
}


.buildconsult.pc {    display: block; margin-top: 5rem;}
.buildconsult.sp {    display: none;}

.buildconsult {
    padding: 50px 0;
}
.buildconsult img {
    max-width: 580px;
    width: 100%;
    transform: scale(1) !important;
}
.descTxt {
    font-size: 2.2rem;
    margin: 1rem 0;
}
@media screen and (max-width: 768px) {
    .buildconsult.pc {    display: none;}
    .buildconsult.sp {    display: block;}
    .buildconsult {
        padding: 0 40px 20px;
        position: static;
    }
    .descTxt {
        font-size: 1.6rem;
        margin-top: 0.5rem;
    }
}
.lineup_btnbox {
  margin: 3rem auto 2rem;
}
.btn_w {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 30px;
  text-align: center;
  position: relative;
  width: 200px;
  margin: 0 auto;
  font-family: 'Manrope', sans-serif;
}
@media screen and (min-width: 1200px) {
  .btn_w {
    width: 270px;
    padding: 17px;
  }
}
.btn_w.in::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../assets/images/casa/arrow_w.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 23px;
  transform: translate(-50%, -50%);
}
.btn_w.ex::after {
    content: url("/assets/images/common/external-wh.svg");
    margin-left: 0.6rem;
    transition: 0.5s;
    display: inline-block;
}

.linkUl li {
    position: relative;
    margin: 50px auto;
    width: 100%;
    aspect-ratio: 2.21 / 1;
    overflow: hidden;
    opacity: 1; /* 初期状態は透明 */
}
.linkUl li::before,
.linkUl li::after {
}
.linkUl li::after {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -10;
}
.linkUl li img.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    opacity: 0.5;
}
.linkUl li p {
    text-align: center;
}
.linkUl li.visible {
    opacity: 1; /* 表示 */
}
.linkUl li.visible::before,
.linkUl li.visible::after {
    transform: scale(1); /* 対角線アニメーションを描画 */
}
.linkUl li.visible img.bg {
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s; /* ボーダーアニメーション後にフェードイン */
}
.linkUl li.visible p {
    opacity: 1; /* テキストフェードイン */
}
.linkUl li img.logo {
    width: 360px;
    filter: brightness(0) invert(100%);
}

@media screen and (max-width: 896px) {
    section.casalist {
        padding: 5rem 0;
        justify-content: flex-end;
    }
    section.casalist .ttlBox {
        margin: 0 2rem 0 2rem;
        max-width: 100%;
        line-height: 1.8;
    }
    section.casalist .ttlBox:after {
        width: 24.5rem;
        height: 32.5rem;
        bottom: 0;
        left: 0;
    }
    section.casalist .ttlBox .ttl {
        margin-bottom: 4rem;
        font-size: 3.2rem;
    	line-height: 1.6;
        letter-spacing: 0.07em;
    }
    section.casalist .ttlBox h2 {
        margin-bottom: 1.5rem;
        font-size: 2.2rem;
    }
    section.casalist .linkUl {
        width: 100%;
    }
    .linkUl li img.logo {
        width: 300px;
        filter: brightness(0) invert(100%);
    }
    .lineup_btnbox {
        margin: 1rem auto 0;
    }
}

