@charset "UTF-8";
/* オープニング */
.intro {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: #F6F1E6;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
}
.intro img {
    width: 350px;
    max-width: 70%;
    height: auto;
    opacity: 0;
    animation: logoFade 1.2s ease forwards;
}

/* ロゴがふわっと現れる */
@keyframes logoFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about{
    text-align: center;
    font-size: 1rem;
    margin: 100px 100px;
    line-height: 2rem;
    letter-spacing: 0.3rem;
}
h2 {
    display: inline-flex;
    align-items: stretch;
    width: fit-content;
    font-size: 2rem;
    font-weight: bold;
    border-bottom: 1px solid #4A2828;
    margin-bottom: 60px;
}
h2::before {
    content: "";
    width: 5px;
    background-color: #4A2828;
    margin-right: 5px;
}
h2 span {
    border-left: 1px solid #4A2828;
    padding-left: 10px;
}
.news_list{
    display: grid;
    grid-template-columns: 120px 1fr;
    row-gap: 15px;
    margin-left: 60px;
}
.news_list dd,
.news_list dt{
    font-size: 1.25rem;
}
.news_list dd:hover{
    text-decoration:underline #4A2828;
}
.andmore{
    font-size: 1.25rem;
    text-align: right;
    margin-bottom: 60px;
    margin-top: 30px;
}
.gallery{
    gap: 32px;
}
.box{
    flex: 1;
    min-width: 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 3px 10px 1px  #4A2828;
}
.box a{
    display: block;
}
.box_img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.box_img{
    margin: 20px 20px 0;
}

.box_tag {
    display: block;
    width: fit-content;
    padding: 3px 12px;
    margin: 12px auto;
    border-radius: 10px;
    font-size: 0.875rem;
}

.box_tag.pottery{
    color: #D8B7AE;
    border: 1px solid #D8B7AE;
}
.box_tag.fabric{
    color: #AFCFD8;
    border: 1px solid #AFCFD8;
}
.box_tag.handwork{
    color: #A8BA8A;
    border: 1px solid #A8BA8A;
}
.box_day{
    text-align: left;
    padding-left: 20px;
}
.box_title{
    font-size: 1.25rem;
    font-weight: bold;
    margin:0 20px 50px;
    text-align: left;
}
.box_title span{
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}
.gallery .box_img {
    transition: transform 0.3s ease;
}

.gallery .box a:hover .box_img {
    transform: translateY(-5px);
}

@media screen and (max-width: 767px) {
    .about{
        margin: 40px 20px;
        font-size: 0.875rem;
        line-height: 1.8;
        letter-spacing: 0.05rem;
    }
    .about_text{
        font-size: 0.85rem;
    }
    h2{
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    .news_list{
        display: block;
        margin-left: 0;
    }
    .news_list dt{
        margin-top: 20px;
    }
    .news_list dd{
        padding-bottom: 10px;
        border-bottom: 1px solid #c2b495;
    }
    .andmore{
        font-size: 0.875rem;
        margin-top: 20px;
        margin-bottom: 50px;
    }
    .gallery{
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .gallery .box a{
        text-align: center;
    }
    .gallery .box{
        width: 250px;
        height: 250px;
        flex: none;
        box-sizing: border-box;
    }
    .gallery .box_img img {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }
    .box .box_day{
        font-size: 1rem;
    }
    .box .box_tag{
        font-size: 0.75rem;
        margin: 10px auto;      
    }
    .box .box_title{
        font-size: 14px;
    }
    .box .box_title span{
        font-size: 0.75rem;
    }    
}

@media screen and (min-width:768px) and (max-width:1100px) {
    .gallery{
        flex-wrap: wrap;
    }
    .gallery .box{
        flex: 1 1 220px;
    }
    .box_title{
        margin-left: 15px;
        margin-right: 15px;
        font-size: 1.1rem;
    }  
}





