/* =============================================
   リセット & ベーススタイル
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000;
    --white: #fff;
    --darkBlue: #1432aa;
    --lightBlue: #e7f8ff;
    --ctaRed: #e13000;
    --ctaRed-hover: #ff6c45;
    --regular: "UD新ゴ R", Arial, Helvetica, sans-serif;
    --medium: "UD新ゴ M", Arial, Helvetica, sans-serif;
    --bold: "UD新ゴ B", Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    font-family: "UD新ゴ R", "UD新ゴ M", "UD新ゴ B", Arial, Helvetica, sans-serif;
    font-style: normal;
    color: #000000;
    background-color: #e9f9ff;
    line-height: 1.5;
}

html.sp-landscape-lock,
body.sp-landscape-lock {
    overflow: hidden;
    touch-action: none;
}

.sp-landscape-notice {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: #000;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    pointer-events: none;
}

.sp-landscape-notice-inner {
    max-width: 28rem;
}

.sp-landscape-notice-title {
    font-family: var(--bold);
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.4;
}

.sp-landscape-notice-text {
    margin-top: 0.9rem;
    font-family: var(--regular);
    font-size: clamp(0.95rem, 2.7vw, 1.05rem);
    font-weight: 400;
    line-height: 1.8;
}

.sp-landscape-animation {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 1.4rem auto 0;
}

.sp-landscape-phone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 78px;
    margin: -39px 0 0 -22px;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.28);
    transform-origin: center;
    animation: landscape-phone-rotate 2.4s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.sp-landscape-phone::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 16px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    transform: translateX(-50%);
}

.sp-landscape-phone::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    transform: translateX(-50%);
}

.sp-landscape-phone-screen {
    position: absolute;
    inset: 13px 5px 14px;
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(233, 249, 255, 0.9) 0%, rgba(149, 213, 255, 0.92) 100%);
}

.sp-landscape-arrow {
    display: none;
}

.sp-landscape-arrow::after {
    content: none;
}

@keyframes landscape-phone-rotate {
    0%,
    18% {
        transform: rotate(90deg) scale(0.96);
    }

    38%,
    72% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(90deg) scale(0.96);
    }
}

body.sp-landscape-lock .sp-landscape-notice {
    display: flex;
    pointer-events: auto;
}

/* =============================================
   フォントユーティリティ
   ============================================= */
.font-bold {
    font-family: var(--bold);
    font-weight: 700;
}

.font-medium {
    font-family: var(--medium);
    font-weight: 500;
}

.font-regular {
    font-family: var(--regular);
    font-weight: 400;
}

/* =============================================
   改行ユーティリティ（br専用）
   ============================================= */
br.pc-br {
    display: inline;
}

br.sp-br {
    display: none;
}

@media (max-width: 768px) {
    br.pc-br {
        display: none;
    }

    br.sp-br {
        display: inline;
    }
}

/* =============================================
   ヘッダー
   ============================================= */
.header {
    position: fixed;
    top: 2vh;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 2.2%;
    pointer-events: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    pointer-events: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    pointer-events: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 52px;
    width: 273px;
    display: block;
    object-fit: contain;
}

.sp-top-white-strip {
    display: none;
}

.sp-nav-menu,
#sp-menu,
.sp-menu,
[data-sp-nav-menu] {
    display: none;
}

/* =============================================
   PC専用設定（769px以上）
   ============================================= */
@media (min-width: 769px) {
    .sp-top-white-strip {
        display: none !important;
    }

    .header {
        pointer-events: none;
    }
}

.contact-btn,
.contact_button {
    display: block;
    width: 200px;
    height: 40px;
    color: var(--white);
    text-align: center;
    font-family: var(--bold);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    background-color: var(--ctaRed);
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    pointer-events: auto;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.contact-btn:hover,
.contact_button:hover {
    background-color: var(--white);
    color: var(--ctaRed);
    box-shadow: inset 0 0 0 4px var(--ctaRed);
}

.fixed-top-buttons {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.fixed-top-btn {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 1;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.fixed-top-btn:hover {
    opacity: 0.7;
}

.header.in-info-section .fixed-top-btn {
    color: var(--darkBlue);
}

.header.in-info-section .fixed-top-btn:hover {
    color: #8ba2ff;
}



/* =============================================
   ヒーローテキストセクション
   ============================================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 6rem 2rem 6rem;
    /* 角丸を削除 */
    border-radius: 0;
    z-index: 20;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1432aa;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.25rem;
    color: #1a3673;
    line-height: 2;
    margin-bottom: 4rem;
    font-weight: 500;
}

.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: #1432aa;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #1432aa;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.scroll-down-btn:hover {
    background: #1432aa;
    border-color: #1432aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(20, 50, 170, 0.4);
}

.scroll-down-arrow {
    display: inline-block;
    font-size: 1.3rem;
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* =============================================
   動画マップセクション（スクロールで表示）
   ============================================= */
.video-map-section {
    position: relative;
    width: 100%;
}

.video-map-container {
    position: relative;
    width: 100%;
    /* 16:9 アスペクト比 */
    aspect-ratio: 16 / 9;
    min-height: 500px;
    overflow: hidden;
}

.map-pan-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* =============================================
   レスポンシブ設定（SP縦向き）
   ============================================= */
@media (max-width: 768px) and (orientation: portrait) {
    .video-map-section {
        padding-top: 40px;
    }

    .video-map-container {
        height: calc(100svh - 40px);
        height: calc(100dvh - 40px);
        min-height: calc(100svh - 40px);
        min-height: calc(100dvh - 40px);
        aspect-ratio: auto;
    }

    .map-pan-layer {
        width: calc((100svh - 40px) * 16 / 9);
        width: calc((100dvh - 40px) * 16 / 9);
        height: 100%;
        max-width: none;
        touch-action: pan-y;
        transform-origin: top left;
    }

    .map-video {
        object-fit: contain;
        object-position: center center;
    }
}

/* 背景動画 */
.map-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   PC専用設定（動画表示）
   ============================================= */
@media (min-width: 769px) {
    .video-map-container {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .map-video {
        object-fit: cover;
        object-position: center center;
    }
}

/* スクロールアニメーション用グラデーションオーバーレイ */
.map-scroll-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 左〜中央は透明、右側が濃い青 */
    background: linear-gradient(to right, rgba(26, 54, 115, 0) 0%, rgba(26, 54, 115, 0) 40%, #0873EB 100%);
    pointer-events: none;
    z-index: 5;
    will-change: transform, opacity;
    display: flex;
    justify-content: flex-end;
    /* 右側に配置 */
    align-items: center;
    /* 縦の中央に配置 */
}

.map-scroll-overlay.intro-play {
    opacity: 0;
    animation: overlay-intro-fade-in 1.8s ease forwards;
}

.map-scroll-overlay.sp-hidden {
    opacity: 0 !important;
    transition: opacity 0.8s ease;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%);
    z-index: 12;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    animation: scroll-indicator-float 2.2s ease-in-out infinite;
}

.scroll-indicator.is-visible {
    opacity: 1;
    visibility: visible;
}

.scroll-indicator-image {
    display: block;
    width: 9vw;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
}

@keyframes scroll-indicator-float {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.intro-shapes.sp-hidden {
    opacity: 0 !important;
}

@keyframes overlay-intro-fade-in {
    0% {
        opacity: 0;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.intro-shapes {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    transition: opacity 0.35s ease-out;
    will-change: opacity;
}

.intro-shape {
    position: absolute;
    display: block;
    opacity: 0;
    filter: drop-shadow(0 3px 9px rgba(0, 0, 0, 0.22));
    animation: intro-shape-in 1.8s ease forwards;
}

.intro-shape-image {
    display: block;
    width: 100%;
    height: auto;
}

.intro-shape-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

.shape-1 {
    width: 141px;
    left: 17%;
    top: 34%;
}

.shape-2 {
    width: 141px;
    left: 10%;
    top: 65%;
}

.shape-3 {
    width: 141px;
    left: 44%;
    top: 11%;
}

.shape-4 {
    width: 141px;
    left: 35%;
    top: 47%;
}

@keyframes intro-shape-in {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.95);
    }

    45% {
        opacity: 0;
        transform: translateY(6px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* オーバーレイ内のテキスト */
.overlay-text-wrapper {
    color: #fff;
    text-align: right;
    margin-right: 10px;
    padding: 2rem;
    padding-top: 10rem;
}

.overlay-text-wrapper h4 {
    font-size: clamp(20px, 5vw, 40px);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.overlay-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4em;
}

.overlay-row1 {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.06em;
    margin-bottom: 0.14em;
}

.overlay-emphasis {
    font-size: 7vw;
    line-height: 0.9;
    vertical-align: -0.08em;
}

.overlay-emphasis-image {
    height: 0.82em;
    width: auto;
    display: inline-block;
    vertical-align: -0.08em;
}

.overlay-line1,
.overlay-line2,
.overlay-line3 {
    display: inline-block;
    font-size: 3.2vw;
    line-height: 1.28;
    text-align: right;
}

.overlay-line1 {
    transform: translateY(0.14em);
}

.overlay-line3 {
    white-space: nowrap;
}

.overlay-text-wrapper p {
    font-size: 1.2vw;
    line-height: 2;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}


/* プレースホルダー（動画がない場合） */
.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2d5a 50%, #1a1a3e 100%);
    color: #94a3b8;
    font-size: 1.25rem;
    text-align: center;
    padding: 2rem;
}

/* =============================================
   スポットボタン（青フチ丸四角）
   ============================================= */
.spot-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.spot-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;

    /* 青フチの丸四角（カプセル型へ変更） */
    background: #fff;
    /* 透明度をなくし完全な白に（しっぽが透けないため） */
    border: 3px solid #1432aa;
    border-radius: clamp(34px, 3.472222vw, 50px);
    width: max-content;
    height: auto;
    min-width: auto;
    max-width: none;
    min-height: auto;
    max-height: none;
    padding: clamp(8px, 0.833333vw, 12px) clamp(13px, 1.388889vw, 20px);
    z-index: 10;
    /* しっぽを後ろに隠すための基準 */

    /* 青い文字 */
    color: #1432aa;
    font-size: clamp(0.82rem, 1vw, 0.9rem);
    font-family: var(--medium);
    font-weight: medium;
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    text-align: center;
    letter-spacing: 0.04em;

    /* 初期状態は非表示（下から出てくる準備） */
    opacity: 0;
    /* 位置はjsで設定される left/top に加えて、下方向(Y)へずらしておく */
    transform: translate(-50%, calc(-50% + 40px));

    /* 影・アニメーション */
    box-shadow: 0 4px 16px rgba(20, 50, 170, 0.18);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    will-change: transform, opacity;
    isolation: isolate;
    border-width: clamp(2px, 0.208333vw, 3px);
}

/* 吹き出しのしっぽ（逆三角形） */
.spot-btn::after {
    content: none;
    position: absolute;
    bottom: -8px;
    /* フチの分だけ外に出す */
    left: 50%;
    width: clamp(10px, 0.972222vw, 14px);
    height: clamp(10px, 0.972222vw, 14px);
    background: #fff;
    border-bottom: clamp(2px, 0.208333vw, 3px) solid #1432aa;
    border-right: clamp(2px, 0.208333vw, 3px) solid #1432aa;
    /* ひし形にして下半分だけ見せる */
    transform: translateX(-50%) rotate(45deg);
    border-bottom-right-radius: 2px;
    /* 先端を少し丸くする */
    z-index: -1;
    /* ボタン本体の裏側に配置 */
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* 画面に表示される時のアニメーション用クラス */
.spot-btn.show {
    animation: spot-appear 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards, spot-bounce 2.2s ease-in-out infinite 0.72s;
    pointer-events: auto;
}

.spot-btn.hide {
    animation: spot-disappear 0.58s cubic-bezier(0.4, 0, 1, 1) forwards;
    pointer-events: none;
}

@keyframes spot-appear {
    0% {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 34px)) scale(0.96);
    }

    60% {
        opacity: 1;
        transform: translate(-50%, calc(-50% - 2px)) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes spot-disappear {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 28px)) scale(0.97);
    }
}

@keyframes spot-bounce {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-2px);
    }
}

/* ホバー時（出現後のみ）*/
.spot-btn.show:hover {
    animation-play-state: paused;
    background: #1432aa;
    color: #fff;
    border-color: #1432aa;
    box-shadow: 0 6px 24px rgba(20, 50, 170, 0.35);
    transform: translate(-50%, -50%);
}

/* ホバー時のしっぽの色変更 */
.spot-btn.show:hover::after {
    background: #1432aa;
    border-bottom-color: #1432aa;
    border-right-color: #1432aa;
}

.spot10-cloud-anchor {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.spot7-cloud-anchor {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.spot7-btn.show+.spot7-cloud-anchor {
    opacity: 1;
}

.spot7-btn.show+.spot7-cloud-anchor .spot7-cloud {
    animation: spot7-cloud-slide-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.spot10-btn.show+.spot10-cloud-anchor {
    opacity: 1;
}

.spot10-btn.show+.spot10-cloud-anchor .spot10-cloud {
    animation: spot10-cloud-slide-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.spot10-cloud {
    display: block;
    transform: translate3d(-120px, 0, 0);
    opacity: 0;
    width: clamp(240px, 21.736111vw, 313px);
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(20, 50, 170, 0.22));
}

.spot7-cloud {
    display: block;
    transform: translate3d(120px, 0, 0);
    opacity: 0;
    width: clamp(240px, 21.736111vw, 313px);
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(20, 50, 170, 0.22));
    position: relative;
}

.spot10-cloud svg {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.28, 0.76);
    transform-origin: center;
}

.spot7-cloud svg {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.28, 0.76);
    transform-origin: center;
}

.cloud-person {
    position: absolute;
    top: 30%;
    left: 75%;
    
    /* ここでSVGの横幅に対する％を指定 */
    width: 25%; /* 雲（SVG）の横幅の半分になります */
    height: auto;
    
    z-index: 1; /* SVGの上に重なるように */
    pointer-events: none; /* 画像がマウス反応を邪魔しないように */
}

@keyframes spot10-cloud-slide-in {
    0% {
        opacity: 0;
        transform: translate3d(-120px, 0, 0);
    }

    70% {
        opacity: 1;
        transform: translate3d(8px, 0, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes spot7-cloud-slide-in {
    0% {
        opacity: 0;
        transform: translate3d(120px, 0, 0);
    }

    70% {
        opacity: 1;
        transform: translate3d(-8px, 0, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 表示・非表示の段階制御はJS側で行うため、個別delayは設定しない */

/* =============================================
   スポットポップアップ（ホバー時に表示）
   ============================================= */
.spot-popup {
    position: absolute;
    width: 22%;
    background: #fff;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(20, 50, 170, 0.1);
    z-index: 1000;
    pointer-events: none;
    /* ホバーの邪魔にならないように */
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.2, 1, 0.3, 1), transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    border: 12px solid rgba(255, 255, 255, 0.1);
}

.spot-popup.is-active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.popup-image-container {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 8px;
}

.popup-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-content {
    padding: 0.6rem;
}

.popup-content h3 {
    font-size: 1.1rem;
    font-family: var(--bold);
    font-weight: bold;
    color: #1432aa;
    margin-bottom: 0.5rem;
    text-align: center;
}

.popup-content p {
    font-size: 0.8rem;
    color: #242424;
    line-height: 1.3;
    font-weight: 500;
}

.spot-popup-link {
    display: none;
}

.spot-popup-close {
    display: none;
    position: absolute;
    top: -60px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #1432aa;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;

}

@media screen and (min-width: 769px) and (max-width: 1140px) {
}

/* =============================================
   実績セクション（白背景）
   ============================================= */
.info-section {
    position: relative;
    width: 100%;
    background-color: #fff;
    background-image: url('../img/top/back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    /* マップのグラデーション部分と重なるようにネガティブマージンを大きくする */
    margin-top: 0;
    z-index: 10;
    padding: 8rem 2rem 2rem;
    overflow: hidden;
    overflow: clip;
}

.info-inner {
    max-width: 1100px;
    /* 事業紹介に合わせる */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* 文字系コンテンツは最前面 */
.info-inner>* {
    position: relative;
    z-index: 3;
}

.info-subtitle {
    font-size: 1.1rem;
    color: #1432aa;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.info-lead {
    font-size: 32px;
    color: #111;
    font-weight: 700;
    margin-bottom: 2.4rem;
    letter-spacing: 0.03em;
    font-family: var(--bold);
    font-weight: bold;
}

.info-main-solution {
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 60px;
    font-weight: 800;
    color: #1432aa;
    line-height: 1.1;
    font-family: var(--bold);
    font-weight: bold;
}

.solution-bridge {
    margin: 0;
    min-height: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    /* 円画像(B含む)より背面 */
    position: absolute;
    left: 450px;
    top: 36px;
    transform: translateX(400px);
}

.solution-bridge-image {
    width: 1050px;
    height: auto;
    display: block;
    object-fit: contain;
    transform: none;
}

.solution-house-bg {
    margin: 0;
    min-height: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    position: absolute;
    left: -250px;
    top: 190px;
}

.solution-house-image {
    width: 324px;
    height: auto;
    display: block;
    object-fit: contain;
}

.info-lead-marker {
    background-image: linear-gradient(#1432aa, #1432aa);
    background-repeat: no-repeat;
    background-size: 100% 4px;
    background-position: 0 100%;
    padding: 0 0.08em 0.08em;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.stat-label {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a3e;
}

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    color: #1432aa;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-number-image {
    height: 1em;
    width: auto;
    display: block;
}

.stat-unit {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a3e;
}

.info-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1432aa;
    margin-bottom: 3rem;
    letter-spacing: 0.04em;
}



/* =============================================
   スクロールアニメーション
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.circle-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.circle-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 白い領域（info-section）は上方向スライドを少し強める */
.info-section.fade-in {
    opacity: 0;
    transform: translateY(56px);
    transition: opacity 0.95s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-section.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 各要素に遅延を付ける */
.fade-in:nth-child(1) {
    transition-delay: 0s;
}

.fade-in:nth-child(2) {
    transition-delay: 0.15s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.45s;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 768px) {
    .map-scroll-overlay {
        background: linear-gradient(to top,
                rgba(8, 115, 235, 1) 0%,
                rgba(8, 115, 235, 0.82) 22%,
                rgba(8, 115, 235, 0.32) 48%,
                rgba(8, 115, 235, 0) 70%);
        justify-content: flex-start;
        align-items: flex-end;
        padding-top: 0;
    }

    .overlay-text-wrapper {
        max-width: 100%;
        text-align: left;
        margin-right: 0;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 10%;
        padding: 0.7rem 1rem 0.8rem;
    }

    .scroll-indicator {
        bottom: 14px;
    }

    .scroll-indicator-image {
        width: clamp(72px, 24vw, 96px);
    }

    .overlay-text-wrapper h4 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.35;
    }

    .overlay-emphasis {
        font-size: 2.5em;
    }

    .overlay-heading {
        align-items: flex-start;
        gap: 0.4em;
    }

    .overlay-line1,
    .overlay-line2,
    .overlay-line3 {
        font-size: 2.35rem;
        line-height: 1.24;
        text-align: left;
    }

    .overlay-text-wrapper p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 0.35rem;
    }

    html,
    body {
        overflow-x: hidden;
        overscroll-behavior-x: none;
    }

    .info-section,
    .info-inner,
    .project-results,
    .bottom-brand-strip {
        overflow-x: clip;
    }

    .header {
        position: fixed !important;
        top: env(safe-area-inset-top, 0);
        height: 40px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 12px;
        align-items: center;
        z-index: 130;
        pointer-events: auto;
        overflow-x: clip;
        touch-action: pan-y;
        box-sizing: border-box;
        background: #fff;
        justify-content: flex-start;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .logo-image {
        height: 22px;
        width: auto;
        max-width: 65vw;
        object-position: left center;
    }

    .header-right {
        display: none;
    }

    .footer_logo {
        position: static;
        right: auto;
        top: auto;
        transform: none;
        margin-right: 0;
        justify-self: center;
    }

    .sp-top-white-strip {
        position: fixed !important;
        left: auto;
        right: 0;
        top: env(safe-area-inset-top, 0);
        width: auto;
        max-width: none;
        margin: 0;
        height: 40px;
        background: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 12px;
        min-width: 58px;
        z-index: 131;
        pointer-events: auto;
        touch-action: pan-y;
        overflow: visible;
        box-sizing: border-box;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .sp-nav-menu,
    #sp-menu,
    .sp-menu,
    [data-sp-nav-menu] {
        position: fixed;
        top: 40px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        z-index: 129;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: #e7f8ff;
        border-bottom: 1px solid rgba(20, 50, 170, 0.15);
        overflow-x: clip;
        touch-action: pan-y;
        box-sizing: border-box;
    }

    .sp-nav-menu.is-open,
    #sp-menu.is-open,
    .sp-menu.is-open,
    [data-sp-nav-menu].is-open {
        display: flex;
    }

    .sp-menu-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 42px;
        padding: 8px 16px;
        border-radius: 0;
        background: transparent;
        color: #1432aa;
        border: 0;
        border-bottom: 1px solid rgba(20, 50, 170, 0.25);
        text-decoration: none;
        font-family: var(--bold);
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1;
        text-align: left;
        text-shadow: none;
        white-space: normal;
    }

    .sp-menu-btn::after {
        content: ">";
        margin-left: 12px;
        color: #1432aa;
        font-size: 1.15rem;
        line-height: 1;
        font-weight: 700;
        flex: 0 0 auto;
    }

    .sp-nav-menu .sp-menu-btn:last-child,
    #sp-menu .sp-menu-btn:last-child,
    .sp-menu .sp-menu-btn:last-child,
    [data-sp-nav-menu] .sp-menu-btn:last-child {
        border-bottom: 0;
    }

    .spot-popup-close {
        display: inline-flex;
    }

    .spot-popup {
        position: fixed;
        left: 50vw;
        top: 50vh;
        width: min(350px, calc(100vw - 32px));
        max-width: min(350px, calc(100vw - 32px));
        transform: translate(-50%, -50%) scale(0.92);
    }

    .spot-popup.is-active {
        transform: translate(-50%, -50%) scale(1);
    }

    .spot-popup-link {
        display: flex;
        width: fit-content;
        margin: 0.9rem auto 0;
        min-height: 40px;
        padding: 0.58rem 0.95rem;
        border-radius: 999px;
        background: #1432aa;
        color: #fff;
        text-decoration: none;
        font-family: var(--bold);
        font-size: 0.86rem;
        font-weight: 700;
        line-height: 1;
        align-items: center;
        justify-content: center;
    }

    .spot-popup-link.is-hidden {
        display: none;
    }

    .video-map-section {
        overflow: hidden;
    }

    .sp-hamburger-placeholder {
        width: 34px;
        height: 26px;
        border: 0;
        background: transparent;
        padding: 0;
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        pointer-events: auto;
        position: relative;
        z-index: 131;
        touch-action: manipulation;
    }

    .sp-hamburger-placeholder span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: #1f2937;
        transition: transform 0.24s ease, opacity 0.2s ease;
        transform-origin: center;
    }

    .sp-hamburger-placeholder.is-open span:nth-child(1) {
        transform: translateY(12px) rotate(45deg);
    }

    .sp-hamburger-placeholder.is-open span:nth-child(2) {
        opacity: 0;
    }

    .sp-hamburger-placeholder.is-open span:nth-child(3) {
        transform: translateY(-12px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .video-map-container {
        min-height: 400px;
    }

    .spot-btn {
        width: max-content;
        height: 46px;
        min-width: 176px;
        max-width: none;
        min-height: 46px;
        max-height: 46px;
        padding: 0 12px;
        font-size: 0.85rem;
        border-width: 2px;
        border-radius: 50px;
    }

    .spot10-cloud {
        width: 255px;
    }

    .spot7-cloud {
        width: 255px;
    }

    .info-section {
        margin-top: 0;
        padding: 3rem 1.5rem 4rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-label,
    .stat-unit {
        font-size: 1.2rem;
    }

    .info-heading {
        font-size: 1.5rem;
    }

    .info-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* SPはフェードイン演出を無効化して即表示 */
    .fade-in,
    .fade-in.visible,
    .info-section.fade-in,
    .info-section.fade-in.visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =============================================
   レスポンシブ設定（480px以下）
   ============================================= */
@media (max-width: 480px) {
    .bottom-brand-strip {
        padding: 0.75rem 0.65rem;
    }

    .copyright_trademark {
        font-size: 0.82rem;
    }

    .copyright_company {
        font-size: 0.74rem;
    }

    .bottom-brand-logo {
        height: 13px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .overlay-text-wrapper {
        padding: 0.8rem 0.85rem 1.1rem;
    }

    .overlay-line1,
    .overlay-line2,
    .overlay-line3 {
        font-size: 2.05rem;
    }

    .overlay-text-wrapper p {
        font-size: 0.8rem;
        line-height: 1.6;
        letter-spacing: 0;
    }

    .hero-text {
        font-size: 0.875rem;
    }

    .video-map-container {
        min-height: 300px;
    }

    .spot-btn {
        width: max-content;
        height: 40px;
        min-width: 148px;
        max-width: none;
        min-height: 40px;
        max-height: 40px;
        padding: 0 10px;
        font-size: 0.7rem;
        border-width: 2px;
        border-radius: 50px;
    }

    .spot10-cloud {
        width: 206px;
    }

    .spot7-cloud {
        width: 206px;
    }

    .info-section {
        margin-top: 0;
    }

    .info-subtitle {
        font-size: 0.85rem;
    }

    .info-lead {
        font-size: 1.1rem;
        margin-bottom: 1.6rem;
    }

    .info-main-solution {
        margin-top: 0.45rem;
        margin-bottom: 0;
        font-size: clamp(20px, 6.6vw, 30px);
    }

    .solution-bridge {
        position: static;
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .solution-bridge-image {
        width: 180px;
    }

    .solution-house-image {
        width: 203px;
    }

    .solution-house-bg {
        left: -256px;
        top: 105px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label,
    .stat-unit {
        font-size: 1rem;
    }

    .info-heading {
        font-size: 1.2rem;
    }

    
}

.project-results {
    margin-top: 6.2rem;
    text-align: left;
    position: relative;
}

/* =============================================
   レスポンシブ設定（480px以下）
   ============================================= */
@media (max-width: 480px) {
    .project-card {
        padding: 0.7rem 2.3rem 0.7rem 0.7rem;
        gap: 0.6rem;
    }

    .project-image-wrap {
        width: 104px;
    }

    .project-image {
        height: 80px;
    }

    .project-copy {
        min-height: 80px;
    }

    .project-card-title {
        font-size: 0.94rem;
    }

    .project-card-text {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .project-card-arrow-link {
        width: 24px;
        height: 24px;
        right: 0.6rem;
        bottom: 0.6rem;
    }
}

.project-results>*:not(.solution-bridge):not(.project-circle-layer):not(.solution-house-bg) {
    position: relative;
    z-index: 3;
}

.project-circle-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.project-circle-item {
    position: absolute;
    width: 84px;
    height: auto;
}

.project-circle {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.96;
}

.project-circle-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.circle-1 {
    left: 36%;
    top: 252px;
    transform: translateX(625px);
}

.circle-2 {
    left: 25%;
    top: 52px;
    transform: translateX(445px);
}

.circle-3 {
    left: 90px;
    top: 140px;
    transform: translateX(-260px);
}

.circle-4 {
    left: 18%;
    top: 300px;
    transform: translateX(325px);
}

.circle-5 {
    left: -120px;
    top: -108px;

}

.circle-6 {
    left: 70%;
    top: -100px;
    transform: translateX(420px);
}

.circle-1 .project-circle {
    transform: scale(2.9);
    transform-origin: center;
}

.circle-2 .project-circle {
    transform: scale(3.2);
    transform-origin: center;
}

.circle-3 .project-circle {
    transform: scale(2);
    transform-origin: center;
}

.circle-4 .project-circle {
    transform: scale(2);
    transform-origin: center;
}


.circle-5 .project-circle {
    transform: scale(1.5);
    transform-origin: center;
}

.circle-6 .project-circle {
    transform: scale(2.6);
    transform-origin: center;
}


/* =============================================
   レスポンシブ設定（768px以下）
   ============================================= */
@media (max-width: 768px) {
    .project-circle-item {
        width: 58px;
    }

    .project-circle-label {
        font-size: 1.05rem;
    }

    /* SPでは E / A / F / B の4点のみ表示 */
    .circle-1 {
        left: 40%;
        top: 350px;
        transform: none;
    }

    .circle-2 {
        left: 65%;
        top: 210px;
        transform: scale(1.2);
    }

    .circle-3 {
        display: none;
    }

    .circle-4 {
        display: none;
    }

    .circle-5 {
        left: 5%;
        top: 230px;
        transform: scale(1.2);
    }

    .circle-6 {
        left: auto;
        right: -50px;
        top: 80px;
        transform: scale(1.5);
    }

    .circle-6 .project-circle {
        transform: scale(1.5);
        transform-origin: center center;
    }
}

.project-heading {
    margin-top: 360px;
    font-size: 2.2rem;
    font-family: var(--bold);
    font-weight: bold;
    color: #1432aa;
    letter-spacing: 0.04em;
    line-height: 1;
}

.project-metric {
    margin-top: -0.4rem;
    margin-bottom: 25px;

    transform-origin: top right;
}

.project-metric-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.8rem;
    background: #1432aa;
    color: #fff;
    border-radius: 999px;
    font-size: 24px;
    font-family: var(--bold);
    font-weight: bold;
    letter-spacing: 0.02em;
    width: 132px;
    height: 25px;
}

@media (min-width: 769px) {
    .project-metric-pill {
        width: 240px;
        height: 43px;
        font-size: 24px;
    }
}

.project-metric-value {
    margin-top: 40px;
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    transform: translateX(30px);
}

.project-metric-number-image {
    height: 139px;
    width: 290px;
    display: block;
    margin-left: 20px;
}

.project-metric-unit {
    font-size: 40px;
    color: #1432aa;
    font-family: var(--bold);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.22rem;
}

.project-metric-unit-wrap {
    position: relative;
    display: inline-block;
}

.project-metric-note {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    margin-top: 0;
    text-align: left;
    font-size: 1rem;
    color: #000;
    line-height: 1.2;
    white-space: nowrap;
}

.project-cards {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;

}

.project-card-warapper {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.project-card-warapper:hover {
    opacity: 0.7;
}

.project-card {
    background: #fff;
    border-radius: 28px;
    padding: 1.2rem 3.9rem 1.2rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 3px 6px rgba(20, 50, 170, 0.12);
    border: 1px solid #e8edf8;
    position: relative;
    width: 100%;
    height: auto;
}

.project-image-wrap {
    width: 50%;
    aspect-ratio: 16 / 9;
    flex: 0 0 50%;
    border-radius: 16px;
    overflow: hidden;
    background: #dbe5fb;
}

.project-image {
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px;
    width: 50%;
    flex: 0 0 50%;
    padding-right: 32px;
}

.project-card-title {
    font-size: 24px;
    color: #1432aa;
    font-family: var(--bold);
    font-weight: bold;
    width: 100%;
    word-break: break-all;

}

.project-card-text {
    margin-top: 0.7rem;
    font-size: 18px;
    color: #222;
    line-height: 1.65;
    width: 100%;
}

.project-card-arrow-link {
    position: absolute;
    right: 1.2rem;
    bottom: 1rem;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.project-card-arrow-image {
    width: 100%;
    height: auto;
    display: block;
}

.project-feature {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.3rem;
    overflow: visible;
}

.project-feature-image-wrap {
    width: 35%;
    min-width: 220px;
    max-width: 360px;
    border-radius: 0;
    overflow: visible;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    left: -100px;
    margin-left: -160px;
    transform: scale(0.97);
    transform-origin: left center;
}

.project-feature-image {
    width: 180%;
    height: auto;
    object-fit: contain;
    display: block;
}

.project-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 160px;
    flex: 1 1 auto;
    min-width: 0;
    transform: translateX(210px);
    max-width: none;
}



.project-feature-title {
    font-size: 2.2rem;
    color: #1432aa;
    font-family: var(--bold);
    font-weight: bold;
    /* --- 追加 --- */
    display: block;        /* ブロック要素として確実に認識させる */
    width: 70%;           /* 親の幅いっぱいで折り返すように指定 */
    white-space: normal;   /* 強制的な一行表示を解除 */
    overflow-wrap: break-word; /* 長い英単語などがあれば強制的に折る */
}

.project-feature-text {
    margin-top: 0.7rem;
    font-size: 18px;
    color: #222;
    line-height: 2;
    max-width: 100ch;
    text-align: left;
    font-family: var(--medium);
    font-weight: medium;

}

.project-feature-body {
    margin-top: 0.7rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 200px);
    align-items: center;
    column-gap: 2rem;
}

.project-feature-body .project-feature-text {
    margin-top: 20px;
    width: 100%;
    max-width: none;
    min-width: 0;

}

.project-feature-side-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.65);
    transform-origin: center;
}

.project-feature-side-wrap {
    position: relative;
    width: min(20vw, 200px);
    min-width: 140px;
    transform: translateX(48px);
}

.project-feature-sp-image {
    display: none;
}

/* =============================================
   レスポンシブ設定（1100px以下）
   ============================================= */
@media (max-width: 1100px) {
    .info-inner {
        padding: 0 1.5rem;
    }
}

/* =============================================
   レスポンシブ設定（992px以下）
   ============================================= */
@media (max-width: 992px) {
    .project-heading {
        margin-top: 120px;
        font-size: 1.8rem;
    }

    .project-metric-pill {
        font-size: 1.4rem;
    }



    .project-metric-unit {
        font-size: 1.7rem;
    }

    .project-metric-note {
        font-size: 0.75rem;
    }
    

    .project-card {
        align-items: stretch !important;
        height: auto !important;
    }

    .project-image-wrap {
        aspect-ratio: auto !important; /* 比率固定を無効化 */
        flex: 1 !important;           /* 50%固定を解除 */
        width: auto !important;
        height: auto !important;
    }

    .project-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .project-copy {
        min-height: 145px;
    }

    .project-feature-image-wrap {
        width: 35%;
        min-width: 180px;
        left: 0;
        margin-left: -120px;
        transform: scale(0.87);
    }

    .project-feature-image {
        height: auto;
    }

    .project-feature-copy {
        min-height: 145px;
        transform: translateX(170px);
    }
}

/* =============================================
   レスポンシブ設定（768px以下）
   ============================================= */
@media (max-width: 768px) {
    .project-results {
        margin-top: 25px;
    }

    .project-heading {
        margin-top: 0;
    }

    .project-metric {
        margin-bottom: 1.35rem;
    }

    .project-metric-pill {
        padding: 0.48rem 1rem;
        font-size: 0.82rem;
    }

    .project-metric-number-image {
        width: 138px;
        height: auto;
        max-width: 138px;
        object-fit: contain;
        flex: 0 0 auto;
    }

    .project-metric-unit {
        font-size: 1.25rem;
        margin-bottom: 0.12rem;
    }

    .project-metric-note {
        font-size: 0.68rem;
    }

    .project-card {
        border-radius: 22px;
        padding: 0.8rem 2.6rem 0.8rem 0.8rem;
        gap: 0.7rem;
        align-items: flex-start;
    }

    .project-image-wrap {
        width: 120px;
        border-radius: 16px;
    }

    .project-image {
        height: 92px;
    }

    .project-copy {
        min-height: 92px;
        min-width: 0;
    }

    .project-card-title {
        font-size: 1.05rem;
    }

    .project-card-text {
        margin-top: 0.5rem;
        font-size: 0.78rem;
        line-height: 1.45;
        word-break: break-word;
    }

    .project-card-arrow-link {
        right: 0.75rem;
        bottom: 0.7rem;
        width: 28px;
        height: 28px;
    }

    .project-feature {
        margin-top: 4rem;
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .project-feature-image-wrap {
        width: 100%;
        min-width: 0;
        border-radius: 0;
        left: 0;
        margin-left: 0;
        transform: none;
    }

    .project-feature-image {
        height: auto;
    }

    .project-feature-copy {
        min-height: 112px;
        transform: none;
        max-width: 100%;
    }

    .project-feature-title {
        font-family: var(--bold);
        font-size: 24px;
        width: 100%;
    }

    .project-feature-text {
        margin-top: 0.5rem;
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .project-feature-body {
        margin-top: 0.5rem;
        display: flex;
        gap: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .project-feature-side-image {
        width: min(56vw, 240px);
        transform: none;
    }

    .project-feature-side-wrap {
        align-self: flex-end;
    }

    .project-feature-image-wrap,
    .project-feature-side-wrap {
        display: none;
    }

    .project-feature-sp-image {
        display: block;
        width: 156vw;
        height: auto;
        margin: 0.7rem auto 0;
        transform: translateX(-50px);
    }
}

.bottom-brand-strip {
    background: #fff;
    border-top: 1px solid #e7edf7;
    padding: 1.25rem;
}

.bottom-brand-inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px 1fr 270px;
    align-items: center;
    position: relative;
    min-height: 40px;
}

/* .bottom-brand-text p {
    color: #1432AA;
    font-size: 0.95rem;
    line-height: 1.7;
} */

.copyright_trademark {
    font-size: 0.875rem;
    color: #1432AA;
}

.copyright_company {
    font-size: 0.75rem;
    color: #1432AA;
    margin-top: 8px;
}

.bottom-brand-text {
    grid-column: 2;
    text-align: center;
}

.bottom-brand-logo-wrap {
    grid-column: 3;
    flex-shrink: 0;
}

.bottom-brand-logo {
    height: 25px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer_logo {
    position: absolute;
    right: 0;
}

.footer_logo img {
    height: 25px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {

    /* 編集メモ（重複定義の確認先）
       - .bottom-brand-strip: 1157行目 / 1446行目 / 2214行目
       - .bottom-brand-inner: 2220行目
       - .bottom-brand-text: 2246行目
       - .bottom-brand-logo-wrap: 2251行目
       - .bottom-brand-logo: 1458行目 / 2256行目
       - .copyright_trademark: 1450行目 / 2237行目
       - .copyright_company: 1454行目 / 2242行目 */
    .bottom-brand-strip {
        padding: 1.25rem 1.25rem 4.6875rem;
    }

    .bottom-brand-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .bottom-brand-text {
        order: 2;
        grid-column: 1;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .bottom-brand-text p {
        line-height: 1.45;
        letter-spacing: 0;
        word-break: break-word;
    }

    .copyright_company {
        font-size: 0.82rem;
    }

    .bottom-brand-logo-wrap {
        order: 1;
        grid-column: 1;
        justify-self: center;
        position: static;
        transform: none;
    }

    .bottom-brand-logo {
        height: 14px;
        width: auto;
    }

    /* =============================================
       動画下コンテンツのセンター基準・横はみ出し防止
       =============================================
       編集メモ（重複定義の確認先）
       - .info-section: 0900行目 / 1408行目 / 1510行目
       - .info-inner: 0915行目 / 2010行目
       - .project-results: 1564行目 / 2074行目
       - .project-heading: 1765行目 / 2019行目 / 2078行目
       - .project-metric: 1773行目 / 2082行目
       - .project-metric-value: 1793行目
       - .project-metric-number-image: 1801行目 / 2028行目 / 2091行目
       - .solution-bridge: 0955行目 / 1529行目
       - .solution-bridge-image: 0969行目 / 1535行目
       - .solution-house-bg: 0977行目 / 1543行目
       - .project-cards: 1833行目
       - .project-feature: 1914行目 / 2147行目 */
    .info-section {
        overflow: visible;
    }

    .info-inner {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-left: 5px;
        padding-right: 5px;
        overflow: visible;
    }

    .project-results {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding-left: 5px;
        padding-right: 5px;
        box-sizing: border-box;
        text-align: center;
        transform: none;
        overflow: visible;
    }

    .project-circle-layer {
        overflow: visible;
    }

    .project-heading {
        margin-top: 0;
        margin-bottom: 0.6rem;
        font-size: 24px;
        text-align: left;
    }

    .project-cards,
    .project-feature {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .project-metric {
        margin-top: 0;
        margin-left: 0;
        margin-right: auto;
        width: max-content;
        max-width: 100%;
        text-align: left;
        transform: none;
    }

    .project-metric-value {
        transform: none;
        justify-content: flex-start;
    }

    .project-metric-number-image {
        margin-left: 0;
    }

    .solution-bridge {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 100px;
        margin-bottom: 32px;
        position: relative;
        overflow: visible;
    }

    .solution-bridge-image {
        width: min(1080px, calc((100vw - 10px) * 1.5));
        height: auto;
        max-width: none;
        object-fit: contain;
        position: relative;
        transform: translateX(50px);
        z-index: 2;
    }

    .solution-bridge::before {
        content: none;
    }

    .solution-house-bg {
        display: none;
    }

    .project-cards {
        margin-top: 0.8rem;
        align-items: center;
    }

    .project-card {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        padding: 0.85rem 0.85rem 2.6rem;
    }

    .project-copy {
        width: 100%;
        min-height: 0;
        text-align: left;
    }

    .project-card-title,
    .project-card-text {
        width: auto;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .project-image-wrap {
        width: 100%;
        max-width: none;
        border-radius: 14px;
    }

    .project-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .project-card-arrow-link {
        right: 0.75rem;
        bottom: 0.65rem;
    }

    .project-feature {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .project-feature-image-wrap {
        width: min(100%, 860px);
        min-width: 0;
        max-width: 860px;
        margin-left: 0;
        left: 0;
        transform: none;
    }

    .project-feature-copy {
        transform: none;
        max-width: min(100%, 980px);
        text-align: center;
    }

    .project-feature-body {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .project-feature-text {
        max-width: min(100%, 72ch);
    }

    .project-feature-side-wrap {
        align-self: center;
    }

    .project-feature-side-image {
        transform: none;
        max-width: 100%;
    }

    /* =============================================
       SP上部固定UIの最終ガード（他ルールより優先）
       =============================================
       編集メモ（重複定義の確認先）
       - .header: 0063行目 / 1161行目
       - .sp-top-white-strip: 0104行目 / 1203行目
       - .sp-nav-menu: 0108行目 / 1227行目
       - .sp-hamburger-placeholder: 1337行目 */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 5000 !important;
        transform: none !important;
    }

    .sp-top-white-strip {
        position: fixed !important;
        top: 0 !important;
        right: 12px !important;
        left: auto !important;
        z-index: 5001 !important;
        transform: none !important;
    }

    .sp-nav-menu,
    #sp-menu,
    .sp-menu,
    [data-sp-nav-menu] {
        position: fixed !important;
        top: 40px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 5000 !important;
        transform: none !important;
    }

    .sp-hamburger-placeholder {
        margin-right: 0 !important;
    }
}

/* ============================================================
   追加：商材ページ風ヘッダー（レスポンシブ完全版）
   ============================================================ */

/* --- [共通] ヘッダー基本設定 --- */
.header.shozai-style {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    box-shadow: none;
    pointer-events: auto;
}

.shozai-style .header_nav {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* スクロール後の背景色（白） */
/* .header.shozai-style.in-info-section .header_nav {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
} */

.nav_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header_navlist {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header_navitem a {
    font-family: var(--medium);
    font-weight: medium;
    text-decoration: none;
    color: #fff; /* 初期：白 */
    transition: color 0.3s;
}

.header_navitem:last-child a span{
    display: flex;
    align-items: flex-start;
}

.contact_button_w-SP {
    display: none;
}

/* スクロール後の文字色（紺） */
.header.shozai-style.in-info-section .header_navitem a {
    color: var(--darkBlue);
}

.header.shozai-style.in-info-section .header_navitem a:hover {
    color: #0034ff;
}

/* =============================================
   PC（1141px以上）の設定
   ============================================= */
@media screen and (min-width: 1100px) {
    .shozai-style .header_nav { height: 36px; }
    .header_logo img { height: 28px; width: auto; }
    .header_menu { display: flex; align-items: center; gap: 32px; }
    .header_navlist { gap: 32px; }
    .header_navitem a { font-size: 16px; }
    .registeredTrademark { font-size: 12px; }
    .contact_button {
        display: block;
        width: 160px; height: 36px; background-color: var(--ctaRed);
        color: var(--white); border-radius: 24px; text-decoration: none;
        font-weight: bold; font-size: 16px;
        text-align: center;
        font-family: var(--bold);
        font-weight: bold;
        line-height: 1;
        padding: 10px 32px;
    }
    .hamburger {
        display: none;
    }
    .header_logo a {
        display: block;
        height: 28px;
    }
    .header_navitem:last-child a span{
        display: flex;
        align-items: flex-start;
    }
}

/* =============================================
   中画面（769px 〜 1140px）の設定
   ※元の商材CSSの調整をpx換算で再現
   ============================================= */
@media screen and (min-width: 769px) and (max-width: 1140px) {
    .shozai-style .header_nav { height: 28px; } /* 高さを低く */
    .header_logo img { height: 20px; width: auto; } /* ロゴを小さく */
    
    .header_menu { display: flex; align-items: center; gap: 12px; } /* 間隔を狭く */
    .header_navlist { gap: 10px; } /* リストの間隔を狭く */
    
    /* 1. 親の a タグを flex にして、中身を強制的に中央に揃える */
    .header_navitem a {
        display: flex !important;
        align-items: center; /* 垂直方向の中央揃え */
        font-size: 11px;
        height: 28px; /* ヘッダーの高さに合わせる */
        line-height: 1; /* 行の高さを最小限にして余計な隙間を消す */
    }

    /* 2. 登録商標マーク自体の浮きをリセット */
    .registeredTrademark {
        display: inline-block; /* 数値制御を効かせるために必要 */
        font-size: 9px; 
        line-height: 1;
        vertical-align: middle; /* 中央に合わせる */
        margin-left: 2px;
        position: relative;
        top: 1px; /* 「上がる」場合は逆にプラスの値をいれて下げる */
    }
    .contact_button {
        display: block;
        width: auto; height: 28px; background-color: var(--ctaRed);
        color: var(--white); border-radius: 24px; text-decoration: none;
        font-weight: bold; font-size: 12px;
        text-align: center;
        font-family: var(--bold);
        font-weight: bold;
        line-height: 1;
        padding: 8px 24px;
    }
    .hamburger {
        display: none;
    }
    .header_logo a {
        display: block;
        height: 20px;
    }
}

/* =============================================
   スマホ（768px以下）の設定
   ============================================= */
@media screen and (max-width: 768px) {
    .header {
        width: 100%;
        /* 背景24px + ナビ72px (40+16+16) = 96px */
        position: sticky;
        padding: 0;
        height: auto;
        background-color: var(--white);
    }

    .header.shozai-style {
        background-color: var(--white);
    }

    .nav_container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100% !important;   /* 親の .header_nav（width:100%）に合わせる */
        max-width: 100% !important;
        margin: 0;
        padding: 0;
        box-sizing: border-box;    /* パディングを含めて100%にする */
        overflow: hidden;          /* 子要素が突き出ても親を広げない */
        background-color: var(--white);
    }
    .header_nav {
        height: 68px;
        padding: 16px 4.4%;
        background-color: var(--white);
    }
    .header_logo img { height: 22px; width: auto; }
    .header_logo a {
        display: block;
        height: 22px;
    }
    
    
    /* お問い合わせボタンを非表示（商材ページのSP挙動） */
    .header_menu .contact_button { display: none; }
    .contact_button_w-SP {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 16px;
        right: 4.3%;
        z-index: 200;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        width: auto;
        height: 40px;
        color: var(--white);
        text-align: center;
        font-family: var(--bold);
        font-weight: bold;
        font-size: 14px;
        line-height: 1.5;
        text-decoration: none;
        background-color: var(--ctaRed);
        padding: 12px 30px;
        border-radius: 24px;
    }

    /* ロゴの高さを40pxに固定 */
    .header_logo img {
        height: 22px !important;
        width: auto;
    }

        /* ハンバーガーアイコン本体 (36px × 36px) */
    .hamburger {
        display: block;
        position: relative;
        z-index: 300;
        width: 36px; 
        height: 36px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    /* 三本線の設定 (長さ30px, 厚さ2px) */
    .hamburger span {
        position: absolute;
        /* 左右中央寄せ: (36px - 30px) / 2 = 3px */
        left: 3px;
        width: 30px;
        height: 2px;
        background-color: var(--darkBlue);
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* 線の垂直配置の計算
    1本目: 上から 8px
    2本目: 17px (中央)
    3本目: 下から 8px (36 - 8 - 2 = 26px)
    */
    .hamburger span:nth-child(1) { top: 8px; }
    .hamburger span:nth-child(2) { top: 17px; }
    .hamburger span:nth-child(3) { top: 26px; }

    /* メニューが開いた時の「X」印アニメーション */
    .hamburger.is-active span:nth-child(1) {
        /* 中央(17px)へ移動: 17 - 8 = 9px */
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active span:nth-child(3) {
        /* 中央(17px)へ移動: 26 - 17 = 9px */
        transform: translateY(-9px) rotate(-45deg);
    }


    /* メニュー本体（ノレン形式） */
    .header_menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f1fbff; /* 指定: 薄い青 */
        z-index: 250;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease-in-out;
        /* お問い合わせボタンを確実に消す */
        display: flex;
        flex-direction: column;
    }

    .header_menu.is-active {
        max-height: 500px;
        /* 内部の余白は0にして境界線を端まで飛ばす */
        padding: 0; 
    }

    /* お問い合わせボタン（メニュー内では非表示） */
    .header_menu .contact_button {
        display: none !important;
    }

    /* --- リスト全体のスタイル --- */
    .header_navlist {
        flex-direction: column;
        gap: 0; /* 境界線を入れるので隙間は0 */
        width: 100%;
    }

    /* --- 各リスト項目（縦並び・境界線） --- */
    .header_navitem {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* 境界線（薄い黒） */
        font-size: 14px;
        font-family: var(--regular);
        font-weight: 400;

    }

    .header_navitem a {
        font-family: var(--regular);
        font-weight: normal;
    }

    /* 最初の項目の上にも境界線を入れる場合 */
    .header_navitem:first-child {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    /* --- リンクエリア（左に文字、右に矢印） --- */
    .header_navitem a {
        display: flex;
        justify-content: space-between; /* 左右に振り分け */
        align-items: center;
        padding: 10px 6.4%; /* 左右余白をロゴ等に合わせる */
        color: var(--darkBlue);
        text-decoration: none;
        width: 100%;
        transition: background-color 0.2s;
    }

    /* タップ時の反応（お好みで） */
    .header_navitem a:active {
        background-color: rgba(0, 0, 0, 0.03);
    }

    /* --- 右側の「くの字」矢印 --- */
    .header_navitem a::after {
        content: '';
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--darkBlue);
        border-right: 2px solid var(--darkBlue);
        transform: rotate(45deg); /* 45度傾けて「>」にする */
        display: block;
    }

    .fixed-top-btn {
        font-size: 14px;
    }

    .registeredTrademark { 
        font-size: 10px; 
    }
}

@media (max-width: 480px) {
    .circle-1 {
        left: 40%;
        top: 350px;
        transform: scale(0.7);
    }

    .circle-2 {
        left: 65%;
        top: 210px;
        transform: scale(0.9);
    }
}

/* index.css */

/* Fullscreen オーバーレイ本体 */
.map-swipe-fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 指定された色：#1432aa（RGBAに変換し透過50%に） */
    background-color: rgba(7, 91, 187, 0.6); 
    
    z-index: 200; /* ポップアップ(z-index:1000)よりは下、ボタン等よりは上 */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none; /* 表示中も下の要素をスワイプできるようにする */
}

/* 表示用クラス */
.map-swipe-fullscreen-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    /* もし表示中に下のマップ移動を「禁止」したい場合は、ここで
       pointer-events: auto; に書き換えてください。
       今回は「案内を見ながら操作できる」設計にしています。 */
}

/* 中央コンテンツエリア */
.swipe-guide-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

/* 手と矢印の画像サイズ */
.swipe-icon-img {
    width: 60%; /* 画像のサイズ（以前より少し大きく調整） */
    height: auto;
    padding-top: 64px;
    display: inline-block; /* アニメーションを適用するために必要 */
    animation: swipe-hint 2s ease-in-out infinite;
}

@keyframes swipe-hint {
  0%, 100% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(10px); /* 右に10px動く */
  }
}

/* テキストのスタイル */
.swipe-guide-text {
    font-size: 1.25rem; /* スマホで読みやすいサイズ */
    font-family: var(--bold);
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* 白文字の視認性確保 */
    margin-top: 32px;
}

/* index.css の最後の方に追記 */
@media screen and (max-width: 768px) {
    /* 1. メニュー本体の強制表示設定 */
    /* JSでは "is-active" を使っているので、それに合わせます */
    .header_menu.is-active {
        display: flex !important; /* index.css 2570行目がflexなので合わせる */
        max-height: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 2. 親のヘッダーの「壁」を取り払う（重要！） */
    /* CSSの :has を使って、中身が開いている時だけ高さを auto にします */
    .header:has(.is-active) {
        height: auto !important;
        overflow: visible !important;
    }
}