main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f5e9;
    color: #3b3b3b;
}
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fv__image-container {
    width: 100%;
}
.container {
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
img {
    width: 100%;
}
.sp {
    display: none;
}

/* first view section */
.fv {
    width: 100%;
}
/* -- catch section -- */
.catch {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
h2.catch__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}
h2.catch__title::after {
    content: "";
    width: 80%;
    height: 10px;
    border-radius: 20px;
    background: rgba(249, 249, 167, .8);
    position: absolute;
    top: 38px;
}
h2.catch__title span {
    font-size: 35px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.catch__text {
    font-size: 20px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
}
.catch__text span {
    color: red;
    font-weight: 400;
}

/* -- period section -- */
.period_img {
    width: 50%;
    margin: 100px auto;
}

/* -- brand section -- */
.brands__grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 100px auto;
}
.brand-card {
    width: 48%;
}
.brand-card:nth-child(n + 3) {
    margin-top: 4%
}
.brand-card img {
    border-radius: 15px;
    transition: all .3s ease;
    box-shadow: 5px 5px 10px rgba(0,0,0,.3);
}
.brand-card img:hover {
    box-shadow: none;
}

/* -- store section -- */
.pdf-frame {
    margin: 100px auto;
    width: 100%;
    overflow: hidden;
}
iframe {
    width: 100%;
    height: 70vh;
    border: none;
}

/* index-2 css */
.store_btn {
    display: flex;
    width: 80%;
    height: 80px;
    margin: 50px auto 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #e7e2a7, #ebdd41);
    border-radius: 50px;
    transition: all 0.3s;
}
.store_btn:hover {
    background: #3b3b3b;
    color: #fff;
}
.store_btn span {
    font-size: 20px;
    font-weight: bold;
}

/* caption section */
.caption_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 100px 0;
}
.caption_item {
    font-size: 20px;
    line-height: 1.5;
}

/* title style */
.side__title {
    display: block;
    width: 100%;
}
.side__title img {
    width: 100%;
}

@media screen and (max-width: 580px) {
    .fv__image-container {
        background: #fff;
    }
    .container {
        width: 95%;
        max-width: 700px;
    }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }

    /* -- catch section -- */
    .catch {
        margin-top: 50px;
    }
    h2.catch__title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    h2.catch__title::after {
        width: 80%;
        height: 5px;
        top: 28px;
    }
    h2.catch__title span {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .catch__text {
        font-size: 15px;
        margin-bottom: 50px;
        text-align: center;
    }
    .catch__text span {
        font-size: 14px;
        margin-top: 10px;
    }

    /* -- period section -- */
    .period_img {
        width: 90%;
        margin: 50px auto;
    }

    /* -- brand section -- */
    .brands__grid {
        margin: 50px auto;
        flex-direction: column;
        align-items: center;
    }
    .brand-card {
        width: 90%;
    }
    .brand-card:nth-child(n + 2) {
        margin-top: 5%
    }

    /* -- store section -- */
    .pdf-frame {
        margin: 50px auto;
        width: 90%;
        overflow: hidden;
    }
    iframe {
        width: 100%;
        height: 70vh;
        border: none;
    }

    /* index-2 css */
    .store_btn {
        height: 50px;
        margin: 50px auto;
        border-radius: 30px;
    }
    .store_btn:hover {
        background: linear-gradient(90deg, #e7e2a7, #ebdd41);
        color: #3b3b3b;
    }
    .store_btn span {
        font-size: 16px;
    }

    /* caption section */
    .caption_list {
        margin: 50px 0;
    }
    .caption_item {
        font-size: 14px;
        line-height: 1.8;
    }
}


/* アニメーション　css */
.under-in {
    opacity: 0;
    transform: translateY(50px); /* 下から浮かび上がる */
    transition: opacity 1s ease, transform 1s ease;
}
.under-in.visible {
    opacity: 1;
    transform: translateY(0); /* 最終位置に配置 */
}
.under-in.active {
    opacity: 1; /* 表示 */
    transform: translateY(0); /* 元の位置に移動 */
}