@import url(base.css);

#procedure, #character, #item {
    background-image: url(../../img/common/bg_head.png);
    background-repeat: repeat-x;
    background-position: center 0;
}
#contents .wrap > * {
    position: relative;
    z-index: 1;
}

h1.ttl {
    padding: 1.0rem 0 0.6rem;
    color: #fafa00;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    background-color: #171420;
    border-bottom: solid 1px #fafa00;
}
h2 {
    margin: 0 auto;
    padding: 1.6rem 2.0rem;
    background-color: #8b1ee6;
    color: #fafa00;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
}
h3 {
    padding: 1.6rem 2.0rem;
    color: #fafa00;
    font-size: 2.1rem;
    font-weight: bold;
    text-align: center;
}
h4 {
    margin: 0 auto;
    padding-left: 2.4rem;
    color: #fafa00;
    font-size: 1.6rem;
    font-weight: bold;
    text-indent: -2.4rem;
}
h4:before {
    height: 1.2rem;
    width: 2.4rem;
    content: " ";
    background: url(../../img/common/icon_ttl.png) no-repeat;
    background-size:contain;
    display:inline-block;
}

p, li, dt, dd {
    font-size: 1.6rem;
}

.hover {
    -moz-transition: -moz-transform 0.4s ease;
    -webkit-transition: -webkit-transform 0.4s ease;
    -o-transition: -o-transform 0.4s ease;
    -ms-transition: -ms-transform 0.4s ease;
    transition: transform 0.4s ease;
}
.hover:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
#contents {
    max-width: 768px;
    margin: 0 auto;
    padding-bottom: 7.4rem;
    position: relative;
}
.wrap {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 7.4rem;
    z-index: 2;
}
#footer-navi {
    padding: 1.2rem 2.0rem;
    background-color: #823296;
    position: relative;
}
#footer-navi .wrap {
    max-width: 768px;
    background: #823296;
}
#footer-navi .prev a,
#footer-navi .next a {
    display:inline-block;
    width: 2.0rem;
    height: 2.0rem;
}
#footer-navi .prev a {
    float: left;
    margin-left: 0.4rem;
    background:url(../../img/common/arrow_l_off.png);
    background-size:contain;
}
#footer-navi .prev a:hover {
    background:url(../../img/common/arrow_l_on.png);
    background-size:contain;
    transform: scale(1.0);
}

#footer-navi .next a {
    float: right;
    margin-right: 0.4rem;
    background:url(../../img/common/arrow_r_off.png);
    background-size:contain;
}
#footer-navi .next a:hover {
    background:url(../../img/common/arrow_r_on.png);
    background-size:contain;
    transform: scale(1.0);
}
#footer-navi .top {
    width: 10rem;
    margin: auto;
    line-height: 1.8rem;
    position: absolute;
    left: 0;
    right: 0;
}
#footer-btn {
    padding: 0.4rem 0 0.8rem;
    font-size: 1.0rem;
    text-align: center;
    background-color: #fff;
    z-index: 1;
}
#footer-btn a,
#footer-btn p {
    color: #3c3c3c;
    font-size: 1.2rem;
    line-height: 2.0rem;
    display: block;
}
#footer-btn a:hover {
    color: #ccc;
}
#sns {
    width: 10.6rem;
    position: absolute;
    margin: auto;
    top: 0.6rem;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
}
#develop h3 {
    font-size: 3.4rem;
}
#develop #snsbtn {
    height: 4rem;
    position: relative;
}
#sns li {
    width: 3.0rem;
    margin-right: 0.8rem;
    float: left;
    display: block;
}
#sns li:last-child {
    margin-right: 0;
}
#sns li a {
    display: block;
}
/* 中ページ共通 */
#all {
    position: relative;
}
/*
#all:before {
    height: 100%;
    width: 100%;
    content: "";
    background-image: url(../../img/common/bg_footer.png);
    background-repeat: repeat-x;
    background-position: center bottom;
    position: absolute;
    bottom: 7.4rem;
    z-index: 0;
}
*/
#all.bg02:before {
    height: 100%;
    width: 100%;
    content: "";
    background-image: url(../../img/common/bg_footer02.png),
                      url(../../img/common/bg_footer.png);
    background-repeat: no-repeat, repeat-x;
    background-position: left bottom, center bottom;
    position: absolute;
    bottom: 7.4rem;
    z-index: 0;
}

.txt-center {
    text-align: center;
}
.image {
    max-width: 440px;
    margin: 0 auto;
    border: solid 2px #d7ebe6;
    box-sizing:border-box
}
.box {
    margin: 0 auto;
    position: relative;
}
.box.bg {
    background-color: #244247;
}
.box.bg dt {
    padding: 0.4rem 1.6rem;
    background-color: #1eb45a;
    color: #f5ff96;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: left;
    text-justify: none;
    overflow: hidden;
}
.box.bg dd {
    padding: 1.2rem 1.6rem;
    color: #fff;
    font-size: 1.6rem;
}
.box > p {
    margin-top: 1.6rem;
    font-size: 1.6rem;
    line-height: 2.3rem;
}
.thumbs .box {
    margin-top: 1.2rem;
    padding: 1.2rem 0 1.2rem 1.2rem;
}
.thumbs .box .thumb {
    width: 10.0rem;
    margin: 0 1.2rem 0 0;
    display: inline-block;
    vertical-align: top;
}
.thumbs .box dl {
    width: calc( 100% - 11.6rem );
    display: inline-block;
}
.thumbs .box dl dt{
    color: #fff;
}
.thumbs .box dd {
    padding: 1.2rem 2rem 0 0;
}
ol.num {
    counter-reset:number;
    list-style-type: none!important;
}
ol.num li{
    margin-top: 1.5rem;
    line-height: 2.8rem;
    padding: 0.4rem 1rem 0.4rem 4.4rem;
    background-color: #5a2891;
    color: #fafa1e;
    font-weight: bold;
    text-indent: -2.6rem;
    position: relative;
}

ol.num li p.hdnum {
    margin-right: 0.8rem;
    display:inline-block;
    background: #fafa1e;
    color: #9600f0;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1.8rem;
    text-align:center;
    text-indent: 0;
    vertical-align: 0.1rem;
}
ol.num li.nobg {
    background: none;
    margin-top: 0;
    color: #fff;
    font-weight: 400;
}
ol.num li.nobg.no-indnt {
    padding-left: 1.8rem;
    text-indent: 0;
}
@media all and (-ms-high-contrast:none){
    *::-ms-backdrop, ol.num li span {
        line-height: 2.3rem;
    }
}
.topics {
    color: #8cfaa0;
    padding: 2.2rem;
    background-color: #00643c;
}
.topics dt {
    padding-bottom: 0.4rem;
    color: #8cfaa0;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    border-bottom: solid 1px #82fa8c;
}
.topics dd,
.topics p,
.topics ul {
    color: #82fa8c;
}
#ttlbg {
    position: relative;
}
#ttlbg:before {
    height: 80%;
    width: 100%;
    content: "";
    background-image: url(../../img/common/bg_ttl.png);
    background-repeat: repeat-x;
    background-position: center top;
    display: block;
    position: absolute;
    top: -8rem;
    z-index: 0;
}
#ttlbg .devbox {
    margin-left: auto;
    margin-right: auto;
    max-width: 768px;
    padding-bottom: 7.4rem;
}

#develop h3 {
    padding: 1.6rem 0 0.4rem;
    border-bottom: solid 1px #fafa00;
    text-align: left;
}
#develop .intro {
    color: #fafa00;
    font-size: 2.1rem;
}
#develop p {
    text-shadow: 2px 2px 5px #000;
}
/*
#develop p.btn {
    width: 21rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
}

#develop p.btn a {
    padding: 0.8rem 0.4rem 0.8rem 1rem;
    background-color: #fafa1e;
    color: #823296;
    font-weight: bold;
    box-shadow: 5px 5px 0 #000;
    display: block;
    transition: transform 0.4s ease;
}
#develop p.btn a:hover {
    color: #823296;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
#develop p.btn a:after {
    margin-left: 0.4rem;
    height: 1.4rem;
    width: 1.4rem;
    content: " ";
    background: url(../../img/common/arrow03.png) no-repeat;
    background-size:contain;
    display:inline-block;
}
*/
p.link_txt {
    padding-left: 3.0rem;
    text-indent: -2.1rem;
}
p.link_txt a {
    padding: 0.8rem 0.4rem 0.8rem 1rem;
    color: #fafa00;
    font-weight: bold;
}
p.link_txt a:hover {
    color: #f8f8a7;
}
p.link_txt a:before {
    margin-right: 0.6rem;
    height: 1.3rem;
    width: 1.3rem;
    content: " ";
    background: url(../../img/common/arrow_r_on.png) no-repeat;
    background-size:contain;
    display:inline-block;
}

.pagetop {
    margin: 3.2rem 1.6rem;
    width: 10rem;
    float: right;
    font-size: 1.1rem;
    line-height: 1.1rem;
    display: inline-block;
    position: relative;
    bottom: 0;
    z-index: 1;
}
.pagetop a {
    display:inline-block;
}
.pagetop a:after {
    margin:0 0 0 0.4rem;
    content:" ";
    display:inline-block;
    width: 1.1rem;
    height: 1.1rem;
    background:url(../../img/common/icon_pagetop_off.png);
    background-size:contain;
}
.pagetop a:hover:after {
    background:url(../../img/common/icon_pagetop_on.png);
    background-size:contain;
}
.mt1 {
    margin-top: 1.75rem;
}
.mt2 {
    margin-top: 2rem;
}
.mt3 {
    margin-top: 3rem;
}
.mt4 {
    margin-top: 4rem;
}
.mt5 {
    margin-top: 5rem;
}
.mt6 {
    margin-top: 6rem;
}
.mt7 {
    margin-top: 7rem;
}
.mt8 {
    margin-top: 8rem;
}
.txt01 {
    font-size: 2.1rem;
    font-weight: bold;
}
.pt1 {
    padding-top: 1.75rem;
}
.pb0 {
    padding-bottom: 0 !important;
}
.note {
    text-indent: -0.8rem;
    margin-left: 1.2rem;
    padding-top: 0.75rem;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

@media screen and (max-width: 420px) {
    #all:before {
        background-size: 80%;
    }
    #all.bg02:before {
        background-size: 50%, 80%;
    }
    #ttlbg:before {
        background-size: 100%;
        top: -2rem;
    }
    body {
        background-size: 80%;
    }
}
@media screen and (min-width: 421px) {
    p,
    .box > p {
        line-height: 3.0rem;
    }
}

/* 3DS */
.ds #contents {
    padding-bottom: 0;
}
.ds .thumbs .box dl {
    width: 16rem;
    display: inline-block;
}
.ds #footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 7.4rem;
    z-index: 2;
}
