body.block-template-parts-header--sticky {
    overflow-x: hidden !important;
}

body {
    margin-top: 60px !important;
}

@media screen and (max-width: 768px) {

    body {
        margin-top: 40px !important;
    }
}

/* ===============================================
非表示要素
 ===============================================*/
.entry-meta-item-updated,
.entry-meta-item-author {
    display: none;
}

/* スライダー1枚だから消し */
.home .swiper-button-mobile-bottom,
.home .swiper-pagination {
    display: none !important;
}

footer hr {
    display: none;
}

.page_top_btn {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
    pointer-events: none; /* 非表示時はクリック・カーソル判定を無効化 */
    cursor: default;
}

.scrolled .page_top_btn {
    pointer-events: auto;
    cursor: pointer;
}

/* なんか青い線 */
.site-footer-title:after,
.sub-section-title:after,
h3:where(:not(.wp-block-post-title)):after {
    display: none;
}

/* ===============================================
共通実装
 ===============================================*/

@media (min-width: 992px) {
    .vk_outer-minHeight {
        min-height: calc(100vh - 60px) !important;
        height: auto !important;
        max-height: none !important;
    }
}

@media (min-width: 576px) {
    .vk_outer-minHeight {
        min-height: calc(100vh - 60px) !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* ボタン */
.vk_button-color-custom a:hover,
.editor-styles-wrapper .vk_button-color-custom a:hover {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

@media screen and (max-width: 768px) {
    .wp-block-media-text .wp-block-media-text__content {
        margin-top: 2em;
    }
}

.wp-block-vk-blocks-timeline-item p {
    background: #fff;
    padding: 10px;
}

.smf-button-control__control:hover {
    opacity: .7;
}

/* Snow Monkey Formsに必須マークをつける */
.smf-item__label {
    margin-bottom: .5em;
}
.smf-item__label__text {
    position: relative;
}

.smf-item__label__text::after {
    position: absolute;
    content: '必須';
    color: #fff;
    width: 40px;
    height: 22px;
    line-height: 21px;
    top: 55%;
    transform: translateY(-50%);
    right: -50px;
    display: grid;
    place-items: center;
    background: #DD3234;
    border-radius: 4px;
    font-size: 12px;
}

/* 3つ目の項目の必須を外す */
.wp-block-snow-monkey-forms-item:nth-of-type(5) .smf-item__label__text::after {
    display: none;
}

/* 4つ目の項目の必須を外す */
.wp-block-snow-monkey-forms-item:nth-of-type(6) .smf-item__label__text::after {
    display: none;
}

.smf-error-messages {
    margin-top: 0;
    margin-bottom: .5em;
}

.smf-form [data-invalid="1"] {
    margin-bottom: 0;
}


/* ===============================================
KV
 ===============================================*/

.kv-slider {
    min-height: calc(100vh - 60px) !important;
}

.kv-slider .wp-block-vk-blocks-slider-item {
    min-height: calc(100vh - 60px) !important;
}

.click-none>a {
    pointer-events: none;
    cursor: default;
}




/* 表の横スクロール */

@media screen and (max-width: 767px) {
    .wp-block-flexible-table-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wp-block-flexible-table-block-table table.has-fixed-layout {
        table-layout: auto !important;
        width: max-content;
        min-width: 100%;
    }

    .wp-block-flexible-table-block-table td {
        white-space: nowrap;
    }
}




@media (max-width: 575.98px) {

    .vk_post_list_slider .swiper-button-next.swiper-button-mobile-bottom,
    .vk_post_list_slider .swiper-button-prev.swiper-button-mobile-bottom {
        bottom: 130px !important;
    }
}

/* =============================================== */
/* ヘッダー */
/* =============================================== */
.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    left: 0px;
}

/* スマホメニュー。上から５番目（採用情報）のクリックイベント消し */
.wp-block-navigation__responsive-container-content ul li:nth-of-type(5)>a {
    pointer-events: none;
}

/* ヘッダーのボーダー線消し */
header hr {
    display: none;
}


/* =============================================== */
/* 会社概要 */
/* =============================================== */
.company-grid p {
    margin-bottom: 0;
}

/* =============================================== */
/* =============================================== */
.page-header {
    min-height: 16rem;
}

.page-header-title,
h1.page-header-title {
    font-size: clamp(2rem, 1.818rem + 0.91vw, 2.5rem); /* h2(.vk_custom_css_2)と同じ値 */
}

@media screen and (max-width: 768px) {

    .page-header-title,
    h1.page-header-title {
        font-size: 24px; /* h2 のモバイル値(24px !important)に合わせる */
    }
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    background: #000;
}


header {
    background: #fff;
}

/*kv */


.bg_black .vk_post .vk_post_title a {
    color: #DCE6EE !important;
}

.vk_post .vk_post_date {
    color: #DCE6EE !important;
}

.text-shadow-none {
    text-shadow: none !important;
}



.pickup-news .vk_post-postType-post {
    flex-direction: column;
}

.pickup-news .vk_post-postType-post .media-img {
    width: 100%;
}

.pickup-news .vk_post .media-body {
    width: 100%;
    margin-top: 10px;
}

.vk_custom_css_2,
.vk_custom_css_3 {
    /* width: min(150px, 40%)!important; */
}

/* ニュースセクション */
.vk_post_taxonomy_terms {
    background: #e5e5e5;
    padding: 3px 6px;
}

.vk_post_taxonomy_title {
    display: none;
}

.vk_post .vk_post_date {
    display: inline-block;
}

.vk_post_taxonomies {
    display: inline-block;
    margin-left: 10px;
}

@keyframes vk-container-fadein {
    from {
        opacity: 0;
        transform: translateY(0px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home .vk_slider_item_container {
    background-color: #272727 !important;
    opacity: 0;
    animation: vk-container-fadein 0.8s ease 0s forwards;
}

.home .vk_slider_item_container .vk_animation {
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
}

.home .vk_custom_css_2 .vk_slider_item_container {
    max-width: 342px !important;
}


@media screen and (max-width: 768px) {
    .home .vk_slider_item_container h2 {
        font-size: 40px !important;
    }
}

@media screen and (max-width: 768px) {
    .home .vk_slider_item_container h2 {
        font-size: 40px !important;
    }

    .home .kv_sub_text {
        font-size: 14px !important;
    }

    .home .sp_ta_center {
        text-align: center !important;
    }
}


footer .wp-block-navigation__submenu-container {
    min-width: 200px !important;
    opacity: 1 !important;
    overflow: visible !important;
    visibility: visible !important;
    background: #000;
}

footer .wp-block-navigation__submenu-container li {
    position: relative !important;
    width: fit-content;
}

footer .wp-block-navigation .wp-block-navigation-item {
    background-color: #000;
}

footer .wp-block-navigation__submenu-container li::before {
    content: "-";
    display: inline-block;
    background: #fff;
    width: 6px;
    height: 1px;
}

footer .wp-block-navigation__submenu-container li a {
    color: #fff !important;
    background: #000 !important;
    /* padding: 0 .5em !important; */
}

/* ====================================
 TOPページ　投稿パネル
==================================== */
.vk_post .vk_post_title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* ====================================
   TOPページ　WORKS SLIDER
==================================== */
.works-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 60px;
}

.works-section:first-of-type {
    padding-top: 0;
}

.works-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.1em;
    margin: 0 0 32px 0;
    font-family: 'Outfit', sans-serif;
    text-align: center;
}

.works-container {
    width: 100%;
}

.works-main-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    overflow: hidden;
    margin-bottom: 20px;
}

.works-main-stage {
    width: 100%;
    height: 100%;
    position: relative;
}

.works-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    display: block;
    pointer-events: none;
    /* prevent clicking hidden slides */
}

.works-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
    /* clickable */
}

.works-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav Buttons */
.works-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.works-prev {
    left: 20px;
}

.works-next {
    right: 20px;
}

/* Thumbnails */
.works-thumbs-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.works-thumb {
    width: 100%;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    overflow: hidden;
    position: relative;
}

.works-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.works-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 3px #2563eb;
    transform: scale(0.98);
}

.works-thumb:hover {
    opacity: 1;
}

/* ==================================
 * Mobile Section Padding Reset
 * ================================== */
@media screen and (max-width: 768px) {
    .works-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ====================================
   共通ボタンホバーアニメーション
==================================== */
.vk_button_link {
    position: relative;
    overflow: hidden;
    transition: color 0.5s ease;
    border-radius: 30px !important;
}

.vk_button_link:hover {
    color: #fff !important;
}

.vk_button_link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.vk_button_link::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #1B85FB;
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.5s ease;
    transition-property: transform;
    z-index: 0;
}

.vk_button_link_txt,
.vk_button_link_after {
    position: relative;
    z-index: 1;
}


.vk_post_list_slider.swiper.vk_swiper {
    margin-left: 0 !important;
}

body.block-template-parts-header--sticky .block-site-header {
    position: fixed !important;
    width: 100%;
    padding-top: 14px;
}

header .wp-container-core-group-is-layout-c3080b25 {
    padding: 0 !important;
}

@media screen and (max-width: 1200px) {
    .wp-block-navigation__container {
        justify-content: flex-start !important;
    }
}

.wp-block-navigation__container li a {
    padding: 10px;
}

.wp-block-navigation__container li a:hover {
    background: #272727 !important;
    padding: 10px;
    color: #fff !important;
}

.single .entry-header {
    background: #dce6ee !important;
}

/* ===============================================
ニュース一覧 
 ===============================================*/
.c-news-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* ===============================================
ニュース詳細 
 ===============================================*/
.veu_socialSet ul {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.veu_socialSet.veu_contentAddSection ul li {
    max-width: 200px;
}



.wp-block-cover.feature-img {
    min-width: 100% !important;
}

.wp-block-cover.feature-img img {
    min-width: 100% !important;
}

/* ===============================================
新卒採用
 ===============================================*/
/* ホバー時のちらつき（opacity: .8）を打ち消す */
.recruit-newgrads .vk_button-color-custom a:hover {
    opacity: 1 !important;
}

/* 矢印アイコンをFont Awesomeに置き換え */
.recruit-newgrads svg.vk_button_link_after {
    display: none !important;
}
.recruit-newgrads .vk_button_link_caption::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f101";
    margin-left: .7rem;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .recruit-column .vk_button_link_txt {
        font-size: 11px;
    }
}

/* ===============================================
お問い合わせ 
 ===============================================*/
.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control {
    /* width: 50%; */
}

@media screen and (max-width: 768px) {

    .smf-form .smf-text-control__control,
    .smf-form .smf-textarea-control__control {
        width: 100%;
    }
}

.smf-select-control__control {
    margin: 0;
}

.smf-action .smf-button-control__control {
    background-color: #236ad6 !important;
    background-image: initial;
    color: #fff;
    padding: 10px 40px;
    min-width: 135px;
}

.smf-label {
    text-align: center;
}

.smf-form,
.smf-action {
    max-width: 900px;
    margin: 0 auto;
}

.smf-select-control {
    width: 100%;
}

.smf-action {
    text-align: center;
}

.smf-checkboxes-control+.smf-error-messages {
    text-align: center;
}

.footer-logo-wrapper {
    max-width: 300px;
    display: flex !important;
    align-items: center !important;
    height: 69px;
}

.wp-block-navigation__container {
    justify-content: flex-end;
}

@media screen and (max-width: 768px) {
    .wp-block-navigation__container {
        justify-content: flex-start;
    }
}

.snow-monkey-form[data-screen="confirm"] p {
  display: none;
}

.snow-monkey-form[data-screen="complete"] .smf-form,
.snow-monkey-form[data-screen="complete"] .smf-action{
margin-top: 17vh;
}
    
/* .snow-monkey-form[data-screen="confirm"] .smf-item__col--label {
    width: max-content;
    display: inline-block;
    margin-right: 5em;
}

.snow-monkey-form[data-screen="confirm"] .smf-item__col--controls{
    display: inline-block;
    width: fit-content;
} */
     .p-block-snow-monkey-forms-item {
     }

     .site-body {
        min-height: 70vh;
     }
     .smf-complete-content .wp-block-vk-blocks-button p{
        display: none;
     }

/* ===============================================
社長挨拶 
 ===============================================*/
/* .vk_timeline .vk_timeline_item {
    max-width: 954px;
} */

/* ===============================================
記事 
 ===============================================*/
body.single-news .entry-body {
    background: #fff;
    padding: 1em;
    margin-bottom: 1em;
}

body.single-news .entry-body .wp-block-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body.single-news .entry-body .wp-block-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

/* ===============================================
採用ページ 
 ===============================================*/
 /* デフォルトの青線削除 */
.post-name-recruit-newgrads h2 {
    border-top: none;
}
 /* デフォルトの青線削除 */
.recruit-newgrads-child h2 {
    border-top: none;
}

/* ===============================================
   ロケットアイコン フラッシュ修正 (Firefox/Chrome)
   vk_animation の transition: all がfont-size/width/height の
   サイズ差分をアニメーションさせてしまうのを抑制する
 ===============================================*/
.vk_animation-fade-in {
    transition-property: opacity !important;
}