/**
 * Flowページ専用スタイル
 * css/flow-page.css
 * @package Ezodeer_Shop
 */

/* ==========================================================================
   Flowページ
   ========================================================================== */

.page-flow {
    background: #ffffff;
}

/* コンテンツヘッダー画像 */
#lower_main {
    width: 100%;
    height: 400px;
    display: flex;
    font-family: YuMincho, "Yu Mincho", "游明朝", "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", Times New Roman, serif;
    background: url("../images/flow/img_flow_1.jpg") no-repeat 35% center;
    background-size: cover;
}

#lower_main .inner_wrap {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

#lower_main .inner_wrap h1#lower_ttl.vertical_txt {
    font-feature-settings: 'pkna';
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 2.4rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#lower_main .inner_wrap .lower_sub_ttl {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

#lower_main .inner_wrap .lower_sub_ttl p {
    font-size: 1.2rem;
    text-align: center;
    display: inline-block;
    background: #fff;
    padding: 6px 15px;
    line-height: 1.6;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#lower_main .inner_wrap .lower_sub_ttl p .sp {
    display: inline-block;
}

/* 上田精肉店の品質セクション */
#flow_intro {
    padding: 80px 0;
    text-align: center;
    background: #ffffff;
}

#flow_intro h2 {
    font-size: 3.2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

#flow_intro .intro_text {
    font-size: 1.8rem;
    color: #666;
    margin: 0;
}

.wrap {
    overflow-x: hidden;
}

.section {
    padding: 26px 0 36px;
}

.section .unit {
    letter-spacing: 0.05em;
}

.section .slider .slide-item {
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    background-repeat: no-repeat;
    background-size: cover;
}

.section .slider img {
    width: auto;
    height: 34.18vw;
    opacity: 0;
}

.inner_wrap {
    width: 92%;
    margin: 0 auto;
}

.photo {
    position: relative;
    width: 108.7%;
    left: -4.3%;
    margin: 20px 0;
}

.photo.flex {
    display: flex;
    justify-content: space-between;
}

.orange_txt {
    color: #ff3c00;
}

.m-t {
    margin-top: 2em;
}

/* Flow CT1 Section - エゾ鹿肉との出会いと店主の思い */
#flow_ct1 {
    background: #f7f7f7;
    margin: 0 0 40px 0;
}

#flow_ct1 .flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

#flow_ct1 .l_ct {
    width: 100%;
}

#flow_ct1 .l_ct p {
    position: relative;
    width: 100%;
    padding-top: 57%;
}

#flow_ct1 .l_ct p::after {
    content: '';
    display: block;
    background: url("../images/flow/img_flow_2.jpg") no-repeat 65% center;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#flow_ct1 .r_ct {
    width: 100%;
    padding: 30px 4%;
}

#flow_ct1 .r_ct h3 {
    font-size: 1.7rem;
    font-weight: bold;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

#flow_ct1 .r_ct p.m-t {
    margin-top: 2em;
}

/* Flow CT2 Section - 衛生管理が行き届いた北海道HACCP認証工場 */
#flow_ct2 {
    padding: 30px 0;
}

#flow_ct2 h3 {
    margin: 20px 0;
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1.6;
}

#flow_ct2 p.m-t {
    margin-top: 1em;
}

#flow_ct2 .photo p {
    width: 49.5%;
}

#flow_ct2 .photo.p-6-4 p:nth-child(1) {
    width: 58.9%;
}

#flow_ct2 .photo.p-6-4 p:nth-child(2) {
    width: 40.1%;
}

#flow_ct2 .photo p img {
    width: 100%;
    height: auto;
    display: block;
}

/* Flow CT3 Section - 熟練ハンターと職人が手を取り合い */
#flow_ct3 {
    background: #f7f7f7;
    margin: 40px 0 0 0;
    padding: 40px 0;
}

#flow_ct3 h2.ct_ttl {
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

#flow_ct3 h2.ct_ttl::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    bottom: 0;
}

#flow_ct3 .mv {
    position: relative;
    width: 108.7%;
    left: -4.3%;
    margin-bottom: 20px;
}

#flow_ct3 .mv p {
    position: relative;
    width: 100%;
    padding-top: 56.2%;
}

#flow_ct3 .mv p iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#flow_ct3 p.m-t {
    margin-top: 1em;
}

/* Appeal Section - 栄養成分について */
#appeal {
    padding: 40px 0;
}

#appeal h2.ct_ttl {
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

#appeal h2.ct_ttl::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    bottom: 0;
}

#appeal p.m-t {
    margin-top: 1em;
}

/* Product Banner */
.product_bnr a {
    display: flex;
    align-items: center;
    height: 170px;
    background: url("../images/flow/img_flow_5.jpg") no-repeat 50% 50%;
    background-size: cover;
    text-decoration: none;
}

.product_bnr a img {
    width: 180px;
    height: 46px;
}

.product_bnr a:hover {
    opacity: 0.8;
}

/* Slider Section */
.section .slider_wrap {
    padding: 0;
}

#slider_01 {
    width: 100%;
    margin: 0 auto;
}

.slide-item {
    position: relative;
    height: 34.18vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slide-item img {
    width: auto;
    height: 34.18vw;
    opacity: 0;
    display: block;
    margin: 0 auto;
}

/* Slick Slider Custom Styles */
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    user-select: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    transform: translate3d(0, 0, 0);
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

.slick-slide.slick-active {
    display: block;
}

.slick-slide.slick-current {
    display: block;
}

.slick-slide img {
    display: block;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

/* PC breakpoint classes */
.pc {
    display: none;
}

/* Desktop Styles */
@media screen and (min-width: 1198px) {
    .section {
        padding: 62px 0 46px;
    }
    
    .section .slider.slider_01 img {
        height: 274px;
    }
    
    .slide-item {
        height: 274px;
    }
    
    .slide-item img {
        height: 274px;
    }
    
    .section .slider .slide-item {
        border-left: 2px solid #fff;
        border-right: 2px solid #fff;
    }
    
    .inner_wrap {
        max-width: 1100px;
        margin: 0 auto;
    }
    
    #lower_main {
        height: 571px;
    }
    
    #lower_main .inner_wrap h1#lower_ttl {
        margin-top: 25px;
    }
    
    #lower_main .inner_wrap h1#lower_ttl.vertical_txt {
        font-size: 3rem;
        letter-spacing: 0.2em;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    #lower_main .inner_wrap .lower_sub_ttl {
        margin-top: 30px;
    }
    
    #lower_main .inner_wrap .lower_sub_ttl p {
        font-size: 2rem;
        padding: 0px 15px;
    }
    
    #lower_main .inner_wrap .lower_sub_ttl p .sp {
        display: none;
    }
    
    .photo {
        position: relative;
        width: 100%;
        left: 0;
        margin: 20px 0;
    }
    
    .photo.flex {
        display: flex;
        justify-content: space-between;
    }
    
    .pc {
        display: inline;
    }
    
    /* Flow CT1 Desktop */
    #flow_ct1 {
        margin-bottom: 60px;
        min-height: 400px;
    }
    
    #flow_ct1 .flex {
        display: flex;
        flex-direction: row;
    }
    
    #flow_ct1 .l_ct {
        width: 49%;
        min-height: 400px;
    }
    
    #flow_ct1 .l_ct p {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 400px;
        padding: 0;
    }
    
    #flow_ct1 .l_ct p::after {
        background: url("../images/flow/img_flow_2.jpg") no-repeat center;
        background-size: cover;
    }
    
    #flow_ct1 .r_ct {
        width: 51%;
        padding: 40px 4% 50px 4%;
    }
    
    #flow_ct1 .r_ct h3 {
        font-size: 2.4rem;
        margin-bottom: 25px;
        line-height: 1.8;
    }
    
    /* Flow CT2 Desktop */
    #flow_ct2 {
        padding-bottom: 40px;
    }
    
    #flow_ct2 h3 {
        margin: 30px 0;
        font-size: 2.4rem;
        line-height: 1.8;
    }
    
    #flow_ct2 .photo {
        margin: 30px 0 30px 0;
    }
    
    /* Flow CT3 Desktop */
    #flow_ct3 {
        padding: 50px 0 60px 0;
    }
    
    #flow_ct3 h2.ct_ttl {
        font-size: 3rem;
        padding-bottom: 30px;
        margin-bottom: 60px;
        line-height: 1.6;
        text-align: center;
    }
    
    #flow_ct3 h2.ct_ttl::after {
        width: 280px;
        height: 2px;
        left: 50%;
        margin-left: -140px;
    }
    
    #flow_ct3 .mv {
        position: relative;
        width: 100%;
        left: 0;
        margin-bottom: 20px;
    }
    
    #flow_ct3 .mv p {
        padding-top: 56.3%;
    }
    
    #flow_ct3 .mv p iframe {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }
    
    /* Appeal Desktop */
    #appeal {
        padding: 50px 0;
    }
    
    #appeal h2.ct_ttl {
        font-size: 3rem;
        padding-bottom: 30px;
        margin-bottom: 60px;
        line-height: 1.6;
        text-align: center;
    }
    
    #appeal h2.ct_ttl::after {
        width: 280px;
        height: 2px;
        left: 50%;
        margin-left: -140px;
    }
    
    .product_bnr a {
        height: 250px;
        margin-top: 30px;
    }
    
    .product_bnr a img {
        width: 285px;
        height: 73px;
    }
}

/* Tablet Styles */
@media screen and (max-width: 768px) {
    #flow_ct1 {
        padding: 30px 0;
    }
    
    #flow_ct2 {
        padding: 30px 0;
    }
    
    #flow_ct3 {
        padding: 40px 0;
    }
    
    #flow_ct3 h2.ct_ttl {
        font-size: 1.8rem;
    }
    
    #flow_ct4 {
        padding: 30px 0;
    }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    .section {
        padding: 20px 0 30px;
    }
    
    #flow_ct1 h3,
    #flow_ct2 h3 {
        font-size: 1.5rem;
    }
    
    #flow_ct3 h2.ct_ttl {
        font-size: 1.6rem;
    }
    
    #flow_ct4 h3 {
        font-size: 1.6rem;
    }
}