@charset "utf-8";
/* ===================================================================
 File Name  : page.css
 Style Info : ページに関するスタイル指定
=================================================================== */

/*----------------------------------------------------
  トップページ index
--------------------------------------------------- */
.mv_slider,
.ft_slider {
  opacity: 0;
  transition: opacity 1s linear;
}
.slick-initialized{
  opacity: 1!important;
}

#mainVisual {
  position: relative;
  overflow: hidden;
}
#mainVisual::after {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  content: "";
  background-image: linear-gradient( 0deg, rgb(53,85,153) 0%, rgba(53,85,153,0) 100%);
  width: 100%;
  height: 300px;
}
.mv_ttl {
  position: absolute;
  left: 0;
  bottom: 90px;
  z-index: 20;
  width: 100%;
  color: #fff;
  text-align: center;
  font-size: min(4.8vw,4.8rem);
  font-weight: 700;
}
  @media screen and (max-width: 899px) {
    #mainVisual {
      padding-top: 15.33vw;
    }
    #mainVisual::after {
      height: 35vw;
    }
    .mv_ttl {
      bottom: 8vw;
      font-size: 6.2vw;
      text-indent: 4vw;
    }
  }

/* 画面が横長(PC想定) → PC用表示 / 縦長(スマホ想定) → SP用表示 */
.mv_slider{ display:block; }
.mv_slider_sp{ display:block; }
@media (min-aspect-ratio: 1/1){
  .mv_slider{ display:block; }
  .mv_slider_sp{ display:none; }
}
@media (max-aspect-ratio: 1/1){
  .mv_slider{ display:none; }
  .mv_slider_sp{ display:block; }
}

.mv_slider figure img {
  width: 100%;
  height: auto;
}

/* SPスライダーの土台（高さはプロジェクト仕様で調整） */
.mv_slider_sp{
  position:relative;
  overflow:hidden;
  height:50vh;           /* 例：ヒーロー全画面 */
  width:100%;
}
.mv_slider_sp figure{
  position:absolute; inset:0; margin:0; opacity:0; display:none;
}
.mv_slider_sp img{
  position:absolute; top:0; bottom:0; margin:auto;
  height:100% !important;   /* 縦フィット運用 */
  width:auto !important;
  max-width:none !important;
  max-height:none !important;
  display:block;
  transition: none;
  transform:translate3d(0,0,0);
  will-change:transform, opacity;
}
@media (prefers-reduced-motion: reduce){
  .mv_slider_sp img{ transition:none !important; }
}

/*船名「AIVINT」に込めた想い*/
#index_lead {
  background: #EEF4FF;
  text-align: center;
  padding: 100px 0;
}
#index_lead h2 {
  font-size: 3.4rem;
  padding-bottom: 45px;
  margin-bottom: 35px;
  color: #355599;
  background: url("../img/ico_wave01.svg") center bottom no-repeat;
  background-size: 150px auto;
}
.index_lead_txt {
  font-size: 1.8rem;
  line-height: 2.2;
  color: #355599;
}
  @media screen and (max-width: 899px) {
    #index_lead {
      padding: 12vw 0;
    }
    #index_lead h2 {
      font-size: 5.33vw;
      padding-bottom: 6.66vw;
      margin-bottom: 6.66vw;
      background-size: 32vw auto;
    }
    .index_lead_txt {
      font-size: 3.73vw;
      line-height: 2;
    }
  }

/*就航航路*/
#searoute_map {
  position: relative;
  background: url("../img/searoute_bg.jpg") center center no-repeat fixed;
  background-size: cover;
}
#searoute_map h2 {
  position: absolute;
  left: 0;
  top: 70px;
  z-index: 10;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 3.4rem;
  padding-bottom: 30px;
  background: url("../img/ico_wave02.svg") center bottom no-repeat;
  background-size: 150px auto;
  transition: all 0.2s ease-in-out 0s;
}
#searoute_map figure img {
  min-height: 480px;
  object-fit: cover;
}
  @media screen and (max-width: 1399px) {
    #searoute_map h2 {
      top: 7%;
    }
  }
  @media screen and (max-width: 899px) {
    #searoute_map h2 {
      top: 11.33vw;
      font-size: 5.33vw;
      padding-bottom: 6.66vw;
      background-size: 32vw auto;
    }
    #searoute_map figure img {
      min-height: 120vw;
    }
  }

/*新しい船旅を創造する3つの特長*/
#features {
  padding: 90px 0 120px;
}
.features_wrap {
  margin-bottom: 100px;
}
.features_wrap:last-child {
  margin-bottom: 0;
}
.features_img {
  width: 50%;
}
.features_box figure {
  position: relative;
  overflow: hidden;
}
.features_box figure::before {
  position: absolute;
  left: -1px;
  top: -1px;
  z-index: 5;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  border-width: 60px 60px 0px 0px;
}
.features_box figure::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 5;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  border-width: 0px 0px 60px 60px;
}
.features_box figure img {
  width: 100%;
  height: auto;
}
.features_txt {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50%;
  letter-spacing: 0.02em;
}
.features_txt_inner {
  width: 100%;
  max-width: 550px;
  padding: 0 0 0 7.5%;
}
.features_box.fx_r_reverse .features_txt {
  justify-content: flex-end;
}
.features_box.fx_r_reverse .features_txt_inner {
  padding: 0 7.5% 0 0;
}
  @media screen and (max-width: 899px) {
    #features {
      padding: 12vw 0 15.33vw;
    }
    .features_wrap {
      margin-bottom: 10.66vw;
    }
    .features_img {
      width: 100%;
      margin-bottom: 5.8vw;
    }
    .features_box figure::before {
      border-width: 10vw 10vw 0px 0px;
    }
    .features_box figure::after {
      border-width: 0px 0px 10vw 10vw;
    }
    .features_txt {
      display: block;
      width: 100%;
      font-size: 3.46vw;
    }
    .features_txt_inner {
      max-width: 100%;
      padding: 0!important;
    }
  }

.features_txt h4 {
  font-size: min(2.5vw,2.8rem);
  white-space: nowrap;
  padding-left: 3.8%;
  margin-bottom: 28px;
  border-left: solid 5px #F8E000;
  line-height: 1.3;
  letter-spacing: 0;
}
.features_tbl {
  font-size: 1.5rem;
  margin-top: 25px;
}
.features_tbl dl {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.features_tbl dt {
  width: 110px;
  text-align: center;
}
.features_tbl dt span {
  display: block;
  background: #F2F2F2;
  padding: 3px 5px;
}
.features_tbl dd {
  width: calc(100% - 125px);
  padding: 3px 0;
}
  @media screen and (max-width: 899px) {
    .features_txt h4 {
      font-size: 4.6vw;
      white-space: normal;
      padding-left: 3.33vw;
      margin-bottom: 4vw;
      border-left: solid 3px #F8E000;
      line-height: 1.5;
    }
    .features_tbl {
      font-size: 3.46vw;
      margin-top: 5vw;
    }
    .features_tbl dl {
      display: block;
      margin-bottom: 3.33vw;
    }
    .features_tbl dt {
      width: 25.33vw;
      margin-bottom: 2vw;
    }
    .features_tbl dt span {
      padding: 0.8vw 1.33vw;
    }
    .features_tbl dd {
      width: 100%;
      padding: 0;
    }
  }

/*船の概要と性能*/
.waves {
  position:relative;
  bottom: -10px;
  width: 100%;
  height:10vh;
  min-height:100px;
  max-height:100px;
}

/* Animation */
.parallax > use {
  animation: move-forever 30s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 9s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 13s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 17s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 26s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px,0,0);
  }
  100% {
    transform: translate3d(85px,0,0);
  }
}

/*Shrinking for mobile*/
@media (max-width: 899px) {
  .waves {
    height:13.33vw;
    min-height:13.33vw;
    bottom: -2.66vw;
  }
}

#index_spec {
  margin-bottom: 100px;
}
.index_spec_wrap {
  background: #EEF4FF;
  padding: 80px 0 120px;
}
.index_spec_tbl {
  padding: 0 8%;
}
.index_spec_tbl tr:nth-child(odd) {
  background: #fff;
}
.index_spec_tbl tr:nth-child(even) {
  background: #F2F2F2;
}
.index_spec_tbl th {
  width: 30%;
  text-align: left;
  font-weight: 500;
  padding: 10px 4.5%;
}
.index_spec_tbl td {
  padding: 12px;
}
  @media screen and (max-width: 899px) {
    #index_spec {
      margin-bottom: 12vw;
    }
    .index_spec_wrap {
      padding: 9.33vw 0 12vw;
    }
    .index_spec_tbl {
      padding: 0;
    }
    .index_spec_tbl table {
      font-size: 3.46vw;
      letter-spacing: 0;
    }
    .index_spec_tbl th {
      width: 23.33vw;
      padding: 2.66vw 0 2.66vw 3.33vw;
    }
    .index_spec_tbl td {
      padding: 2.66vw;
    }
  }

/*新着情報*/
#index_news {
  position: relative;
  z-index: 5;
}
#index_news .index_news_list {
  padding-bottom: 20px;
}
.index_news_box {
  display: block;
  width: calc(33.33% - 30px);
  max-width: 300px;
  margin: 0 15px 30px;
  border: solid 1px #ddd;
  border-radius: 5px;
  padding: 20px;
  text-decoration: none;
}
.index_news_box:hover {
  border: solid 1px #395e9f;
}
.index_news_box time {
  display: block;
  color: #666;
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.index_news_box h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.index_news_txt {
  background: #F7F7F7;
  border-radius: 5px;
  color: #000;
  padding: 12px;
}
.index_news_txt p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.4rem;
}
  @media screen and (max-width: 899px) {
    #index_news .index_news_list {
      padding-bottom: 4vw;
    }
    .index_news_box {
      width: 100%;
      max-width: 100%;
      margin: 0 0 4vw 0;
      border-radius: 1.33vw;
      padding: 4vw;
    }
    .index_news_box time {
      font-size: 3.46vw;
      margin-bottom: 1.33vw;
    }
    .index_news_box h3 {
      font-size: 4vw;
      margin-bottom: 2.66vw;
      height: auto!important;
    }
    .index_news_txt {
      border-radius: 1.33vw;
      padding: 2.66vw;
    }
    .index_news_txt p {
      font-size: 3.46vw;
    }
  }

/*2026年 春、就航予定。*/
#index_gallery {
  position: relative;
  padding: 170px 0 150px;
}
#index_gallery::after {
  position: absolute;
  left: 0;
  top: -40px;
  content: "";
  background: url("../img/wave_bg01.png") top center no-repeat;
  background-size: 1920px auto;
  width: 100%;
  height: 900px;
}
  @media screen and (max-width: 1920px) {
    #index_gallery::after {
      background-size: 100% auto;
    }
  }
  @media screen and (max-width: 1680px) {
    #index_gallery::after {
      background-size: 1680px auto;
    }
  }
  @media screen and (max-width: 899px) {
    #index_gallery {
      position: relative;
      padding: 23.33vw 0 15.33vw;
    }
    #index_gallery::after {
      top: -2.66vw;
      content: "";
      background-size: 240vw auto;
      height: 100vw;
    }
  }

#index_gallery h2 {
  text-align: center;
  color: #395e9f;
  margin-bottom: 55px;
}
#index_gallery h2 span {
  display: block;
  font-size: min(4.3vw,4.3rem);
}
#index_gallery h2 small {
  display: block;
  font-size: min(2.4vw,2.4rem);
  letter-spacing: 0.025em;
}
  @media screen and (max-width: 899px) {
    #index_gallery h2 {
      margin-bottom: 6.66vw;
    }
    #index_gallery h2 span {
      font-size: 6vw;
      margin-bottom: 1.33vw;
    }
    #index_gallery h2 small {
      font-size: 3.33vw;
    }
  }

.ft_slider_wrap {
  position: relative;
  z-index: 10;
}
.ft_slider {
  position: relative;
  z-index: 5;
  max-width: 1920px;
  margin: 0 auto;
}
.ft_slider figure {
  width: 280px;
  margin: 0 10px;
}
.ft_slider img {
  width: 100%;
  aspect-ratio: 7 / 5;
  display: block;
  object-fit: cover;
}
  @media screen and (max-width: 899px) {
    .ft_slider {
      max-width: 100%;
    }
    .ft_slider figure {
      width: 44vw;
      margin: 0 1.66vw;
    }
  }

/*----------------------------------------------------
  お知らせ news
--------------------------------------------------- */

/*お知らせ共通*/
.lower_column-2 {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.column-2_main {
  width: 72%;
  max-width: 840px;
}
.column-2_side {
  width: 26%;
  max-width: 250px;
}
  @media screen and (max-width: 899px) {
    .lower_column-2 {
      max-width: 100%;
      display: block;
      padding-left: 5vw;
      padding-right: 5vw;
    }
    .column-2_main {
      width: 100%;
      max-width: 100%;
      padding-bottom: 10.66vw;
    }
    .column-2_side {
      width: 100%;
      max-width: 100%;
    }
  }

#side > div {
  margin-bottom: 30px;
}
#side > *:last-child {
  margin-bottom: 0;
}

.side_ttl01 {
  background: #2A559E;
  color: #fff;
  font-size: 1.8rem;
  padding: 12px 20px;
  border-radius: 5px; 
}
.side_menu01 li {
  border-bottom: dotted 1px #ccc;
}
.side_menu01 li a {
  display: block;
  color: #000;
  padding: 12px 20px 12px 30px;
  text-decoration: none;
  background: url("../img/ico_arrow01.svg") 12px center no-repeat;
  background-size: 6px auto;
  letter-spacing: 0;
}
.side_menu01 li a:hover {
  color: #2A559E;
}
.side_menu01 li.current-cat a,
.side_menu01 li a[aria-current="page"] {
  color: #2A559E;
}
  @media screen and (max-width: 899px) {
    #side > div {
      margin-bottom: 5.33vw;
    }
    .side_ttl01 {
      font-size: 4.26vw;
      padding: 2.66vw 4vw;
      border-radius: 1.33vw; 
    }
    .side_menu01 li a {
      padding: 2.66vw 5vw 2.66vw 6.66vw;
      background: url("../img/ico_arrow01.svg") 3vw center no-repeat;
      background-size: 1.5vw auto;
    }
  }

.news_archive_box {
  position: relative;
  display: block;
  padding: 20px;
  background: #f2f2f2;
  text-decoration: none;
  color: #000!important;
}
.news_archive_box:hover {
  color: #2A559E!important;
}
.news_archive_box:nth-child(even) {
  background: #fff;
}
.news_archive_info {
  margin-bottom: 5px;
}
.news_archive_info time {
  display: block;
  color: #2A559E;
}
.news_archive_box h3 {
  font-weight: 400;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  letter-spacing: 0;
}
  @media screen and (max-width: 899px) {
    .news_archive_box {
      padding: 4vw;
    }
    .news_archive_info {
      margin-bottom: 1.33vw;
    }
    .news_archive_box h3 {
      -webkit-line-clamp: 2;
    }
  }

.news_single_ttl {
  position: relative;
  font-size: 2.6rem;
  padding-bottom: 15px;
  margin-bottom: 40px;
  border-bottom: solid 2px #ddd;
}
.news_single_ttl::after {
  position: absolute;
  left: 0;
  bottom: -2px;
  z-index: 5;
  content: "";
  width: 150px;
  height: 2px;
  background: #2A559E;
}
.news_single_ttl small {
  font-size: min(1.8vw,1.8rem);
}
  @media screen and (max-width: 899px) {
    .news_single_ttl {
      font-size: 4.8vw;
      padding-bottom: 2.66vw;
      margin-bottom: 5.33vw;
      border-bottom: solid 1px #ddd;
    }
    .news_single_ttl::after {
      bottom: -1px;
      width: 24.8vw;
      height: 1px;
    }
    .news_single_ttl small {
      font-size: 3.46vw;
    }
  }

/*----------------------------------------------------
  共通WP
--------------------------------------------------- */
/* img */
.aligncenter {
  display: block;
  margin: 0 auto;
  text-align: center;
}
.alignright { float: right; }
.alignleft { float: left; }
img[class*="wp-image-"],
img[class*="attachment-"] {
  height: auto;
  max-width: 100%;
}
img.alignleft {
  margin-right: 25px;
}
img.alignright {
  margin-left: 25px;
}
/* 画像だけ入った <p> の中で float を完結させる（モダン） */
p:has(> img.alignleft),
p:has(> img.alignright) {
  display: flow-root; /* または overflow: hidden; */
  margin-bottom: 0;
}
/* 左寄せ画像の直後の要素を回り込み解除 */
img.alignleft + * {
  clear: both;
}
/* 右寄せ画像の直後も同じ */
img.alignright + * {
  clear: both;
}

/*投稿詳細用*/
.entry-content {
  padding-bottom: 15px;
  border-bottom: solid 1px #ddd;
}
.entry-content:after {
  content: ""; 
  display: block; 
  clear: both;
}
  @media screen and (max-width: 899px) {
    .entry-content {
      padding-bottom: 2.66vw;
    }
  }

.entry-content h1 {
  font-size: min(2.2vw, 2.2rem);
  padding: 7px 20px;
  border-radius: 5px;
  margin-bottom: 25px;
  background: #2A559E;
  color: #fff;
}
  @media screen and (max-width: 899px) {
    .entry-content h1 {
      font-size: 4.4vw;
      padding: 2vw 4vw;
      border-radius: 1.33vw;
      margin-bottom: 4vw;
    }
  }

.entry-content h2 {
  font-size: min(2.2vw, 2.2rem);
  padding-bottom: 12px;
  margin-bottom: 25px;
  border-bottom: solid 1px #2A559E;
}
  @media screen and (max-width: 899px) {
    .entry-content h2 {
      font-size: 4.4vw;
      padding-bottom: 3vw;
      margin-bottom: 4px;
    }
  }

.entry-content h3 {
  position: relative;
  font-size: 2rem;
  padding-left: 22px;
  margin-bottom: 15px;
}
.entry-content h3::after {
  position: absolute;
  left: 0;
  top: 8px;
  z-index: 5;
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #2A559E;
}
  @media screen and (max-width: 899px) {
    .entry-content h3 {
      font-size: 4.26vw;
      padding-left: 5vw;
      margin-bottom: 3vw;
    }
    .entry-content h3::after {
      top: 1.8vw;
      width: 3.33vw;
      height: 3.33vw;
    }
  }

.entry-content h4 {
  font-size: 2rem;
  color: #2A559E;
  margin-bottom: 15px;
}
  @media screen and (max-width: 899px) {
    .entry-content h4 {
      font-size: 4.26vw;
      margin-bottom: 3vw;
    }
  }

.entry-content h5 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
  @media screen and (max-width: 899px) {
    .entry-content h5 {
      font-size: 4.13vw;
      margin-bottom: 3vw;
    }
  }

.entry-content h6 {
  font-size: 1.7rem;
  margin-bottom: 15px;
}
  @media screen and (max-width: 899px) {
    .entry-content h6 {
      font-size: 4vw;
      margin-bottom: 3vw;
    }
  }

.entry-content p {
  margin-bottom: 30px;
}
  @media screen and (max-width: 899px) {
    .entry-content p {
      margin-bottom: 5vw;
    }
  }

.entry-content img {
  margin-bottom: 30px;
}
  @media screen and (max-width: 899px) {
    .entry-content img {
      margin-bottom: 5vw;
    }
  }

.entry-content ul {
  margin-bottom: 30px;
  padding-left: 20px;
}
.entry-content ul li {
  list-style-type: disc;
}
.entry-content ul li ul {
  margin-bottom: 10px;
  font-size: 93%;
}
.entry-content ul li ul li {
  list-style-type:circle;
}
  @media screen and (max-width: 899px) {
    .entry-content ul {
      margin-bottom: 5vw;
      padding-left: 5.4vw;
    }
    .entry-content ul li ul {
      margin-bottom: 2vw;
    }
  }

.entry-content ol {
  counter-reset: section;
  margin-bottom: 30px;
}
.entry-content ol li {
  list-style: none;
}
.entry-content ol > li:before {
  content : counters(section, '-') '. ';
  counter-increment : section;
}
.entry-content ol li ol {
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 93%;
}
  @media screen and (max-width: 899px) {
    .entry-content ol {
      margin-bottom: 5vw;
    }
    .entry-content ol li ol {
      padding-left: 5.4vw;
      margin-bottom: 2vw;
    }
  }

.entry-content table {
  width: 100%;
  margin: 0 0 30px 0;
}
.entry-content th {
  text-align: left;
  padding: 7px 10px;
  border:solid 1px #eee;
}
.entry-content td {
  padding: 7px 10px;
  border: solid 1px #eee;
}
  @media screen and (max-width: 899px) {
    .entry-content table {
      margin: 0 0 5vw 0;
      font-size: 93%;
    }
    .entry-content th {
      padding: 2vw;
    }
    .entry-content td {
      padding: 2vw;
    }
  }

.entry-content table img {
  margin-bottom: 0;
}

.entry-content blockquote {
  position: relative;
  border: solid 4px #d7d7d7;
  padding: 20px 20px 20px 45px;
  margin-bottom: 30px;
  font-size: 95%;
}
.entry-content blockquote::before {
  position: absolute;
  left: 15px;
  top: 20px;
  content: "“";
  line-height: 1;
  font-size: 5rem;
  color: #d7d7d7;
}
  @media screen and (max-width: 899px) {
    .entry-content blockquote {
      border: solid 3px #d7d7d7;
      padding: 4vw 3.33vw 4vw 9.33vw;
      margin-bottom: 5vw;
    }
    .entry-content blockquote::before {
      left: 2vw;
      top: 4vw;
      font-size: 12.33vw;
    }
  }

.entry-content u {
  text-decoration: underline;
}

.entry-content .wp-caption.alignright {
  margin-left: 25px;
}
.entry-content .wp-caption.alignleft {
  margin-right: 25px;
}
  @media screen and (max-width: 899px) {
    .entry-content .wp-caption {
      width: 100%!important;
      float: none!important;
      margin: 0 0 5vw 0!important;
    }
  }

.entry-content .wp-caption img {
  margin-bottom: 5px;
}
.entry-content .wp-caption p {
  font-size: 90%;
  color: #757575;
  font-style: italic;
}
  @media screen and (max-width: 899px) {
    .entry-content .wp-caption img {
      margin-bottom: 2vw;
    }
  }

/*ページ分割ナビ*/
.wp-pagenavi {
  padding: 50px 0 0 0;
  text-align: center;
  overflow: hidden;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  width: 44px;
  line-height: 42px;
  background: #fff;
  border: 1px solid #2A559E;
  color: #2A559E;
  margin: 0 3px 10px 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.8rem;
}
.wp-pagenavi span {
  background: #2A559E;
  color: #fff;
}
.wp-pagenavi a:hover {
  background: #2A559E;
  color: #fff;
  border: 1px solid #2A559E;
}
.wp-pagenavi .first, .wp-pagenavi .last {
  line-height: 1;
  width: auto;
  border: none;
  color: #2A559E;
  font-size: 1.6rem;
}
.wp-pagenavi .first:hover, .wp-pagenavi .last:hover {
  border: none;
  background: none;
  color: #2A559E;
  text-decoration: underline;
}
.wp-pagenavi .extend {
  line-height: 1;
  width: auto;
  border: none;
  color: #2A559E;
  background: none;
}
  @media screen and (max-width: 899px) {
    .wp-pagenavi {
      padding: 6.66vw 0 0 0;
    }
    .wp-pagenavi a, .wp-pagenavi span {
      width: 8vw;
      line-height: 8vw;
      margin: 0 0.33vw 2.33vw 0.33vw;
      font-size: 3.73vw;
    }
  }

/*記事詳細ナビ*/
.wp-detailnavi {
  position: relative;
  padding: 60px 0 0 0;
  text-align: center;
}
.prev_link {
  position: absolute;
  left: 0;
  bottom: 12px;
  z-index: 10;
}
.next_link {
  position: absolute;
  right: 0;
  bottom: 12px;
  z-index: 10;
}
  @media screen and (max-width: 899px) {
    .wp-detailnavi {
      padding: 8vw 0 0 0;
      margin-bottom: 3.33vw;
    }
    .wp-detailnavi a {
      font-size: 3.73vw;
    }
    .prev_link {
      bottom: 2.33vw;
    }
    .next_link {
      bottom: 2.33vw;
    }
    .wp-detailnavi .btn01 a {
      min-width: 38vw!important;
    }
  }

/*----------------------------------------------------
  404 Not Found
--------------------------------------------------- */
#notfound {
  padding-bottom: 60px;
}
#notfound p {
  padding-bottom: 20px;
}
#notfound .btn01 {
  margin-top: 40px;
}
  @media screen and (max-width: 899px) {
    #notfound {
      padding-bottom: 10.66vw;
    }
    #notfound p {
      padding-bottom: 4vw;
    }
    #notfound .btn01 {
      margin-top: 6.66vw;
    }
  }
