/* ============================================================
   KCC Theme - Main Stylesheet
   既存サイト（k-c-c.co.jp）のデザインを再現
   ============================================================ */


/* ============================================================
   RESET / BASE
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Meiryo", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: #006dd9;
    text-decoration: none;
}

a:visited {
    color: #7f5ad7;
}

a:hover {
    color: #006dd9;
    text-decoration: underline;
}

a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0 0 1em;
}

h2 {
    font-size: 1.3em;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.kcc-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.mgnBtm {
    margin-bottom: 50px;
}

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

    .kcc-container,
    .narrow-container {
        padding: 0 12px;
    }
}


/* ============================================================
   HEADER
   WordPress用：元サイトヘッダー寄せ
   ============================================================ */

#site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border: none;
}

/* 上段：ロゴ + 右上ナビ */
.header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 960px;
    min-height: 75px;
    margin: 0 auto;
    padding: 20px 10px 0;
}

/* ロゴ */
.site-logo {
    width: 126px;
    margin: 0;
    line-height: 2;
}

.site-logo a,
.site-logo .custom-logo-link {
    display: block;
}

.site-logo img,
.site-logo .custom-logo {
    display: block;
    width: 126px;
    height: auto;
}

/* 右上ナビ：お問い合わせ / 個人情報保護方針 */
.header-sub-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-sub-nav a,
.header-sub-nav a:visited {
    display: block;
    padding: 5px 20px 5px 15px;
    color: #000;
    font-size: 0.9em;
    line-height: 1.5;
    text-decoration: none;
    background-image: url('../images/cmn/marker_gray.png');
    background-repeat: no-repeat;
    background-position: 0 center;
    background-size: 5px 8px;
}

.header-sub-nav a:hover {
    color: #999999;
    text-decoration: underline;
}

/* お問い合わせボタン */
.header-sub-nav .btn-contact,
.header-sub-nav .btn-contact:visited {
    padding: 5px 40px;
    border: 1px solid #a37300;
    color: #a37300;
    background-image: url('../images/cmn/marker_brown.png');
    background-repeat: no-repeat;
    background-position: 5px 10px;
    background-size: 5px 8px;
}

.header-sub-nav .btn-contact::before {
    content: none;
    display: none;
}

.header-sub-nav .btn-contact:hover {
    color: #fff;
    background-color: #a37300;
    background-image: url('../images/cmn/marker_white.png');
    background-repeat: no-repeat;
    background-position: 5px 10px;
    background-size: 5px 8px;
    text-decoration: none;
}

/* グローバルナビ */
#global-nav {
    background: #fff;
    border: none;
}

.global-nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.global-nav-list {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.global-nav-list>li {
    flex: 1 1 20%;
    margin: 0 1px;
    text-align: center;
}

.global-nav-list>li>a,
.global-nav-list>li>a:visited {
    display: block;
    padding: 10px 10px 10px 25px;
    color: #333;
    font-size: 0.94em;
    font-weight: normal;
    line-height: 1.5;
    text-decoration: none;
    border-top: 4px solid transparent;
    border-bottom: 3px solid transparent;
    background-image: url('../images/cmn/marker_gray.png');
    background-repeat: no-repeat;
    background-position: 15px 18px;
    background-size: 5px 8px;
    transition: border 0.25s ease-out;
}

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

.global-nav-list>li>a:hover,
.global-nav-list>li.current-menu-item>a,
.global-nav-list>li.current_page_item>a,
.global-nav-list>li.current-menu-ancestor>a,
.global-nav-list>li.current_page_ancestor>a {
    color: #ababab;
    text-decoration: none;
    border-bottom: 3px solid #72bf58;
    background-image: url('../images/cmn/marker_green.png');
}

@media screen and (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

/* スマホヘッダー */
@media screen and (max-width: 1023px) {
    #site-header {
        z-index: 1920;
        background: #fff;
        border: none;
    }

    .header-top {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: none;
        min-height: 83px;
        height: 83px;
        margin: 0;
        padding: 0 5px;
    }

    .header-sub-nav {
        display: none;
    }

    .site-logo {
        width: 126px;
        margin: 0 0 0 5px;
        line-height: 1;
    }

    .site-logo img,
    .site-logo .custom-logo {
        width: 126px;
    }

    .nav-toggle {
        position: absolute;
        top: 17px;
        right: 10px;
        display: block;
        width: 45px;
        height: 45px;
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        text-align: center;
        z-index: 2000;
    }

    .nav-toggle span {
        position: absolute;
        left: 50%;
        display: block;
        width: 22px;
        height: 2px;
        margin: 0;
        border-radius: 1px;
        background-color: #72bf58;
        transition: 0.3s all;
        transform: translateX(-50%);
    }

    .nav-toggle span:nth-child(1) {
        top: 5px;
    }

    .nav-toggle span:nth-child(2) {
        top: 12px;
    }

    .nav-toggle span:nth-child(3) {
        top: 19px;
    }

    .nav-toggle::after {
        content: "menu";
        position: absolute;
        top: 25px;
        left: 0;
        display: block;
        width: 100%;
        color: #000;
        font-size: 14px;
        font-weight: normal;
        line-height: 1;
        text-align: center;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        top: 12px;
        transform: translateX(-50%) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        top: 12px;
        transform: translateX(-50%) rotate(-45deg);
    }

    #global-nav {
        display: none;
        position: absolute;
        top: 83px;
        left: 0;
        right: 0;
        background: #333;
        border: none;
        box-shadow: none;
        z-index: 1900;
    }

    #global-nav.is-open {
        display: block;
    }

    .global-nav-inner {
        max-width: none;
        padding: 0;
    }

    .global-nav-list {
        display: block;
        width: 100%;
    }

    .global-nav-list>li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #ccc;
        text-align: left;
    }

    .global-nav-list>li>a,
    .global-nav-list>li>a:visited {
        display: block;
        padding: 10px 10px 10px 30px;
        color: #fff;
        font-size: 16px;
        font-weight: normal;
        text-decoration: none;
        border: none;
        background-image: url('../images/cmn/marker_white.png');
        background-repeat: no-repeat;
        background-position: 15px 18px;
        background-size: 5px 8px;
    }

    .global-nav-list>li>a:hover {
        color: #fff;
        background-color: #4d4d4d;
        text-decoration: none;
    }
}


/* ============================================================
   HERO / SLIDER
   ============================================================ */

.hero-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: none;
}

.hero-slider .js-slider,
.hero-slider .slide-item {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider .slide-item {
    position: relative;
}

.hero-slider .slide-item img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: initial;
}

/* ドット */
.hero-slider .slick-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    z-index: 5;
    display: flex !important;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(-50%);
}

.hero-slider .slick-dots li {
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
}

.hero-slider .slick-dots li button {
    display: block;
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none;
}

.hero-slider .slick-dots li.slick-active button {
    background: #c41134;
}

.hero-slider .slick-dots li button:hover,
.hero-slider .slick-dots li button:focus,
.hero-slider .slick-dots li button:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.hero-slider .slick-dots li button::before {
    content: none !important;
    display: none !important;
}

/* 左右矢印 */
.hero-slider .slick-next,
.hero-slider .slick-prev {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: block;
    width: 19px;
    height: 60px;
    margin-top: -29px;
    padding: 0;
    border: none;
    outline: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 19px 60px;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: none;
}

.hero-slider .slick-prev {
    left: 10px;
    background-image: url('../images/marker/icon_white_arrow_left.png');
}

.hero-slider .slick-next {
    right: 10px;
    background-image: url('../images/marker/icon_white_arrow_right.png');
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-prev:focus,
.hero-slider .slick-next:hover,
.hero-slider .slick-next:focus {
    border: none;
    outline: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 19px 60px;
    color: transparent;
    box-shadow: none;
}

.hero-slider .slick-prev::before,
.hero-slider .slick-next::before {
    content: none !important;
    display: none !important;
}


/* ============================================================
   FRONT PAGE
   固定ページ「トップページ」本文で編集するエリア
   ============================================================ */

.front-page-editable-content {
    width: 100%;
}

/* トップコピー */
.front-page-editable-content .top-copy-section {
    max-width: 960px;
    margin: 90px auto;
    padding: 0 20px;
    text-align: center;
}

.front-page-editable-content .top-copy-section h2 {
    display: block;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 3px solid #aaa;
    background: none;
    color: #000;
    font-size: 1.3em;
    font-weight: normal;
    line-height: 1.6;
}

.front-page-editable-content .top-copy-section h2 br {
    display: none;
}

/* 事業内容 */
.front-page-editable-content .top-business-section {
    position: relative;
    left: 50%;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: #424242;
    color: #fff;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.front-page-editable-content .top-business-section>.wp-block-group__inner-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.front-page-editable-content .top-business-title {
    flex: 0 0 19%;
    width: 19%;
    min-height: 392px;
    margin: 0 !important;
    padding: 0 20px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    box-sizing: border-box;
}

.front-page-editable-content .top-business-title>.wp-block-group__inner-container {
    margin: 0;
}

.front-page-editable-content .top-business-title h2 {
    margin: 0 0 20px;
    padding-bottom: 24px;
    border-bottom: 3px solid #fff;
    background: none;
    color: #fff;
    font-size: 1.3em;
    font-weight: normal;
    line-height: 1.4;
}

.front-page-editable-content .top-business-title p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 2;
}

.front-page-editable-content .top-business-columns {
    flex: 1 1 81%;
    width: 81%;
    display: flex !important;
    gap: 0 !important;
    align-items: stretch;
    margin: 0 !important;
}

.front-page-editable-content .top-business-columns .wp-block-column {
    flex: 1 1 33.333% !important;
    margin: 0 !important;
}

.front-page-editable-content .top-business-card {
    position: relative;
    min-height: 392px !important;
    height: 392px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.front-page-editable-content .top-business-card .wp-block-cover__background {
    opacity: 0 !important;
    transition: opacity 0.5s ease-out;
}

.front-page-editable-content .top-business-card:hover .wp-block-cover__background {
    opacity: 0.45 !important;
}

.front-page-editable-content .top-business-card .wp-block-cover__image-background {
    transition: transform 0.5s ease-out;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    will-change: transform;
}

.front-page-editable-content .top-business-card:hover .wp-block-cover__image-background {
    transform: scale(1.05);
    opacity: 1 !important;
}

.front-page-editable-content .top-business-card .wp-block-cover__inner-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    color: #fff;
    z-index: 2;
}

.front-page-editable-content .top-business-copy {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 10px;
    color: #000;
    font-size: 14px;
    line-height: 1.7;
}

.front-page-editable-content .top-business-card h3 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 10px 0 0;
    padding: 10px 0 10px 30px;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url('../images/cmn/marker_white.png');
    background-repeat: no-repeat;
    background-position: 15px 19px;
    background-size: 5px 8px;
    color: #fff;
    font-size: 1.3em;
    font-weight: normal;
    line-height: 1.4;
    box-sizing: border-box;
}

.front-page-editable-content .top-business-card h3::before {
    content: none;
    display: none;
}

.front-page-editable-content .top-business-card h3 a,
.front-page-editable-content .top-business-card h3 a:visited {
    color: #fff;
    text-decoration: none;
}

.front-page-editable-content .top-business-card h3 a:hover {
    text-decoration: underline;
}

.front-page-editable-content .top-business-desc {
    position: absolute;
    left: 0;
    bottom: 55px;
    margin: 0;
    padding: 10px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.front-page-editable-content .top-business-card:hover .top-business-desc {
    opacity: 1;
}

/* トップニュース */
.news-section {
    padding: 90px 0 60px;
    background: #fff;
}

.news-columns {
    display: flex;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.news-column {
    width: calc(50% - 20px);
}

.news-column-header {
    position: relative;
    display: block;
    margin: 0 0 25px;
    padding: 0 0 30px;
    border-bottom: 3px solid #aaa;
}

.news-column-header h2 {
    margin: 0;
    color: #333;
    font-weight: normal;
    line-height: 1.4;
}

.news-column-header .more-link,
.news-column-header .more-link:visited {
    position: absolute;
    right: 0;
    bottom: -28px;
    display: inline-block;
    padding-left: 28px;
    color: #000;
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
}

.news-column-header .more-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #cfd2d3;
    transform: translateY(-50%);
}

.news-column-header .more-link::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.news-column-header .more-link:hover {
    color: #999999;
    text-decoration: underline;
}

.news-list {
    margin: 45px 0 0;
    padding: 0;
    list-style: none;
}

.news-list li {
    margin: 0;
    padding: 10px 0 14px;
    border-bottom: 1px solid #e5e5e5;
    transition: background 0.2s ease;
}

.news-list li:hover {
    background: #eee;
}

.news-list .news-meta {
    display: block;
    margin: 0 0 8px;
}

.news-list .news-date {
    display: inline-block;
    margin-right: 8px;
    color: #868686;
    font-size: 0.8em;
}

.news-list .news-cat {
    display: inline-block;
    margin-left: 5px;
    padding: 3px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
}

.news-list .news-cat.cat-information,
.news-list .news-cat.cat-topics {
    background-color: #bf9500;
}

.news-list .news-cat.cat-news {
    background-color: #0069c2;
}

.news-list a,
.news-list a:visited {
    display: block;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
}

.news-list li:hover a {
    color: #000;
    text-decoration: none;
}

.news-list li:hover a:hover {
    color: #999999;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .front-page-editable-content .top-copy-section {
        margin: 50px auto;
    }

    .front-page-editable-content .top-copy-section h2 br {
        display: block;
    }

    .front-page-editable-content .top-business-section>.wp-block-group__inner-container {
        display: block;
        max-width: none;
    }

    .front-page-editable-content .top-business-title {
        width: 100%;
        min-height: auto;
        padding: 50px 20px;
        text-align: center;
    }

    .front-page-editable-content .top-business-columns {
        width: 100%;
        display: flex !important;
    }

    .front-page-editable-content .top-business-columns .wp-block-column {
        flex-basis: 33.333% !important;
    }

    .news-columns {
        display: block;
        padding: 0 20px;
    }

    .news-column {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 480px) {
    .front-page-editable-content .top-business-columns {
        display: block !important;
    }

    .front-page-editable-content .top-business-columns .wp-block-column {
        width: 100%;
    }

    .front-page-editable-content .top-business-card {
        height: 392px;
    }

    .news-columns {
        padding: 0 12px;
    }
}


/* ============================================================
   PAGE TITLE HERO
   下層ページ：ページタイトルエリア
   ============================================================ */

.page-title-wrapper {
    display: table;
    position: relative;
    width: 100%;
    height: 100px;
    color: #fff;
    background-color: #333;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}

.page-title-filter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-title-inner {
    display: table-cell;
    position: relative;
    padding: 15px 0;
    vertical-align: middle;
    z-index: 1;
}

.page-title-inner .kcc-container,
.page-title-inner .page-title-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.page-title {
    margin: 10px 0;
    color: #fff;
    font-size: 1.8em;
    font-weight: normal;
    line-height: 1.2;
}

.page-title a,
.page-title a:visited {
    color: #fff;
}

.page-description {
    margin: 10px 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

@media screen and (min-width: 768px) {
    .page-title-wrapper {
        height: 270px;
    }
}

@media screen and (max-width: 480px) {
    .page-title {
        font-size: 1.3em;
    }

    .page-description {
        font-size: 15px;
    }
}


/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
    padding: 10px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    font-size: 12px;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
}

.breadcrumb-inner a,
.breadcrumb-inner a:visited {
    color: #555;
}

.breadcrumb-inner a:hover {
    color: #4a8c2a;
}

.breadcrumb-inner .sep {
    color: #999;
}

.breadcrumb-inner .current {
    color: #888;
}


/* ============================================================
   INNER PAGE LAYOUT
   固定ページ共通
   ============================================================ */

.inner-page {
    padding: 40px 0 60px;
}

.inner-page-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.inner-page-main {
    flex: 1;
    min-width: 0;
}

.inner-page-sidebar {
    width: 220px;
    flex-shrink: 0;
}

@media screen and (max-width: 767px) {
    .inner-page-wrap {
        flex-direction: column;
    }

    .inner-page-sidebar {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .inner-page-wrap {
        padding: 0 12px;
    }
}


/* ============================================================
   ENTRY CONTENT
   固定ページ本文
   ============================================================ */

.entry-content h1 {
    margin: 0 0 24px;
    padding-bottom: 10px;
    color: #333;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #4a8c2a;
}

.entry-content h2,
.entry-content h2.wp-block-heading {
    margin: 0 0 25px;
    padding: 0 0 25px;
    color: #333;
    font-size: 1.3em;
    font-weight: normal;
    line-height: 1.4;
    border-bottom: 3px solid #aaa;
    background: none;
}

.entry-content h2 a,
.entry-content h2 a:visited {
    color: #333;
    text-decoration: none;
}

.entry-content h2 a:hover {
    color: #999999;
    text-decoration: underline;
}

.entry-content p {
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 16px;
}

.entry-content ul {
    margin: 0 0 1em;
    padding-left: 1.5em;
    list-style: disc;
}

.entry-content ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
    list-style: decimal;
}

.entry-content li {
    margin-bottom: 0.4em;
}

.entry-content hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

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

    .entry-content h2,
    .entry-content h2.wp-block-heading {
        font-size: 18px;
    }
}


/* ============================================================
   CONTENT TABLE
   本文内テーブル共通：固定ページ・ニュース詳細
   ============================================================ */

.entry-content .wp-block-table,
.single-news-content .wp-block-table {
    margin: 0 0 30px;
    padding: 0;
    overflow-x: auto;
}

.entry-content .wp-block-table table,
.single-news-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td,
.single-news-content .wp-block-table th,
.single-news-content .wp-block-table td {
    padding: 18px 25px;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    vertical-align: middle;
    border: none;
    border-top: 1px solid #ddd;
    background: transparent;
}

.entry-content .wp-block-table tr:last-child th,
.entry-content .wp-block-table tr:last-child td,
.single-news-content .wp-block-table tr:last-child th,
.single-news-content .wp-block-table tr:last-child td {
    border-bottom: 1px solid #ddd;
}

.entry-content .wp-block-table tr:first-child th,
.entry-content .wp-block-table tr:first-child td,
.single-news-content .wp-block-table tr:first-child th,
.single-news-content .wp-block-table tr:first-child td {
    background: #f5f5f5;
    font-weight: normal;
}

.entry-content .wp-block-table tr:nth-child(odd) th,
.entry-content .wp-block-table tr:nth-child(odd) td,
.single-news-content .wp-block-table tr:nth-child(odd) th,
.single-news-content .wp-block-table tr:nth-child(odd) td {
    background: #f5f5f5;
}

.entry-content .wp-block-table table,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td,
.single-news-content .wp-block-table table,
.single-news-content .wp-block-table th,
.single-news-content .wp-block-table td {
    border-left: none;
    border-right: none;
}


/* ============================================================
   CORPORATE / COMPANY PROFILE TABLE
   会社概要テーブル
   ============================================================ */

.page-template-page-corporate .entry-content .wp-block-table {
    overflow: visible;
}

.page-template-page-corporate .entry-content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
}

.page-template-page-corporate .entry-content table th,
.page-template-page-corporate .entry-content table td {
    padding: 18px 25px;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
    border: none;
    border-top: 1px solid #ddd;
    background: transparent;
}

.page-template-page-corporate .entry-content table tr:last-child th,
.page-template-page-corporate .entry-content table tr:last-child td {
    border-bottom: 1px solid #ddd;
}

.page-template-page-corporate .entry-content table tr:nth-child(odd) th,
.page-template-page-corporate .entry-content table tr:nth-child(odd) td {
    background: #f5f5f5;
}

.page-template-page-corporate .entry-content table th,
.page-template-page-corporate .entry-content table td:first-child {
    width: 18%;
    font-weight: bold;
    white-space: nowrap;
}

.page-template-page-corporate .entry-content table td:last-child {
    width: 82%;
}

.page-template-page-corporate .entry-content table a,
.page-template-page-corporate .entry-content table a:visited {
    color: #006dd9;
    text-decoration: none;
}

.page-template-page-corporate .entry-content table a:hover {
    color: #999999;
    text-decoration: underline;
}

.page-template-page-corporate .entry-content .wp-block-table table,
.page-template-page-corporate .entry-content .wp-block-table th,
.page-template-page-corporate .entry-content .wp-block-table td {
    border-left: none;
    border-right: none;
}

@media screen and (max-width: 767px) {
    .page-template-page-corporate .entry-content .wp-block-table {
        overflow: visible;
    }

    .page-template-page-corporate .entry-content table,
    .page-template-page-corporate .entry-content tbody,
    .page-template-page-corporate .entry-content tr,
    .page-template-page-corporate .entry-content th,
    .page-template-page-corporate .entry-content td {
        display: block;
        width: 100%;
    }

    .page-template-page-corporate .entry-content table {
        border: none;
    }

    .page-template-page-corporate .entry-content tr {
        margin: 0;
        padding: 0;
        border: none;
    }

    .page-template-page-corporate .entry-content table th,
    .page-template-page-corporate .entry-content table td:first-child {
        box-sizing: border-box;
        width: 100%;
        padding: 10px 12px;
        color: #333;
        font-size: 16px;
        font-weight: bold;
        line-height: 1.5;
        background: #f5f5f5;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        white-space: normal;
    }

    .page-template-page-corporate .entry-content table td {
        box-sizing: border-box;
        width: 100%;
        padding: 8px 12px 14px;
        color: #333;
        font-size: 16px;
        line-height: 1.7;
        background: #fff;
        border: none;
    }

    .page-template-page-corporate .entry-content table tr:nth-child(odd) td {
        background: #fff;
    }

    .page-template-page-corporate .entry-content table tr:nth-child(odd) th,
    .page-template-page-corporate .entry-content table tr:nth-child(odd) td:first-child {
        background: #f5f5f5;
    }
}


/* ============================================================
   SIDEBAR NAV
   下層ページ共通サイドメニュー
   ============================================================ */

.sidebar-widget {
    margin: 0 0 30px;
}

.sidebar-widget-title {
    margin: 0 0 15px;
    padding: 0 0 15px;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.4;
    background: none;
    border-bottom: 3px solid #72bf58;
}

.sidebar-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

.sidebar-nav-list li {
    margin: 0;
    padding: 0;
    border: none;
}

.sidebar-nav-list a,
.sidebar-nav-list a:link,
.sidebar-nav-list a:visited {
    display: block;
    padding: 10px 20px 10px 10px;
    color: #333;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    text-decoration: none;
    border-bottom: none;
    background-color: transparent;
    background-image: url('../images/cmn/marker_gray.png');
    background-repeat: no-repeat;
    background-position: 0 16px;
    background-size: 5px 8px;
    transition: padding 0.25s ease-out, background-color 0.25s ease-out, color 0.25s ease-out;
}

.sidebar-nav-list a:hover,
.sidebar-nav-list a:focus {
    padding: 10px 10px 10px 20px;
    color: #999999;
    background-color: #eee;
    background-image: url('../images/cmn/marker_gray.png');
    background-repeat: no-repeat;
    background-position: 0 16px;
    background-size: 5px 8px;
    text-decoration: underline;
}

.sidebar-nav-list li.current a,
.sidebar-nav-list li.current a:link,
.sidebar-nav-list li.current a:visited,
.sidebar-nav-list li.current-menu-item a,
.sidebar-nav-list li.current-menu-item a:link,
.sidebar-nav-list li.current-menu-item a:visited,
.sidebar-nav-list li.current_page_item a,
.sidebar-nav-list li.current_page_item a:link,
.sidebar-nav-list li.current_page_item a:visited {
    color: #333;
    font-weight: normal;
    background-color: transparent;
    text-decoration: none;
}

.sidebar-nav-list li.current a:hover,
.sidebar-nav-list li.current a:focus,
.sidebar-nav-list li.current-menu-item a:hover,
.sidebar-nav-list li.current-menu-item a:focus,
.sidebar-nav-list li.current_page_item a:hover,
.sidebar-nav-list li.current_page_item a:focus {
    padding: 10px 10px 10px 20px;
    color: #999999;
    background-color: #eee;
    text-decoration: underline;
}


/* ============================================================
   SIDEBAR BANNERS
   サイドバーバナー
   ============================================================ */

.sidebar-banners {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-banners li {
    margin: 0 0 20px;
    padding: 0;
}

.sidebar-banners a {
    display: block;
    transition: opacity 0.25s ease-out;
}

.sidebar-banners a:hover {
    opacity: 0.7;
}

.sidebar-banners img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

@media screen and (max-width: 767px) {
    .sidebar-banners {
        display: none;
    }
}


/* ============================================================
   NEWS / ARCHIVE PAGE
   ニュースルーム・カテゴリー一覧
   ============================================================ */

.archive-page {
    padding: 40px 0 60px;
}

.archive-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-main {
    flex: 1;
    min-width: 0;
}

.archive-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.archive-title {
    margin: 0 0 24px;
    padding-bottom: 10px;
    color: #333;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #4a8c2a;
}

/* ニュースルーム：dlの初期余白リセット */
.news-room-page dl {
    margin: 0;
}

.news-room-page dl dt {
    margin-bottom: 10px;
}

.news-room-page dl dd {
    margin: 0;
    padding: 0;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    font-size: 13px;
}

.pagination a:hover {
    background: #f0f7ea;
    border-color: #4a8c2a;
    color: #4a8c2a;
    text-decoration: none;
}

.pagination .current {
    background: #4a8c2a;
    border-color: #4a8c2a;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .archive-page {
        padding: 40px 0 60px;
    }

    .archive-wrap {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 20px;
    }

    .archive-main,
    .news-room-main {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .archive-sidebar {
        display: none;
    }

    .news-room-page .module-section,
    .news-room-page .mgnBtm {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .archive-wrap {
        padding: 0 12px;
    }
}


/* ============================================================
   NEWS SINGLE
   ニュース詳細ページ
   ============================================================ */

.single-news-page {
    padding: 40px 0 60px;
}

.single-news-article {
    margin: 0 0 25px;
    padding: 0;
    color: #000;
}

.single-news-meta {
    margin: 0 0 18px;
    color: #000;
    font-size: 14px;
    line-height: 1.5;
}

.single-news-date {
    display: inline-block;
    margin-right: 8px;
    color: #000;
    font-size: 14px;
}

.single-news-meta .news-cat {
    display: inline-block;
    margin-left: 5px;
    padding: 3px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
}

.single-news-meta .news-cat.cat-information,
.single-news-meta .news-cat.cat-topics {
    background-color: #bf9500;
}

.single-news-meta .news-cat.cat-news {
    background-color: #0069c2;
}

.single-news-title {
    margin: 0 0 25px;
    padding: 0 0 25px;
    color: #333;
    font-size: 1.3em;
    font-weight: normal;
    line-height: 1.5;
    border-bottom: 3px solid #aaa;
}

.single-news-content {
    font-size: 16px;
    line-height: 1.7;
}

.single-news-content h2,
.single-news-content h2.wp-block-heading {
    margin: 0 0 25px;
    padding: 0 0 25px;
    color: #333;
    font-size: 1.3em;
    font-weight: normal;
    line-height: 1.4;
    border-bottom: 3px solid #aaa;
    background: none;
}

.single-news-content p {
    margin: 0 0 30px;
    line-height: 1.7;
}

.single-news-content a,
.single-news-content a:link {
    color: #006dd9;
    text-decoration: none;
}

.single-news-content a:visited {
    color: #7f5ad7;
}

.single-news-content a:hover {
    color: #006dd9;
    text-decoration: underline;
}

.single-news-content img {
    max-width: 100%;
    height: auto;
}

.single-news-content blockquote {
    width: 100%;
    margin: 0 0 30px;
    padding: 15px 20px 15px 16px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    border-left: 4px solid #bfbfbf;
    background: #efefef;
    box-sizing: border-box;
}

/* 古い戻るボタンがテンプレートに残っていた場合だけ非表示 */
.single-news-page .news-back-link,
.single-news-page .back-to-news {
    display: none;
}

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

    .single-news-title,
    .single-news-content h2,
    .single-news-content h2.wp-block-heading {
        font-size: 16px;
    }

    .single-news-content {
        font-size: 16px;
    }
}


/* ============================================================
   NEWS SINGLE SHARE
   ニュース詳細：SNSシェア
   ============================================================ */

.single-news-share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin: 40px 0 0;
}

.single-news-share-title {
    margin: 0;
    color: #000;
    font-size: 14px;
    line-height: 1;
}

.single-news-share-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-news-share-list li {
    margin: 0;
    padding: 0;
}

.single-news-share-list a {
    display: block;
    line-height: 1;
}

.single-news-share-list img {
    display: block;
    width: 32px;
    height: 32px;
}

.single-news-share-list a:hover img {
    opacity: 0.75;
}

@media screen and (max-width: 767px) {
    .single-news-share {
        justify-content: flex-start;
        margin: 30px 0 0;
    }
}


/* ============================================================
   CONTACT PAGE
   お問い合わせフォーム：元サイト寄せ
   ============================================================ */

/* お問い合わせページの見出し */
.page-template-page-contact .entry-content h2,
.page-template-page-contact-php .entry-content h2,
.page-template-page-contact .entry-content h2.wp-block-heading,
.page-template-page-contact-php .entry-content h2.wp-block-heading {
    margin: 0 0 25px;
    padding: 0 0 25px;
    color: #333;
    font-size: 1.4em;
    font-weight: normal;
    line-height: 1.4;
    border-bottom: 3px solid #aaa;
    background: none;
}

/* フォーム全体 */
.contact-box,
.kcc-contact-form {
    width: 100%;
    margin: 0;
}

/* 説明文 */
.contact-box p,
.kcc-contact-lead {
    font-size: 16px;
    line-height: 1.8;
}

/* セクション見出し */
.contact-box h3,
.kcc-contact-heading {
    margin: 35px 0 20px;
    padding: 0;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    border: none;
    background: none;
}

/* ============================================================
   CONTACT CONFIRM
   お問い合わせ確認画面
   ============================================================ */

.kcc-contact-confirm .kcc-contact-lead {
    margin: 0 0 30px;
}

.kcc-confirm-table th,
.kcc-confirm-table td {
    min-height: 70px;
}

.kcc-confirm-table td {
    padding-top: 22px;
    padding-bottom: 22px;
    color: #000;
    font-size: 16px;
    line-height: 1.7;
}

/* 確認画面では入力欄じゃないので余白を少しゆったり */
.kcc-contact-confirm .kcc-contact-heading {
    margin-top: 35px;
}

/* ボタン */
.kcc-contact-confirm-buttons {
    width: 100%;
    max-width: 450px;
    margin: 35px auto 50px;
}

.kcc-contact-confirm-buttons p {
    margin: 0;
}

.kcc-contact-confirm-buttons input[type="button"],
.kcc-contact-confirm-buttons input[type="submit"] {
    display: block;
    width: 100%;
    padding: 18px 40px;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
}

.kcc-contact-confirm-buttons .kcc-btn-back {
    margin: 0;
    background: #666;
}

.kcc-contact-confirm-buttons .kcc-btn-submit {
    margin: 0;
    background: #c41134;
}

.kcc-contact-confirm-buttons .kcc-btn-back:hover,
.kcc-contact-confirm-buttons .kcc-btn-submit:hover {
    opacity: 0.75;
}

/* スマホ */
@media screen and (max-width: 767px) {
    .kcc-contact-confirm-buttons {
        max-width: none;
        margin: 30px 0 40px;
    }

    .kcc-contact-confirm-buttons input[type="button"],
    .kcc-contact-confirm-buttons input[type="submit"] {
        padding: 15px 20px;
        font-size: 18px;
    }
}

/* ============================================================
   CONTACT STEP
   入力ステップ
   ============================================================ */

.contact-box .mail-step,
.kcc-contact-steps {
    display: flex;
    align-items: stretch;
    margin: 0 0 35px;
    padding: 0 25px;
    background: #e5e5e5;
    list-style: none;
    counter-reset: contact-step;
}

.contact-box .mail-step-item,
.kcc-contact-steps li {
    position: relative;
    display: block;
    margin: 0 25px 0 0;
    padding: 18px 0 16px;
    color: #999;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    list-style: none;
    border-bottom: 5px solid transparent;
}

/* 黒丸対策 */
.contact-box .mail-step-item::marker,
.kcc-contact-steps li::marker {
    content: "";
}

/* 元サイトの mail-step 用 */
.contact-box .mail-step-item::before {
    counter-increment: contact-step;
    content: counter(contact-step) ".";
}

.contact-box .mail-step-item-current,
.kcc-contact-steps li.current {
    color: #333;
    border-bottom-color: #333;
}

/* kcc-contact-steps はHTML側に 1. が入ってる想定なので before なし */
.kcc-contact-steps li::before {
    content: none;
}

/* スマホ */
@media screen and (max-width: 767px) {

    .contact-box .mail-step,
    .kcc-contact-steps {
        padding: 0 15px;
        overflow-x: auto;
    }

    .contact-box .mail-step-item,
    .kcc-contact-steps li {
        flex: 0 0 auto;
        margin-right: 20px;
        font-size: 16px;
    }
}

/* ============================================================
   CONTACT FORM TABLE
   フォーム本体
   ============================================================ */

.contact-form,
.kcc-contact-table {
    width: 100%;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    border-collapse: collapse;
    border-spacing: 0;
    background: #e5e5e5;
}

/* 元サイトHTMLの ul/li 構造 */
.contact-form-group {
    background: #e5e5e5;
}

/* WP側 table 構造 */
.kcc-contact-table th,
.kcc-contact-table td {
    padding: 18px 20px;
    border: none;
    border-top: 1px solid #fff;
    vertical-align: top;
}

.kcc-contact-table tr:first-child th,
.kcc-contact-table tr:first-child td {
    border-top: none;
}

.kcc-contact-table th,
.contact-form-label {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    text-align: left;
    white-space: nowrap;
}

.kcc-contact-table td,
.contact-form-control {
    font-size: 16px;
}

/* PC：元サイトみたいに左ラベル・右入力 */
@media screen and (min-width: 768px) {
    .contact-form {
        display: table;
        width: 100%;
    }

    .contact-form-group {
        display: table-row;
    }

    .contact-form-label,
    .contact-form-control {
        display: table-cell;
    }

    .contact-form-label {
        width: 33.333%;
        padding: 25px 20px 15px;
        border-bottom: 1px solid #fff;
        vertical-align: top;
    }

    .contact-form-control {
        width: 66.666%;
        padding: 15px 20px;
        border-bottom: 1px solid #fff;
        vertical-align: top;
    }

    .kcc-contact-table th {
        width: 33.333%;
        padding: 25px 20px 15px;
    }

    .kcc-contact-table td {
        width: 66.666%;
        padding: 15px 20px;
    }
}

/* 必須ラベル */
.label-required,
.kcc-required {
    display: inline-block;
    margin-left: 12px;
    padding: 2px 8px;
    color: #fff;
    background: #c41134;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    vertical-align: middle;
}

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

    .label-required,
    .kcc-required {
        float: right;
        margin: 2px 0 0 10px;
    }
}

/* 入力欄 */
.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box textarea,
.contact-box select,
.kcc-contact-form input[type="text"],
.kcc-contact-form input[type="email"],
.kcc-contact-form input[type="tel"],
.kcc-contact-form textarea,
.kcc-contact-form select {
    box-sizing: border-box;
    max-width: 100%;
    padding: 10px 12px;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
}

.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box textarea,
.kcc-contact-form input[type="text"],
.kcc-contact-form input[type="email"],
.kcc-contact-form input[type="tel"],
.kcc-contact-form textarea {
    width: 100%;
}

.contact-box select,
.kcc-contact-form select {
    min-width: 240px;
    padding-right: 35px;
}

.contact-box textarea,
.kcc-contact-form textarea {
    height: 190px;
    resize: vertical;
}

.contact-box input::placeholder,
.contact-box textarea::placeholder,
.kcc-contact-form input::placeholder,
.kcc-contact-form textarea::placeholder {
    color: #aaa;
}

/* ============================================================
   CONTACT FORM PARTS
   名前・住所まわり
   ============================================================ */

/* CF7が自動で入れるpやbrで崩れる対策 */
.kcc-name-fields p,
.kcc-address-fields p,
.kcc-address-row p {
    margin: 0;
}

.kcc-name-fields br,
.kcc-address-fields br,
.kcc-address-row br {
    display: none;
}

/* 名前2カラム */
.kcc-name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.kcc-name-fields .wpcf7-form-control-wrap {
    display: block;
    min-width: 0;
}

/* 住所 */
.kcc-address-fields {
    display: block;
}

.kcc-address-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
}

.kcc-address-row .wpcf7-form-control-wrap {
    display: block;
}

.kcc-address-row .zip,
.kcc-address-row input[name*="zip"],
.kcc-address-row input[name*="postal"] {
    width: 180px;
}

.kcc-address-row select {
    width: 160px;
    min-width: 160px;
}

.kcc-address-fields .address-wide,
.kcc-address-fields input[type="text"] {
    width: 100%;
}

.kcc-address-fields .wpcf7-form-control-wrap+.wpcf7-form-control-wrap {
    display: block;
    margin-top: 12px;
}

/* 元サイトHTML側の名前グリッド */
.contact-form-grid {
    display: flex;
    gap: 15px;
    margin: 0;
}

.contact-form-col {
    flex: 1;
    padding: 0;
}

/* スマホ */
@media screen and (max-width: 767px) {

    .contact-form,
    .contact-form-group,
    .contact-form-label,
    .contact-form-control,
    .kcc-contact-table,
    .kcc-contact-table tbody,
    .kcc-contact-table tr,
    .kcc-contact-table th,
    .kcc-contact-table td {
        display: block;
        width: 100%;
    }

    .contact-form-label,
    .kcc-contact-table th {
        padding: 14px 15px 8px;
        white-space: normal;
    }

    .contact-form-control,
    .kcc-contact-table td {
        padding: 8px 15px 15px;
    }

    .label-required,
    .kcc-required {
        float: none;
        margin-left: 10px;
    }

    .kcc-name-fields,
    .contact-form-grid {
        display: block;
    }

    .kcc-name-fields .wpcf7-form-control-wrap,
    .contact-form-col {
        display: block;
        margin: 0 0 10px;
    }

    .kcc-address-row {
        display: block;
        margin: 0;
    }

    .kcc-address-row .zip,
    .kcc-address-row input[name*="zip"],
    .kcc-address-row input[name*="postal"],
    .kcc-address-row select,
    .contact-box select,
    .kcc-contact-form select {
        width: 100%;
        min-width: 0;
        margin: 0 0 10px;
    }
}

/* ============================================================
   CONTACT SUBMIT
   送信ボタン
   ============================================================ */

.form-btn-box,
.kcc-contact-submit {
    margin: 35px 0 50px;
    text-align: center;
}

.contact-box input[type="submit"],
.kcc-contact-submit input[type="submit"],
.kcc-contact-submit button,
.kcc-contact-form .wpcf7-submit {
    display: inline-block;
    width: 100%;
    max-width: 450px;
    padding: 18px 40px;
    color: #fff;
    background: #c41134;
    border: none;
    border-radius: 5px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s ease-out, opacity 0.25s ease-out;
}

.contact-box input[type="submit"]:hover,
.kcc-contact-submit input[type="submit"]:hover,
.kcc-contact-submit button:hover,
.kcc-contact-form .wpcf7-submit:hover {
    background: #910021;
    color: #fff;
    text-decoration: none;
}

/* CF7メッセージ */
.kcc-contact-form .wpcf7-not-valid-tip,
.contact-box .error-text {
    margin-top: 5px;
    color: #c41134;
    font-size: 13px;
}

.kcc-contact-form .wpcf7-response-output {
    margin: 25px 0 0;
}

/* スマホ */
@media screen and (max-width: 767px) {

    .form-btn-box,
    .kcc-contact-submit {
        margin: 30px 0 40px;
    }

    .contact-box input[type="submit"],
    .kcc-contact-submit input[type="submit"],
    .kcc-contact-submit button,
    .kcc-contact-form .wpcf7-submit {
        max-width: none;
        padding: 15px 20px;
        font-size: 18px;
    }
}


/* ============================================================
   RECRUIT PAGE
   ============================================================ */

.recruit-intro {
    margin-bottom: 30px;
}

.recruit-intro img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
}


/* ============================================================
   FOOTER BANNERS
   フッター上：採用バナー＋関連サービススライダー
   ============================================================ */

.footer-banner-area {
    background: #edece6;
}

.footer-banner-area .narrow-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-banner-area .suggest-inner {
    display: flex;
    align-items: center;
    gap: 4%;
    padding: 50px 0;
}

.footer-banner-area .suggest-left,
.footer-banner-area .suggest-right {
    width: 48%;
}

.footer-banner-area .suggest-left img,
.footer-banner-item img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-banner-area .suggest-right {
    padding: 3.3% 0;
    background: #fff;
}

.footer-banner-slider-wrap {
    position: relative;
    width: 80%;
    margin: 0 auto;
}

.footer-banner-slider {
    overflow: hidden;
}

.footer-banner-track {
    display: flex;
    gap: 10px;
    transition: transform 0.4s ease;
}

.footer-banner-item {
    flex: 0 0 calc(50% - 5px);
    display: block;
}

.footer-banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 20px;
    height: 20px;
    border: none;
    background: #555;
    color: #fff;
    font-size: 20px;
    line-height: 18px;
    cursor: pointer;
    transform: translateY(-50%);
}

.footer-banner-prev {
    left: -12%;
}

.footer-banner-next {
    right: -12%;
}

@media screen and (max-width: 480px) {
    .footer-banner-area .suggest-inner {
        display: block;
        padding: 30px 0;
    }

    .footer-banner-area .suggest-left {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-banner-area .suggest-right {
        width: 100%;
    }

    .footer-banner-item {
        flex-basis: 100%;
    }
}


/* ============================================================
   FOOTER
   WordPress用：元サイトフッター寄せ
   ============================================================ */

#site-footer {
    margin-top: 0;
    padding: 30px 0;
    background: none;
    color: #000;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer-nav-wrap {
    display: block;
    margin: 0 0 20px;
}

.footer-nav-list {
    display: block;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.footer-nav-list li {
    display: inline-block;
    margin: 0 5px;
    padding: 0 20px;
    border: none;
    background-image: url('../images/cmn/marker_gray.png');
    background-repeat: no-repeat;
    background-position: 0 6px;
    background-size: 5px 8px;
    vertical-align: middle;
}

.footer-nav-list a,
.footer-nav-list a:visited {
    display: inline-block;
    padding: 0;
    color: #000;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
}

.footer-nav-list a:hover {
    color: #999999;
    text-decoration: underline;
}

.footer-service-nav {
    display: block;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.footer-service-nav li {
    display: inline-block;
    margin: 0;
    border: none;
    vertical-align: middle;
}

.footer-service-nav a,
.footer-service-nav a:visited {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 30px;
    color: #000;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    border: 1px solid #878787;
    background-image: url('../images/cmn/marker_gray.png');
    background-repeat: no-repeat;
    background-position: 10px 13px;
    background-size: 5px 8px;
    transition: border 0.25s ease-out, background-color 0.25s ease-out;
}

.footer-service-nav a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #424242;
    border-color: #424242;
    background-image: url('../images/cmn/marker_white.png');
}

.footer-address {
    margin: 0 0 20px;
    color: #000;
    font-size: 14px;
    font-style: normal;
    line-height: 2;
    text-align: center;
}

.footer-address a,
.footer-address a:visited {
    color: #000;
    text-decoration: none;
}

.footer-address a:hover {
    color: #999999;
    text-decoration: underline;
}

.footer-copyright {
    margin: 10px 0 0;
    padding: 0;
    background: none;
    color: #000;
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    #site-footer {
        padding: 25px 0;
    }

    .footer-nav-list,
    .footer-service-nav {
        display: none;
    }

    .footer-address {
        padding: 0 15px;
        font-size: 13px;
        line-height: 1.8;
    }
}


/* ============================================================
   PAGE TOP BUTTON
   ============================================================ */

.page-top-btn {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: url('../images/marker/btn_pageTop.png') no-repeat center center;
    background-size: 44px 44px;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.2s ease-out;
    z-index: 1000;
}

.page-top-btn.page-top-btn-appear {
    opacity: 1;
}

.page-top-btn:hover {
    opacity: 0.8;
    background-color: transparent;
}

.page-top-btn::before {
    content: none;
}


/* ============================================================
   404 PAGE
   ============================================================ */

.not-found-page {
    padding: 80px 20px;
    text-align: center;
}

.not-found-page h1 {
    margin: 0 0 10px;
    color: #ccc;
    font-size: 80px;
    font-weight: 700;
}

.not-found-page h2 {
    margin: 0 0 20px;
    color: #555;
    font-size: 22px;
}

.not-found-page p {
    margin-bottom: 30px;
    color: #888;
}

.not-found-page .btn-home {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    background: #4a8c2a;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

.not-found-page .btn-home:hover {
    background: #3a7020;
    color: #fff;
    text-decoration: none;
}





.grecaptcha-badge {
    /* visibility: hidden; */
    z-index: 999999;
    bottom: 90px !important;
}