@charset "utf-8";

@media (max-width: 639px) {
  /* CSS Document */

  body,
  td {
    color: #333;
  }

  /* view */
  .viewpc {
    display: none;
  }

  .viewsp {
    display: block;
  }

  /* header */
  .block-header {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 48px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.7);
    height: 45px;
  }

  .block-header .item1 {
    width: 70%;
    object-fit: contain;
  }

  .block-header .item1 img {
    height: 3.75rem;
    margin-left: 0.5em;
    object-fit: contain;
  }

  .block-header .menu {
    padding: 0.5rem 0.75rem;
    overflow: hidden;
    box-sizing: border-box;
    height: 45px;
    width: 100%;
  }

  .block-header .menu span {
    display: block;
    width: 26px;
    height: 5px;
    background-color: #333333;
    margin-bottom: 5px;
    transition: 0.3s;
    transform-origin: 0 100%;
  }

  .block-header .menu span:nth-child(3) {
    margin-bottom: 0;
    transform-origin: 0 0;
  }

  .open span:nth-child(1) {
    transform: rotate(45deg);
  }

  .open span:nth-child(2) {
    transform: translateX(-500px);
  }

  .open span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .list-header-menu {
    list-style: none;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.2);
  }

  .list-header-menu li.list-ttl {
    padding: 0.75em 1em;
    border-bottom: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-weight: bold;
    height: 46px;
    box-sizing: border-box;
  }

  .list-header-menu li {
    padding: 0.75em 1em;
    border-bottom: 1px solid #ddd;
  }

  .list-header-menu li a {
    color: #555;
    display: block;
    text-decoration: none;
  }

  ul.list-header-half {
    display: flex;
    padding-left: 0;

  }

  ul.list-header-half li {
    list-style: none;
    text-align: center;
    width: 50%;
  }

  ul.list-header-half li:first-child {
    border-right: 1px solid #ddd;
  }

  /* pages */

  /* story */
  .block-story-container {
    padding: 1em;
    width: 90%;
  }

  .block-back-center {
    width: 100%;
    text-align: center;
    margin: 2em 0 4em 0;
  }

  /* music */
  .block-music-container {
    padding: 1em;
    width: 90%;
  }

  .list-music {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  /* chara */
  .block-back a {
    z-index: 9;
    top: 20px;
    bottom: auto;
    left: 0px;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5em 2em;
    color: #fff !important;
  }

  /* link */
  a {
    text-decoration: none;
    transition: 3s all ease 0s;
    -webkit-transition: all .3s;
  }

  a:link {
    color: #333;
  }

  a:active {
    color: #666;
  }

  a:visited {
    color: #333;
  }

  a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";
  }

  a.top-line {
    position: relative;
    display: inline-block;
    transition: .3s;
  }

  a.top-line::before,
  a.top-line::after {
    position: absolute;
    content: '';
    width: 0;
    height: 1px;
    background-color: #999;
    transition: .3s;
  }

  a.top-line::before {
    top: 0;
    left: 0;
  }

  a.top-line::after {
    bottom: 0;
    right: 0;
  }

  a.top-line:hover::before,
  a.top-line:hover::after {
    width: 100%;
  }

  a.line {
    position: relative;
    display: inline-block;
    transition: .3s;
  }

  a.line::after {
    content: none;
  }

  a.line:hover::after {
    width: 100%;
  }

  /* unique */
  .img-100 {
    width: 100%;
  }

  .img-fixation {
    max-width: 140px;
  }

  /* sns */
  .block-sns {
    text-align: center;
  }

  .block-sns a {
    font-size: 1.25em;
    margin: 0 0.25em;
  }

  /* fotter */
  .fotter-common {
    display: none;
  }
}