@charset "utf-8";

/* ==================== section_01 ==================== */
.sec01 {
    width: 100%;
    height: auto;
    margin-top: 55px;
    position: relative;
}
.slider {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像を引き延ばしてトリミング */
    transform: translate(-50%, -50%); /* 中央配置 */
    z-index: 1;
}

/* .sec01 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
    rgba(0, 0, 0, 0.1), 
    rgba(0, 0, 0, 0.1)),
    url(../img/top.JPG) no-repeat center/cover;
    text-align: center;
    color: white;
} */
.sec01_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    z-index: 5;
    font-size: 6vw;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    text-shadow: 0px 0px 7px #000000;
}
.sec01_text p {
    font-size: 4vw;
    letter-spacing: 0.3em;
}

/* ==================== section_02 ==================== */
#sec02 {
    padding: 150px 40px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 50px;
}
.sec02_inner {
    max-width: 1024px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
    gap: 50px;
    margin: 0 auto;
}
.sec02_inner:nth-of-type(even) {
    flex-direction: row-reverse;
}
.sec02_content01 {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start;
    gap: 30px;
}
.sec02_content02_img {
    position: relative;
    width: 30%;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.sec02_content02_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像を引き延ばしてトリミング */
    transform: translate(-50%, -50%); /* 中央配置 */
}


@media screen and (max-width:768px) {
    #sec02 {
        padding: 100px 24px;
        gap: 100px;
    }
    .sec02_inner {
        max-width: 1024px;
        width: 100%;
        flex-direction: column-reverse;
        gap: 0;
        margin: 0 auto;
        font-size: 15px;
    }
    .sec02_inner:nth-of-type(even) {
        flex-direction: column-reverse;
    }
    .sec02_content01 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start; 
        align-items: flex-start;
        gap: 30px;
    }
    .sec02_content02_img {
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        overflow: hidden;
    }
    .sec02_content02_img img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: contain; /* 画像を引き延ばしてトリミング */
        transform: translate(-50%, -50%); /* 中央配置 */
    }

}
/* ==================== section_03 ==================== */
#sec03 {
    padding: 100px 40px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
}

.sec03_inner {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 50px;
}
.sec03_cont {
    max-width: 768px;
    width: 100%;
    margin-bottom: 100px;    
}

.sec03_cont p {
    line-height: 32px;
    letter-spacing: 0.08rem;
    text-align: center;
}

.sec03_list {
    max-width: 1027px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
    object-fit: cover;
    flex-wrap: wrap;
    gap: 50px;
}
.sec03_list_item {
    width: 308px;
    height: auto;
}
.sec03_list_item_img {
    position: relative;
    max-width: 308px;
    width: 100%;
    height: 216px;
    overflow: hidden;
    margin-bottom: 10px;
}

.sec03_list_item_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を引き延ばしてトリミング */
    transform: translate(-50%, -50%); /* 中央配置 */
}

.sec03_list_item h3 {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start;
}
.sec03_list_item time {
    font-size: 10px;
}

@media screen and (max-width:768px) {
    #sec03 {
        padding: 100px 24px;
    }
    .sec03_cont {
        margin-bottom: 70px;    
    }
    .sec03_list {
        max-width: 767px;
        width: 100%;
        gap: 30px;
        margin-bottom: 30px;
    }
}

/* ==================== section_04 ==================== */
#sec04 {
    padding: 100px 40px;
    width: 100%;
    /* グラデーション */
    background-image: url(../img/三関ファーム_オンラインショップ_背景.png);
    /* 画像を常に天地左右の中央に配置 */
    background-position: center center;
    /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
    /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
    /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
    background-size: cover;
    /* 背景画像が読み込まれる前に表示される背景のカラー */
    background-color: #464646;
    background-image: rgba(255, 255, 255, 0.4);
}

.sec04_inner {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 50px;
    color: #FFFFFF;
    text-align: center;
}
.sec04_cont {
    max-width: 768px;
    width: 100%;
    margin-bottom: 100px;    
}

.sec04_cont p {
    line-height: 32px;
    letter-spacing: 0.08rem;
    text-align: center;
}

.sec04_list {
    max-width: 1027px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
    object-fit: cover;
    flex-wrap: wrap;
    gap: 50px;
}
.sec04_list_item {
    width: 308px;
    height: auto;
}
.sec04_list_item_img {
    position: relative;
    max-width: 308px;
    width: 100%;
    height: 216px;
    overflow: hidden;
    margin-bottom: 5px;
}

.sec04_list_item_img img {
    width: 100%;
    height: 216px;
    overflow: hidden;
    margin-bottom: 5px;
}
.sec04_list_item time {
    font-size: 12px;
    margin-bottom: 5px;
}

@media screen and (max-width:768px) {
    #sec04 {
        padding: 65px 24px;
    }
    .sec04_cont {
        margin-bottom: 70px;    
    }
    .sec04_list {
        max-width: 767px;
        width: 100%;
        gap: 50px 25px;
        margin-bottom: 30px;
    }
}

/* ==================== section_05 ==================== */
#sec05 {
    padding: 100px 40px;
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.sec05_inner {
    max-width: 768px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    gap: 50px;
    border: 1px solid #333;
    padding: 35px;
}