/* ==========================================================================
 * Shinka AI - Front Page v5 CSS
 * Enhanced: blob backgrounds, morphing hero, circular service carousel,
 * scroll animations, floating dots
 * ========================================================================== */


/* ==========================================================================
 * 0. ページ全体背景 & 共通コンポーネント
 * ========================================================================== */

/* overflow-xでstickyが効かないためfixedに変更 */
body.home .c-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
}

body.home.admin-bar .c-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.home.admin-bar .c-site-header {
        top: 46px;
    }
}

/* fixedヘッダー分のスペースを確保 */
body.home .c-main {
    background: none;
    background-color: transparent;
    position: relative;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-top: 0; /* fixedヘッダーにしたためstickyの-110px打ち消し */
}

/* 背景画像を疑似要素でfixed表示（iOS Safari対応） */
body.home .c-main::before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../image/main-back.png') center center / cover no-repeat;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

body.home,
html {
    overflow-x: hidden;
    max-width: 100vw;
}

body.home {
    background: linear-gradient(180deg, #F4F7FC 0%, #EDF2FA 40%, #E4ECF7 100%) !important;
}

/* --- Scroll Reveal アニメーション --- */
.scroll-reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-init.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- セクション共通ラベル (● ラベルテキスト) --- */
.shinka-section-label-v4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0B2D6E;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.shinka-section-label-v4__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2D7DD2;
    flex-shrink: 0;
}

/* --- セクションタイトル共通 --- */
.shinka-section-title-v4 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    color: #0A1628;
    line-height: 1.15;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
    font-family: var(--font-display, 'Inter', 'Helvetica Neue', Arial, sans-serif);
    position: relative;
    z-index: 1;
}

/* --- セクション共通斜めライン装飾 --- */
.shinka-section-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shinka-section-lines__line {
    position: absolute;
    width: 15px;
    height: 350px;
    background: transparent;
    overflow: hidden;
    transform: rotate(55deg);
    border-radius: 8px;
}

.shinka-section-lines__line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    animation: shinka-line-flow 4s cubic-bezier(0.87, 0, 0.13, 1) infinite;
}

.shinka-section-lines__line--1 {
    top: 10%;
    right: 8%;
}

.shinka-section-lines__line--1::before {
    background: linear-gradient(0deg, rgba(45, 125, 210, 0.6), rgba(0, 180, 216, 0.2));
}

.shinka-section-lines__line--2 {
    bottom: 15%;
    left: 5%;
    height: 280px;
}

.shinka-section-lines__line--2::before {
    background: linear-gradient(0deg, rgba(11, 45, 110, 0.5), rgba(45, 125, 210, 0.15));
    animation-delay: 1.8s;
}

.shinka-section-lines__line--3 {
    top: 35%;
    right: 25%;
    height: 300px;
}

.shinka-section-lines__line--3::before {
    background: linear-gradient(0deg, rgba(45, 125, 210, 0.45), rgba(11, 45, 110, 0.1));
    animation-delay: 0.8s;
}

.shinka-section-lines__line--4 {
    bottom: 25%;
    left: 20%;
    height: 260px;
}

.shinka-section-lines__line--4::before {
    background: linear-gradient(0deg, rgba(11, 45, 110, 0.35), rgba(0, 180, 216, 0.12));
    animation-delay: 2.5s;
}

/* --- セクションタイトル共通: プロンプト風 > + タイピングアニメ --- */
.shinka-section-title-v4::before {
    content: '> ';
    color: #2D7DD2;
    font-weight: 400;
    font-family: 'Courier New', Courier, monospace;
}

.shinka-section-title-v4 .shinka-title-text {
    display: inline;
    border-right: 3px solid #2D7DD2;
    animation: shinka-cursor-blink 1s step-end infinite;
}

.shinka-section-title-v4 .shinka-title-text.typed {
    border-right-color: transparent;
    animation: none;
}

@keyframes shinka-cursor-blink {
    0%, 100% { border-right-color: #2D7DD2; }
    50% { border-right-color: transparent; }
}

/* --- VIEW MORE ボタン共通 --- */
.shinka-viewmore-v4 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1A2340;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: gap 0.3s ease, color 0.3s ease;
}

.shinka-viewmore-v4:hover {
    gap: 18px;
    color: #0B2D6E;
}

.shinka-viewmore-v4__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #C8D6E8;
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    color: #1A2340;
}

.shinka-viewmore-v4:hover .shinka-viewmore-v4__icon {
    border-color: #0B2D6E;
    background: #0B2D6E;
    color: #fff;
}


/* ==========================================================================
 * 1. ヒーローセクション
 * ========================================================================== */

.shinka-hero-v4 {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 80px 0 0; /* fixedヘッダー分の上余白（120→80に縮小して上寄せ） */
    overflow: visible;
    background: transparent;
    z-index: 1;
    box-sizing: border-box;
}

/* 管理バー表示時: 管理バー分を差し引く */
body.home.admin-bar .shinka-hero-v4 {
    height: calc(100vh - 32px);
    padding-top: 80px;
}

/* --- 背景装飾（circle + ライン） --- */
.shinka-hero-v4__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}

/* Hero背景の大きな水玉2つ（スクロールでheroと一緒に上へ流れる） */
.shinka-hero-v4__shape--circle-1 {
    position: absolute;
    top: -10%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 45, 110, 0.5) 0%, rgba(45, 125, 210, 0.5) 100%);
    pointer-events: none;
}

.shinka-hero-v4__shape--circle-2 {
    position: absolute;
    bottom: 20%;
    left: -8%;
    width: 45vw;
    height: 45vw;
    max-width: 550px;
    max-height: 550px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 45, 110, 0.2) 0%, rgba(45, 125, 210, 0.3) 100%);
    pointer-events: none;
}

/* 斜めライン装飾 - 光が流れるアニメーション */
.shinka-hero-v4__shape--line {
    position: absolute;
    width: 15px;
    height: 380px;
    background: transparent;
    overflow: hidden;
    border-radius: 8px;
}

.shinka-hero-v4__shape--line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    animation: shinka-line-flow 3.5s cubic-bezier(0.87, 0, 0.13, 1) infinite;
}

.shinka-hero-v4__shape--line-1 {
    top: 15%;
    left: 3%;
    transform: rotate(55deg);
}

.shinka-hero-v4__shape--line-1::before {
    background: linear-gradient(0deg, rgba(45, 125, 210, 0.7), rgba(0, 180, 216, 0.3));
}

.shinka-hero-v4__shape--line-2 {
    bottom: 5%;
    right: 10%;
    transform: rotate(55deg);
}

.shinka-hero-v4__shape--line-2::before {
    background: linear-gradient(0deg, rgba(0, 180, 216, 0.6), rgba(45, 125, 210, 0.2));
    animation-delay: 1.2s;
}

.shinka-hero-v4__shape--line-3 {
    top: 40%;
    left: 15%;
    height: 300px;
    transform: rotate(55deg);
}

.shinka-hero-v4__shape--line-3::before {
    background: linear-gradient(0deg, rgba(11, 45, 110, 0.5), rgba(45, 125, 210, 0.15));
    animation-delay: 2.2s;
}

@keyframes shinka-line-flow {
    0% { top: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* --- ヒーローコンテンツ --- */
.shinka-hero-v4__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.shinka-hero-v4__title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.35;
    color: #0A1628;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.shinka-hero-v4__title [data-typing] {
    display: inline-block;
    min-height: 1em;
}

.shinka-hero-v4__title-accent {
    color: #2D7DD2;
    font-size: clamp(40px, 5.5vw, 72px);
    white-space: nowrap;
}

.shinka-hero-v4__desc {
    font-size: 15px;
    line-height: 2;
    color: #5A6580;
    margin-bottom: 36px;
}

.shinka-hero-v4__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0B2D6E 0%, #2D7DD2 100%);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(11, 45, 110, 0.2);
}

.shinka-hero-v4__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(11, 45, 110, 0.3);
}

/* --- ヒーロービジュアル: モーフィング円形フレーム --- */
.shinka-hero-v4__visual {
    position: relative;
    margin-right: -80px; /* 右側見切れOK */
    min-width: 0;
}

.shinka-hero-v4__image-wrapper {
    position: relative;
    width: 120%;
    padding-bottom: 90%;
    overflow: hidden;
    animation: hero-morph 12s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(11, 45, 110, 0.15);
}

@keyframes hero-morph {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50%  { border-radius: 50% 50% 40% 60% / 35% 55% 45% 65%; }
    75%  { border-radius: 40% 60% 55% 45% / 65% 35% 60% 40%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.shinka-hero-v4__image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 45, 110, 0.1), transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.shinka-hero-v4__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.shinka-hero-v4__image--active {
    opacity: 1;
}

/* --- スクロールインジケーター --- */
.shinka-hero-v4__scroll {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.shinka-hero-v4__scroll-text {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #8A93A8;
    font-weight: 600;
}

.shinka-hero-v4__scroll-line {
    width: 1px;
    height: 50px;
    background: #C8D6E8;
    position: relative;
    overflow: hidden;
}

.shinka-hero-v4__scroll-line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #0B2D6E, #2D7DD2);
    animation: scroll-line-move-v4 2s ease-in-out infinite;
}

@keyframes scroll-line-move-v4 {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* --- ニュースティッカー --- */
.shinka-hero-v4__news {
    position: absolute;
    bottom: 40px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 14px 24px;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 20px rgba(11, 45, 110, 0.08);
    z-index: 2;
}

.shinka-hero-v4__news-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #0B2D6E, #2D7DD2);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.shinka-hero-v4__news-date {
    font-size: 14px;
    color: #5A6580;
    font-weight: 600;
}

.shinka-hero-v4__news-title {
    font-size: 14px;
    color: #1A2340;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shinka-hero-v4__news-title:hover {
    color: #2D7DD2;
}

/* --- ニュースティッカー（ヒーロー外・スマホ専用） --- */
.shinka-news-ticker {
    display: none; /* PCではヒーロー内のニュースを表示するため非表示 */
    padding: 40px 0;
}

.shinka-news-ticker__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(11, 45, 110, 0.08);
}

@media (max-width: 767px) {
    /* スマホ: ヒーロー外のニュースティッカーを表示 */
    .shinka-news-ticker {
        display: block;
        width: 90%;
    }

    .shinka-news-ticker__inner {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* スマホ: ヒーロー内のニュースティッカーは非表示 */
    .shinka-hero-v4__news {
        display: none;
    }
}

/* --- 背景マーキー --- */
.shinka-hero-v4__marquee {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shinka-hero-v4__marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee-hero-v4 25s linear infinite;
}

.shinka-hero-v4__marquee-track span {
    font-size: clamp(80px, 14vw, 160px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(11, 45, 110, 0.12);
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

@keyframes marquee-hero-v4 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}


/* ==========================================================================
 * 2. ABOUT USセクション
 * ========================================================================== */

.shinka-about-v4 {
    padding: 200px 0 120px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.shinka-about-v4__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 60px;
    align-items: center;
}

.shinka-about-v4__label {
    grid-column: 1;
    grid-row: 1;
}

.shinka-about-v4__text {
    grid-column: 1;
    grid-row: 2;
}

.shinka-about-v4__image {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
}

.shinka-about-v4__catch {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.5;
    color: #1A2340;
    margin-bottom: 24px;
}

.shinka-about-v4__catch-accent {
    color: #2D7DD2;
}

.shinka-about-v4__desc {
    font-size: 15px;
    line-height: 2;
    color: #5A6580;
    margin-bottom: 32px;
}

/* About画像: ユニークフレーム + 背景ブロブ */
.shinka-about-v4__image {
    position: relative;
}

.shinka-about-v4__image-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
    box-shadow: 0 20px 60px rgba(11, 45, 110, 0.12);
    animation: about-frame-morph 10s ease-in-out infinite;
}

@keyframes about-frame-morph {
    0%, 100% { border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%; }
    50% { border-radius: 60% 40% 45% 55% / 40% 60% 45% 55%; }
}

.shinka-about-v4__image-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* ==========================================================================
 * 3. SERVICEセクション（円形カルーセル）
 * ========================================================================== */

.shinka-services-v4 {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.shinka-services-v4__circular {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.shinka-services-v4__stage {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1100px;
    height: 650px; /* カルーセル画像 + nav + info + progress全体 */
}

.shinka-services-v4__item {
    position: absolute;
    width: 360px;
    height: 260px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.shinka-services-v4__item--active {
    transform: scale(1.25);
}

.shinka-services-v4__item-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shinka-services-v4__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shinka-services-v4__item--active .shinka-services-v4__item-img img {
    transform: scale(1.05);
}

/* サービスナビゲーション (stage内・絶対位置) */
.shinka-services-v4__nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: absolute;
    top: 220px; /* 画像エリア(460px) + スペース(20px) */
    left: 0;
    right: 0;
    z-index: 11;
}

.shinka-services-v4__nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid #C8D6E8;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A2340;
    transition: all 0.3s ease;
}

.shinka-services-v4__nav-btn:hover {
    border-color: #0B2D6E;
    background: #0B2D6E;
    color: #fff;
}

/* サービス情報パネル (stage内・絶対位置) */
.shinka-services-v4__info {
    position: absolute;
    top: 300px; /* nav(480px) + navボタン(52px) + スペース(28px) */
    left: 0;
    right: 0;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    min-height: 220px;
    z-index: 11;
}

.shinka-services-v4__info-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.shinka-services-v4__info-panel--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.shinka-services-v4__slide-num {
    margin-bottom: 12px;
}

.shinka-services-v4__slide-num-label {
    font-size: 14px;
    font-weight: 700;
    color: #2D7DD2;
    letter-spacing: 0.05em;
}

.shinka-services-v4__slide-num-value {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    font-style: italic;
    color: #0B2D6E;
    line-height: 1;
    margin-left: 4px;
    font-family: var(--font-display);
}

.shinka-services-v4__slide-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: #1A2340;
    margin-bottom: 12px;
    line-height: 1.4;
}

.shinka-services-v4__slide-desc {
    font-size: 15px;
    line-height: 2;
    color: #5A6580;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- プログレスバー (stage内・絶対位置) --- */
.shinka-services-v4__progress {
    width: 200px;
    height: 3px;
    background: #D8E0EE;
    border-radius: 2px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 11;
}

.shinka-services-v4__progress-bar {
    width: 25%;
    height: 100%;
    background: linear-gradient(90deg, #0B2D6E, #2D7DD2);
    border-radius: 2px;
    transition: width 0.4s ease;
}


/* ==========================================================================
 * 4. WORKSセクション（横スクロールカード）
 * ========================================================================== */

.shinka-works-v4 {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent !important;
    background-color: transparent !important;
}

.shinka-works-v4__intro {
    font-size: 15px;
    line-height: 2;
    color: #5A6580;
    margin-bottom: 48px;
    max-width: 700px;
}

.shinka-works-v4__slider {
    display: flex;
    gap: 24px;
    padding: 0 24px 24px;
    margin-top: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shinka-works-v4__slider::-webkit-scrollbar {
    display: none;
}

.shinka-works-v4__card {
    min-width: 340px;
    max-width: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #E4ECF7;
    box-shadow: 0 4px 20px rgba(11, 45, 110, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.shinka-works-v4__card:first-child {
    margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.shinka-works-v4__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(11, 45, 110, 0.12);
    border-color: rgba(45, 125, 210, 0.3);
}

.shinka-works-v4__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.shinka-works-v4__card-num {
    font-size: 14px;
    font-weight: 700;
    color: #2D7DD2;
    letter-spacing: 0.02em;
}

.shinka-works-v4__card-num em {
    font-size: 28px;
    font-style: italic;
    color: #0B2D6E;
    font-family: var(--font-display);
}

.shinka-works-v4__card-cat {
    font-size: 12px;
    padding: 4px 12px;
    border: 1px solid #D8E0EE;
    border-radius: 20px;
    color: #5A6580;
    letter-spacing: 0.02em;
}

.shinka-works-v4__card-title {
    font-size: 18px;
    font-weight: 900;
    color: #1A2340;
    line-height: 1.5;
    margin-bottom: 16px;
}

.shinka-works-v4__card-meta {
    font-size: 13px;
    color: #8A93A8;
    margin-bottom: 16px;
}

.shinka-works-v4__card-meta strong {
    display: inline-block;
    padding: 3px 10px;
    background: #EDF2FA;
    border-radius: 4px;
    font-weight: 700;
    color: #0B2D6E;
    margin-right: 8px;
    font-size: 11px;
}

.shinka-works-v4__card-result {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(11, 45, 110, 0.06), rgba(45, 125, 210, 0.08));
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0B2D6E;
    letter-spacing: 0.02em;
}

.shinka-works-v4__footer {
    margin-top: 40px;
}


/* ==========================================================================
 * 5. FEATUREセクション
 * ========================================================================== */

.shinka-feature-v4 {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, #0B2D6E 0%, #1A4B9C 50%, #2D7DD2 100%) !important;
    border-radius: 24px;
    width: 100%;
    margin-bottom: 200px;
}

.shinka-feature-v4__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.shinka-feature-v4__catch {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 24px;
}

.shinka-feature-v4__desc {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
}

.shinka-feature-v4__cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shinka-feature-v4__card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    transition: transform 0.4s ease, background 0.4s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.shinka-feature-v4__card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
}

.shinka-feature-v4__card-title-en {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    font-style: italic;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.shinka-feature-v4__card-title-ja {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.shinka-feature-v4__card-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.shinka-feature-v4 .shinka-section-label-v4 {
    color: rgba(255, 255, 255, 0.85);
}

.shinka-feature-v4 .shinka-section-label-v4__dot {
    background: #fff;
}

.shinka-feature-v4 .shinka-section-title-v4 {
    color: #fff;
}

.shinka-feature-v4 .shinka-section-title-v4::before {
    color: rgba(255, 255, 255, 0.6);
}

.shinka-feature-v4 .shinka-section-title-v4 .shinka-title-text {
    border-right-color: #fff;
}

.shinka-feature-v4 .shinka-viewmore-v4 {
    color: #fff;
}

.shinka-feature-v4 .shinka-viewmore-v4__icon {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.shinka-feature-v4 .shinka-viewmore-v4:hover .shinka-viewmore-v4__icon {
    border-color: #fff;
    background: #fff;
    color: #0B2D6E;
}

.shinka-feature-v4__viewmore {
    margin-top: 40px;
}


/* ==========================================================================
 * 6. COMPANYセクション
 * ========================================================================== */

.shinka-company-v4 {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent !important;
    background-color: transparent !important;
}

.shinka-company-v4__bg-image {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: url('../../image/office.png') center center / cover no-repeat,
                linear-gradient(135deg, rgba(11, 45, 110, 0.08), rgba(45, 125, 210, 0.04));
    border-radius: 0 40px 40px 0;
}

.shinka-company-v4__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin-left: auto;
    padding-left: 0;
}

.shinka-company-v4__desc {
    font-size: 15px;
    line-height: 2;
    color: #5A6580;
    margin-bottom: 36px;
}

.shinka-company-v4__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.shinka-company-v4__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0B2D6E 0%, #2D7DD2 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(11, 45, 110, 0.2);
}

.shinka-company-v4__link:hover {
    background: linear-gradient(135deg, #163D7A 0%, #3A8DE0 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 45, 110, 0.3);
}

.shinka-company-v4__link-icon {
    display: flex;
    align-items: center;
}


/* ==========================================================================
 * 7. CTAセクション
 * ========================================================================== */

.shinka-cta-v4 {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: transparent !important;
    background-color: transparent !important;
}

.shinka-cta-v4__inner {
    background: linear-gradient(135deg, #0B2D6E 0%, #1A4B9C 50%, #2D7DD2 100%);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shinka-cta-v4__inner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.shinka-cta-v4__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 20px;
}

.shinka-cta-v4__desc {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
}

.shinka-cta-v4__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.shinka-cta-v4__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shinka-cta-v4__btn--primary {
    background: #fff;
    color: #0B2D6E;
}

.shinka-cta-v4__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.shinka-cta-v4__btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.shinka-cta-v4__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}


/* ==========================================================================
 * 8. NEWSセクション上書き
 * ========================================================================== */

.shinka-news-v3 {
    position: relative;
    z-index: 1;
    background: transparent !important;
    background-color: transparent !important;
}

.shinka-news-v3 .shinka-section-title-v4 {
    margin-bottom: 40px;
}

.shinka-news-v3__list {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
}

a.shinka-news-v3__item {
    padding: 16px 0;
    border-bottom: none;
    border-top: 1px solid rgba(11, 45, 110, 0.08);
    border-bottom: 1px solid rgba(11, 45, 110, 0.08);
}

.c-gradient-text-v3 {
    background-image: linear-gradient(249deg, #0B2D6E 10%, #2D7DD2 100%);
}

.shinka-news-v3__arrow {
    background-image: linear-gradient(249deg, #0B2D6E 10%, #2D7DD2 100%);
}

.shinka-news-v3__cat {
    border-color: rgba(11, 45, 110, 0.15);
    color: #0B2D6E;
}


/* ==========================================================================
 * 9. レスポンシブ - タブレット
 * ========================================================================== */

@media (max-width: 1024px) {
    .shinka-hero-v4__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shinka-hero-v4 {
        height: 100vh;
        min-height: 600px;
        padding: 70px 0 0;
    }

    body.home.admin-bar .shinka-hero-v4 {
        height: calc(100vh - 32px);
    }

    .shinka-about-v4__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }

    .shinka-about-v4__label,
    .shinka-about-v4__text,
    .shinka-about-v4__image {
        grid-column: 1;
        grid-row: auto;
    }

    .shinka-feature-v4__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shinka-company-v4__bg-image {
        display: none;
    }

    .shinka-company-v4__inner {
        margin-left: 0;
        max-width: 100%;
    }

    .shinka-about-v4,
    .shinka-services-v4,
    .shinka-works-v4,
    .shinka-feature-v4,
    .shinka-company-v4 {
        padding: 80px 0;
    }

    .shinka-services-v4__stage {
        height: 780px;
    }

    .shinka-services-v4__nav {
        top: 400px;
    }

    .shinka-services-v4__info {
        top: 480px;
    }

    .shinka-services-v4__item {
        width: 280px;
        height: 200px;
    }

    .shinka-hero-v4__visual {
        margin-right: 0;
    }

    .shinka-hero-v4__image-wrapper {
        width: 100%;
        padding-bottom: 75%;
    }
}


/* ==========================================================================
 * 10. レスポンシブ - モバイル
 * ========================================================================== */

@media (max-width: 767px) {
    /* スマホ: 縦長専用背景画像に切り替え（iOS Safari対応・疑似要素fixed） */
    body.home .c-main::before {
        background-image: url('../../image/main-back-sp.png');
        background-size: cover;
        background-position: center top;
    }

    .shinka-hero-v4,
    body.home.admin-bar .shinka-hero-v4 {
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding: 60px 0 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .shinka-hero-v4__marquee-track {
        animation: marquee-hero-v4 10s linear infinite;
    }

    .shinka-hero-v4 > .c-container {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .shinka-hero-v4__inner {
        gap: 16px;
    }

    .shinka-hero-v4__visual {
        order: -1;
        margin-right: -40px;
        margin-left: 20px;
        transform: scale(1.15);
        transform-origin: center right;
    }

    .shinka-hero-v4__content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .shinka-hero-v4__title {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 12px;
    }

    .shinka-hero-v4__desc {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 0;
    }

    .shinka-hero-v4__cta {
        display: none;
    }

    .shinka-hero-v4__desc br {
        display: none;
    }

    .shinka-section-title-v4 {
        font-size: clamp(28px, 8vw, 44px);
        margin-bottom: 32px;
    }

    .shinka-services-v4__stage {
        height: 550px;
    }

    .shinka-services-v4__nav {
        top: 150px;
    }

    .shinka-services-v4__info {
        top: 230px;
        min-height: 260px;
        padding: 0 16px;
    }

    .shinka-services-v4__item {
        width: 220px;
        height: 160px;
    }

    .shinka-works-v4__card {
        min-width: 280px;
    }

    .shinka-works-v4__card:first-child {
        margin-left: 16px;
    }

    .shinka-works-v4__intro br {
        display: none;
    }

    .shinka-cta-v4__inner {
        padding: 48px 28px;
    }

    .shinka-cta-v4__buttons {
        flex-direction: column;
        align-items: center;
    }

    .shinka-cta-v4__btn {
        width: 100%;
        justify-content: center;
    }

    .shinka-company-v4__links {
        flex-direction: column;
    }

    .shinka-company-v4__link {
        justify-content: center;
    }

    .shinka-about-v4,
    .shinka-services-v4,
    .shinka-works-v4,
    .shinka-feature-v4,
    .shinka-company-v4,
    .shinka-news-v3 {
        padding: 60px 0;
    }

    .shinka-about-v4 {
        padding: 120px 0;
    }

    .shinka-company-v4__bg-image {
        display: block;
        position: relative;
        width: 100%;
        height: 250px;
        border-radius: 12px;
        margin-bottom: 32px;
    }

    .shinka-company-v4__inner {
        max-width: 100%;
    }

}


/* ==========================================================================
 * 11. アクセシビリティ
 * ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .shinka-hero-v4__marquee-track,
    .shinka-hero-v4__shape--line::before,
    .shinka-about-v4__image-frame,
    .shinka-hero-v4__image-wrapper {
        animation: none !important;
    }

    .shinka-hero-v4__scroll-line::after {
        animation: none;
    }

    .scroll-reveal-init {
        opacity: 1;
        transform: none;
    }

    .shinka-hero-v4__cta:hover,
    .shinka-cta-v4__btn:hover,
    .shinka-works-v4__card:hover,
    .shinka-feature-v4__card:hover {
        transform: none;
    }
}


/* 固定フッターCTAはfooter.cssに移動済み */