/*
  モバイル版  320px ～ 799px
  PC版        800px ～ 1980px
*/
/* 全ページ共通設定 */
@font-face {
  font-family: "851MkPOP 002";
  src:
    url(/font/851MkPOP_002.woff) format('woff'),
    url(/font/851MkPOP_002.ttf) format('truetype');
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  margin: auto;
  font-family: "Noto Sans JP", "ITC Avant Garde Gothic Pro", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", sans-serif;
}

@media(min-width: 800px) {
  html {
    max-width: 1980px;
    min-width: 800px;
    font-size: 24px;
  }

  .sp {
    display: none;
  }

  /* 動作 */
  /* Grow */
  .hvr-grow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
  }

  .hvr-grow:hover,
  .hvr-grow:focus,
  .hvr-grow:active {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }

  /* Shrink */
  .hvr-shrink {
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
  }

  .hvr-shrink:hover,
  .hvr-shrink:focus,
  .hvr-shrink:active {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }

  /* Bob */
  @-webkit-keyframes hvr-bob {
    0% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
    }

    50% {
      -webkit-transform: translateY(-0px);
      transform: translateY(-0px);
    }

    100% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
    }
  }

  @keyframes hvr-bob {
    0% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
    }

    50% {
      -webkit-transform: translateY(-0px);
      transform: translateY(-0px);
    }

    100% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
    }
  }

  @-webkit-keyframes hvr-bob-float {
    100% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
    }
  }

  @keyframes hvr-bob-float {
    100% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
    }
  }

  .hvr-bob {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
  }

  .hvr-bob:hover,
  .hvr-bob:focus,
  .hvr-bob:active {
    -webkit-animation-name: hvr-bob-float, hvr-bob;
    animation-name: hvr-bob-float, hvr-bob;
    -webkit-animation-duration: .3s, 1.5s;
    animation-duration: .3s, 1.5s;
    -webkit-animation-delay: 0s, .3s;
    animation-delay: 0s, .3s;
    -webkit-animation-timing-function: ease-out, ease-in-out;
    animation-timing-function: ease-out, ease-in-out;
    -webkit-animation-iteration-count: 1, infinite;
    animation-iteration-count: 1, infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-direction: normal, alternate;
    animation-direction: normal, alternate;
  }

  /* Backward */
  .hvr-backward {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
  }

  .hvr-backward:hover,
  .hvr-backward:focus,
  .hvr-backward:active {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
}

@media(max-width: 799px) {
  html {
    max-width: 799px;
    min-width: 320px;
    font-size: min(max(10px, calc(0.625rem + ((1vw - 3.2px) * 3.1315))), 25px);
    min-height: 0vw;
  }

  .pc {
    display: none;
  }
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1980px;
  height: 100%;
  overflow-x: hidden;
}

main {
  width: 100%;
}

a {
  text-decoration: none;
  color: #000;
}

img {
  vertical-align: top;
}

/* ナビ設定 */
@media(min-width:800px) {
  .hamburger_btn {
    display: none;
  }

  nav {
    display: flex;
    position: fixed;
    width: 100%;
    max-width: 1980px;
    padding-top: 1rem;
    z-index: 9999;
    transition: .5s;
    height: 2rem;
    top: 0;
  }

  .site_header {
    /* nav固定 */
    background-color: rgba(255, 255, 255, 0.9);
  }

  #home {
    height: 1.5rem;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5%;
    padding: 0;
  }

  #logo {
    height: 100%;
  }

  .navigation {
    width: 70%;
    margin-top: 0.6%;
    margin-left: 12%;
    text-align: right;
    float: right;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-content: center;
    font-size: min(max(1.8vw), 1rem);
  }

  .navi_list {
    display: inline-block;
    vertical-align: middle;
    align-self: center;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1;
    text-shadow: 0 0 1px #666;
  }

  .navi_list {
    width: calc(100% / 6);
  }

  .navi_list:nth-child(6) {
    min-width: min(max(14vw), 7rem);
  }

  .navi_list+.navi_list {
    border-left: 1px solid #333;
  }

  .navi_list a {
    display: block;
    width: 100%;
    color: #333;
  }

  .navi_list a::after {
    content: none;
  }

  .btn-sf-like:hover {
    color: #999;
    transition: .2s;
  }
}

@media(max-width:799px) {
  nav {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    height: 55px;
    padding: 1% 3%;
    width: 100%;
    top: 0px;
    z-index: 50;
  }

  #home {
    display: block;
    position: fixed;
    height: 50px;
    z-index: 50;
  }

  #logo {
    height: 90%;
    margin: 4%;
  }

  .hamburger_btn {
    position: fixed;
    right: 0;
    width: 70px;
    height: 53px;
    cursor: pointer;
    z-index: 50;
    text-align: center;
    padding-top: 5px;
    font-size: 12px;
  }

  .hamburger_btn .line {
    position: absolute;
    top: 0;
    left: 20px;
    width: 32px;
    height: 2px;
    background: #333333;
  }

  .hamburger_btn .line_01 {
    top: 23px;
    transition: 0.4s ease;
  }

  .hamburger_btn .line_02 {
    top: 33px;
    transition: 0.4s ease;
  }

  .hamburger_btn .line_03 {
    top: 43px;
    transition: 0.4s ease;
  }

  .btn_line01 {
    transform: translateY(10px) rotate(-45deg);
    transition: 0.4s ease;
  }

  .btn_line02 {
    transition: 0.4s ease;
    opacity: 0;
  }

  .btn_line03 {
    transform: translateY(-10px) rotate(45deg);
    transition: 0.4s ease;
  }

  /*サイドバー*/
  .menu-enter-active,
  .menu-leave-active {
    transition: opacity 0.4s;
  }

  .menu-enter,
  .menu-leave-to {
    opacity: 0;
  }

  .menu-leave,
  .menu-enter-to {
    opacity: 1;
  }

  .navigation {
    background: url(/img/top/mobile/hamburger_bg02.png) 0 45%,
      url(/img/top/mobile/hamburger_bg01.png);
    background-size: 100%;
    background-attachment: local;
    background-repeat: no-repeat, repeat-y;
    z-index: 30;
    list-style: none;
    padding: 15vw 4vw 5vw 4vw;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .navigation li {
    padding: 0;
    width: 40%;
    margin: auto;
    align-self: center;
  }

  .navigation img {
    width: 8vw;
    height: 8vw;
  }

  .navigation a {
    color: rgb(66, 66, 66);
    text-decoration: none;
    display: block;
    width: 100%;
    font-size: 1.2rem;
    padding: 12% 0;
    display: flex;
    justify-content: space-between;
  }

  .navigation a::after {
    content: "▶";
    float: right;
  }

  /* 縦向き対応 */
  @media screen and (orientation: portrait) {
    .navigation li {
      margin: 0;
    }

    .navigation li:first-child {
      margin-top: 10vw;
    }
  }

  /* 横向き対応 */
  @media screen and (orientation: landscape) {
    .navigation {
      margin: 0;
      padding: 12% 0 10% 0;
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      justify-content: center;
      align-items: center;
    }

    .navigation li {
      width: 30vw;
      margin: 1.5% 3%;
    }

    .navigation li a {
      align-self: center;
      padding: 0;
    }
  }
}

/* footer */
@media(min-width:800px) {
  footer {
    background: url(/img/top/back/footer.png) 50% 100%;
    background-size: contain;
    background-repeat: repeat-x;
    height: 14vw;
    width: 100%;
    max-height: 268px;
    position: relative;
    padding: 0;
  }

  .Pagetop {
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    margin: auto;
    text-align: center;
    font-size: min(max(1vw), 1rem);
    cursor: pointer;
  }

  .Pagetop:hover {
    color: #999;
    text-shadow: 0 0 1px #999;
  }

  .footer_nav {
    width: 90%;
    position: absolute;
    left: 5%;
    bottom: 22%;
  }

  footer .logo {
    float: left;
    width: 7%;
    min-width: 60px;
  }

  .footer_nav>div:not(.marks) {
    float: left;
    width: 86%;
  }

  .footer_nav ul {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: min(max(1.5vw), 1rem);
    display: flex;
    justify-content: space-between;
    margin-bottom: .1vw;

  }

  .marks {
    /* float: right; */
    display: block;
    width: 7%;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #1DA1F2;
  }

  .marks a {
    display: block;

  }

  .marks img {
    vertical-align: bottom;
  }

  .p_mark {
    width: 6vw;
    max-width: 96px;
    position: absolute;
    bottom: min(max(1vw), 5px)
  }

  .yuryo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10vw;
    max-width: 192px;
  }

  .page_nav {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .footer_nav ul li {
    letter-spacing: 1px;
    margin: 5px 0;
    text-align: center;
    line-height: 0.8;
  }

  .page_nav li {
    color: #333;
    width: calc(100% / 6);
    text-shadow: 0 0 1px #666;
  }

  .page_nav li a:hover {
    color: #999;
    text-shadow: 0 0 1px #999;
  }

  .page_nav li:last-child {
    padding-left: 2%;
  }

  .page_nav li+li {
    border-left: 1px solid #333;
  }

  .pii {
    display: flex;
    justify-content: space-between;
  }

  .pii li a {
    color: #666;
    text-shadow: 0 0 1px #999;
    font-size: min(max(1.3vw), 1rem);
  }

  .pii a:hover {
    color: #333;
    text-shadow: 0 0 1px #333;
  }

  .pii li:first-child {
    padding-left: 3.5%;
  }

  .pii li:last-child {
    padding-right: 2%;
  }

  .copy {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: right;
    margin: 0;
    display: block;
    font-size: min(max(2vw), 1rem);
  }

  .copy small {
    margin-right: 8%;
    font-weight: lighter;
    text-shadow: 0 0 1px #666;
    letter-spacing: 0.1vw;
  }
}

@media(max-width:799px) {
  footer {
    font-size: .8rem;
    height: 55vw;
    position: relative;
    background: url(/img/top/mobile/footer_bg.png) 50% 100%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .logo,
  .page_nav {
    display: none;
  }

  .Pagetop {
    margin: 0;
    text-align: center;
  }

  footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  footer ul li {
    line-height: 2;
  }

  .pii {
    position: absolute;
    bottom: 6vw;
    left: 0;
    right: 0;
  }

  .link {
    width: 25vw;
    max-width: 125px;
    margin: auto;
    padding: 3%;
  }

  .link li {
    width: 10vw;
    max-width: 50px
  }

  .link a {
    display: block;
  }

  .link img {
    width: 100%;
    border-radius: 50%;
    display: block;
  }

  .marks {
    width: 100%;
    display: flex;
    justify-content: space-between;

  }

  .p_mark {
    display: block;
    width: 25vw;
    margin-bottom: 0px;
    position: absolute;
    right: 5vw;
    bottom: calc(6vw + 4rem)
  }

  .yuryo {
    display: block;
    width: 33vw;
    position: absolute;
    left: 1vw;
    bottom: calc(6vw + 4rem)
  }

  .pii {
    width: 90%;
    margin: 3% auto;
    font-size: 1rem;
  }

  .copy {
    position: absolute;
    bottom: 3%;
    right: 0;
    width: 100%;
    text-align: right;
    margin: 0;
    display: block;
  }

  .copy small {
    margin-right: 3%;
    font-size: 1rem;
  }
}

/* Edge */
@supports (-ms-ime-align: auto) {
  #logo {
    width: 7.2vw;
    height: auto;
  }

  #home {
    height: 59%;
  }

  .navi_list a {
    font-size: 1.5vw;
  }

  .site_header {
    padding-bottom: 1.5%;
  }

  .footer_nav a {
    font-size: 1.5vw;
  }

  .pii a {
    font-size: 1.2vw;
  }

  footer small {
    font-size: 1vw;
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 799px) {
  .navigation {
    background: url(/img/top/mobile/hamburger_bg02.png) 0 45%,
      url(/img/top/mobile/hamburger_bg01.png);
    background-size: 100%;
    background-attachment: local;
    background-repeat: no-repeat, repeat-y;
  }

  #logo {
    height: 42px;
    width: auto;
    margin-top: 8%;
  }

  #home {
    height: 6vw;
  }

  .navi_list a {
    font-size: 3vw;
    margin: 0;
    padding: 0;
  }

  .Pagetop {
    font-size: 2.5vw;
  }

  .pii li a {
    font-size: 3.2vw;
  }

  .pii li {
    line-height: 1.5;
  }

  .copy small {
    font-size: 2.8vw;
  }

  .navigation {
    padding: 15vw 4vw 55vw 4vw;
  }

  .navi_list a {
    font-size: 3.5vw;
  }
}