/* Lenis 1.3.25 base styles */
html.lenis,html.lenis body{height:auto}
.lenis:not(.lenis-autoToggle).lenis-stopped{overflow:clip}
.lenis [data-lenis-prevent],.lenis [data-lenis-prevent-wheel],.lenis [data-lenis-prevent-touch],.lenis [data-lenis-prevent-vertical],.lenis [data-lenis-prevent-horizontal]{overscroll-behavior:contain}
.lenis.lenis-smooth iframe{pointer-events:none}
.lenis.lenis-autoToggle{transition-property:overflow;transition-duration:1ms;transition-behavior:allow-discrete}

/*
 * kazosys.jp トップページ専用スタイルシート
 * トップページ専用。共通 style-<hash>.css には依存しない。
 */

/* ==========================================================================
   Reset / Base
   ========================================================================== */

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

html {
    /* 1rem = 10px 基準。以降の rem 指定はすべてこの前提 */
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1,
h2,
h3,
p {
    margin: 0;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
    --c-primary: #2d5aa0;
    --c-accent: #30b9c4;
    --c-ink: #1a2333;
    --c-text: #3d4453;
    --c-bg: #f7f6f3;
    --c-bg-white: #ffffff;
    --c-dark: #0e1c33;
    --c-dark-2: #0a1526;
    --grad-brand: linear-gradient(90deg, #2d5aa0, #30b9c4);

    --font-body: 'IBM Plex Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;

    --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
    --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
    --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);

    --dur-fast: .2s;
    --dur-base: .3s;
    --dur-slow: .4s;
    --dur-hero: 1.1s;

    --max-width: 1120px;
}

/* ==========================================================================
   共通ユーティリティ
   ========================================================================== */

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

main section[id] {
    scroll-margin-top: 96px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.sec-label {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin: 0 0 16px;
}

.sec-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 5.6rem);
    color: var(--c-ink);
    line-height: 1.25;
    letter-spacing: -.02em;
    margin: 0;
}

[data-header-theme="dark"] .sec-title,
footer .sec-title {
    color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.home-section-title {
    display: inline-block;
    max-width: 100%;
}

.home-section-title__mask {
    display: block;
    overflow: hidden;
}

.home-section-title__line {
    display: block;
    height: 1px;
    margin-top: 18px;
    background: rgba(48, 185, 196, .55);
    transform-origin: left;
}

.section-subtitle {
    margin-top: 20px;
    font-size: 1.6rem;
    color: var(--c-text);
}

[data-header-theme="dark"] .section-subtitle {
    color: rgba(255, 255, 255, .75);
}

.text-link-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--c-primary);
    background-image: linear-gradient(var(--c-primary), var(--c-primary));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    padding-bottom: 2px;
    transition: background-size var(--dur-slow) var(--ease-out-quart);
}

.text-link-button:hover {
    background-size: 100% 2px;
}

.text-link-button .material-symbols-rounded {
    font-size: 1.8rem;
    transition: transform var(--dur-slow) var(--ease-out-quart);
}

.text-link-button:hover .material-symbols-rounded {
    transform: translateX(4px);
}

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 999px;
    overflow: hidden;
    font-weight: 600;
    font-size: 1.5rem;
    background: var(--btn-bg, transparent);
    color: var(--btn-color, currentColor);
    border: 1px solid var(--btn-border, currentColor);
    transition: color var(--dur-slow) var(--ease-out-quart),
        border-color var(--dur-slow) var(--ease-out-quart);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--btn-fill, #ffffff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-slow) var(--ease-out-quart);
}

.btn:hover {
    color: var(--btn-hover-color, var(--c-dark));
    border-color: var(--btn-hover-border, var(--btn-border, currentColor));
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn .material-symbols-rounded {
    font-size: 1.8rem;
    transition: transform var(--dur-slow) var(--ease-out-quart);
}

.btn:hover .material-symbols-rounded {
    transform: translateX(4px);
}

/* 青ベタ(ヒーロー primary・ヘッダー) */
.btn--solid {
    --btn-bg: var(--c-primary);
    --btn-color: #ffffff;
    --btn-border: var(--c-primary);
    --btn-fill: var(--c-ink);
    --btn-hover-color: #ffffff;
    --btn-hover-border: var(--c-ink);
}

/* 白アウトライン(ダーク/写真背景上: もっと見る・ヒーロー secondary・LINE) */
.btn--ghost {
    --btn-bg: transparent;
    --btn-color: #ffffff;
    --btn-border: rgba(255, 255, 255, .5);
    --btn-fill: #ffffff;
    --btn-hover-color: var(--c-dark);
    --btn-hover-border: #ffffff;
}

/* 白ベタ(ダーク背景上: お問い合わせフォーム) */
.btn--white {
    --btn-bg: #ffffff;
    --btn-color: var(--c-primary);
    --btn-border: #ffffff;
    --btn-fill: var(--c-primary);
    --btn-hover-color: #ffffff;
}

/* インク色アウトライン(明色背景上) */
.btn--outline {
    --btn-bg: transparent;
    --btn-color: var(--c-ink);
    --btn-border: rgba(26, 35, 51, .35);
    --btn-fill: var(--c-ink);
    --btn-hover-color: #ffffff;
    --btn-hover-border: var(--c-ink);
}

/* 小サイズ(ヘッダー用) */
.btn--sm {
    padding: 10px 24px;
    font-size: 1.4rem;
}

/* ==========================================================================
   モーション: reveal / section title / hero word / reduced-motion フォールバック
   初期非表示は home-motion-ready 配下に限定し、JS 無効時は最終状態を表示する
   ========================================================================== */

.home-motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.4s cubic-bezier(.22, 1, .36, 1),
        transform 1.6s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(.15s + var(--delay, 0) * 1ms);
}

.home-motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.home-motion-ready [data-section-title] .sec-label {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.4s cubic-bezier(.22, 1, .36, 1),
        transform 1.4s cubic-bezier(.22, 1, .36, 1);
}

.home-motion-ready [data-section-title] .sec-title {
    transform: translateY(102%);
    transition: transform 1.6s cubic-bezier(.22, 1, .36, 1);
}

.home-motion-ready [data-section-title] .home-section-title__line {
    transform: scaleX(0);
    transition: transform 1.8s cubic-bezier(.22, 1, .36, 1) .5s;
}

.home-motion-ready [data-section-title].is-visible .sec-label {
    opacity: 1;
    transform: translateY(0);
}

.home-motion-ready [data-section-title].is-visible .sec-title {
    transform: translateY(0);
}

.home-motion-ready [data-section-title].is-visible .home-section-title__line {
    transform: scaleX(1);
}

@media (min-width: 901px) {
    .home-motion-ready [data-reveal] {
        opacity: var(--reveal-progress, 0);
        transform: translate3d(0, calc((1 - var(--reveal-progress, 0)) * 30px), 0);
        transition: none;
    }

    .home-motion-ready [data-section-title] {
        --section-title-progress: 0;
    }

    .home-motion-ready [data-section-title] .sec-label {
        --label-progress: clamp(0, calc(var(--section-title-progress) * 2.5), 1);
        opacity: var(--label-progress);
        transform: translate3d(0, calc((1 - var(--label-progress)) * 12px), 0);
        transition: none;
    }

    .home-motion-ready [data-section-title] .sec-title {
        --title-progress: clamp(0, calc((var(--section-title-progress) - .1) * 2), 1);
        transform: translate3d(0, calc((1 - var(--title-progress)) * 102%), 0);
        transition: none;
    }

    .home-motion-ready [data-section-title] .home-section-title__line {
        --line-progress: clamp(0, calc((var(--section-title-progress) - .3) * 2.5), 1);
        transform: scaleX(var(--line-progress));
        transition: none;
    }
}

/* 入場は CSS アニメーション(JS を待たない)。退場(is-scrolled)は従来どおり transition */
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-lead-in { from { transform: translateY(18px); } }
@keyframes kv-word-in   { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade-in      { from { opacity: 0; } }
@keyframes header-in    { from { opacity: 0; transform: translateY(-20px); } }

html.js p.hero-copy {
    animation: hero-copy-in var(--dur-hero) var(--ease-out-expo) calc(var(--delay, 0) * 1ms) backwards;
    transition: opacity var(--dur-hero) var(--ease-out-expo),
        transform var(--dur-hero) var(--ease-out-expo);
    transition-delay: calc(var(--delay, 0) * 1ms);
}

html.js .hero-lead.hero-copy {
    animation-name: hero-lead-in;
}

html.js .kv-word {
    display: inline-block;
    animation: kv-word-in var(--dur-hero) var(--ease-out-expo) calc(var(--delay, 0) * 1ms) backwards;
    transition: opacity var(--dur-hero) var(--ease-out-expo),
        transform var(--dur-hero) var(--ease-out-expo);
    transition-delay: calc(var(--delay, 0) * 1ms);
}

/* SCROLL インジケーターの初期非表示・出現フェード */
html.js .hero .scroll-indicator {
    animation: fade-in 1.1s var(--ease-out-expo) 1.05s backwards;
    transition: opacity 1.1s var(--ease-out-expo);
}

/* スクロール到達時の背景ブラー(irep 方式: 閾値 100px) */
html.js.is-scrolled .hero-slideshow {
    filter: blur(28px);
    transform: scale(1.06);
}

/* スクロール到達時のヒーロー文字退場(逆順ステッガーは --delay-out で制御) */
html.js.is-scrolled .hero .kv-word {
    opacity: 0;
    transform: translateY(24px);
    transition-delay: calc(var(--delay-out, 0) * 1ms);
}

html.js.is-scrolled .hero p.hero-copy {
    opacity: 0;
    transform: translateY(16px);
    transition-delay: calc(var(--delay-out, 0) * 1ms);
}

html.js.is-scrolled .hero .hero-lead.hero-copy {
    transform: translateY(18px);
}

html.js.is-scrolled .hero .scroll-indicator {
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-out-quart);
}

/* ヘッダーの初期非表示も html.js 配下でのみ */
html.js header {
    animation: header-in var(--dur-slow) var(--ease-out-quart) backwards;
    transition: opacity var(--dur-slow) var(--ease-out-quart),
        transform var(--dur-slow) var(--ease-out-quart);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-motion-ready [data-reveal],
    .home-motion-ready [data-section-title] .sec-label,
    .home-motion-ready [data-section-title] .sec-title,
    .home-motion-ready [data-section-title] .home-section-title__line,
    html.js p.hero-copy,
    html.js .kv-word,
    html.js .hero .scroll-indicator,
    html.js header {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .scroll-line {
        animation: none !important;
    }

    html.js .process-arrow {
        clip-path: none;
    }

}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(247, 246, 243, .9), rgba(247, 246, 243, 0));
    transition: transform var(--dur-slow) var(--ease-out-quart),
        background var(--dur-slow) var(--ease-out-quart);
}

header.is-hidden {
    transform: translateY(-100%);
}

header.is-white {
    background: linear-gradient(180deg, rgba(10, 21, 38, .72), rgba(10, 21, 38, .25) 60%, transparent);
}

.header-container {
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 32px;
    width: auto;
    transition: filter var(--dur-slow) var(--ease-out-quart);
}

.logo-wordmark {
    height: 18px;
    width: auto;
    transition: filter var(--dur-slow) var(--ease-out-quart);
}

header.is-white .logo-icon,
header.is-white .logo-wordmark {
    filter: brightness(0) invert(1);
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav ul a {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--c-ink);
    padding-bottom: 4px;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size var(--dur-slow) var(--ease-out-quart), color var(--dur-slow) var(--ease-out-quart);
}

nav ul a:hover {
    background-size: 100% 2px;
}

header.is-white nav ul a {
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.nav-item--has-sub {
    position: relative;
}

/* モバイルパネル専用のラベル類はデスクトップでは出さない */
.nav-num,
.nav-en,
.nav-panel-eyebrow,
.nav-panel-foot {
    display: none;
}

.nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 34rem;
    margin-top: 1.4rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 1.4rem;
    box-shadow: 0 18px 50px rgba(10, 21, 38, .16);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .5s cubic-bezier(.22, 1, .36, 1),
        visibility .5s cubic-bezier(.22, 1, .36, 1),
        transform .5s cubic-bezier(.22, 1, .36, 1);
}

/* 親リンクとパネルの隙間でホバーが途切れないよう透明のブリッジを渡す */
.nav-sub::before {
    content: '';
    position: absolute;
    top: -1.4rem;
    left: 0;
    right: 0;
    height: 1.4rem;
}

.nav-item--has-sub:hover .nav-sub,
.nav-item--has-sub:focus-within .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-sub__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem 1.2rem;
}

.nav-sub__eyebrow {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .24em;
    color: #8b98ab;
}

/* ダーク背景ヘッダー用の白文字指定に負けないよう、パネル内はクラス2つ分の詳細度で固定する */
.nav-sub .nav-sub__all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: #68758a;
    text-shadow: none;
    background-image: none;
    transition: color var(--dur-slow) cubic-bezier(.22, 1, .36, 1);
}

.nav-sub .nav-sub__all .material-symbols-rounded {
    font-size: 1.4rem;
    transition: color var(--dur-slow) cubic-bezier(.22, 1, .36, 1);
}

.nav-sub .nav-sub__all:hover,
.nav-sub .nav-sub__all:hover .material-symbols-rounded {
    color: var(--c-accent);
}

.nav-sub__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    gap: 2px;
}

.nav-sub .nav-sub__item {
    display: block;
    position: relative;
    padding: 1.4rem;
    border-radius: 1rem;
    text-shadow: none;
    background-image: none;
    transition: background-color var(--dur-slow) cubic-bezier(.22, 1, .36, 1);
}

.nav-sub .nav-sub__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.4rem;
    right: 1.4rem;
    height: 1px;
    background: rgba(10, 21, 38, .08);
}

.nav-sub li:first-child .nav-sub__item::before {
    display: none;
}

.nav-sub .nav-sub__item:hover,
.nav-sub .nav-sub__item[aria-current="page"] {
    background-color: #f2f5f9;
}

.nav-sub__row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.nav-sub__num {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--c-accent);
}

.nav-sub__name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2333;
}

.nav-sub__arrow {
    margin-left: auto;
    font-size: 1.6rem;
    color: #9aa7b8;
    transition: transform var(--dur-slow) cubic-bezier(.22, 1, .36, 1),
        color var(--dur-slow) cubic-bezier(.22, 1, .36, 1);
}

.nav-sub__item:hover .nav-sub__arrow {
    transform: translateX(3px);
    color: var(--c-accent);
}

.nav-sub__desc {
    display: block;
    margin-top: .5rem;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #68758a;
}

.hamburger-menu {
    display: none;
    position: relative;
    z-index: 110;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger-menu .material-symbols-rounded {
    font-size: 2.8rem;
    color: var(--c-ink);
}

header.is-white .hamburger-menu .material-symbols-rounded {
    color: #ffffff;
}

.hamburger-menu .close-icon {
    display: none;
}

.hamburger-menu.active .menu-icon {
    display: none;
}

.hamburger-menu.active .close-icon {
    display: inline-block;
    color: var(--c-ink);
}

.menu-overlay {
    display: none;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: clip;
    padding-top: 100px;
}

.hero-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    overflow: hidden;
    z-index: -1;
    background: var(--c-dark-2); /* 画像ロード前のフォールバック */
    transition: filter 1s var(--ease-out-quart), transform 1s var(--ease-out-quart);
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s var(--ease-out-quart), transform 7s linear;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 21, 38, .55), rgba(10, 21, 38, .45) 50%, rgba(10, 21, 38, .65));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h1 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(4rem, 9vw, 8.8rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(10, 21, 38, .45);
    margin: 0;
}

.hero-title-line {
    display: block;
}

.hero-lead {
    margin-top: 32px;
    max-width: 560px;
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 1px 12px rgba(10, 21, 38, .45);
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
    transition: opacity var(--dur-slow) var(--ease-out-quart);
}

.scroll-indicator span:first-child {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .25em;
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, .8);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, .8);
    transform-origin: top;
    animation: scroll-line-move 2.2s ease-in-out infinite;
}

@keyframes scroll-line-move {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
    }

    55% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ==========================================================================
   Who we are
   ========================================================================== */

.who-we-are {
    position: relative;
    background: rgba(10, 21, 38, .6);
    padding: 120px 0;
}

.section-header-left {
    text-align: left;
    margin: 0 0 48px;
}

.who-we-are-body {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.who-we-are-body p {
    font-size: 1.6rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, .8);
}

.who-we-are-action {
    margin-top: 40px;
}

.who-we-are .text-link-button {
    color: #ffffff;
    background-image: linear-gradient(#ffffff, #ffffff);
}

.who-we-are .company-commitments {
    margin-top: 80px;
    justify-content: flex-start;
}

/* ==========================================================================
   サービス
   ========================================================================== */

.services {
    background: var(--c-bg-white);
    padding: 120px 0;
}

.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.showcase-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* メッセージは「サービス」見出しのやや下から始める */
.showcase-message {
    padding-top: 64px;
}

.showcase-head .section-header {
    margin: 0;
}

.showcase-copy {
    font-size: 1.6rem;
    line-height: 2;
    color: var(--c-text);
}

.showcase-message .text-link-button {
    margin-top: 28px;
}

.service-cards {
    display: grid;
    row-gap: 48px;
    margin-top: 64px;
}

.service-card {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--c-dark);
    color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.service-card:nth-of-type(2n) {
    flex-direction: row-reverse;
}

.service-card-img {
    position: relative;
    flex: 0 0 auto;
    width: 52%;
    min-height: 420px;
    margin: 0;
    background: #ffffff; /* 画像ロード前のフォールバック */
    overflow: hidden;
}

.service-card-img picture {
    position: absolute;
    inset: 0;
}

.service-card-img img {
    display: block;
    width: 100%;
    height: 115%; /* パララックスの可動域 */
    object-fit: cover;
    /* transform の % は要素自身(115%)基準のため、フレーム基準の15%になるよう 15/1.15 で補正 */
    transform: translateY(calc(var(--parallax-amount, .5) * -13.043%));
}

.service-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 56px 56px 48px;
}

.service-card-en {
    font-family: 'Bebas Neue', var(--font-en), sans-serif; /* jillion 同様の縦長ディスプレイ書体 */
    font-weight: 400;
    font-size: clamp(4.4rem, 4.6vw, 6rem);
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
}

.service-card-ja {
    margin-top: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.service-card-lead {
    margin-top: auto; /* jillion 同様、下寄せ */
    padding-top: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .01em;
}

.service-card-txt {
    margin-top: 14px;
    font-size: 1.4rem;
    line-height: 1.9;
    color: #ffffff;
    text-align: justify;
}

.service-card-link {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.service-card-link .material-symbols-rounded {
    font-size: 1.8rem;
    transition: transform .3s var(--ease-out-expo);
}

.service-card-link:hover .material-symbols-rounded {
    transform: translateX(4px);
}

/* ==========================================================================
   開発の流れ(サービスセクション内サブブロック)
   ========================================================================== */

.process-subsection {
    margin-top: 120px;
    position: relative;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}

.process-intro {
    align-self: center;
}

.process-flow {
    grid-column: auto;
}

.process-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    letter-spacing: -.02em;
    color: rgb(88, 177, 147);
}

.process-flow {
    position: relative;
    padding-right: 200px; /* 右側のグラデーション矢印の分+余白 */
}

.process-track {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 36px;
}

/* 弧: 中間の2ステップを右へずらす(irep 方式) */
.process-step:nth-child(2),
.process-step:nth-child(3) {
    margin-left: 72px;
}

/* ステップごとのテーマ色(落ち着いた 濃紺→ダスティブルー→セージ→アンバー。矢印グラデーションと対応) */
.process-step:nth-child(1) { --step-color: #2c4a6e; }
.process-step:nth-child(2) { --step-color: #4f7cae; }
.process-step:nth-child(3) { --step-color: #58b193; }
.process-step:nth-child(4) { --step-color: #e3a857; }

.process-icon {
    flex-shrink: 0;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: var(--step-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 円のサイズに追従させず、イラストは実寸固定 */
.process-icon img {
    width: 100px;
    height: auto;
}

.process-copy .process-number {
    margin-top: 0;
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1.25;
    color: var(--step-color);
}

.process-copy h4 {
    margin: 2px 0 0;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--c-ink);
}

.process-copy p {
    margin-top: 8px;
    font-size: 1.6rem;
    color: var(--c-text);
    /* 弧のオフセットで列幅が詰まっても短い説明文は折り返さない */
    white-space: nowrap;
}

.process-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
}

.process-arrow svg {
    height: 100%;
    max-height: 760px;
    width: auto;
}

/* 矢印は上から下へワイプ表示(irep 方式の height アニメを clip-path で再現)。
   クリップで可視領域ゼロの要素には IntersectionObserver が発火しないため、
   矢印自身ではなくステップの表示状態(:has)から駆動する */
.home-motion-ready .process-arrow {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.8s cubic-bezier(.22, 1, .36, 1) .5s;
}

.home-motion-ready .process-flow:has(.process-step:nth-child(3).is-visible) .process-arrow {
    clip-path: inset(0);
}

@media (min-width: 901px) {
    .home-motion-ready .process-arrow {
        clip-path: inset(0 0 calc((1 - var(--process-progress, 0)) * 100%) 0);
        transition: none;
    }
}

/* ==========================================================================
   開発事例
   ========================================================================== */

.case-library {
    background: var(--c-bg-white);
    padding: 120px 0;
}

.case-library-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.case-library-head .section-header {
    margin-bottom: 0;
}

.case-carousel {
    position: relative;
}

.case-carousel-viewport {
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.case-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.case-carousel-viewport:focus-visible {
    outline: 3px solid rgba(45, 90, 160, .35);
    outline-offset: 6px;
}

.case-carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
}

.case-carousel-track::after {
    content: '';
    flex: 0 0 var(--case-carousel-end-space, 0px);
}

.case-slide {
    position: relative;
    flex: 0 0 min(60vw, 640px);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    color: #ffffff;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
}

.case-slide picture,
.case-slide picture::after {
    position: absolute;
    inset: 0;
}

.case-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease-out-quart);
}

.case-slide-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 18, 34, .03) 25%, rgba(8, 18, 34, .82) 100%);
}

.case-slide-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: clamp(24px, 4vw, 48px);
}

.case-card-topline {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.case-industry,
.case-service {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(8, 18, 34, .28);
    backdrop-filter: blur(8px);
}

.case-slide h3 {
    max-width: 680px;
    padding-right: 72px;
    font-size: clamp(1.9rem, 2.3vw, 3rem);
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.case-slide-arrow {
    position: absolute;
    right: clamp(24px, 4vw, 48px);
    bottom: clamp(24px, 4vw, 48px);
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    font-size: 2.2rem;
    transition: color var(--dur-slow) var(--ease-out-quart),
        background var(--dur-slow) var(--ease-out-quart),
        transform var(--dur-slow) var(--ease-out-quart);
}

.case-slide:hover img {
    transform: scale(1.045);
}

.case-slide:hover .case-slide-arrow {
    color: var(--c-ink);
    background: #ffffff;
    transform: translateX(4px);
}

.case-carousel-controls {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
}

.case-carousel-progress {
    flex: 1 1 auto;
    height: 2px;
    overflow: hidden;
    background: rgba(26, 35, 51, .14);
}

.case-carousel-progress span {
    display: block;
    width: 33.333%;
    height: 100%;
    background: var(--c-primary);
    transform: translateX(0);
    transition: transform var(--dur-slow) var(--ease-out-quart);
}

.case-carousel-buttons {
    display: flex;
    gap: 10px;
}

.case-carousel-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(26, 35, 51, .3);
    border-radius: 50%;
    color: var(--c-ink);
    transition: color var(--dur-fast) ease,
        background var(--dur-fast) ease,
        opacity var(--dur-fast) ease;
}

.case-carousel-button:not(:disabled):hover,
.case-carousel-button:focus-visible {
    color: #ffffff;
    background: var(--c-ink);
    outline: none;
}

.case-carousel-button:disabled {
    cursor: default;
    opacity: .3;
}

.case-carousel-button .material-symbols-rounded {
    font-size: 2rem;
}

/* ==========================================================================
   よくある質問
   ========================================================================== */

.faq {
    background: var(--c-bg);
    padding: 120px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 28px;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--c-ink);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: 'add';
    font-family: 'Material Symbols Rounded';
    font-size: 2.2rem;
    color: var(--c-accent);
    flex-shrink: 0;
    transition: transform var(--dur-base) var(--ease-out-quart);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 16px;
    font-size: 1.5rem;
}

.faq-answer a {
    color: var(--c-primary);
    text-decoration: underline;
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */

.contact-section {
    background: linear-gradient(135deg, #2d5aa0, #30b9c4);
    padding: 120px 0;
    color: #ffffff;
}

.contact-section .sec-label {
    color: rgba(255, 255, 255, .85);
}

.contact-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.contact-copy {
    margin-top: 24px;
    font-size: 1.6rem;
}

.contact-actions {
    margin-top: 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   コミットメントロゴ(Who we are 内)
   ========================================================================== */

.commitment-logos {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.commitment-note {
    margin-top: 16px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .6);
}

.commitment-logo-frame {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
}

.commitment-logo-frame picture {
    display: contents; /* <picture> を挟んでも img が枠の直接の子として max-height を解決できるようにする */
}

.commitment-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.saitama-dx-mark {
    width: 200px;
}

.saitama-dx-mark .commitment-logo-frame {
    width: 100%;
}

.commitment-logo-caption {
    margin-top: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    text-wrap: balance;
}

/* ==========================================================================
   フッター
   ========================================================================== */

footer {
    background: var(--c-dark-2);
    color: #ffffff;
    padding: 120px 0 40px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 80px;
}

.footer-links h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 1.4rem;
    color: #ffffff;
    padding-bottom: 2px;
    background-image: linear-gradient(#ffffff, #ffffff);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size var(--dur-slow) var(--ease-out-quart);
}

.footer-links a:hover {
    background-size: 100% 1px;
}

.copyright {
    max-width: var(--max-width);
    margin: 80px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 768px) {
    .section-container {
        padding: 0 20px;
    }

    .header-container {
        padding: 16px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
        line-height: 1.22;
    }

    .hero-lead {
        font-size: 1.4rem;
    }

    /* モバイルでは改行を解除して文字の孤立を防ぐ */
    .hero-lead br {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    nav ul,
    .nav-contact-btn {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 360px;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 28px 32px 32px;
        /* 画面高が足りない端末でも項目に届くようにする */
        overflow-y: auto;
        /* パネル内スクロールの端で背面(ページ)へスクロールが連鎖しないようにする */
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform var(--dur-base) var(--ease-out-quart);
        z-index: 105;
    }

    nav.active {
        transform: translateX(0);
    }

    .nav-panel-eyebrow {
        display: block;
        font-family: var(--font-en);
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: .28em;
        color: #8b98ab;
    }

    nav > ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-top: 64px;
        gap: 0;
    }

    /* トップレベルの項目は罫線区切りのリストにする */
    nav > ul > li > a {
        display: flex;
        align-items: baseline;
        gap: 14px;
        padding: 20px 0;
        border-bottom: 1px solid rgba(10, 21, 38, .1);
        background-image: none;
    }

    nav > ul > li:first-child > a {
        border-top: 1px solid rgba(10, 21, 38, .1);
    }

    /* サブメニューの直上は罫線が二重になるため、親側を消してサブ側で締める */
    nav > ul > li.nav-item--has-sub > a {
        border-bottom: 0;
    }

    .nav-num {
        display: block;
        width: 26px;
        font-family: var(--font-en);
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: .2em;
        color: var(--c-accent);
    }

    .nav-label {
        font-size: 1.9rem;
        font-weight: 600;
        color: #1a2333;
    }

    .nav-en {
        display: block;
        margin-left: auto;
        font-family: var(--font-en);
        font-size: .9rem;
        font-weight: 500;
        letter-spacing: .18em;
        color: #a5b0c0;
    }

    /* モバイルはホバーではなく常時表示のリストへ切り替え、インデントで親子関係を示す */
    .nav-sub {
        position: static;
        width: auto;
        margin: 0;
        padding: 4px 0 18px 40px;
        background: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(10, 21, 38, .1);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    /* タップで :hover / :focus-within が立ってもデスクトップ用の
       translate(-50%, 0) を発動させない(発動するとパネルが左へ半分ずれ、
       クリックがリンクから外れて遷移も失敗する) */
    .nav-item--has-sub:hover .nav-sub,
    .nav-item--has-sub:focus-within .nav-sub {
        transform: none;
    }

    .nav-sub::before,
    .nav-sub__head,
    .nav-sub__num,
    .nav-sub__arrow,
    .nav-sub__desc {
        display: none;
    }

    .nav-sub__list {
        gap: 0;
    }

    .nav-sub .nav-sub__item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 0;
        border-radius: 0;
    }

    .nav-sub .nav-sub__item::before,
    .nav-sub li:first-child .nav-sub__item::before {
        display: block;
        position: static;
        width: 14px;
        height: 1px;
        background: var(--c-accent);
        opacity: .7;
    }

    .nav-sub .nav-sub__item:hover,
    .nav-sub .nav-sub__item[aria-current="page"] {
        background-color: transparent;
    }

    .nav-sub__name {
        font-size: 1.45rem;
        font-weight: 500;
        color: #4c5a70;
    }

    .nav-sub__item[aria-current="page"] .nav-sub__name {
        color: #1a2333;
    }

    /* 開いたメニューは white パネルのため、文字とアイコンはインクのままにする */
    nav.active ul a,
    header.is-white nav.active ul a {
        text-shadow: none;
    }

    .hamburger-menu.active .material-symbols-rounded,
    header.is-white .hamburger-menu.active .material-symbols-rounded {
        color: #1a2333;
    }

    /* CTA はパネル最下部の全幅ボタン(配色は .btn--solid の既定に委ねる) */
    .nav-contact-btn {
        display: flex;
        margin-top: auto;
        width: 100%;
        padding: 15px;
        font-size: 1.45rem;
        font-weight: 700;
    }

    .nav-panel-foot {
        display: block;
        margin-top: 18px;
        font-family: var(--font-en);
        font-size: .9rem;
        letter-spacing: .22em;
        color: #b3bccb;
        text-align: center;
    }

    /* ステッカーのように少しずつ立ち上げる(パネル本体のスライドに続けて再生) */
    nav .nav-panel-eyebrow,
    nav > ul > li,
    nav .nav-contact-btn,
    nav .nav-panel-foot {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .7s cubic-bezier(.22, 1, .36, 1),
            transform .7s cubic-bezier(.22, 1, .36, 1);
    }

    nav.active .nav-panel-eyebrow,
    nav.active > ul > li,
    nav.active .nav-contact-btn,
    nav.active .nav-panel-foot {
        opacity: 1;
        transform: none;
    }

    nav.active .nav-panel-eyebrow {
        transition-delay: .12s;
    }

    nav.active > ul > li:nth-child(1) {
        transition-delay: .19s;
    }

    nav.active > ul > li:nth-child(2) {
        transition-delay: .26s;
    }

    nav.active > ul > li:nth-child(3) {
        transition-delay: .33s;
    }

    nav.active .nav-contact-btn {
        transition-delay: .4s;
    }

    nav.active .nav-panel-foot {
        transition-delay: .47s;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(10, 21, 38, .5);
        z-index: 104;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--dur-base) var(--ease-out-quart);
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
        /* iOS など overflow: hidden だけではタッチスクロールを止めきれない環境向け。
           パネル内のスクロールは nav 自身が pan を実装するため影響しない */
        touch-action: none;
    }

    .showcase-head {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .showcase-message {
        padding-top: 0;
    }

    .service-cards {
        row-gap: 20px;
        margin-top: 40px;
    }

    .service-card,
    .service-card:nth-of-type(2n) {
        flex-direction: column;
    }

    .service-card-img {
        width: 100%;
        min-height: 0;
        height: 220px;
    }

    .service-card-inner {
        padding: 32px 24px 28px;
    }

    .service-card-en {
        font-size: 2.8rem;
    }

    .service-card-lead {
        margin-top: 24px;
        padding-top: 0;
        font-size: 1.9rem;
    }

    .who-we-are-body p {
        font-size: 1.5rem;
    }

    .process-subsection {
        margin-top: 64px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-intro {
        position: static;
        transform: none;
        padding-left: 0;
    }

    .process-flow {
        grid-column: auto;
        padding-right: 0;
    }

    .process-track {
        gap: 28px;
    }

    /* モバイルでは弧を描かず縦一列 */
    .process-step:nth-child(2),
    .process-step:nth-child(3) {
        margin-left: 0;
    }

    .process-step {
        gap: 20px;
    }

    .process-icon {
        width: 100px;
        height: 100px;
    }

    .process-icon img {
        width: 69px;
    }

    .process-copy h4 {
        font-size: 2rem;
    }

    .process-arrow {
        display: none;
    }

    .case-library-head {
        gap: 20px;
        margin-bottom: 32px;
    }

    .case-library-head .text-link-button {
        flex-shrink: 0;
        font-size: 1.3rem;
    }

    .case-carousel-track {
        gap: 14px;
    }

    .case-slide {
        flex-basis: min(76vw, 480px);
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .case-slide-content {
        padding: 24px;
    }

    .case-slide h3 {
        padding-right: 52px;
        font-size: clamp(1.7rem, 4.8vw, 2.2rem);
    }

    .case-slide-arrow {
        right: 24px;
        bottom: 24px;
        width: 44px;
        height: 44px;
    }

    .case-carousel-controls {
        gap: 20px;
        margin-top: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 48px;
    }

    .who-we-are,
    .services,
    .case-library,
    .faq,
    .contact-section {
        padding: 80px 0;
    }

    footer {
        padding: 80px 0 32px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 20px;
    }

    .case-library-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .case-slide {
        flex-basis: 86vw;
        aspect-ratio: 4 / 5;
    }

    .case-card-topline {
        flex-wrap: wrap;
    }

    .case-industry,
    .case-service {
        padding: 4px 10px;
        font-size: 1.1rem;
    }

    .case-slide h3 {
        padding-right: 0;
        padding-bottom: 54px;
        font-size: 1.8rem;
    }

    .case-slide-arrow {
        left: 24px;
        right: auto;
    }

    /* 狭小画面ではロゴ3枚を縦積みし左右中央へ */
    .commitment-logos {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .commitment-logo-frame {
        width: 80%;
        height: 120px;
    }

    .saitama-dx-mark {
        width: 80%;
    }
}

/* モーション抑制時はメニューパネル内の段階表示を止める */
@media (prefers-reduced-motion: reduce) {
    nav .nav-panel-eyebrow,
    nav > ul > li,
    nav .nav-contact-btn,
    nav .nav-panel-foot {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        transition-delay: 0s !important;
    }
}
