@charset "utf-8";
/*------------------------------------------------------------------------------------------
*
*
    mikuji_sp.css
*
*
------------------------------------------------------------------------------------------ */


.device-pc main p + *{
    margin-top: 0 !important;
}

#contents_omikuji p, ul, li, div{
    padding: 0;
    margin: 0;
}

.device-sp main{
    width: inherit;
    padding: 0;
}

#contents_omikuji{
    padding: 40px 0 0 0;
    background-color: #ffde3c;
    color: #3c1312;
    overflow: hidden;
}


/* --------------------------------------------------
*
    #main_visual
*
-------------------------------------------------- */
#main_visual{
    margin: 0 0 -10px 0;
    position: relative;
}

#main_visual p,
#main_visual li{
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

#main_visual img{
    width: 100%;
}

#main_visual .mv_main{ z-index: 2; position: relative;}
#main_visual li{ z-index: 4;}
#main_visual .mv_txt{ z-index: 5; overflow: hidden;}
#main_visual .mv_badge{ z-index: 6;}

/* --------------------------------------------------
*
    #section_yodogawa
*
-------------------------------------------------- */
#section_yodogawa{
    margin: 0 15px 50px 15px;
    padding: 30px 15px 10px 15px;
    text-align: left;
    background-image:url(../images/img_bg_yodogawa.png);
}

#section_yodogawa p{
    margin: 0 0 20px 0 !important;
    font-size: 16px;
    line-height: 1.5em;
    letter-spacing: .025em;
}


/* --------------------------------------------------
*
    #section_mikuji
*
-------------------------------------------------- */
#section_mikuji{
    text-align: center;
    margin: 0 0 50px 0;
}

#section_mikuji h2{
    margin: 0 0 -5px 0;
    padding: 0 10px;
}

#section_mikuji h2 img{
    width: 100%;
}

#section_mikuji p{
    font-size: 15px;
    line-height: 1.6em;
    letter-spacing: .025em;
    text-align: left;
}

#section_mikuji p.desc{
    margin: 0 0 20px 0;
    padding: 20px;
}

#section_mikuji #btn_omikuji{
    width: 100%;
    max-width: 410px;
    padding: 0 10px;
    margin: 0 auto;
    transition: all .1s ease;
    -webkit-transition: all .1s ease;
}

#section_mikuji #btn_omikuji.touch{
    transform: scale(.97);
    -webkit-transform: scale(.97);
}

#section_mikuji #btn_omikuji img{
    opacity: 1 !important;
}

/* --------------------------------------------------
*
    #section_technic
*
-------------------------------------------------- */
#section_technic{
    margin: 0 5px 50px 5px;
    padding: 20px 0 0 0;
    text-align: center;
    border-top: 4px solid #3c1312;
    border-bottom: 4px solid #3c1312;
}

#section_technic h2{
    margin: 0 0 10px 0;
    padding: 0 15px;
}

#section_technic h2 img{
    width: 100%;
    max-width: 542px;
}

#section_technic p{
    font-size: 15px;
    line-height: 1.6em;
    letter-spacing: .025em;
    text-align: left;
}

#section_technic .copy{
    margin: 0 0 25px 0;
    padding: 0 15px;
}

#section_technic ul{
    margin: 0 auto;
    padding: 0 5px;
}

#section_technic li{
    min-height: 340px;
    padding: 10px 15px 22px 15px;
    margin: 0 0 25px 0;
    box-sizing: border-box;
    text-align: left;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center 70px;
    background-size: 250px;
}

#section_technic li.omake{
    min-height: inherit;
}

#section_technic li h3{
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 24px;
    letter-spacing: 0;
    white-space: nowrap;
}

#section_technic li h3 span.color{
    margin: 0 0 0 5px;
    padding: 0;
    color: #f82709;
    font-size: 25px;
    border: none;
    line-height: 1em;
}

#section_technic li .sub{
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.6em;
}

#section_technic li .pic{
    margin: 0 0 10px 0;
    text-align: center;
    position: relative;
    top: -5px;
}

#section_technic li .pic img{
    max-width: 640px;
}

#section_technic li .desc{
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.527em;
}

#section_technic li.t01{ background-image:url(../images/parts_bg_tec_01.png);}
#section_technic li.t02{ background-image:url(../images/parts_bg_tec_02.png);}
#section_technic li.t03{ background-image:url(../images/parts_bg_tec_03.png);}
#section_technic li.t04{ background-image:url(../images/parts_bg_tec_04.png);}
#section_technic li.t05{ background-image:url(../images/parts_bg_tec_05.png);}
#section_technic li.t06{ background-image:url(../images/parts_bg_tec_06.png);}
#section_technic li.t07{ background-image:url(../images/parts_bg_tec_07.png);}
#section_technic li.t08{ background-image:url(../images/parts_bg_tec_08.png);}
#section_technic li.t09{ background-image:url(../images/parts_bg_tec_09.png);}
#section_technic li.t10{ background-image:url(../images/parts_bg_tec_10.png);}


/* --------------------------------------------------
*
    #mikuji_btm
*
-------------------------------------------------- */
#mikuji_btm{
    margin: 0 0 100px 0;
    text-align: center;
}

#mikuji_btm h4{
    width: 280px;
    height: 146px;
    padding: 35px 0 0 15px;
    margin: 0 0 10px 0;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.5em;
    font-size: 21px;
    letter-spacing: 0;
    background-image:url(../images/parts_btm_balloon_sp.png);
    background-size: 280px;
    background-repeat: no-repeat;
    background-position: center;
    white-space: nowrap;
}

#mikuji_btm .logo{
    margin: 0;
}

#mikuji_btm .logo img{
    width: 200px;
}


/* --------------------------------------------------
*
    #mikuji_foot_share
*
-------------------------------------------------- */
#mikuji_foot_share{
    margin: 0 0 50px 0;
    text-align: center;
}

#mikuji_foot_share ul{
    display: inline-block;
    vertical-align: top;
    position: relative;
}

#mikuji_foot_share ul.sns_share{
    margin: 0 0 25px 0;
}

#mikuji_foot_share ul.hobo_common{
    display: block;
}

#mikuji_foot_share ul.sns_share:before{
    content: 'シェアする';
    width: 100%;
    height: auto;
    font-size: 13px;
    font-weight: bold;
    display: block;
    position: absolute;
    top: -45px;
    left: 0;
}

#mikuji_foot_share li{
    margin: 0 20px;
    display: inline-block;
    vertical-align: top;
}

#mikuji_foot_share li a{
    color: #3c1312;
    transition: opacity .1s ease;
}

#mikuji_foot_share li a:hover{
    text-decoration: none;
    opacity: .7;
    transition: opacity .15s ease .1s;
}

#mikuji_foot_share li i{
    font-size: 36px;
}

#mikuji_foot_share li span{
    margin: 0 0 0 0;
    display: block;
    font-size: 13px;
}



/* --------------------------------------------------
*
    #modal
*
-------------------------------------------------- */
#modal_wrap{
    width: 100%;
    height: 100% !important;
    overflow: hidden;
    display: none;
    margin: 0 auto;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 65535;
}

#modal{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    visibility: hidden;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
}

#modal_inner{
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    display: inline-block;
    margin: 0 auto;
    opacity: 0;
    -ms-filter: "alpha(opacity=0)";
    text-align: center;
    position: relative;
    top: 0;
    z-index: 2;
}

#modal_inner::-webkit-scrollbar{ overflow:hidden; width:5px; background:#fff;}
#modal_inner::-webkit-scrollbar:horizontal{ height:5px;}
#modal_inner::-webkit-scrollbar-button{ display:none;}
#modal_inner::-webkit-scrollbar-piece{ background:#eee;}
#modal_inner::-webkit-scrollbar-piece:start{ background:#eee;}
#modal_inner::-webkit-scrollbar-thumb{ background:#333;}
#modal_inner::-webkit-scrollbar-corner{ background:#333;}

#modal_data{
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    overflow: hidden;
}

#modal_data img{
    width: 100%;
    height: auto;
}

#modal .overlay{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #ffde3c;
    opacity: 1;
    -ms-filter: "alpha(opacity=1)";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    cursor: pointer;
}

#modal .btn_close{
    width: 100%;
    height: 33px;
    position: absolute;
    top: 20px;
    right: 10px;
    z-index: 1000;
    cursor: pointer;
    transition: opacity .1s ease;
}

#modal .btn_close span{
    width: 100%;
    height: 33px;
    display: inline-block;
    margin: 0 auto;
    background-image:url(../images/parts_img_modal_logo.png);
    background-repeat: no-repeat;
    background-size: 200px;
    background-position: center;
}

#modal .btn_close:hover{
    opacity: .7;
    -ms-filter: "alpha(opacity=70)";
}

#modal_wrap a img{
    transition: opacity .1s ease;
}

#modal_wrap a:hover img{
    opacity: .7;
    transition: opacity .15s ease .1s;
}

/* --------------------------------------------------
*
    #omikuji_header_modal
*
-------------------------------------------------- */
#omikuji_header_modal{
    width: 100%;
    height: 75px;
    margin: 0 0 25px 0;
    background-color: #3c1312;
    text-align: center;
}

#omikuji_header_modal h1{
    display: inline-block;
    padding: 15px 0 0 0;
    position: relative;
    z-index: 11;
}

#omikuji_header_modal h1 img{
    width: 129px;
}


/* --------------------------------------------------
*
    #mikuji_result
*
-------------------------------------------------- */
#mikuji_result{
    padding: 0 0 50px 0;
    opacity: 0;
}

.switch_css #mikuji_result{
    opacity: 1 !important;
}

#mikuji_result h2{
    padding: 0 10px;
    margin: 0 0 20px 0;
    opacity: 0;
}

#mikuji_result h2 img{
    width: 100%;
    max-width: 500px;
}

#mikuji_result h3{
    margin: 0 0 25px 0;
    padding: 0 50px 10px 50px;
    display: inline-block;
    font-size: 28px;
    line-height: 1.3em;
    border-bottom: 1px solid #3c1312;
    opacity: 0;
}

#mikuji_result h3 .small{
    font-size: 28px;
    display: block;
}

#mikuji_result h3 .notes{
    margin: 10px 0 0 0;
    padding: 0;
    line-height: 1em;
    font-size: 13px;
    display: block;
    font-weight: normal;
}

#mikuji_result .desc{
    max-width: 600px;
    text-align: left;
    margin: 0 auto 70px auto;
    padding: 0 20px;
    font-size: 16px;
    opacity: 0;
}

#mikuji_result .desc br{
    margin: 0;
    padding: 0;
    line-height: 0;
}

#mikuji_result .desc br.sp{
    display: none;
}

#mikuji_result .copyright img{
    width: 250px;
}



/* --------------------------------------------------
*
    #mikuji_foot_share_modal
*
-------------------------------------------------- */
#mikuji_foot_share_modal{
    margin: 0 0 50px 0;
    text-align: center;
}

#mikuji_foot_share_modal ul{
    position: relative;
}

#mikuji_foot_share_modal ul.sns_share:before{
    content: 'シェアする';
    width: 100%;
    height: auto;
    font-size: 13px;
    font-weight: bold;
    display: block;
    position: absolute;
    top: -35px;
    left: 0;
}

#mikuji_foot_share_modal li{
    margin: 0 15px;
    display: inline-block;
    vertical-align: top;
}

#mikuji_foot_share_modal li a{
    color: #3c1312;
    transition: opacity .1s ease;
}

#mikuji_foot_share_modal li a:hover{
    text-decoration: none;
    opacity: .7;
    transition: opacity .15s ease .1s;
}

#mikuji_foot_share_modal li i{
    font-size: 36px;
}

#mikuji_foot_share_modal li span{
    margin: 0 0 0 0;
    display: block;
    font-size: 13px;
}
