/* === ▼メインビジュアル === */
.topVisual {
    width: 100%;
    height: 100vh;
    padding-top: 60px;
    position: relative;
}

.top_img_wrapper {
    position: absolute;
    height: 88%;
    width: 85%;
    top: 52%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.top_img_container {
    width: 100%;
    height: 100%;
    background-image: url("../img/products/snap-main-sg.webp");
    background-size: cover;
    position: relative;
}

.top_message_wrapper {
    color: #fff;
    position: absolute;
    bottom: 5%;
    left: 5%;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}

.top_message {
    font-size:min(10vw,80px);
    letter-spacing: 5px;
    font-weight: 600;
    line-height: 120%;
}

.top_message span {
    color: #E25761;
}

.top_sub_message {
    font-size:min(3.8vw,30px);
    font-weight: 500;
}



/* === ▲メインビジュアル === */

/* === ▼about us === */
.top_about {
    padding: 100px 0;
    background-image: url(../img/top/25040286_m.webp);
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.about_left {
    width: 90%;
    height: 420px;
    position: relative;
}

.about_img1,
.about_img2 {
    position: absolute;
    object-fit: cover;
    width: 74%;
    height: 240px;
}

.about_img1 {
    left: 0;
    top: 0;
}

.about_img2 {
    right: 0;
    bottom: 0;
}

.top_about_right {
    width: 80%;
    padding-top: 50px;
}

.about_title {
    color: #E25761;
    font-weight: 500;
    margin: 0;
    letter-spacing: 5px;
}

.about_subtitle {
    font-size: 40px;
    letter-spacing: 5px;
}

.about_desc {
    margin-top: 30px;
}

.about_btn {
    margin: 80px 0 40px 0;
}



/* === ▲about us === */
/* === ▼product === */

.product_title {
    font-size:min(6vw,30px);
	font-weight: 500;
    text-align: center;
    letter-spacing: 5px;
    width: 90%;
    margin: 20px auto;
}

.product_title span {
    color: #E25761;
}

.product_subtitle {
    font-size:min(4.2vw,18px);
    text-align: center;
    width: 80%;
    margin: 0 auto 60px;
}

.slide_product{
    width:100%;
}

.product_list {
    position: relative;
}

.product_list_imgbox{
    width: 100%;
    aspect-ratio: 5/4;
}

.top_product_list_title {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2%;
    margin: 0;
    font-weight: 400;
    font-size: 16px;
}


.slide_product_wrapper {
    position: relative;
}

.swiper-pagination.product_pagination {
    position:absolute;
    left: 50%;
    bottom:-40px;  
    transform: translateX(-50%);
  }

  .swiper-pagination.product_pagination .swiper-pagination-bullet-active {
    background-color: #E25761;
  }

  .swiper-button-prev.product_button_prev,
  .swiper-button-next.product_button_next {
    position: absolute;
    top: inherit;
    bottom: -100px;
    border: #424242 0.5px solid;
    border-radius: 50%;
    width: 50px;
    height: 50px;
  }

.swiper-button-prev.product_button_prev {
    left: inherit;
    right: 52%;
}

.swiper-button-next.product_button_next {
    right: inherit;
    left: 52%;
}

.swiper-button-prev.product_button_prev::after,
.swiper-button-next.product_button_next::after {
    content: '';
}

.swiper-button-prev.product_button_prev::before,
.swiper-button-next.product_button_next::before {
    position: absolute;
    top: 50%;
    content: '';
    display: block;
    width: 16%;
    height: 16%;
    border: #424242 1px solid;
    transition: 0.2s;
}

.swiper-button-prev.product_button_prev::before {
    border-top: none;
    border-right: none;
    left: 54%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.swiper-button-next.product_button_next::before {
    border-bottom: none;
    border-left: none;
    right: 54%;
    transform: translate(50%, -50%) rotate(45deg);
}

.swiper-button-prev.product_button_prev:hover::before {
    left: 40%;
}

.swiper-button-next.product_button_next:hover:before {
    right: 40%;
}

.top_product_btn {
    margin-top: 150px;
}

/* === ▲product === */


/* === ▼news === */

.news_wrapper {
    padding-top: 110px;
    padding-bottom: 30px;
}

.news_title {
    text-align: center;
}

.top_news_ul {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px 2%;
}

.top_news_link {
    color: #424242;
}

.top_news_li {
    margin-bottom: 40px;
    padding-bottom: 40px;
    position: relative;
}

.news_list_img_outer {
    width: 100%;
    overflow: hidden;
}

.news_list_img {
    aspect-ratio: 5/3;
    object-fit: cover;
    transition: all 0.6s;
}



/* ▼hoverで画像拡大 */
.top_news_link:hover .news_list_img {
    transform: scale(1.2);
}

.top_news_link:hover .btn_more3 {
	width: 100%;
}

/* ▲hoverで画像拡大 */

.top_news_detail {
    display: flex;
    margin-top: 10px;
}

.top_news_category {
    background-color: #424242;
    color: #fff;
    padding: 0 10px;
    margin-left: 10px;
}



.top_news_btn_outer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* === ▲news === */


/* ===== ▼▼▼▼　520px以上　▼▼▼▼ ===== */


@media screen and (min-width: 520px) {

/* === ▼about us === */
.about_left {
    aspect-ratio: 10/9;
    max-width: 600px;
    height: inherit;
}

.about_img1, .about_img2 {
    height: inherit;
    aspect-ratio: 4/3;
}

.top_about_right {
    max-width: 600px;
}

/* === ▲about us === */
/* === ▼product === */
.product_title {
    width: 80%;
    max-width: 700px;
    font-size:min(5vw,40px);
}

.product_subtitle {
    width: 60%;
    max-width: 500px;
}
/* === ▲product === */
}

/* ===== ▼▼▼▼　960px以上　▼▼▼▼ ===== */


@media screen and (min-width: 960px) {

    /* === ▼メインビジュアル === */
    .topVisual {
        padding-top: 100px;
    }
    
    .top_img_wrapper {
        height: 82%;
        width: 78%;
        top: 54%;
    }

    .top_img_container {
        background-position: center;
    }
    
    .top_message_wrapper {
        color: #fff;
        position: absolute;
        bottom: inherit;
        left: 10%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .top_message {
        font-size:min(10vw,85px);
    }

    .top_sub_message {
        font-size:min(3.8vw,32px);
    }
    
    
    /* === ▲メインビジュアル === */
    /* === ▼about === */
    .about_left {
        width: 44%;
    }

    .top_about_right {
        width: 40%;
        margin-left: 5%;
    }
    /* === ▲about === */
    
    /* === ▼product === */
    .slide_product {
        width: 70%;
        margin: 0 auto;
        max-width: 1400px;
    }

    .product_title {
        max-width: 1000px;
        font-size:min(6vw,50px);
    }

    /* === ▲product === */
    
}