@charset "UTF-8";

/*
Theme Name:ゼットクリエイティブ株式会社
Description: ゼットクリエイティブ株式会社様用のカスタムテーマです
Version: 1.0
Author: SEASWeB
*/

/* ----------------------------------------------------------------
 * 1. 基本レイアウト
 * ---------------------------------------------------------------- */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-background);
    color: var(--clr-text);
    font-family: var(--font-main);
    font-size: var(--sz-md);
    line-height: 1.5;
    margin: 0;
}

.container {
    width: 100%;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}


main,
.site-content {
    flex: 1;
}

a {
    color: var(--clr-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

p {
    font-size: var(--sz-md);
    margin-bottom: 0.5rem;
}

a:hover {
    transition: 0.5s cubic-bezier(0, 0.58, 0.38, 1);
    opacity: 0.7;

}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    font-size: var(--sz-xxl);
    font-weight: 700;

}

h2 {
    font-size: var(--sz-xl);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;

}

h2.wp-block-heading.has-text-align-center {
    position: relative;
    padding-bottom: 16px;
}

h2.wp-block-heading.has-text-align-center::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #7a77bd;
    border-radius: 10px;
}

h3 {
    font-size: var(--sz-lg);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    text-align: center;
}

h4 {
    font-size: var(--sz-md);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    text-align: center;
}

.is-animating #container {
    opacity: 1;
    transform: translateY(0);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    font-size: var(--sz-xs);
    color: var(--clr-bread);
    line-height: 1.5;
    margin-bottom: 20px;
    margin-top: 20px;
}

.breadcrumbs a {
    color: var(--clr-bread);
    text-decoration: none;
}

.breadcrumbs>li {
    display: inline-block;
    position: relative;
}

.breadcrumbs>li:not(:last-of-type)::after {
    content: ">";
    display: inline-block;
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.is-noScroll {
    position: fixed;
    width: 100%;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

table {
    border-collapse: separate;
    border-radius: 8px;
}

th,
td {
    border-bottom: 1px solid var(--clr-table);
    border-top: 1px solid var(--clr-table);
}

.wp-block-table th,
.wp-block-table td {
    border-bottom: 1px solid var(--clr-table);
    border-top: 1px solid var(--clr-table);
}

.site-content-top {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.site-content {
    margin: 65px auto 0 auto;
    width: 100%;
    max-width: 1500px;
    text-align: left;
    padding: 0 15px;
    box-sizing: border-box;
}

.privacy-policy .site-content {
    max-width: 1000px;
}

.privacy-policy h2 {
    font-size: var(--sz-lg);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-policy h2.has-text-align-center::after {
    display: none;
}

.privacy-policy h2.has-text-align-left {
    background: none;
    font-size: var(--sz-md);
    font-weight: 700;
    box-shadow: none;
}

.wp-block-group.privacy-inner {
    max-width: 800px;
    padding: 50px 20px;
    margin: 0 auto;
    background-color: var(--clr-white);
    border-radius: 20px;
}

/* --- カテゴリーボタン共通スタイル --- */
.cat-list li {
    font-size: var(--sz-xs);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    color: var(--clr-white);
    border: none;
    list-style: none;
    white-space: nowrap;
}

.required-mark {
    background-color: var(--clr-white);
    color: var(--clr-red);
    border: 1px solid var(--clr-red);
    font-size: var(--sz-sm);
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    top: -1px;
    display: block;
    width: max-content;
    margin-left: 0;
    margin-top: 1px;

}

.is-white .box-white {
    background-color: var(--clr-white);
}

.wp-block-button__link {
    border: 1px solid #222;
    background: transparent;
    color: #222;
    border-radius: 4px;
    padding: 0.8em 1.6em;
    text-decoration: none;
    transition: 0.3s;
    font-size: var(--sz-xs);
    white-space: nowrap;
}

.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;

}

:root {
    /* --font-main: "Inter", 'Noto Sans JP', 'Meiryo', sans-serif; */
    --font-main: 'Noto Sans JP';
    --font-title: serif;
    /* --font-title: "Yu Gothic UI", sans-serif; */


    --sz-xxl: clamp(1.9rem, 2.8vw, 2.4rem);
    /* 32〜42px */
    --sz-xl: clamp(1.6rem, 2.5vw, 2.0rem);
    /* 26〜32px */
    --sz-lg: clamp(1.3rem, 1.8vw, 1.6rem);
    /* 21〜26px */
    --sz-md: 1.2rem;
    /* 19.2px */
    --sz-sm: 1rem;
    /* 16px */
    --sz-xs: 0.875rem;
    /* 14px */
    --sz-xxs: 0.75rem;
    /* 12px */
    --sz-xxxs: 0.625rem;
    /* 10px */


    --clr-text: #333;
    --clr-sub: #999;
    --clr-base: #a59ad1;
    --clr-base-hover: #bdb5df;
    --clr-title: #7660d6;

    --clr-title-hover: rgb(17, 174, 236);
    --clr-white: #fff;
    --clr-blue: #007bff;
    --clr-nav: #34495e;
    --clr-red: #DA1725;
    --clr-background: #f9f9fb;
    --clr-bread: #6c6c6c;
    --clr-info: #7a77bd;
    --clr-service: #4ecdc4;
    --clr-event: #a5a5a5;
    --clr-important: #ff85a1;
    --clr-recruit: #F8B400;
    --clr-recruitcon: #00c1af;
    --clr-recruithover: rgb(243, 241, 150);
    --clr-table: #969595;
    --clr-table-th: #7a77bd52;
    --clr-table-td: #f6f4f7;
    --clr-border: #ccc;

}


/* ----------------------------------------------------------------
 * 2. Header & Navigation(Common & PC)
 * ---------------------------------------------------------------- */
/* ---  Header Base --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--clr-white);
    overflow: hidden;
    z-index: 1000;
    max-width: 100%;
}

#header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--clr-text);
    z-index: 10000;
    overflow: hidden;
    transition: opacity 0.8s ease;
    line-height: 0;
    font-size: 0;
    justify-content: center;
    align-items: center;
}

#loading-video {
    width: auto;
    max-width: 90%;
    height: 50vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    margin-bottom: -1px;

}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#loading.loaded {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

/* ---  Header Left (Logo) --- */
.site-title {
    flex-shrink: 0;
}

.site-name {
    font-size: var(--sz-md);
    font-weight: 500;
    color: var(--clr-nav);
    line-height: 1;
}

.site-title:hover {
    color: var(--clr-title-hover);
}

#header .site-title img {
    height: 50px;
    width: auto;
    display: block;
}

/* ---  Header Center (Navigation) --- */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

.nav-menu li {
    padding: 0 10px;
}

.nav-menu li a {
    display: flex;
    color: var(--clr-nav);
    text-decoration: none;
    transition: color 0.3s;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.3;
}

.nav-menu li a span {
    font-size: var(--sz-sm);
    font-weight: 700;
    display: block;
}

.nav-menu li a small {
    font-size: var(--sz-xxs);
    font-weight: 400;
    display: block;
    letter-spacing: 0.3em;
    color: var(--clr-sub);
}

.nav-menu li a:hover,
.current-menu-item a,
.current_page_item a,
.current-menu-ancestor a,
.nav-menu .current-menu-item a,
.current-cat a {
    color: var(--clr-blue) !important;
}

/* ---  Header Right (Contact) --- */
.header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-contact a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--clr-base);
    color: var(--clr-white);
    text-decoration: none;
    box-sizing: border-box;
    padding: 0;
    width: 130px;
}

.header-contact a:hover {
    background: var(--clr-base-hover)
}

.contact-icon {
    margin-top: 5px;
    width: 33px;
}

.contact-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.txt-jp {
    font-size: var(--sz-xxs);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
}

.txt-en {
    font-size: var(--sz-xxs);
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 1.2;
}

.sp-menu-bottom {
    display: none;
}

/* ---  Loading Curtain --- */
#loader-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-white);
    z-index: 999999;
    display: block;
}

.visited #loader-bg {
    display: none;
}

.is-animating #loader-bg {
    animation: curtainSlideUp 1.2s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}

@keyframes curtainSlideUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

#loader-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.is-animating .loader-logo {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ----------------------------------------------------------------
 * 3. Main Content
 * ---------------------------------------------------------------- */

.content {
    padding: 20px 0;
}

.page-title {
    text-align: center;
}

.page-header {
    margin-top: 110px;
    text-align: center;
}

.site-main {
    position: relative;
    overflow: hidden;
}

.site-main::before {
    content: "";
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-image: url(img/Zcreative.gif);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}


.article {
    border-bottom: 1px dashed var(--clr-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 600px;
}

article:last-child {
    margin: 0 auto;
    max-width: 800px;
}

.entry-meta {
    font-size: var(--sz-xs);
    color: var(--clr-sub);
    margin-bottom: 10px;
}

#page_top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 50px;
    height: auto;
}

#page_top img {
    width: 100%;
    height: auto;
    display: block;
}

#page_top.hover_opacity:hover {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.pageTopBtnImgBlock.is_fixed_stop {
    position: absolute;
}

/* ----------------------------------------------------------------
 * 4. Footer
 * ---------------------------------------------------------------- */
#footer {
    background-size: cover;
    background-position: 90% center;
    background-image: url(img/background2.jpg);
    padding: 5px 0;
    height: 250px;
}

#footer .inner {
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 5px auto;
}

.footer-left {
    width: 25%;
    flex-shrink: 0;
}

.footer-center {
    flex-basis: 50%;
    flex-grow: 1;
    text-align: center;
}

.logo-footer {

    margin-bottom: 5px;
    text-align: center;
}

.logo-footer a {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: var(--clr-text);
    text-decoration: none;
    font-size: var(--sz-sm);
    font-weight: 700;
}

#footer img {
    height: 40px;
    margin-bottom: 10px;
}

.address a {
    color: var(--clr-text);
}

.address a:hover {
    color: var(--clr-blue) !important;
}

.footer-center .address {
    font-size: var(--sz-xs);
    margin: 0;
}

.footer-navigation {
    display: inline-block;
    color: var(--clr-nav);
    width: 25%;
}

.footer-navigation .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.footer-navigation .nav-menu li {
    display: block;
}

.footer-navigation .nav-menu li a {
    display: block;
    padding: 8px 0;
    font-weight: 700;
    margin-right: -10px;
    text-decoration: none;
    text-align: left;
    font-size: var(--sz-xs);
}

.footer-navigation .nav-menu li a:hover {
    color: var(--clr-title-hover);
}

.footer-bottom {
    text-align: center;
    color: var(--clr-sub);
}

.footer-bottom p {
    font-size: var(--sz-xxs);
}

.logo-text:hover {
    color: var(--clr-title-hover);
}

/* ----------------------------------------------------------------
 * 5. Media Queries (モバイル対応)
 * ---------------------------------------------------------------- */
@media (max-width: 1023px) {
    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }

    .main-navigation.is-open .sp-only {
        display: block !important;
    }

    .inner {
        padding: 0 40px;
    }

    body {
        overflow-x: hidden;
    }

    #header,
    .site-content,
    .site-main-page,
    .header-container,
    .container {
        width: 100% !important;
        max-width: 1000px !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-bottom: 0;
        left: 0 !important;
        position: relative;
    }


    #header {
        position: fixed !important;
        top: 0;
        padding: 0;
        height: 60px;
    }

    #header .header-container {
        height: 60px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex;
        justify-content: space-between;

    }

    .header-left,
    .header-center,
    .header-right {
        flex-shrink: 1;
        min-width: 0;
    }

    .content {
        height: 300px;
    }

    .logo-img {
        height: 30px;
    }

    #header .nav-menu li:not(:last-child) {
        border-right: none;
    }

    .mobile-header-nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100% - 60px);
        z-index: 90;
        transition: right 0.3s ease-out;
        overflow-y: auto;
    }

    .mobile-header-nav.is-open {
        position: fixed;
        top: 60px;
        left: 0;
        right: auto;
        width: 100%;
        height: calc(100vh - 750px);
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 90;
        overflow-y: auto;
    }

    .nav-menu-footer {
        display: block;
        list-style: none;
        padding: 50px 0 80px 0;
        list-style: none;
        margin: 0;
        text-align: center;
    }

    .nav-menu-footer li {
        display: block;
        border-right: none;
        padding: 0;
    }


    .mobile-header-nav.is-open .nav-menu-footer {
        padding: 20px 0;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-navigation.is-open {
        left: 0;
    }

    .main-navigation.is-open .nav-menu-footer li a {
        display: block;
        padding: 15px 10px;
        text-align: center;
        border-bottom: 1px solid var(--clr-border);
        text-decoration: none;
        color: var(--clr-text);
    }

    .main-navigation .nav-menu-footer {
        display: block;
        padding: 0;
    }

    .main-navigation .nav-menu-footer li {
        margin: 0;
    }

    .main-navigation .menu-contact-wrapper {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px 20px;
        z-index: 100;
    }

    .menu-contact-wrapper {
        margin-top: 40px;
        width: 100%;
        text-align: center;
    }

    #site-navigation.main-navigation {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: left 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
        display: block;
        padding: 40px 30px;
        box-sizing: border-box;
    }

    #site-navigation.main-navigation.is-open {
        left: 0;
    }

    .nav-menu {
        display: block;
        padding: 40px 20px;
    }

    .nav-menu li {
        padding: 0;
        border-bottom: 1px solid var(--clr-border);
    }

    .nav-menu li a {
        padding: 15px 0;
        align-items: flex-start;
        text-align: left;
    }


    .header-right {
        gap: 10px;
    }

    .header-contact a {
        height: 60px;
        width: 100px;
    }

    .txt-en {
        font-size: 9px;
    }

    .nav-menu {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu li {
        display: block;
    }


    .contact-btn {
        display: inline-flex;
    }

    .btn-nav span {
        display: none;
    }

    .btn-nav,
    .btn-nav::before,
    .btn-nav::after {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-nav::before,
    .btn-nav::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--clr-text);
        border-radius: 2px;
    }

    .btn-nav::before {
        top: 0;
    }

    .btn-nav::after {
        bottom: 0;
    }

    .btn-nav.is-open {
        background-size: 0% 2px;
    }

    .btn-nav.is-open::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .btn-nav.is-open::after {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .btn-nav {
        position: relative;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        appearance: none;
        background-image: linear-gradient(var(--clr-text), var(--clr-text));
        background-size: 100% 2px;
        background-repeat: no-repeat;
        background-position: center;
        margin-right: 10px;
    }

    .header-buttons {
        display: flex;
        align-items: center;
        gap: 15px;
    }


    .breadcrumbs {
        display: none;
    }

    .recruit-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }

    .site-footer .container {
        display: block;
        text-align: center;
    }

    .footer-widget,
    .footer-logo,
    .footer-info {
        margin-bottom: 30px;
        width: 100%;
    }

    .footer-navigation ul {
        display: block;
        padding: 0;
        list-style: none;
    }

    .footer-navigation li {
        margin: 10px 0;
        display: block;
        border: none;
    }


    .site-info {
        margin-top: 20px;
        padding: 20px 0;
        border-top: 1px solid #eee;
        font-size: 0.8rem;
    }

    .pageTopBtnImgBlock.is_fixed_stop {
        position: absolute;
    }



    .sp-menu-bottom.sp-only {
        display: block !important;
        /* margin-top: 20px; */
        padding: 15px 0;
    }

    .sp-policy-link {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-decoration: none;
        color: var(--clr-nav);
    }

    .sp-policy-link span {
        font-size: var(--sz-md);
        font-weight: 700;
    }

    .sp-policy-link small {
        font-size: var(--sz-xs);
        color: var(--clr-sub);
        letter-spacing: 0.3em;
    }

    .form-label {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-label {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .form-input input[type="text"],
    .form-input input[type="email"],
    .form-input input[type="tel"],
    .form-input textarea {
        width: 100% !important;
        box-sizing: border-box;
        font-size: var(--sz-md);

    }

    .wp-block-columns,
    .wp-block-column-list {
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }

    .wp-block-columns li,
    .wp-block-column-list li {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
    }

    .wwp-block-columns li a,
    .wp-block-column-list li a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: var(--clr-text);
        font-weight: 700;
        width: 100%;
        box-sizing: border-box;
    }

    .form-wrapper {

        padding: 0 0 20px 0 !important;
        justify-content: center;
    }

    .form-box dl {
        display: block !important;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .form-box dt {
        width: 100% !important;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .form-box dd {
        width: 100% !important;
        margin-left: 0;
    }


    .form-box dd input,
    .form-box dd textarea {
        width: 100% !important;
        box-sizing: border-box;
    }

    .wp-block-buttons {
        /* display: flex; */
        flex-direction: column;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wp-block-buttons .wp-block-button__link {
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }

    .wp-block-buttons .wp-block-button {
        width: 100%;
    }
}

/* ★★★ スマートフォン対応 (必須) ★★★ */
@media screen and (max-width: 768px) {

    .content-body-flex {
        flex-direction: column;
        gap: 20px;
    }

    .content-body-flex>div.main-content-wrapper,
    .content-body-flex>aside.widget-area,
    .content-body-flex>aside.sidebar {
        flex-basis: 100%;
        width: 100%;
    }

    .wpcf7-list-item {
        display: block;
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    .site-footer .container {
        flex-direction: column;
        height: auto;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-left,
    .footer-navigation {
        display: none;
    }

    .logo-footer img {
        height: 40px;
    }

    .header-contact a {
        padding: 5px;
    }

    .header-right .txt-jp {
        font-size: var(--sz-xs);
    }

    .txt-en {
        font-size: var(--sz-xxs);
    }

    #page_top {
        right: 15px;
        bottom: 15px;
        width: 40px;
    }

    .tbody {
        width: 100%;
    }

    .view-all {
        font-size: var(--sz-xs) !important;
    }

    .about-table {
        display: table;
        width: 100% !important;
        table-layout: fixed;
    }

    .wp-block-table .has-medium-font-size {
        width: 100%;
    }

    .wp-block-table td:first-child {
        width: 30%;
    }

    .news-left-content .thumbnail {
        display: none;
    }

    .news-list .date {
        font-size: 14px;
    }

    .news-list p {
        font-size: var(--sz-md);
    }

    .cat-info {
        padding: 0 0 0 0;
    }

    .news-link {
        padding: 0 0 0 0;
    }

    .recruit-banner {
        aspect-ratio: auto;
        height: auto;
        padding: 60px 20px;
    }

    .company-banner {
        aspect-ratio: auto;
        height: auto;
        padding: 60px 20px;
    }

    #recruit {
        margin-bottom: 0;
    }

    .site-content-top {
        margin-bottom: 0;
    }

    #loading {
        display: none;
        background-color: var(--clr-text);
    }

    #loading-video {
        display: block;
        width: 100%;
        height: 50vh;
        max-height: 60vh;
        object-fit: cover;

    }

    .wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
        font-size: 12px !important;
    }

    .wpcf7-list-item input[type="radio"] {
        margin: 0 auto !important;
    }

    .wpcf7-list-item {
        text-align: center;
    }

    .main-visual {
        height: 60vh !important;
    }

    .n2-ss-slider {
        height: 60vh !important;
    }

    .n2-ss-slide-background img {
        object-fit: cover;
        height: 100%;
    }


    .n2-ss-layer {
        font-size: var(--sz-sm) !important;
        line-height: 1.4;
    }

    .container {
        padding: 3vw
    }

    .form-box {
        padding: 0 10px 5px !important;
        /* line-height: 0 !important; */
    }

    .form-box dl {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .form-box dt {
        margin-bottom: 0 !important;
    }

    .form-box p {
        margin-bottom: 5px !important;
    }

    .inner {
        padding: 0 10px !important;
    }

    .page-header {
        margin-top: 80px !important;
    }

    .service-item {
        gap: 0 !important;
    }

    .service-item-title h3 {
        font-size: var(--sz-md) !important;

    }

    .wp-block-group {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }

    .flow-step {
        width: 96px !important;
        height: 96px !important;
        min-width: 96px !important;
        min-height: 96px !important;
        max-width: 96px !important;
        max-height: 96px !important;
        flex: 0 0 96px !important;

        font-size: var(--sz-sm);
        overflow: hidden;
    }

    .address a {
        display: inline-block;
        pointer-events: auto;
        cursor: pointer;
        background-color: var(--clr-background);
        padding: 5px 10px;
        border-radius: 50px;
        border: 1px solid var(--clr-base);
        font-weight: 700;
    }

    .wp-block-buttons .wp-block-button {
        width: calc(50%-0.375rem)
    }

    .wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
        width: 100%;
    }

}

/* バーガーメニューが表示されている画面幅（692px〜920px）の時の調整 */
@media screen and (min-width: 692px) and (max-width: 920px) {

    /* 1. ボタンが潰れるのを防ぎ、サイズを固定する */
    .header-btn {
        /* ←実際の問い合わせボタンのクラス名に書き換えてください */
        flex-shrink: 0 !important;
        white-space: nowrap !important;

        /* PCの時と同じサイズを強制指定（数値は実際のデザインに合わせて調整してください） */
        width: 160px !important;
        height: 45px !important;
        font-size: 14px !important;

        /* もしボタンの文字が上下左右の真ん中に来ない場合はこれも追加 */
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* 2. もしヘッダー全体の並びが崩れている場合（ロゴとボタンがくっつきすぎ等） */
    /* ヘッダーの内側のコンテナ要素（例: .header-inner や .header-container など） */
    .header-inner {
        display: flex !important;
        justify-content: space-between !important;
        /* 左右に綺麗に振り分ける */
        align-items: center !important;
    }
}

/* ----------------------------------------------------------------
 * 6. 404 Page Styling
 * ---------------------------------------------------------------- */
.site-main-404 {
    text-align: center;
}

.error-404 {
    /* text-align: center; */
    padding: 60px 20px;
}

.error-404 .page-title {
    font-size: var(--sz-lg);
    color: var(--clr-nav);
    margin-bottom: 20px;
}

.error-404 .page-content p {
    font-size: var(--sz-md);
    margin-bottom: 25px;
}

.error-404 .button-home {
    display: inline-block;
    background-color: var(--clr-info);
    color: var(--clr-white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.error-404 .button-home:hover {
    background-color: var(--clr-info);
}

/* ----------------------------------------------------------------
 * 7. Contact Form Styling
 * ---------------------------------------------------------------- */


.form-box {
    max-width: 900px;
    padding: 50px;
    background-color: var(--clr-white);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    margin-top: 20px;
}

.about-text {
    text-align: center;
}


.contact-header-text a {
    color: var(--clr-blue);
    text-decoration: underline;
}


.form-box dl {
    display: flex;
    /* margin-bottom: 20px; */
    padding-bottom: 15px;
    text-align: left;
}

.form-box dl:has(textarea) {
    align-items: flex-start;
}

.form-box dl:has(textarea) dt {
    padding-top: 5px;
}

.form-box dt {
    width: 200px;
    flex-shrink: 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}

.form-box dd {
    flex-grow: 1;
}

.form-box dt label {
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1.5;
    padding-right: 5px;
}

.required {
    display: inline-block;
}

.form-box input[type="text"],
.form-box input[type="email"],
.form-box input[type="tel"],
.form-box textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: var(--sz-sm);
    transition: border-color 0.3s;
    background-color: var(--clr-white);
}

.form-box input[type="text"]:focus,
.form-box input[type="email"]:focus,
.form-box input[type="tel"]:focus,
.form-box textarea:focus {
    border-color: var(--clr-blue);
    outline: none;
}

.form-box textarea {
    min-height: 150px;
    resize: vertical;
}

textarea[name="address"] {
    height: 80px !important;
    min-height: 80px !important;
    padding-top: 10px !important;
}

.about-privacy {
    text-align: center;
}

.btn-wrapper {
    text-align: center;
    margin-bottom: 10px;
}

.btn-submit {
    background-color: #6e6e6e;
    color: var(--clr-white);
    border: none;
    padding: 12px 30px;
    font-size: var(--sz-md);
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.btn-clear {
    background-color: #6e6e6e;
    color: var(--clr-white);
    border: none;
    padding: 12px 30px;
    font-size: var(--sz-md);
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.wpcf7-spinner {
    display: none !important;
}

.is-layout-flex {
    display: flex;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wpcf7-list-item {
    display: inline-block;
    margin-right: 30px !important;
    margin-bottom: 10px;
}

.wpcf7-list-item input[type="radio"] {
    margin-right: 10px !important;
    cursor: pointer;
}

.wpcf7-list-item label {
    cursor: pointer;
    padding: 5px 0;
}

.wpcf7-list-item:last-child {
    margin-right: 0 !important;
}

.wpcf7-list-item input[type="radio"] {
    transform: scale(1.3);
    vertical-align: middle;
}

.wp-block-list {
    list-style: none;
    margin: 10px;
}

form.submitting .wpcf7-submit {
    pointer-events: none;
    opacity: 0.5;
    cursor: wait;
}

/* ----------------------------------------------------------------
 * 8. News Archive Styling
 * ---------------------------------------------------------------- */


.archive-content {
    padding: 30px 0;
}


.news-title {
    font-size: var(--sz-ld);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 10px;

}

.page-title-single {
    font-size: 36px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 10px;
    justify-content: center;
    display: flex;
    margin-bottom: 20px;
}

.content-body-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.content-right {
    width: 800px;
}

.news-left {
    flex: 1;
    min-width: 0;
}

.news-left-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 10px;
}

.news-left-content .thumbnail {
    flex-shrink: 0;
    width: 85px;
}

.news-left-content .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-position: center;
    object-fit: contain;
}

.news-left-content .text {
    flex-grow: 1;
}

.news-right {
    width: 300px;
    padding-top: 30px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.news-wrapper p {
    font-size: 18px;
}

.main-content-column {
    flex: 1;
    min-width: 0;

}

aside {
    width: 300px;
}

.content-body-flex>aside.widget-area,
.content-body-flex>aside.sidebar {
    flex-basis: 30%;
    flex-shrink: 0;
    order: 2;
}

.page-nav {
    margin-top: 40px;
    text-align: center;
}

.page-nav li {
    display: inline-block;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 16px;
}

.page-nav li a {
    color: var(--clr-text);
}

.page-nav li a:hover {
    text-decoration: underline;
}

.entry-header .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1.5px solid rgb(200, 200, 200);
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 20px;
}

.post-date {
    font-size: 20px;
    color: rgb(157, 158, 158);
    font-weight: 600;
}

.cat-info {
    background-color: var(--clr-info) !important;
    color: var(--clr-white);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 4px;
    border: none;
}

.cat-service {
    background-color: var(--clr-service) !important;
    color: var(--clr-white);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 4px;
    border: none;
}

.cat-event {
    background-color: var(--clr-event);
    color: var(--clr-white);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 4px;
    border: none;
}

.cat-important {
    background-color: var(--clr-important);
    color: var(--clr-white);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 4px;
    border: none;
}

.entry-header .category-item {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.entry-header.category-item li {
    padding: 4px 12px;
    border-radius: 10px;
    color: var(--clr-white) !important;
    font-size: var(--sz-xs);
    font-weight: 700;
    line-height: 1;
}

.entry-header .post-meta.category-item li.cat-info,
.news-list li.cat-info {
    background-color: var(--clr-info) !important;
}

.entry-header .post-meta.category-item li.cat-service,
.news-list li.cat-service {
    background-color: var(--clr-service) !important;
}

.entry-header .post-meta.category-item li.cat-event,
.news-list li.cat-event {
    background-color: var(--clr-event) !important;
}

.entry-header .post-meta.category-item li.cat-important,
.news-list li.cat-important {
    background-color: var(--clr-important) !important;
}

.pagination .screen-reader-text {
    display: none;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: var(--clr-text);
    border-radius: 4px;
    transition: background 0.3s;
}

.pagination .page-numbers.current {
    background-color: var(--clr-text);
    color: var(--clr-white);
    border-color: var(--clr-text);
}


.pagination .page-numbers:hover:not(.current) {
    background-color: #f0f0f0;
}

.news-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    /* padding: 15px 0; */
}

.news-list ul {
    list-style: none;
    padding: 0;

}

.news-list li {
    border-bottom: 1px solid var(--clr-border);
    width: 100%;
}

.cat-list {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-left-content .thumbnail img.default-image {
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    background-position: center;
    background-size: cover;
}

/* ----------------------------------------------------------------
 * 9. Sidebar Styling
 * ---------------------------------------------------------------- */

.widget-area {
    padding: 20px;
    background-color: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 6px;
}


.widget {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--clr-border);
}

.widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--clr-title);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 10px;
    border-bottom: 1px dashed var(--clr-border);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    text-decoration: none;
    color: var(--clr-text);
    display: block;
    transition: color 0.2s, padding-left 0.2s;
    font-size: 15px;
}

.widget ul li a:hover {
    color: var(--clr-blue);
    padding-left: 5px;

}

/* ----------------------------------------------------------------
 * 10. Company Styling
 * ---------------------------------------------------------------- */


.is-style-regular {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}


table tr td:first-child {
    /* background-color: var(--clr-table-th); */
    font-weight: 700;
    text-align: center;
}

table tr td:last-child {
    /* background-color: var(--clr-table-td); */
    text-align: left;
}


.wp-block-heading-Company {
    font-size: 30px;
    text-align: center;
}

.wp-block-table.is-style-regular th {
    padding: 10px;
    font-size: var(--sz-md);
    font-weight: 700;
    text-align: center;
}

.map {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    max-width: 800px;
}

.map iframe {
    width: 100%;
}

.wp-block-group.company-p {
    background: var(--clr-white);
    padding: 28px 36px;
    border-radius: 16px;
    line-height: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    /* text-align: justify;
    text-align-last: justify; */
}

.wp-block-group.company-card-wrap {
    display: grid;
    justify-content: center;
    gap: var(--sz-sm);
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin-top: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 40px auto 0;
}

.wp-block-group.company-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 180px;
    gap: var(--sz-sm);
    min-height: 220px;
    background: var(--clr-white);
    padding: 16px 16px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    transition: 0.3s;
    border: var(--clr-base) 3px solid;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wp-block-group.company-card img {

    object-fit: contain;
}

.company-card:nth-child(1) {
    animation-delay: 0.8s;
}

.company-card:nth-child(2) {
    animation-delay: 1.6s;
}

.company-card:nth-child(3) {
    animation-delay: 2.4s;
}

.company-card:nth-child(4) {
    animation-delay: 3.2s;
}

.company-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 40px rgba(122, 119, 189, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ----------------------------------------------------------------
 * 11. Privacy Styling
 * ---------------------------------------------------------------- */

.content-title::before,
.page-title::before {
    content: attr(data-title);
    display: block;
    margin-bottom: 0.281em;
    font-family: var(--font-title);
    line-height: 0.8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: var(--sz-xl);
    color: var(--clr-title);
}

/* ----------------------------------------------------------------
 * 12. Recruit Styling
 * ---------------------------------------------------------------- */
.wp-block-table {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    table-layout: fixed;
    font-size: var(--sz-md);
    font-weight: 400;
    border-radius: 10px;
    /* border: 3px solid var(--clr-table); */
}

.wp-block-table.is-style-stripes {
    border: 5px solid var(--clr-table);
    background-color: var(--clr-white);
}


.wp-block-table th,
.wp-block-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wp-block-table.is-style-stripes td {
    border-bottom: 1px solid var(--clr-table);
}

.wp-block-table.is-style-stripes tbody tr:last-child td,
.wp-block-table.is-style-stripes tbody tr:last-child th {
    border-bottom: none;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: transparent;
}

.wp-block-table th:first-child,
.wp-block-table td:first-child {
    width: 30%;
}

.qa-links {
    border-top: 2px solid var(--clr-text);
    margin-top: 100px;
    padding-top: 30px;

}

.qa-links p {
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
}

.recruit-contact p {
    font-weight: 400;
    text-align: center;
}

.recruit-qa-section p {
    font-weight: normal;
    text-align: left;
    background: var(--clr-white);
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--clr-text);
    position: relative;
    line-height: 1.9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.recruit-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
    margin-top: 20px;

}

.recruit-btn {
    background-color: var(--clr-recruit);
    color: var(--clr-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: var(--sz-md);
    font-weight: 600;
    transition: background-color 0.3s;
    width: 160px;
    text-align: center;
    text-decoration: none;
}

.recruitqa-btn {
    background-color: var(--clr-blue);
    color: var(--clr-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: var(--sz-md);
    font-weight: 600;
    transition: background-color 0.3s;
    width: 160px;
    text-align: center;
    text-decoration: none;
}

.recruit-btn:hover {
    background-color: var(--clr-recruithover);
    text-decoration: none;
}

.recruitqa-btn:hover {
    background-color: var(--clr-recruithover);
    text-decoration: none;
}

.recruit-contact-btn {
    background-color: var(--clr-recruitcon);
    color: var(--clr-white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: var(--sz-md);
    font-weight: 600;
    transition: background-color 0.3s;
    width: 190px;
    text-align: center;
    text-decoration: none;
}

.recruit-contact-btn:hover {
    background-color: var(--clr-recruithover);
    text-decoration: none;
}

#post-83 .recruit-qa-section .wp-block-heading {
    position: relative;
    font-size: var(--sz-md);
    font-weight: 700;
    color: var(--clr-text);
    background: var(--clr-base-hover);
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
}

/* ----------------------------------------------------------------
 * 12. HOME Styling
 * ---------------------------------------------------------------- */

#main-visual {
    background-image: url(img/main-visual.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flow-root;
    align-items: center;
    color: var(--clr-blue);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.entry-content {
    position: relative;
    margin-bottom: 30px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5em;
    margin-left: 0;
    list-style-position: inside;
}

.entry-content li {
    margin-bottom: 0.3em;
    font-size: var(--sz-md);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--clr-sub);
    margin-bottom: 30px;
    padding-bottom: 10px;
    margin-top: 30px;
}

.service-item {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-item-title {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--clr-white);
    border: 5px solid var(--clr-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    line-height: 1.4;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    font-size: var(--sz-md);
}


.service-item-title img {
    max-height: 40px;
    object-fit: contain;
}

.section-title {
    font-size: var(--sz-xl);
    color: var(--clr-nav);
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: attr(data-en);
    position: absolute;
    top: -20px;
    left: 0;
    font-size: var(--sz-xl);
    color: rgba(0, 0, 0, 0.05);
    z-index: -1;
}

.section-title span {
    font-size: var(--sz-lg);
    color: var(--clr-sub);
    margin-left: 15px;
}

.company-banner {
    position: relative;
    background-image: url(img/company.jpg);
    background-size: cover;
    background-position: center bottom;
    text-align: center;
    width: 100vw;
    aspect-ratio: 16 / 2.5;
    margin-left: calc(50% - 50vw);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: var(--clr-white);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.company-banner>* {
    position: relative;
    z-index: 1;
}

.company-banner p {
    font-size: var(--sz-md);
    font-weight: 600;
}

#recruit {
    margin-bottom: 60px;
}

.recruit-banner {
    position: relative;
    background-image: url(img/recruit.png);
    background-size: cover;
    background-position: center 40%;
    text-align: center;
    width: 100vw;
    aspect-ratio: 16 / 2.5;
    margin-left: calc(50% - 50vw);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: var(--clr-white);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 30px;
    box-sizing: border-box;
}


.recruit-banner>* {
    position: relative;
    z-index: 1;
}

.recruit-banner p {
    font-size: var(--sz-md);
    font-weight: 600;
}


.about-content {
    margin: 0 auto;
    overflow: hidden;
}

.about-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    margin-top: 20px;
    margin: 0 auto;
    font-size: var(--sz-md);
}

.about-table li {
    list-style: none;
    padding-left: 10px;
}

.about-table td {
    padding: 10px;

}

.about-table th:first-child {
    width: 25%;
    background-color: var(--clr-table-th);
    font-weight: 700;
    color: var(--clr-text);
    text-align: center;
}

.view-all {
    display: inline-block;
    align-items: center;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--clr-title);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: var(--sz-md);
    transition: all 0.2s ease;
}

.service-view-all,
.news-view-all {
    margin: 20px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;

}

.company-view-all {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background-color: var(--clr-base);
    color: var(--clr-white);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: var(--sz-md);
    transition: all 0.2s ease;
}

.view-all-arrow {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 1px;
    background-color: currentColor;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.view-all-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.view-all:hover .view-all-arrow {
    transform: translateX(5px);
}

.view-all:hover {
    opacity: 0.7;
    background-color: var(--clr-title);
    color: var(--clr-white);
}

.news-list .date {
    margin-right: 30px;
    font-size: var(--sz-sm);
    color: var(--clr-sub);
    font-weight: 600;
}

.news-list p {
    margin-right: 30px;
    font-size: var(--sz-md);
    color: var(--clr-text);
    font-weight: 600;
}



/* ----------------------------------------------------------------
 * 13. SERVICE Styling
 * ---------------------------------------------------------------- */

.wp-block-details summary {
    cursor: text;
    font-size: var(--sz-md);
}

.wp-block-heading-Service {
    font-size: var(--sz-lg);
    text-align: center;
}

h1.page-title {
    font-size: var(--sz-xxl);
    color: var(--clr-nav);
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-align: center;
    z-index: 1;
}

h1.page-title::before {
    content: attr(data-title);
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: var(--sz-xl);
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    z-index: -1;
    letter-spacing: 0.08em;
    white-space: nowrap;

}

h2.page-title {
    font-size: var(--sz-xl);
    color: var(--clr-nav);
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    text-align: center;
    z-index: 1;
}

h2.page-title::before {
    content: attr(data-title);
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: var(--sz-lg);
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    z-index: -1;
    letter-spacing: 0.08em;
    white-space: nowrap;

}

.page-title-wrap {
    text-align: center;
}

.wp-block-media-text__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 40px 0 40px 0;
}

.wp-block-heading.has-text-align-left {
    position: relative;
    background: var(--clr-base-hover);
    padding: 20px 24px;
    border-radius: 12px;
    line-height: 1;

    margin-top: var(--sz-md);
}

.has-text-align-left {
    position: relative;
    background: var(--clr-background);
    padding: 20px 24px;
    border-radius: 12px;
    line-height: 1.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.is-style-regular-service table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    max-width: 100%;
    background: var(--clr-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 5px solid var(--clr-base);
    word-break: break-word;
}

.is-style-regular-service td {
    padding: var(--sz-md);
    font-weight: normal;
    line-height: 1;
    border-bottom: 0.5px solid var(--clr-border);
    border-left: none;
    border-right: none;
    border-top: none;
    background-color: var(--clr-white);
    word-break: break-word;
}

.is-style-regular-service td:first-child,
.is-style-regular-service td:last-child {
    background-color: var(--clr-white);
}

.is-style-regular-service tbody tr:last-child td,
.is-style-regular-service tbody tr:last-child th {
    border-bottom: none;
}

p.has-text-align-center.philosophy {
    background: var(--clr-white);
    padding: 28px 36px;
    border-radius: 16px;
    line-height: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    font-size: var(--sz-md);
    font-weight: 500;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    width: 140px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--clr-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 0 !important;

    border: 1px solid rgba(122, 119, 189, 0.15);
}

.flow-step h4 {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #7a77bd;
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.flow-arrow {
    width: 48px;
    height: 48px;
    margin: 12px auto;
    background-image: url(img/arrow_down.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.flow-wrap {
    display: flex;
    justify-content: center;
    gap: var(--sz-sm);
    flex-wrap: wrap;
    margin: 60px auto;
}

.flow-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sz-sm);
    background: var(--clr-white);
    padding: var(--sz-sm);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto 24px;
}

.flow-item>* {
    min-width: 0;
    max-width: 100%;
}

.flow-p {
    font-size: var(--sz-md);
    line-height: 1.8;
    color: var(--clr-text);
    font-weight: 500;
    text-align: left;
}