@charset "UTF-8";

/* WordPress が出力する class の設定 */
.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.alignright {
  float: right;
  margin-bottom: 20px;
  margin-left: 20px;
}
.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
.wp-caption,
[class*='wp-image'] {
  display: block;
  max-width: 100% !important;
  margin-top: 1.5em;
  text-align: center;
}
.wp-caption-text {
  margin-top: 0;
}
/* WordPress が出力する class の設定 */

a:hover{
    opacity: 0.5 ;
}

.pc_disp{
display:block;
}
.sp_disp{
display:none;
}
.link_jump{
display:block;
}

@media (max-width: 1140px) {
    .pc_disp{
    display:none;
    }
    .sp_disp{
    display:block;
    }
}

#nav-wrapper{
width: 100%;
position: relative;
}
.navi_sp_head{
display: flex;
flex-direction: column;    
}
/* 2024.03.04 */
.logo_sp_wrap img{
max-width: 150px;
max-height: 55px;
}
/* 2024.03.04 */
.navi_sp_name{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
height: 30px;
}
.navi_sp_name h1{
font-size: 16px;
}

/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  position: absolute;
  width: 22px;
  height: 2px;
  right: 0;
  background-color: #000;
  transition: all 0.5s;
}

.hamburger__line--1 {
top: 24px;
right: 20px;
}

.hamburger__line--2 {
top: 30px;
right: 20px;
}

.hamburger__line--3 {
top: 36px;
right: 20px;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 24px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 24px;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
display:none;
width: 100%;
background-color: #fff;
/* 閉じるアニメーション */
transition:
border-top     .3s ease-out,
padding-top    .3s ease-out,
padding-bottom .3s ease-out;
z-index: 200;
overflow-y: auto;
}
.sp-nav li{
border-top: 1px solid #c8c8c8;
}
.sp-nav a{
display: block;
padding: 3%;
}
.sp-nav a i{
margin-right: 5px;
}

/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  z-index: 2;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}


/*topへ戻る*/
#page_top {
    position: fixed;
    bottom: 0px;
    right: 0px;
}
#page_top a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#page_top a:hover {
    text-decoration: none;
}

.lb-nav a.lb-prev{
    opacity:1 !important;
}
.lb-nav a.lb-next{
    opacity:1 !important;
}

@media (min-width: 1141px) {
    #nav-wrapper {
        display: none;
    }
}

@media (max-width: 1140px) {
    #nav-wrapper {
    display: block;
    }
    #page_top {
        bottom: 50px;
    }
    #page_top a{
        width: 50px;
        height: 50px;
    }
}


