@charset "utf-8";

/*
**************************************************************************
*   雪印メグミルク - 工場見学 - バーチャル工場見学 - 詳細
**************************************************************************/

/*----------------------------------------
    タイトル
----------------------------------------*/
#stage .wrp-factories-title {
    position: relative;
    background-color: #FFD3B7;
    margin-bottom: 20px;
    padding: 33px 0 38px;
}

#stage .wrp-factories-title .titleArea {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 790px;
    height: 210px;
    margin: 69px auto 0;
    border: solid 6px #F73921;
    border-radius: 30px;
    background-color: #FFFFFF;
}

#stage .wrp-factories-title .titleArea .img {
    position: absolute;
    left: 20px;
    bottom: -4px;
    z-index: 1;
}
#stage .wrp-factories-title .titleArea img {
    width: 240px;
    height: 240px;
}
#stage .wrp-factories-title .titleArea .ttl {
    position: relative;
    z-index: 1;
    width: 9.5em;
    margin-left: 100px;
    font-size: 42px;
    color: #F73921;
    line-height: 1.4;
    text-align: center;
}

/* カテゴリー名の半円
----------------------------------*/
#stage .wrp-factories-title .categoryName {
    position: absolute;
    left: 50%;
    top: -75px;
    width: 200px;
    height: 100px;
    margin-left: -100px;
    border: solid 6px #F73921;
    border-radius: 100px 100px 0 0;
    background: #FFFFFF url('/fun/factory/assets/virtual/common/img/icn_category_red.png') no-repeat center top 7px;
    background-size: 40px auto;
    font-size: 15px;
    font-weight: 700;
    color: #F73921;
    text-align: center;
}
#stage .wrp-factories-title .categoryName::before {
    content: "";
    position: absolute;
    left: -6px;
    bottom: -12px;
    display: block;
    width: 200px;
    height: 31px;
    background-color: #FFFFFF;
}
#stage .wrp-factories-title .categoryName span {
    position: relative;
    top: 46px;
    z-index: 1;
    display: block;
    width: 150px;
    margin: 0 auto;
    line-height: 1.2;
}

/* 装飾
----------------------------------*/
/* 背景 */
#stage .wrp-factories-title::before,
#stage .wrp-factories-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    width: 641px;
    height: 190px;
    background: url('/fun/factory/assets/virtual/common/img/bg_area_red.png') no-repeat center bottom;
    background-size: 641px auto;
}
#stage .wrp-factories-title::before {
    right: 50%;
    margin-right: 95px;
}
#stage .wrp-factories-title::after {
    left: 50%;
    margin-left: 115px;
}

/* 建物イラスト */
#stage .wrp-factories-title .img-factory {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    z-index: 2;
    display: block;
    background: no-repeat center bottom;
    background-size: cover;
}
#stage .wrp-factories-title .img-factory img {
    width: 100%;
}
#stage .wrp-factories-title .img-factory.factory01 {
    width: 162px;
    height: 135.5px;
    margin-left: 238px;
}
#stage .wrp-factories-title .img-factory.factory02 {
    width: 152px;
    height: 78.5px;
    margin-left: 432px;
}


@media screen and (max-width: 736px) {
    #stage .wrp-factories-title {
        margin-bottom: 9px;
        padding: 27px 20px 89px;
    }

    #stage .wrp-factories-title .titleArea {
        display: block;
        width: auto;
        height: auto;
        min-height: 270px;
        margin-top: 54px;
        padding: 25px 15px 15px;
        border-width: 5px;
        border-radius: 15px;
        text-align: center;
    }

    #stage .wrp-factories-title .titleArea .img {
        position: relative;
        left: 0;
        bottom: 0;
    }
    #stage .wrp-factories-title .titleArea img {
        width: 180px;
        height: 180px;
    }
    #stage .wrp-factories-title .titleArea .ttl {
        width: auto;
        margin-left: 0;
        font-size: 32px;
    }

    /* カテゴリー名の半円
    ----------------------------------*/
    #stage .wrp-factories-title .categoryName {
        top: -54px;
        width: 140px;
        height: 70px;
        margin-left: -70px;
        border-width: 5px;
        background-position: center top 3px;
        background-size: 31px auto;
        font-size: 15px;
    }
    #stage .wrp-factories-title .categoryName::before {
        left: -5px;
        bottom: -10px;
        width: 140px;
        height: 21px;
    }
    #stage .wrp-factories-title .categoryName span {
        top: 35px;
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 1.1;
    }

    /* 装飾
    ----------------------------------*/
    /* 背景 */
    #stage .wrp-factories-title::before,
    #stage .wrp-factories-title::after {
        width: 399px;
        height: 118px;
        background-size: 399px auto;
    }
    #stage .wrp-factories-title::before {
        display: none;
    }
    #stage .wrp-factories-title::after {
        left: auto;
        right: -96px;
        margin-left: 0;
    }

    /* 建物イラスト */
    #stage .wrp-factories-title .img-factory {
        left: auto;
        bottom: -9px;
    }
    #stage .wrp-factories-title .img-factory.factory01 {
        right: 119px;
        width: 100px;
        height: 84px;
        margin-left: 0;
    }
    #stage .wrp-factories-title .img-factory.factory02 {
        right: 9px;
        width: 94px;
        height: 49px;
        margin-left: 0;
    }
}


/*----------------------------------------
    ステップ
----------------------------------------*/
#stage .wrp-process {
    margin-bottom: 59px;
}

#stage .wrp-process .stepArea {
    position: relative;
    padding: 80px 0;
}
#stage .wrp-process .stepArea::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -35px;
    z-index: 1;
    display: block;
    width: 0;
    height: 0;
    margin-left: -39px;
    border-style: solid;
    border-width: 35px 39px 0 39px;
    border-color: #FFFFFF transparent transparent transparent;
}
#stage .wrp-process .stepArea:last-child::after {
    display: none;
}

#stage .wrp-process .stepArea > .inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1000px;
    margin: 0 auto;
}
#stage .wrp-process .stepArea > .inner > * {
    margin: 0 20px;
}

#stage .wrp-process .stepArea:nth-child(even) {
    background-color: #FFEFE5;
}
#stage .wrp-process .stepArea:nth-child(even)::after {
    border-color: #FFEFE5 transparent transparent transparent;
}

#stage .wrp-process .stepArea:nth-child(even) > .inner {
    flex-direction: row-reverse;
}

/* テキストエリア
----------------------------------*/
#stage .wrp-process .stepArea .boxText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 440px;
}

#stage .wrp-process .stepArea .boxText .icn {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    border-radius: 100px;
    background-color: #F73921;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
}
#stage .wrp-process .stepArea .boxText .icn p {
    line-height: 1.3;
}

#stage .wrp-process .stepArea .boxText .sttl {
    width: 100%;
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: 700;
    color: #F73921;
    text-align: center;
}

#stage .wrp-process .stepArea .boxText .text {
    width: 100%;
    font-size: 18px;
}

/* メディアエリア
----------------------------------*/
#stage .wrp-process .stepArea .boxMedia {
    overflow: hidden;
    width: 440px;
}

/* タブコンテンツ */
#stage .wrp-process .stepArea .boxMedia .tabContents {
    border: solid 4px #F73921;
    background-color: #FFFFFF;
}

#stage .wrp-process .stepArea .boxMedia .content {
    position: relative;
    display: none;
}

#stage .wrp-process .stepArea .boxMedia .content.is-current {
    display: flex;
    justify-content: center;
    align-items: center;
}

#stage .wrp-process .stepArea .boxMedia img {
    width: 100%;
}

#stage .wrp-process .stepArea .boxMedia video {
    width: 100%;
}
#stage .wrp-process .stepArea .boxMedia .control-start {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: no-repeat center center ;
    background-size: cover;
    z-index: 1;

    display: none;
}
#stage .wrp-process .stepArea .boxMedia .control-start::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    background: url('/fun/factory/assets/virtual/factories/img/btn_movie_red.png') no-repeat center center ;
    background-size: 80px auto;
    transition: transform .3s;
}
#stage .wrp-process .stepArea .boxMedia .control-start.hide {
    display: none;
}
#stage .wrp-process .stepArea .boxMedia .control-start:hover::before {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}

#stage .wrp-process .stepArea .boxMedia .jstream {
    position: relative;
    width: 100%;
    height: 0px;
    padding-bottom: 64%;
    background-color: #000000;
}
#stage .wrp-process .stepArea .boxMedia .jstream > iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* タブボタン */
#stage .wrp-process .stepArea .boxMedia .tabBtns {
    display: flex;
    margin: 0 -2px;
}
#stage .wrp-process .stepArea .boxMedia .btn {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    margin: -2px 2px 0;
    padding: 10px;
    border: solid 2px #F73921;
    background-color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    color: #F73921;
    text-align: center;
    cursor: pointer;
}

#stage .wrp-process .stepArea .boxMedia .btn.is-current {
    background-color: #F73921;
    color: #FFFFFF;
    cursor: default;
}

#stage .wrp-process .stepArea .boxMedia .btn > p {
    transition: transform .3s;
    line-height: 1.4;
}

#stage .wrp-process .stepArea .boxMedia .btn:hover > p {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}
#stage .wrp-process .stepArea .boxMedia .btn.is-current:hover > p {
    -webkit-transform: scale(1);
    transform: scale(1);

}


@media screen and (max-width: 736px) {
    #stage .wrp-process {
        margin-bottom: 59px;
    }

    #stage .wrp-process .stepArea {
        padding: 82px 20px 124px;
    }
    #stage .wrp-process .stepArea::after {
        display: none;
    }
    #stage .wrp-process .stepArea:first-child {
        margin-top: 100px;
    }
    #stage .wrp-process .stepArea:last-child {
        padding-bottom: 75px;
    }
    #stage .wrp-process .stepArea:last-child:nth-child(odd) {
        padding-bottom: 0;
    }
    #stage .wrp-process .stepArea:last-child::after {
        display: none;
    }

    #stage .wrp-process .stepArea > .inner {
        display: block;
        width: auto;
        margin: 0;
    }
    #stage .wrp-process .stepArea > .inner > * {
        margin: 0;
    }

    /* テキストエリア
    ----------------------------------*/
    #stage .wrp-process .stepArea .boxText {
        width: 100%;
    }

    #stage .wrp-process .stepArea .boxText .icn {
        position: absolute;
        left: 50%;
        top: -60px;
        margin-left: -60px;
    }

    #stage .wrp-process .stepArea .boxText .sttl {
        margin-bottom: 10px;
        font-size: 24px;
    }

    #stage .wrp-process .stepArea .boxText .text {
        font-size: 16px;
    }

    /* メディアエリア
    ----------------------------------*/
    #stage .wrp-process .stepArea .boxMedia {
        overflow: hidden;
        width: 100%;
        margin-top: 28px;
    }

    /* タブコンテンツ */
    #stage .wrp-process .stepArea .boxMedia .control-start::before {
        width: 58px;
        height: 58px;
        margin: -29px 0 0 -29px;
        background-size: 58px auto;
    }
    #stage .wrp-process .stepArea .boxMedia .control-start:hover::before {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    /* タブボタン */
    #stage .wrp-process .stepArea .boxMedia .btn {
        font-size: 15px;
    }

    #stage .wrp-process .stepArea .boxMedia .btn.is-current {
        background-color: #F73921;
        color: #FFFFFF;
        cursor: default;
    }

    #stage .wrp-process .stepArea .boxMedia .btn:hover > p {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}


/*----------------------------------------
    衛生と安全について
----------------------------------------*/
#stage .wrp-notice {
    width: 1000px;
    margin: 59px auto 90px;
}
#stage .wrp-notice > .inner {
    margin: 0 40px;
    padding: 40px;
    background-color: #EFF3FA;
    text-align: center;
}
#stage .wrp-notice .sttl {
    display: inline-block;
    margin: 0 auto 20px;
    border-bottom: solid 4px #FFFFFF;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: #023692;
}
#stage .wrp-notice .text {
    font-size: 18px;
    text-align: left;
}

#stage .wrp-notice .mod-button {
    display: block;
    max-width: 300px;
    margin: 26px auto 0;
}

@media screen and (max-width: 736px) {
    #stage .wrp-notice {
        width: auto;
        margin: 60px 20px;
    }
    #stage .wrp-notice > .inner {
        margin: 0;
        padding: 25px 20px 40px;
    }
    #stage .wrp-notice .sttl {
        margin: 0 auto 25px;
        font-size: 21px;
    }
    #stage .wrp-notice .text {
        font-size: 16px;
    }
}


/*----------------------------------------
    他の工場を見てみる
----------------------------------------*/
#stage .wrp-btn-factorys {
    width: 100%;
    margin: 0 auto 32px;
    padding: 42px 0 0;
    border-top: 4px dotted #003591;
}
#stage .wrp-btn-factorys .sttl {
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 700;
    color: #003591;
    text-align: center;
}

#stage .wrp-btn-factorys .mod-btn-factorys {
    width: 943px;
    margin: 0 auto;
    padding: 0;
}

@media screen and (max-width: 736px) {
    #stage .wrp-btn-factorys {
        width: auto;
        margin: 0 0 57px;
        padding-top: 36px;
    }
    #stage .wrp-btn-factorys .sttl {
        margin-bottom: 34px;
        font-size: 24px;
    }

    #stage .wrp-btn-factorys .mod-btn-factorys {
        width: auto;
        margin: 0 20px;
    }
}


/*----------------------------------------
    各TOPへのリンク
----------------------------------------*/
#stage .wrp-category-link {
    width: 920px;
    margin: 55px auto 0;
}

#stage .wrp-category-link .mod-category-link {
    padding-left: 0;
    padding-right: 0;
}

#stage .wrp-category-link .mod-category-link .factory img {
    width: 234px;
    height: 136px;
}

#stage .wrp-category-link .mod-category-link .virtualFactory img {
    width: 366px;
    height: 123px;
}

#stage .wrp-category-link .mod-category-link .onlineFactory img {
    margin-top: 15px;
    width: 242px;
    height: auto;
}

@media screen and (max-width: 736px) {
    #stage .wrp-category-link {
        width: auto;
        margin-top: 37px;
    }

    #stage .wrp-category-link .mod-category-link .factory img {
        width: 150px;
        height: 87px;
    }

    #stage .wrp-category-link .mod-category-link .virtualFactory img {
        width: 112px;
        height: 103px;
    }
    #stage .wrp-category-link .mod-category-link .onlineFactory img {
        margin-top: 10px;
        width: 158px;
        height: auto;
    }
}


/*----------------------------------------
    カラー設定（redがベース）
----------------------------------------*/
/* yellow
----------------------------------*/
/* タイトル */
#content.layout-yellow .wrp-factories-title {
    background-color: #FFEC9A;
}

#content.layout-yellow .wrp-factories-title .titleArea {
    border-color: #F59700;
}

#content.layout-yellow .wrp-factories-title .titleArea .ttl {
    color: #F59700;
}

#content.layout-yellow .wrp-factories-title .categoryName {
    border-color: #F59700;
    background-image: url('/fun/factory/assets/virtual/common/img/icn_category_yellow.png');
    color: #F59700;
}

#content.layout-yellow .wrp-factories-title::before,
#content.layout-yellow .wrp-factories-title::after {
    background-image: url('/fun/factory/assets/virtual/common/img/bg_area_yellow.png');
}

#content.layout-yellow .wrp-factories-title .img-factory.factory01 {
    width: 161px;
    height: 58px;
    margin-left: 243px;
}
#content.layout-yellow .wrp-factories-title .img-factory.factory02 {
    width: 151px;
    height: 77px;
    margin-left: 439px;
}

/* ステップ */
#content.layout-yellow .stepArea:nth-child(even) {
    background-color: #FFF8D9;
}

#content.layout-yellow .stepArea:nth-child(even)::after {
    border-color: #FFF8D9 transparent transparent transparent;
}

#content.layout-yellow .wrp-process .stepArea .boxText .icn {
    background-color: #F59700;
}

#content.layout-yellow .wrp-process .stepArea .boxText .sttl {
    color: #F59700;
}

#content.layout-yellow .wrp-process .stepArea .boxMedia .tabContents {
    border-color: #F59700;
}

#content.layout-yellow .wrp-process .stepArea .boxMedia .control-start::before {
    background-image: url('/fun/factory/assets/virtual/factories/img/btn_movie_yellow.png');
}

#content.layout-yellow .wrp-process .stepArea .boxMedia .btn {
    border-color: #F59700;
    color: #F59700;
}
#content.layout-yellow .wrp-process .stepArea .boxMedia .btn.is-current {
    background-color: #F59700;
    color: #FFFFFF;
}

/* blue
----------------------------------*/
/* タイトル */
#content.layout-blue .wrp-factories-title {
    background-color: #BEF0F5;
}

#content.layout-blue .wrp-factories-title .titleArea {
    border-color: #007C93;
}

#content.layout-blue .wrp-factories-title .titleArea .ttl {
    color: #007C93;
}

#content.layout-blue .wrp-factories-title .categoryName {
    border-color: #007C93;
    background-image: url('/fun/factory/assets/virtual/common/img/icn_category_blue.png');
    background-position: center top 10px;
    font-size: 18px;
    color: #007C93;
}
#content.layout-blue .wrp-factories-title .categoryName span {
    top: 56px;
}

#content.layout-blue .wrp-factories-title::before,
#content.layout-blue .wrp-factories-title::after {
    background-image: url('/fun/factory/assets/virtual/common/img/bg_area_blue.png');
}
#content.layout-blue .wrp-factories-title::before {
    margin-right: 35px;
}
#content.layout-blue .wrp-factories-title::after {
    margin-left: 85px;
}

#content.layout-blue .wrp-factories-title .img-factory.factory01 {
    width: 347px;
    height: 85px;
    margin-left: 235px;
}
#content.layout-blue .wrp-factories-title .img-factory.factory02 {
    display: none;
}

/* ステップ */
#content.layout-blue .stepArea:nth-child(even) {
    background-color: #E3FCFF;
}

#content.layout-blue .stepArea:nth-child(even)::after {
    border-color: #E3FCFF transparent transparent transparent;
}

#content.layout-blue .wrp-process .stepArea .boxText .icn {
    background-color: #007C93;
}

#content.layout-blue .wrp-process .stepArea .boxText .sttl {
    color: #007C93;
}

#content.layout-blue .wrp-process .stepArea .boxMedia .tabContents {
    border-color: #007C93;
}

#content.layout-blue .wrp-process .stepArea .boxMedia .control-start::before {
    background-image: url('/fun/factory/assets/virtual/factories/img/btn_movie_blue.png');
}

#content.layout-blue .wrp-process .stepArea .boxMedia .btn {
    border-color: #007C93;
    color: #007C93;
}
#content.layout-blue .wrp-process .stepArea .boxMedia .btn.is-current {
    background-color: #007C93;
    color: #FFFFFF;
}

@media screen and (max-width: 736px) {
    /* yellow
    ----------------------------------*/
    #content.layout-yellow .wrp-factories-title .categoryName span {
        top: 35px;
    }

    #content.layout-yellow .wrp-factories-title .img-factory {
        bottom: -9px;
    }
    #content.layout-yellow .wrp-factories-title .img-factory.factory01 {
        right: 124px;
        width: 107px;
        height: 39px;
        margin-left: 0;
    }
    #content.layout-yellow .wrp-factories-title .img-factory.factory02 {
        right: 0;
        width: 100px;
        height: 51px;
        margin-left: 0;
    }

    /* blue
    ----------------------------------*/
    #content.layout-blue .wrp-factories-title .categoryName {
        font-size: 15px;
        background-position: center top 5px;
    }

    #content.layout-blue .wrp-factories-title::after {
        right: -70px;
        margin-left: 0;
    }
    #content.layout-blue .wrp-factories-title .categoryName span {
        top: 40px;
    }

    #content.layout-blue .wrp-factories-title .img-factory {
        bottom: -9px;
    }
    #content.layout-blue .wrp-factories-title .img-factory.factory01 {
        right: 19px;
        width: 210px;
        height: 52px;
        margin-left: 0;
    }
}
