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

  header {
    position: fixed;
    top: 0;
    height: 90px;
    width: 100%;
    background: #e4f4f1;
    padding: 0 5vw;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
  }
  header h1 {
    width: min(30vw, 348px);
  }
  .flex {
    display: flex;
  }
  header nav {
    width: 60%;
    max-width: 260px;
  }
  header nav ul {
    align-items: center;
    justify-content: space-between;
  }
  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;
  }
  header nav li .line {
    width: 2px;
    height: 25px;
    background: #333333;
  }
  header nav li a {
    font-size: min(1vw, 14px);
  }
  header nav li a.btn {
    background: #43b0ed;
    font-size: min(1vw, 14px);
    white-space: nowrap;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 5px;
  }

  .wrap {
    margin: 0 auto;
    padding: 0 30px;
    max-width: 1060px;
    width: 100%;
  }
  #content {
    margin: 150px 0 0 0;
    min-height: 50vh;
  }

  .top h1.title,
  .single .title {
    max-width: 560px;
    width: 70%;
    margin: 0 auto;
  }
  .top h2 {
    margin: 30px auto 60px;
    font-size: min(4.5vw, 24px);
    font-weight: bold;
    text-align: center;
  }
  .top .text01 {
    max-width: 800px;
    margin: 50px auto 100px;
    font-size: min(3.5vw, 18px);
    line-height: 1.7;
  }
  #sec01 {
    margin: 0 0 40px 0;
  }
  #sec01 ul li {
    width: 22%;
    float: left;
    margin: 0 4% 50px 0;
    min-height: 260px;
  }
  #sec01 ul li img {
    object-fit: cover;
    object-position: center;
    width: 220px;
    height: 146px;
  }
  #sec01 ul li:nth-child(4n) {
    margin: 0 0 20px 0;
  }
  #sec01 ul li p {
    font-size: min(4vw, 18px);
    line-height: 1.5;
    margin: 15px 0 0 0;
    font-weight: bold;
  }
  footer a {
    color: #fff;
  }
  footer .box01 {
    background: linear-gradient(to right, #b840f0 0%, #ff6b3d 100%);
    text-align: center;
    padding: 14px;
  }
  footer .box01 a {
    display: flex;
    align-items: center;
    padding: 10px 40px;
    border: 2px solid #fff;
    max-width: 300px;
    width: 70%;
    margin: 0 auto;
    color: #fff;
    justify-content: center;
    border-radius: 40px;
  }
  footer .box01 a img {
    width: 25px;
    margin: 0 3px 0 0;
  }
  footer .box02 {
    width: 100%;
    background: #add5cc;
    align-items: center;
    justify-content: space-between;
    padding: 25px 12vw;
    font-size: min(1.3vw, 15px);
  }
  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 {
    text-align: right;
  }
  footer .box04 li {
    margin: 0 0 0 30px;
  }
  footer .box04 small {
    color: #fff;
    display: block;
    margin: 15px 0 0 0;
  }

  /*ポップアップ*/
  .click-btn {
    cursor: pointer;
  }

  .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;
  }
  /*
  #close {
    position: absolute;
    top: 0;
    right: 5px;
    cursor: pointer;
  }*/

  /*single.php*/

  #content.single .title {
    margin: 0 auto min(7vw, 70px);
  }
  #content.single h1 {
    font-size: min(6vw, 30px);
    line-height: 1.5;
    font-weight: bold;
    margin: min(4vw, 20px) 0;
  }
  #content.single .wrap {
    max-width: 800px;
    width: 100%;
    margin: 0 auto 120px;
    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;
  }
  #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);
  }
  #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, 120px) 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: 0 0 120px 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;
  }
}
