

/* --------------------- */
/*TOP_MV*/
/* --------------------- */



/* MV全体コンテナ */
.main-visual {
    position: relative;
    width: 100%;
  }
  
  .mv-container {
    position: relative;
    min-height: 616px;
    /* PC基準 */
  }
  
  /* 背景画像 */
  .mv-image-wrap {
    padding-left: 320px;
    overflow: hidden;
  }
  
  .mv-image-wrap.sp {
    display: none !important;
  }
  @media (min-width: 768px) {

    .mv-container {
      padding-bottom: 59px;
      /* PC基準 */
    }

    .mv-image-wrap.pc img {
      opacity: 0;
      animation: mvFadeInSoft 2.2s cubic-bezier(0.4, 0.0, 1, 1) 0s forwards;
      will-change: opacity, transform, filter;
    }

    @keyframes mvFadeInSoft {
      0% {
        opacity: 0;
        transform: scale(1.03);
        filter: blur(10px);
      }
      70% {
        opacity: 0.8;
        transform: scale(1.01);
        filter: blur(3px);
      }
      100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
      }
    }
  }
  
  @media (max-width: 767px) {
    .mv-image-wrap {
      padding-left: 0;
    }
  
    .mv-image-wrap.pc {
      display: none !important;
    }
  
    .mv-image-wrap.sp {
      display: block !important;
      
    }

    .mv-image-wrap.sp img {
      opacity: 0;
      animation: mvFadeInSoft 2.2s cubic-bezier(0.4, 0.0, 1, 1) 0s forwards;
      will-change: opacity, transform, filter;
    }

    @keyframes mvFadeInSoft {
      0% {
        opacity: 0;
        transform: scale(1.03);
        filter: blur(10px);
      }
      70% {
        opacity: 0.8;
        transform: scale(1.01);
        filter: blur(3px);
      }
      100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
      }
    }

  }
  
  .mv-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 616px;
  }
  
  /* キャッチコピー */
  .mv-copy-box {
    background: #fff;
    padding: 40px;
    z-index: 2;
  }
  
  @media (max-width: 767px) {
    .mv-copy-box {
      left: 5%;
    }
  }
  
  .mv-copy-box h1 {
    color: #003380;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
  }
  
  /* 統計パネル */
  .mv-stats-panel {
    position: absolute;
    bottom: 0;
    /* Topicsバーの上 */
    left: 0;
    color: #fff;
    z-index: 3;
  }
  
  .stats-top,
  .stats-bottom {
    display: block;
    width: 320px;
    background: #1a1a1a;
  }
  
  .stats-item {
    width: 100%;
    padding: 23px 30px;
    border-bottom: 1px solid #F2EFCD;
  }
  
  @media (max-width: 767px) {
    .stats-top {
      display: flex;
      border-bottom: 1px solid #444;
    }
  
    .stats-top,
    .stats-bottom {
      width: 100%;
    }
  
    .stats-item {
      width: 50%;
    }
  
    .stats-top .stats-item:first-child {
      border-right: solid #F2EFCD 1px;
    }
  }
  
  .stats-item:last-child {
    border-right: none;
  }
  
  .stats-label {
    font-size: 14px;
    color: white;
    /* デザインのドットカラーに合わせる */
    /* margin-bottom: 5px; */
    text-indent: -10px;
    padding-left: 8px;
  }
  
  .stats-label::before {
    content: "● ";
    font-size: 8px;
    vertical-align: middle;
    color: #f1ca00;
  }
  
  .stats-number {
    font-size: 16px;
    padding-left: 8px;
  }
  
  .stats-number span {
    font-size: 44px;
    margin : 0 2px;
  }
  
  .stats-item-full {
    padding: 23px 30px;
  }
  
  .stats-item-full .stats-number {
    font-size: 20px;
  }
  
  .stats-item-full .stats-number .text {
    font-size: 16px;
  }
  
  /* トピックスバー */
  .mv-topics-bar {
    position: absolute;
    bottom: 0;
    left: 320px;
    width: calc(100% - 320px);
    background: #f0f5fa;
    padding: 15px 20px;
    z-index: 4;
  
    @media (max-width: 767px) {
      left: 0;
      width: 100%;
    }
  }
  
  .topics-inner {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .topics-title {
    font-weight: bold;
    color: #01317F;
    border-right: 1px solid #ccc;
    padding-right: 20px;
  }
  
  span.topics-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  
  }
  
  @media (min-width: 768px) {
    span.topics-text {
      max-width: calc(100vw - 320px - 7em);
      padding-right: 3em;
  
    }
  
    .topics-inner a {
      background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right.svg) no-repeat calc(100% - 20px) center;
      display: block;
      width: 100%;
    }
  
    .mv-copy-box {
      max-width: 500px;
    }
  }
  
  
  .topics-category {
    color: #007bff;
    margin-right: 10px;
  }
  
  /* --- レスポンシブ (SP) --- */
  @media (max-width: 767px) {
    .mv-container {
      min-height: auto;
    }
  
    .mv-copy-box {
      position: static;
      padding: 20px;
    }
  
    .mv-copy-box h1 {
      font-size: clamp(32px, 8vw, 100vw);
    }
  
    .mv-stats-panel {
      position: static;
      width: 100%;
    }
  
    .mv-topics-bar {
      position: static;
      padding: 15px 20px;
    }
  
    .topics-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }
  
    .topics-title {
      border: none;
      padding: 0;
    }
  
  
    span.topics-text {
      max-width: calc(100vw - 2em);
  
    }
  }
  





  
  /* --------------------- */
  /* TOPカスタマイズ　コンテンツ共有*/
  /* 基本設定 */
  /* --------------------- */
  
  /* セクション */
  
  body.home .custom-section,
  body.page-template-front-page-php .custom-section {
    padding: 0 0!important;
    background-color: #fff;
  }

  body.home .custom-section{
    padding-bottom: 120px!important;
  }
  
  body.home .wp-block-columns,
  body.page-template-front-page-php .wp-block-columns {
    width: 1178px;
    max-width: 100%;
    margin: 0 auto;
    padding: 120px 20px 0;
    @media (max-width: 767px) {
      padding : 80px 16px 0;
    } 
  }
  body.home .wp-block-columns .wp-block-columns,
  body.page-template-front-page-php .wp-block-columns .wp-block-columns{
    padding-left : 0;
    padding-right : 0;
  }
  body.home .wp-block-columns.no_space,
  body.page-template-front-page-php .wp-block-columns.no_space  {
    padding-top: 0;
  }
  
  body.home .section-container,
  body.page-template-front-page-php .section-container {
    width: 1178px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .description {
    font-size: 20px;
    line-height: 2;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 1px;
  }
  
  .wrap_middle {
    width: 866px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .wrap_wide {
    width: 1176px;
    max-width: 100%;
    margin: 0 auto;
  }
  .block_center{
    margin: 0 auto;
    display: block;
    text-align: center;
  
  }
  .inline_block{
    display: inline-block;
  }
  
  .mb_0 {
    margin-bottom: 0px !important;
  }
  
  .mb_5 {
    margin-bottom: 5px !important;
  }
  
  .mb_10 {
    margin-bottom: 10px !important;
  }
  
  .mb_20 {
    margin-bottom: 20px !important;
  }
  
  .mb_30 {
    margin-bottom: 30px !important;
  }
  
  .mb_40 {
    margin-bottom: 40px !important;
  }
  
  .mb_50 {
    margin-bottom: 50px !important;
  }
  
  .lh_2{
  line-height: 2;;
  }
  
  
  
  /* --------------------- */
  /*TOPカスタマイズ　コンテンツ共有 */
  /*〜About Primal */
  /* --------------------- */
  
  @media (max-width: 767px) {
    .uagb-buttons__wrap,
    .uagb-buttons__wrap .uagb-buttons-layout-wrap{
      -webkit-justify-content: flex-end!important;
      justify-content: flex-end!important;
    }
  }
  
  
  
  .home .wp-block-button__link,
  .page-template-front-page-php .wp-block-button__link {
    padding-right: 124px;
    position: relative;
    height: 72px;
    border-radius: 36px !important;
    border: #CACFD6 solid 1px !important;
    background-color: #ffffff!important;
    @media (max-width: 767px) {
      font-size: 16px;
      height : 56px;
      padding-right: 80px;
    }
  }
  
  .home .wp-block-button__link::before,
  .page-template-front-page-php .wp-block-button__link::before {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #01317f;
    @media (max-width: 767px) {
      width: 32px;
      height: 32px;
      top:12px;
      right : 12px;
    }
  
  }
  
  .home .wp-block-button__link::after,
  .page-template-front-page-php .wp-block-button__link::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    right: 25px;
    background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right_w.svg) no-repeat center center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
    @media (max-width: 767px) {
      top:18px;
      right : 18px;
    }
  
  
    /* じわっと動かす */
  }
  
  .home .wp-block-button__link:hover::after,
  .page-template-front-page-php .wp-block-button__link:hover::after {
    transform: translateX(3px);
  }
  
  .home .wp-block-button__link:hover,
  .page-template-front-page-php .wp-block-button__link:hover {
    text-decoration: none;
    background-color: white !important;
  
  }
  
  .home .wp-block-button__link:hover::after,
  .page-template-front-page-php .wp-block-button__link:hover::after {
  
    right: 20px;
  }
  
  .home .wp-block-button__link .uagb-button__link,
  .page-template-front-page-php .wp-block-button__link .uagb-button__link {
  
    color: #1A1C1F !important;
  }
  
  .home .wp-block-button__link .uagb-button__link:hover,
  .page-template-front-page-php .wp-block-button__link .uagb-button__link:hover {
    background-color: white !important;
  }
  
  /* 画像の重なり構造 */
  .image-area {
    position: relative;
  }
  
  .image-wrapper {
    position: relative;
    width: 100%;
  }
  
  .img-large {
  }
  
  .img-large img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .img-small {
  }
  
  .img-small img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* PCサイズ (768px以上) */
  @media (min-width: 768px) {
    .section-container {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  
    .img-large {
      position: relative;
      right: -50px;
      top: 0;
      max-width: 90%;
      width: 318px;
    }
  
    .img-small {
      position: relative;
      top: -10%;
      max-width: 50%;
      width: 210px;
    }
  
  }
  
  /* スマホサイズ調整 */
  @media (max-width: 767px) {
  
    .content-box {
      margin-bottom: 40px;
    }
  
    body .is-layout-flex {
      display: block !important;
    }
  
   body.home #primary section,
   body.page-template-front-page-php #primary section {
      padding: 0 16px 0!important;
    }
  
    .eng-title {
      font-size: 32px;
      margin-bottom: 9px;
    }
  
    .main-title {
      font-size: 23px;
      margin-bottom: 32px;
    }
  
    .image-area {
      display: block;
      text-align: right;
      position: relative;
      padding-left: 10%;

    }
  
    .img-large {
      display: block;
      position: relative;
      text-align: right;
      padding-right: 10%;
    }
    .img-large img{
      
      width: 80%!important;
      float: right;
    }
  
    .img-small {
      position: relative;
      top: -80px;
      width: 50%;
      margin-block-end: -80px;
    }
  
    .uagb-buttons__wrap {
      justify-content: right !important;
    }
  
    .home .wp-block-button__link,
    .page-template-front-page-php .wp-block-button__link  {
      height: 56px;
      padding-right: 64px;
      position: relative;
      border-radius: 28px !important;
      margin-bottom: 0;
    }
  
    .home .wp-block-button__link::before,
    .page-template-front-page-php .wp-block-button__link::before {
      width: 32px;
      height: 32px;
      top: 12px;
      right: 12px;
      background-color: #01317f;
    }
  
    .home .wp-block-button__link::after,
    .page-template-front-page-php .wp-block-button__link::after {
      width: 20px;
      height: 20px;
      top: 18px;
      right: 18px;
    }
  


    .home .custom-section .wp-block-button__link,
    .page-template-front-page-php .custom-section .wp-block-button__link  {
      margin-bottom: 60px;
    }

  
  }
  
  
  
  
  /* --------------------- */
  /*TOPカスタマイズ コンテンツ共有 */
  /*〜プライマルビジョン */
  /* --------------------- */
  
  section#primal_vision {
    background: url(/wp-content/themes/kubio-primal/img/top/vision_bg.png) repeat-x top #1A1C1F !important;
  }
  
  .n2-ss-align {
    margin: 0 auto;
  }

  section#primal_vision p.f_white.wrap_middle{
    line-height: 2;
  }
  
  .primal_vision_list{
    background: #272729;
    border: 1px solid #707070;
    padding : 20px 16px;
    margin :31px 0 77px;
  }
  
  section#primal_vision .primal_vision_list p {
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: solid #585a5e 1px;
  }
  section#primal_vision .primal_vision_list p:last-child{
    border: 0;
  }
  
  @media (min-width: 768px) {
    section#primal_vision {
      padding-bottom: 100px!important;
    }
  }
  
  
  /* --------------------- */
  /*TOPカスタマイズ コンテンツ共有 */
  /*社内アクティブ新規事業*/
  /* --------------------- */
  
  
  /* グリッドレイアウト */
  .card-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  @media (max-width: 767px) {
    .card-grid-inner {
      grid-template-columns: 1fr;
      gap: 8px;
    }
  }
  
  /* カード単体 */
  .modal_card {
    background: #ffffff;
    border: 1px solid #C7D8ED;
    /* 画像のような薄い青の境界線 */
    border-radius: 4px;
    padding: 30px 30px 52px;
    @media (max-width: 767px) {
      padding: 20px 20px 40px;
    }
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    flex-direction: column;
  }
  
  /* ジャンル表示 */
  .genre {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  
  .genre span {
    display: inline-block;
    font-size: 13px;
    background: #e0f0fc;
    color: #0077c5;
    border-radius: 2px;
    padding: 2px 4px;
    letter-spacing: 0.04em;
  }
  
  /* ホバー時の挙動 */
  /* .modal_card:hover {
      box-shadow: 0 10px 25px rgba(0, 91, 172, 0.1);
      transform: translateY(-2px);
      border-color: #005bac;
  } */
  
  /* 番号部分 */
  .modal_card-num {
    display: block;
    color: #005bac;
    font-size: 14px;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 8px;
    @media (max-width: 767px) {
      margin-bottom: 4px;
    }
  }
  
  /* タイトル部分 */
  .modal_card-title {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 14px 0;
    @media (max-width: 767px) {
      margin-bottom: 12px;
    }
    color: #1a1c1f;
  }
  
  /* リード文 */
  .modal_card-text {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    color: #1a1c1f;
  }
  
  /* プラスアイコン */
  .modal_card-plus-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #1A60AD;
    transform: scale(1.4);
  
  }
  
  
  
  
  
  /* --------------------- */
  /*TOPカスタマイズ コンテンツ共有 */
  /*新規事業ブログ*/
  /* --------------------- */
  
  
  
  
  .business-blog-section {
    width: 1176px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    @media (max-width: 767px) {
      padding: 0 16px;
    }
  }
  
  .blog-tab-container {
    display: flex;
    gap: 40px;
  }
  
  /* 左側画像 */
  .blog-image-aside {
    width: 316px;
    max-width: 35%;
    flex-shrink: 0;
  }
  
  @media (max-width: 767px) {
    .blog-image-aside {
      display: none;
    }
  }
  
  .blog-image-aside img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.4s;
  }
  
  /* 右側コンテンツ */
  .blog-main-content {
    flex-grow: 1;
  }
  
  @media (min-width: 768px) {
    .blog-main-content {
      width: 60%;
    }
  }
  
  .blog-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* for iOS smooth scroll */
    white-space: nowrap;
    /* Prevent tab wrapping */
  }
  
  .tab-btn {
    border: none;
    background: #f5f5f5;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap;
    /* Prevent button text from wrapping */
    flex-shrink: 0;
    /* Make sure button doesn't shrink */
  }
  
  .tab-btn.is-active {
    background: #003371;
    color: #fff;
  }
  
  @media (max-width: 767px) {
    .blog-tabs {
      scrollbar-width: thin;
      scrollbar-color: #ccc #f5f5f5;
    }
  
    .blog-tabs::-webkit-scrollbar {
      height: 6px;
    }
  
    .blog-tabs::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 3px;
    }
  
    .blog-tabs::-webkit-scrollbar-track {
      background: #f5f5f5;
    }
  }
  
  /* リストアイテム */
  .blog-tab-content {
    display: none;
  }
  
  .blog-tab-content.is-active {
    display: block;
    animation: fadeIn 0.5s;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  .blog-list-item {
    display: block;
    padding: 20px 52px 20px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none !important;
    color: #333;
    gap: 15px;
    position: relative;
    background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right.svg) no-repeat calc(100% - 20px) center;
  }
  
  .blog-list-item:hover {
    background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right.svg) no-repeat calc(100% - 16px) center;
  
  }
  
  .item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-bottom: 12px;
  }
  
  .new-badge {
    background: #FFEB7E;
    color: #333;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 2px;
  }
  
  .cat-label {
    background: #F2F4F7;
    font-size: 12px;
    padding: 2px 4px;
    color: #42454A;
    border-radius: 2px;
    margin-right: 8px;
  }
  
  .item-title {
    flex-grow: 1;
    font-size: 15px;
    font-weight: normal;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  
  
  
  @media (max-width: 767px) {
    .blog-tab-container {
      flex-direction: column;
    }
  
    .blog-image-aside {
      width: 100%;
    }
  }
  
  
  /* --------------------- */
  /*イメージスライド*/
  /* --------------------- */
  
  
  
  /* コンテナ設定 */
  .infinite-slider-container {
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #fff 0px, #fff calc(100% - 214px), #F4F8FC calc(100% - 214px), #F4F8FC 100%);
    padding: 0 0 40px 0;
  
    @media (max-width: 767px) {
      padding: 0 0 20px 0;  
      background: linear-gradient(to bottom, #fff 0px, #fff calc(100% - 107px), #F4F8FC calc(100% - 107px), #F4F8FC 100%);
  
    }
  }
  
  /* スライダーの動き */
  .infinite-slider-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-left 40s linear infinite; /* 速度はここで調整 */
  }
  
  /* 各アイテムの基本設定 */
  .slider-item {
    flex-shrink: 0;
    margin: 0 20px;
  }
  
  .slider-item img {
    width: auto;
    object-fit: cover;
    display: block;
    margin-bottom:0!important;
  }
  
  /* 奇数：大きく表示 */
  .slider-item.size-large img {
    height: 300px; /* PC時の高さ */
  }
  
  /* 偶数：小さく表示 */
  .slider-item.size-small img {
    height: 214px; /* PC時の高さ */
  }
  
  /* アニメーション定義 */
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 2セットあるうちの半分まで行ったら戻る */
  }
  
  
  
  /* レスポンシブ：スマホ対応 */
  @media screen and (max-width: 768px) {
    .slider-item.size-large img {
        height: 180px;
    }
    .slider-item.size-small img {
        height: 107px;
    }
    .infinite-slider-track {
        animation-duration: 20s; /* スマホは要素が少ないので少し速める */
    }
  }
  
  
  
  
  .primal_support .has-text-align-center{
    @media screen and (max-width: 768px) {
      text-align: left!important;
    }
  }
  .primal_support .lh_2 strong{
    position: relative;
    z-index: 1;
    font-weight: bold;
  }
  .primal_support .lh_2 strong::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0; /* 少し下に隙間を作る */
    width: 100%;
    height:2px;
    background: #FFEB7E;
    z-index: -1;
    border-radius: 2px;
    pointer-events: none;
    /* 薄めたければopacity調整: 
        opacity: 0.7; など
    */
  }
  
  
  
  
  /* --------------------- */
  /*TOPカスタマイズ 〜インタビューカルーセル*/
  /* --------------------- */
  
  
  /* --- デザイン・レイアウト --- */
  .interview-carousel-wrapper {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
  }
  
  .interview-header {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
  }
  
  .interview-label {
    color: #999;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
  }
  
  .interview-main-title {
    font-size: 32px;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
  }
  
  /* Swiper設定：左端をメインコンテンツに合わせ、右は突き抜け */
  .interview-swiper {
    padding-left: calc((100% - 1200px) / 2 + 20px) !important;
    overflow: visible !important;
  }
  
  @media (max-width: 1240px) {
    .interview-swiper {
      padding-left: 20px !important;
    }
  }
  
  /* スマホ用Swiper余白調整 */
  @media (max-width: 767px) {
    .interview-swiper {
      padding: 0 20px !important;
    }
  }
  
  /* カードパーツ */
  .interview-card {
    text-decoration: none;
    color: #333;
    display: block;
  }
  
  .card-image-box {
    position: relative;
    aspect-ratio: 310 / 380;
    border-radius: 15px;
    overflow: hidden;
    background: #f0f0f0;
  }
  
  .card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
  }
  
  /* タイトルオーバーレイ */
  .card-title-overlay {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    z-index: 2;
  }
  
  .inner-title {
    background: #fff;
    display: inline;
    padding: 5px 10px;
    font-size: 18px;
    line-height: 2.2;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-weight: bold;
  }
  
  /* テキストエリア */
  .card-footer {
    margin-top: 15px;
    padding-right: 15px;
  }
  
  .job-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
    min-height: 1.2em;
  }
  
  .name-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .name-text {
    font-size: 20px;
    font-weight: bold;
  }
  
  .link-text {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
  }
  
  /* 矢印アイコン */
  .circle-arrow {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-left: 10px;
    position: relative;
    flex-shrink: 0;
  }
  
  .circle-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    width: 6px;
    height: 6px;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    transform: translateY(-50%) rotate(45deg);
  }
  
  /* Swiperナビゲーション用（必要なら調整） */
  .swiper-pagination {
    position: static;
    margin-top: 20px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #888;
  }
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 22px;
  }
  
  /* インタビューカルーセルのナビゲーションを常に表示させる */
  .interview-carousel-wrapper .swiper-button-next,
  .interview-carousel-wrapper .swiper-button-prev {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* 下部ボタン */
  .all-btn-area {
    max-width: 1200px;
    margin: 50px auto 0;
    text-align: right;
    padding-right: 20px;
  }
  
  .btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 35px;
    border: 1px solid #ccc;
    border-radius: 40px;
    text-decoration: none;
    color: #444;
    font-size: 15px;
    transition: 0.3s;
  }
  
  .btn-outline:hover {
    background: #f9f9f9;
  }
  
  
  
  
  .interview-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }
  
  .interview-carousel-nav .swiper-button-prev,
  .interview-carousel-nav .swiper-button-next {
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
  
    position: relative;
  }
  
  /* インタビューカルーセルのナビゲーションを常に表示させる */
  .interview-carousel-wrapper .swiper-button-next,
  .interview-carousel-wrapper .swiper-button-prev {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  
  
  /*
  レイアウト変更
  */
  
  
  .new-interview-section {
    background: #fff;
    position: relative;
    overflow: hidden;
  }
  
  .swiper-container-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }
  
  /* カルーセル自体は画面右端まで突き抜ける設定 */
  .interview-swiper-v2 {
    overflow: visible !important;
  }
  
  /* カードスタイル */
  .interview-card-v2 {
    text-decoration: none;
    color: #333;
    display: block;
  }
  
  .card-image {
    aspect-ratio: 1 / 1;
    /* 正方形に近い比率 */
    background: #ccc;
    margin-bottom: 20px;
    overflow: hidden;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .no-image-gray {
    width: 100%;
    height: 100%;
    background: #ccc;
  }
  
  .card-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color : #1A1C1F;
  }
  
  .card-meta {
    font-size: 14px;
    color: #42454A;
  }
  
  .card-meta .job {
    margin-right: 10px;
  }
  
  /* ナビゲーションボタン（左下） */
  .swiper-navigation-custom {
    display: flex;
    gap: 15px;
    margin-top: 30px;
  }
  
  .swiper-button-prev-custom,
  .swiper-button-next-custom {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
  }
/*   
  .swiper-button-prev-custom:hover,
  .swiper-button-next-custom:hover {
    background: #f5f5f5;
  } */
  
  /* 矢印アイコンの自作 */
  .swiper-button-prev-custom::after,
  .swiper-button-next-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 12px;
    height: 12px;
    background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right.svg) no-repeat center center;
  }
  
  .swiper-button-prev-custom::after {
    transform: translateX(-50%) translateY(-50%) rotate(-180deg);
  }
  /* 非活性状態（disabled） */
  .swiper-button-prev-custom.swiper-button-disabled,
  .swiper-button-next-custom.swiper-button-disabled {
    background: #F2F4F7;
    cursor: default;
    pointer-events: none;
  }

  .swiper-button-prev-custom.swiper-button-disabled::after,
  .swiper-button-next-custom.swiper-button-disabled::after {
    opacity: 0.2;
  }
  
  
  
  
  
  
  /* --------------------- */
  TOPカスタマイズ 〜プロジェクト事例
  /* --------------------- */
  
  
  
  /* --- レイアウト --- */
  .output-carousel-wrapper {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
  }
  
  .output-header {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
  }
  
  .output-main-title {
    font-size: 32px;
    color: #333;
    font-weight: normal;
    margin-bottom: 5px;
  }
  
  .output-label {
    color: #888;
    font-size: 14px;
    letter-spacing: 0.05em;
  }
  
  /* Swiper：左端を合わせる */
  .output-swiper {
    padding-left: calc((100% - 1200px) / 2 + 20px) !important;
    overflow: visible !important;
  }
  
  @media (max-width: 1240px) {
    .output-swiper {
      padding-left: 20px !important;
    }
  }
  
  /* カードデザイン */
  .output-card {
    text-decoration: none;
    color: #333;
    display: block;
  }
  
  .output-image-box {
    position: relative;
    aspect-ratio: 350 / 240;
    /* 画像の比率 */
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
  }
  
  .output-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* ロゴ系を想定してcontain */
  .output-no-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
  }
  
  /* テキストエリア */
  .output-content {
    margin-top: 15px;
  }
  
  .project-genre {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
  }
  
  .project-title {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    font-weight: bold;
    margin-bottom: 15px;
    min-height: 3em;
  }
  
  /* リンクと矢印 */
  .output-link {
    text-align: right;
    padding-right: 10px;
  }
  
  .link-text {
    font-size: 12px;
    color: #888;
    display: inline-flex;
    align-items: center;
  }
  
  .circle-arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-left: 8px;
    position: relative;
  }
  
  .circle-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    width: 5px;
    height: 5px;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
    transform: translateY(-50%) rotate(45deg);
  }
  
  
  
  
  
  
  
  /* --------------------- */
  TOPカスタマイズ 〜お知らせリスト
  /* --------------------- */
  
  .list-section-wrapper {
    max-width: 1000px;
    /* デザインに合わせて調整 */
    margin: 0 auto;
    padding: 20px;
  }
  
  /* リスト全体の境界線（一番上） */
  .custom-post-list {
    border-top: 1px solid #e0e0e0;
  }
  
  /* 各行の設定 */
  .list-item {
    display: block;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
    padding: 26px 52px 24px 0;
  transition: 0.3s;
    background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right.svg) no-repeat calc(100% - 20px) center;
  }
  
  .list-item:hover {
    background-color: #f9f9f9;
    background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right.svg) no-repeat calc(100% - 16px) center;
  }
  
  .list-item-inner {
   display: block;
  }
  
  .post-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    /* 長すぎるタイトルを1行で切り取る場合（任意） */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
  }
  .list-item-inner .blog_category{
      display: inline-block;
      margin-bottom: 12px;
      font-size: 12px;
      text-align: center;
      color: #42454a;
      border-radius: 2px;
      background: #f2f4f7;
      
  }
  
  
/*採用*/
.recruit_section{
    position: relative;
    padding: 80px 0 120px!important;
    @media screen and (max-width: 768px) {
      padding: 80px 0!important;
    }
    overflow: hidden;

}
.recruit_section p.f_white{
  line-height: 2;
}
.recruit_section img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    display: block;
    z-index: 1;
    min-height: 100%;
}
/* .recruit_section::after{
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
    background: black;
    z-index:2;
} */
.recruit_section .wp-block-columns{
    z-index: 10!important;
    position: relative;
    padding: 80px 16px;
}

.recruit_section .uagb-buttons__wrap.uagb-buttons-layout-wrap{
  justify-content: flex-start!important;
  align-items:  flex-start!important;
}
