.p-section-front-page-content {
    padding: 0;
}

.c-entry__content {
    padding: 0;
}

.strength_flex .c-row--margin {
    justify-content: center;
}

.menu-item a {
    color: #333 !important;
}

.menu-item a:hover {
    color: #003a8f !important;
}

.main_btn a {
    transition: all 0.5s !important;
}

.main_btn a:hover {
    background: linear-gradient(90deg,
            #003a8f 0%,
            #007bc7 50%,
            #00a0dc 100%) !important;
    color: #fff !important;

}

.service_slids .smb-items__banner__title {
    font-size: 1.8rem !important;
}

.service_slids .smb-items__banner__lede {
    font-size: 1.1rem;
    line-height: 1.5;
}

.policy_midashi {
    width: 250px;
}

.message_box {
    /* text-align: center; */
    font-size: 1.2rem;
}

.message_box p {
    margin-top: 20px !important;
}

.service_pannel {
    cursor: default !important;
}

.outline_table .smb-information__item__label {
    font-weight: bold;
}


.
/* FVアニメーション */

:root {
    --bg0: #e6ebf2;
    --bg1: #d7dee8;
    --text: #0c1b33;
    --muted: #5c6a7a;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

.home {
    background-color: #d7dee8;

}

.hero {
    margin: 0;
    font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
    color: var(--text);
    background: linear-gradient(180deg, var(--bg0), var(--bg1));
    overflow-x: hidden;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: 76px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(12, 27, 51, 0.06);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    line-height: 1.05;
    margin-right: 10px;
}

.brand-mark {
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 22px;
}

.brand-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.lang {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pill {
    border: 1px solid rgba(12, 27, 51, 0.14);
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
}

.pill.is-active {
    border-color: rgba(12, 27, 51, 0.28);
    background: rgba(12, 27, 51, 0.06);
}

.nav {
    margin-left: auto;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(12, 27, 51, 0.74);
    font-size: 14px;
    position: relative;
    padding: 6px 2px;
}

.nav-link.is-active {
    color: rgba(12, 27, 51, 0.98);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: rgba(12, 27, 51, 0.75);
    border-radius: 999px;
}

.cta {
    margin-left: 14px;
    text-decoration: none;
    color: rgba(12, 27, 51, 0.9);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(12, 27, 51, 0.14);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    isolation: isolate;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 600px at 65% 45%, rgba(19, 160, 210, 0.24), transparent 60%),
        radial-gradient(900px 520px at 30% 55%, rgba(10, 60, 140, 0.18), transparent 62%),
        linear-gradient(180deg, var(--bg0), var(--bg1));
    z-index: 0;
}

.hero-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-copy {
    opacity: 0;
    position: relative;
    z-index: 3;
    text-align: center;
}

/* JSの準備完了後に表示解禁 */
.hero.is-ready .hero-copy {
    opacity: 1;
}

.catch {
    margin: 0;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.catch+.catch {
    margin-top: 18px;
}

.noise {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.12;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }
}

@media (max-width: 560px) {
    .site-header {
        height: 70px;
    }

    .hero {
        padding-top: 70px;
    }

    .brand-sub {
        display: none;
    }

    .cta {
        padding: 9px 12px;
        font-size: 13px;
    }
}

/* ===== Intro Animations ===== */
.hero {
    --type-step: 0.06s;
    --glow-final: 0.07;
    /* ← ここが最終の薄さ */
}


/* 初期状態 */
#ribbonPath {
    opacity: 0;
}

#ribbonGlow {
    opacity: 0;
}

/* 属性の0.07は使わない方が安定 */

/* ① 波フェードイン */
.hero.is-step1 #ribbonPath {
    animation: ribbonFade 1.3s ease forwards;
}

.hero.is-step1 #ribbonGlow {
    animation: glowFade 1.3s ease forwards;
    animation-delay: 0.12s;
}

@keyframes ribbonFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes glowFade {
    from {
        opacity: 0;
    }

    to {
        opacity: var(--glow-final);
    }

    /* ← 1にしない */
}

/* is-step2 が外れても枠が消えない保険 */
.hero.is-step3 #framePath {
    stroke-dashoffset: 0;
}

/* ===== 枠：初期状態（最初から見えないようにして“チラ見え”防止） ===== */
#framePath {
    stroke-dasharray: var(--frame-len, 2000);
    stroke-dashoffset: var(--frame-len, 2000);
}

/* ===== 枠：初期は完全に見せない（チラ見え防止） ===== */
#framePath {
    opacity: 0;
    /* ←これが決定打 */
    stroke-dasharray: var(--frame-len, 99999);
    stroke-dashoffset: var(--frame-len, 99999);
}

/* ===== ② 枠を描く（表示してから描画） ===== */
.hero.is-step2 #framePath {
    opacity: 1;
    animation: frameDraw 1.1s ease forwards;
}

@keyframes frameDraw {
    from {
        stroke-dashoffset: var(--frame-len, 99999);
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* ③ 文字を1文字ずつ：初期は見えない */
.catch .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
}

/* is-step3 になったら、1文字ずつ出す */
.hero.is-step3 .catch .char {
    animation: charIn 0.34s ease forwards;
    animation-delay: calc(var(--base, 0s) + (var(--i) * var(--type-step)));
}

@keyframes charIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 初期状態：非表示 */
.l-header {
    opacity: 0;
    pointer-events: none;
    /* 念のため */
    transition: opacity 0.5s ease;
}

/* アニメーション後に表示 */
.l-header.active_header {
    opacity: 1;
    pointer-events: auto;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
    .top_sec {
        padding: 30px 20px;
    }

    .top_bloken .smb-section-break-the-grid__figure {
        width: 90% !important;
        margin: 30px 0 30px auto !important;
    }

    .service_slids .smb-items__banner__title {
        font-size: 1.1rem !important;
    }

    .service_slids .smb-items__banner__lede {
        font-size: 0.6rem !important;
    }



    .hero-svg {
        /* inset:0 を上書きして左右だけ内側へ */
        top: 0;
        bottom: 0;
        height: 100%;
    }

    .hero {
        padding-top: 0 !important;
        min-height: 90vh;
    }

    .hero {
        --svg-x-scale: 0.88;
        /* 0.84〜0.92くらいで調整 */
    }

    .hero-svg {
        /* レイアウトは崩さない */
        inset: 0;
        width: 100%;
        height: 100%;

        /* 見た目だけ左右を縮めて中央へ */
        transform: scaleX(var(--svg-x-scale));
        transform-origin: 50% 50%;
    }

    .hero-svg {
        overflow: visible;
    }

    #drawer-nav li a {
        color: #fff !important;
    }

    .message_sec .wp-block-column:nth-of-type(1) {
        padding-bottom: 10px;
        border-bottom: 1px solid #003a8f;
    }

}