html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary,time, mark, audio, video { margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; }
body {line-height:1; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,q:before, q:after { content:'';content:none; }
a { margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent; }
/* change colours to suit your needs */
ins { background-color:#ff9;color:#000;text-decoration:none; }
/* change colours to suit your needs */
mark { background-color:#ff9;color:#000; font-style:italic;font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted;cursor:help; }
table { border-collapse:collapse;border-spacing:0; }
/* change border colour to suit your needs */
hr { display:block;height:1px;border:0;   border-top:1px solid #cccccc;margin:1em 0;padding:0; }
input, select { vertical-align:middle; }

img,
img a {
    border: none;
    vertical-align: bottom;
    padding: 0;
    margin: 0;
    max-width: 100%;
}
ul li {
    list-style: none;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}


body {
/*    background: url("/library/line/contents/img/039/back2.png") repeat; */
    font-family:"Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,sans-serif;
    width: 100%;
    line-height: 0;
    margin: 0 auto;
}

@media only screen and (min-width: 751px) {
    body {
        /*max-width: 750px;*/
        background: #FFF;
    }
}

.wrap {
    background: url("/library/line/contents/img/039/back2.png") repeat;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.wrapper {
    width: 100%;
    /*height: calc(100vw * 667 / 365);デフォルト*/
    /*height: calc((100vw * 667 / 365)-108px);pxマイナス*/
    height: calc(100vw * 559 / 365); /* iPhone8 でのツールバーの高さを引いた数値*/
    position: relative;
}
@media only screen and (min-width: 751px) {
    .wrapper {
        /*background: url("/library/line/contents/img/039/back2.png") repeat;*/
        height: 860px;
        min-height: auto!important;
        max-width: 750px;
        margin: 0 auto;

    }
    .wrap-pc {
        background: url("/library/line/contents/img/039/back2.png") repeat;
        height: 860px;
            min-height: auto;
    }
}

.main {
    width: 90%;
    margin: 0 auto;
    /*padding: 22% 0 4% 0;デフォルト*/
    padding: 12% 0 4% 0; /* iPhone8 でのツールバーの高さを引いた時*/
    position: relative;
    z-index: 10;
    text-align: center;
}

@media only screen and (min-width: 751px) {
    .main {
        width: 60%;
    }
}

.main-img {}
.start-btn {
    width: 79.9%;
    margin: -1% 0 0 0;
}


/*スタートボタンなど*/
#mainStartBlock {
    position: relative;
    z-index: 100;
    text-align: left;
}
#mainStartBlock.hidden {
    visibility: hidden;
    animation-duration: 1.2s;
    animation-name: fade-out;
}

/*おみくじふり*/
#mainOmikujiFuriBlock {
    position: relative;
    opacity: 0;
    z-index: 5;
    text-align: center;
}
@media only screen and (min-width: 751px) {
    #mainOmikujiFuriBlock {
        position: relative;
        opacity: 0;
        z-index: 5;
        text-align: center;
        width: 70%;
        margin: 0 auto;
    }

}

.circle {
    position: absolute;
    width: 135%;
    left: 50%;
    top: 7%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    transform-origin: 50% 50%;
    text-align: center;
}

@media only screen and (min-width: 751px) {
    .circle {
        width: 95%;
    }
}

.circle img {
    transform-origin: 50% 50%;
    width: 100%;
    opacity: 0;
}
.omikuji-furi {
    position: relative;
    z-index: 2;
    padding: 12% 0 0 0;
}

/*おみくじ*/
#mainOmikujiBlock {
    opacity: 0;
}
.omikuji {
    width: 82%;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    text-align: right;
}
@media only screen and (min-width: 751px) {
    .omikuji {
        width: 55%;
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 3;
        text-align: right;
    }
}

.result-block {
    /*position: absolute;*/
    /*top: 10%;*/
    margin: 10% 0 0 0;
    text-align: center;
}

@media only screen and (min-width: 751px) {
    .result-block {
        margin: 0;
        padding: 5% 0 0 0;
    }
}
.result {
    width: 90%;
    margin: 0 auto;
    padding: 0 0 3.8% 0;
}
.reult-btn-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 76%;
    margin: 0 auto 5% auto;
}

.reult-btn-block p {
    line-height: 1.6;
    font-size: 14px;
    font-weight: bold;
    padding: 0 0 7.7% 0;
}
.reult-btn-block div {
    margin: 0 0 6% 0;
}
.text {}
ul.sns {
    display: flex;
    flex-wrap: nowrap;
    text-align: center;
    justify-content: center;
    margin: 0 0 10% 0;
}
ul.sns li {width: 15%;margin: 0 4%;}

@media only screen and (min-width: 751px) {
    .result {
        width: 50%;
    }
    .reult-btn-block {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        width: 46%;
        margin: 0 auto 5% auto;
    }
}


/*.footer {*/
/*    background: #FFF;;*/
/*}*/
/*.footer .inner {*/
/*    padding: 6% 0;*/
/*}*/
/*.footer-logo {*/
/*    text-align: center;*/
/*    width: 48%;*/
/*    margin: 0 auto;*/
/*}*/
/*.footer-line {padding: 0.7% 0;}*/
/*.footer-news {*/
/*    text-align: right;*/
/*    padding: 0 4% 0 0;*/
/*}*/
/*.footer-news img {*/
/*    width: 30.5%;*/
/*}*/
/*.copy {*/
/*    text-align: right;*/
/*    padding: 0 5% 0 0;*/
/*    font-size: 0.6rem;*/
/*}*/


/*==========================================================
Gloval Footer
===========================================================* /
#g_footer{}

/* 共有CSS「footer-zenrosai_sp.css」をOverwrite
-------------------------------------------------* /
footer {
    background-color: #fff;
    width:100%;
    margin:0;
    padding: 5px 0 10px;
    border-top:none;
}

.footer_bottom {
    background: url(/library/line/contents/img/039/footer_bg_sp.png) 50% 50% no-repeat;
    background-size: 100%;
    padding: 5.067% 0 0;
    font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Helvetica, Arial, Sans-Serif;
    font-size: 4vw;
    color: #000;
    line-height: 1.8;
}
.footer_bottom .inner { padding: 0 4%; }
.footer-logo {
    width: 52.667%;
    line-height: 1;
    margin: 0 auto 11.733%;
}
.footer-logoNews {
    width: 32%;
    line-height: 1;
    margin-left: auto;
}
.footer-copy {
    width: 100%;
    text-align: right;
    font-size: 2.267vw;
    line-height: 1;
    margin: 0;
    margin-top: 4%;
    margin-right: 4%;
}

@media screen and (min-width: 751px) {
    .footer_bottom {
        /*padding: 38px 0 0;*/
        /*background: url(/library/line/contents/img/039/footer_bg_pc.png) 50% 50% no-repeat;* /
        /*background-size: 100%;* /
        clear: both;
        position: relative;
        padding: 30px 0 60px;
        font-size: 1.0em;
        background: url(/library/line/contents/img/039/footer_line_img01.png) top 70px center / 750px 45px no-repeat, url(/library/line/contents/img/039/footer_line_img02.png) top 86px left / 1px 13px repeat-x;
        background-color: #fff;
        overflow: visible;
    }
    .footer_bottom.inner {
        width: 100%;
        padding: 0 42px;
    }
    .footer-logo {
        width: 197px;
        font-size: 0;
        margin: 0 auto 60px;
    }
    .footer-logoNews {
        width: 150px;
        font-size: 0;
    }
    .footer-copy {
        font-size: 14px;
        margin-top: 1.667%;
    }
}

@media screen and (min-width: 960px) {
    .footer_bottom {
        /*padding: 38px 0 0;*/
        /*background: url(/library/line/contents/img/039/footer_bg_pc.png) 50% 50% no-repeat;* /
        /*background-size: 100%;* /
        clear: both;
        position: relative;
        padding: 30px 0 60px;
        font-size: 1.0em;
        background: url(/library/line/contents/img/039/footer_line_img01.png) top 70px center / 960px 45px no-repeat, url(/library/line/contents/img/039/footer_line_img02.png) top 86px left / 1px 13px repeat-x;
        background-color: #fff;
        overflow: visible;
    }
}
*/

/* footer ----------------------------------------- */

.footer {
  padding: 5.06667% 0 0;
  background: url(/library/line/contents/img/039/footer_bg_sp.png) 50% 50% no-repeat;
  background-size: 100%;
  margin-bottom: -3%;
    background-color: #ffffff;
}

*, ::before, ::after {
    background-repeat: no-repeat;
    box-sizing: inherit;
}
/*
.footer ,.footer * {
	background-repeat: no-repeat;
	box-sizing: inherit;
}*/
.footer img {	
width: 100%;	
vertical-align: bottom;	
}

@media screen and (min-width: 768px), print {
  .footer {
    padding: 38px 0 0;
    background: url(/library/line/contents/img/039/footer_bg_pc.png) 50% 50% no-repeat;
    background-size: 100%;
    margin-bottom: -5%;
  }
}

@media screen and (min-width: 1150px) {
  .footer {
    background-position: 50% 45%;
  }
}

@media screen and (min-width: 1200px) {
  .footer {
    padding: 38px 0 0;
    background: url(/library/line/contents/img/039/footer_bg_pc_02.png) 50% 45% no-repeat;
    background-size: 160%;
    margin-bottom: -5%;
  }
}

@media screen and (min-width: 1400px) {
  .footer {
    background-size: 130%;
  }
}

@media screen and (min-width: 1600px) {
  .footer {
    background-size: 120%;
  }
}

@media screen and (min-width: 1700px) {
  .footer {
    background-size: contain;
  }
}

.footer .inner {
  padding: 0 4%;
  box-sizing: border-box;
}

@media screen and (min-width: 768px), print {
  .footer .inner {
    width: 100%;
    padding: 0 42px;
	margin: 0 auto;
  }
}

@media screen and (min-width: 1200px) {
  .footer .inner {
    width: 1200px;
  }
}

.footer-logo {
  width: 52.66667%;
  line-height: 1;
  margin: 0 auto 11.73333%;
}

@media screen and (min-width: 768px), print {
  .footer-logo {
    width: 197px;
    font-size: 0;
    margin: 0 auto 5%;
  }
}

@media screen and (min-width: 1000px) {
  .footer-logo {
    margin: 0 auto 4.16667%;
  }
}

@media screen and (min-width: 1200px) {
  .footer-logo {
    margin: 0 auto 50px;
  }
}

.footer-logoNews {
  width: 32%;
  line-height: 1;
  margin-left: auto;
}

@media screen and (min-width: 768px), print {
  .footer-logoNews {
    width: 150px;
    font-size: 0;
  }
}

.footer-copy {
  width: 100%;
  text-align: right;
  font-size: 2.26667vw;
  line-height: 1;
  margin: 0;
  margin-top: 4%;
  margin-right: 4%;
}

@media screen and (min-width: 768px), print {
  .footer-copy {
    font-size: 14px;
    margin-top: 1.66667%;
  }
}

@media screen and (min-width: 1200px) {
  .footer-copy {
    margin-top: 20px;
  }
}
/* ----------------------------------------- */



@keyframes circle {
    0% {
        visibility: visible;
        opacity: 1;
    }
    100% {
        width: 100%;
    }
}

@keyframes fade-out {
    0% {
        visibility: visible;
        opacity: 1;
    }
    /*50% {*/
    /*    visibility: hidden;*/
    /*    opacity: .5;*/
    /*}*/
    100% {
        visibility: hidden;
        opacity: 0;
    }
}

.pc_view { display: block !important; }
.sp_view { display: none !important; }

@media only screen and (max-width: 751px) {
    .pc_view { display: none !important; }
    .sp_view { display: block !important; }
}