@charset "UTF-8";
/* CSS Document */
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  header {
    position: fixed;
    display: flex;
    top: 0;
    height: 70px;
    width: 100%;
    background: #e4f4f1;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 2vw;
    z-index: 10;
  }
  header h1 {
    width: min(42vw, 348px);
  }
  header nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 10vw 0 0;
    gap: 2vw;
  }
  header nav img {
    max-width: 20px;
    max-height: 20px;
    display: block;
    margin: 0 0 4px 0;
  }
  header nav li {
    text-align: center;
    text-align: -webkit-center;
    position: relative;
    font-size: min(2vw, 12px);
  }
  header nav li.contact a {
    background: #43b0ed;
    border-radius: 20px;
    padding: 3px;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .wrap {
    margin: 0 auto;
    width: 90%;
  }
  #content {
    margin: 120px 0 0 0;
    min-height: 50vh;
  }

  .top h1.title,
  .single .title {
    max-width: 560px;
    width: 60%;
    margin: 0 auto;
  }
  .top h2 {
    margin: 30px auto 60px;
    font-size: min(4.5vw, 24px);
    font-weight: bold;
    text-align: center;
  }
  .top .text01 {
    width: 90%;
    margin: 5vw auto 9vw;
    font-size: min(3.5vw, 18px);
    line-height: 1.7;
  }
  #sec01 {
    margin: 0 0 7vw 0;
  }
  #sec01 ul li {
    width: 48%;
    float: left;
    margin: 0 4% 10vw 0;
  }

  #sec01 ul li:nth-child(2n) {
    margin: 0 0 10vw 0;
  }
  #sec01 ul li img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 30vw;
  }
  #sec01 ul li p {
    font-size: min(4vw, 18px);
    line-height: 1.6;
    margin: 15px 0 0 0;
    font-weight: bold;
  }
  #sec01 .cate a {
    margin: 20px 0 10px 0;
    padding: 4px 12px;
  }
  #sec01 .date {
    text-align: right;
    margin: 0 0 5px 0;
    font-size: min(3vw, 14px);
  }
  footer a {
    color: #fff;
  }
  footer .box01 {
    background: linear-gradient(to right, #b840f0 0%, #ff6b3d 100%);
    text-align: center;
    padding: 4vw;
  }
  footer .box01 a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border: 2px solid #fff;
    width: 60%;
    margin: 0 auto;
    color: #fff;
    justify-content: center;
    border-radius: 40px;
    font-size: min(3.5vw, 16px);
  }
  footer .box01 a img {
    width: 25px;
    margin: 0 2vw 0 0;
  }
  footer .box02 {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    background: #add5cc;
    align-items: center;
    justify-content: space-between;
    padding: 5vw 12vw 13vw;
    font-size: min(3.5vw, 16px);
    position: relative;
  }
  footer .box03 a {
    display: flex;
    align-items: center;
    line-height: 1.5;
    gap: 12px;
  }
  footer .box03 img {
    width: 60px;
    margin: 0 3px 0 0;
  }
  footer .box04 {
    margin: 0 0 5vw 0;
  }
  footer .box04 li {
    margin: 0 0 2vw 0;
  }
  footer .box04 li a {
    border-bottom: 1px solid #fff;
    display: inline-block;
  }
  footer small {
    color: #fff;
    display: block;
    margin: 15px 0 0 0;
    position: absolute;
    bottom: 3vw;
  }

  /*ポップアップ*/
  #click-btn {
  }

  .popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
  }

  .popup-inside {
    width: 100%;
    max-width: 120px;
    background: #fff;
    margin: 70px auto;
    padding: 10px;
    position: absolute;
    right: 16vw;
    box-shadow: 0 5px 5px -3px #0003, 0 8px 10px 1px #00000024,
      0 3px 14px 2px #0000001f;
  }

  .message a {
    text-decoration: none;
    padding: 6px 10px;
    text-align: left;
    white-space: nowrap;
  }
  /*ハンバーガーメニュー*/
  #nav-toggle {
    position: fixed;
    cursor: pointer;
    top: 27px;
    right: 20px;
  }
  #nav-toggle p {
    margin: 55px auto 0;
    font-size: 20px;
    letter-spacing: 1px;
  }
  #nav-toggle > div {
    position: relative;
    width: 20px;
  }
  #nav-toggle span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #000;
    position: absolute;
    transition: top 0.5s ease, -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
    transition: transform 0.6s ease-in-out, top 0.5s ease,
      -webkit-transform 0.6s ease-in-out;
  }
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  #nav-toggle span:nth-child(2) {
    top: 7px;
  }
  #nav-toggle span:nth-child(3) {
    top: 14px;
  }

  .open #nav-toggle span {
  }
  .open #nav-toggle span:nth-child(1) {
    top: 8px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .open #nav-toggle span:nth-child(2) {
    top: 8px;
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 8px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #nav-toggle {
    z-index: 1000;
    height: 20px;
  }

  #container {
  }

  #gloval-nav {
    background: rgb(228, 244, 241);
    color: #fff;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    text-align: center;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow-y: scroll;
    text-align: start;
    z-index: 10;
  }

  header #gloval-nav h1 {
    font-size: 4vw;
    border-bottom: 2px solid #313131;
    color: #313131;
    text-align: center;
    width: auto;
    font-weight: bold;
    margin: 0 0 7vw 0;
  }
  #gloval-nav nav {
    text-align: center;
  }
  #gloval-nav nav ul {
  }
  #gloval-nav article a {
    color: #313131;
    margin: 3vw 0;
    font-size: min(4vw, 22px);
  }
  #gloval-nav ul li.sub a {
    color: #7d7d7d;
    margin: 1vh 0;
    font-size: min(3.5vw, 16px);
    text-indent: 7px;
  }
  #gloval-nav ul li.studio a {
    margin: 2vh 0 0 0;
  }
  #gloval-nav .box01 a {
    color: #fff;
    background: linear-gradient(86deg, #ffb92f 22.13%, #ffd059 81.92%);
    display: block;
    text-align: center;
    padding: 8% 0 9%;
    border-radius: 40px;
    width: 50vw;
    max-width: 200px;
    margin: 3vh auto;
  }
  #gloval-nav .box02 a {
    margin: 0 0 3vh 0;
    width: 50vw;
    max-width: 247px;
  }

  #gloval-nav ul li img {
    width: 8%;
  }
  /* open */
  .open {
    overflow: hidden;
  }
  .open #gloval-nav {
    visibility: visible;
    opacity: 1;
  }
  .open #gloval-nav li {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: opacity 0.9s ease, -webkit-transform 1s ease;
    transition: transform 1s ease, opacity 0.9s ease;
    transition: transform 1s ease, opacity 0.9s ease, -webkit-transform 1s ease;
  }

  /*single.php*/

  #content.single .title {
    margin: 0 auto min(10vw, 70px);
  }
  #content.single h1 {
    font-size: min(5.5vw, 30px);
    line-height: 1.5;
    font-weight: bold;
    margin: min(3vw, 20px) 0;
  }
  #content.single .wrap {
    max-width: 800px;
    width: 80%;
    margin: 0 auto 10vw;
    line-height: 1.7;
    font-size: min(3.8vw, 18px);
    color: rgb(35, 35, 35);
  }
  .cate a {
    color: #313131;
    background: #e4f4f1;
    display: inline-block;
    padding: 2px 14px;
    font-size: 12px;
    border-radius: 5px;
  }
  #content.single .wrap .date {
    text-align: right;
    margin: 0 0 30px 0;
    font-size: min(3vw, 14px);
  }
  #content.single .wrap img {
    margin: 0 0 min(7vw, 50px) 0;
  }
  #content.single .wrap h2 {
    font-size: min(4.5vw, 24px);
    font-weight: bold;
    margin: min(7vw, 60px) 0 min(5vw, 30px);
  }
  #content.single .wrap .t_nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    font-size: min(3vw, 15px);
    margin: min(10vw, 100px) 0;
  }
  #content.single .wrap .div88 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #content.single .wrap .div87 a,
  #content.single .wrap .div88 a,
  #content.single .wrap .div89 a {
    background: #eee;
    padding: 2px 12px;
    border-radius: 4px;
  }
  /*ページネーション*/
  ul.page-numbers {
    display: flex;
    justify-content: center;
    margin: min(10vw, 50px) 0;
  }
  ul.page-numbers li {
    display: flex;
    margin: 0 2px;
    align-items: center;
  }
  ul.page-numbers li a {
    display: block;
    padding: 10px 12px;
  }
  ul.page-numbers li a.next,
  ul.page-numbers li a.prev {
    font-size: 12px;
    font-weight: 100;
  }
  ul.page-numbers li span.current {
    width: 36px;
    height: 36px;
    border-radius: 20px;
    background: #313131;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  ul.page-numbers li span.dots {
    line-height: 36px;
  }
}
