@charset "utf-8";

/* 
	lastup date: 2026.06.10
*/

#home-thinking {
    padding: 50px 0 25px;
    background: #F0F0F0;
}
#home-thinking > h2:first-child {
	font-size: 3.6rem;
	font-weight: 600;
	line-height: 1.8;
	text-align: center;
}
#home-thinking > h2:first-child span {
	display: block;
	font-size: 1.6rem;
	font-weight: normal;
	color: #666;
}
#home-service {
    padding: 50px 0 50px;
    background: #FFF;
}
#home-experience {
    padding: 50px 0;
    background: #f5f5f7;
}
h2.section-title {
    margin-bottom: 30px;
    padding: 0 25px;
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}
.cards-wrapper {
    position: relative;
    margin-bottom: 35px;
}
.btn-shop {
    padding: 0 20px 25px;
}

.cards-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 25px 25px 25px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.card {
    overflow: hidden;
    flex: 0 0 400px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    scroll-snap-align: center;
    background: #FFF 50% 50% / cover no-repeat;
}
#home-thinking .card {
    flex: 0 0 350px;
}

.card:first-child {
  margin-left: 50px !important;
}
.card.home-coordinate {
    background-image: url(../img/home/home_coordinate02.jpg);
}
.card.home-renovation {
    background-image: url(../img/home/home_renovation03.jpg);
}
.card.home-minpaku {
    background-image: url(../img/home/home_minpaku02.jpg);
}
.card.home-showcase {
    background-image: url(../img/home/home_showcase01.jpg);
}
.card.home-mics-terrasse {
    background-image: url(../img/home/home_mics_terrasse01.jpg);
}
.card.home-ordercurtain {
    background-image: url(../img/home/home_ordercurtain01.jpg);
}
.card.home-curtain-collection {
    background-image: url(../img/home/home_curtain_collection01.jpg);
}
.card.home-homestaging {
    background-image: url(../img/home/home_homestaging01.jpg);
}
.card.home-curtaindoctor {
    background-image: url(../img/home/home_curtaindoctor01.jpg);
}
.card.home-business {
    background-image: url(../img/home/home_business01.jpg);
}


.card a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 4 / 5;
    height: auto;
    text-decoration: none;
    color: #FFF;
}
.card a div {
    position: relative;
    overflow: hidden;
    padding: 60px 20px 30px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}
.card a div .card-title {
    margin-bottom: 1rem;
    width: fit-content;
    font-size: clamp(1.2rem, 2vw, 2.2rem);
    font-weight: 600;
    line-height: 1.6;
}
.card a div .card-text {
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    line-height: 1.6;
    color: #FFF;
}
.card a div .card-cta {
    display: inline-block;
    border-radius: 4px;
    margin-top: 15px;
    padding: .5em 1em;
    border: 1px solid #FFF;
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    line-height: 1.6;
    color: #FFF;
}


/* boxリンク無しver */
.card .cardbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px 0;
    aspect-ratio: 1 / 1;
    padding: 2.5em;
    height: auto;
    text-decoration: none;
    color: #FFF;
    background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(208, 218, 205, 0) 100%
    );
}
.card .cardbox .card-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.6;
    color: #111;
}
.card .cardbox .card-text p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
}



/* ナビゲーションボタン */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.8);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}
.nav-button span {
    font-size: 40px;
    color: #FFF;
}
.nav-prev { left: 15px; }
.nav-next { right: 15px; }
.nav-button:disabled {
  opacity: 0.3;
  cursor: default;
  box-shadow: none;
}

#cards-scroll.dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

@media (max-width: 960px) {
.card {
    flex: 0 0 350px;
}
.card:first-child {
  margin-left: 0 !important;
}
.nav-button {
    width: 30px;
    height: 30px;
}
.nav-button span {
    font-size: 16px;
    color: #FFF;
}

}

@media (max-width: 768px) {


#home-thinking {
    padding: 50px 0 25px;
}
#home-thinking > h2:first-child {
	font-size: 2.4rem;
}
#home-thinking > h2:first-child span {
	font-size: 1.4rem;
}
#home-service {
    padding: 25px 0;
}
#home-experience {
    padding: 25px 0;
}
h2.section-title {
    margin-bottom: 0px;
    padding: 0 20px;
    font-size: 2.4rem;
}
.cards-wrapper {
    margin-bottom: 0px;
}
.card {
    flex: 0 0 calc(100% / 1.05);
}
.card a {
    aspect-ratio: 4 / 5.5;
}
.card a div {
    padding: 60px 20px 20px;
}
.card a div .card-title {
    font-size: 1.8rem;
}
.card a div .card-text {
    font-size: 1.6rem;
}
#home-thinking .card {
    flex: 0 0 calc(100% / 1.05);
}



}
