@charset "UTF-8";

/* header */
.o-header {
    position: relative;
    overflow: hidden;
    height: 801px;
}

.o-header__logo,
.o-header__top {
    z-index: 15;
}

/* howto */
.c-howto__chara {
    position: relative;
}

.c-howto__chara::before,
.c-howto__chara::after {
    content: "";
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
}

.c-howto__chara::before {
    background-image: url(../img/howto/chara-left.png);
    width: 185px;
    height: 453px;
    top: 0;
    left: 60px;
}

.c-howto__chara::after {
    background-image: url(../img/howto/chara-right.png);
    width: 252px;
    height: 490px;
    top: -40px;
    right: 20px;
}

.c-howto__top-title {
    text-align: center;
    margin-bottom: 20px;
}

.c-howto__flex .left .label {
    justify-content: flex-start;
}

.c-howto__flex .left .label div+div {
    margin-left: 10px;
}

.c-howto__flex .left .label div:nth-child(1) {
    background-color: #864404;
}

.c-howto__flex .left .label div:nth-child(2) {
    background-color: #663200;
}

.c-howto__flex .left .label div:nth-child(3) {
    background-color: #864404;
}

.c-howto__flex .left .label div:nth-child(4) {
    background-color: #663200;
}

.c-howto__flex .right {
    width: 40%;
}

.c-howto__flex.c-howto__flex--imageLeft .right {
    width: 67%;
}

/* story */
.c-story .fadein--01 {
    margin-top: 0;
    -webkit-transform: translate(0, 50px);
    transform: translate(0, 50px);
}

.c-story .fadein--02 {
    -webkit-transform: translate(-100px, 0);
    transform: translate(-100px, 0);
}

.c-story .fadein--03 {
    -webkit-transform: translate(100px, 0);
    transform: translate(100px, 0);
}

.c-story .fadein--04 {
    -webkit-transform: translate(-100px, 0);
    transform: translate(-100px, 0);
}

.c-story .fadein--05 {
    -webkit-transform: translate(100px, 0);
    transform: translate(100px, 0);
}

.c-story .fadein--06 {
    -webkit-transform: translate(-100px, 0);
    transform: translate(-100px, 0);
}

.c-story .fadein--07 {
    padding-bottom: 0;
    -webkit-transform: translate(100px, 0);
    transform: translate(100px, 0);
}

.c-story .fadein--08 {
    -webkit-transform: translate(-100px, 0);
    transform: translate(-100px, 0);
}

.c-story .fadein--09 {
    -webkit-transform: translate(100px, 0);
    transform: translate(100px, 0);
}

.c-story .fadein--10 {
    -webkit-transform: translate(-100px, 0);
    transform: translate(-100px, 0);
}

.c-story .fadein--11 {
    -webkit-transform: translate(100px, 0);
    transform: translate(100px, 0);
}

.c-story .fadein--12 {
    -webkit-transform: translate(-100px, 0);
    transform: translate(-100px, 0);
}

.c-story .fadein--13 {
    -webkit-transform: translate(100px, 0);
    transform: translate(100px, 0);
}

.c-story .fadein--14 {
    margin-top: 50px;
    -webkit-transform: translate(0, 50px);
    transform: translate(0, 50px);
}

.att {
    color: #c55800;
}


.o-modal2 {
  display: none;
  height: 100vh;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  overflow-y: scroll;
}

.o-modal__contents2 {
  position: absolute;
  z-index: 10;
  top: 5%;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  overflow-y: scroll;
  padding: 30px;
  width: 75%;
}

.o-modal__close-button2 {
  position: absolute;
  top: 0;
  right: 0;
}

.o-modal__close-button2:hover {
  cursor: pointer;
}

.o-modal__close-button2 span {
  display: inline-block;
  vertical-align: middle;
  color: #aa7a1d;
  line-height: 1;
  width: 30px;
  height: 3px;
  background-color: #f1da7e;
  border-radius: 0.1em;
  position: relative;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.o-modal__close-button2 span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f1da7e;
  border-radius: inherit;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.o-modal__table table {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.o-modal__table table th {
  text-align: left;
  font-weight: normal;
  padding: 0.5em;
  background-color: #f1da7e;
  border: 1px solid #b77f37;
  vertical-align: middle;
}

.o-modal__table table th.title {
  background-color: #00a8fe;
  color: #fff;
}

.o-modal__table table td {
  font-weight: normal;
  vertical-align: middle;
  padding: 1em;
  border: 1px solid #b77f37;
  background-color: #fff;
}

.o-modal-bg {
  display: none;
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
}

.js-modal-open2 {
  cursor: pointer;
  background: -webkit-gradient(linear, left top, left bottom, from(#ff58fd), to(#7f69ed));
  background: linear-gradient(to bottom, #ff58fd, #7f69ed);
  width: 215px;
  height: 40px;
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 10px 0 15px;
  font-weight: bold;
  margin-top: 30px;
}




@media only screen and (max-width: 599px) {

    .o-header {
        height: initial;
    }

    .o-header::after {
        top: 0;
    }

    .o-header__logo {
        top: 0;
    }
    .c-story .fadein--07 {
        max-width: 100%;
    }

    .c-howto__chara::before,
    .c-howto__chara::after {
        content: none;
    }

    .c-howto__block .table.table--sp th,
    .c-howto__block .table.table--sp td {
        display: table-cell !important;
        width: auto !important;
        border: 1px solid #b77f37 !important;
    }

    .c-howto__flex .left .label {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .c-howto__flex .left .label div {
        width: 48%;
        margin-bottom: 10px;
    }

    .c-howto__flex .left .label div+div {
        margin: 0;
    }

    .c-howto__flex .left {
        width: 100%;
    }

    .c-howto__flex .right {
        width: 100%;
    }

    .c-howto__flex .right p {
        text-align: left;
    }

    .c-howto__flex.c-howto__flex--imageLeft .right {
        width: 100%;
    }
}