/* Home page content styles */
div.content {
    max-width: 80%;
}
.content-wrapper {
    /* background: linear-gradient(90deg, #fdf6f0 0%, #fff 50%, #fdf6f0 100%); */
    background-color: #fdf4ef;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%23D2B48C' fill-opacity='0.24'%3E%3Cpath d='M12 0h18v6h6v6h6v18h-6v6h-6v6H12v-6H6v-6H0V12h6V6h6V0zm12 6h-6v6h-6v6H6v6h6v6h6v6h6v-6h6v-6h6v-6h-6v-6h-6V6zm-6 12h6v6h-6v-6zm24 24h6v6h-6v-6z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 96px 96px;
}
.content-wrapper>.content {
    padding: 0 .5rem;
    margin: 0 auto;
} 
.content-header {
    margin-bottom: 5rem;
}

/* Home page slick styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
.slider {
    display: flex;
    justify-content: center; /* 中央揃え */
    align-items: center;     /* 縦方向も中央に */
    width: 90%;        /* スライダー全体の最大幅 */
    margin: 0 auto;          /* 中央寄せ */
    padding: 0 1.5vw;         /* スライドの左右の余白 */
}

.slick-slide {
    transition: transform 1.5s ease;
}

.slick-slide img {
    height: 30vw; 
    max-height: 350px; 
    min-height: 50px; 
    border-radius: 10px;
    margin: auto;
    border:5px dashed #c9a07f;
}
.slick-slide {
    -webkit-transition: 1.6s ease-in-out;
    transition: 0.6s ease-in-out;
    transform: scale( .75 );
}
.is--active {
    transform: scale( 1 );
}

@media only screen and (min-width: 200px) {
    .knit-title {
        font-family: 'Cursive', sans-serif;
        font-weight: bold;
        font-size: 1.2rem;
        color: #5c4033;
        margin: auto 5px;
    }
    .knit-subtitle {
        color: #fff;
    }
    .knit-line {
        flex: 1;
        height: 0.1rem;
        background-image: repeating-linear-gradient(
            45deg,
            #c19f80,
            #c19f80 1px,
            transparent 1px,
            transparent 2px
        );
        margin: 0 5px;
    }
    .knit-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
        width: 60%;
    }
}

/*画面サイズに合わせた変更*/
@media screen and (min-width: 800px) {
    .knit-title {
        font-family: 'Cursive', sans-serif;
        font-weight: bold;
        font-size: 1.8rem;
        color: #5c4033;
        margin: 0 10px;
    }
    .knit-subtitle {
        font-size: 0.9rem;
        color: #aaa;
        letter-spacing: 1px;
    }
    .knit-line {
        flex: 1;
        height: 2px;
        background-image: repeating-linear-gradient(
            45deg,
            #c19f80,
            #c19f80 4px,
            transparent 4px,
            transparent 8px
        );
        margin: 0 10px;
    }
    .knit-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
        width: 40%;
    }
}
@media only screen and (min-width: 200px) {
    .more-title {
        font-family: 'Cursive', sans-serif;
        font-weight: bold;
        font-size: 1.2rem;
        color: #5c4033;
        margin: auto 5px;
    }
    .more-line {
        flex: 1;
        height: 0.1rem;
        background-image: repeating-linear-gradient(
            45deg,
            #c19f80,
            #c19f80 1px,
            transparent 1px,
            transparent 2px
        );
        margin: 0 5px;
    }
    .more-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
        width: 90%;
    }
}

/*画面サイズに合わせた変更*/
@media screen and (min-width: 800px) {
    .more-title {
        font-family: 'Cursive', sans-serif;
        font-weight: bold;
        font-size: 1.4rem;
        color: #5c4033;
        margin: 0 10px;
        transition: transform 1.5s ease;
    }
    more-title:hover {
        color: #baaca5;
        text-decoration: none;
    }
    .more-line {
        flex: 1;
        height: 2px;
        background-image: repeating-linear-gradient(
            45deg,
            #c19f80,
            #c19f80 4px,
            transparent 4px,
            transparent 8px
        );
        margin: 0 10px;
    }
    .more-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
        width: 60%;
    }
}

/* Home page list styles */
.post-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}
.post-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 0.8rem 0rem;
}
.post-content {
    margin: 5px 0;
    color: #7b726f;
    clear: both;
}
.post-text:last-child {
    margin-bottom: 0;
}

/* Home page banner styles */
.banner {
    position: relative;
    width: 100%;
    height: 300px; /* 適宜変更 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    padding-right: 10%;
    border-radius: 5px;
}

.banner-content {
    background: rgba(255, 255, 255, 0.8); /* 背景を半透明に */
    padding: 20px;
    border-radius: 5px;
}

.sub-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #777;
}

.banner-title {
    font-size: 28px;
    font-weight: bold;
}

/* Home page banner styles */
.btn-outline-amimono {
    border: 2px solid #D2691E; /* 縫い目風のボーダー */
    color: #8B4513;
    background-color: transparent;
    font-weight: bold;
}
.btn-outline-amimono:hover {
    background-color: #D2691E;
    color: white;
}
.middle-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: space-around;
}
.col-md-20p {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 7.5px;
}
/* Hover card styles */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px dashed #D2691E; /* 縫い目風のボーダー */
}
.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}