@charset "utf-8";
/*
Theme Name: 十勝ぶどう園
*/
/* RESET
----------------------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video,picture {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  line-height: 1.5em;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
}
picture {
  display: block;
}
/* ----------------------------------------------

 * 設定をしなおす

---------------------------------------------- */
:root {
  --inner: 86rem;
  --mainColor: #b70768;
}
@media (prefers-reduced-motion: reduce) {
  * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
  }
}
html {
  -webkit-font-smoothing: antialiased;
  font-size: 62.5%;
}
@media screen and (max-width: 1200px) {
  html {
    font-size: 0.7320644217vw;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 2.6666666667vw;
  }
}
body {
  margin: 0 auto;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1.8em;
  color: #231815;
  height: 100%;
  font-family: kinuta-maruminold-stdn, serif;
  font-weight: 400;
  position: relative;
  background: #fcfaf6;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.4rem;
  }
}

.gosic {
  font-family: dnp-shuei-gothic-gin-std, sans-serif;
  font-weight: 500;
}

.min {
  font-family: ten-mincho-text, serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: bottom;
  border: none;
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
}
main {
  display: block;
  position: relative;
}

a {
  outline:none;
  color: #231815;
}

a:hover {
  text-decoration: none;
}

a,a:hover,a:hover img,button,input {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}

* {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}


/* -----------------------------------------------
 * COMMON
----------------------------------------------- */
input[type=text]:focus {
    outline: none;
}
#main {
  overflow: hidden;
}
section {
  position: relative;
}
.container {
  max-width: calc(var(--inner) + 6rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}

@media only screen and ( max-width : 767px ) {
  .container {
    max-width: 100%;
  }
  .br_pc {
    display: none;
  }
  .sp_none{display:none !important;}
}
@media print, screen and ( min-width : 768px ) {
  .br_sp {
    display: none;
  }
  .sp { display:none !important; }
}
/* ---------------------------------------------------------------------------------------------

　   FLEX

--------------------------------------------------------------------------------------------- */
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.d-inline-flex {
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}
.flex-row {
  -ms-flex-direction: row !important;
  flex-direction: row !important;
}

.flex-column {
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}

.flex-row-reverse {
  -ms-flex-direction: row-reverse !important;
  flex-direction: row-reverse !important;
}

.flex-column-reverse {
  -ms-flex-direction: column-reverse !important;
  flex-direction: column-reverse !important;
}

.flex-wrap {
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
}

.flex-nowrap {
  -ms-flex-wrap: nowrap !important;
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  -ms-flex-wrap: wrap-reverse !important;
  flex-wrap: wrap-reverse !important;
}
.justify-content-start {
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
}

.justify-content-end {
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}

.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.justify-content-between {
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.align-items-start {
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.align-items-end {
  -ms-flex-align: end !important;
  align-items: flex-end !important;
}

.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}


@media (min-width: 576px) {
  .d-sm-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .justify-content-sm-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-sm-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-sm-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-sm-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-sm-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-sm-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-sm-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

@media (min-width: 768px) {
  .d-md-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .justify-content-md-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-md-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-md-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-md-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-md-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-md-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-md-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .justify-content-lg-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-lg-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-lg-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-lg-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-lg-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-lg-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-lg-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .flex-xl-wrap-reverse {
    -ms-flex-wrap: wrap-reverse !important;
    flex-wrap: wrap-reverse !important;
  }
  .justify-content-xl-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }
  .justify-content-xl-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
  }
  .justify-content-xl-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }
  .justify-content-xl-between {
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }
  .align-items-xl-start {
    -ms-flex-align: start !important;
    align-items: flex-start !important;
  }
  .align-items-xl-end {
    -ms-flex-align: end !important;
    align-items: flex-end !important;
  }
  .align-items-xl-center {
    -ms-flex-align: center !important;
    align-items: center !important;
  }
}

/* ---------------------------------------------------------------------------------------------

　   TEXT

--------------------------------------------------------------------------------------------- */
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}
@media (min-width: 576px) {
  .text-sm-left {
    text-align: left !important;
  }
  .text-sm-right {
    text-align: right !important;
  }
  .text-sm-center {
    text-align: center !important;
  }
}

@media (min-width: 768px) {
  .text-md-left {
    text-align: left !important;
  }
  .text-md-right {
    text-align: right !important;
  }
  .text-md-center {
    text-align: center !important;
  }
}

@media (min-width: 992px) {
  .text-lg-left {
    text-align: left !important;
  }
  .text-lg-right {
    text-align: right !important;
  }
  .text-lg-center {
    text-align: center !important;
  }
}

@media (min-width: 1200px) {
  .text-xl-left {
    text-align: left !important;
  }
  .text-xl-right {
    text-align: right !important;
  }
  .text-xl-center {
    text-align: center !important;
  }
}


/* ---------------------------------------------------------------------------------------------

　   HEADER

--------------------------------------------------------------------------------------------- */
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition: transform 0.3s 0.3s;
}
#h_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header.scroll #h_inner {
  /* background: transparent; */
}

#gNav li {
  letter-spacing: .15em;
}
.h_cta_btn a {
  color: #fff;
  display: flex;
  align-items: center;
  height: 3.2rem;
  border-radius: .5rem;
  background-color: var(--mainColor);
  position: relative;
}
.h_cta_btn a span {
  position: relative;
  z-index: 1;
}

.h_cta_btn a:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  width: 1.8rem;
  height: 1.5rem;
  background: url(./img/ico-p-airplane.svg) no-repeat center / contain;
}

.bogo-language-switcher {
  display: flex;
  flex-wrap: wrap;
  font-family: dnp-shuei-gothic-gin-std, sans-serif;
  font-weight: 500;
}
.bogo-language-switcher li {
  position: relative;
}
.bogo-language-switcher li:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 1px;
  height: 1em;
  background-color: #ccc;
}
.bogo-language-switcher li:last-child:after {
  content: none;
}
.bogo-language-switcher li.current a {
  color: var(--mainColor);
}

.bogo-language-switcher .bogoflags {
  display: none;
}

@media only screen and ( max-width : 767px ) {
  #header {
    position: sticky;
    background: #fff;
    height: 80px;
  }
  .bogo-language-switcher {
    position: absolute;
    z-index: 10;
    top: 30px;
    right: 80px;
    font-size: 1.2rem;
  }
  .bogo-language-switcher li {
    margin-right: 10px;
    padding-right: 10px !important;
  }
  .bogo-language-switcher li:last-child {
    margin-right: 0;
    padding-right: 0 !important;
  }
  /* #header.scroll {
    height: 65px;
  } */
  #header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
  }
  #header #h_inner {
    padding: 0 15px;
    height: 100%;
    /* justify-content: center; */
  }
  /* header.hidden {
    transform: translateY(-100px) !important;
  } */
  /* .open #header {
    height: 100%;
  } */
  /* .open header.hidden {
    transform: translateY(0) !important;
  } */
  #h_logo img {
    max-width: 50px;
    display: block;
  }
  #menu_btn {
    transition: .3s;
    cursor: pointer;
    position: fixed;
    z-index: 9999;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    right: 0;
    top: 0;
  }
  #header.hidden #menu_btn {
    top: 0;
  }
  #menu_btn.active {
  }
  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 98;
    opacity: 0;
    transition: opacity .5s;
  }
  .overlay.open {
    width: 100%;
    height: 100vh;
    opacity: 1;
  }
  #main {
    height: 100%;
    transition: all .5s;
  }
  .menu-trigger {
    vertical-align: middle;
    text-align: center;
    position: relative;
    width: 24px;
    height: 18px;
  }
  .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--mainColor);
    transition: all .5s;
  }
  #menu_btn.active .menu-trigger span {
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(3) {
  }
  #menu_btn.active .menu-trigger span:nth-of-type(1) {
    transform: translateY(8px) rotate(-45deg);
  }
  .menu-trigger span:nth-of-type(2) {
    top: 8px;
    left: auto;
    right: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(3) {
    transform: translateY(-8px) rotate(45deg);
  }
  #gNav {
    height: 100%;
    overflow: auto;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 101;
    transition: all .2s;
    width: 262px;
    /* opacity: 0;
    visibility: hidden; */
    transform: translateX(262px);
    padding: 55px 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }
  #gNav.open {
    transform: translateX(0);
    /* opacity: 1;
    visibility: visible; */
    display: flex;
    flex-direction: column;
    background: #fff;
  }
  #gNav .nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  #gNav .nav li {
    padding: 0 50px;
    border-bottom: 1px solid var(--mainColor);
  }
  #gNav .nav li a {
    position: relative;
    font-size: 13px;
    padding: 25px 0;
    display: block;
  }
  #gNav .nav li.h_cta_btn {
    margin-top: 10px;
    padding: 0;
  }
  #gNav .nav li.h_cta_btn a {
    width: 190px;
    height: 40px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #gNav li:nth-last-child(-n+2) {
    border-bottom: none;
  }
}
@media print, screen and ( min-width : 768px ) {
  #header {
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(5px);
    height: 19rem;
    padding: 0 5rem 0 10rem;
    width: 100%;
  }
  header.hidden {
    /* transform: translateY(-9rem) !important; */
  }
  #h_logo img {
    width: 8rem;
  }
  #menu_btn,.overlay {
    display: none;
  }
  #gNav li {
    margin-right: 1.8rem;
    font-size: 1.5rem;
    position: relative;
    padding-right: 1.8rem;
  }
  #gNav li:last-child {
    margin-right: 0;
  }
  #gNav li.h_cta_btn {
    margin-right: 0;
    padding-right: 0;
  }
  #gNav li:nth-last-child(2) {
    padding-right: 0;
    margin-right: 3rem;
  }
  .h_cta_btn a {
    width: 13.6rem;
    padding: 0 1rem;
  }
  .h_cta_btn a span {
  }
  .h_cta_btn a span:before {
    width: 1.5rem;
    height: 1.5rem;
  }
  .bogo-language-switcher {
    justify-content: flex-end;
    margin-bottom: 2rem;
    font-size: 1.4rem;
  }
  .bogo-language-switcher li {
    margin-right: 1.5rem;
    padding-right: 1.5rem !important;
  }
  .bogo-language-switcher li:last-child {
    margin-right: 0;
    padding-right: 0 !important;
  }
}


/* ---------------------------------------------------------------------------------------------

　   FOOTER

--------------------------------------------------------------------------------------------- */
#footer {
  background: url(img/f_bg.jpg) no-repeat left top / 100% #231815;
  color: #fff;
  position: relative;
}
#f_nav {
  border-top: 1px solid #fff;
  padding: 1.5rem 0 0 0;
  margin-top: 1.5rem;
}
#f_nav li {
  position: relative;
  padding-left: 1.2em;
  font-size: 1.2rem;
  margin-right: 1.5rem;
}
#f_nav li:last-child {
  margin-right: 0;
}
#f_nav li:before {
  content: "";
  width: 1em;
  height: 1em;
  background: var(--mainColor);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

#f_nav li a {
  color: #fff;
  letter-spacing: .15em;
  display: block;
}


@media only screen and ( max-width : 767px ) {
  #footer {
    padding-top: 38vw;
    padding-bottom: 8vw;
  }
  .footer_logo {
    max-width: 8rem;
    margin: 0 auto 3rem;
  }
  .footer_info_title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  #f_nav {
    padding: 1.1rem 0 0 0;
  }
  #f_nav li a  {
    padding: .4rem 0;
  }
}

@media print, screen and ( min-width : 768px ) {
  #footer {
    padding-top: 34vw;
    padding-bottom: 4vw;
  }
  .footer_inner {
    max-width: 82rem;
    margin: 0 auto;
  }
  .footer_logo {
    width: 13.4rem;
    margin-right: 5.4rem;
  }
  .footer_info {
    width: calc(100% - 13.4rem - 5.4rem);
    font-size: 1.5rem;
  }
  .footer_info_title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
  }
  #f_nav {
    padding: 1.5rem 0 0 0;
  }
  #f_nav ul {
    justify-content: space-between;
  }
}


/* ---------------------------------------------------------------------------------------------

　   COMMON

--------------------------------------------------------------------------------------------- */
.mb {
  margin-bottom: 1rem;
}
.fit {
  -o-object-fit: cover;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
  height: 100%;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  position: relative;
  border-top: 1px solid #6c0138;
  border-bottom: 1px solid #6c0138;
  letter-spacing: .15em;
  margin: 0 auto;
  position: relative;
  background: #fff;
  color: #6c0138;
}
.btn:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  height: 76%;
  border-left: 1px solid #6c0138;
  border-right: 1px solid #6c0138;
}
.btn:after {
  content: "";
  width: 1rem;
  height: 1.4rem;
  background: url(./img/arrow.svg) no-repeat center / contain;
  position: absolute;
  right: 2rem;
}

.title_heading,
.page_title_heading {
  color: #6c0138;
  position: relative;
}
.title_heading:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 4rem);
  height: .1rem;
  background: #6c0138;
}
.title_heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width:4rem;
  height: .3rem;
  background: url(img/dot.svg) no-repeat center right / contain;
}
.title_heading .title_en,
.page_title_heading .title_en {
  letter-spacing: .15em;
  line-height: 1;
  text-align: center;
}

.title_heading .title_jp {
  text-align: center;
}

@media only screen and ( max-width : 767px ) {
  .sec {
    padding: 4rem 0;
  }
  .title_heading {
    margin-bottom: 3rem;
    align-items: center;
    padding-bottom: 2rem;
  }
  .title_heading .title_en {
    font-size: 2.6rem;
  }
  .page_title_heading .title_en {
    font-size: 3.5rem;
  }
  .title_heading .title_jp {
    font-size: .9rem;
    margin-bottom: 1rem;
  }
  .page_title_heading .title_jp {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  .btn {
    width: 100%;
    height: 5rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  .sec {
    padding: 10rem 0;
  }
  .title_heading {
    margin-bottom: 6rem;
    padding-bottom: 3rem;
  }
  .title_heading .title_en {
    font-size: 3.5rem;
  }
  .page_title_heading .title_en {
    font-size: 5.5rem;
  }
  .title_heading .title_jp {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .page_title_heading .title_jp {
    font-size: 1.9rem;
    margin-bottom: 2rem;
  }
  .btn {
    width: 44.8rem;
    height: 6.8rem;
  }
}

/* ---------------------------------------------------------------------------------------------

　   LINEUP

--------------------------------------------------------------------------------------------- */
.lineup_img_txt {
  margin-top: 1rem;
  letter-spacing: .15em;
}
.lineup_img_txt_note {
  color: #e60033;
  margin-top: .5rem;
  letter-spacing: .15em;
}
@media only screen and ( max-width : 767px ) {
  .lineup_item {
    margin-bottom: 3rem;
  }
  .lineup_item:last-child {
    margin-bottom: 0;
  }
  .lineup_img_txt_note {
    font-size: 1.1rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  .lineup_item {
    width: 40rem;
    margin-top: 7rem;
  }
  .lineup_item:nth-child(-n+2) {
    margin-top: 0;
  }
  .lineup_img_txt_note {
    font-size: 1.2rem;
  }
}


/* ---------------------------------------------------------------------------------------------

　   pagenavi

--------------------------------------------------------------------------------------------- */

.wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.wp-pagenavi .pages,
.previouspostslink,
.nextpostslink {
  display: none;
}

.wp-pagenavi .page,
.wp-pagenavi .current {
  width: 6rem;
  height: 6rem;
  background: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  color: #ccc;
  font-family: "din-2014", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  border: none;
  border-radius: 50%;
}
.wp-pagenavi .page:hover {
  background: var(--mainColor);
  color: #fff;
}
.wp-pagenavi .current {
  background: var(--mainColor);
  color: #fff;
}
.wp-pagenavi a, .wp-pagenavi span {
  border: none !important;
}
.wp-pagenavi .extend {
  display: flex;
  align-items: center; 
}
.wp-pagenavi .first,
.wp-pagenavi .last {
  display: flex;
  align-items: center;
  padding-top: .7em;
}
@media only screen and ( max-width : 767px ) {
  .wp-pagenavi {
    margin-top: 5rem;
  }
  .wp-pagenavi .page,
  .wp-pagenavi .current {
    width: 4rem;
    height: 4rem;
    line-height: 3.5rem;
    margin: 0 .5rem;
    font-size: 2rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  .wp-pagenavi {
    margin-top: 10rem;
  }
  .wp-pagenavi .page,
  .wp-pagenavi .current {
    line-height: 5.5rem;
  }
}
/* ---------------------------------------------------------------------------------------------

　   PAGETOP

--------------------------------------------------------------------------------------------- */
#pagetop {
  position: absolute;
  bottom: 4rem;
  right: 4rem;
  z-index: 1000;
  transition: all 0.3s ease;
}

#pagetop a {
  display: block;
  width: 8rem;
  transition: all 0.3s ease;
}

#pagetop a:hover {
  transform: translateY(-2px);
}

#pagetop img {
  width: 8rem;
}

@media only screen and ( max-width : 767px ) {
  #pagetop {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  #pagetop a {
    width: 5rem;
  }
  
  #pagetop img {
    width: 5rem;
  }
}

/* ---------------------------------------------------------------------------------------------

　   XXX

--------------------------------------------------------------------------------------------- */

@media only screen and ( max-width : 767px ) {
}
@media print, screen and ( min-width : 768px ) {
}

