@charset "utf-8";

/* ページヘッダー背景画像 */
body .page-header {
    background-image: url(https://work1.kuk.co.jp/wp-content/uploads/2025/11/slide-3.webp);
}
body:is(.page-id-1448, .parent-pageid-1448) .page-header {
    background-image: url(https://work1.kuk.co.jp/wp-content/uploads/2025/11/6518fa9a8f5775d00d566a1913752c79_m_1900x600.webp);
}
body:is(.page-id-1453, .parent-pageid-1453, .post-type-hk_machinery) .page-header {
    background-image: url(https://work1.kuk.co.jp/wp-content/uploads/2025/11/slide-1.webp);
}
body:is(.page-id-1455, .parent-pageid-1455, .post-type-hk_equipment, .post-type-hk_software) .page-header {
    background-image: url(https://work1.kuk.co.jp/wp-content/uploads/2025/11/header_equipment.webp);
}
body:is(.page-id-1458, .parent-pageid-1458, .post-type-hk_drone) .page-header {
    background-image: url(https://work1.kuk.co.jp/wp-content/uploads/2025/11/slide-2.webp);
}
body:is(.page-id-13, .parent-pageid-13) .page-header {
    background-image: url(https://work1.kuk.co.jp/wp-content/uploads/2025/11/25682421_m_1900x600_2.webp);
}

/* スラーダーの bullet */
body .swiper-pagination-bullet-active {
    background: var(--vk-color-primary);
}
body .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    outline: none;
    border-radius: 50%;
}

/* ボタンはピン角 */
body .btn {
    border-radius: 0;
}

/* MENU / CLOSE の表示 */
body .vk-mobile-nav-menu-btn {
    display: flex;
    background-position: center -4px;
    font-size: 10px;
    text-indent: 0;
    align-items: flex-end;
    justify-content: center;
}
body .vk-mobile-nav-menu-btn.menu-open {
    background-position: center -4px;
}

/* モバイルナビ ← UJS Site Header Customize ① のコードをコピーしてある */
body .vk-mobile-nav-widget {
    margin-bottom: 0;
}
.vk-mobile-nav-widget .veu_contact .contact_txt_tel {
    font-family: sans-serif;
    color: var(--vk-color-text-body);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.vk-mobile-nav-widget .veu_card {
    border: none;
    margin-bottom: 0;
}
.vk-mobile-nav-widget .veu_contact .contact_frame {
    background-color: transparent;
}
.vk-mobile-nav-widget .veu_contact .contact_txt_tel_icon {
    color: var(--vk-color-custom-1);
    font-size: 1.5em;
}

/* フッター上余白を小さく */
body .site-footer-content {
    padding-top: 1.5rem;
}

/* 見出し装飾 左に短い線 */
.left-short-line {
    position:relative;
    padding-left: 25px;
}
.left-short-line::before{
    position: absolute;
    display: block;
    content: '';
    background: currentcolor;
    width: 15px;
    height: 1px;
    top: 50%;
    left: 0;
}

/* VK ボタン 右に突き出る矢印 */
.vkp_button-through-arrow.vk_button .vk_button_link.is-style-outline {
 position: relative;
 z-index: 0; 
 padding: 8px 30px;
 letter-spacing: 0.1em;
 min-width: 180px;
}
.vkp_button-through-arrow.vk_button .vk_button_link.is-style-outline::before {
 content: '';
 display: block;
 position: absolute;
 top: 0;
 left: 0;
 width: 0;
 height: 100%;
 background-color: currentColor;
 z-index: -1;
 transition: .3s;
}
.vkp_button-through-arrow.vk_button .vk_button_link.is-style-outline:hover::before {
 width: 100%;
}
.vkp_button-through-arrow.vk_button .vk_button_link.is-style-outline .vk_button_link_caption::before {
 content: '';
 position: absolute;
 display: block;
 width: 70px;
 height: 1px;
 bottom: 50%;
 right: -45px;
 border-bottom: solid 1px currentColor;
}
.vkp_button-through-arrow.vk_button .vk_button_link.is-style-outline .vk_button_link_caption:after {
 content: '';
 position: absolute;
 display: block;
 width: 14px;
 height: 1px;
 background: currentColor;
 bottom: calc(50% + 5px);
 right: -47px;
 transform: rotate(45deg);
}
.vkp_button-through-arrow.vk_button .vk_button_link.is-style-outline:hover {
 opacity: unset;
 box-shadow: unset;
 background-color:  transparent !important;
 border: solid 1px;
}

/* 見出し装飾 上・中央に短い線 */
body .above-center-line::before {
 content: "";
 display: block;
 width: 3rem;
 height: 1px;
 margin-bottom: 1.5rem;
 background-color: currentColor !important;
 position: relative;
 top:unset;
 right:unset;
 left:unset;
 bottom:unset;
 border: unset;
 margin-left: auto;
 margin-right: auto;
}

/* サブテキスト */
.subtext {
    font-family: "Kalam", cursive;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--vk-color-custom-1);
}



/*-------------------------------------------*/
/*	クエリーループで投稿一覧を表示 ここから
/*-------------------------------------------*/
.my-query-loop-2 ul li {
    display: flex;
    border-bottom: 1px solid var(--vk-color-border);
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    margin-top: 0;
    margin-bottom: 0;
}
.my-query-loop-2 ul li:first-child {
    border-top: 1px solid var(--vk-color-border);
}
.my-query-loop-2 ul li .wp-block-post-featured-image {
    margin-right: 1.0em;
    margin-bottom: 0;
    flex-shrink: 0;
}
.my-query-loop-2 ul li .wp-block-post-featured-image a {
    height: auto;
    overflow: hidden;
}
.my-query-loop-2 ul li .wp-block-post-featured-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}
.my-query-loop-2 ul li h3.wp-block-post-title {
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.15em;
    border-top: none;
    border-bottom: none;
    line-height: 1.2;
}
.my-query-loop-2 ul li h3.wp-block-post-title a {
   color: #000;
}
.entry-body .my-query-loop-2 ul li h3.wp-block-post-title > span {
    border-bottom: none;
    padding: 0;
}
.my-query-loop-2 ul li .wp-block-post-excerpt__excerpt {
    color: #666;
    font-size: 12px;
    line-height: 1.2;
    margin-top: 0.25rem;
    margin-bottom: 0;
}
.my-query-loop-2 ul li .wp-block-post-excerpt__more-text {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.my-query-loop-2 ul li a.wp-block-post-excerpt__more-link {
    font-size: 14px;
    display: block;
    text-align: right;
    margin-left: 0.75rem;
    text-decoration: none;
}
.my-query-loop-2 ul li a.wp-block-post-excerpt__more-link::before {
    margin-right: 3px;
    font-family: "Font Awesome 6 Free";
    content: '\f0da';
    font-weight: bold;
}

/* パソコンでは2カラム表示 */
@media (min-width: 992px) {
  .my-query-loop-2 .wp-block-post-template {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .my-query-loop-2 ul li:nth-child(2) {
    border-top: 1px solid var(--vk-color-border);
  }
}

/* スマホのスタイル */
@media (max-width: 599px) {
  .my-query-loop-2:not(.large-ec) .wp-block-post-excerpt__more-text {
    display: none;
  }
  .my-query-loop-2:not(.large-ec) ul li .wp-block-post-featured-image img {
    width: 25vw;
    height: auto;
    aspect-ratio: 1/1;
  }
  .my-query-loop-2:not(.large-ec) ul li {
    padding-bottom: 1.25rem;
  }
}

/* スマホでアイキャッチ画像を画面幅でタイトルの上に表示 ※クエリーループブロックにクラス名 large-ec を追加 */
@media (max-width: 599px) {
  .my-query-loop-2.large-ec ul li {
    flex-direction: column;
  }
  .my-query-loop-2.large-ec ul li .wp-block-post-featured-image {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.0rem;
    margin-right: 0;
  }
  .my-query-loop-2.large-ec ul li .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
  }
}

/* カラム全体をリンクエリアにする。 */
.my-query-loop-2 li.wp-block-post {
    position: relative;
}
.my-query-loop-2 ul li h3.wp-block-post-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* ホバー時にアイキャッチ画像を拡大する。 */
.my-query-loop-2 li.wp-block-post .wp-block-post-featured-image {
    overflow: hidden;
}
.my-query-loop-2 li.wp-block-post .wp-block-post-featured-image img {
    opacity: 1;
    transition: all 0.2s linear;
}
.my-query-loop-2 li.wp-block-post:hover .wp-block-post-featured-image img {
    opacity: 0.8;
    transform: scale(1.08);
}
/*-------------------------------------------*/
/*	クエリーループで投稿一覧を表示 ここまで
/*-------------------------------------------*/



/* PDF ダウンロードボタン */
body .wp-block-file *+.wp-block-file__button {
    background-color: var(--vk-color-primary);
    border-radius: 0;
}
body .wp-block-file *+.wp-block-file__button:hover {
    color: #fff;
}



