/*
Theme Name: ファインネクス株式会社 FINECS CO., LTD.FINECS
Template: lightning
Description: ファインネクス株式会社 FINECS CO., LTD.専用テーマ。Lightningの子テーマで作成しています。
Author:
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');
/*
font-family: 'Oswald', sans-serif;
font-family: 'Noto Sans JP', sans-serif;
font-family: 'Noto Serif JP', serif;
*/

:root {
    --main-dark-color: #272727;
    --bg-1-color: #f7f7f7;
    --bg-2-color: #E5E5E5;
    --finecs-color: #ED8A01;
    --wp--style--global--content-size: 1100px;
    --vk-color-header-bg: #000;
    --vk-size-text: 20px;
    --my-table-border-color: rgba(0,0,0,0.15);
}

@media (max-width: 1199.7px) {
    :root {
        --wp--style--global--content-size: 930px;
    }
}

@media (max-width: 991.7px) {
    :root {
        --wp--style--global--content-size: 690px;
    }
}

@media (max-width: 767.7px) {
    :root {
        --wp--style--global--content-size: 510px;
    }
}

@media (max-width: 575.7px) {
    :root {
        --wp--style--global--content-size: calc(100% - 30px);
    }
}

/*
    var( --main-dark-color );--vk-color-header-bg
    var( --bg-1-color );--finecs-color
*/

body, html {
    font-family: 'Noto Sans JP', sans-serif;
}

.bg-color-1 {
    background: var(--bg-1-color) !important;
}

/* width、height */

.w-240,
.w-240 img {
    width: 240px !important;
}

.w-260,
.w-260 img {
    width: 260px !important;
}

.w-280,
.w-280 img {
    width: 280px !important;
}

.w-300,
.w-300 img {
    width: 300px !important;
}

.w-320,
.w-320 img {
    width: 320px !important;
}

.w-340,
.w-340 img {
    width: 340px !important;
}

.w-360,
.w-360 img {
    width: 360px !important;
}

.w-380,
.w-380 img {
    width: 380px !important;
}

.w-400,
.w-400 img {
    width: 400px !important;
}

.w-600,
.w-600 img {
    width: 600px !important;
}

.w-700,
.w-700 img {
    width: 700px !important;
}

.w-800,
.w-800 img {
    width: 800px !important;
}

.w-900,
.w-900 img {
    width: 900px !important;
}

.w-full,
.w-full img {
    width: 100% !important;
}

.h-180,
.h-180 img {
    height: 180px !important;
}

.h-200,
.h-200 img {
    height: 200px !important;
}

.h-220,
.h-220 img {
    height: 220px !important;
}

.h-240,
.h-240 img {
    height: 240px !important;
}

.h-260,
.h-260 img {
    height: 260px !important;
}

.h-280,
.h-280 img {
    height: 280px !important;
}

.h-300,
.h-300 img {
    height: 300px !important;
}

.h-320,
.h-320 img {
    height: 320px !important;
}

.h-340,
.h-340 img {
    height: 340px !important;
}

.h-360,
.h-360 img {
    height: 360px !important;
}

.h-380,
.h-380 img {
    height: 380px !important;
}

.h-400,
.h-400 img {
    height: 400px !important;
}

@media (max-width: 767.7px) {
    .pc-only {
        display: none !important;
    }
}

/*  */
body .is-layout-flex {
    gap: 30px;
    /*24px*/
}

body .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

/* VK 見出し飾りシンプル化 */

.is-style-vk-heading-plain,
.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-plain {
    position: relative;
    outline: unset;
    outline-offset: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    border-radius: unset;
    overflow: unset;
    color: inherit;
    background-color: transparent;
    border: none;
    padding: unset;
    display: block;
}

.is-style-vk-heading-plain::after,
.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-plain::after {
    content: none;
}

/* Lightning デフォルト上書き */
.entry-title--post-type--page,
h2 {
    margin: 0 0 1.5em;
    padding: 0 0 0 10px;
    border: none;
    border-left: solid 10px var(--finecs-color);
    font-size: 1.75rem;
}

*+.entry-title--post-type--page,
*+h2 {
    margin-top: 1.5em;
}

.postListText_title {
    flex: 1;
}

.entry-body figure:has(> table) {
    max-width: 100% !important;
}
li a {
    display: inline !important;
}
/*　body*/
body {
    background: #fff;
    line-height: 1.6;
    /*1.78*/
}

/* header */

/* スクロール追従header */
.header_scrolled .site-header {
/*    width: calc(100vw - 15px) !important;*/
    width: 100% !important;
}

@media (max-width: 767.7px) {
    .header_scrolled .site-header {
        width: 100vw !important;
    }
}

/* スクロール追従のロゴ表示 */
.header_scrolled .site-header-logo {
    display: block;
}

/* */

.site-header {
    background: var(--vk-color-header-bg);
}

.site-header-container.container {
    align-items: center;
    max-width: 100% !important;
}

.site-header-logo {
/*    margin: 18px 100px 18px 55px !important;*/
    margin: 18px 30px 18px 55px !important;
    padding: 0 !important;
    width: 63px !important;
}

.site-header-logo img {
    width: auto;
    height: 63px;
    max-height: 100%;
}

@media (max-width: 1274.7px) {
    .site-header-container {
        max-width: 100%;
        height: 60px;
        display: flex;
        overflow: unset;
    }

    #global-nav {
        flex: 1;
    }
}

@media (max-width: 1249.7px) {
    .site-header-logo {
        margin: 8px 0 8px 0 !important;
    }
    .site-header-logo img {
        height: 44px;
    }
}

@media (max-width: 889.7px) {
    .site-header-container {
        height: 60px;
    }

    .site-header-logo {
        position: inherit;
    }

}

/* メガメニュー表示 PC */
/*@media (min-width: 1250px) {
    [lang='ja'] .pc-label-product>ul::before {
        content: "製品情報";
        border-bottom: solid 1px #fff;
        color: #fff;
        display: block !important;
    }

    [lang='en-US'] .pc-label-product>ul::before {
        content: "Products";
        border-bottom: solid 1px #fff;
        color: #fff;
        display: block !important;
    }
}*/

/* メガメニュースマホメニューボタン */
@media (max-width: 1249.7px) {
    #global-nav {
        height: 60px;
        display: flex;
        justify-content: flex-end;
    }

    #mega-menu-global-nav {
        max-height: 60vh !important;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #mega-menu-global-nav::-webkit-scrollbar {
        display: none;
    }

    #mega-menu-wrap-global-nav .mega-menu-toggle {
        height: 100%;
    }

    #mega-menu-wrap-global-nav .mega-menu-toggle+#mega-menu-global-nav {
        top: auto;
    }

    #mega-menu-wrap-global-nav .mega-menu-toggle+#mega-menu-global-nav {
        z-index: 999;
    }
}

/* サブメニュー */
#global-nav-sub {
    display: flex;
    justify-content: flex-end;
    gap: 90px;
    position: absolute;
    top: 0;
    right: 55px;
    z-index: 99999;
}

#mobile-global-nav-sub {
    display: none;
}

@media (max-width: 1249.7px) {
    #global-nav-sub {
        display: none;
    }

    #mega-menu-wrap-global-nav {
        height: 100vh;
        background: var(--vk-color-header-bg);
        margin-right: -15px;
        width: 100%;
        max-width: 500px;
        display: block;
        position: absolute;
        top: 60px;
    }

    #mega-menu-wrap-global-nav {
        right: -515px;
        transition: ease 0.2s;
    }

    #mega-menu-wrap-global-nav.open {
        right: 15px;
    }

    #mobile-global-nav-sub {
        display: block;
        width: 100% !important;
        background: var(--vk-color-header-bg);
    }

    #mega-menu-global-nav {
        width: 100% !important;
        height: 50vh;
        overflow-y: none !important;
    }

    .mega-indicator {
        width: 100% !important;
        height: 40px !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        display: block !important;
    }

    .mega-indicator::after {
        display: none !important;
    }
}

@media (min-width: 1250px) {
    .site-header-container {
        height: 100px;
    }
    #global-nav-sub {
        gap: 30px;
    }
    [lang='en-US'] #global-nav-sub {
        gap: 0 !important;
    }
}

/* 検索 */
#global-nav-sub .header-menu-search {
    margin-top: 23px;
    min-width: 50px;
    height: 50px;
    font-size: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--vk-color-header-bg);
    color: var(--finecs-color);
    cursor: pointer;
}

.header-menu-search svg {
    width: 24px;
    height: 24px;
    color: var(--finecs-color);
}

#global-nav-sub #check-search-pc+form+.bi-search+.bi-x-lg {
    margin-right: 13px;
    display: none;
}

#global-nav-sub #check-search-pc:checked+form+.bi-search {
    display: none;
}

#global-nav-sub #check-search-pc:checked+form+.bi-search+.bi-x-lg {
/*    margin-right: 13px;*/
    display: block;
}

.header-menu-search .bi,
#global-nav-sub #check-search-pc+form+.bi-search+.bi-x-lg
{
    margin-right: 3px !important;
}


#global-nav-sub #check-search-pc+form {
    display: none;
    width: 0;
    transition: ease 1s;
}

#global-nav-sub #check-search-pc:checked+form {
    display: flex;
    align-items: center;
    width: 21vw;
    position: relative;
}

#global-nav-sub #check-search-pc:checked+form input {
    display: block;
    width: calc(21vw - 12px);
    margin: 0 0 0 4px;
    padding: 2px 56px 2px 2px;
    height: 42px;
}

#global-nav-sub #check-search-pc:checked+form .btn {
    padding: 0;
    width: 50px;
    height: 40px;
    display: flex;
    border-left: solid 3px #ccc;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 8px;
}

#global-nav-sub #check-search-pc:checked+form .btn .bi-search {
    color: var(--main-dark-color);
}

@media (max-width: 1249.7px) {
    #mobile-global-nav-sub {
        padding: 14px;
    }

    #mobile-global-nav-sub .header-menu-search {
        margin: 15px 0;
        display: block;
    }

    #mobile-global-nav-sub #check-search {
        display: none;
    }

    #mobile-global-nav-sub #check-search+form,
    #mobile-global-nav-sub #check-search:checked+form {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
        margin: 0;
    }

    #mobile-global-nav-sub .pc-only {
        display: none;
    }

    #mobile-global-nav-sub #check-search+form .input {
        width: 100%;
        max-width: none;
    }

    #mobile-global-nav-sub #check-search+form input {
        padding: 2px 40px 2px 2px;
        font-size: 16px;
        height: 40px;
        width: 100%;
        max-width: 100%;
    }

    #mobile-global-nav-sub #check-search+form .btn {
        padding: 0;
        width: 36px;
        height: 38px;
        display: flex;
        border-left: solid 3px #ccc;
        border-radius: 0 5px 5px 0;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 1px;
        right: 0;
        background: #fff;
    }
}


/* 言語選択 */
.header-menu-language {
    width: auto;
    height: 94px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
}


.header-menu-language:has(+ .header-menu-search #check-search-pc:checked) {
    display: none;
}

@media (max-width: 1249.7px) {
    #mobile-global-nav-sub .header-menu-language:has(+ .header-menu-search #check-search:checked) {
        display: flex;
    }
}

.header-menu-language ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}

.header-menu-language ul li {
    margin: 0;
    padding: 0;
}

.header-menu-language ul li a {
    margin: 0;
    padding: 5px 0;
    font-size: 17px;
    line-height: 1.1;
    color: #fff;
}

[lang='ja'] .header-menu-language .lang-ja {
    color: var(--finecs-color);
}

[lang='en-US'] .header-menu-language .lang-en {
    color: var(--finecs-color);
}

@media (max-width: 1249.7px) {
    #mobile-global-nav-sub .header-menu-language {
        width: auto;
        height: 40px;
        display: flex;
        align-items: center;
    }

    #mobile-global-nav-sub .header-menu-language ul {
        gap: 20px;
    }

    #mobile-global-nav-sub .header-menu-language ul li a {
        padding: 8px 0;
    }
}

/* モバイル　ハンバーガーボタン */

#check {
    display: none;
}

@media (max-width: 1249.7px) {
    #mobile-global-nav-toggle-btn {
        position: absolute;
        right: 15px;
        top: 0;
        width: 45px;
        height: 100%;
        z-index: 99;
    }

    .span-container {
        margin-top: 10px;
        width: 45px;
        height: 40px;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        z-index: 90;
        cursor: pointer;
    }

    .span-container span {
        width: 100%;
        height: 3px;
        background: white;
        transition: all 0.1s ease-out;
        transform-origin: 0 0;
    }

    #check:checked~.span-container span:nth-last-child(1) {
        transform: rotate(-45deg) translate(-2.7px, 0px);
    }

    #check:checked~.span-container span:nth-last-child(2) {
        transform: rotate(0deg) scale(0.2, 0.2);
        opacity: 0;
    }

    #check:checked~.span-container span:nth-last-child(3) {
        transform: rotate(45deg) translate(0px, -2.7px);
    }

}


/* Lightningデフォルトのモバイルメニューボタンの非表示 */
#vk-mobile-nav-menu-btn {
    display: none;
}

/* breadcrumb #breadcrumb */
.breadcrumb {
    border: none;
    background: var(--bg-1-color);
    font-size: 13px;
}

.breadcrumb-list {
    padding: 15px 0;
}

.breadcrumb-list li:not(:last-of-type):after {
    content: '';
    background: url('./images/icon-rght-angle.svg') 0 0 no-repeat;
    background-size: 80%;
    width: 8px;
    height: 14px;
    display: inline-block;
    margin-left: 12px;
    margin-right: 12px;
    position: relative;
    top: 4px;
}
@media (max-width: 767.9px) {
    .breadcrumb-list li {
        height: 35px;
    }
}

.breadcrumb-list a {
    color: var(--main-dark-color);
}

.breadcrumb-list .fa-home {
    display: none;
}

#breadcrumb:has( + .page-header.hasThumbnail) {
    padding: 60px 30px 0 110px;
    background:none;
    z-index: 2;
    position: absolute;
    color:#fff;
}

#breadcrumb:has( + .page-header.hasThumbnail) .breadcrumb-list li:not(:last-of-type):after {
    background: url('./images/icon-rght-angle-white.svg') 0 0 no-repeat;
}

#breadcrumb:has( + .page-header.hasThumbnail) a {
    color:#fff;
}

@media (max-width:1249.9px) {
    #breadcrumb:has( + .page-header.hasThumbnail) {
        padding: 0;
    }
}


/* footer */

footer.site-footer {
    padding-top: 90px;
    padding-bottom: 40px;
    border: none;
    background: var(--main-dark-color);
    color: #fff;
}

footer.site-footer .container {
    max-width: calc(100% - 110px) !important;
}

@media (max-width: 1249.9px) {
    footer.site-footer {
        padding-top: 50px;
        padding-bottom: 30px;
    }

    footer.site-footer .container {
        max-width: calc(100% - 70px) !important;
    }
}

footer.site-footer p {
    font-size: 0.75rem;
}

footer.site-footer a {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    color: #fff;
}

footer.site-footer .d-flex .block-area1 {
    width: 360px;
/*    margin-right: 5%;*/
    margin-right: 2%;
}

footer.site-footer .d-flex .block-area1 .footer-logo {
    margin-bottom: 50px;
}

@media (max-width: 1249.9px) {
    footer.site-footer .d-flex .block-area1 {
        margin-right: 0;
    }
}

@media (max-width: 767.9px) {
    footer.site-footer .d-flex .block-area1 {
        width: 100%;
    }

    footer.site-footer .d-flex .block-area1 .footer-logo {
        width: 55px;
        margin-bottom: 30px;
    }
}

footer.site-footer .d-flex .block-area2 {
    flex: 1;
}

footer.site-footer .block-area1>aside {
    margin: 0;
}

@media (max-width: 767.9px) {
    footer.site-footer .d-flex .block-area2>aside {
        margin: 0;
    }
}

footer.site-footer .menu {
    width: 100%;
    display: flex !important;
    flex-wrap: wrap;
    grid: 40px;
}

footer.site-footer .menu>li {
/*    padding-bottom: 30px;*/
    width: 20%;
    padding: 0px 10px 30px;
}

footer.site-footer .menu>li:nth-child(n+6) {
    width: auto;
}

footer.site-footer .menu>li:nth-child(n+6)+li {
    margin-left: 90px;
}

footer.site-footer .menu .nonedisplay>a {
    display: none;
}

@media (max-width: 1249.9px) {
    footer.site-footer .menu {}

    footer.site-footer .menu>li {
        padding-bottom: 30px;
        width: 49%;
    }
    html[lang="en-US"] footer.site-footer .menu>li {
        padding-right: 5px;
        padding-left: 5px;
        width: 50%;
    }
}

footer.site-footer .menu>li>a {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.1rem;
}

@media (max-width: 767.9px) {
    footer.site-footer .menu>li>a {
        font-size: 0.75rem;
    }
}

footer.site-footer .menu .sub-menu {
    margin-top: 30px;
}

footer.site-footer .menu .sub-menu a {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.75rem;
    display: inline-block;
    cursor: pointer;
}

@media (max-width: 767.9px) {
    footer.site-footer .menu .sub-menu {
        margin-top: 10px;
    }

    footer.site-footer .menu .sub-menu a {
        font-size: 0.65rem;
    }
}

footer.site-footer .menu .nonedisplay .sub-menu {
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

@media (max-width: 1249.9px) {
    footer.site-footer .menu .nonedisplay .sub-menu {
        display: block;
    }

    footer.site-footer .menu .nonedisplay .sub-menu>li {
        width: 100%;
    }
}

footer.site-footer .menu .nonedisplay .sub-menu a {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.1rem;
}

@media (max-width: 767.9px) {
    footer.site-footer .menu .nonedisplay .sub-menu a {
        font-size: 0.75rem;
    }
}

.site-footer-copyright {
    margin: 0;
    padding: 0;
}

.site-footer-copyright p {
    margin: 0;
    text-align: left;
}

footer.site-footer .menu>li:has(+.privacy-link) {
    margin-right: auto !important;
}

footer.site-footer .menu .privacy-link {
    margin-left: 0 !important;
    width: 100% !important;
    font-size: 0.75rem;
}

footer.site-footer .menu .privacy-link a {
    font-size: 0.75rem;
    display: inline;
}

@media (max-width: 767.9px) {
    footer.site-footer .menu .privacy-link {
        margin-top: 20px;
        margin-bottom: 10px;
        padding-bottom: 0;
    }

    footer.site-footer .menu .privacy-link a {
        font-size: 0.65rem;
    }
}

@media (max-width: 767.7px) {
    .site-footer .site-footer-content {
        display: none;
    }
}

/* global-nav */
.global-nav .btn a {
    background: var(--main-dark-color);
    color: #fff;
    border-radius: 6px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .25);
}

.global-nav-list>li:before {
    content: none;
}

/* .site-body-bottom */
.site-body-bottom .widget:last-of-type {
    margin-bottom: var(--vk-margin-block-bottom);
}

/* archive */
.archive-header-title {
    margin: 0 0 50px;
    padding: 12px 16px;
    background: var(--main-dark-color);
    color: #fff;
    border-radius: 6px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .25);
}

/* loop-item */
.vk_posts {
    margin-left: 0;
    margin-right: -30px;
    gap: 30px;
}
.post-list.vk_posts {
    margin-right: 0;
}

.vk_post.media {
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 6px;
    border: none;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .25);
    flex-direction: column;
}

@media (max-width:781.8px) {
    .vk_post.media {
        width: 100%;
    }
}

.vk_post.media .media-img {
    margin: 0;
    width: 100%;
    border: none;
    background: var(--bg-1-color);
    background-size: cover;
    background-position: 50% 50%;
}

.vk_post.media .vk_post_body,
.vk_post-btn-display.media .vk_post_body {
    padding: 20px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.vk_post.media .vk_post_title {
    margin: 0;
    padding: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
    border: none;
}

.home .vk_post.media .vk_post_title {
    min-height: 18px;
    font-size: 14px;
}

.vk_post.media .vk_post_excerpt {
    font-size: 16px;
    line-height: 1.5;
}

.vk_post.media.vk_post-btn-display .vk_post_excerpt {
    margin-bottom: 30px !important;
}

.vk_post.media.vk_post-btn-display .vk_post_btnOuter {
    position: relative;
    margin-top: auto;
    margin-bottom: 0;
}

.vk_post.media .vk_post_btn {
    color: var(--main-dark-color);
    background: none;
    border: none;
}

/* 製品詳細ページ */

#companydescription {
    margin-top: 3em;
    margin-bottom: 3em;
}

.single-products .entry-body #main {
    margin-bottom: 3em;
}

.single .site-body {
    margin-top: 0;
    padding-top: 0;
}

.entry-header {
    margin-top: 0;
    margin-bottom: 3.5rem;
    padding-bottom: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 8rem;
    text-align: center;
    background: var(--bg-1-color);
    ;
}

.entry-header .entry-title,
.page-header-title,
h1.page-header-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: var(--vk-line-height-low);
    margin: 0;
    color: var(--main-dark-color);
    border-bottom: solid 3px var(--finecs-color);
    display: inline;
    padding: 1rem 0 2.5rem 1rem;
}

.block-full-width .entry-title {
    width: auto;
    max-width: 1110px;
}

@media (max-width:1199.7px) {
    .block-full-width .entry-title {
        max-width: 930px;
    }
}

@media (max-width:991.7px) {
    .block-full-width .entry-title {
        max-width: 690px;
    }
}

@media (max-width:767.7px) {
    .block-full-width .entry-title {
        max-width: 510px;
    }
}

@media (max-width:539.7px) {
    .entry-header {
        padding-bottom: 15px;
    }
    .block-full-width .entry-title {
        max-width: 100%;
        margin-left: 15px;
        margin-right: 15px;
    }
}

.block-full-width.middle-title {
    margin-top: 3em;
    margin-bottom: 3em;
}

.block-full-width.middle-title * {
    margin-top: 1em;
    margin-bottom: 1em;
    border: none;
    font-size: 1.75rem;
}


.page-header {
    background: var(--bg-1-color);
    width: 100vw;
    max-width: 100%;
}

.page-header.hasThumbnail {
    min-height: 619px;
    aspect-ratio: 2.13/1;
}

.page-header.hasThumbnail .wrap-page-title {
    padding:2rem 0 2rem 2rem;
    text-align: left;
    border-left: solid 4px var( --finecs-color );
    min-height: 16rem;
    position: relative;
}

.page-header.hasThumbnail .wrap-page-title::before,
.page-header.hasThumbnail .wrap-page-title::after {
    content:'';
    width:7rem;
    height: 0;
    border-top: solid 4px var( --finecs-color );
    display: block;
}
.page-header.hasThumbnail .wrap-page-title::before {
    position: absolute;
    top:0;
    left:0;
}
.page-header.hasThumbnail .wrap-page-title::after {
    position: absolute;
    bottom:0;
    left:0;
}

.page-header.hasThumbnail .wrap-page-title > * {
    text-decoration: none;
    border-bottom: none;
}

.page-header.hasThumbnail .wrap-page-title h1 {
    font-size:3.5rem;
    color:#fff;
}

.page-header.hasThumbnail .wrap-page-title p {
    font-size:1.25rem;
    color:#fff;
}

@media (max-width:767.9px) {
    .page-header.hasThumbnail .wrap-page-title h1 {
        font-size:2.175rem;
        color:#fff;
    }

    .page-header.hasThumbnail .wrap-page-title p {
        font-size:0.85rem;
        color:#fff;
    }
}


body:not(.home) .entry-body .is-layout-constrained>*+* {
    margin-block-start: 32px;
    margin-block-end: 0;
}

body:not(.home) .entry-body .is-layout-constrained>*+h3,
body:not(.home) .entry-body .is-layout-constrained>*+h4 {
    margin-block-start: 65px;
}

body:not(.home) .entry-body .wp-block-group+.wp-block-group {
    margin-top: 2em;
}

.entry-body a:not(.wp-block-button__link) {
    padding: 0 calc(1em + 16px) 4px 0;
    color: var(--finecs-color);
    text-decoration: underline;
    background: url(./images/icon-Arrow.svg) 150% center no-repeat;
    background-size: 54% 54%;
    display: inline-block;
}

.related-faq-links a, .postListText_title a {
    color: var(--finecs-color) !important;
}

.entry-body .wp-block-image>a {
    padding: 0;
    background: none;
    width:100%;
}

.entry-body a:not(.wp-block-button__link):hover,
.entry-body a:not(.wp-block-button__link):focus {
    color: #f00;
    text-decoration: underline;
}

.entry-body ul.note {
    list-style: none;
    padding: 0;
}

.post-name-case ul.list {
    list-style: none;
    padding: 0;
}


.entry-body h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: var(--vk-line-height-low);
    margin: 0;
    color: var(--main-dark-color);
    border-bottom: solid 3px var(--finecs-color);
    display: inline;
}

.entry-body h2 {
    margin: 0 0 20px;
    padding: 0;
    border: none;
    font-size: 2.75rem;
    position: relative;
}

@media (max-width:767.7px) {
    .entry-body h2 {
        font-size: 1.6rem;
    }
}

.entry-body h2 span {
    margin-right: 4px;
    color: var(--finecs-color);
}

.entry-body *+h2 {
    margin-top: 2em;
}

.entry-body .h2-subtext:has(+ h2) {
    margin-bottom: 0;
    color: var(--finecs-color);
    font-weight: 900;
    font-family: Oswald, sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-align: left;
}

.entry-body .h2-subtext+h2 {
    margin-top: 5px;
    margin-block-start: 0 !important;
}

.entry-body .h2-subtext+h2::before {
    display: none;
}


.entry-body h3 {
    margin-top: 65px;
    margin-bottom: 0;
    padding-left: 4rem;
    padding-bottom: 0;
    font-size: 2.4rem;
    font-weight: 900;
    border: none;
    background: url('./images/icon-h-head.svg') 0 0.6rem no-repeat;
    letter-spacing: -0.03em;
}

@media (max-width:767.7px) {
    .entry-body h3 {
        margin-top: 2.25rem;
        font-size: 1.43rem;
        padding-left: 2.8rem;
        background-size:24px;
        background-position: 0 0.4rem;
    }
}

.entry-body h3::after {
    content: none;
}

.entry-body h4 {
    margin-top: 65px;
    margin-bottom: 30px;
    padding: 0;
    font-size: 2.25rem;
    /*45px*/
    background: none;
}

.entry-body p {
    line-height: 1.6;
    /*2*/
}

@media (max-width:767.7px) {
    .entry-body p {
        font-size: 0.86rem;
    }
}


[class~="products"] .entry-body figure,
[class~="shapes"] .entry-body figure,
[class~="single-questions"] .entry-body figure {
    margin: 0 auto 30px;
    max-width: 500px;
    display: block;
}

[class~="products"] .entry-body *+figure,
[class~="shapes"] .entry-body *+figure,
[class~="single-questions"] .entry-body *+figure {
    margin-top: 30px;
}

[class~="products"] .entry-body figure img,
[class~="shapes"] .entry-body figure img {
    width: 100%;
}

.entry-body figure img {
    /*width: 100%;*/
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-body figure.size-full img {
    width: 100%;
}

.entry-body figure img.alignnone {
    margin-left: auto;
    margin-right: auto;
}

.entry-body figure figcaption {
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 20px;
    line-height: 1.2;
    color: #000;
}

@media (max-width:767.7px) {
    .entry-body figure figcaption {
        font-size: 0.86rem;
    }
}


/* ページ毎の調整 */
.post-name-insert .entry-body figure {
    max-width: 100%;
}

.post-name-vietnam .entry-body figure img,
.post-name-quality .entry-body figure img {
    width: 100%;
}

.post-name-insert .entry-body figure img {
    width: auto;
}

.category-blog .entry-body *.size-full img {
    width: auto;
}

.category-blog .entry-body *.alignwide img,
.category-blog .entry-body *.alignfull img {
    width: 100%;
}


[lang='en-US'] .entry-body figure figcaption {
    display: block;
}


.entry-body ul.image,
.entry-body ul.image li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entry-body ul.image {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.entry-body ul.image li {
    flex: 1;
    max-width: calc((100% - 40px) / 3);
}

@media (max-width:767px) {
    .entry-body ul.image {
        gap: 15px;
    }

    .entry-body ul.image li {
        flex: auto;
        width: calc((100% - 15px) / 3);
    }
}

.entry-body ul.image li img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
}

.block-related {
    display: block;
}


/* 202302流し込みページ対応 */
.page .entry-body #main .image:not(td) {
    display: block;
}

.page .entry-body #main .image:not(td) img {
    display: block;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/* 詳細ページ下部　関連リンク */
.block-related {
    display: block;
}

.block-related-inner {
    margin: 0 auto;
    padding: 40px 0 3em;
    width: 100%;
    max-width: 1100px;
    display: block;
}

@media (max-width:1199.7px) {
    .block-related-inner {
        max-width: 930px;
    }
}

@media (max-width:991.7px) {
    .block-related-inner {
        max-width: 690px;
    }
}

@media (max-width:767.7px) {
    .block-related-inner {
        max-width: 510px;
    }
}

@media (max-width:539.7px) {
    .block-related-inner {
        max-width: calc(100vw - 30px);
    }
}

.block-related.bg-color-1+.block-related.bg-color-1 {
    border-top: solid 2px #fff;
}

.related-title-h3 {
    font-size: 1.25rem;
    border: none;
}

.related-title-h3::after {
    content: none;
}

.link-lists {
    display: flex;
    flex-wrap: wrap;
}

.related-title-h4,
.related-link-btn {
    padding: 6px 14px;
    background: var(--main-dark-color);
    border-radius: var(--vk-size-radius);
    color: #fff;
    min-width: 80px;
    min-height: 40px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 4px rgb(0 0 0 / 40%);
}

.related-link-btn {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.link-lists a:hover {
    color: #fff;
    box-shadow: 1px 1px 6px rgb(0 0 0 / 25%);
}

/* 関連する faq 一覧 */
.block-related.faq-parts .vk_posts {
    gap: 0;
}

.block-related.faq-parts .vk_post.postListText {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    flex-wrap: wrap;
    border: none;
}

.related-faq-links a,
.postListText_title a {
    color: #03c;
    text-decoration: underline;
}

.related-faq-links a:hover,
.related-faq-links a:focus,
.postListText_title a:hover,
.postListText_title a:focus {
    color: #f00;
    text-decoration: underline;
}

.block-related.faq-parts .vk_post.postListText .postListText_title {
    margin: 0 0 0 auto !important;
    padding: 0;
    border: none;
    width: calc(100% - 150px);
    font-size: 0.875rem;
}

.block-related.faq-parts .vk_post.postListText .postListText_title::after {
    content: none;
}

@media (max-width:767.7px) {
    .block-related.faq-parts .vk_post.postListText .postListText_title {
        margin-top: 7px !important;
        margin-left: 0 !important;
        width: 100%;
    }
}

.block-related.faq-parts .vk_post.postListText .postListText_singleTermLabel,
.block-related.faq-parts .vk_post.postListText .postListText_date {
    margin: 0 !important;
    padding: 0;
    border: none;
    min-width: 140px;
}

@media (max-width:767.7px) {

    .block-related.faq-parts .vk_post.postListText .postListText_singleTermLabel,
    .block-related.faq-parts .vk_post.postListText .postListText_date {
        min-width: 100px;
    }
}

.block-related.faq-parts .vk_post.postListText .postListText_singleTermLabel a {
    display: inline-flex;
    padding: 2px 16px;
    min-width: 120px;
    height: 26px;
    background: var(--main-dark-color) !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 3px;
}

/* よくある質問ページ下 */
.related-faq-links {
    margin-bottom: 3em;
}


/* 投稿一覧 */
.archive.category .post-list.vk_posts {
    gap: 0;
}

.archive.category .post-list.vk_posts .vk_post.postListText {
    border: none;
}

.archive.category .post-list.vk_posts .vk_post.postListText .postListText_title {
    margin: 0 0 0 auto !important;
    padding: 0;
    border: none;
    width: calc(100% - 300px);
    font-size: 0.875rem;
}

.archive.category .post-list.vk_posts .vk_post.postListText .postListText_title::after {
    content: none;
}

@media (max-width:767.7px) {
    .archive.category .post-list.vk_posts .vk_post.postListText .postListText_title {
        margin-top: 7px !important;
        margin-left: 0 !important;
        width: 100%;
    }
}

.archive.category .post-list.vk_posts .vk_post.postListText .postListText_singleTermLabel,
.archive.category .post-list.vk_posts .vk_post.postListText .postListText_date {
    margin: 0 !important;
    padding: 0;
    border: none;
    min-width: 140px;
}

@media (max-width:767.7px) {

    .archive.category .post-list.vk_posts .vk_post.postListText .postListText_singleTermLabel,
    .archive.category .post-list.vk_posts .vk_post.postListText .postListText_date {
        min-width: 100px;
    }
}

.archive.category .post-list.vk_posts .vk_post.postListText .postListText_singleTermLabel a {
    display: inline-flex;
    padding: 2px 16px;
    min-width: 120px;
    height: 26px;
    background: #E5E5E5 !important;
    align-items: center;
    justify-content: center;
    color: var(--main-dark-color) !important;
    border-radius: 3px;
    font-weight: bold;
}


/* 投稿詳細ページ　下部ページネーション */
.single-post .vk_posts.next-prev .vk_post.postListText {
    margin: 0;
    padding: 0;
}

.single-post .vk_posts.next-prev .vk_post.postListText.next-prev-next {
    text-align: right;
    border: none;
    display: flex;
    justify-content: end;
}

.single-post .vk_posts.next-prev .vk_post.postListText.next-prev-next::after {
    content: '>';
    color: #fff;
    font-size: 14px;
    padding: 2px;
    height: 100%;
    background: var(--main-dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.single-post .vk_posts.next-prev .vk_post.postListText.next-prev-prev {
    border: none;
    display: flex;
}

.single-post .vk_posts.next-prev .vk_post.postListText.next-prev-prev::before {
    content: '<';
    color: #fff;
    font-size: 14px;
    padding: 2px;
    height: 100%;
    background: var(--main-dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}



/* トップページ */

/* メインビジュアル部分 */
.main-visual {
    height: auto;
    max-height: 470px;
    aspect-ratio: 170/47;
    padding: 140px 40px 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width:1289.7px) {
    .main-visual {
        background-position: left bottom;
    }
}

@media (max-width:767.7px) {
    .main-visual {
        padding: 60px 20px 20px;
    }
}

.block-main-message {
    margin: auto !important;
    padding: 30px;
    display: block;
    width: 80vw;
    max-width: 1110px !important;
    min-height: 300px;
    background: rgb(51 51 51 / 0.65);
}

@media (max-width:767.7px) {
    .block-main-message {
        width: 100%;
        padding: 20px;
    }
}

.wp-block-cover.main-visual {
    margin-top: -3.5rem;
    overflow: hidden;
    min-height: 100px;
    position: relative;
}

.wp-block-cover.main-visual::after {
    content: '';
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: none;
    border-bottom: solid 2px #fff;
    border-right: solid 3px #fff;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.wp-block-cover.main-visual .has-background-dim:not([class*=-background-color]) {
    background-color: var(--bg-2-color) !important;
}

.block-catchcopy {
    margin: 0 auto 20px;
    width: auto;
    max-width: 600px;
    border-bottom: solid 2px #fff;
    display: block;
}

.block-catchcopy h2 {
    margin: 0 0 20px;
    font-family: 'Noto Serif JP', serif;
    font-size: 36px;
    line-height: 1.75;
    color: #fff;
    text-align: center;
}

.block-main-message .main-text {
    margin: 0 0 30px;
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    line-height: 2;
    color: #fff;
    text-align: center;
}

@media (max-width:767.7px) {
    .block-catchcopy h2 {
        font-size: 20px;
        line-height: 1.6;
    }

    .block-main-message .main-text {
        font-size: 14px;
        line-height: 1.8;
    }
}

.block-main-message .main-icons {
    text-align: center;
    margin: 0 auto;
    display: block;
}


body:not(.home) .title-underline {
    border-bottom: solid 3px var(--finecs-color);
}

.home .wp-block-group.title-underline {
    text-align: center;
}

.home .wp-block-group.title-underline h3 {
    display: inline;
    border-bottom: solid 3px var(--finecs-color);
}

.home .veu_socialSet {
    display: none;
}

.block-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.main-section.main-section--col--two .entry-header.block-full-width {
    margin-left: calc(-1 * (100vw - 1100px) / 2);
    margin-right: inherit;
    left: inherit;
    right: inherit;
}

@media (max-width:1199.7px) {
    .main-section.main-section--col--two .entry-header.block-full-width {
        margin-left: calc(-1 * (100vw - 930px) / 2);
    }
}

@media (max-width:991.7px) {
    .main-section.main-section--col--two .entry-header.block-full-width {
        margin-left: calc(-1 * (100vw - 690px) / 2);
    }
}

@media (max-width:767.7px) {
    .main-section.main-section--col--two .entry-header.block-full-width {
        margin-left: calc(-1 * (100vw - 510px) / 2);
    }
}

@media (max-width:539.7px) {
    .main-section.main-section--col--two .entry-header.block-full-width {
        margin-left: calc(-1 * (100vw - (100vw - 30px)) / 2);
    }
}

/* topページ　メインvisual下　検索フォーム */
/*.block-front-page-search {
    margin: 0 auto;
    padding: 0;
    width: 90%;
    max-width: 1130px !important;
    height: 46px;
    display: flex;
    gap: 10px;
    position: relative;
}

.block-front-page-search select {
    margin: 0;
    height: 46px;
    padding: 0 40px 0 12px;
    width: 200px;
    background: #EEECEC;
    border: solid 1px #A7A7A7;
    cursor: pointer;
}

.block-front-page-search input {
    margin: 0;
    width: calc(100% - 50px);
    min-height: 46px;
    border-radius: 4px 0 0 4px;
    border: solid 1px #A7A7A7;
    border-right: none;
}

.block-front-page-search .block-select {
    display: flex;
    position: relative;
}

@media (max-width:767.7px) {
    .block-front-page-search {
        margin-top:0 !important;
        flex-wrap: wrap;
        height: auto;
    }

    .block-front-page-search .block-select,
    .block-front-page-search select {
        width: 100%;
    }
}

.block-front-page-search .block-select .select-icon {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #BBBBBB;
    color: #fff;
    position: absolute;
    top: 11px;
    right: 11px;
}

.block-front-page-search .block-input-text {
    width: 100%;
    display: flex;
    position: relative;
}

.block-front-page-search .block-input-text .btn {
    margin: 0 0 0 -1px;
    padding: 0;
    width: 50px;
    height: 100%;
    color: #333;
    border-radius: 0 4px 4px 0;
    border: solid 1px #A7A7A7;
    border-left: none;
    background: #E5E5E5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-front-page-search input:focus-visible+.btn {
    outline: -webkit-focus-ring-color auto 1px;
}

.block-front-page-search .block-input-text .btn svg {
    height: 22px;
    width: 22px;
}
*/

/* topページ　Our Products */
.front-Products .wp-block-gallery.full-width {
    width: 100vw;
    max-width:100vw;
    min-height: 300px;
    padding-left:60px;
    padding-right:60px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-top: 40px;
    margin-bottom: 0;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    gap: 30px;
}

@media (max-width:1249.9px) {
    .front-Products .wp-block-gallery.full-width {
        margin-top: 0;
        width: 100vw !important;
        padding-left:30px;
        padding-right:30px;
        flex-wrap: wrap !important;
        gap: 30px 10px !important;
    }
}

.front-Products .wp-block-gallery.full-width .wp-block-image {
    aspect-ratio: 43/57;
}

.front-Products .wp-block-gallery.full-width .wp-element-caption {
    background: rgb(38 38 38 / 0);
    font-size: 1.25rem;
    font-weight: bold;
    padding: 14px 10px 24px 40px;
    color:#fff;
    text-align: left;
}

@media (max-width:839.9px) {
    .front-Products .wp-block-gallery.full-width .wp-block-image {
        min-width: calc( 50% - 10px );
        max-width: calc( 50% - 10px );
    }
}

.mini-content-container-1 {
    margin-left: calc((73vw - 640px) / 2);
    width: 640px;
    background: rgb(38 38 38 / 70%);
    padding: 20px 40px;
}

.ltg-slide-text-title {
    font-size: 28px;
}

.ltg-slide-text-caption {
    font-size: 16px;
}

/* topページ　Product Search */
.front_vk_posts {
    width: 100vw !important;
    max-width: calc( 100vw - 120px ) !important;
    margin: 40px auto 0 !important;
    gap:30px;
    flex-wrap: wrap !important;
}

.front_vk_posts + .front_vk_posts {
    margin-top: 10px !important;
}

@media (max-width:1249.9px) {
    .front_vk_posts {
        width: 100vw !important;
        max-width: 100% !important;
        margin-top: 20px !important;
        flex-wrap: wrap !important;
        gap:10px !important;
    }
}

.front_vk_posts .wp-block-column {
    display: flex;
    display: block;
}

@media (max-width:839.9px) {
    .front_vk_posts .wp-block-column {
        min-width: calc( 50% - 10px );
        max-width: calc( 50% - 10px );
        aspect-ratio: auto;
    }
    .front_vk_posts .wp-block-column.top-empty {
        display:none;
    }
    .front_vk_posts .vk_post.media .vk_post_body{
        padding:10px 0;
    }
}

.front_vk_posts .vk_post.media {
    aspect-ratio: 6/5;
    flex-wrap: nowrap;
}

.front_vk_posts .block-edit-media,
.front_vk_posts .block-edit-media figure {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.block-edit-media img {
    width: 100%;
    height: auto;
    border-radius: 4px 4px 0 0;
    aspect-ratio: 255/159;
    object-fit: cover;
}

.block-edit-media+.vk_post_body {
    margin: 0 !important;
    max-width: 100%;
}



#contents-outer .manufacturing .cold_heading {
    padding: 1% 5% 5% 5%;
}

.manufacturing table {
    margin-top: 2em;
    margin-bottom: 2em;
}

.manufacturing table .center {
    text-align: center;
}

.manufacturing table.type06 td {
    border-collapse: collapse;
    border: 1px solid #ccc !important;
    line-height: 1.5;
}

.manufacturing table.type06 th {
    padding: 10px;
    font-weight: bold;
    vertical-align: top;
    background: #E5E5E5;
    color: #333;
    border: 1px solid #ccc !important;
}

.manufacturing table td {
    width: 150px;
    padding: 10px;
    vertical-align: top;
}

.manufacturing tr:nth-child(even) {
    background: #fff;
}

.manufacturing table ul {
    margin-left: 1em;
}

.manufacturing table strong.black {
    font-size: large;
}

.manufacturing table strong.red {
    font-size: large;
    color: #FF0000;
}

.manufacturing table p.blue,
li.blue {
    color: dodgerblue;
}

.manufacturing table strong.purple {
    font-size: large;
    color: blueviolet;
}

.manufacturing table img {
    margin-top: 0.5em;
    margin-right: 0.5em;
}


/**/
.manufacturing table.no-border,
.manufacturing table.no-border * {
    border: none;

}

.manufacturing dl dt {
    margin: 0;
    padding: 0;
}

.manufacturing dl dt a {
    margin: 0;
    padding: 0;
    display: block;
}

.manufacturing dl dd a {
    margin: 0 0 0 10px;
    padding: 0;
    display: block;
}

.manufacturing ul {
    margin-bottom: 20px;
}

.manufacturing ul li {
    list-style-type: none;
}

.manufacturing img {
    margin-right: 20px;
}

.manufacturing figcaption+img {
    margin-top: 48px;
}


/* 品質管理ページ */
.post-name-quality .entry-body table th,
.post-name-quality .entry-body table td {
    font-size: 1rem;
}

.post-name-quality .entry-body table th,
.post-name-history .entry-body table th {
    white-space: nowrap;
}

/* おススメ事例 */
.post-name-case .entry-body table td {
    padding: 0;

}


/* faq 詳細ページ */
.entry.questions .entry-body {
    margin-bottom: 3em;
}

.entry-title .h-question {
    color: var(--finecs-color);
}

/* 会社概要ページ */

/* 会社案内用サブメニュー*/
.company-subnav .wp-block-button {
    min-width: 140px;
}

.company-subnav .wp-block-button a {
    width: 100%;
    color: #fff;
    background: #e5e5e5;
    text-decoration: none;
}

.company-subnav .wp-block-button.active a,
.company-subnav .wp-block-button.active:hover a {
    color: #fff;
    background: var(--finecs-color) !important;
    text-decoration: none;
}

.company-subnav .wp-block-button:hover a,
.company-subnav .wp-block-button:focus a {
    color: #fff !important;
    background: #333 !important;
}

/* 会社概要ページ内table */
.post-name-company .entry-body #main table,
.post-name-company .entry-body #main table th,
.post-name-company .entry-body #main table td {
    border: none;
    font-size: 1rem;
    padding-bottom: 1rem;
}
.post-name-company .entry-body #main table {
    padding-bottom: 0;
}

.post-name-company .entry-body #main table tr+tr th,
.post-name-company .entry-body #main table tr+tr td {
    border-top: solid 1px #ccc;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.post-name-company .entry-body #information table {
    border: 1px solid #ccc;
}

.post-name-company .entry-body #information table th {
    width: 20% !important;
    min-width: 100px !important;
    text-align: left;
    background: #e5e5e5;
    padding-top: 1rem;
    white-space: break-spaces;
}

.post-name-company .entry-body #information table td {
    width: 80% !important;
    max-width: 900px;
    text-align: left;
    padding-top: 1rem;
}

@media (max-width: 767.9px) {
    .post-name-company .entry-body #information table th {
        width: 135px !important;
        max-width: 135px !important;
        min-width: 0px !important;
    }
    .post-name-company .entry-body #information table td {
        width: auto !important;
    }
}

.post-name-company .entry-body #main table td {
    vertical-align: top;
}

.post-name-company .entry-body #main table .name {
    width: 140px;
}

.post-name-company .entry-body #main table .image {
    width: 200px;
    text-align: right;
}

@media (max-width:767.7px) {
    .post-name-company .entry-body #main table tr+tr td {
        border-top: none;
    }

    .post-name-company .entry-body #main table tr+tr {
        border-top: solid 1px #ccc;
    }

    .post-name-company .entry-body #main table td {
        display: block;
    }

    .post-name-company .entry-body #main table .image {
        width: 100%;
        text-align: center;
    }
}

/* FAQ よくある質問　questions */
/* FAQトップ　質問カテゴリから探す */
.site-body:not(.site-body--padding-vertical--off) #questions-main-search {
    margin-top: -3.5em;
    margin-bottom: 3.5em;
}

body[class*="questions"] .block-question-category {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

body[class*="questions"] .block-question-category .link-lists {
    flex: 1 1 20%;
    max-width: calc((100% - 90px) / 4);
    flex-direction: column;
    justify-content: flex-start;
}
@media (max-width:767.7px) {
   body[class*="questions"] .block-question-category .link-lists {
        flex: auto;
        max-width: 100%;
        width: 45%;
    }
}


body[class*="questions"] .block-question-category .sublink-lists {
    margin: 0;
}

.block-question-category .sublink-lists a {
    color: #03c;
    text-decoration: underline;
}

.block-question-category .sublink-lists a:hover,
.block-question-category .sublink-lists a:focus {
    color: #f00;
    text-decoration: underline;
    box-shadow: none;
}


/* FAQ一覧 */
body[class*="questions"] .post-list {
    gap: 20px;
    margin-right: 0;
}

body[class*="questions"] .post-list .questions.postListText {
    margin-right: 0;
    margin-left: 3px;
    display: flex;
    width: 100%;
    align-items: center;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

body[class*="questions"] .post-list .questions .postListText_singleTermLabel {
    float: none;
    margin-top: 0;
}

body[class*="questions"] .post-list .questions .postListText_singleTermLabel a {
    display: inline-flex;
    padding: 2px 16px;
    min-width: 120px;
    height: 26px;
    background: #E5E5E5 !important;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--main-dark-color) !important;
    text-decoration: underline;
    border-radius: 3px;
    font-weight: bold;
}

/* モバイル table 表示 */
@media (max-width:767.7px) {
    .scroll_table,
    table.scroll_table,
    .wp-block-table {
        box-shadow: inset 0px 0 6px rgb(0 0 0 / 20%);
        width: 100%;
        max-height: 60vh;
        overflow: auto;
        display: block;
    }

    .scroll_table>table,
    table.scroll_table tbody {
        width: 780px;
        max-width: 980px;
    }

    .scroll_table>table th,
    table th {
        min-width: 120px;
    }

    video {
        max-width: 100%;
    }
}

/* ページ内リンク */
.list-anchor-link li {
    border-left: solid 8px var(--bg-2-color);
    background: var(--bg-1-color);
    margin-bottom: 3px;
    padding: 0.5em;
    list-style-type: none !important;
}

table.list-anchor-link td {
    background: var(--bg-1-color);
    border-top: solid 6px #fff !important;
    border-bottom: solid 6px #fff !important;
}

table.list-anchor-link tr td:first-of-type {
    position: relative;
    vertical-align: middle;
    line-height: 1;
}

table.list-anchor-link tr td:first-of-type a {
    display: block;
    margin: 0;
    padding: 0;

}

table.list-anchor-link tr td:first-of-type::before {
    content: '';
    margin: 0;
    width: 10px;
    height: calc(100% - 1px);
    display: inline-block;
    border-left: solid 8px var(--bg-2-color) !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* philosophyページ */
.block-vision-appearance {
    margin: 2em auto 0;
    width: 92%;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.inside-company,
.vision-inside {
    z-index: 2;
    flex: 1;
    min-width: 330px;
    position: relative;
}

.inside-company::after,
.vision-inside::after {
    content: '';
    background: rgb(255 229 206 / 60%);
    mix-blend-mode: multiply;
    border-radius: 48%;
    filter: blur(8px);
    width: 108%;
    height: 100%;
    min-height: 220px;
    display: block;
    position: absolute;
    top: 0;
    left: -4%;
    z-index: 1;
}


.block-vision-appearance h4 {
    margin: 30px auto 0 !important;
    padding: 4px 20px;
    width: 320px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-align: center;
    border: solid 2px var(--finecs-color);
    border-radius: 16px;
    background: #fff;
    display: block;
    position: relative;
    z-index: 2;
}

.block-vision-appearance ul {
    margin: 0 50px 20px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.block-vision-appearance li {
    position: relative;
    list-style: none;
    text-indent: calc(-1rem - 4px);
}

.block-vision-appearance li::before {
    content: '◎';
    margin-right: 4px;
    color: var(--finecs-color);
    position: relative;
}

/* フッター上　お問合せ訴求 */
.site-body-bottom {
    margin-top:70px;
}

.site-body-bottom .widget {
    margin:0 !important;
}

.footer-finecs-cta {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom:0;
}

.footer-finecs-cta img{
    width:100%;
}

@media (min-width:768px) {
    .footer-finecs-cta.pc {
        display:block;
    }
    .footer-finecs-cta.sp {
        display:none;
    }
}

@media (max-width:767.9px) {
    .footer-finecs-cta.pc {
        display:none;
    }
    .footer-finecs-cta.sp {
        display:block;
    }
}

/** topページ ================= */

@media (min-width:1560px) {
    .home {
        --vk-width-container: 1530px !important;
    }
}

.home .container {
    max-width: 1530px;
}

@media (max-width:1249.9px) {
    .home .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.home .home-w-1100 {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1130px !important;
    width:100% !important;
}

.home .home-w-1500 {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1530px !important;
    width:100% !important;
}

.home .block-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.home .block-full-width {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width:1249.9px) {
    .home .block-full-width {
        padding-left: 30px;
        padding-right: 30px;
    }
}



.home .entry-body a:not(.wp-block-button__link) {
    padding: 0 calc(0.75rem + 16px) 2px 0;
    color: var(--finecs-color);
    text-decoration: none;
    background: url(./images/icon-Arrow.svg) 150% center no-repeat;
    background-size: 54% 54%;
    font-size: 0.75rem;
    display: inline-block;
}

.home .entry-body .wp-block-image a {
    padding: 0;
    background: none;
}

.home .vk_post.media {
    box-shadow: none;
    border-radius: 0;
    background: none;
    flex: 1;
}

.home .vk_post.media .block-edit-media img {
    border-radius: 0;
    aspect-ratio: 4/3;
}

.home .vk_post.media .vk_post_title {
    width: 100%;
    min-width: 100%;
    justify-content: flex-start;
    text-align: left;
}

.home .vk_post.media .vk_post_title a {
    font-size: 0.75rem;
}

.home .entry-body h3 {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    padding-bottom: 0;
    font-size: 2rem;
    font-weight: 900;
    border: none;
    background: none;
    letter-spacing: -0.03em;
}

@media (max-width:1249.9px) {
    .home .entry-body h3 {
        font-size: 1.67rem;
    }
}

.home .entry-body p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.home .entry-body .top-h-text-block {
    width: 100%;
    gap: 20px;
}

@media (max-width:1249.9px) {
    .home .entry-body .top-h-text-block {
        min-width: 100%;
    }
}

.home .entry-body .top-h-text-block h3 {
    width: 100%;
    font-size: 2rem;
    letter-spacing: 0.03em;
}

@media (max-width:1249.9px) {
    .home .entry-body .top-h-text-block h3 {
        font-size: 1.60rem;
    }
}

@media (max-width:767.9px) {
    .home .entry-body .top-h-text-block h3 {
        font-size: 1.4rem;
    }
}

.home .entry-body .top-h-text-block h2 {
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom:0;
}

.home .entry-body .top-h-text-block .h2-subtext:has(+ h2) {
    margin-bottom: -5px;
    color: var(--finecs-color);
    font-weight: 900;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-align: left;
}

@media (max-width:1249.9px) {
    .home .entry-body .top-h-text-block h2 {
        font-size: 1.4rem;
    }
    .home .entry-body .top-h-text-block .h2-subtext:has(+ h2) {
        margin-right: -200px;
    }
}

.home .entry-body .top-h-text-block p {
    margin: 0;
}

/* ２カラム　写真＋テキスト */
.home .entry-body .top-2col-block {
    margin-left: auto;
    margin-right: auto;
    width: 1130px;
    gap: 90px;
}

@media (max-width:1249.9px) {
    .home .entry-body .top-2col-block {
        width: 100%;
        gap: 30px;
    }
}

@media (min-width:768px) {
    .home .entry-body .top-2col-block.pc-reverse {
        padding-top: 25px;
        flex-direction: row-reverse;
    }
}

.home .entry-body .top-2col-block div {
    position: relative;
}

.home .entry-body .top-2col-block .text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home .entry-body .top-2col-block h2{
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
}

@media (max-width:1249.9px) {
    .home .entry-body .top-2col-block h2{
        font-size: 1.6rem;
    }
}

.home .entry-body .top-2col-block .h2-subtext:has(+ h2) {
    margin-bottom: -5px;
    color: var(--finecs-color);
    font-weight: 900;
    font-family: 'Oswald', 'Noto Sans JP', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-align: left;
}

.home .entry-body .top-2col-block .wp-block-image::before {
    content: '';
    background: url(./images/icon-finecs-yaji.svg) 0 0 no-repeat;
    width: 38px;
    height: 38px;
    display: block;
    position: absolute;
    bottom: -15px;
    right: -20px;
}

.home .entry-body .top-2col-block.pc-reverse .wp-block-image::before {
    top: -25px;
    left: -25px;
}

@media (max-width:767.9px) {
    .home .entry-body .top-2col-block.pc-reverse .wp-block-image{
        margin-top:25px;
        margin-left:25px;
    }

    .home .entry-body .top-2col-block.pc-reverse .wp-block-image::before {
        top: 0;
        left: 0;
    }
}

.home .entry-body .top-2col-block a.wp-block-button__link {
    padding-right: calc(0.75rem + 32px) ;
    text-decoration: none;
    background: url(./images/icon-Arrow-black.svg) 86% center no-repeat;
    background-size: 10px;
}

/* TOP Whats New 部分 */
#front-whats-new {
    padding-left: 25%;
    background:url(./images/icon-finecs-yaji.svg) 0 center no-repeat;
    background-size: 88px;
}

@media (max-width:767.9px) {
    #front-whats-new {
        padding-left: 0;
        background: none;
    }
}

.front-whats-new {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.home .entry-body .front-whats-new .wp-block-post-title {
    margin: 0 !important;
    padding: 0;
    border: none;
    width: 100%;
    min-width: 100%;
    min-height:90px;
    display: flex;
    align-items: flex-start;
}

.home .entry-body .front-whats-new .wp-block-post-title:after {
    content: none;
}

.home .entry-body .front-whats-new .wp-block-post-title a {
    background:none !important;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.6;
    color:#000;
    text-decoration: none;
}

@media (max-width:1249.9px) {
    .home .entry-body .front-whats-new .wp-block-post-title {
        min-height:auto;
    }

    .home .entry-body .front-whats-new .wp-block-post-title a {
        font-size: 0.85rem;
    }
}

@media (max-width:767.7px) {
    .home .entry-body .front-whats-new .wp-block-post-title {
        margin-top: 7px !important;
        margin-left: 0 !important;
        width: 100%;
    }
}

.front-whats-new .wp-block-post-excerpt {
    margin-top: 10px !important;
    display: flex;
    align-items: stretch;
    flex:1;
    min-width: 100%;
}

@media (max-width:1249.9px) {
    .front-whats-new .wp-block-post-excerpt {
        margin: 0 !important;
    }

    .front-whats-new .wp-block-post-excerpt a{
        margin-top: 4px !important;
    }
    .front-whats-new-block {
        margin: 10px 0 0 0 !important;
        min-width: 100%;
    }
}

.front-whats-new .wp-block-post-excerpt__excerpt {
    color: #5a5a5a;
    font-size: 0.8rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.front-whats-new .wp-block-post-excerpt__excerpt .wp-block-post-excerpt__more-link {
    margin-top:auto;
    margin-bottom:0;
    padding-right:30px;
    display: block;
    width: 5.5rem;
}

[lang='en-US'] .front-whats-new .wp-block-post-excerpt__excerpt .wp-block-post-excerpt__more-link {
    width: 6rem;
    padding-right:20px;
}

.front-whats-new-block > ul > li {
    display:flex;
    align-content: stretch;
    flex-wrap: wrap;
}

.top-articles-block {
    width:100%;
    flex-wrap: wrap;
}

.top-articles-block .wp-block-column {

}

@media (max-width:1249.9px) {
    .top-articles-block {
        margin: 0 auto 0;
        max-width: 830px !important;
        flex-wrap: wrap !important;
    }

    .top-articles-block .wp-block-column {
        width: calc( 50% - 15px)!important;
        min-width: calc( 50% - 15px);
        max-width: calc( 50% - 15px) !important;
    }
}

@media (max-width:767.9px) {
    .top-articles-block {
        margin: 0 auto 0;
        width: 220px !important;

    }
    .top-articles-block .wp-block-column {
        width: 220px !important;
        min-width: 220px !important;
    }
}


.top-articles-block .wp-block-column {
    aspect-ratio: 1/1;
}

.top-articles-block .wp-block-column > .wp-block-image img {
    width: 100%;
    max-width: auto !important;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.top-article-post {
    padding: 14px 24px;
    border:solid 4px var(--finecs-color);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.top-article-post h3 {
    width: 100%;
    font-size: 1.1rem !important;
    color:#272727;
}

.top-article-post p {
    margin: 0 !important;
    font-size: 0.8rem !important;
    color:#5a5a5a;
}

@media (max-width:767.9px) {
    .top-article-post {
        padding: 10px 10px;
    }

    .top-article-post h3 {
        margin:10px 0 0;
        padding-bottom: 10px !important;
        min-width: 100%;
        font-size: 0.8rem !important;
        color:#272727;
    }

    .top-article-post p {
        min-width: 100%;
    }
}

.top-article-post p a{
    font-size: 0.75rem !important;
}
.top-article-post p:last-of-type{
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

/* ファインネクスの強み */

.mt-30 {
    margin-top: 1.5rem !important;
}

.mt-40 {
    margin-top: 2rem !important;
}

.mt-50 {
    margin-top: 2.5rem !important;
}

.mt-60 {
    margin-top: 3rem !important;
}

.gap-30 {
    gap:30px !important;
}

.gap-40 {
    gap:40px !important;
}

.gap-50 {
    gap:50px !important;
}

.gap-60 {
    gap:60px !important;
}

.section-bg-color-1 {
    width: 100vw;
    background: var( --bg-1-color );
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 1px;
    padding-bottom: 4rem;
}

.entry-body .sec-w-1350 {
    max-width: 1350px !important;
    width:100vw !important;
    position: relative;
    margin-left: -125px !important;
    margin-right: -125px !important;
}

.entry-body .section-bg-color-1 .sec-w-1350 {
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width:1359.9px) {
    .entry-body .sec-w-1350 {
        max-width: 100vw !important;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .entry-body .section-bg-color-1 .sec-w-1350 {
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width:1249.9px) {
    .entry-body .sec-w-1350 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .entry-body .section-bg-color-1 .sec-w-1350 {
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

.entry-body .block-full-width-image {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 60px;
    padding-right: 60px;
    flex-wrap: wrap !important;
}
@media (max-width:1359.9px) {
    .entry-body .section-bg-color-1 .block-full-width-image {
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width:1249.9px) {
    .entry-body .block-full-width-image {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .entry-body .section-bg-color-1 .block-full-width-image {
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}


.sec-number-1,
.sec-number-2,
.sec-number-3,
.sec-number-4,
.sec-number-5 {
    margin: 4rem 0 0 !important;
    padding: 0 0 0 15.5rem !important;
    position: relative;
}

[class*="sec-number-"]::before {
    content:'';
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 12rem;
    line-height: 1.1;
    color: #272727;
    opacity: 0.2;
    display:inline-block;
    position: absolute;
    left:0;
}

.sec-number-1::before {
    content:'01';
}
.sec-number-2::before {
    content:'02';
}
.sec-number-3::before {
    content:'03';
}
.sec-number-4::before {
    content:'04';
}
.sec-number-5::before {
    content:'05';
}


@media (max-width:1359.9px) {
    .sec-w-1350.sec-number-1,
    .sec-w-1350.sec-number-2,
    .sec-w-1350.sec-number-3,
    .sec-w-1350.sec-number-4,
    .sec-w-1350.sec-number-5 {
        padding-left: calc( 15.5rem + 60px ) !important;
        padding-right: 60px !important;
    }

    .section-bg-color-1 .sec-w-1350[class*="sec-number-"] {
        padding-left: calc( 15.5rem + 60px ) !important;
        padding-right: 60px !important;
    }

    [class*="sec-number-"]::before {
        left: 60px ;
    }
}

@media (max-width: 1249.9px) {
    .sec-w-1350.sec-number-1,
    .sec-w-1350.sec-number-2,
    .sec-w-1350.sec-number-3,
    .sec-w-1350.sec-number-4,
    .sec-w-1350.sec-number-5 {
        padding-left: calc( 15.5rem + 30px ) !important;
        padding-right: 30px !important;
    }

    .section-bg-color-1 .sec-w-1350[class*="sec-number-"] {
        padding-left: calc( 15.5rem + 30px ) !important;
        padding-right: 30px !important;
    }

    [class*="sec-number-"]::before {
        left: 30px ;
    }
}

@media (max-width: 767.9px) {
    .sec-w-1350.sec-number-1,
    .sec-w-1350.sec-number-2,
    .sec-w-1350.sec-number-3,
    .sec-w-1350.sec-number-4,
    .sec-w-1350.sec-number-5 {
        padding-left: calc( 5.5rem + 30px ) !important;
    }

    .section-bg-color-1 .sec-w-1350[class*="sec-number-"] {
        padding-left: calc( 5.5rem + 30px ) !important;
    }

    [class*="sec-number-"]::before {
        font-size: 4.5rem;
    }

    [class*="sec-number-"] > p:last-of-type {
        min-width:calc( 100% + 5.5rem ) !important;
        margin-left: calc( 5.5rem * -1 ) !important;
    }
}


/* スライダープラグイン部分　上書き設定 */
.n2-section-smartslider .n2-ss-text a {
    background: none !important;
    padding: 0 !important;
    margin:0 10px !important;
}

.n2-section-smartslider .slider-nav {
max-width:calc( 270px * 4) !important;
}

.n2-section-smartslider .slider-nav-margin {
    margin:0 60px 0 auto !important;
    width:1400px !important;
}

@media (max-width: 1459.9px) {
    .n2-section-smartslider .slider-nav-margin {
        margin:0 30px 0 !important;
        width:100% !important;
    }
}

.n2-section-smartslider .slider-nav-list {
    max-width:270px !important;
}

@media (max-width: 767.9px) {
    .n2-section-smartslider a {
        padding:10px 5px !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.1em !important;
        word-break: break-word !important;
    }
}

@media (max-width: 499.9px) {
    [aria-label="Finecs2023-1"] .slid-image-sp img {
        aspect-ratio:390/619;
        width:100vw;
    }
}

/* デザイン調整 2023/06/01 */
/* ヘッダー全体 */
#site-header-container, .site-header, #mega-menu-wrap-global-nav, #global-nav-sub .header-menu-search {
    background: var(--main-dark-color);
}
/* 検索アイコン */
.header-menu-search input {
    border: 1px solid var(--finecs-color);
    background-color: var(--main-dark-color);
    color: #fff;
}
#global-nav-sub #check-search-pc:checked+form .btn .bi-search {
    color: var(--finecs-color);
}
#global-nav-sub #check-search-pc:checked+form .btn {
    border-left: solid 1px var(--finecs-color);
}
/* カード */
.media.vk_post:first-child {
    border: none;
}
.vk_post.media {
    box-shadow: none;
}
/* h2 要素 */
.main-section h2 {
    margin: 0 0 20px;
    padding: 0;
    border: none;
/*    font-size: 2.75rem;*/
    font-size: 40px;
    position: relative;
}
@media (max-width: 767.9px) {
    .main-section h2 {
        font-size: 25px;
    }
}
/* h3 要素 */
.main-section h3 {
    margin-top: 65px;
/*    margin-bottom: 0;*/
    margin-bottom: 10px;
    padding-left: 4rem;
    padding-bottom: 0;
/*    font-size: 2.4rem;*/
    font-size: 30px;
    font-weight: 900;
    border: none;
/*    background: url('./images/icon-h-head.svg') 0 0.6rem no-repeat;*/
    background: url('./images/icon-h-head.svg') no-repeat;
/*    background-size: contain;*/
    background-size: auto;
    background-position-y: center;
    letter-spacing: -0.03em;
}
.main-section h3:after {
    content: none;
}
@media (max-width: 767.9px) {
    .main-section h3 {
        font-size: 20px;
        background-size: 28px;
        padding-left: 2.5rem;
    }
}
/* h4 要素 */
.main-section h4 {
    font-size: 30px;
    font-weight: 900;
}
@media (max-width: 767.9px) {
    .main-section h4 {
        font-size: 20px;
    }
}
/* a 要素 */
/*body:not(.home, :not([class$="-category"])) .main-section a:not([class*="button"], [class*="btn"]),*/
body:not(.home, :not([class$="-category"])) .main-section a:not([class*="button"], [class*="btn"], [class*="page-numbers"]),
body:not(.home) .sublink-lists a {
/*    padding: 0 calc(1em + 16px) 4px 0;*/
    padding-right: 30px;
    color: var(--finecs-color);
/*    text-decoration: underline !important;*/
    background: url(./images/icon-Arrow.svg) 150% center no-repeat;
/*    background-size: 54% 54%;*/
    background-size: 20px 20px;
    background-position: right 0 center;
/*    display: inline-block;*/
    display: inline;
    text-decoration: none;
}
.vk_post_title a {
    padding: 0;
    color: var(--vk-color-text-body) !important;
    background: transparent !important;
    display: block;
}
/* a 要素 (下線取消) */
body:not(.home) a {
    text-decoration: none !important;
}
/* テーブル */
:where(:not(.wp-block-table))>table {
    border-color: var(--my-table-border-color);
}
@media (max-width: 767.9px) {
    table:not(.scroll_table) {
        overflow-x: scroll !important;
        display: inline-block !important;
        width: 100% !important;
        max-width: fit-content !important;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }
}
/* 用語集 ページ */
.vk_post-postType-questions a {
    font-size: 1rem;
}
/* よくある質問 ページ */
.post-type-questions h1.entry-title {
    font-size: 1.5rem;
}
/* 関連タグ */
.related-title-h4 {
    background: none;
    box-shadow: none;
    color: var(--main-dark-color);
}
/* ページヘッダー */
.entry-title,
div.noThumbnail > div > div > .page-header-title,
#questions-main-search .page-header-title {
    border-left: solid 4px var(--finecs-color);
    border-bottom: none !important;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    display: inline-block;
}
.entry-title,
div.noThumbnail > div > div > .page-header-title,
#questions-main-search .page-header-title {
  position: relative;
  padding-left: 20px;
}

.entry-title:before, .entry-title:after,
div.noThumbnail > div > div > .page-header-title:before, div.noThumbnail > div > div > .page-header-title:after,
#questions-main-search .page-header-title:before, #questions-main-search .page-header-title:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 4px;
  background: var(--finecs-color);
}

.entry-title:before,
div.noThumbnail > div > div > .page-header-title:before,
#questions-main-search .page-header-title:before {
  left: 0;
  top: 0;
}

.entry-title:after,
div.noThumbnail > div > div > .page-header-title:after,
#questions-main-search .page-header-title:after {
  left: 0;
  bottom: 0;
}
/* お問い合わせ */
.post-type-archive-questions ul {
    list-style-type: none;
}
/* よくあるご質問 */
.post-type-archive.post-type-archive-questions .related-faq-links {
    margin-top: 2em;
}
/*.post-type-archive.post-type-archive-questions .related-faq-links a {
    font-size: 1.5rem;
}*/
.related-faq-links {
    list-style-type: none;
}
.related-faq-links a {
    font-size: 1.5rem;
}
.post-type-archive.post-type-archive-questions .main-section h3 {
    padding-left: 0.5rem;
    background: unset;
    background-size: 22px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.post-type-archive.post-type-archive-questions .sublink-lists a {
    background: transparent !important;
}
.related-title-h3 {
    margin-bottom: 45px !important;
}
/* dictionary042 ページ */
.post-name-dictionary042 .h2-subtext {
    margin-bottom: 0;
    color: var(--finecs-color);
    font-weight: 900;
    font-family: Oswald, sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-align: left;
}
.list-anchor-link {
    list-style-type: none !important;
    padding: 0;
}
.list-anchor-link li {
    counter-increment: my-counter;
    position: relative;
    margin-bottom: 10px !important;
    line-height: 30px;
    background: transparent !important;
    border-left: none !important;
    display: flex;
    align-items: center;
}
.list-anchor-link li::before {
    content: counter(my-counter);
    display: inline-block;
    width: auto;
    height: 100%;
    background-color: var(--bg-2-color);
    color: #ffffff;
    text-align: center;
    line-height: 30px;
    padding: 5px 15px;
    box-sizing: border-box;
    vertical-align: middle;
    margin-right: 10px;
}
/* a要素 矢印削除 */
.post-type-post .postListText_title a, .post-type-post .main-section a:not(.postListText_singleTermLabel_inner, .page-numbers),
.post-type-questions .sublink-lists a, .post-type-questions .entry-body a,
.tax-questions-category .sublink-lists a, .tax-questions-category .postListText_title a,
.tax-products-category .sublink-lists a,
.tax-shapes-category .sublink-lists a,
.post-type-shapes .entry-body a:not([class*="button"], [class*="btn"], [class*="page-numbers"]), .post-type-products .entry-body a:not([class*="button"], [class*="btn"], [class*="page-numbers"]) {
    background-image: none !important;
    padding: 0 !important;
}
.post-type-post .postListText_singleTermLabel_inner {
    background-image: none !important;
    padding: 3px 15px !important;
    text-align: center;
}
/* メガメニュー 項目リンク */
.mega-disable-link > a {
    pointer-events: none !important;
    color: var(--finecs-color) !important;
}
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu {
    padding-left: 26%;
    padding-right: 26%;
}
@media (max-width: 1250px) {
    #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu {
        padding-left: 0;
        padding-right: 0;
    }
    #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-item > a.mega-menu-link {
        font-size: 16px;
    }
    #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
        font-size: 14px;
    }
    #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-item:last-child {
        padding-bottom: 10px;
    }
}
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    display: inline-block;
}
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    color: #fff;
}
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover {
    color: var(--finecs-color);
}
#mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    text-transform: none;
}
/* q043 ページ */
#post-7016 .entry-header .entry-title {
    font-size: 1.5rem;
}
/* スライダー */
.n2-ss-slider .n2-ss-item-image-content a,
.n2-ss-slider .n2-ss-item-image-content img {
    width: 100% !important;
}
.n2-ss-item-image-content a {
    background: none !important;
    padding: 0 !important;
}
div#n2-ss-2 .n2-ss-slider-3 > * {
    grid-area: auto !important;
}
div#n2-ss-2 .n2-ss-slide-limiter {
    max-width: 100% !important;
}
.n2-ss-no-bga-fixed {
    background: black !important;
}
.slid-image-sp {
    width: 100% !important;
}
@media (min-width: 768px) {
    .n2-ss-slider .n2-ss-layer-row-inner {
        justify-content: end !important;
    }
    .n2-ss-layer-row-inner > .n2-ss-layer[data-sstype="col"]:first-child {
        width: 250px !important;
        flex-grow: 0 !important;
    }
    .n2-ss-layer-row-inner > .n2-ss-layer[data-sstype="col"]:last-child {
        width: 1000px !important;
        flex-grow: 0 !important;
    }
    .slider-nav-list > .n2-ss-layer-content {
        padding: 10px 10px 10px 10px !important;
    }
    .n2-ss-slider .n2-ss-layer-with-background {
        height: 109px !important;
    }
}
.n2-ss-section-main-content > .n2-ss-layer {
    width: 100% !important;
}
@media (max-width: 1249.9px) {
    .n2-ss-layer-col .n2-ss-layer-row-inner > .n2-ss-layer[data-sstype="col"]:not(.slider-nav-list) {
        width: 50% !important;
    }
    .n2-ss-layer-row-inner > .n2-ss-layer.slider-nav-list[data-sstype="col"]:first-child {
        width: 25% !important;
        flex-grow: column !important;
    }
    .n2-ss-layer-row-inner > .n2-ss-layer.slider-nav-list[data-sstype="col"]:last-child {
        width: 25% !important;
        flex-grow: column !important;
    }
}
@media (max-width: 385px) {
    .n2-ss-text.n2-ow a {
        text-wrap: nowrap;
        writing-mode: vertical-rl;
    }
}
/* フッター */
.site-body-bottom {
    width: 100%;
}
.site-body-bottom .page-header.hasThumbnail {
    background:url('https://www.finecs.co.jp/wp/wp-content/themes/lightning-child/images/footer-cta.png') 50% 50% no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: auto;
}
.site-body-bottom .container {
    max-width: none;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}
.site-body-bottom .container .widget {
    width: 100%;
}
.site-body-bottom .container > p {
    min-height: auto;
    position: absolute;
    top: 17%;
    font-size: 2rem;
    font-weight: bold;
    left: 6%;
    font-family: 'Oswald';
}
.site-body-bottom .container > p > img {
    height: 100%;
    width: auto;
    vertical-align: middle;
    padding-left: 15px;
    pointer-events: none;
}
.site-body-bottom .page-header.hasThumbnail .wrap-page-title {
    padding: 1.6rem 0 3rem 1.5rem;
    position: absolute;
/*    right: 12%;*/
    left: 6%;
    top: 34%;
    min-height: auto;
}
.site-body-bottom .page-header.hasThumbnail .wrap-page-title:hover {
    opacity: 0.8;
}
.site-body-bottom .page-header.hasThumbnail .wrap-page-title p {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}
.site-body-bottom .page-header.hasThumbnail .wrap-page-title p:last-child {
    margin-top: 50px;
    margin-bottom: -70px;
    font-size: 0.8em;
    padding-left: 35%;
    color: var(--finecs-color);
    background: url(./images/icon-Arrow.svg) no-repeat;
    background-size: 55% 55%;
    background-position-x: 67%;
    background-position-y: 60%;
}
@media (max-width: 767.9px) {
    .site-body-bottom .page-header.hasThumbnail {
        background:url('https://www.finecs.co.jp/wp/wp-content/themes/lightning-child/images/footer-cta.png') 75% 0% no-repeat;
        background-size: cover;
    }
    .site-body-bottom .container > p {
        top: 7%;
        left: 0;
        font-size: 1.3rem;
        margin: 0 auto;
        display: block;
        width: 100%;
    }
    .site-body-bottom .container > p > img {
        display: none;
    }
    .site-body-bottom .page-header.hasThumbnail .wrap-page-title {
        top: auto;
        bottom: 10%;
    }
    .site-body-bottom .page-header.hasThumbnail .wrap-page-title p:last-child {
        margin-bottom: -60px;
    }
}
.site-footer .menu-item-has-children > a {
    color: var(--finecs-color);
    pointer-events: none;
}
.site-footer .sub-menu a:hover,
.site-footer ul.menu > li:not(.menu-item-has-children) > a:hover {
    color: var(--finecs-color);
}

/* aリンクの矢印消す ここから  */
/* 日本語 */
html[lang="ja"] .page-id-763 .site-body a:not(.wp-block-button__link), /* 企業理念 */
html[lang="ja"] .page-id-1098 .site-body a:not(.wp-block-button__link), /* 地域貢献 */
html[lang="ja"] .page-id-7742 .site-body a, /* 【新】冷間鍛造 */
html[lang="ja"] .page-id-4801 .site-body a:not(.wp-block-button__link), /* お役立ち資料一覧 */
html[lang="ja"] .page-id-8022 .site-body a, /* SDGs */
html[lang="ja"] .page-id-8126 .site-body a, /* 健康経営 */
html[lang="ja"] .page-id-8136 .site-body a, /* 労働 */
html[lang="ja"] .page-id-1389 .site-body a, /*自動車部品関連 */
html[lang="ja"] .page-id-1309 .site-body a, /*おすすめ事例 */
html[lang="ja"] .page-id-1353 .site-body a, /*ベトナム */
html[lang="ja"] .page-id-1383 .site-body a, /*ファインサート */
html[lang="ja"] .page-id-1525 .site-body a, /*流れ */
html[lang="ja"] .page-id-1357 .site-body a, /*海外発送 */
html[lang="ja"] .page-id-1438 .site-body a, /*プレスフィット */
html[lang="ja"] .page-id-1498 .site-body a, /*コネクター */
html[lang="ja"] .page-id-1513 .site-body a, /*プレス一覧 */
html[lang="ja"] .page-id-1400 .site-body a, /*ナレッジ一覧 */
html[lang="ja"] .page-id-1467 .site-body a, /*環境配慮 */
html[lang="ja"] .page-id-1448 .site-body a, /*マイクロピン */
html[lang="ja"] .page-id-1184 .site-body a, /*CM */
html[lang="ja"] .page-id-1364 .site-body a, /*個人情報 */
html[lang="ja"] .page-id-8144 .site-body a, /* 情報 */
html[lang="ja"] .page-id-9359 .site-body a /* 銅/アルミ複合電極端子 TANSETSU端子 */
{
    background-image: none !important;
    padding: 0 !important;
}
/* 英語 */
html[lang="en-US"] .page-id-33 .site-body a:not(.wp-block-button__link), /* 企業理念 */
html[lang="en-US"] .page-id-5117 .site-body a:not(.wp-block-button__link), /* 地域貢献 */
html[lang="en-US"] .page-id-5317 .site-body a, /* 冷間鍛造 */
html[lang="en-US"] .page-id-5114 .site-body a, /* 【新】冷間鍛造 */
html[lang="en-US"] .page-id-3337 .site-body a:not(.wp-block-button__link), /* お役立ち資料一覧 */
html[lang="en-US"] .page-id-5121 .site-body a, /* SDGs */
html[lang="en-US"] .page-id-5127 .site-body a, /* 健康経営 */
html[lang="en-US"] .page-id-5125 .site-body a, /* 労働 */
html[lang="en-US"] .page-id-87 .site-body a, /*自動車部品関連 */
html[lang="en-US"] .page-id-351 .site-body a, /*おすすめ事例 */
html[lang="en-US"] .page-id-300 .site-body a,  /*ベトナム */
html[lang="en-US"] .page-id-103 .site-body a, /*ファインサート */
html[lang="en-US"] .page-id-66 .site-body a, /*流れ */
html[lang="en-US"] .page-id-358 .site-body a, /*海外発送 */
html[lang="en-US"] .page-id-154 .site-body a, /*プレスフィット */
html[lang="en-US"] .page-id-213 .site-body a, /*コネクター */
html[lang="en-US"] .page-id-154 .site-body a, /*プレス一覧 */
html[lang="en-US"] .page-id-183 .site-body a, /*環境配慮 */
html[lang="en-US"] .page-id-164 .site-body a, /*マイクロピン */
html[lang="en-US"] .page-id-305 .site-body a, /*CM */
html[lang="en-US"] .page-id-354 .site-body a, /*個人情報 */
html[lang="en-US"] .page-id-5129 .site-body a /* 情報 */

{
    background-image: none !important;
    padding: 0 !important;
}

/* 矢印付きリンク */
a.arrow-link {
    padding: 0 calc(1em + 16px) 4px 0;
    color: var(--finecs-color);
    background: url(./images/icon-Arrow.svg) 150% center no-repeat;
    background-size: 54% 54%;
    display: inline-block;
    text-decoration: none;
}

/* 評価センター ページ */
/* 日本語 */
html[lang="ja"] .page-id-7923 h2, html[lang="ja"] .page-id-7923 p {
    margin: 0;
}
html[lang="ja"] .page-id-7923 .title-content {
    margin-top: 30px;
    margin-bottom: 5px;
}
html[lang="ja"] .page-id-7923 .heading-content {
    margin-bottom: 35px;
}
html[lang="ja"] .page-id-7923 .wp-block-table :is(table,thead,tbody,tfoot,th,td) {
    border: none;
    border-bottom: 1px solid lightgrey;
    border-top: 1px solid lightgrey;
}
html[lang="ja"] .page-id-7923 .wp-block-table table {
    table-layout: fixed;
}
html[lang="ja"] .page-id-7923 .col-2 .wp-block-table table td:nth-child(1) {
    width: 35%;
}
html[lang="ja"] .page-id-7923 .col-2 .wp-block-table table td:nth-child(2) {
    width: 65%;
}
html[lang="ja"] .page-id-7923 .is-layout-constrained .wp-block-columns {
    margin: 0 !important;
}
html[lang="ja"] .page-id-7923 .remarks {
    margin-top: 70px !important;
    font-size: 0.8rem;
}
html[lang="ja"] .page-id-7923 .wp-block-separator {
    margin: 50px 0 !important;
}
@media (max-width: 767.9px) {
    html[lang="ja"] .page-id-7923 :is(.scroll_table, table.scroll_table, .wp-block-table) {
        box-shadow: none;
    }
    html[lang="ja"] .page-id-7923 .remarks {
        margin-top: 0 !important;
    }
}
/* 英語 */
html[lang="en-US"] .page-id-5099 h2, html[lang="en-US"] .page-id-5099 p {
    margin: 0;
}
html[lang="en-US"] .page-id-5099 .title-content {
    margin-top: 30px;
    margin-bottom: 5px;
}
html[lang="en-US"] .page-id-5099 .heading-content {
    margin-bottom: 35px;
}
html[lang="en-US"] .page-id-5099 .wp-block-table :is(table,thead,tbody,tfoot,th,td) {
    border: none;
    border-bottom: 1px solid lightgrey;
    border-top: 1px solid lightgrey;
}
html[lang="en-US"] .page-id-5099 .wp-block-table table {
    table-layout: fixed;
}
html[lang="en-US"] .page-id-5099 .col-2 .wp-block-table table td:nth-child(1) {
    width: 35%;
}
html[lang="en-US"] .page-id-5099 .col-2 .wp-block-table table td:nth-child(2) {
    width: 65%;
}
html[lang="en-US"] .page-id-5099 .is-layout-constrained .wp-block-columns {
    margin: 0 !important;
}
html[lang="en-US"] .page-id-5099 .remarks {
    margin-top: 70px !important;
    font-size: 0.8rem;
}
html[lang="en-US"] .page-id-5099 .wp-block-separator {
    margin: 50px 0 !important;
}
@media (max-width: 767.9px) {
/*    html[lang="en-US"] .page-id-5099 h3 {
        background-size: inherit;
    }*/
    html[lang="en-US"] .page-id-5099 :is(.scroll_table, table.scroll_table, .wp-block-table) {
        box-shadow: none;
    }
    html[lang="en-US"] .page-id-5099 .remarks {
        margin-top: 0 !important;
    }
    .scroll_table, .wp-block-table,
    .scroll_table table, .wp-block-table table {
        box-shadow: none;
        border:none;
    }
    :where(:not(.wp-block-table))>table :is(thead,tbody,tfoot,th,td) {
        border-color: lightgrey;
    }
}

/* 製品ページ・端子ページからシャドウ除去 */
:is(.single-products, .single-shapes) :is(ul.image li img, .img-border) {
    box-shadow: none;
}
/* テーブル枠線削除 */
.postid-2037 .wp-block-table :is(table,thead,tbody,tfoot,th,td) {
    border: none;
}

/* 製品名から探す リストスタイル変更 */
/* 日本語 */
html[lang="ja"] .page-id-8354 .wp-block-column li {
    list-style-type: square;
    color: var(--finecs-color);
}
/* 英語 */
html[lang="en-US"] .page-id-4793 .wp-block-column li {
    list-style-type: square;
    color: var(--finecs-color);
}

/* 画像を縦に並べる（モバイル） */
@media (max-width: 767.9px) {
    :is(.single-shapes, .single-products) .entry-body ul.image li {
        width: 100% !important;
        max-width: 100% !important;
    }
    .parent-pageid-1400 .is-layout-flex {
        flex-flow: column !important;
        row-gap: 15px !important;
    }
    .parent-pageid-1400 .wp-block-image {
        width: 100% !important;
    }
}
/* タイトルアイコン非表示（モバイル） */
@media (max-width: 767.9px) {
    /* 日本語 */
    :is(html[lang="ja"] .page-id-8126, html[lang="ja"] .page-id-8136, html[lang="ja"] .page-id-1098, html[lang="ja"] .page-id-8022) .is-not-stacked-on-mobile div:first-child {
        display: none !important;
    }
    :is(html[lang="ja"] .page-id-8126, html[lang="ja"] .page-id-8136, html[lang="ja"] .page-id-1098, html[lang="ja"] .page-id-8022) .is-not-stacked-on-mobile div:last-child {
        flex-basis: 100% !important;
    }
    /* 英語 */
    :is(html[lang="en-US"] .page-id-5117, html[lang="en-US"] .page-id-5121, html[lang="en-US"] .page-id-5127, html[lang="en-US"] .page-id-5125) .is-not-stacked-on-mobile div:first-child {
        display: none !important;
    }
    :is(html[lang="en-US"] .page-id-5117, html[lang="en-US"] .page-id-5121, html[lang="en-US"] .page-id-5127, html[lang="en-US"] .page-id-5125) .is-not-stacked-on-mobile div:last-child {
        flex-basis: 100% !important;
    }
}
/* 画像表示崩れ対応（モバイル） */
@media (max-width: 767.9px) {
    .single-shapes img:has(+h2) {
        float: none !important;
        margin: 0 auto !important;
        display: block !important;
    }
}
/* ヘッダー固定対応（モバイル） */
@media (max-width: 1249.9px) {
    #site-header {
        position: fixed;
        top: 0;
        z-index: 99998;
    }
    #site-header + * {
        padding-top: 60px !important;
    }
}
/* フッター画像崩れ対応（モバイル/Safari） */
@media (max-width: 767.9px) {
    .site-body-bottom .container {
        height: 100vh !important;
        display: contents !important;
    }
}
/* 画像はみ出し対応（モバイル） */
@media (max-width: 767.9px) {
    figure.size-full, figure.size-full img {
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* フッター画像最適化対応（モバイル） */
@media (max-width: 767.9px) {
    .site-footer figure.size-full img {
        width: 30% !important;
    }
}
/* リストテキスト最適化対応（モバイル） */
@media (max-width: 767.9px) {
    li {
        font-size: 0.86rem;
    }
}
/* メニュー開閉時透過背景表示 */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}
#mega-menu-wrap-global-nav {
    z-index: 1000;
    background: transparent;
    height: fit-content;
}
/* テーブル見出し固定 */
@media (max-width: 767.9px) {
    /* 評価センター */
    :is(.page-id-7923, .page-id-5099) table.freeze-row {
        height: 380px;
    }
    :is(.page-id-7923, .page-id-5099) table.freeze-row tr:first-child td {
        position: sticky;
        top: 0;
    }
    :is(.page-id-7923, .page-id-5099) .wp-block-table::-webkit-scrollbar {
        display: none;
    }
    :is(.page-id-7923, .page-id-5099) table.freeze-row tr:first-child td {
        background: #fff;
        border: none;
    }
    :is(.page-id-7923, .page-id-5099) table.freeze-row tr:nth-child(2) td {
        border: none;
    }
    :is(.page-id-7923, .page-id-5099) table.freeze-row tr:first-child td:before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: 100%;
        height: 100%;
        border-top: 1px solid lightgrey;
        border-bottom: 1px solid lightgrey;
    }
    /* 冷間鍛造 */
    :is(.page-id-7742, .page-id-5317) table.freeze-row {
        height: 500px;
    }
    :is(.page-id-7742, .page-id-5317) table.freeze-row thead tr th {
        position: sticky;
        top: 0px;
        box-shadow: 0 -1px 0 lightgrey inset, 0 1px 0 lightgrey inset;
        border-top: none;
    }
    :is(.page-id-7742, .page-id-5317) table.freeze-row thead tr th {
        background: #fff;
        border-bottom: none;
    }
    :is(.page-id-7742, .page-id-5317) table.freeze-row tbody tr:first-child :is(th,td) {
        border-top: none;
    }
/*    :is(.page-id-7742, .page-id-5317) table.freeze-row tr:first-child th:before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: 100%;
        height: 100%;
        border-top: 1px solid lightgrey;
        border-bottom: 1px solid lightgrey;
    }*/
    /* ベトナム事務所 */
    :is(.page-id-1353, .page-id-300) .scroll_table table.freeze-row.freeze-col {
        height: 380px;
    }
    :is(.page-id-1353, .page-id-300) table.freeze-row tr:first-child th {
        position: sticky;
        top: 0;
        z-index: 999;
    }
    :is(.page-id-1353, .page-id-300) table.freeze-row tr:first-child th {
        background: #eeecec;
        border-bottom: none;
    }
    :is(.page-id-1353, .page-id-300) table.freeze-row tr:nth-child(2) :is(td,th) {
        border-top: none;
    }
    :is(.page-id-1353, .page-id-300) table.freeze-row tr:first-child th:before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: 100%;
        height: 100%;
        border-top: 1px solid lightgrey;
        border-bottom: 1px solid lightgrey;
    }
    :is(.page-id-1353, .page-id-300) table.freeze-col tr:nth-child(n+2) th {
        position: sticky;
        left: 0;
        background: #eeecec;
        border-right: 0;
    }
    :is(.page-id-1353, .page-id-300) table.freeze-col tr:nth-child(n+2) td:first-of-type {
        border-left: none;
    }
    :is(.page-id-1353, .page-id-300) table.freeze-col tr:nth-child(n+2) th:before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: 101%;
        height: 100%;
        border-left: 1px solid lightgrey;
        border-right: 1px solid lightgrey;
    }
}
/* スライダー表示バグ修正 */
@media screen and (min-width:500px) and (max-width:565px) {
    .n2-ss-layer.n2-ow.n2-ss-layer--block.n2-ss-has-self-align.slider-nav > .n2-ss-layer-row.n2-ss-layer-with-background {
        padding: 25px 0px 25px 0px !important;
        margin-top: 5px;
    }
}
/* 地域貢献 */
.post-name-contribution table td ul {
    padding: 0;
}
/* メガメニュー副項目をクリック可能に */
.mega-menu-item:not(.mega-disable-link) > .mega-menu-link > .mega-indicator {
    display: none !important;
}
/* 冷間鍛造 テーブル枠線非表示対応 */
.post-name-cold-forging table.type06,
.post-name-center table.freeze-row,
.post-name-sdgs table {
    border: none !important;
}
:is(.post-name-cold-forging, .post-name-center, .post-name-sdgs) :where(:not(.wp-block-table))>table :is(thead,tbody,tfoot,th,td) {
    border-color: lightgray !important;
}
/* 評価センター マージン対応 */
@media (max-width: 767.9px) {
    .post-name-center .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: 100%;
    }
    .post-name-center table.freeze-row tr:first-child td:nth-child(2) {
        width: 35%;
    }
    .post-name-center table:not(.scroll_table) {
        width: 100% !important;
        max-width: 100% !important;
        display: table !important;
    }
}

/* Mars Finder上書き */
.mf_finder_searchBox_category_opt_1 {
    display: none;
}
.mf_finder_searchBox_suggest_items {
    display: none;
}

/* FAQページ Mars Finder上書き */
.mf_finder_searchBox * {
    max-width: 1130px !important;
    height: 46px;
}

.mf_finder_searchBox_query_wrap {
    width: 1080px;
}

.mf_finder_searchBox_query_input {
    border-radius: 4px 0 0 4px !important;
    border-top: solid 1px #A7A7A7 !important;
    border-left: solid 1px #A7A7A7 !important;
    border-right: none !important;
    border-bottom: solid 1px #A7A7A7 !important;
}

.mf_finder_searchBox_submit {
    width: 50px;
    font-size: 0px;
    background-color: #E5E5E5;
    color: #000;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22currentColor%22%20class%3D%22bi%20bi-search%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E') !important;
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 50% 50%;
    border-radius: 0 4px 4px 0 !important;
    border-top: solid 1px #A7A7A7 !important;
    border-left: none !important;
    border-right: solid 1px #A7A7A7 !important;
    border-bottom: solid 1px #A7A7A7 !important;
}

/* 検索結果ページ */
.search_result form{
    margin-left: auto;
    margin-right: auto;
}

.search_result.mf_finder_container {
    display: none;
}

.mf_finder_searchBox {
/*    display: none;*/
}

#questions-main-search .mf_finder_searchBox,
.mf_finder_container.block-front-page-search .mf_finder_searchBox {
    display: block;
}

.block-front-page-search {
    margin-top: 20px;
/*    display: none;*/
}

.mf_finder_searchBox * {
    height: auto;
}
.mf_finder_searchBox_misc {
    display: none;
}
.mf_finder_searchBox_selects .mf_finder_searchBox_category:before {
    display: none !important;
}

.post-name-search-result :is(.mf_finder_organic_docs_wrapper, .mf_finder_organic_wrapper) a:not(.wp-block-button__link) {
    padding: 0;
    background: unset;
}

.mf_finder_organic_doc_url {
    margin: 0;
    display: inline-flex;
    font-size: 65%;
}

.mf_finder_organic_doc_url span {
    width: auto;
    height: 15px;
}
@media (max-width: 767.9px) {
    .mf_finder_organic_doc_url span {
        height: auto;
    }
}

.mf_finder_logo {
    display: none;
}

.mf_finder_pager_item_first {
    display: none;
}

.mf_finder_pager_items li a {
    background: black !important;
    padding: 0.25rem 0.75rem !important;
    color: white !important;
}

.mf_finder_pager_item_current {
    margin-top: -5px !important;
}

.search_result .mf_finder_searchBox_doctype {
    min-width: 80px;
}

.search_result .mf_finder_searchBox_category {
    min-width: 235px;
}
.search_result .mf_finder_searchBox_selects {
    padding: 1.5rem;
    display: flex;
    flex-wrap: nowrap;
}

.search_result .mf_finder_searchBox_selects select {
    width: auto;
}

.search_result .mf_finder_searchBox_misc {
    width: 400px;
    float: right;
    margin-left: 10px;
}

.search_result .mf_finder_searchBox_imgsize {
    display: none;
}

.search_result .mf_finder_organic_wrapper {
    margin-top: 90px;
}

.mf_finder_organic_doc_img_wrapper.mf_gui_img_frame {
    display: none;
}

.search_result .router-link-active {
    word-wrap: normal;
}

.search_result .mf_finder_logo {
    display: none;
}

@media (max-width: 530px) {
    .search_result .mf_finder_searchBox_selects {
        display: block;
    }

    .search_result .mf_finder_organic_wrapper {
        margin-top: 130px;
    }

    .search_result .mf_finder_searchBox_misc {
        width: 400px;
        float: left;
        margin-left: 0;
    }
}

@media (max-width: 429px) {
    .search_result .mf_finder_searchBox_misc {
        width: 400px;
        display: contents;
        float: left;
        margin-left: 0;
    }
}

/* pcヘッダー MarsFinder上書き */
.mf-header-form {
    flex-direction: row-reverse;
}

.mf-header-form .mf_finder_searchBox_items {
    padding: 0;
    align-items: start !important;
}
.mf-header-form .mf_finder_searchBox_query_wrap {
    width: initial;
}

.mf-header-form .mf_finder_searchBox_query_input {
    height: 50px !important;
    border: 1px solid var(--finecs-color) !important;
    background-color: var(--main-dark-color);
    color: #fff;
}

.mf-header-form .mf_finder_searchBox_submit {
    min-width: 50px;
    height: 50px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23ED8A01%22%20class%3D%22bi%20bi-search%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E') !important;
    background-repeat: no-repeat;
    background-size: 22px;
    background-color: var(--main-dark-color);
    background-position: 50% 50%;
    border-radius: 0 4px 4px 0 !important;
    border-top: solid 1px var(--finecs-color) !important;
    border-left: none !important;
    border-right: solid 1px var(--finecs-color) !important;
    border-bottom: solid 1px var(--finecs-color) !important;
}

/* spヘッダー MarsFinder上書き */
.mf-sp-header-form {
    display: none;
}

@media (max-width: 1249.7px) {
    .mf-sp-header-form {
        max-width: 500px;
        width: 100%;
        margin-top: 243px;
        z-index: 1001;
    }

    .mf-sp-header-form .mf_finder_searchBox {
        margin-left: 5.6%;
    }

    .mf-sp-header-form .mf_finder_searchBox_items {
        padding: 0;
        align-items: start !important;
        width: 473px;
    }

    .mf-sp-header-form .mf_finder_searchBox_query_wrap {
        width: initial;
    }

    .mf-sp-header-form .mf_finder_searchBox_query_input {
        height: 40px !important;
        border: 1px solid var(--finecs-color) !important;
        background-color: var(--main-dark-color);
        color: #fff;
    }

    .mf-sp-header-form .mf_finder_searchBox_submit {
        height: 40px;
        background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%23ED8A01%22%20class%3D%22bi%20bi-search%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E') !important;
        background-repeat: no-repeat;
        background-size: 22px;
        background-color: #fff;
        background-position: 50% 50%;
        border-radius: 0 4px 4px 0 !important;
        border-top: solid 1px var(--finecs-color) !important;
        border-left: none !important;
        border-right: solid 1px var(--finecs-color) !important;
        border-bottom: solid 1px var(--finecs-color) !important;
    }

    .header-menu-search {
        padding-bottom: 40px;
    }
}

@media (max-width: 590px) {
    .mf-sp-header-form .mf_finder_searchBox_items {
        width: 100%;
        margin-left: 23px;
    }
    .mf-sp-header-form .mf_finder_searchBox {

        margin-left: inherit;
    }
}

@media (max-width: 548px) {
    .mf-sp-header-form .mf_finder_searchBox_items {
        margin-left: 0;
    }
}

/* メガメニュー 子メニューインデント調整 */
@media (min-width: 1250px) {
    #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-item:nth-child(2) ul.mega-sub-menu li.mega-menu-item {
        text-indent: -3.35em;
    }
    #mega-menu-wrap-global-nav #mega-menu-global-nav > li.mega-menu-item:not(:nth-child(2)) ul.mega-sub-menu li.mega-menu-item {
        text-indent: -2.3em;
    }
}

/* 表示順修正（資料ダウンロードページ） */
@media (max-width: 767.9px) {
    :is(.page-id-4801, .page-id-3337) .is-layout-flex.wp-block-columns {
        flex-direction: column;
    }
    :is(.page-id-4801, .page-id-3337) .is-layout-flex.wp-block-columns > .is-layout-flow:first-child {
        order: 2;
    }
    :is(.page-id-4801, .page-id-3337) .is-layout-flex.wp-block-columns > .is-layout-flow:last-child {
        order: 1;
    }
    :is(.page-id-4801, .page-id-3337) .is-layout-flex.wp-block-columns > .is-layout-flow:last-child h4 {
        margin-top: 10px !important;
    }
    :is(.page-id-4801, .page-id-3337) .is-layout-flex.wp-block-columns > .is-layout-flow:last-child .wp-block-spacer {
        display: none;
    }
}

@media (max-width: 1350px) {
    #global-nav-sub {
        gap: 10px;
    }
    .header-menu-search span.pc-only {
        display: none;
    }
}