@charset "UTF-8";

/*
Theme Name : Sail.
Author: mimura
Description: corporate website
Version: 1.0
*/

/*=======================================================
Common 共通
=======================================================*/
:root {
  --color_1: #333333ff;
  --color_2: #fafafaff;
  --color_3: #eaeaeaff;
  --color_4: #999999ff;
  --color_5: #3d7fe2ff;
  --color_6: #ff6b6b4d;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inder", "Noto Sans JP", "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 2.2;
  letter-spacing: 0.09em;
  color: var(--color_1);
  background-color: var(--color_2);
  overflow: hidden;
}

body p {
  text-align: justify;
}

body img.scaled-image {
  border: none;
  margin: 0;
}

.base_w {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.h2_box {
  display: inline;
  text-align: center;
}

.h2_box h2,
.h2_box p {
  text-align: center;
}

.h2_box h2 {
  font-size: 60px;
  line-height: 1.6;
  letter-spacing: 0.2em;
}
.h2_box p {
  font-size: 24px;
}

/*バッジを調整*/
.grecaptcha-badge {
  bottom: 130px !important;
  z-index: 500000;
}

@media screen and (max-width: 1024px) {
  .h2_box h2 {
    font-size: 50px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 896px) {
  .h2_box h2 {
    font-size: 40px;
  }

  /*バッジを調整*/
  .grecaptcha-badge {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  body {
    line-height: 2;
    letter-spacing: 0.05em;
  }

  .base_w {
    width: calc(100% - 36px);
  }

  .h2_box h2 {
    font-size: 28px;
  }
}

/*** 共通マーカー***/
.marker {
  background: linear-gradient(transparent 65%, var(--color_6) 35%);
  display: inline;
  background-repeat: no-repeat; /* 背景の繰り返しを停止 */
  background-size: 0% 100%; /* マーカーの横方向を0にして縮める */
  transition: background-size 1.8s; /* マーカーが引かれる速度を指定 */
}

.marker.on {
  background-size: 100% 100%; /* 横方向を100%にして、マーカーを引く */
}

/*** 共通View More***/
.view_more {
  padding: 50px 0;
}

.view_more a {
  display: flex;
  justify-content: space-between;
  width: 140px;
  height: 100%;
  padding-right: 20px;
  line-height: 20px;
  margin: 0 0 0 auto;
}
.view_more a p {
  color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--color_5),
    #ff6b6b 50%,
    var(--color_1) 50%,
    var(--color_1)
  );
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.view_more a span {
  width: 20px;
  height: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  border-radius: 45px;
  color: var(--color_2);
  background-color: var(--color_4);
  transition: 0.5s;
}

.view_more a:hover p {
  transition: 0.5s;
  background-position: 0 0;
}

.view_more a:hover span {
  transform: translateX(5px);
  transition: 1.5s;
  background-color: #ff6b6bff;
}

/*** 共通フェードインアニメ***/
@keyframes under-fadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*** h2内分割span用(実装時は.js-splitクラスつける)***/
h2 span {
  opacity: 0;
  display: inline-block; /*ブロック要素に*/
}

h2 span.on {
  animation: up-anim 1.5s ease-out forwards;
}

h2 span:nth-child(1) {
  animation-delay: 0s;
}
h2 span:nth-child(2) {
  animation-delay: 0.35s;
}
h2 span:nth-child(3) {
  animation-delay: 0.65s;
}
h2 span:nth-child(4) {
  animation-delay: 0.2s;
}
h2 span:nth-child(5) {
  animation-delay: 0.6s;
}
h2 span:nth-child(6) {
  animation-delay: 0.4s;
}
h2 span:nth-child(7) {
  animation-delay: 0.7s;
}
h2 span:nth-child(8) {
  animation-delay: 0.2s;
}
h2 span:nth-child(9) {
  animation-delay: 0.6s;
}
h2 span:nth-child(10) {
  animation-delay: 0.4s;
}
h2 span:nth-child(11) {
  animation-delay: 0.7s;
}
@keyframes up-anim {
  0% {
    transform: translateY(10px); /*下から*/
    opacity: 0;
  }
  100% {
    transform: translateY(0); /*通常の位置へ*/
    opacity: 1;
  }
}

/* Header
=======================================================*/

#header {
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  line-height: 2;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: solid 1px;
  border-bottom-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
}

#header .logo img {
  width: 120px;
  height: auto;
  margin-left: 20%;
}

#header .header_nav .global_nav {
  display: flex;
  height: 100px;
  align-content: center;
}

#header .header_nav .global_nav li {
  font-size: 14px;
  line-height: 100px;
  letter-spacing: 0.1em;
  transition: 0.5s;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--color_5),
    #ff6b6b 50%,
    var(--color_1) 50%,
    var(--color_1)
  );
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  transition: 1s cubic-bezier(0.25, 1, 0.5, 1); /* easeOutQuartのイージング */
}

#header .header_nav .global_nav li:hover {
  letter-spacing: 0.2em;
  transition: 0.5s;
  background-position: 0 0;
}

#header .header_nav .global_nav li a {
  display: block;
  height: 100%;
  padding: 0 20px;
}

/*****↓ヘッダー コンタクト部分↓*****/
#header .header_nav .global_nav li:last-child {
  line-height: normal;
}
#header .header_nav .global_nav li:last-child a {
  width: 150px;
  padding-top: 16px;
  background-color: rgb(102, 102, 102, 0.2);
  border-bottom: solid 1px;
  border-bottom-color: rgb(102, 102, 102, 0.15);
  text-align: center;
}
#header .header_nav .global_nav li a .contact_icon {
  display: flex;
  justify-content: space-between;
  width: 90px;
  margin: 10px auto 0;
}
#header .header_nav .global_nav li a .contact_icon img {
  width: 35px;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
  #header {
    height: 70px;
    background: transparent;
  }

  #header .logo img {
    width: 80px;
  }

  #header .header_nav {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #header .logo img {
    width: 60px;
  }
}

/*=======================================================
Pagetitle
=======================================================*/
#pagetitle {
  position: relative;
  width: 100%;
  height: 700px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top 95%;
  z-index: -1000;
  animation: fadein 1.4s ease-out forwards;
}

#pagetitle h1 {
  text-align: center;
  font-size: 48px;
  letter-spacing: 0.4em;
  line-height: 1.8;
  opacity: 0;
  animation: fadein 1.8s ease-out forwards 0.6s;
}

#pagetitle p {
  text-align: center;
  color: var(--color_5);
  opacity: 0;
  animation: fadein 1.5s ease-out forwards 0.9s;
}

@keyframes fadein {
  0% {
    transform: translateY(15px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

#pagetitle .wave_box {
  position: absolute;
  bottom: -12%;
  transform: translateY(230px);
  animation: slidein 5s ease forwards 1.5s;
}

@keyframes slidein {
  0% {
    transform: translateY(200px);
  }
  50% {
    transform: translateY(-10px);
  }
  86% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

@media screen and (max-width: 1024px) {
  #pagetitle {
    height: 600px;
    background-position: center top 85%;
  }
}

@media screen and (max-width: 896px) {
  #pagetitle {
    height: 400px;
    background-position: center top 90%;
  }

  #pagetitle h1 {
    font-size: 36px;
    line-height: 1.2;
  }
}

@media screen and (max-width: 480px) {
  #pagetitle {
    height: 300px;
    background-position: center top 76%;
  }

  #pagetitle h1 {
    font-size: 30px;
    line-height: 1;
  }
}

/* Main
=======================================================*/
body:not(.home) main {
  padding: 50px 0 10px;
}
@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
  body:not(.home) main {
    padding: 20px 0;
  }
}
/* Breadcrumb
=======================================================*/
body:not(.home) .breadcrumbs {
  margin-top: 50px;
  padding-bottom: 0;
  color: var(--color_4);
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
}

/* Footer
=======================================================*/
#footer {
  position: relative;
  width: 100%;
  z-index: 100;
}

/*****↓スクロール誘導↓*****/
#scroll {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 52px;
  height: 70px;
  z-index: 800;
}

.scroll-text {
  display: block;
  margin-top: 0;
  padding-left: 5px;
  font-size: 12px;
  line-height: 1;
  z-index: 700;
}

.scroll-line {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 1.5px;
  height: 40px;
  overflow: hidden;
  background-color: var(--color_5);
  z-index: 700;
  transition: 0.5s;
}

.scroll-line::after {
  content: "";
  position: absolute;
  width: 1.5px;
  height: 40px;
  background-color: var(--color_3);
  animation: scrolldown 1.8s ease-in-out infinite;
  z-index: 700;
}

@keyframes scrolldown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}
/***リターン部分***/
#return {
  pointer-events: auto;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 52px;
  height: 70px;
  z-index: 800;
  display: none;
}

.return-line {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 1.5px;
  height: 40px;
  overflow: hidden;
  background-color: var(--color_5);
  z-index: 700;
  transition: 0.5s;
}

.return-line::after {
  content: "";
  position: absolute;
  width: 1.5px;
  height: 40px;
  background-color: var(--color_2);
  animation: returnup 1.8s ease-in-out infinite;
  z-index: 700;
}

@keyframes returnup {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(-100%);
  }
}

.return-text {
  display: block;
  margin-top: 58px;
  padding-left: 15px;
  font-size: 12px;
  line-height: 1;
  z-index: 800;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
  #scroll,
  #return {
    right: -100px;
  }
}

@media screen and (max-width: 480px) {
}

/*****↑スクロール誘導↑*****/

/*****↓CONTACTリンク↓*****/
#footer .contact_link {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 330px;
  background-color: var(--color_5);
}

#footer .contact_link::after {
  content: "";
  position: absolute;
  bottom: -40px;
  width: 100%;
  height: 50px;
  background-color: var(--color_5);
}

#footer .contact_link .h2_box {
  height: 220px;
  padding-top: 3%;
  padding-bottom: 3%;
  border-radius: 20px;
  background-color: var(--color_2);
  filter: drop-shadow(0 5px 13px #114eaa);
  transition: 0.5s;
}

#footer .contact_link .h2_box h2,
#footer .contact_link .h2_box p {
  color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--color_5),
    red 50%,
    var(--color_1) 50%,
    var(--color_1)
  );
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* easeOutQuartのイージング */
}
#footer .contact_link .h2_box:hover {
  transform: scale(0.99);
  filter: drop-shadow(0 5px 3px #114eaa);
}

#footer .contact_link .h2_box:hover h2 {
  transition: 0.5s;
  background-position: 0 0;
}

@media screen and (max-width: 1024px) {
  #footer .contact_link {
    height: 240px;
  }

  #footer .contact_link .h2_box {
    height: 170px;
  }
}

@media screen and (max-width: 896px) {
  #footer .contact_link {
    height: 220px;
  }

  #footer .contact_link .h2_box {
    height: 140px;
  }
}

@media screen and (max-width: 480px) {
  #footer .contact_link {
    height: 180px;
  }

  #footer .contact_link .h2_box {
    height: 110px;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #footer .contact_link .h2_box p {
    font-size: 16px;
  }
}

/*****↑CONTACTリンク↑*****/

/*****波ここから*****/

.wave_box {
  position: relative;
  width: 120%;
  height: 160px;
  margin: 0 auto 0 -10%;
  background: url(img/bg_wave.png) repeat-x;
  background-position: 0 0;
  -webkit-animation: loop 50s linear infinite;
  animation: loop 50s linear infinite;
}

.wave_box::before {
  content: "";
  width: 120%;
  height: 180px;
  margin-left: -10%;
  position: absolute;
  top: -12%;
  background: url(img/bg_wave.png) repeat-x;
  background-position: 0 0;
  -webkit-animation: loop 20s linear infinite;
  animation: loop 20s linear infinite;
  opacity: 0.4;
}

.wave_box::after {
  content: "";
  width: 120%;
  height: 180px;
  margin-left: -10%;
  position: absolute;
  top: -18%;
  background: url(img/bg_wave.png) repeat-x;
  background-position: 0 0;
  -webkit-animation: loop 10s ease-in-out infinite;
  animation: loop 10s ease-in-out infinite;
  opacity: 0.2;
}

@keyframes loop {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2000px 0;
  }
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
  .wave_box {
    height: 120px;
  }
  .wave_box::before {
    height: 130px;
  }

  .wave_box::after {
    height: 140px;
  }
}
@media screen and (max-width: 480px) {
}
/*****波ここまで*****/

#footer .container {
  width: 100%;
  padding: 0 7% 30px;
  background-color: var(--color_2);
}

#footer .container img.bg {
  display: block;
  width: 450px;
}

#footer .container .footer_box {
  height: fit-content;
}

#footer .container .footer_box .footer_logo {
  display: block;
  width: 250px;
  margin: 0 0 0 auto;
}

#footer .container .footer_box .sitemap {
  display: flex;
  width: 800px;
  margin: 40px 0 70px auto;
  justify-content: space-between;
}

#footer .container .footer_box .sitemap li {
  width: calc(100% / 5);
  text-align: right;
}

#footer .container .footer_box .sitemap li a {
  display: block;
  width: fit-content;
  margin: 0 0 0 auto;
}

#footer .container .footer_box .sitemap li .a_box a {
  font-size: 10px;
  width: fit-content;
  margin: 0 0 0 auto;
}

@media screen and (max-width: 1024px) {
  #footer .container img.bg {
    width: 300px;
  }
}
@media screen and (max-width: 896px) {
  #footer .container img.bg {
    width: 250px;
  }
  #footer .container .footer_box .footer_logo {
    width: 200px;
  }

  #footer .container .footer_box .sitemap {
    width: 100%;
  }

  #footer .container .footer_box .sitemap li a {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  #footer .container img.bg {
    width: 200px;
    margin-bottom: -20px;
  }

  #footer .container .footer_box .footer_logo {
    width: 150px;
  }

  #footer .container .footer_box .sitemap {
    display: block;
    width: 100%;
    margin: 30px auto 50px;
    text-align: center;
  }

  #footer .container .footer_box .sitemap li {
    display: block;
    width: 100%;
    margin: 10px auto;
  }

  #footer .container .footer_box .sitemap li a {
    width: 100%;
    text-align: center;
    font-size: 16px;
  }

  #footer .container .footer_box .sitemap li .a_box a {
    margin: 10px auto;
  }
}

/*****↓tab以下のみ下固定部分↓*****/
#footer .sp_box {
  display: none;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
  #scroll,
  #return,
  #footer::after {
    display: none;
  }

  #footer .sp_box {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 50px;
    z-index: 100;
  }

  #footer .sp_box .wave_box {
    display: flex;
    width: 120%;
    height: 50px;
    margin: 0 auto 0 -10%;
    padding-left: 7%;
    background: url(img/sp_bg_wave3.png) repeat-x;
    background-position: 0 0;
    -webkit-animation: loop 50s linear infinite;
    animation: loop 50s linear infinite;
  }

  #footer .sp_box .wave_box::before {
    content: "";
    width: 120%;
    height: 50px;
    margin-left: -10%;
    position: absolute;
    top: -12%;
    background: url(img/sp_bg_wave3.png) repeat-x;
    background-position: 0 0;
    -webkit-animation: loop 20s linear infinite;
    animation: loop 20s linear infinite;
    opacity: 0.2;
    z-index: -10;
  }

  #footer .sp_box .wave_box::after {
    content: "";
    width: 120%;
    height: 50px;
    margin-left: -20%;
    position: absolute;
    top: -18%;
    background: url(img/sp_bg_wave3.png) repeat-x;
    background-position: 0 0;
    -webkit-animation: loop 60s ease-in-out infinite;
    animation: loop 60s ease-in-out infinite;
    opacity: 0.1;
    z-index: -10;
  }

  @keyframes loop {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: -2000px 0;
    }
  }

  #footer .sp_box .wave_box a {
    width: calc(94% / 3);
    height: 60%;
    margin: auto 0;
    text-align: center;
    color: var(--color_2);
    border-right: #fff solid 0.5px;
  }

  #footer .sp_box .wave_box a:last-child {
    border-right: none;
  }

  /* ↓Toggle(ハンバーガー)tab以下で表示↓
=======================================================*/
  .hamburger-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(94% / 3);
    height: 60%;
    margin: auto 0;
    border-right: #fff solid 0.5px;
  }

  .hamburger {
    position: relative;
    width: 24px;
    height: 14px;
    margin: 0 auto;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color_2);
    border-radius: 50px;
    transition: 0.5s;
  }

  .hamburger span:first-of-type {
    top: 0;
  }
  .hamburger span:nth-of-type(2) {
    top: 50%;
  }
  .hamburger span:last-of-type {
    top: 100%;
  }

  /*ハンバーガーの中身*/

  .slide-menu {
    background-color: var(--color_5);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5% 5% 15%;
    z-index: -50;
    transform: translateY(100%);
    transition: 0.5s;
  }

  .slide-menu li {
    width: 100%;
    line-height: 4;
  }

  .sp_box .wave_box .slide-menu li a {
    display: block;
    width: 100%;
    min-width: 100%;
    font-size: 24px;
    text-align: left;
    border-bottom: var(--color_2) solid 0.5px;
  }

  .slide-menu li a span {
    font-size: 12px;
    padding-left: 2%;
  }
  .sp_box .wave_box .slide-menu li a p {
    padding-left: 34%;
  }

  /* ここから下を追記 */
  .hamburger-area.active span:first-of-type {
    /* ハンバーガーメニューの1番目の線 */
    top: 50%;
    transform: rotate(45deg);
  }
  .hamburger-area.active span:nth-of-type(2) {
    /* ハンバーガーメニューの2番目の線 */
    opacity: 0; /* 透明にする */
  }
  .hamburger-area.active span:last-of-type {
    /* ハンバーガーメニューの3番目の線 */
    top: 50%;
    transform: rotate(-45deg);
  }
  .slide-menu.active {
    transform: translateY(0);
  }
}

@media screen and (max-width: 600px) {
  .sp_box .wave_box .slide-menu li a p {
    padding-left: 28%;
  }
}

@media screen and (max-width: 480px) {
  .slide-menu li {
    line-height: 3;
  }
  .sp_box .wave_box .slide-menu li a p {
    padding-left: 25%;
  }
}

@media screen and (max-width: 380px) {
  .sp_box .wave_box .slide-menu li a p {
    padding-left: 22%;
  }
}

@media screen and (max-width: 330px) {
  .sp_box .wave_box .slide-menu li a p {
    padding-left: 15%;
  }
}

/*****↑spのみトグル部分↑*****/

/*****↑spのみ下固定部分↑*****/

#footer small {
  position: fixed;
  top: 50vh;
  left: -20px;
  transform: rotate(90deg);
  font-size: 12px;
}

@media screen and (max-width: 480px) {
  #footer small {
    left: -28px;
  }
}

#footer::after {
  content: "";
  background-color: var(--color_1);
  position: absolute;
  bottom: 0;
  width: 100vw;
  height: 30px;
}

/*=======================================================
投稿ページ
=======================================================*/
/* Archive（前後ページ移動）
=======================================================*/
.wp-pagenavi {
  margin-top: 45px;
  line-height: 1;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 90px;
  font-size: 13px;
  line-height: 40px;
  text-align: center;
  background-color: rgb(230, 230, 230);
  display: inline-block;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.wp-pagenavi a:hover {
  background-color: rgb(245, 245, 245);
}

.wp-pagenavi span.current {
  color: #fff;
  background-color: rgb(90, 150, 180);
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
  color: transparent;
  background-color: rgb(150, 150, 150);
  position: relative;
}

.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.nextpostslink:hover {
  background-color: rgb(180, 180, 180);
}

.wp-pagenavi a.previouspostslink:after,
.wp-pagenavi a.nextpostslink:after {
  content: "";
  width: 5px;
  height: 5px;
  border-width: 0;
  border-style: solid;
  border-color: #fff;
  box-sizing: border-box;
  display: block;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}

.wp-pagenavi a.previouspostslink:after {
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.wp-pagenavi a.nextpostslink:after {
  border-top-width: 1px;
  border-right-width: 1px;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
  .wp-pagenavi {
    margin-top: 55px;
  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    width: 36px;
    height: 36px;
    font-size: 11px;
    line-height: 36px;
  }
}

/* Single（前後ページ移動）
=======================================================*/
.pagenav {
  padding-top: 55px;
  border-top: 2px solid var(--color_2);
  margin-top: 120px;
  line-height: 1;
}

.pagenav > a {
  width: 49%;
  padding: 45px 0;
  border-bottom: 2px solid var(--color_5);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
  display: block;
  position: relative;
}

.pagenav > a:hover {
  text-decoration: underline;
}

.pagenav > a:first-child {
  padding-left: 18px;
  float: left;
}

.pagenav > a:last-child {
  padding-right: 18px;
  float: right;
}

.pagenav > a:before {
  content: "";
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 50%;
  z-index: 50;
}

.pagenav > a:first-child:before {
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  transform: rotate(-45deg);
  transform-origin: top left;
  left: 0;
}

.pagenav > a:last-child:before {
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform-origin: top right;
  transform: rotate(45deg);
  right: 0;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
  .pagenav {
    padding-top: 63px;
    margin-top: 120px;
  }
}

@media screen and (max-width: 480px) {
  .pagenav {
    padding-top: 0;
    border-top: none;
    margin-top: 90px;
  }

  .pagenav > a {
    width: 100%;
    padding: 21px 18px;
    border: 1px solid var(--color_3);
    border-radius: 45px;
    font-size: 13px;
  }

  .pagenav > a:before {
    width: 7px;
    height: 7px;
  }

  .pagenav > a:first-child {
    padding-left: 25px;
  }

  .pagenav > a:last-child {
    padding-right: 25px;
    margin-top: 33px;
  }

  .pagenav > a:first-child:before {
    border-top: 1px solid var(--color_4);
    border-left: 1px solid var(--color_4);
    left: 16px;
  }

  .pagenav > a:last-child:before {
    border-top: 1px solid var(--color_4);
    border-right: 1px solid var(--color_4);
    right: 16px;
  }
}
