@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: 150rem;
  --eng: "Manrope", sans-serif;
}
@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: 50%;
}
@media screen and (max-width: 1500px) {
  html {
    font-size: 0.5856515374vw;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 2.1333333334vw;
  }
}
body {
  margin: 0 auto;
  padding: 0;
  font-size: 2.2rem;
  line-height: 1.8em;
  color: #111;
  height: 100%;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 400;
  position: relative;
  background: #fff;
  background: url(./img/bg.jpg) repeat top left / 100%;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 1.6rem;
  }
}

.en {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.min {
  font-family: YakuHanMP, "游明朝", "Yu Mincho", "YuMincho", 
               "Hiragino Mincho ProN", "Hiragino Mincho Pro", 
               "MS PMincho", serif;
  font-weight: 500;
  font-optical-sizing: auto;
  font-style: normal;
}


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: #111;
}

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; */
  transition: .3s;
  background: rgba(255, 255, 255, 0);
}
#h_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.9);
}

#header.hidden {
  /* transform: translateY(-100%);
  transition: transform 0.3s ease-out; */
}
#gNav li {
  font-weight: 500;
}

/* サブメニュー */
.has_submenu {
  position: relative;
}

.has_submenu > a {
  position: relative;
  padding-right: 2rem;
}

.has_submenu > a {
  position: relative;
}

.submenu_icon {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  display: inline-block;
}

.submenu_icon::before,
.submenu_icon::after {
  content: "";
  position: absolute;
  background-color: #111;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 横線（常に表示） */
.submenu_icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

/* 縦線（+の時のみ表示） */
.submenu_icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  opacity: 1;
}

/* active時：縦線を非表示にして-にする */
.has_submenu.active .submenu_icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.sub_nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media only screen and ( max-width : 767px ) {
  .sub_nav {
    display: none;
  }
  
  /* JavaScriptでアニメーション制御するため、activeクラスでのdisplay指定は削除 */
  
}
.h_cta_btn a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  border-radius: 5rem;
  background-color: #00A5BF;
  position: relative;
}
.h_cta_btn a span {
  position: relative;
  z-index: 1;
  padding-left: 30px;
}

.h_cta_btn a span:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 15px;
  height: 15px;
  background: url(./img/ico-mail.svg) no-repeat center / contain;
}

#h_logo {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
#fixed_btn {
  position: fixed;
  z-index: 90;
  right: 0;
}
#fixed_btn a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #00A5BF;
  color: #fff;
  border-radius: 1rem 0 0 1rem;
}
#fixed_btn a span {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: relative;
  letter-spacing: 0.1em;
}
#fixed_btn a .fixed_btn_item__txt01:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  height: 1px;
}
@media only screen and ( max-width : 767px ) {
  #header {
    position: sticky;
    background: #fff;
    height: 55px;
  }
  #header #h_inner {
    padding: 0 15px 0 5px;
    height: 100%;
  }
  header.hidden {
    /* transform: translateY(-6.8rem) !important; */
  }
  /* .open #header {
    height: 100%;
  } */
  /* .open header.hidden {
    transform: translateY(0) !important;
  } */
  #h_logo {
    font-size: 9px;
  }
  #h_logo img {
    max-width: 60px;
    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: 55px;
    height: 55px;
    right: 0;
    top: 0;
  }
  #menu_btn.active {
  }
  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0);
    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: #111;
    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;
  }
  #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 ul {
    margin-left: -50px;
    margin-right: -50px;
    padding: 20px 0;
    background: #f5f5f5;
  }
  #gNav .nav li {
    padding: 0 50px;
    border-bottom: 1px solid #111;
  }
  #gNav .nav li li {
    padding: 0;
    border-bottom: none;
  }
  #gNav .nav li a {
    position: relative;
    font-size: 17px;
    padding: 25px 0;
    display: block;
  }
  #gNav .nav li li a {
    padding: 10px 50px;
  }
  #gNav .nav li.h_cta_btn {
    margin-top: 30px;
    padding: 0;
  }
  #gNav .nav li.h_cta_btn a {
    width: 190px;
    height: 50px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #gNav li:last-child {
    border-bottom: none;
  }
  
  #fixed_btn {
    bottom: 3rem;
  }
  #fixed_btn a {
    width: 4rem;
    height: 20rem;
  }
  .fixed_btn_item__txt01 {
    font-size: 1.5rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  .fixed_btn_item__txt02 {
    font-size: 1.2rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  #fixed_btn {
    bottom: 6rem;
  }
  #fixed_btn a {
    width: 7rem;
    height: 32rem;
  }
  .fixed_btn_item__txt01 {
    font-size: 2rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
  #header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem 0 3rem;
  }
  header.hidden {
    /* transform: translateY(-9rem) !important; */
  }
  #h_logo img {
    width: 10.8rem;
  }
  #menu_btn,.overlay,.sp_nav {
    display: none;
  }
  #gNav li {
    margin-right: 4rem;
    position: relative;
  }
  #gNav li.has_submenu li {
    padding-right: 0;
    margin-right: 0;
  }
  #gNav li.has_submenu .has_submenu_link_parent {
    padding-right: 0;
  }
  #gNav li:last-child {
    margin-right: 0;
  }
  #gNav li.h_cta_btn {
    margin-right: 0;
    padding-right: 0;
  }
  /* #gNav li:nth-last-child(2) {
    margin-right: 6rem;
  } */
  .h_cta_btn a {
    width: 17.4rem;
    height: 5rem;
  }
  .h_cta_btn a span {
    padding-left: 3rem;
  }
  .h_cta_btn a span:before {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  /* PC版サブメニュー */
  .has_submenu > a::after {
    display: none;
  }
  
  /* PC版では+/-アイコンを非表示 */
  .submenu_icon {
    display: none;
  }
  
  .has_submenu .sub_nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 20rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
    margin-top: 1rem;
    border-radius: 0.5rem;
  }
  
  .has_submenu:hover .sub_nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .sub_nav li {
    margin: 0;
    padding: 0;
  }
  
  .sub_nav li a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.8rem;
    color: #111;
    white-space: nowrap;
    transition: background-color 0.3s ease;
  }
  
  .sub_nav li a:hover {
    background-color: #f5f5f5;
  }
}


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

　   FOOTER

--------------------------------------------------------------------------------------------- */
#footer {
  background: #001034;
  color: #fff;
}
.footer_logo .logo {
  margin-bottom: 2rem;
  display: block;
  max-width: 27rem;
}
.footer_logo .address {
  line-height: 1.64em;
  font-size: 1.2rem;
}

.f_copy {
  color: #989898;
}


.f_nav_list li {
  font-weight: 500;
}
.f_nav_list li a {
  display: block;
  position: relative;
  color: #fff;
}


@media only screen and ( max-width : 767px ) {
  #footer {
    padding: 3rem 0 0;
  }
  .footer_logo {
    padding-bottom: 3rem;
    border-bottom: 1px solid #8a9da7;
    margin-bottom: 2rem;
  }
  .footer_logo .logo {
    width: 6rem;
  }
  .footer_logo .address {
    font-size: 1.2rem;
  }
  .f_nav_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .f_nav_list li {
    width: 49%;
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  .f_nav_list li:last-child {
    margin-bottom: 0;
  }
  .footer_bottom {
    font-size: 1.1rem;
    text-align: center;
    border-top: 1px solid #8a9da7;
    padding: 2rem 0;
  }
}

@media print, screen and ( min-width : 768px ) {
  #footer {
    padding: 7.5rem 0;
    font-size: 1.5rem;
  }
  #footer .container {
    max-width: calc(105rem + 6rem);
    position: relative;
  }
  .footer_logo {
    width: 27rem;
    margin-right: 10rem;
  }
  .footer_logo .logo {
    width: 8rem;
  }
  .footer_nav {
    width: calc(100% - (27rem + 10rem));
  }
  .f_nav_list {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.4rem;
  }
  .f_nav_list li {
    margin-right: 3rem;
    margin-bottom: 1rem;
    width: 32%;
    margin-right: 2%;
  }
  .f_nav_list li:nth-child(3n) {
    margin-right: 0;
  }
  .f_nav_list li:last-child {
    margin-right: 0;
  }
  .footer_bottom {
    font-size: 1.2rem;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0 1.5rem;
  }
}


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

　   COMMON

--------------------------------------------------------------------------------------------- */
.bg {
  background: url(./img/bg02.jpg) repeat top left / 100%;
}
.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: 1px solid #001034;
  background: #001034;
  color: #fff;
  border-radius: 5rem;
}
.btn:after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: url(./img/arrow.png) no-repeat center / contain;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.btn02 {
  background: #fff;
  color: #001034;
}
.btn02:after {
  background: url(./img/arrow02.png) no-repeat center / contain;
}
.btn_center {
  margin: 0 auto;
}
@media only screen and ( max-width : 767px ) {
  .sec {
    padding: 4rem 0;
  }
  .btn {
    width: 100%;
    height: 5rem;
  }
}
@media print, screen and ( min-width : 768px ) {
  .sec {
    padding: 10rem 0;
  }
  .btn {
    max-width: 42rem;
    height: 5.5rem;
  }
}



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

　   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: #111;
  color: #fff;
}
.wp-pagenavi .current {
  background: #111;
  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;
  }
}
/* ---------------------------------------------------------------------------------------------

　   XXX

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

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

