@charset "UTF-8";
/* CSS Document */
.modal input {
  display: none; }
.modal__overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0); }
.modal__trigger {
  position: absolute;
  width: 100%;
  height: 100%; }
.modal__content {
  align-self: center;
  width: min(96%, 800px);
  padding: 84px 1rem;
  box-sizing: border-box;
  border-radius: 27px;
  color: #fff;
  background-color: #156b0f;
  line-height: 1.4em;
  transition: 0.5s; }
  @media screen and (max-width: 768px) {
    .modal__content {
      padding: 50px 1rem 20px; } }
  .modal__content p {
    width: min(100%, 420px);
    margin: 0 auto;
    padding-top: 0;
    color: #fff;
    text-align: justify;
    text-align-last: left; }
.modal__image {
  text-align: center; }
  .modal__image img {
    width: min(100%, 400px);
    border-radius: 20px; }
.modal__title {
  font-size: 1.5em;
  line-height: 1.5;
  padding-bottom: 30px;
  margin: 30px auto;
  width: min(100%, 420px);
  position: relative;
  letter-spacing: .1em;
  border-bottom: 1px solid #fff; }
  .modal__title::before {
    display: block;
    width: 50px;
    height: 50px;
    color: #156b0f;
    background-color: #fff;
    border-radius: 100px;
    position: absolute;
    top: -15px;
    left: -60px;
    line-height: 1.8;
    font-size: 26px;
    text-align: center; }
    @media screen and (max-width: 768px) {
      .modal__title::before {
        top: -60px;
        left: 0; } }
.modal__anchor a {
  color: #156b0f;
  background-color: #fff;
  display: inline-block;
  text-decoration: none;
  padding: 3px 6px;
  margin-top: 5px; }
  .modal__anchor a::after {
    content: "";
    display: inline-block;
    margin-left: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #156b0f;
    border-right: 0; }
.modal__open {
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  border: 1px dotted #666;
  border-radius: 10px;
  padding: 3px 5px;
  text-decoration: none; }
  .modal__open:hover {
    color: #fff;
    background-color: #156b0f;
    transition: .6s;
    box-sizing: border-box; }
  .modal__open:active {
    -webkit-transform: translateY(2px);
    transform: translateY(2px); }
  .modal__open:hover::after {
    border-left: 8px solid #293950; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 38px;
  cursor: pointer; }

.modal input:checked ~ .modal__overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s; }

.modal input:checked ~ .modal__overlay .modal__content {
  transform: translateY(20px); }

.paging-enter {
  opacity: 0; }
  .paging-enter-to {
    opacity: 1; }
  .paging-enter-active {
    transition: opacity 1s ease; }
.paging-leave {
  opacity: 1; }
  .paging-leave-to {
    opacity: 0; }
  .paging-leave-active {
    transition: opacity 1s ease; }

.paging2-enter {
  opacity: 0; }
  .paging2-enter-to {
    opacity: 1; }
  .paging2-enter-active {
    transition: opacity 2s ease; }
.paging2-leave {
  opacity: 1; }
  .paging2-leave-to {
    opacity: 0; }
  .paging2-leave-active {
    transition: opacity 2s ease; }

body {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, 游ゴシック体, YuGothic, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック, "Yu Gothic", Verdana, メイリオ, Meiryo, sans-serif;
  /*font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;*/
  line-height: 1.5;
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available; }

main {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative; }

.bg {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; }

.home {
  background-image: url("../img/contents/nuichip-story/home1920.jpg"); }
  @media (orientation: portrait) {
    .home {
      background-image: url("../img/contents/nuichip-story/home_sp960.jpg"); } }

.page01 {
  background-image: url("../img/contents/nuichip-story/illust01_1920.jpg"); }

.page02 {
  background-image: url("../img/contents/nuichip-story/illust02_1920.jpg"); }

.page03 {
  background-image: url("../img/contents/nuichip-story/illust03_1920.jpg"); }

.page04 {
  background-image: url("../img/contents/nuichip-story/illust04_1920.jpg"); }

.page05 {
  background-image: url("../img/contents/nuichip-story/illust06_1920.jpg"); }

.page06 {
  background-image: url("../img/contents/nuichip-story/illust07_1920.jpg"); }
  @media (orientation: portrait) {
    .page06 {
      background-image: url("../img/contents/nuichip-story/illust07_sp_960.jpg");
      background-position: center; } }

.page07 {
  background-image: url("../img/contents/nuichip-story/illust05_1920.jpg"); }
  @media (orientation: portrait) {
    .page07 {
      background-image: url("../img/contents/nuichip-story/illust05_sp_960.jpg");
      background-position: center top; } }

.page08 {
  background-image: url("../img/contents/nuichip-story/illust08_1920.jpg"); }
  @media (orientation: portrait) {
    .page08 {
      background-image: url("../img/contents/nuichip-story/illust08_sp_960.jpg");
      background-position: center top; } }

.page09 {
  background-image: url("../img/contents/nuichip-story/illust09_1920.jpg"); }

.page10 {
  background-image: url("../img/contents/nuichip-story/illust10_1920.jpg");
  background-position: center left 40%; }

.page11 {
  background-image: url("../img/contents/nuichip-story/illust11_1920.jpg"); }

.page12 {
  background-image: url("../img/contents/nuichip-story/illust12_1920.jpg"); }

.ending {
  background-image: url("../img/contents/nuichip-story/ending1920.jpg"); }
  @media (orientation: portrait) {
    .ending {
      background-image: url("../img/contents/nuichip-story/ending960.jpg"); } }

.start-back {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10%;
  background-color: rgba(255, 255, 255, 0.5); }
  .start-back a {
    text-decoration: none;
    color: #156b0f; }
    .start-back a .button {
      color: #156b0f;
      border-color: #156b0f;
      background-color: #e7efe7;
      border: 2px solid;
      padding: 0.5rem 1rem;
      border-radius: 100px;
      margin: 1rem auto;
      cursor: pointer; }
      .start-back a .button:hover {
        color: #156b0f;
        border-color: #156b0f;
        background-color: #fff; }
      .start-back a .button::after {
        content: " ▼"; }
  .start-back .button {
    color: #c57281;
    border-color: #c57281;
    background-color: #ffeef1;
    border: 2px solid;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin: 1rem auto;
    cursor: pointer; }
    .start-back .button:hover {
      color: #c57281;
      border-color: #c57281;
      background-color: #fff; }

.contents {
  width: min(90%, 500px);
  margin: 0 40px 40px;
  box-sizing: border-box; }
  .contents .story {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    font-size: 1.2rem;
    position: relative;
    transition: opacity .5s; }
    .contents .story.hidden {
      opacity: 0; }
    .contents .story .container {
      position: absolute;
      top: 0;
      left: 0; }
  .contents .toggle {
    text-align: center; }
    .contents .toggle span {
      padding: .5rem 1rem;
      border-radius: 100px; }
      .contents .toggle span.close {
        color: #fff;
        background-color: #156b0f;
        cursor: pointer; }
      .contents .toggle span.open {
        color: #156b0f;
        background-color: #fff;
        border: 1px solid #156b0f;
        cursor: pointer; }
  .contents .pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #156b0f; }
    .contents .pager .dot {
      width: 3px;
      height: 3px;
      display: contents; }
      .contents .pager .dot .fas {
        cursor: pointer;
        transition: transform .5s; }
        .contents .pager .dot .fas:hover {
          transform: scale(1.5); }
        @media screen and (max-width: 600px) {
          .contents .pager .dot .fas::before {
            font-size: 3px; } }
        .contents .pager .dot .fas.current {
          color: #fd687a; }
    .contents .pager .left {
      transition: opacity .3s;
      font-size: 3rem; }
      .contents .pager .left:hover {
        opacity: .5; }
    .contents .pager .right {
      transition: opacity .3s;
      font-size: 3rem; }
      .contents .pager .right:hover {
        opacity: .5; }
      .contents .pager .right .disabled {
        opacity: 0; }

@media screen and (max-width: 480px) {
  main {
    justify-content: center;
    align-items: flex-end; }

  .contents {
    margin: 0 auto 1rem; } }

/*# sourceMappingURL=nuichip-story.css.map */
