@charset "UTF-8";

/*251202(実績・事例ページ作成)*/
/*case一覧-------------------------------------*/
.pagetop {
      padding: 40px 0;
      max-width: 1000px;
      margin: 0 auto;
    }

    /* 「すべて」チェックボックスエリア */
    .filter-box--all {
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 1px solid #eee;
      font-weight: bold;
    }

    /* タブリスト（親カテゴリー） */
    .tab-list {
      display: flex;
      list-style: none;
      padding: 0;
      margin: 0 0 2rem 0;
          gap: 1.8rem;
    }

    .tab-list__item {
      width: calc((100% - 10px) / 3);
    }

    .tab-list__item a {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px 20px;
      border: solid 1px #999;
      text-decoration: none;
      color: var(--cGray);
      border-radius: 5px;
      transition: background 0.3s, color 0.3s;
      font-size: 1.3rem;
    }

    /* アクティブなタブ */
    .tab-list__item--active a {
      background:  var(--clrOrg);
      /* アクティブカラー */
      color: #fff;
      font-weight: bold;
      position: relative;
      border: none;
      border: solid 1px #f28601;
    }
    .tab-list__item--active a::before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    border-top: 17px solid #f28601;
    border-bottom: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    }

    .tab-list__item a:hover {
      opacity: 0.8;
    }

    /* タブの中身 */
    .tab-box {
      display: none;
      padding: 1.8rem;
      background-color: #fcf8ea;
      border-radius: 10px;
    }

    /* フィルターアイテムの並び */
    .filter-box--wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .filter-box--wrap label {
      cursor: pointer;
      display: inline-block;
      background: #fff;
      border-radius: 4px;
      font-size: 14px;
      width: calc((100% - 30px) / 4);
    }

    .filter-box--wrap label:hover {
      background-color: #f0f8ff;
    }

    /* 検索結果リスト */
    .three-custom {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      list-style: none;
      padding: 0;
    }

    .three-custom h4 {
      margin: 0 0 10px;
      font-size: 16px;
      line-height: 1.4;
    }

    .bottom {
      margin: 0;
      text-align: right;
      font-size: 12px;
    }

    .bottom a {
      color: #0073a8;
      text-decoration: none;
    }

    /* スマホ対応（1カラム） */
    @media (max-width: 768px) {
      .three-custom li {
        width: 100%;
      }

      .tab-list__item a {
        padding: 2px 10px;
        font-size: 15px;
        min-width: auto;
      }
    }

    /* ----------------------------------------------------
   フィルターボタンのスタイル
---------------------------------------------------- */


/* ラベル（ボタン全体） */
.filter-btn {
  display: inline-block;
  cursor: pointer;
  margin: 0;
  padding: 0;
  user-select: none; /* テキスト選択を防ぐ */
}

/* チェックボックス自体は非表示にする */
.filter-btn input[type="checkbox"] {
  display: none;
}

/* ボタンの見た目（通常時） */
.filter-btn .btn-text {
  text-align: center;
  display: block;
  padding: 3px 0px;
  background-color: #fff;
  border: 1px solid #f28601;
  border-radius: 4px;
  color: var(--clrOrg);;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
}

/* ホバー時の挙動 */
.filter-btn:hover .btn-text {
  /* background-color: #f0f0f0;
  border-color: #bbb; */
}

/* チェック（選択）された時の見た目 */
.filter-btn input[type="checkbox"]:checked + .btn-text {
  background-color: var(--clrOrg);;  /* 選択時の背景色（濃い青） */
  border-color: var(--clrOrg);
  color: #ffffff;             /* 選択時の文字色（白） */
}

#clear-filter{
  cursor: pointer;
  font-size: 14px;
  color:  var(--clrOrg);
  font-weight: 800;
  position: absolute;
  right: 0;
}
.p-filter .p-heading{
  position: relative;
}
.p-relative .three{
    padding-top: 2rem;
}
.in_category{
  padding-top: 1rem;
}
.three .p-relative-casegrp__txt{
      padding: 1rem 1.4rem 1.5rem;
}

@media screen and (max-width:769px) {
.tab-list{
  gap: .5rem;
    margin: 0px 0 1rem 0;
}
.tab-box{
      padding: 1rem;
}
.filter-box--wrap label{
    width: calc((100% - 10px) / 2);
}
.filter-btn .btn-text{
  padding: 0px 7px;
  font-size: .9rem;
}
.tab-list__item--active a::before{
  border-top: 12px solid #f28601;
}
.p-relative .three{
  padding-top: 1rem;
}

}


    /*case詳細-----------------------------*/
    .p-inner{
    max-width: 1080px;
    margin: 0 auto;
    padding: 3.5rem 15px 5rem;
    }

    .s-cont {
    margin-top: 4rem;
    }

    .p-casedetail *,.p-relative *,.p-filter *{
    font-weight: 600;
    /* letter-spacing: .5px; */
  }
  .pt0{
    padding-top: 0rem;
  }
  .mt0{
    margin-top: 0rem;
  }
  .mt1{
    margin-top: 1rem;
  }
    .mt2{
    margin-top: 2rem;
  }
  .mt3{
    margin-top: 3rem;
  }
  .p-casedetail-top h2{
    font-weight: 800;
    font-size: 2.2rem;

  }
  .p-casedetail-category__item{
    display: inline-block;
    color: #fff;
    font-weight: 400;
    padding: 3px 14px;
    background-color: #333;
    line-height: 1.5;
    border-radius: 5px;
    font-size: 85%;
    /* letter-spacing: 2px; */
  }

  .caregory_Industry{
    background-color: var(--clrOrg);
  }
  .caregory_facility{
    background-color: var(--clrClay);
  }
  .caregory_purpose{
    background-color: var(--clrBlue);
  }
  .p-casedetail-img{
    display: flex;
    gap: 10px;
    height: 429px;
  }

  .p-casedetail-img .img_top{
    flex: 1;
  }
  .p-casedetail-img .img_top>img{
    width: 100%;
    object-fit: cover;
    height: 100%;
  }
  .p-casedetail-img .img_sub{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 27.7%;
    height: 429px;
    overflow: auto;
    transition: all 0.3s ease-in-out;
  }
  .p-casedetail-img .img_sub img:hover{
    cursor: pointer;
    opacity: 0.8;
  }
  .bg-orange{
    background-color: var(--clrOrg);
  }
  .p-casedetail-cont__ttl
  {
    padding: 0.7rem 1.8rem;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  .p-casedetail-cont__txt{
    margin-top: 2rem;
  }
  .p-casedetail-cont__table table{
    width: 100%;
    text-align: justify;
    border-collapse: collapse;

  }
  .p-casedetail-cont__table table tr{
    border-bottom: solid 1px #cccccc;
    font-size: 1.1rem;
  }
  .p-casedetail-cont__table table tr th{
    width: 30%;
    padding: 1.5rem 3rem;
  }
  .p-casedetail-cont__table table tr td{
    font-size: 90%;
  }
  .p-heading{
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
  }
  .p-heading h2{
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
  }

  .p-relative-casegrp{
    display: flex;
    justify-content: start;
    gap: 2rem;
  }
  .p-relative-casegrp__item{
    width:calc((100% - 4rem)/3);
    background-color: #fff;
  position: relative;
  }
  .p-relative-casegrp__img img{
    width: 100%;
  }
  .p-relative-casegrp__txt{
    padding: 1rem 1.4rem 3rem;

  }
  .p-relative-h3{
    font-weight: 800;
    line-height: 1.4;
  }
   .p-relative-casegrp__txt p{
    margin-top: 0.5rem;
    line-height: 1.6;
   }
   .p-relative-casegrp__txt span{
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    background-color: var(--clrOrg);
    border-top-left-radius: 5px;
    color: #fff;
    padding: 5px 14px;
    letter-spacing: 1px;
   }

  @media screen and (max-width:769px) {
    .p-casedetail-top h2{
      font-size: 1.4rem;
    }
    .p-casedetail-img{
      flex-direction: column;
      height: auto;
    }
    .p-casedetail-img .img_top>img{
      width: 100%;
      height: auto;
    }
    .p-casedetail-img .img_sub{
      flex-direction: row;
      width: 100%;
      height: auto;
    }
    .p-casedetail-img .img_sub img{
    width: calc((100% - 20px) / 3);
    height: auto;
    }
    .p15 {
    padding: 0 15px !important;
    }
    .s-cont{
      margin-top: 2rem;
    }
    .p-casedetail-cont__ttl{
    padding: 0.4rem 1.2rem;
    letter-spacing: 2px;
    font-size: 1.2rem;
    }
      .p-casedetail-cont__txt{
    margin-top: 1rem;
  }
  .p-casedetail-cont__table th,
  .p-casedetail-cont__table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box; /* パディングを含めて幅100%にする */

  }
  .p-casedetail-cont__table th{
    padding: 0.6rem 0.6rem 0 !important;
  }
    .p-casedetail-cont__table td{
    padding: 0 0.6rem 0.6rem !important;
  }
  .p-relative-casegrp{
    flex-direction: column;
    gap: 2rem;
  }
  .p-relative-casegrp__item{
    width: 100%;
  }
  .p-inner{
      max-width: 1080px;
    margin: 0 auto;
   padding: 2rem 15px 3rem;
}
    .pt0-sp{
      padding-top: 0rem !important;
    }
    .p-heading{

      line-height: 1.6;
}
.p-heading h2{
      font-size: 1.6rem;
}
  }


.only-pc{
  display: block;
}
.only-sp{
  display: none;
}
@media screen and (max-width:768px) {
  .only-pc{
    display: none;
  }
  .only-sp{
    display: block;
  }
}



 /*251203メガメニュー改善*/
    @media (min-width: 769px) {
    .nav_content .nav_left_content .sub_menu_grp{
    display: flex;
    align-items: center;
    }
    .header_nav ul.header_nav__links>li.has_child ul .nav_content .nav_left_content li{
        width: 250px;
    }
    .header__inner{
       /*width: 99.5%; */
    }

  }
  @media (min-width: 769px) and (max-width: 1100px){
      .header_nav ul.header_nav__links>li{
              font-size: 1vw;
    }
  }
  #top-page .topnews_wrapper ul li a .topnews_date_text p:last-child{
    width: 164px;
  }

  /*251222 実績事例流し込み*/
  .cart_category_list .cart_category{
        line-height: 1;
  }
  @media screen and (min-width:769px) {


body:has(#wpadminbar) .header_nav ul.header_nav__links>li.has_child ul {
    /* 110px + 32px(PC管理バーの高さ) */
    top: 142px;
}
}
@media screen and (max-width:769px) {
body:has(#wpadminbar)  .header_nav ul.header_nav__links{
    bottom: -75px;
    }
}


/*251224コラム流し込み*/
#topic_details_page .container .cart .cart_inner .details #topics-for-columns h2{
    font-size: 1.3rem;
    font-weight: 500;
    background-color: var(--clrOrg);
    padding: 13px 0 13px 23px;
    margin:5rem 0 2rem;
    color: var(--cWhite);
    line-height: 1.4;
}
.a_not-icon{
  padding-left: 0 !important;
  display: inline-block !important;
}
.a_not-icon::before{
content: none !important;
}

#topic_details_page .container .cart .cart_inner .details #topics-for-columns .cart_details__txt p{
    font-size: 16px;
    font-weight: 300;
}

#topic_details_page .container .cart .cart_inner .details #topics-for-columns .cart_details__txt p + p {
    margin-top: 1rem;
}
#topic_details_page .container .cart .cart_inner .details #topics-for-columns .cart_details__txt p strong{
    font-weight: 600;
}
#topic_details_page .container .cart .cart_inner .details #topics-for-columns  h3.cart_desc{
    margin: 3rem 0 2rem;
    border-bottom: solid 1px var(--clrOrg);
    padding-bottom: 10px;
}

#topic_details_page .pre-next_nav a .pre::after{
    right: 30px;
    left: auto;
    position: absolute;

    content: "";
    background-image: url(/facility/assets/img/common/arrows/icon_white_right.svg);
}
#topic_details_page .pre-next_nav a .next::after{
  content: "";
    background-image: url(/facility/assets/img/common/arrows/icon_white_left.svg);

    position: absolute;
    left: 30px;


}
@media screen and (max-width:769px) {
#topic_details_page .pre-next_nav a .pre::after{
    right: 15px;
    width: 20px;
    height: 20px;
    background-image: url(/facility/assets/img/common/arrows/icon_white_right_sp.svg)
}
#topic_details_page .pre-next_nav a .next::after{
    left: 15px;
    width: 20px;
    height: 20px;
    background-image: url(/facility/assets/img/common/arrows/icon_white_left_sp.svg)

}
}
#topic_details_page .container .cart .cart_inner .details .cart_details#topics-for-columns .image-item.column-section-img img{
  max-width: 600px;
    margin-top: 3rem;
}
@media screen and (max-width:769px) {
#topic_details_page .container .cart .cart_inner .details #topics-for-columns h2{
padding: 6px 13px;
margin: 3rem 0 1rem;
}
#topic_details_page .container .cart .cart_inner .details #topics-for-columns h3.cart_desc{
margin: 2rem 0 1rem
}
}

#topic_details_page .container .cart .cart_inner .details .cart_details#topics-for-topics .image-item .image-list{
  /* margin-top: 2rem; */

}
#topic_details_page .container .cart .cart_inner .details .cart_details#topics-for-topics .image-item .image-list:nth-child(n+3){
  margin-top: 0;

}
