@charset "UTF-8";
/*
Theme Name: original_child　　
Theme URI: 
Template: original 
Version: 2025-07
*/
/* all display
-------------------------------------------------- */
@import url('editor-style.css');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
:root {
  --font-en:  "Cinzel", serif;
   --font-en-type:  0.03rem;
  --font-ja: "Noto Serif JP", serif;
}

#wpadminbar .ab-empty-item, #wpadminbar a.ab-item, #wpadminbar>#wp-toolbar span.ab-label, #wpadminbar>#wp-toolbar span.noticon {
    color: #f0f0f1!important;
}

body{
  font-family: var(--font-ja);
  color:#000000;
  background: none;
}
body:not(.home){
  background: #E5E5E5!important
}
@media screen and (max-width: 767px) {
  body:not(.home){
  background: #fff!important
}
}
a{
  color:#000!important;
}

/*common*/

.spOnly{
  display: none;
}
@media screen and (max-width: 767px) {
  .spOnly{
  display: inherit;
}
.pcOnly{
  display: none;
}
}
.bg-blue{
  background: #E5E5E5;
}



.bg-blue-half {
  position: relative;
  z-index: 0; /* 擬似要素を裏に配置するため */
  background: #fff;
}



.bg-blue-half::before {
  content: "";
  position: absolute;
bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* 上半分だけ */
  background: #E5E5E5;
  z-index: -1; /* 背景がテキストの後ろになるように */
}

body:not(.home) .bg-blue-half {
  background: #E5E5E5;
}

@media screen and (max-width: 767px) {
  .bg-sp-white,.bg-sp-white::before{
    background: #fff!important;
  }
}

@media (min-width: 1025px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
  }
}

.bn-more {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 10px;
  width:230px;
  color: #fff!important;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #000;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.35);
  font-family: var(--font-en);
  letter-spacing: var(--font-en-type);
  text-align: center;
  font-size: 15px;
}

.bn-more:hover {
  background-color: #474747;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .bn-more {
     width:60%;
  }
}

.bn-center{
  text-align: center;
}


/*head*/
#header{
  background: #fff;
}
#header #logo img{
  height: 87px;
  margin-left: 1rem;
}

#header-right{
  float:right;
  max-width:1000px;
  min-width:400px;
}
@media screen and (max-width: 1400px) {
#header-right{
  /*float: none;*/
  max-width:auto;
  min-width:auto;
}
#header-gnav-area{
  display: none;
  
}
}

#header ul{
  
  background: #fff;
}

@media screen and (max-width: 991px) {
  #header-right{
    display: none;
  }
}


@media screen and (max-width: 991px) {
  #header-nav-btn a{
    background: #000;
    color:#fff!important;
    text-decoration: none;
    padding:8px 0;
  }
   #header-nav-btn a:hover{
    text-decoration: none;
   }
   #gnav-sp{
     background: #000;
    color:#fff!important;
   }
    #gnav-sp a{
      color:#fff!important;
    }
    #gnav-sp #header-cont-content{
      display: none;
    }
}
/*navi*/
#header-fnav-area #header-fnav-btn a{
  background: #000;
}

#header-fnav-area{
  float: right;
}
#header-gnav-area{
  width:800px;
  float: right;
}

#gnav{
  margin: 20px 50px 0 0;
}

#gnav ul li a{
  padding:0px;
  color:#000;
    background: #fff;
     font-family: var(--font-en);
      letter-spacing: var(--font-en-type);
  font-weight: 600;
}
#gnav-ul li a::after {
  content: " / ";
  margin:auto 0.3em; /* スラッシュの前に少しスペース */
}
#gnav-ul li:last-child a::after {
  content: none;
}
#gnav ul li a:hover {
  background: none;
  color:#a19c9c;
}
#gnav ul li.current-menu-item a{
  background: none;
  color:#a19c9c;

}
#gnav ul li.current-menu-item a::after{
  color:#000;
}
@media screen and (min-width: 1201px) {
.one-column #content .wrap{
  width: 1200px;
}
}
/*footer*/
#footer{
  border:none;
  margin-top: 3rem;
  
}
#footer a{
 color:#000;
}
.footer-01{
  background: none;
  padding:0;
}

/* JOINセクション全体に背景画像 */
.join-section {
  position: relative;
  background-image:  url('./img/bg_join.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  color: #fff;
  padding: 30px 20px;
  width:1500px;
  margin: auto;
  line-height: 2em;
}

/* 背景を暗くしてテキストを読みやすく */
.join-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* 黒の半透明オーバーレイ */
  z-index: 0;
}
.join-section a{
  color:#fff!important;
}
/* コンテンツを前面に */
.join-inner {
  position: relative;
  z-index: 1;
}
.join-section h1.wp-block-heading{
  margin-bottom: 3rem!important;
  padding-bottom: 35px;
}
.join-section h1.wp-block-heading::before,
.join-section h1.wp-block-heading::after{
  background: #fff;
}

.join-column{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.join-column > div:first-child{
  width:60%
}
.join-column > div:last-child{
  width:30%;
  text-align: right;
}

.join-section .bn-more{
  background: none;
  border:1px solid #fff;
  color:#fff;
  padding:5px 10px;
}
.join-section .bn-more:hover{
  background: #fff;
  opacity: 0.3;
  color:#000!important;
}

@media screen and (max-width: 1400px) {
  .join-section{
    width:100%;
  }
  .join-column > div:first-child,
  .join-column > div:last-child{
    width:100%;
  }
  .join-column > div:last-child{
    text-align: center;
  }
  #gnav-container-sp{
    background: #000;
    
  }
  #gnav-container-sp a{
    color:#fff!important;
    display: block;
  }
   #gnav-container-sp li{
    border-bottom:1px solid   #808080;
    padding:1.5rem 2rem;
   }

}

@media screen and (min-width: 1299px) {
  #gnav-container-sp{
    display: none;
  }
}

.footer-info{
  color:#000;
  line-height: 2.0em;
  padding-top:1.5rem;
  margin-bottom: 1.5rem;
}
.footer-info p:not(.footer-name) {
  margin-bottom: 2px!important;
}
.footer-name{
  font-size: 1.2em;
  font-weight: 600!important;
  margin-bottom: 1.8rem!important;
      letter-spacing: 0.05rem;
}

.footer-02{
  background: #E5E5E5;
  color:#000;
}
.footer-02 .footer-copy{
  text-align: right;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .footer-info{
    text-align: center;
  }
  .footer-logo{
    margin-bottom: 2rem!important;
  }
  .footer-logo img{
    width:30%;
  }
  .footer-name{
    margin-top: 1.5rem!important;
  }
  .footer-name span{
    display: block;
    line-height: 1.5;
    
    letter-spacing: 0.3rem;
  }
  .footer-name span:first-child{
    font-size: 6vw;
  }
  .footer-name .pcOnly{
    display: none;
  }
  
  .footer-name span:last-child{
    font-size: 7vw;
    margin-top: 1rem;
  }
  .footer-02 .footer-copy{
    text-align: center;
  }
  #footer .wrap{
    padding:10px 0 30px;
  }
}
/*top*/
.home #content{
  padding:0;
}

.bg-innder{
  padding:3rem 0 2rem;
}

#content h1:first-of-type {
  margin-top: 1rem;
}

.head-link{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.head-link > h1{
  width:40%;
}
.head-link > div{
  width:40%;
  text-align: right;
}
@media screen and (max-width: 767px) {
  .head-link > h1,.head-link > div{
    width:100%;
  }
  .head-link > div{
    /*text-align: center;
    margin-bottom: 0.5rem;*/
    display: none;
  }
   .head-link > h1{
    margin-bottom: 3rem!important;
   }
  #recent_post_content{
    padding:0.5rem 1rem 1rem;
  }
}


/*news*/

.post-meta-area{
  margin-top: -2rem!important;
}
.home .front-loop{
  margin: 0!important;
  padding: 0;
  border:none!important;
 
}

.home .front-loop .popular_post_box a{
  text-decoration: underline;
  color:#000;

}
.home .front-loop .popular_post_box a:hover{
  text-decoration: none;
}
.home .front-loop .popular_post_box{
  margin-left: 2.9%;
   font-family: var(--font-ja)!important;
}
.home .front-loop .popular_post_box:first-child{
  margin-left: 0;
}
.home .front-loop .front-loop-cont{
  padding:0 0 0!important;
}

.home .front-loop .popular_post_box .p_category{
  background:#E5E5E5!important;
  color: #000!important;
  width:70%;
  text-align: center;
      padding: 3px 5px!important;
      font-weight: 500;
}
.home .front-loop .popular_post_box .p_date {

    opacity: .8!important;}
    .home .front-loop .popular_post_box h3{
      font-size: 15px!important;
      line-height: 1.9em;
    }

    .post-thumbnail img{
      width:85%;
      margin: 0.5rem auto 2rem;
      display: block;
    }

/*スライダー*/

/* ===== スライダー基本 ===== */
.slider-container {
  position: relative;
  margin: 10px auto 50px;
  overflow: hidden;

  /* 可変パラメータ */
  --gap: 10px;          /* スライド間の隙間 */
  --per: 3;             /* 同時表示枚数 */
  --transition: 500ms;  /* アニメ時間（JSのTRANSITION_MSと合わせると◎） */

  /* 3枚ちょうど入る幅を算出 */
  --slide-w: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
}

.slider-track {
  display: flex;
  gap: var(--gap);
  padding: 0;                    /* 余白は入れない（JSの計算が狂うため） */
  transition: transform var(--transition) ease;
  will-change: transform;
}

/* 各スライド */
.slide {
  flex: 0 0 var(--slide-w);      /* ぴったり等幅 */
  box-sizing: border-box;
  min-width: 0;
  margin: 0;                     /* 隙間は gap に統一 */
  padding: 10px;                 /* 内側余白はOK（幅に含まれる） */
  text-align: center;
}

/* 画像を枠いっぱいに */
.slide img {
  display: block;
  width: 100%;
  height: auto;
}


/* ========== 画像＆虫眼鏡 ========== */
.image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  border:20px #F2F2F2 solid;
  border-radius: 10px;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.35);
  margin-bottom: 2rem;
}

.image-wrapper > img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* 虫眼鏡アイコン：画像の右下 */
.zoom-icon {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none; /* アイコンの上でも画像クリックが通るように */
}
.zoom-icon img{
  width:40px;
  height: 40px;
}

/* ========== ナビゲーションボタン ========== */
.nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  font-size: 15px;
  opacity: 0.5;
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

/* ========== モーダル拡大表示 ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease-out;
}
.modal.show img {
  opacity: 1;
  transform: scale(1);
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

#modal-img {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

#modal-img.active {
  opacity: 1;
  transform: scale(1);
}

/* ========== レスポンシブ（任意） ========== */
@media (max-width: 768px) {
  .slider-container{
    margin-top: 0;
  } 
  .slide {
    flex: 0 0 100%;
  }
  .nav {
    font-size: 20px;
    padding: 8px 12px;
  }
  .zoom-icon {
    font-size: 16px;
    bottom: 6px;
    right: 6px;
  }
  .slider-container{
    margin-bottom: 0;
  }
  .slide p{
    margin-bottom: 0;
  }

  .zoom-icon {
  bottom: -10px;
  right: -10px;
}
}


@media screen and (max-width: 767px) {
  .top-highlights{
    padding:0rem 1rem 3.5rem;
  }
  .top-highlights h1{
    margin-top: 0.5rem!important;
  }
}
/*メインビジュアル*/

/* 横並び：タイトル左、説明右 */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 3rem;
}

/* タイトル＋画像：70% */
.hero-title {
  width: 70%;
  position: relative;
}

.hero-title h1 {
  font-size: 105px;
  line-height: 1.2;
  margin: 0 0 10px;
  font-family: var(--font-en);
   letter-spacing: var(--font-en-type);
  font-weight: 500;
}

.subheading {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05rem;
}

/* メインビジュアル：タイトルの下にありつつ、wrapを無視して左寄せ950px */
.mainvisual {
  width: 950px;
  position: relative;
  left: calc(-1 * ((1300px - 950px) / 2)); /* = -175px */
  margin-top: 24px;
}

.mainvisual img {
  display: block;
  width: 100%;
  height: auto;
}

/* 説明文：25% */
.hero-description {
  width: 31%;
  font-size: 16px;
  line-height: 2.0!important;
  margin-top: 4rem;
}

@media screen and (max-width: 1300px) {
  .hero{
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  .hero-title{
    width:100%!important;
  }
  .hero-description{
    width:100%!important;
  }
  .mainvisual{
    position: static!important;
    width:100%;

  }
  .subheading{
    margin-bottom: 15px;
  }
   .mainvisual img{
   }

}

@media screen and (max-width: 767px) {
  .hero-title h1{
     font-size: 12vw;
  }
  .hero-description {
    margin-top: 1rem;
  }
  .hero-description p{
    margin-bottom: 3rem;
  }

  .wrap .mainvisual{
    width: 100dvw;                       /* 画面幅そのもの */
    max-width: none;                      /* 親の max-width クランプ無効化 */
    margin-left:  calc(50% - 50dvw);     /* 親の中央基準 → 画面左端へ */
    margin-right: calc(50% - 50dvw);     /* 右端もそろえる */
    margin-top: 0;
  }
  /* dvw 非対応フォールバック */
  @supports not (width: 1dvw) {
    .wrap .mainvisual{
      width: 100vw;
      margin-left:  calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
    }
  }

  .wrap .mainvisual img{
    display:block;
    width:100%;
    height:auto;
    max-width:none;                       /* 念のため */
  }

  /* クリップ防止：どこかに overflow:hidden があれば外す */
  .wrap, .hero, .hero-title { overflow: visible; }

}

/*メインビジュアルここまで*/

/*見出し*/
h1.wp-block-heading {
  position: relative;
  font-size: 40px;
  font-weight: normal;
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 25px;
  font-family: var(--font-en);
   letter-spacing: var(--font-en-type);
  font-weight: 500;
  margin-bottom: 3rem;
}

/* 太くて短い線（左） */
h1.wp-block-heading::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100px;
  background-color: #000;
}

/* 細くて長い線（右） */
h1.wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: 1px; /* ずらして見た目調整 */
  left: 40px;
  height: 1px;
  width: 300px;
  background-color: #000;
  opacity: 0.5;
}
@media screen and (max-width: 767px) {
  h1.wp-block-heading{
    font-size: 30px;
    margin-bottom: 1.8rem!important;
    padding-bottom: 15px;
  }
}
.post-content {
    padding: 0px 50px 10px;
}
.post-content a{ 
  text-decoration: underline;
}
.post-content h2{
  color:#000;
  background: none;
  font-size: 23px;
  padding: 2px 16px 2px 22px;
  border-width: 7px;
  font-weight: 600;
  letter-spacing: 0.05rem;
  margin-bottom: 3rem!important;
}

.post-content h3,.post-title {
  position: relative;
  padding: 20px 27px;
  border: none;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.05rem;
  margin-bottom: 2.5rem !important;
}
.post-content h3:not(:first-of-type) {
  margin-top: 5rem; 
}

@media screen and (max-width: 767px) {
  .post-content h2{
    font-size: 20px;
        margin: 0.5rem 0 1rem!important
  }
  .post-content h3,.post-title{
    padding:20px 15px;
    margin: 1.5rem auto 1rem!important
  }
}
/* 上線 */
.post-content h3::before,.post-title::before, {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px; /* 太い方に合わせて高さをとる */
  background:
    linear-gradient(to right,
      black 0 50%,    /* 左半分：太線 */
      transparent 50% 100%) top/100% 2px no-repeat, /* 上側に2px */
    linear-gradient(to right,
      transparent 0 50%,
      black 50% 100%) bottom/100% 1px no-repeat;    /* 下側に1px */
}

/* 下線 */
.post-content h3::after,.post-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* 太い方に合わせて高さをとる */
  background:
    linear-gradient(to right,
      black 0 50%,
      transparent 50% 100%) top/100% 2px no-repeat, /* 上側に2px */
    linear-gradient(to right,
      transparent 0 50%,
      black 50% 100%) bottom/100% 1px no-repeat;    /* 下側に1px */
}

.post-content h4 {
  border:none;
  font-size: 13px;
  background: #E5E5E5 !important;
    color: #000 !important;
    width:130px;
    text-align: center;
    padding: 5px 5px !important;
    font-weight: 500;
}
.post-content h5 {
  font-size: 19px;

}

@media screen and (max-width: 767px) {
  .post-content h4 {
        margin: 0.5rem 0 0.8rem;
  }
}

.post-content h5{
  font-size: 17px;
  color:#660e0e;
  font-weight: 600;
}
.post-content h6::before{
  content: "● ";
}
/*page*/
#content:not(.home){
   background: #E5E5E5;
   padding: 20px 0 10px;
}
.breadcrumb-area{
  background: none;
  margin-bottom: 1rem;
}

@media screen and (max-width: 767px) {
  .breadcrumb-area{
  margin-bottom: 0.5rem;
}
}

.cat-content, article.post, article.page{
  padding-bottom: 3rem;
}
.hotme .bg-blue-half{
  background: #fff!important;
}

.post-content p, .post-content ul, .post-content ol, .post-content dl, .post-content blockquote, .post-content pre, .post-content table {
    margin-bottom: 2em;
    line-height: 2.0;
}

@media screen and (max-width: 767px) {
  .cat-content, article.post, article.page{
  padding-bottom: 1rem;
}
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
    margin-bottom: 1.2rem;
  }
.wp-block-column-is-layout-flow p {
  margin-bottom: 0rem;
}
:where(.wp-block-columns.is-layout-flex){
  gap:0;
}
}
.cat-content .post-header, article.page .post-header{
  border: none!important;
  padding: 56px 64px 10px!important;
  margin-bottom: 0!important;
}
.post-content ul, .post-content ol{
  margin-left: 0;
}
ul.wp-block-list li{
   padding-left: 1rem;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}
ul.wp-block-list li a{
  text-decoration: underline;
}
ul.wp-block-list li a:hover{
  text-decoration: none;
}
ul.wp-block-list > li::marker{
  content: "●";
  color:#E5E5E5;
  
}
ul.wp-block-list li ul{
  margin-bottom: 0.8rem;
}
ul.wp-block-list li ul li{
  margin-bottom: 0.3rem;
}
ul.wp-block-list li ul li::marker{
 content: "・";
  color:#000;
}

@media screen and (max-width: 767px) {
  .cat-content .post-header, article.page .post-header{
  padding: 10px 25px 0px 25px!important;
}
  .one-column #content .wrap{
    width:auto;
    padding:0;
    margin: 0;
  }
  article.page .post-content{
    padding:5px 20px 25px;
  }
  .cat-content, article.post, article.page{
    margin-bottom: 0!important;
    border:none;
    
  }
  #content:not(.home){
    padding-bottom:0!important;
    padding-top:0.5rem
  }
}

/*num*/
ol.wp-block-list li{
  padding-left:0.5rem;
  margin-bottom: 1.8rem;
}

/*アコーディオン*/
/* 基本のsummary */
.wp-block-details summary {
  cursor: pointer;
  position: relative;
  padding:0 1.5rem 1rem 0.5rem;
  list-style: none;
  font-size: 20px;
  margin-bottom: 1.5rem;
  border-bottom:2px solid  #E5E5E5;
  font-weight: 600;
}

/* 疑似要素で > を回転させて下向きに見せる */
.wp-block-details summary::after {
   content: "";
  position: absolute;
  right: 0.5em;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  transform: translateY(-50%) rotate(45deg); /* 下向き */
  transition: transform 0.3s ease;
}

/* 開いているときは上向き（>を-90度回転） */
.wp-block-details[open] summary::after {
  transform: translateY(-50%) rotate(-135deg); /* 上向き */
}

.wp-block-details[open] > ol {
  animation: fadeSlideDown 0.3s ease;
}

@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*リサーチ*/

/* ▼ 全体ラッパー */
.dropdown-wrap {
  position: relative;
  display: inline-block;
  width: 50%;
  max-width: 400px;
  font-family: inherit;
}

/* ▼ ラベル */
.dropdown-label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

/* ▼ ULベース */
ul.list-pull {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  box-sizing: border-box;
  cursor: pointer;
}

/* ▼ 矢印 */
ul.list-pull::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #666;
  pointer-events: none;
}

/* ▼ 1つ目のliは常時表示 */
ul.list-pull li {
  display: none;
}
ul.list-pull li:first-child {
  display: block;
}
ul.list-pull li:first-child a {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
}

/* ▼ ドロップダウン全体をまとめて表示するラッパー */
ul.list-pull .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0 0 6px 6px;
  background: #fff;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* ▼ ホバーで開く */
ul.list-pull:hover .dropdown-menu {
  display: block;
}

/* ▼ ドロップダウン内のli */
ul.list-pull .dropdown-menu li {
  display: block;
  border-top: 1px solid #eee;
}
ul.list-pull .dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
}
ul.list-pull .dropdown-menu li a:hover {
  background-color: #f5f5f5;
}

/* ▼ スマホ対応（100%幅） */
@media screen and (max-width: 768px) {
  .dropdown-wrap {
    width: 100%;
    max-width: none;
    margin-bottom: 1rem;
  }
}
/*フォトギャラリー*/

.list-navi{
  list-style: none!important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.list-navi li{
padding:0 1rem;
margin-bottom: 1rem;
}

/* PC用（幅 769px 以上）：最後以外すべてに適用 */
@media screen and (min-width: 769px) {
  .list-navi li:not(:last-child)::after {
    content: "|";
    padding-left: 1rem;
}
}

/* スマホ用（幅 768px 以下）：奇数番目かつ最後以外に適用 */
@media screen and (max-width: 768px) {
  .list-navi li{
    width:48%;
  }
  .list-navi li:nth-child(odd):not(:last-child)::after {
      content: "|";
      padding-left: 1rem;
  }
}
/* ========== ギャラリー：4列 & サムネは正方形トリミング ========== */
.wp-block-gallery,
.gallery {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
}
.wp-block-gallery .wp-block-image,
.gallery .gallery-item {
  margin: 0 !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;   /* 正方形の枠 */
  overflow: hidden !important;
}
.wp-block-gallery .wp-block-image img,
.gallery .gallery-item img {
  display: block !important;
  width: 100% !important;           /* 各枠で必ず100% */
  height: 100% !important;
  object-fit: cover !important;      /* サムネはトリミング */
}
@media (max-width:1024px){ .wp-block-gallery,.gallery{grid-template-columns:repeat(3,1fr)!important;} }
@media (max-width:640px){  .wp-block-gallery,.gallery{grid-template-columns:repeat(2,1fr)!important;} }

/* ========== WP標準ライトボックス：中央寄せ／スクロール無しの土台 ========== */
.wp-lightbox-overlay{
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: grid !important;
  place-items: center !important;   /* 常に中央 */
  overflow: hidden !important;      /* スクロール無し */
  background: rgba(0,0,0,0.9);      /* 任意の暗幕 */
}
.wp-lightbox-overlay .lightbox-image-container,
.wp-lightbox-overlay figure{
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.wp-lightbox-overlay img{
  position: static !important;      /* 左上固定を無効化 */
  transform: none !important;
  margin: 0 !important;
  object-fit: contain !important;   /* トリミング無し（最終調整はJS） */
  aspect-ratio: auto !important;
  object-position: center center !important;
}
/*news*/


.post-loop-wrap article{
  padding-bottom:2rem
}
.post-header .cat-name span{
  border:none;
  background: #E5E5E5;
  color:#000;
}
.post-loop-wrap .post-footer{
  text-align: right!important;
  border:none;
 

}
.post-loop-wrap .post-footer a.morelink{

  width:300px;
  display: inline-block;
  background: none;
   border:1px solid #000;
   margin:0rem 2rem 0 0;
}

.home .front-loop .popular_post_box .wrap-a{
  border:none!important;
}

.single .post-content,
.blog .post-content {
   padding-top:0.5rem!important;
}
.post-meta-area,.post-header{
  border:none;
}
.cat-content .post-header, article.page .post-header, article.post .post-header{
  padding:20px 20px 0;
}
.post-meta-area .post-meta{
  width: 100%;
}
.post-meta-area .post-meta .date{
  display: block;
  width: 100%;
  text-align: right;
}

@media screen and (max-width: 767px) {
  .post-title{
    margin-bottom: 0!important;
    margin-top: 0!important;
  }
  .post-header .cat-name{
    margin-bottom: 0;
  }
  .post-loop-wrap .post-footer{
    border:none;
  }
  .post-meta-area .post-meta{
    padding-left:1rem
  }
  .post-loop-wrap .post-footer{
    text-align: center!important;
  }
  .single .post-content,
.blog .post-content {
   padding:0rem 1rem!important;
}
.single .post-content p,
.blog .post-content p{
   margin-bottom: 0!important;
}
.pagination{
  background: #fff;
}
}