@charset "UTF-8";
/*
    Theme Name: gachiCareer
    Theme URL :
    Description : 2025/8/1
    Author: taichiTonegawa
    Version : 1
*/

/* ===== スムーススクロール設定 ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* ヘッダー分のオフセット */
}

body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ========================================
   トップページのオーバースクロール背景色を
   ヒーローセクションのベースカラーと揃える
   （レイアウト・余白には一切影響を与えない）
   ======================================== */
html,
body {
    /* hero の bg-grad（#f4f6f8〜#eef2f5〜#e6eaee）の中間トーンに合わせる */
    background-color: #eef2f5;
}

body.home,
body.home #page {
    background-color: #eef2f5;
}

/* スクロールバーのスタイリング */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* セクション間のスムーズな遷移 */
section {
    scroll-margin-top: 80px;
}

/* スクロール時の視覚効果 */
* {
    scroll-behavior: smooth;
}

/* アンカーリンクのスムーズスクロール */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* ===== スクロールアニメーション設定 ===== */
/* 基本トークン */
:root {
    --ani-duration: 1.5s;
    --ani-ease: cubic-bezier(.19, 1, .22, 1);
    --ani-distance: 30px;
}

/* 初期状態（共通） */
[data-ani] {
    opacity: 0;
    will-change: transform, opacity, filter, clip-path;
    transition-property: transform, opacity, filter, clip-path;
    transition-duration: var(--ani-duration);
    transition-timing-function: var(--ani-ease);
}

/* inview で発火 */
[data-ani].is-inview {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: inset(0 0 0 0 round .1px);
}

/* バリエーション */
[data-ani="fade-up"] {
    transform: translateY(var(--ani-distance));
}

[data-ani="fade-down"] {
    transform: translateY(calc(var(--ani-distance) * -1));
}

[data-ani="fade-right"] {
    transform: translateX(calc(var(--ani-distance) * -1));
}

[data-ani="fade-left"] {
    transform: translateX(var(--ani-distance));
}

[data-ani="fade-in"] {
    transform: none;
}

[data-ani="zoom-in"] {
    transform: scale(.96);
}

[data-ani="blur-up"] {
    filter: blur(6px);
}

[data-ani="clip-up"] {
    clip-path: inset(100% 0 0 0 round .1px);
}

/* 下からマスク */

/* duration / delay を data 属性で個別に */
[data-ani][data-ani-duration] {
    transition-duration: var(--ani-duration-custom, var(--ani-duration));
}

[data-ani][data-ani-delay] {
    transition-delay: var(--ani-delay-custom, 0s);
}

/* スタッガー（親に指定：子要素へディレイを等差で付与） */
[data-ani-stagger]>* {
    opacity: 0;
    transform: translateY(12px);
}

[data-ani-stagger].is-inview>* {
    opacity: 1;
    transform: none;
    transition: transform var(--ani-duration) var(--ani-ease),
        opacity var(--ani-duration) var(--ani-ease);
}

[data-ani-stagger].is-inview>*:nth-child(n) {
    transition-delay: calc(var(--stagger-step, .06s) * (var(--i, 1) - 1));
}

[data-ani-stagger]>*:nth-child(n) {
    --i: calc(var(--n, 0) + 1);
}

/* Reduced motion: アニメ弱め */
@media (prefers-reduced-motion: reduce) {

    [data-ani],
    [data-ani-stagger]>* {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }
}

/* ==== Challenge section visibility fix ====
   タイトルや本文が背景に埋もれないように前面へ - アニメーション要素は除外 */
.challenge__content:not([data-ani]),
.challenge__title-wrap:not([data-ani]),
.challenge__title-vertical:not([data-ani]),
.challenge__title-line:not([data-ani]),
.challenge__subtitle:not([data-ani]),
.challenge__text:not([data-ani]),
.challenge__btn:not([data-ani]) {
    position: relative !important;
    z-index: 5 !important;
    opacity: 1 !important;
    transform: none !important;
}

.challenge__overlay {
    z-index: 2 !important;
}

.challenge__background {
    z-index: 1 !important;
}

/* 挑戦フィールドセクションのアニメーション専用設定 */
.challenge [data-ani] {
    position: relative !important;
    z-index: 5 !important;
}

.challenge [data-ani].is-inview {
    opacity: 1 !important;
    transform: none !important;
}

/* ボタンは位置指定を維持 */
.challenge__btn.is-inview,
.cta-btn.is-inview {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
}

/* ===== ヒーローセクション高さ固定設定 ===== */
/* レスポンシブ高さ定義 */
:root {
    --hero-h: 420px;
    /* デフォルト（767px以下） */
}

@media (min-width: 768px) {
    :root {
        --hero-h: 560px;
        /* 768-1279px */
    }
}

@media (min-width: 1280px) {
    :root {
        --hero-h: 800px;
        /* 1280px以上 */
    }
}

/* セクション高さ固定と余白リセット */
section.challenge {
    height: var(--hero-h);
    padding-block: 0;
    margin-block: 0;
    overflow: clip;
    overflow: hidden;
    /* Safari対策 */
    position: relative;
}

/* 背景レイヤーを親高さいっぱいに拡張 */
.challenge__background,
.challenge__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* 背景画像のトリミング設定 */
.challenge__background img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* コンテンツの垂直中央寄せ */
.challenge .container {
    position: relative;
    min-height: 100%;
    display: grid;
    place-items: center;
    margin-block: 0;
    /* 既存の左右paddingは維持 */
}

/* 親要素の余白リセット */
.hero section.challenge,
.site-content section.challenge,
.main section.challenge {
    padding-block: 0;
    margin-block: 0;
}

/* 既存の高さ指定を上書き */
.challenge__background,
.challenge__overlay {
    height: 100% !important;
    min-height: unset !important;
}

/* ===== 全セクションのテキスト・画像強制可視化 ===== */
/* 古いアニメーションシステムを無効化 */
.js-anim,
[data-anim] {
    /* 古いアニメーションシステムを無効化 */
}

/* 各セクションの非表示要素を強制表示 - アニメーション要素は除外 */
.hero__title:not([data-ani]),
.hero__lead:not([data-ani]),
.manifesto__title:not([data-ani]),
.manifesto__title-line:not([data-ani]),
.manifesto__text:not([data-ani]),
.manifesto__rainbow-text:not([data-ani]),
.highlight__item:not([data-ani]),
.highlight__item-title:not([data-ani]),
.highlight__item-text:not([data-ani]),
.works__title:not([data-ani]),
.work-card:not([data-ani]),
.recruitment__title:not([data-ani]),
.recruitment__text:not([data-ani]),
.recruitment__btn:not([data-ani]),
.pickup__title:not([data-ani]),
.pickup-card:not([data-ani]),
.pickup-card__title:not([data-ani]),
.pickup-card__text:not([data-ani]) {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

/* 背景画像・要素のz-index調整 */
.hero__bg,
.challenge__background,
.feature__image,
.work-card__image,
.pickup-card__thumb {
    z-index: 1 !important;
}

/* ===== 特徴セクション背景デザイン ===== */
:root {
    --c-base: #ffffff;
    --c-blue-0: #f7fbff;
    --c-blue-1: #eef6ff;
    --c-blue-2: #e3f0ff;
    --c-blue-3: #d7eaff;
    --c-blue-4: #cbe2ff;
    --c-shadow: 0 12px 40px rgba(160, 190, 255, 0.18);
}

.highlight {
    position: relative !important;
    overflow: hidden !important;
    background: var(--c-blue-0) !important;
    padding-block: clamp(72px, 8vw, 140px) !important;
}

.highlight::before {
    content: '' !important;
    position: absolute !important;
    top: 20% !important;
    left: 50% !important;
    width: 1600px !important;
    height: 200px !important;
    background: linear-gradient(180deg, var(--c-blue-2) 0%, var(--c-base) 50%, var(--c-blue-1) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: 0 8px 32px rgba(160, 190, 255, 0.15) !important;
    opacity: 0.8 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    animation: rotate-slow-top 15s linear infinite !important;
}

.highlight__bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(600px 600px at 12% 18%, rgba(199, 226, 255, 0.5) 0%, rgba(199, 226, 255, 0.0) 60%),
        radial-gradient(520px 520px at 86% 72%, rgba(191, 225, 255, 0.45) 0%, rgba(191, 225, 255, 0.0) 62%),
        linear-gradient(160deg, var(--c-blue-0) 0%, var(--c-base) 60%, var(--c-blue-1) 100%) !important;
    opacity: 0.9 !important;
    clip-path: none !important;
}

.highlight__bg::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 1800px !important;
    height: 260px !important;
    background: linear-gradient(180deg, var(--c-base) 0%, var(--c-blue-2) 55%, var(--c-blue-3) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: var(--c-shadow) !important;
    opacity: 0.9 !important;
    animation: rotate-slow-center 20s linear infinite !important;
}

.highlight__bg::after {
    content: '' !important;
    position: absolute !important;
    bottom: 20% !important;
    left: 50% !important;
    width: 2000px !important;
    height: 140px !important;
    background: linear-gradient(180deg, var(--c-blue-1) 0%, var(--c-base) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: 0 10px 30px rgba(150, 180, 240, 0.16) !important;
    opacity: 0.85 !important;
    animation: rotate-slow-bottom 25s linear infinite !important;
}

.highlight .container {
    position: relative !important;
    z-index: 1 !important;
}

/* 回転アニメーションの定義 */
@keyframes rotate-slow-top {
    0% {
        transform: translate(-50%, 0) rotate(-18deg);
    }

    100% {
        transform: translate(-50%, 0) rotate(342deg);
    }
}

@keyframes rotate-slow-center {
    0% {
        transform: translate(-50%, -50%) rotate(-18deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(342deg);
    }
}

@keyframes rotate-slow-bottom {
    0% {
        transform: translate(-50%, 0) rotate(-18deg);
    }

    100% {
        transform: translate(-50%, 0) rotate(342deg);
    }
}

/* ===== サービスセクション背景アニメーション ===== */
.service-section {
    position: relative !important;
    overflow: hidden !important;
    background: var(--c-blue-0) !important;
    padding-block: clamp(72px, 8vw, 140px) !important;
}

.service-section::before {
    content: '' !important;
    position: absolute !important;
    top: 20% !important;
    left: 50% !important;
    width: 1600px !important;
    height: 200px !important;
    background: linear-gradient(180deg, var(--c-blue-2) 0%, var(--c-base) 50%, var(--c-blue-1) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: 0 8px 32px rgba(160, 190, 255, 0.15) !important;
    opacity: 0.8 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    animation: rotate-slow-top 15s linear infinite !important;
}

.service-section__bg {
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(600px 600px at 12% 18%, rgba(199, 226, 255, 0.5) 0%, rgba(199, 226, 255, 0.0) 60%),
        radial-gradient(580px 580px at 86% 72%, rgba(191, 225, 255, 0.45) 0%, rgba(191, 225, 255, 0.0) 62%),
        linear-gradient(160deg, var(--c-blue-0) 0%, var(--c-base) 60%, var(--c-blue-1) 100%) !important;
    opacity: 0.9 !important;
    clip-path: none !important;
}

.service-section__bg::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 1800px !important;
    height: 260px !important;
    background: linear-gradient(180deg, var(--c-base) 0%, var(--c-blue-2) 55%, var(--c-blue-3) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: var(--c-shadow) !important;
    opacity: 0.9 !important;
    animation: rotate-slow-center 20s linear infinite !important;
}

.service-section__bg::after {
    content: '' !important;
    position: absolute !important;
    bottom: 20% !important;
    left: 50% !important;
    width: 2000px !important;
    height: 140px !important;
    background: linear-gradient(180deg, var(--c-blue-1) 0%, var(--c-base) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: 0 10px 30px rgba(150, 180, 240, 0.16) !important;
    opacity: 0.85 !important;
    animation: rotate-slow-bottom 25s linear infinite !important;
}

.service-section .container {
    position: relative !important;
    z-index: 1 !important;
}

/* ===== 実績・ギャラリーセクション背景アニメーション ===== */
.works {
    position: relative !important;
    overflow: hidden !important;
    background: var(--c-blue-0) !important;
    padding-block: clamp(72px, 8vw, 140px) !important;
}

.works::before {
    content: '' !important;
    position: absolute !important;
    top: 20% !important;
    left: 50% !important;
    width: 1600px !important;
    height: 200px !important;
    background: linear-gradient(180deg, var(--c-blue-2) 0%, var(--c-base) 50%, var(--c-blue-1) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: 0 8px 32px rgba(160, 190, 255, 0.15) !important;
    opacity: 0.8 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    animation: rotate-slow-top 15s linear infinite !important;
}

.works__bg {
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(600px 600px at 12% 18%, rgba(199, 226, 255, 0.5) 0%, rgba(199, 226, 255, 0.0) 60%),
        radial-gradient(580px 580px at 86% 72%, rgba(191, 225, 255, 0.45) 0%, rgba(191, 225, 255, 0.0) 62%),
        linear-gradient(160deg, var(--c-blue-0) 0%, var(--c-base) 60%, var(--c-blue-1) 100%) !important;
    opacity: 0.9 !important;
    clip-path: none !important;
}

.works__bg::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 1800px !important;
    height: 260px !important;
    background: linear-gradient(180deg, var(--c-base) 0%, var(--c-blue-2) 55%, var(--c-blue-3) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: var(--c-shadow) !important;
    opacity: 0.9 !important;
    animation: rotate-slow-center 20s linear infinite !important;
}

.works__bg::after {
    content: '' !important;
    position: absolute !important;
    bottom: 20% !important;
    left: 50% !important;
    width: 2000px !important;
    height: 140px !important;
    background: linear-gradient(180deg, var(--c-blue-1) 0%, var(--c-base) 100%) !important;
    border-radius: 9999px !important;
    box-shadow: 0 10px 30px rgba(150, 180, 240, 0.16) !important;
    opacity: 0.85 !important;
    animation: rotate-slow-bottom 25s linear infinite !important;
}

.works .container {
    position: relative !important;
    z-index: 1 !important;
}

/* アクセシビリティ対応：動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {

    .highlight::before,
    .highlight__bg::before,
    .highlight__bg::after,
    .service-section::before,
    .service-section__bg::before,
    .service-section__bg::after,
    .works::before,
    .works__bg::before,
    .works__bg::after {
        animation: none !important;
    }

    .highlight::before,
    .service-section::before,
    .works::before {
        top: 20% !important;
        transform: translate(-50%, 0) rotate(-18deg) !important;
    }

    .highlight__bg::before,
    .service-section__bg::before,
    .works__bg::before {
        top: 50% !important;
        transform: translate(-50%, -50%) rotate(-18deg) !important;
    }

    .highlight__bg::after,
    .service-section__bg::after,
    .works__bg::after {
        bottom: 20% !important;
        transform: translate(-50%, 0) rotate(-18deg) !important;
    }
}

/* レスポンシブ調整 */
@media (max-width: 1279px) and (min-width: 768px) {
    .highlight::before {
        width: 1200px !important;
        height: 160px !important;
        top: 20% !important;
        left: 50% !important;
        transform: translate(-50%, 0) rotate(-18deg) !important;
    }

    .highlight__bg {
        background:
            radial-gradient(460px 460px at 12% 18%, rgba(199, 226, 255, 0.45) 0%, rgba(199, 226, 255, 0.0) 60%),
            radial-gradient(420px 420px at 86% 72%, rgba(191, 225, 255, 0.4) 0%, rgba(191, 225, 255, 0.0) 62%),
            linear-gradient(160deg, var(--c-blue-0) 0%, var(--c-base) 60%, var(--c-blue-1) 100%) !important;
    }

    .highlight__bg::before {
        width: 1400px !important;
        height: 220px !important;
        top: 50% !important;
        left: 50% !important;
        animation: rotate-slow-center 20s linear infinite !important;
    }

    .highlight__bg::after {
        width: 1600px !important;
        height: 120px !important;
        bottom: 20% !important;
        left: 50% !important;
        animation: rotate-slow-bottom 25s linear infinite !important;
    }
}

@media (max-width: 767px) {
    .highlight::before {
        width: 900px !important;
        height: 120px !important;
        top: 20% !important;
        left: 50% !important;
        transform: translate(-50%, 0) rotate(-18deg) !important;
    }

    .highlight__bg {
        background:
            radial-gradient(360px 360px at 12% 18%, rgba(199, 226, 255, 0.4) 0%, rgba(199, 226, 255, 0.0) 60%),
            radial-gradient(340px 340px at 86% 72%, rgba(191, 225, 255, 0.35) 0%, rgba(191, 225, 255, 0.0) 62%),
            linear-gradient(160deg, var(--c-blue-0) 0%, var(--c-blue-1) 100%) !important;
    }

    .highlight__bg::before {
        width: 1100px !important;
        height: 180px !important;
        top: 50% !important;
        left: 50% !important;
        animation: rotate-slow-center 20s linear infinite !important;
    }

    .highlight__bg::after {
        width: 1200px !important;
        height: 110px !important;
        bottom: 20% !important;
        left: 50% !important;
        animation: rotate-slow-bottom 25s linear infinite !important;
    }
}

/* オーバーレイ・コンテンツのz-index調整 */
.hero__content,
.challenge__content,
.manifesto__content,
.highlight__content,
.works__grid,
.recruitment__content,
.pickup__cards {
    position: relative !important;
    z-index: 5 !important;
}

/* ===== Business: 横スライドを最優先で強制（PC） ===== */
/* 無効化: index.cssの表示復旧CSSを優先 */
/*
/* 無効化: index.cssのビジネスセクションを優先 */
/*
@media (min-width: 1024px) {

    html body #business .biz-frame,
    html body #business .biz-sticky {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    html body #business .biz-track {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: clamp(24px, 3.2vw, 44px) !important;
        overflow: clip !important;
        white-space: normal !important;
        transform: none !important;
        translate: none !important;
    }
*/

/* 無効化: index.cssのビジネスセクションを優先 */
/*
    html body #business .biz-slide {
        flex: 0 0 100vw !important;
        width: 100vw !important;
        height: auto !important;
        display: grid !important;
        place-items: center !important;
        margin: 0 !important;
    }

    html body #business .biz-bg {
        position: absolute !important;
        inset: 0 !important;
        height: auto !important;
    }

    html body #business .biz-card {
        position: relative !important;
        z-index: 10 !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto !important;
    }
    */
}

*/
/* ====== Business: カード強制可視化 & 最前面 ====== */
/* 無効化: index.cssの表示復旧CSSを優先 */
/*
#business .biz-slide {
    position: relative !important;
    overflow: visible !important;
}

#business .biz-bg {
    z-index: 1 !important;
}

#business .biz-bg::before,
#business .biz-bg::after {
    content: none !important;
    display: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

#business .biz-title {
    margin: 0 0 18px !important;
    font-weight: 800 !important;
    font-size: 28px !important;
}

#business .biz-lead {
    margin: 0 0 28px !important;
    width: min(820px, 90%) !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: rgba(255, 255, 255, .98) !important;
}

#business .biz-actions {
    display: flex !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

#business .biz-btn {
    height: 48px !important;
    padding: 0 22px !important;
    border-radius: 24px !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#business .biz-btn--solid {
    background: #fff !important;
    color: #1c63e8 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .12) !important;
}

#business .biz-btn--outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .95) !important;
}

#business .biz-num {
    grid-column: 2/3 !important;
    align-self: start !important;
    margin-top: 6px !important;
    margin-left: 24px !important;
    font-weight: 800 !important;
    font-size: 56px !important;
}

#business .biz-bg {
    height: 560px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

#business .biz-sticky[style],
#business .biz-frame[style],
#business .biz-track[style] {
    transform: none !important;
    translate: none !important;
    rotate: none !important;
    scale: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}
*/

/* 無効化: index.cssの表示復旧CSSを優先 */
/*
#business .biz-frame {
    display: block !important;
}

#business .biz-slide {
    display: block !important;
    width: 100% !important;
    margin: 0 0 48px !important;
    position: relative !important;
}

#business .biz-bg {
    position: relative !important;
    height: 560px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business .biz-card {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    width: min(1000px, 78vw) !important;
    height: 300px !important;
    padding: 44px 56px !important;
    border-radius: 22px !important;
    background: #2F7AF8 !important;
    color: #fff !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    box-shadow: 0 24px 48px rgba(33, 88, 220, .35) !important;
}
*/

#business .biz-title {
    margin: 0 0 18px !important;
    font: 800 28px/1.2 system-ui, -apple-system, sans-serif !important;
}

#business .biz-lead {
    margin: 0 0 28px !important;
    width: min(820px, 90%) !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: rgba(255, 255, 255, .98) !important;
}

#business .biz-actions {
    display: flex !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

#business .biz-btn {
    height: 48px !important;
    padding: 0 22px !important;
    border-radius: 24px !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

#business .biz-btn--solid {
    background: #fff !important;
    color: #1c63e8 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .12) !important;
}

#business .biz-btn--outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .95) !important;
}

#business .biz-num {
    grid-column: 2/3 !important;
    align-self: start !important;
    margin-top: 6px !important;
    margin-left: 24px !important;
    font-weight: 800 !important;
    font-size: 56px !important;
}

*/
/* 無効化: index.cssのビジネスセクションを優先 */
/*
@media (max-width: 900px) {
    #business .biz-card {
        width: min(760px, 92vw) !important;
        height: auto !important;
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
        padding: 32px 24px !important;
        transform: translate(-50%, -50%) !important;
    }

    #business .biz-num {
        grid-column: 1/-1 !important;
        margin: 8px 0 0 auto !important;
        font-size: 40px !important;
    }
}
*/


html body
/* === Business 背景高さをスクショ通りに固定（親まで含めて上書き） === */

/* 既存の高さ/最小・最大/変形を全クリア */
html body #business .biz-sticky,
transform: none !important;
}


/* 画像は親の 100% でカバー表示（親が 560px なのでその高さになる） */
border-radius: 24px !important;
/* 角丸が必要なら */
}

/* ===== Businessセクション：添付スクショ完全再現 ===== */

/* Sticky系が勝手に 100vh を付けるのを無効化 */
#business .biz-sticky[style],
#business .biz-frame[style],
#business .biz-track[style] {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    transform: none !important;
}

/* セクション外枠：薄グレー背景＋大きめ角丸＋ふんわり外側影 */
#business .biz-frame {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    margin: 28px clamp(24px, 4vw, 40px) !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, #F3F5F8 0%, #EEF0F4 100%) !important;
    box-shadow:
        0 22px 48px rgba(15, 21, 35, .12),
        inset 0 1px 0 rgba(255, 255, 255, .85) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border-top: 1px solid transparent !important;
    /* margin折り畳み対策 */
}

/* ← 画像の縦比 */
margin: 0 auto !important;
border-radius: 24px !important;
display: grid !important;
place-items: center !important;
overflow: clip !important;
background: transparent !important;
box-shadow: none !important;
}

/* 背景写真：カラー/カバー/角丸の中に収める */
#business .biz-bg {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    z-index: 1 !important;
    filter: none !important;
    /* グレー化を解除 */
}


/* 青いカード：中央配置・角丸・影・寸法を固定 */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business .biz-card {
    position: relative !important;
    z-index: 2 !important;
    width: min(1000px, 78vw) !important;
    height: 300px !important;
    background: #2F7AF8 !important;
    color: #fff !important;
    border-radius: 22px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    padding: 44px 56px !important;
    box-shadow: 0 24px 48px rgba(33, 88, 220, .35) !important;
}
*/

/* タイトル・本文・ボタン（左カラム） */
#business .biz-title {
    grid-column: 1 / 2 !important;
    margin: 0 0 18px !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    letter-spacing: .02em !important;
}

#business .biz-lead {
    grid-column: 1 / 2 !important;
    margin: 0 0 28px !important;
    width: min(820px, 90%) !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: rgba(255, 255, 255, .98) !important;
}

#business .biz-actions {
    grid-column: 1 / 2 !important;
    display: flex !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

#business .biz-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 22px !important;
    border-radius: 24px !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease !important;
    white-space: nowrap !important;
}

#business .biz-btn--solid {
    background: #fff !important;
    color: #1c63e8 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .12) !important;
}

#business .biz-btn--outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .95) !important;
}

/* 右端の番号「02」 */
#business .biz-num {
    grid-column: 2 / 3 !important;
    align-self: start !important;
    margin-top: 6px !important;
    margin-left: 24px !important;
    font-weight: 800 !important;
    font-size: 56px !important;
    line-height: 1 !important;
    opacity: .98 !important;
}

/* レスポンシブ（縦積み） */
@media (max-width: 900px) {
    #business .biz-track {
        height: 520px !important;
    }

    #business .biz-card {
        width: min(760px, 92vw) !important;
        height: auto !important;
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
        padding: 32px 24px !important;
    }

    #business .biz-num {
        grid-column: 1 / -1 !important;
        margin: 8px 0 0 auto !important;
        font-size: 40px !important;
    }
}

@media (max-width: 560px) {
    #business .biz-track {
        height: 480px !important;
    }

    #business .biz-title {
        font-size: 22px !important;
    }

    #business .biz-lead {
        font-size: 14px !important;
    }

    #business .biz-btn {
        height: 44px !important;
        padding: 0 18px !important;
        font-size: 14px !important;
    }
}

/* ===== 新しいビジネスセクション（カード形式） ===== */
.e-card-list {
    display: grid;
    grid-gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-items: center;
    align-items: start;
    justify-content: center;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.e-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.e-card:hover {
    transform: translateY(-6px);
}

.e-card__thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.e-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.e-card:hover .e-card__thumbnail img {
    transform: scale(1.05);
}

.e-card__content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.e-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.e-card__title {
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.e-card:hover .e-card__icon {
    background: #007aff;
    color: #fff;
}

@media (max-width: 768px) {
    .e-card-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 24px;
    }
}

/* ===== 事業紹介セクション（タイトル + 裏返りカード） ===== */
.business__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.e-card-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 300px;
}

.e-card-wrapper .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.e-card-wrapper:hover .card-inner {
    transform: rotateY(180deg);
}

.e-card-wrapper .card-front,
.e-card-wrapper .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.e-card-wrapper .card-back {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.e-card-wrapper .card-back .e-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.e-card-wrapper .card-back .e-card__description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* カードのホバー効果を調整 */
.e-card-wrapper .e-card:hover {
    transform: none;
}

@media (max-width: 768px) {
    .business__title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* ===== タイトルスタイル統一（実績セクションと同様） ===== */
.business__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
}

/* ハイライトセクションの最初のアイテムにpadding-top追加 */
.highlight__content .highlight__item:first-child {
    padding-top: 40px;
}

/* サービスセクションのgridにpadding-top追加 */
.service .grid {
    padding-top: 40px;
}

/* ===== 新しいサービスセクション（裏返りカード） ===== */
/* 全体構成 */
.service-section {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.service-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* カード全体 */
.service-card {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    perspective: 1000px;
}

.service-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-card__inner,
.service-card.is-flipped .service-card__inner {
    transform: rotateY(180deg);
}

/* 表・裏 共通 */
.service-card__front,
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

/* 表面 */
.service-card__front {
    background-color: var(--card-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* 写真部分 */
.service-card__image {
    flex: 1 1 80%;
    overflow: hidden;
    margin: 6px 6px 0 6px;
    /* 左右・下に余白を出して画像がフロートしてるように見せる */
    border-radius: 12px;
}

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

/* タイトル部分 */
.service-card__label {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.05em;
    padding: 16px 0;
}

/* 裏面 */
.service-card__back {
    background-color: var(--card-color);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px 30px;
    font-size: 15px;
    line-height: 1.8;
}

/* スマホ対策 */
@media (max-width: 768px) {
    .service-grid {
        gap: 24px;
    }

    .service-card {
        max-width: 300px;
    }
}

/* ===== フリップカード背面の拡張（薄い背景デザイン + 見出し+本文） ===== */
/* 裏面の薄いデザイン（擬似要素で敷く） */
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    transform: rotateY(180deg);
    background-color: var(--card-color);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 28px;
    /* 文字の読みやすさ確保 */
}

/* デザイン画像：うっすら見える */
.service-card__back::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--back-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* 透かし大きめ */
    opacity: 0.18;
    /* 0.15〜0.22で調整可 */
    filter: blur(1px);
    /* ほんの少し滲ませる */
    mix-blend-mode: screen;
    /* カラーとなじませる（multiply/screenで調整） */
    pointer-events: none;
}

/* 背面テキストの箱（前面に固定） */
.service-card__back-inner {
    position: relative;
    z-index: 1;
    max-width: 540px;
    text-align: left;
    max-height: calc(100% - 40px);
    overflow: auto;
    scrollbar-width: thin;
}

/* タイトル・本文（添付画像のボリューム感に合わせる） */
.service-card__back-title {
    font-weight: 800;
    font-size: clamp(18px, 2.1vw, 24px);
    line-height: 1.35;
    margin: 0 0 12px;
    letter-spacing: .02em;
}

.service-card__back-desc {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.9;
    opacity: .95;
    margin: 0;
}

.highlight__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
}

/* ハイライトセクションの最初のアイテムにpadding-top追加 */
.highlight__content .highlight__item:first-child {
    padding-top: 40px;
}

/* サービスセクションのgridにpadding-top追加 */
.service .grid {
    padding-top: 40px;
}

/* ===== 新しいサービスセクション（裏返りカード） ===== */
/* 全体構成 */
.service-section {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.service-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* カード全体 */
.service-card {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    perspective: 1000px;
}

.service-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-card__inner,
.service-card.is-flipped .service-card__inner {
    transform: rotateY(180deg);
}

/* 表・裏 共通 */
.service-card__front,
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

/* 表面 */
.service-card__front {
    background-color: var(--card-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* 写真部分 */
.service-card__image {
    flex: 1 1 80%;
    overflow: hidden;
    margin: 6px 6px 0 6px;
    /* 左右・下に余白を出して画像がフロートしてるように見せる */
    border-radius: 12px;
}

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

/* タイトル部分 */
.service-card__label {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.05em;
    padding: 16px 0;
}

/* 裏面 */
.service-card__back {
    background-color: var(--card-color);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px 30px;
    font-size: 15px;
    line-height: 1.8;
}

/* スマホ対策 */
@media (max-width: 768px) {
    .service-grid {
        gap: 24px;
    }

    .service-card {
        max-width: 300px;
    }
}

/* ===== フリップカード背面の拡張（薄い背景デザイン + 見出し+本文） ===== */
/* 裏面の薄いデザイン（擬似要素で敷く） */
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    transform: rotateY(180deg);
    background-color: var(--card-color);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 28px;
    /* 文字の読みやすさ確保 */
}

/* デザイン画像：うっすら見える */
.service-card__back::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--back-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* 透かし大きめ */
    opacity: 0.18;
    /* 0.15〜0.22で調整可 */
    filter: blur(1px);
    /* ほんの少し滲ませる */
    mix-blend-mode: screen;
    /* カラーとなじませる（multiply/screenで調整） */
    pointer-events: none;
}

/* 背面テキストの箱（前面に固定） */
.service-card__back-inner {
    position: relative;
    z-index: 1;
    max-width: 540px;
    text-align: left;
    max-height: calc(100% - 40px);
    overflow: auto;
    scrollbar-width: thin;
}

/* タイトル・本文（添付画像のボリューム感に合わせる） */
.service-card__back-title {
    font-weight: 800;
    font-size: clamp(18px, 2.1vw, 24px);
    line-height: 1.35;
    margin: 0 0 12px;
    letter-spacing: .02em;
}

.service-card__back-desc {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.9;
    opacity: .95;
    margin: 0;
}

/* ===== Business slider (exact look) ===== */
:root {
    --biz-blue: #2F7AF8;
    --biz-white: #ffffff;
    --biz-ink: #ffffff;
    --biz-outline: rgba(255, 255, 255, .85);
    --biz-shadow: 0 20px 60px rgba(23, 30, 50, .18);
    --biz-radius-lg: 26px;
    --biz-radius-md: 22px;
    --biz-gap: 56px;
}

/* ===== 強制固定: #business の高さを550pxに指定 ===== */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business,
#business.biz-slider,
#business .biz-sticky,
#business .biz-frame {
    height: 550px !important;
    min-height: 550px !important;
    max-height: 550px !important;
    overflow: hidden !important;
}

#business[style],
#business.biz-slider[style],
#business .biz-sticky[style],
#business .biz-frame[style] {
    height: 550px !important;
    min-height: 550px !important;
    max-height: 550px !important;
    overflow: hidden !important;
}
*/

/* ===== スクショ完全再現（優先度最上位で上書き） ===== */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
html body #business,
html body #business.biz-slider,
html body #business .biz-sticky,
html body #business .biz-frame {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    overflow: visible !important;
}

html body #business.biz-slider {
    padding-block: 0 !important;
    margin-block: 0 !important;
}
*/

/* トップ（ヒーロー）と事業内容の間の空白を完全に除去 */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
html body #top+#business,
html body .hero#top+#business,
html body #top+.biz-slider,
html body .hero#top+.biz-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body #business,
html body #business .biz-sticky,
html body #business .biz-frame {
    border-top: 1px solid transparent !important;
}
*/

/* 外枠：薄グレーの大角丸＋やわらかい外側影＋グラデ背景 */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
html body #business .biz-frame {
    position: relative !important;
    top: var(--biz-header, 0px) !important;
    height: auto !important;
    display: grid !important;
    place-items: center !important;
    padding: clamp(22px, 3vw, 28px) !important;
    margin-inline: clamp(16px, 4vw, 44px) !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, #eff2f6 0%, #f4f5f8 100%) !important;
    box-shadow: 0 24px 48px rgba(15, 21, 35, .10), inset 0 1px 0 rgba(255, 255, 255, .8) !important;
    overflow: hidden !important;
    isolation: isolate !important;
}
*/

margin: 0 auto !important;
position: relative !important;
display: flex !important;
align-items: center !important;
justify-content: flex-start !important;
gap: clamp(24px, 3.6vw, 44px) !important;
border-radius: 24px !important;
background: transparent !important;
box-shadow: none !important;
overflow: clip !important;
padding: clamp(18px, 2.6vw, 28px) !important;
}


/* 背景画像を添付画像の雰囲気に（薄い白ベール＋わずかな柔らかさ） */
html body #business .biz-bg::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(255, 255, 255, .14) !important;
    pointer-events: none !important;
}

html body
/* スライドは一枚だけ表示（参考スクショ通り） */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
html body #business .biz-slide {
    position: relative !important;
    z-index: 2 !important;
    flex: 0 0 860px !important;
    width: 860px !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
}
*/

/* ブルーのカード：大角丸・強い影・中央寄せ */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
html body #business .biz-card {
    width: clamp(760px, 70vw, 1080px) !important;
    border-radius: 22px !important;
    background: #2F7AF8 !important;
    color: #fff !important;
    padding: clamp(18px, 3.6vw, 44px) clamp(20px, 4.6vw, 56px) !important;
    box-shadow: 0 24px 48px rgba(33, 88, 220, .35) !important;
    position: relative !important;
}

html body #business .biz-slide:nth-of-type(1) .biz-card {
    background: #2F7AF8 !important;
}

html body #business .biz-slide:nth-of-type(2) .biz-card {
    background: #2F7AF8 !important;
    color: #fff !important;
}

html body #business .biz-slide:nth-of-type(3) .biz-card {
    background: #2F7AF8 !important;
    color: #fff !important;
}
*/


/* タイトル・本文・番号・ボタンのサイズ感 */
html body #business .biz-title {
    margin: 0 0 .8em !important;
    font-weight: 800 !important;
    font-size: clamp(22px, 2.2vw, 28px) !important;
    letter-spacing: .02em !important;
}

html body #business .biz-lead {
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    line-height: 1.9 !important;
    font-size: clamp(14px, 1.25vw, 16px) !important;
    color: rgba(255, 255, 255, .98) !important;
}

html body #business .biz-num {
    position: absolute !important;
    top: clamp(12px, 2vw, 20px) !important;
    right: clamp(14px, 2.4vw, 22px) !important;
    font-weight: 800 !important;
    font-size: clamp(34px, 4.4vw, 54px) !important;
    opacity: .96 !important;
}

html body #business .biz-actions {
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

html body #business .biz-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 20px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    letter-spacing: .02em !important;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease !important;
    white-space: nowrap !important;
    font-size: clamp(14px, 1.2vw, 16px) !important;
}

html body #business .biz-btn--solid {
    background: #fff !important;
    color: #1c63e8 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .10) !important;
}

html body #business .biz-btn--outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .9) !important;
}

@media (hover:hover) {
    html body #business .biz-btn:hover {
        transform: translateY(-1px) !important;
    }

    html body #business .biz-btn--solid:hover {
        box-shadow: 0 10px 22px rgba(0, 0, 0, .14) !important;
    }

    html body #business .biz-btn--outline:hover {
        background: rgba(255, 255, 255, .10) !important;
    }
}

/* モバイル縮小 */
@media (max-width:900px) {
    html body #business .biz-track {
        height: clamp(380px, 52vh, 520px) !important;
    }

    html body #business .biz-card {
        width: min(720px, 92vw) !important;
    }
}

@media (max-width:640px) {
    html body #business .biz-track {
        height: clamp(340px, 48vh, 480px) !important;
    }

    html body #business .biz-card {
        border-radius: 20px !important;
    }

    html body #business .biz-btn {
        height: 44px !important;
        padding: 0 16px !important;
        border-radius: 12px !important;
    }
}

/* =======================================================
   BUSINESS / スクショ完全再現テーマ
   - 外側：薄いグレーの大きな角丸 + 内側に背景画像（白～薄グレーのグラデ）
   - 中央：濃いブルーのカード（大きめの角丸・強めの影）
   - タイトル/本文/ボタン/番号の位置・サイズを揃える
   ======================================================= */

/* セクション全体（上の白帯や下の余白はゼロ） */
#business.biz-slider {
    padding-block: 0 !important;
    margin-block: 0 !important;
}

/* 固定ヘッダーがある場合は上の数値を変える（なければ0でOK） */
:root {
    --biz-header: 0px;
}

/* スクロール器(親) */
#business .biz-sticky {
    height: auto !important;
    /* 固定値は使わない */
}

/* 表示ステージ（外枠：薄グレー大角丸＋ソフトな外側影） */
#business .biz-frame {
    position: relative;
    top: var(--biz-header);
    height: auto !important;
    display: grid;
    place-items: center;
    padding: clamp(22px, 3vw, 28px);
    margin-inline: clamp(16px, 4vw, 44px);
    border-radius: 28px;
    background: linear-gradient(180deg, #eff2f6 0%, #f4f5f8 100%);
    box-shadow:
        0 24px 48px rgba(15, 21, 35, .10),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    overflow: hidden;
    isolation: isolate;
}

margin: 0 auto;
position: relative;
display: grid;
place-items: center;
border-radius: 24px;
background: transparent;
/* 外枠に背景を持たせたので透明に */
box-shadow: none;
/* ここでは影を付けない */
overflow: clip;
}

/* 背景画像：角丸で完全に収め、グレースケール */
#business .biz-bg {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    filter: grayscale(100%);
    z-index: 1;
}


/* スライド（1枚だけ中央に出す構成。将来スライド化してもOK） */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business .biz-slide {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    margin: 0;
}
*/

/* ブルーのカード（中央・大きめ角丸・強め影） */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business .biz-card {
    width: min(920px, 86vw);
    border-radius: 22px;
    background: #2F7AF8;
    color: #fff;
    padding: clamp(18px, 3.6vw, 44px) clamp(20px, 4.6vw, 56px);
    box-shadow: 0 24px 48px rgba(33, 88, 220, .35);
    position: relative;
}
*/

/* タイトル・本文のサイズ感 */
#business .biz-title {
    margin: 0 0 .8em;
    font-weight: 800;
    font-size: clamp(22px, 2.2vw, 28px);
    letter-spacing: .02em;
}

#business .biz-lead {
    margin: 0 0 clamp(20px, 3vw, 32px);
    line-height: 1.9;
    font-size: clamp(14px, 1.25vw, 16px);
    color: rgba(255, 255, 255, .98);
}

/* 右上の番号「01」 */
#business .biz-num {
    position: absolute;
    top: clamp(12px, 2vw, 20px);
    right: clamp(14px, 2.4vw, 22px);
    font-weight: 800;
    font-size: clamp(34px, 4.4vw, 54px);
    opacity: .96;
}

/* ボタン並びとスタイル（白実線 + 白塗り） */
#business .biz-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

#business .biz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
    font-size: clamp(14px, 1.2vw, 16px);
}

#business .biz-btn--solid {
    background: #fff;
    color: #1c63e8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
}

#business .biz-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .9);
}

@media (hover:hover) {
    #business .biz-btn:hover {
        transform: translateY(-1px);
    }

    #business .biz-btn--solid:hover {
        box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
    }

    #business .biz-btn--outline:hover {
        background: rgba(255, 255, 255, .10);
    }
}

/* モバイル調整（比率そのまま縮小） */
@media (max-width: 900px) {
    #business .biz-track {
        height: clamp(380px, 52vh, 520px);
    }

    #business .biz-card {
        width: min(720px, 92vw);
    }
}

@media (max-width: 640px) {
    #business .biz-track {
        height: clamp(340px, 48vh, 480px);
    }

    #business .biz-card {
        border-radius: 20px;
    }

    #business .biz-btn {
        height: 44px;
        padding: 0 16px;
        border-radius: 12px;
    }
}

/* ==== 直前の暫定対策を撤回し、トップを元の表示に戻す ==== */

.biz-slider {
    margin: 0;
    padding: clamp(24px, 4vw, 56px) 0;
    /* 控えめ */
    position: relative;
}

.biz-sticky {
    position: relative;
    height: 100vh;
}

@media (max-width: 900px) {
    .biz-sticky {
        height: 92vh;
    }
}

.biz-frame {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    border: none !important;
    margin: 0 !important;
}

padding: clamp(16px, 2.4vw, 24px);
margin-inline: auto;
background: #f3f4f7;
border-radius: var(--biz-radius-lg);
box-shadow: 0 16px 80px rgba(0, 0, 0, .06) inset;
translate: 0 0;
will-change: transform;
}

.biz-slide {
    position: relative;
    flex: 0 0 min(88vw, 1200px);
    height: 100%;
    margin-right: var(--biz-gap);
    display: grid;
    place-items: center;
}

.biz-bg {
    position: absolute;
    inset: clamp(18px, 2vw, 26px);
    border-radius: var(--biz-radius-lg);
    overflow: hidden;
    box-shadow: var(--biz-shadow);
    filter: grayscale(100%);
}


.biz-card {
    position: relative;
    z-index: 2;
    width: min(1100px, 84vw);
    background: var(--biz-blue);
    color: var(--biz-ink);
    border-radius: var(--biz-radius-md);
    padding: clamp(22px, 4.8vw, 48px) clamp(24px, 5vw, 56px);
    box-shadow: 0 12px 40px rgba(20, 60, 130, .25);
}

/* message-hero rules removed */

/* ==== Services を1画面に収める（中央寄せ＋余白排除） ==== */
/* 無効化: index.cssのServiceセクションを優先 */
/*
#services,
.services {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.service-card,
.services__cards {
    margin: 0 auto !important;
    transform: none !important;
    position: relative !important;
}
*/

body {
    overflow-x: hidden;
}

.biz-title {
    margin: 0 0 .6em;
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: .02em;
}

.biz-lead {
    margin: 0 0 clamp(22px, 3.4vw, 36px);
    line-height: 1.9;
    color: rgba(255, 255, 255, .98);
    font-size: clamp(14px, 1.3vw, 16px);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

.biz-num {
    position: absolute;
    right: clamp(20px, 3vw, 34px);
    top: clamp(16px, 2.6vw, 28px);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--biz-white);
    opacity: .95;
}

.biz-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.biz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.biz-btn--solid {
    background: var(--biz-white);
    color: #1c63e8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.biz-btn--outline {
    color: var(--biz-white);
    background: transparent;
    border: 2px solid var(--biz-outline);
}

@media (hover:hover) {
    .biz-btn:hover {
        transform: translateY(-1px);
    }

    .biz-btn--solid:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, .12);
    }

    .biz-btn--outline:hover {
        background: rgba(255, 255, 255, .08);
    }
}

#business {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#business+section,
.biz-slider+section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    /* 上の余白を完全に排除 */
}

@media (max-width: 900px) {
    .biz-card {
        width: min(720px, 92vw);
    }

    .biz-track {
        height: 72vh;
    }
}

/* ======================================== */
/* 事業内容セクション - 横スライド対応 */
/* ======================================== */

.feature-wrapper {
    position: relative !important;
    width: 100vw !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 70vh !important;
}

.feature {
    position: relative !important;
    min-height: 50vh !important;
    background: #000000 !important;
    overflow: hidden !important;
    display: inline-block !important;
    vertical-align: top !important;
    margin: 0 !important;
    padding: 30px 0 !important;
    width: 100vw !important;
    white-space: normal !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
}

.feature .feature__background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    display: block !important;
}

.feature .feature__background img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: grayscale(100%) !important;
    display: block !important;
}

.feature .feature__card {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    background: #0066cc !important;
    color: #ffffff !important;
    padding: 35px 30px !important;
    border-radius: 15px !important;
    width: 85vw !important;
    max-width: 450px !important;
    text-align: left !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5) !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.feature .feature__card-number {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: block !important;
    opacity: 0.8 !important;
}

.feature .feature__card-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
    display: block !important;
}

.feature .feature__card-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    color: #ffffff !important;
    display: block !important;
}

.feature .feature__card-buttons {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.feature .feature__card-btn {
    padding: 10px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    min-width: 80px !important;
    text-align: center !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.feature .feature__card-btn:not(.feature__card-btn--outline) {
    background: #ffffff !important;
    color: #0066cc !important;
}

.feature .feature__card-btn--outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

/* カード色バリエーション */
.feature__card--orange {
    background: #ffa366 !important;
    /* 淡いオレンジ */
}

.feature__card--orange .feature__card-btn:not(.feature__card-btn--outline) {
    background: #ffffff !important;
    color: #ffa366 !important;
}

.feature__card--green {
    background: #66d966 !important;
    /* 淡い黄緑 */
}

.feature__card--green .feature__card-btn:not(.feature__card-btn--outline) {
    background: #ffffff !important;
    color: #66d966 !important;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .feature .feature__card {
        width: 80vw !important;
        max-width: 400px !important;
        padding: 30px 25px !important;
    }

    .feature .feature__card-title {
        font-size: 22px !important;
    }

    .feature .feature__card-text {
        font-size: 13px !important;
    }

    .feature .feature__card-number {
        font-size: 35px !important;
    }
}

@media (max-width: 768px) {
    .feature-wrapper {
        height: auto !important;
        overflow-x: visible !important;
    }

    .feature {
        min-height: 45vh !important;
        padding: 25px 0 !important;
        display: block !important;
    }

    .feature .feature__card {
        width: 75vw !important;
        max-width: 350px !important;
        padding: 25px 20px !important;
    }

    .feature .feature__card-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .feature .feature__card-text {
        font-size: 12px !important;
        margin-bottom: 20px !important;
    }

    .feature .feature__card-number {
        font-size: 30px !important;
        top: 12px !important;
        right: 15px !important;
    }

    .feature .feature__card-btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
        min-width: 70px !important;
    }
}

/* --- Services Horizontal: ensure container overflow hidden for pin --- */
.feature-wrapper {
    overflow-y: hidden !important;
}

/* Mobile fallback: vertical stack */
@media (max-width: 768px) {
    .feature-wrapper {
        height: auto !important;
        overflow-x: visible !important;
        white-space: normal !important;
    }

    .feature {
        display: block !important;
        width: 100% !important;
        min-height: 45vh !important;
    }
}

/* ===== Services: 配色・表示・余白調整（強制） ===== */
/* 配色（3色） */
.feature__card {
    background: #0066cc !important;
}

.feature__card--orange {
    background: #ffa366 !important;
}

.feature__card--green {
    background: #66d966 !important;
}

/* テキスト/ボタンの可視化と配色 */
.feature__card-title,
.feature__card-text,
.feature__card-number {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.feature__card-buttons {
    display: flex !important;
    gap: 10px !important;
}

.feature__card-btn {
    display: inline-block !important;
}

/* 背景画像の余白と角丸（はみ出し防止） */
.feature {
    padding: 40px 0 !important;
}

.feature .feature__background {
    inset: 0 0 0 0;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.feature .feature__background img {
    border-radius: 18px !important;
}

/* 次セクションへの余白過多を解消 */
.feature-wrapper {
    margin-bottom: 0 !important;
}

.feature+.feature {
    margin-left: 0 !important;
}

/* 横スライド時の上下左右に余白を確保（PC） */
@media (min-width: 1024px) {
    .feature .feature__card {
        max-width: 540px !important;
        padding: 36px 32px !important;
    }
}

/* 縦スクロール連動横セクションの高さ調整 */
.feature-wrapper {
    height: 70vh !important;
}


/* ===== Services spacing fix ===== */
/* 下の白い余白を完全に無くす */
.feature-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.feature-wrapper+* {
    margin-top: 0 !important;
}

/* 背景画像に上下左右の内側余白を確保し、はみ出さない */
.feature {
    padding: 32px 0 !important;
}

.feature .feature__background {
    position: absolute !important;
    inset: 0 !important;
    padding: 20px !important;
}

.feature .feature__background img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 18px !important;
}

/* カードの表示（見出し/本文/ボタン）を必ず表示 */
.feature .feature__card-title,
.feature .feature__card-text,
.feature .feature__card-buttons {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3色交互（1:青 2:オレンジ 3:黄緑） */
.feature-wrapper .feature:nth-of-type(3n+1) .feature__card {
    background: #0066cc !important;
}

.feature-wrapper .feature:nth-of-type(3n+2) .feature__card {
    background: #ffa366 !important;
}

.feature-wrapper .feature:nth-of-type(3n) .feature__card {
    background: #66d966 !important;
}

/* 次セクションと自然に繋げるための最終ガード */
/* removed old feature rules end */

/* ===== Business: 上下余白ゼロ・高さ正規化 ===== */
#business.biz-slider {
    margin-block: 0 !important;
    padding-block: 0 !important;
    background: transparent;
}

/* セクション直前直後の余白を必ず殺す（他テーマCSSのmargin/padding対策） */
#business+section,
#business+* {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

section+#business,
*+#business {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#business::before,
#business::after {
    content: none !important;
    display: none !important;
}

/* sticky 構成の高さを“画面内”に収める */
#business .biz-sticky {
    height: min(100svh, 92svh) !important;
}

#business .biz-frame {
    position: relative;
    /* 横スクロール中は ScrollTrigger の pin に任せる */
    top: auto;
    height: 100% !important;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    border: none !important;
    margin: 0 !important;
}

background: #f3f4f7;
border-radius: var(--biz-radius-lg);
box-shadow: 0 16px 80px rgba(0, 0, 0, .06) inset;
}

/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business .biz-slide {
    margin: 0 !important;
    flex: 0 0 860px !important;
    height: 100%;
    display: grid;
    place-items: center;
}
*/

#business,
#business .biz-sticky,
#business .biz-frame,
#business .biz-track {
    border-top: 1px solid transparent;
}

@media (max-width: 900px) {
    #business .biz-sticky {
        height: min(100svh, 90svh) !important;
    }

    #business .biz-track {
        height: 550px !important;
    }
}





html body #business .biz-slide:last-of-type {
    padding-right: 0 !important;
    margin-right: 0 !important;
}



/* 以前の display:none を打消して全スライド表示 */
html body #business .biz-track>.biz-slide {
    display: grid !important;
}








/* ======================================================
   BUSINESS: 添付画像と完全一致する見た目へ上書き
   - HTMLは #business (.biz-slider) 以下をそのまま使用
   - 角丸/影/余白/文字サイズ/配置を画像に合わせて固定
   ====================================================== */

/* セクションの上下余白をゼロに */
#business.biz-slider {
    margin-block: 0 !important;
    padding-block: 0 !important;
}

/* 外枠（薄いグレーの大きな角丸＋外側ふんわり影） */
#business .biz-frame {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    display: grid !important;
    place-items: center !important;
    margin: 28px clamp(20px, 4vw, 36px) !important;
    /* 画像の上下左右の余白 */
    padding: 0 !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, #F3F5F8 0%, #EEF0F4 100%) !important;
    box-shadow:
        0 18px 48px rgba(15, 21, 35, .12),
        inset 0 1px 0 rgba(255, 255, 255, .80) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    border-top: 1px solid transparent !important;
    /* margin折り畳み対策 */
}

border-radius: 24px !important;
position: relative !important;
display: grid !important;
place-items: center !important;
overflow: clip !important;
background: transparent !important;
padding: 0 !important;
translate: none !important;
will-change: auto !important;
box-shadow: none !important;
margin: 0 auto !important;
}

/* 背景写真：カラーのまま / cover / 角丸内に収める */
#business .biz-bg {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    z-index: 1 !important;
    filter: none !important;
    /* ← グレー化を解除 */
}


/* コンテンツカード（中央・青・大きめ角丸＋影） */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business .biz-card {
    position: relative !important;
    z-index: 2 !important;
    width: min(980px, 74vw) !important;
    height: 300px !important;
    border-radius: 22px !important;
    background: #2F7AF8 !important;
    color: #fff !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    padding: 44px 56px !important;
    box-shadow: 0 24px 48px rgba(33, 88, 220, .35) !important;
}
*/

/* 左カラム（見出し/本文/ボタン） */
#business .biz-title {
    grid-column: 1 / 2 !important;
    margin: 0 0 18px !important;
    font-weight: 800 !important;
    font-size: 28px !important;
    letter-spacing: .02em !important;
}

#business .biz-lead {
    grid-column: 1 / 2 !important;
    margin: 0 0 28px !important;
    width: min(820px, 90%) !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    color: rgba(255, 255, 255, .98) !important;
}

#business .biz-actions {
    grid-column: 1 / 2 !important;
    display: flex !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

/* ボタン（白塗り＋白枠） */
#business .biz-btn {
    height: 48px !important;
    padding: 0 22px !important;
    border-radius: 24px !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    letter-spacing: .02em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease !important;
    white-space: nowrap !important;
}

#business .biz-btn--solid {
    background: #fff !important;
    color: #1c63e8 !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .12) !important;
}

#business .biz-btn--outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .95) !important;
}

@media (hover:hover) {
    #business .biz-btn:hover {
        transform: translateY(-2px) !important;
    }
}

/* 右端の番号「02」 */
#business .biz-num {
    grid-column: 2 / 3 !important;
    align-self: start !important;
    margin-top: 6px !important;
    margin-left: 24px !important;
    font-weight: 800 !important;
    font-size: 56px !important;
    line-height: 1 !important;
    opacity: .98 !important;
}

/* スライドラッパ（中央寄せのみ。余白は外枠で管理） */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
#business .biz-slide {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
}
*/

/* レスポンシブ（縦積み化＋カード縮小） */
/* 無効化: index.cssのビジネスセクションを優先 */
/*
@media (max-width: 900px) {
    #business .biz-track {
        height: 520px !important;
    }

    #business .biz-card {
        width: min(740px, 90vw) !important;
        height: auto !important;
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
        padding: 32px 24px !important;
    }

    #business .biz-num {
        grid-column: 1 / -1 !important;
        margin: 8px 0 0 auto !important;
        font-size: 40px !important;
    }
}
*/

@media (max-width: 560px) {
    #business .biz-track {
        height: 480px !important;
    }

    #business .biz-title {
        font-size: 22px !important;
    }

    #business .biz-lead {
        font-size: 14px !important;
    }

    #business .biz-btn {
        height: 44px !important;
        padding: 0 18px !important;
        font-size: 14px !important;
    }
}

/* ===== 新しいビジネスセクション（カード形式） ===== */
.e-card-list {
    display: grid;
    grid-gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-items: center;
    align-items: start;
    justify-content: center;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.e-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.e-card:hover {
    transform: translateY(-6px);
}

.e-card__thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.e-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.e-card:hover .e-card__thumbnail img {
    transform: scale(1.05);
}

.e-card__content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.e-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.e-card__title {
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.e-card:hover .e-card__icon {
    background: #007aff;
    color: #fff;
}

@media (max-width: 768px) {
    .e-card-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-gap: 24px;
    }
}

/* ===== 事業紹介セクション（タイトル + 裏返りカード） ===== */
.business__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.e-card-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 300px;
}

.e-card-wrapper .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.e-card-wrapper:hover .card-inner {
    transform: rotateY(180deg);
}

.e-card-wrapper .card-front,
.e-card-wrapper .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.e-card-wrapper .card-back {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.e-card-wrapper .card-back .e-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.e-card-wrapper .card-back .e-card__description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* カードのホバー効果を調整 */
.e-card-wrapper .e-card:hover {
    transform: none;
}

@media (max-width: 768px) {
    .business__title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* ===== タイトルスタイル統一（実績セクションと同様） ===== */
.business__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
}

/* ハイライトセクションの最初のアイテムにpadding-top追加 */
.highlight__content .highlight__item:first-child {
    padding-top: 40px;
}

/* サービスセクションのgridにpadding-top追加 */
.service .grid {
    padding-top: 40px;
}

/* ===== 新しいサービスセクション（裏返りカード） ===== */
/* 全体構成 */
.service-section {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.service-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* カード全体 */
.service-card {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    perspective: 1000px;
}

.service-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-card__inner,
.service-card.is-flipped .service-card__inner {
    transform: rotateY(180deg);
}

/* 表・裏 共通 */
.service-card__front,
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

/* 表面 */
.service-card__front {
    background-color: var(--card-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* 写真部分 */
.service-card__image {
    flex: 1 1 80%;
    overflow: hidden;
    margin: 6px 6px 0 6px;
    /* 左右・下に余白を出して画像がフロートしてるように見せる */
    border-radius: 12px;
}

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

/* タイトル部分 */
.service-card__label {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.05em;
    padding: 16px 0;
}

/* 裏面 */
.service-card__back {
    background-color: var(--card-color);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px 30px;
    font-size: 15px;
    line-height: 1.8;
}

/* スマホ対策 */
@media (max-width: 768px) {
    .service-grid {
        gap: 24px;
    }

    .service-card {
        max-width: 300px;
    }
}

/* ===== フリップカード背面の拡張（薄い背景デザイン + 見出し+本文） ===== */
/* 裏面の薄いデザイン（擬似要素で敷く） */
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    transform: rotateY(180deg);
    background-color: var(--card-color);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 28px;
    /* 文字の読みやすさ確保 */
}

/* デザイン画像：うっすら見える */
.service-card__back::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--back-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* 透かし大きめ */
    opacity: 0.18;
    /* 0.15〜0.22で調整可 */
    filter: blur(1px);
    /* ほんの少し滲ませる */
    mix-blend-mode: screen;
    /* カラーとなじませる（multiply/screenで調整） */
    pointer-events: none;
}

/* 背面テキストの箱（前面に固定） */
.service-card__back-inner {
    position: relative;
    z-index: 1;
    max-width: 540px;
    text-align: left;
    max-height: calc(100% - 40px);
    overflow: auto;
    scrollbar-width: thin;
}

/* タイトル・本文（添付画像のボリューム感に合わせる） */
.service-card__back-title {
    font-weight: 800;
    font-size: clamp(18px, 2.1vw, 24px);
    line-height: 1.35;
    margin: 0 0 12px;
    letter-spacing: .02em;
}

.service-card__back-desc {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.9;
    opacity: .95;
    margin: 0;
}

.highlight__title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
}

/* ハイライトセクションの最初のアイテムにpadding-top追加 */
.highlight__content .highlight__item:first-child {
    padding-top: 40px;
}

/* サービスセクションのgridにpadding-top追加 */
.service .grid {
    padding-top: 40px;
}

/* ===== 新しいサービスセクション（裏返りカード） ===== */
/* 全体構成 */
.service-section {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.service-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

/* カード全体 */
.service-card {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    perspective: 1000px;
}

.service-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-card__inner,
.service-card.is-flipped .service-card__inner {
    transform: rotateY(180deg);
}

/* 表・裏 共通 */
.service-card__front,
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

/* 表面 */
.service-card__front {
    background-color: var(--card-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

/* 写真部分 */
.service-card__image {
    flex: 1 1 80%;
    overflow: hidden;
    margin: 6px 6px 0 6px;
    /* 左右・下に余白を出して画像がフロートしてるように見せる */
    border-radius: 12px;
}

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

/* タイトル部分 */
.service-card__label {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.05em;
    padding: 16px 0;
}

/* 裏面 */
.service-card__back {
    background-color: var(--card-color);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px 30px;
    font-size: 15px;
    line-height: 1.8;
}

/* スマホ対策 */
@media (max-width: 768px) {
    .service-grid {
        gap: 24px;
    }

    .service-card {
        max-width: 300px;
    }
}

/* ===== フリップカード背面の拡張（薄い背景デザイン + 見出し+本文） ===== */
/* 裏面の薄いデザイン（擬似要素で敷く） */
.service-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    transform: rotateY(180deg);
    background-color: var(--card-color);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 28px;
    /* 文字の読みやすさ確保 */
}

/* デザイン画像：うっすら見える */
.service-card__back::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--back-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* 透かし大きめ */
    opacity: 0.18;
    /* 0.15〜0.22で調整可 */
    filter: blur(1px);
    /* ほんの少し滲ませる */
    mix-blend-mode: screen;
    /* カラーとなじませる（multiply/screenで調整） */
    pointer-events: none;
}

/* 背面テキストの箱（前面に固定） */
.service-card__back-inner {
    position: relative;
    z-index: 1;
    max-width: 540px;
    text-align: left;
    max-height: calc(100% - 40px);
    overflow: auto;
    scrollbar-width: thin;
}

/* タイトル・本文（添付画像のボリューム感に合わせる） */
.service-card__back-title {
    font-weight: 800;
    font-size: clamp(18px, 2.1vw, 24px);
    line-height: 1.35;
    margin: 0 0 12px;
    letter-spacing: .02em;
    padding-bottom: 40px;
}

.service-card__back-desc {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.9;
    opacity: .95;
    margin: 0;
}