@import url("https://fonts.googleapis.com/css?family=Oswald:300,400,500");

.detailArea {
  color: #fff;
}

.chara_img,
.img_pt {
  pointer-events: none;
}

@media screen and (min-width: 48.0625em) {
  .thumbArea {
    margin-top: -25px;
    margin-bottom: 40px;
  }
  .thumbArea .list {
    letter-spacing: -.4em;
    text-align: left;
  }
  .thumbArea .list li {
    display: inline-block;
    position: relative;
    width: 64px;
    margin-top: 25px;
    margin-left: 6px;
    vertical-align: top;
    letter-spacing: normal;
    cursor: pointer;
  }
  .thumbArea .list li.new:after {
    content: " ";
    display: block;
    position: absolute;
    top: -17px;
    left: 0;
    width: 64px;
    height: 16px;
    background: url("/assets/img/character/icon_new.png") center bottom no-repeat;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
  }
  .thumbArea .list li:first-child, .thumbArea .list li:nth-child(14) {
    margin-left: 0;
  }
  .thumbArea .list li img {
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
  }
  .thumbArea .list li:hover img, .thumbArea .list li.active img {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
  }

  .detailArea {
    position: relative;
    min-height: 900px;
  }
  .detailArea:before {
    content: "";
    position: absolute;
    top: 0;
    left: 430px;
    width: 691px;
    height: 456px;
    background: url("../img/character/bg_chara.png") top center no-repeat;
    background-size: contain;
  }
  .detailArea .detailItem {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
  }
  .detailArea .detailItem.active {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    opacity: 1;
    z-index: 5;
  }
  .detailArea .detailItem .charaBox {
    position: relative;
    margin-bottom: 60px;
  }
  .detailArea .detailItem .charaBox .cap {
    display: table;
    position: relative;
    margin-bottom: 40px;
  }
  .detailArea .detailItem .charaBox .cap img {
    width: auto;
    height: 30px;
  }
  .detailArea .detailItem .charaBox .nameArea {
    margin-bottom: 35px;
  }
  .detailArea .detailItem .charaBox .nameArea .name {
    position: relative;
    margin-bottom: 13px;
    padding-bottom: 8px;
    font-weight: 500;
    font-size: 45px;
    letter-spacing: -.05em;
  }
  .detailArea .detailItem .charaBox .nameArea .name span {
    font-size: 30px;
    letter-spacing: normal;
  }
  .detailArea .detailItem .charaBox .nameArea .name:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #becde0;
  }
  .detailArea .detailItem .charaBox .nameArea .name:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 170px;
    height: 2px;
    background: #801f28;
  }
  .detailArea .detailItem .charaBox .nameArea .cv {
    font-weight: 500;
    font-size: 22px;
  }
  .detailArea .detailItem .charaBox .btn_imgchange {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li {
    cursor: pointer;
    position: relative;
    width: 113px;
    height: 34px;
    margin: 0 0 5px;
    line-height: 34px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #801f28;
    background: url("../img/character/btn_chara-change_off.png");
    -webkit-background-size: 113px 34px;
    -o-background-size: 113px 34px;
    background-size: 113px 34px;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li.img_active {
    pointer-events: none;
    color: #fff;
    background: url("../img/character/btn_chara-change_active.png");
    -webkit-background-size: 113px 34px;
    -o-background-size: 113px 34px;
    background-size: 113px 34px;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li:hover {
    animation: hudFlash 0.1s cubic-bezier(0.47, 0, 0.745, 0.715) forwards normal;
    -webkit-animation-iteration-count: 4;
    animation-iteration-count: 4;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .detailArea .detailItem .charaBox .charaIn {
    display: none;
    opacity: 0;
  }
  .detailArea .detailItem .charaBox .charaIn.img_show {
    display: block;
    opacity: 1;
    animation-duration: 0.5s;
    animation-name: fade-in;
    -moz-animation-duration: 0.5s;
    -moz-animation-name: fade-in;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-name: fade-in;
  }
  .detailArea .detailItem .charaBox .desc {
    width: 400px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.8em;
  }
  .detailArea .detailItem .charaBox .img_pt {
    width: 463px;
    margin-bottom: 8px;
    margin-left: -28px;
  }
  .detailArea .detailItem .charaBox .photo {
    position: relative;
    width: 400px;
    margin-top: 30px;
    padding: 4px 0;
  }
  .detailArea .detailItem .charaBox .photo .frame {
    position: absolute;
    top: 0;
    left: 0;
  }
  .detailArea .detailItem .charaBox .chara_img {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 384px;
    width: 670px;
  }
  .detailArea .detailItem .charaBox .chara_img.tooBig {
    position: absolute;
    top: -20px;
    left: 364px;
    width: 670px;
  }
  .detailArea .detailItem .charaBox .chara_img.tooRight {
    position: absolute;
    top: 0;
    left: 374px;
  }


  .pager .btnPrev {
    position: absolute;
    left: 0;
    bottom: -40px;
    width: 70px;
    cursor: pointer;
    z-index: 15;
  }
  .pager .btnPrev:hover {
    -webkit-animation: hudFlash 0.1s cubic-bezier(0.47, 0, 0.745, 0.715) forwards normal;
    animation: hudFlash 0.1s cubic-bezier(0.47, 0, 0.745, 0.715) forwards normal;
    animation-iteration-count: 4;
    -webkit-animation-iteration-count: 4;
  }
  .pager .btnNext {
    position: absolute;
    right: 0;
    bottom: -40px;
    width: 70px;
    cursor: pointer;
    z-index: 15;
  }
  .pager .btnNext:hover {
    -webkit-animation: hudFlash 0.1s cubic-bezier(0.47, 0, 0.745, 0.715) forwards normal;
    animation: hudFlash 0.1s cubic-bezier(0.47, 0, 0.745, 0.715) forwards normal;
    animation-iteration-count: 4;
    -webkit-animation-iteration-count: 4;
  }
}
@media screen and (max-width: 48em) {
  .charaArea {
    position: relative;
    width: 670px;
    width: 89%;
    margin: 0 auto;
  }

  .thumbArea {
    margin-bottom: 0;
  }
  .thumbArea .list {
    letter-spacing: -.4em;
    text-align: left;
  }
  .thumbArea .list li {
    display: inline-block;
    position: relative;
    width: 14.9%;
    margin-bottom: 22px;
    margin-left: 2%;
    vertical-align: top;
    letter-spacing: normal;
    cursor: pointer;
  }
  .thumbArea .list li.new:after {
    content: " ";
    display: block;
    position: absolute;
    top: -14px;
    left: 50%;
    width: 54px;
    height: 13px;
    background: url("/assets/img/character/icon_new.png") center bottom no-repeat;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .thumbArea .list li:nth-child(6n+1) {
    margin-left: 0;
  }
  .thumbArea .list li img {
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
  }
  .thumbArea .list li.active img {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
  }

  .detailArea {
    position: relative;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
  }
  .detailArea .detailItem {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
  }
  .detailArea .detailItem:before {
    content: "";
    position: absolute;
    top: 0;
    left: 28.2%;
    width: 372px;
    height: 299px;
    background: url("../img/character/bg_chara.png") top center no-repeat;
    background-size: contain;
  }
  .detailArea .detailItem.active {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    opacity: 1;
  }
  .detailArea .detailItem .charaBox {
    position: relative;
    margin-bottom: 60px;
  }
  .detailArea .detailItem .charaBox .cap {
    display: table;
    position: relative;
    width: 94.9%;
    margin-bottom: 25px;
  }
  .detailArea .detailItem .charaBox .nameArea .name {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-weight: 500;
    font-size: 30px;
  }
  .detailArea .detailItem .charaBox .nameArea .name span {
    font-size: 18px;
    letter-spacing: normal;
  }
  .detailArea .detailItem .charaBox .nameArea .name:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #becde0;
  }
  .detailArea .detailItem .charaBox .nameArea .name:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 2px;
    background: #801f28;
  }
  .detailArea .detailItem .charaBox .nameArea .cv {
    font-weight: 500;
    font-size: 16px;
  }
  .detailArea .detailItem .charaBox .btn_imgchange {
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 999;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li {
    cursor: pointer;
    position: relative;
    width: 100px;
    height: 30px;
    margin: 0 0 5px;
    line-height: 30px;
    text-align: center;
    font-size: 9px;
    color: #801f28;
    background: url("../img/character/btn_chara-change_off.png?new");
    -webkit-background-size: 100px 30px;
    -o-background-size: 100px 30px;
    background-size: 100px 30px;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li.img_active {
    pointer-events: none;
    color: #fff;
    background: url("../img/character/btn_chara-change_active.png");
    -webkit-background-size: 100px 30px;
    -o-background-size: 100px 30px;
    background-size: 100px 30px;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li:hover {
    animation: hudFlash 0.1s cubic-bezier(0.47, 0, 0.745, 0.715) forwards normal;
    -webkit-animation-iteration-count: 4;
    animation-iteration-count: 4;
  }
  .detailArea .detailItem .charaBox .btn_imgchange li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .detailArea .detailItem .charaBox .charaIn {
    display: none;
    opacity: 0;
  }
  .detailArea .detailItem .charaBox .charaIn.img_show {
    display: block;
    opacity: 1;
    animation-duration: 0.5s;
    animation-name: fade-in;
    -moz-animation-duration: 0.5s;
    -moz-animation-name: fade-in;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-name: fade-in;
  }
  .detailArea .detailItem .charaBox .chara_img.childhood {
    margin-top: -70px;
  }
  .detailArea .detailItem .charaBox .desc {
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6em;
  }
  .detailArea .detailItem .charaBox .img_pt {
    margin-bottom: 10px;
  }
  .detailArea .detailItem .charaBox .photo {
    position: relative;
    padding: 1% 0;
  }
  .detailArea .detailItem .charaBox .photo .frame {
    position: absolute;
    top: 0;
    left: 0;
  }

  .pager {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  .pager .btnPrev {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    cursor: pointer;
  }
  .pager .btnNext {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70px;
    cursor: pointer;
  }
}
@keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
@-moz-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
@-webkit-keyframes fade-in {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}