@charset "utf-8";
/*
**************************************************************************
* 雪印メグミルク - 工場見学 - オンライン工場見学 - common.css
**************************************************************************/

/*----------------------------------------
  general
----------------------------------------*/
@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 100;
}

@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 200;
}

@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 300;
}

@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 400;
}
@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: normal;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "ヒラギノ角ゴ W6", "Hiragino Kaku Gothic W6", "ヒラギノ角ゴ W3", "Hiragino Kaku Gothic W3", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", 游ゴシック体, YuGothic, "游ゴシック Medium", 游ゴシック, "Yu Gothic", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
}

a:hover {
    text-decoration: none;
}

/* ------------------------------------------------------------------------
   utility
------------------------------------------------------------------------ */
.mbZero {
    margin-bottom: 0!important;
}

.mb10 {
    margin-bottom: 10px!important;
}

.mb20 {
    margin-bottom: 20px!important;
}

.mb30 {
    margin-bottom: 30px!important;
}

.mb40 {
    margin-bottom: 40px!important;
}

.mb50 {
    margin-bottom: 50px!important;
}

.mb60 {
    margin-bottom: 60px!important;
}

.mb70 {
    margin-bottom: 70px!important;
}

.mb80 {
    margin-bottom: 80px!important;
}

.mb90 {
    margin-bottom: 90px!important;
}

.mb100 {
    margin-bottom: 100px!important;
}

.ta-c {
    text-align: center!important;
}

.ta-r {
    text-align: right!important;
}

.ta-l {
    text-align: left!important;
}

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

@media screen and (max-width: 736px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}

/*----------------------------------------
  stage content
----------------------------------------*/
#stage div,#stage p,
#stage  h1,#stage h2,#stage h3,#stage h4,#stage h5,#stage h6,
#stage tr,#stage th,#stage td,#stage dl,#stage dt,#stage dd,#stage a {
    line-height: 1.68;
    box-sizing: border-box;
}

#content {
    overflow: hidden;
    color: #002038;
}

/*----------------------------------------
  contentHead
----------------------------------------*/
#content .contentHeadInner {
    width: auto;
}

/*----------------------------------------
  lnav
----------------------------------------*/
#content .wrp-lnav {
    position: relative;
    height: 0;
}

#content .wrp-lnav .lnav-toggle {
    max-width: 1000px;
    margin: auto;
    text-align: right;
}

#content .wrp-lnav .toggle-btn {
    position: relative;
    z-index: 999;
    display: inline-block;
}

#content .wrp-lnav .toggle-btn  a {
    position: relative;
    display: block;
    padding: 10px 42px 10px 26px;
    border-radius: 20px;
    overflow: hidden;
    background: #023692;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .3s;
    backface-visibility: hidden;
}

#content .wrp-lnav .toggle-btn a:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 16px;
    height: 16px;
    background: url(/fun/factory/assets/common/img/ico_plus_white.png) no-repeat center;
    background-size: auto 14px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#content .wrp-lnav .toggle-btn.is-open a:after {
    background-image: url(/fun/factory/assets/common/img/ico_minus_white.png);
}

#content .wrp-lnav .toggle-btn a:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

#content .wrp-lnav .lnav-toggle .toggle-btn {
    margin-top: 20px;
}

#content .wrp-lnav .inner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 20px;
    background: #FFFFFF;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

/* メニュー
----------------------------------*/
#content .wrp-lnav .body {
    max-width: 1000px;
    margin: auto;
    padding: 100px 0 80px;
}

/* 閉じるボタン
----------------------------------*/
#content .wrp-lnav .close {
    max-width: 200px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

#content .wrp-lnav .close a {
    position: relative;
    display: block;
    padding: 10px  20px;
    border-radius: 20px;
    overflow: hidden;
    background: #023692;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
    transition: transform .3s;
    backface-visibility: hidden;
}

#content .wrp-lnav .close a:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 16px;
    height: 16px;
    background: url(/fun/factory/assets/common/img/ico_plus_white.png) no-repeat center;
    background-size: auto 14px;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

#content .wrp-lnav .close a:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

@media screen and (max-width: 736px) {
    #content .wrp-lnav {
        height: auto;
    }

    #content .wrp-lnav .lnav-toggle .toggle-btn {
        display: block;
        width: auto;
        margin-top: 0;
    }

    #content .wrp-lnav .lnav-toggle .toggle-btn a {
        padding: 22px 55px 22px 22px;
    font-size: 16px;
        text-align: right;
        border-radius: 0;
    }

    #content .wrp-lnav .lnav-toggle .toggle-btn a:hover {
        -webkit-transform: none;
        transform: none;
    }

    #content .wrp-lnav .inner {
        top: 100%;
    }

    /* メニュー
    ----------------------------------*/
    #content .wrp-lnav .body {
        max-width: none;
        padding-top: 25px;
        padding-bottom: 30px;
    }

    /* 閉じるボタン
    ----------------------------------*/
    #content .wrp-lnav .close {
        display: block;
        margin-top: 28px;
    }

    #content .wrp-lnav .close a:hover {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}


/*----------------------------------------
  contentFooter
----------------------------------------*/
#content #contentFoot {
    margin-top: 72px;
}

/* ページトップ
----------------------------------*/
#content .factory-pagetop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 10;
}

#content .factory-pagetop a {
    position: relative;
    display: block;
    width: 39px;
    height: 39px;
    opacity: 1;
    text-indent: -9999px;
    overflow: hidden;
}
#content .factory-pagetop a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 39px;
    height: 39px;
    border-radius: 100px;
    background: #002A81 url(/fun/factory/assets/online/common/img/ico_arrow_top_white.png) no-repeat center 10px;
    background-size: 17px 15px;
    transition: transform .3s, opacity .4s ease-out;
}
#content .factory-pagetop a:hover::after {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

#content .factory-pagetop.is-hide a {
    opacity: 0;
    transition: opacity .1s ease-out;
}

#content .factory-pagetop .comment {
    position: absolute;
    left: 13px;
    top: 74px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.36em;
    width: 160px;
    text-align: center;
}

/* SNS
----------------------------------*/
#content .factory-footer {
    padding: 0 20px 22px;
    background: #fff;
}
#content .factory-footer .inner {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

#content .factory-footer .ttl {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 15px;
    white-space: nowrap;
}

#content .factory-footer .ttl:before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-right: 0.5em;
    background: #333;
    -webkit-transform: rotate(-20deg);
    transform: rotate(-20deg);
}

#content .factory-footer .ttl:after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 0.5em;
    background: #333;
    -webkit-transform: rotate(20deg);
    transform: rotate(20deg);
}

#content .factory-footer .sns {
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

#content .factory-footer .sns li {
    display: inline-block;
    margin: 0 10px;
    width: 50px;
}

#content .factory-footer .sns li img {
    width: 100%;
    height: auto;
}

#content .factory-footer .sns li a {
    display: inline-block;
    transition: opacity .3s;
}

#content .factory-footer .sns li a:hover {
    opacity: .7;
}

#content .factory-footer .copyright {
    font-size: 11px;
    color: #666666;
}

@media screen and (max-width: 736px) {
    #content #contentFoot {
        margin-top: 40px;
    }

    /* ページトップ
    ----------------------------------*/
    #content .factory-pagetop {
        right: 20px;
        bottom: 20px;
    }

    #content .factory-pagetop.is-hide a {
        opacity: 1;
    }

    /* SNS
    ----------------------------------*/
    #content .factory-footer {
        position: relative;
        padding: 42px 20px 20px;
        background: #fff;
    }

    #content .factory-footer .ttl {
        margin-bottom: 13px;
    }

    #content .factory-footer .sns {
        position: static;
    }

    #content .factory-footer .sns li {
        width: 60px;
    }
}


/*----------------------------------------
  modules - button
----------------------------------------*/
#stage .mod-button {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    padding: 16px 35px;
    border-radius: 30px;
    overflow: hidden;
    background: #06AFE2;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
    transition: transform .3s;
    backface-visibility: hidden;
}

#stage .mod-button > a {
    display: block;
    margin: -16px -35px;
    padding: 16px 42px 16px 34px;
    color: #fff;
}

#stage .mod-button > a:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 16px;
    height: 16px;
    background: url(/fun/factory/assets/online/common/img/ico_arrow_right_white.png) no-repeat right 2px;
    background-size: auto 11px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#stage .mod-button:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

/* full */
#stage .mod-button.full {
    display: block;
}

/* back */
#stage .mod-button.back > a:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: auto;
    left: 20px;
    background: url(/fun/factory/assets/common/img/ico_arrow_right_white.png) no-repeat 0 2px;
    background-size: auto 14px;
    -webkit-transform: translateY(-50%) scale(-1, 1);
    transform: translateY(-50%) scale(-1, 1);
}

/* small */
#stage .mod-button.small {
    padding: 10px 35px;
    font-size: 12px;
}

#stage .mod-button.small > a{
    margin: -10px -35px;
    padding: 10px 35px;
}

/* close */
#stage .mod-button.close > a:after {
    background: url(/fun/factory/assets/common/img/ico_plus_white.png) no-repeat center;
    background-size: auto 14px;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

/* navy */
#stage .mod-button.navy {
    background: #0039A6;
}

/* blank, pdf */
#stage .mod-button > a[target="_blank"]:after {
    background: url(/fun/factory/assets/common/img/ico_blank_white.png) no-repeat right 2px;
    background-size: auto 14px;
}
#stage .mod-button > a[href*=".pdf"]:after {
    background: url(/fun/factory/assets/common/img/ico_pdf_white.png) no-repeat right 2px;
    background-size: auto 14px;
}
#stage .mod-button > a[href^="#"]:after {
    background: url(/fun/factory/assets/common/img/ico_arrow_right_white.png) no-repeat center;
    background-size: auto 14px;
    -webkit-transform: translateY(-50%) rotate(90deg);
    transform: translateY(-50%) rotate(90deg);
}

@media screen and (max-width: 736px) {
    #stage .mod-button:hover {
        -webkit-transform: none;
        transform: none;
    }
}

/*----------------------------------------
    modules - otherTour
----------------------------------------*/
#stage .mod-otherTour {
    position: relative;
}
#stage .mod-otherTour .inner {
    margin: 0 auto;
    max-width: 1000px;
}
#stage .mod-otherTour .others {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 920px;
    margin: 0 auto;
}
#stage .mod-otherTour .others::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    content: '';
    width: 3px;
    background-image: radial-gradient(#003591 35%, transparent 35%);
    background-repeat: repeat;
    background-size: 6px 6px;
    background-position: 50% 0;
}
#stage .mod-otherTour .others-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc((100% - 80px) / 2);
}
#stage .mod-otherTour .others-item + .others-item {
    margin-left: 80px;
}
#stage .mod-otherTour .others-item .img {
    margin-bottom: 15px;
    height: 104px;
    text-align: center;
}
#stage .mod-otherTour .others-item .img img {
    height: 100%;
    width: auto;
}
#stage .mod-otherTour .others-item .sttl {
    margin-bottom: 25px;
    color: #023692;
    font-size: 22px;
    line-height: 1.4;
    text-align: center;
    font-weight: 700;
}
#stage .mod-otherTour .others-item .description {
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.6875;
}
#stage .mod-otherTour .others-item .button {
    position: relative;
    margin: auto auto 0;
    width: 300px;
}
#stage .mod-otherTour .others-item .button a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 21px 30px;
    width: 300px;
    height: 100%;
    background: #06AFE2;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
    transform: scale(1);
    transition: transform .3s;
}
#stage .mod-otherTour .others-item .button a:hover {
    transform: scale(1.02);
}
#stage .mod-otherTour .others-item .button a::before {
    display: block;
    content: '';
    width: 11px;
    height: 10px;
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-49.5%);
    background: url(/fun/factory/assets/online/common/img/ico_arrow_right_white.png) no-repeat center center;
    background-size: 11px auto;
}
@media screen and (max-width: 736px) {
    #stage .mod-otherTour {
        margin-bottom: 70px;
    }
    #stage .mod-otherTour .inner {
        margin: 0 auto;
        max-width: 1000px;
    }
    #stage .mod-otherTour .others {
        display: block;
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }
    #stage .mod-otherTour .others::before {
        top: 50%;
        right: 20px;
        bottom: auto;
        left: 20px;
        transform: translateX(0) translateY(-50%);
        height: 6px;
        width: calc(100% - 40px);
        background-image: radial-gradient(#003591 35%, transparent 35%);
        background-repeat: repeat;
        background-size: 6px 6px;
        background-position: 0 0;
    }
    #stage .mod-otherTour .others-item {
        position: relative;
        display: block;
        width: 100%;
    }
    #stage .mod-otherTour .others-item + .others-item {
        margin-top: 100px;
        margin-left: 0;
    }
    #stage .mod-otherTour .others-item .img {
        position: relative;
        margin-bottom: 20px;
        height: 98px;
    }
    #stage .mod-otherTour .others-item .img img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 20px;
        height: 98px;
    }
    #stage .mod-otherTour .others-item .sttl {
        margin-bottom: 18px;
    }
    #stage .mod-otherTour .others-item .description {
        margin-bottom: 35px;
        font-size: 16px;
        line-height: 1.6875;
    }
    #stage .mod-otherTour .others-item .button {
        position: relative;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }
    #stage .mod-otherTour .others-item .button a {
        width: 100%;
    }
    #stage .mod-otherTour .others-item .button a:hover {
        transform: scale(1);
    }
}
